pub struct R(_);
Expand description
Register CFG
reader
Implementations
sourceimpl R
impl R
sourcepub fn msten(&self) -> MSTEN_R
pub fn msten(&self) -> MSTEN_R
Bit 0 - Master Enable. When disabled, configurations settings for the Master function are not changed, but the Master function is internally reset.
sourcepub fn slven(&self) -> SLVEN_R
pub fn slven(&self) -> SLVEN_R
Bit 1 - Slave Enable. When disabled, configurations settings for the Slave function are not changed, but the Slave function is internally reset.
sourcepub fn monen(&self) -> MONEN_R
pub fn monen(&self) -> MONEN_R
Bit 2 - Monitor Enable. When disabled, configurations settings for the Monitor function are not changed, but the Monitor function is internally reset.
sourcepub fn timeouten(&self) -> TIMEOUTEN_R
pub fn timeouten(&self) -> TIMEOUTEN_R
Bit 3 - I2C bus Time-out Enable. When disabled, the time-out function is internally reset.
sourcepub fn monclkstr(&self) -> MONCLKSTR_R
pub fn monclkstr(&self) -> MONCLKSTR_R
Bit 4 - Monitor function Clock Stretching.
sourcepub fn hscapable(&self) -> HSCAPABLE_R
pub fn hscapable(&self) -> HSCAPABLE_R
Bit 5 - High-speed mode Capable enable. Since High Speed mode alters the way I2C pins drive and filter, as well as the timing for certain I2C signalling, enabling High-speed mode applies to all functions: Master, Slave, and Monitor.
Methods from Deref<Target = R<CFG_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