nrf52840_pac::pdm::mode

Type Alias EDGE_W

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

Field EDGE writer - Defines on which PDM_CLK edge Left (or mono) is sampled

Aliased Type§

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

Implementations§

Source§

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

Source

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

Left (or mono) is sampled on falling edge of PDM_CLK

Source

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

Left (or mono) is sampled on rising edge of PDM_CLK