nrf52840_pac::qdec::ledpol

Type Alias LEDPOL_W

Source
pub type LEDPOL_W<'a, const O: u8> = BitWriter<'a, u32, LEDPOL_SPEC, LEDPOL_A, O>;
Expand description

Field LEDPOL writer - LED output pin polarity

Aliased Type§

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

Implementations§

Source§

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

Source

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

Led active on output pin low

Source

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

Led active on output pin high