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>
impl<'a, const O: u8> LEDPOL_W<'a, O>
sourcepub fn active_low(self) -> &'a mut W
pub fn active_low(self) -> &'a mut W
Led active on output pin low
sourcepub fn active_high(self) -> &'a mut W
pub fn active_high(self) -> &'a mut W
Led active on output pin high