Type Definition lpc81x_pac::lpc812::sct0::outputdirctrl::SETCLR0_W
source · pub type SETCLR0_W<'a, const O: u8> = FieldWriter<'a, u32, OUTPUTDIRCTRL_SPEC, u8, SETCLR0_A, 2, O>;
Expand description
Field SETCLR0
writer - Set/clear operation on output 0. Value 0x3 is reserved. Do not program this value.
Implementations§
source§impl<'a, const O: u8> SETCLR0_W<'a, O>
impl<'a, const O: u8> SETCLR0_W<'a, O>
sourcepub fn independent(self) -> &'a mut W
pub fn independent(self) -> &'a mut W
Set and clear do not depend on the direction of any counter.
sourcepub fn l_reversed(self) -> &'a mut W
pub fn l_reversed(self) -> &'a mut W
Set and clear are reversed when counter L or the unified counter is counting down.
sourcepub fn h_reversed(self) -> &'a mut W
pub fn h_reversed(self) -> &'a mut W
Set and clear are reversed when counter H is counting down. Do not use if UNIFY = 1.