nrf52840_pac::pdm::mode

Type Alias OPERATION_W

Source
pub type OPERATION_W<'a, const O: u8> = BitWriter<'a, u32, MODE_SPEC, OPERATION_A, O>;
Expand description

Field OPERATION writer - Mono or stereo operation

Aliased Type§

struct OPERATION_W<'a, const O: u8> { /* private fields */ }

Implementations§

Source§

impl<'a, const O: u8> OPERATION_W<'a, O>

Source

pub fn stereo(self) -> &'a mut W

Sample and store one pair (Left + Right) of 16bit samples per RAM word R=[31:16]; L=[15:0]

Source

pub fn mono(self) -> &'a mut W

Sample and store two successive Left samples (16 bit each) per RAM word L1=[31:16]; L0=[15:0]