Type Alias nrf52840_pac::qdec::ledpol::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