Struct stm32mp1::stm32mp157::i2c1::i2c_cr2::I2C_CR2_SPEC
source · [−]pub struct I2C_CR2_SPEC;
Expand description
Access: No wait states, except if a write access occurs while a write access to this register is ongoing. In this case, wait states are inserted in the second write access until the previous one is completed. The latency of the second write access can be up to 2 x i2c_pclk + 6 x i2c_ker_ck.
This register you can read
, write_with_zero
, reset
, write
, modify
. See API.
For information about available fields see i2c_cr2 module
Trait Implementations
sourceimpl Readable for I2C_CR2_SPEC
impl Readable for I2C_CR2_SPEC
read()
method returns i2c_cr2::R reader structure
sourceimpl RegisterSpec for I2C_CR2_SPEC
impl RegisterSpec for I2C_CR2_SPEC
sourceimpl Resettable for I2C_CR2_SPEC
impl Resettable for I2C_CR2_SPEC
reset()
method sets I2C_CR2 to value 0
sourcefn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
sourceimpl Writable for I2C_CR2_SPEC
impl Writable for I2C_CR2_SPEC
write(|w| ..)
method takes i2c_cr2::W writer structure
Auto Trait Implementations
impl RefUnwindSafe for I2C_CR2_SPEC
impl Send for I2C_CR2_SPEC
impl Sync for I2C_CR2_SPEC
impl Unpin for I2C_CR2_SPEC
impl UnwindSafe for I2C_CR2_SPEC
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