nrf/saadc: initial implementation

This commit is contained in:
Richard Dodd
2021-03-24 18:33:17 +01:00
committed by Dario Nieuwenhuis
parent a08d781442
commit 53645d9d38
2 changed files with 246 additions and 0 deletions

View File

@ -100,6 +100,7 @@ pub mod interrupt;
#[cfg(feature = "52840")]
pub mod qspi;
pub mod rtc;
pub mod saadc;
pub mod spim;
pub mod uarte;
@ -130,6 +131,9 @@ embassy_extras::peripherals! {
#[cfg(any(feature = "52833", feature = "52840"))]
spim3: SPIM3,
// SAADC
saadc: SAADC,
// GPIOTE
gpiote: GPIOTE,
gpiote_ch_0: GPIOTE_CH0,