Struct efm32gg990::pcnt0::ctrl::_CNTEVW [−][src]
pub struct _CNTEVW<'a> { /* fields omitted */ }
Proxy
Methods
impl<'a> _CNTEVW<'a>
[src]
impl<'a> _CNTEVW<'a>
pub fn variant(self, variant: CNTEVW) -> &'a mut W
[src]
pub fn variant(self, variant: CNTEVW) -> &'a mut W
Writes variant
to the field
pub fn both(self) -> &'a mut W
[src]
pub fn both(self) -> &'a mut W
Counts up on up-count and down on down-count events.
pub fn up(self) -> &'a mut W
[src]
pub fn up(self) -> &'a mut W
Only counts up on up-count events.
pub fn down(self) -> &'a mut W
[src]
pub fn down(self) -> &'a mut W
Only counts down on down-count events.
pub fn none(self) -> &'a mut W
[src]
pub fn none(self) -> &'a mut W
Never counts.
pub fn bits(self, value: u8) -> &'a mut W
[src]
pub fn bits(self, value: u8) -> &'a mut W
Writes raw bits to the field