[−][src]Struct efm32pg12_pac::letimer0::ctrl::REPMODE_W
Write proxy for field REPMODE
Methods
impl<'a> REPMODE_W<'a>
[src]
pub fn variant(self, variant: REPMODE_A) -> &'a mut W
[src]
Writes variant
to the field
pub fn free(self) -> &'a mut W
[src]
When started, the LETIMER counts down until it is stopped by software
pub fn oneshot(self) -> &'a mut W
[src]
The counter counts REP0 times. When REP0 reaches zero, the counter stops
pub fn buffered(self) -> &'a mut W
[src]
The counter counts REP0 times. If REP1 has been written, it is loaded into REP0 when REP0 reaches zero, otherwise the counter stops
pub fn double(self) -> &'a mut W
[src]
Both REP0 and REP1 are decremented when the LETIMER wraps around. The LETIMER counts until both REP0 and REP1 are zero
pub fn bits(self, value: u8) -> &'a mut W
[src]
Writes raw bits to the field
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self