add support for pdm microphones in nrf driver

This commit is contained in:
pbert
2022-07-10 20:12:25 +02:00
parent f075e62444
commit a4afab4640
8 changed files with 298 additions and 0 deletions

View File

@ -128,6 +128,9 @@ embassy_hal_common::peripherals! {
// QDEC
QDEC,
// PDM
PDM,
}
impl_uarte!(UARTE0, UARTE0, UARTE0_UART0);

View File

@ -128,6 +128,9 @@ embassy_hal_common::peripherals! {
// QDEC
QDEC,
// PDM
PDM,
}
impl_uarte!(UARTE0, UARTE0, UARTE0_UART0);

View File

@ -158,6 +158,9 @@ embassy_hal_common::peripherals! {
// QDEC
QDEC,
// PDM
PDM,
}
#[cfg(feature = "nightly")]

View File

@ -161,6 +161,9 @@ embassy_hal_common::peripherals! {
// TEMP
TEMP,
// PDM
PDM,
}
#[cfg(feature = "nightly")]

View File

@ -260,6 +260,9 @@ embassy_hal_common::peripherals! {
P0_29,
P0_30,
P0_31,
// PDM
PDM,
}
impl_uarte!(UARTETWISPI0, UARTE0, UARTE0_SPIM0_SPIS0_TWIM0_TWIS0);