Type Alias nrf52840_pac::pdm::mode::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]