Struct lpc55_pac::sct0::ctrl::BIDIR_L_W [−][src]
pub struct BIDIR_L_W<'a> { /* fields omitted */ }
Field BIDIR_L
writer - L or unified counter direction select
Implementations
impl<'a> BIDIR_L_W<'a>
[src]
impl<'a> BIDIR_L_W<'a>
[src]pub fn variant(self, variant: BIDIR_L_A) -> &'a mut W
[src]
Writes variant
to the field
pub fn up(self) -> &'a mut W
[src]
Up. The counter counts up to a limit condition, then is cleared to zero.
pub fn up_down(self) -> &'a mut W
[src]
Up-down. The counter counts up to a limit, then counts down to a limit condition or to 0.
pub fn set_bit(self) -> &'a mut W
[src]
Sets the field bit
pub fn clear_bit(self) -> &'a mut W
[src]
Clears the field bit
pub fn bit(self, value: bool) -> &'a mut W
[src]
Writes raw bits to the field