pub struct W(_);
Expand description
Register TOCC
writer
Implementations
sourceimpl W
impl W
sourcepub fn etoc(&mut self) -> ETOC_W<'_, 0>
pub fn etoc(&mut self) -> ETOC_W<'_, 0>
Bit 0 - Timeout counter enable This is a protected write (P) bit, write access is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1.
sourcepub fn tos(&mut self) -> TOS_W<'_, 1>
pub fn tos(&mut self) -> TOS_W<'_, 1>
Bits 1:2 - Timeout select When operating in Continuous mode, a write to TOCV presets the counter to the value configured by TOCC[TOP] and continues down-counting. When the timeout counter is controlled by one of the FIFOs, an empty FIFO presets the counter to the value configured by TOCC[TOP]. Down-counting is started when the first FIFO element is stored. These are protected write (P) bits, write access is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1.
Methods from Deref<Target = W<TOCC_SPEC>>
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more