pub struct W(_);
Expand description
Register TIMEOUT
writer
Implementations
sourceimpl W
impl W
sourcepub fn tomin(&mut self) -> TOMIN_W<'_>
pub fn tomin(&mut self) -> TOMIN_W<'_>
Bits 0:3 - Time-out time value, bottom four bits. These are hard-wired to 0xF. This gives a minimum time-out of 16 I2C function clocks and also a time-out resolution of 16 I2C function clocks.
sourcepub fn to(&mut self) -> TO_W<'_>
pub fn to(&mut self) -> TO_W<'_>
Bits 4:15 - Time-out time value. Specifies the time-out interval value in increments of 16 I 2C function clocks, as defined by the CLKDIV register. To change this value while I2C is in operation, disable all time-outs, write a new value to TIMEOUT, then re-enable time-outs. 0x000 = A time-out will occur after 16 counts of the I2C function clock. 0x001 = A time-out will occur after 32 counts of the I2C function clock. 0xFFF = A time-out will occur after 65,536 counts of the I2C function clock.
Methods from Deref<Target = W<TIMEOUT_SPEC>>
Trait Implementations
sourceimpl From<W<TIMEOUT_SPEC>> for W
impl From<W<TIMEOUT_SPEC>> for W
sourcefn from(writer: W<TIMEOUT_SPEC>) -> Self
fn from(writer: W<TIMEOUT_SPEC>) -> Self
Performs the conversion.
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