pub struct R(_);
Expand description
Register TIMEOUT
reader
Implementations
sourceimpl R
impl R
sourcepub fn tomin(&self) -> TOMIN_R
pub fn tomin(&self) -> TOMIN_R
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(&self) -> TO_R
pub fn to(&self) -> TO_R
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 = R<TIMEOUT_SPEC>>
Trait Implementations
sourceimpl From<R<TIMEOUT_SPEC>> for R
impl From<R<TIMEOUT_SPEC>> for R
sourcefn from(reader: R<TIMEOUT_SPEC>) -> Self
fn from(reader: R<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