Struct rp2040_pac::i2c0::ic_enable_status::IC_ENABLE_STATUS_SPEC
source · pub struct IC_ENABLE_STATUS_SPEC;
Expand description
I2C Enable Status Register
The register is used to report the DW_apb_i2c hardware status when the IC_ENABLE[0] register is set from 1 to 0; that is, when DW_apb_i2c is disabled.
If IC_ENABLE[0] has been set to 1, bits 2:1 are forced to 0, and bit 0 is forced to 1.
If IC_ENABLE[0] has been set to 0, bits 2:1 is only be valid as soon as bit 0 is read as ‘0’.
Note: When IC_ENABLE[0] has been set to 0, a delay occurs for bit 0 to be read as 0 because disabling the DW_apb_i2c depends on I2C bus activities.
You can read
this register and get ic_enable_status::R
. See API.
Trait Implementations§
source§impl RegisterSpec for IC_ENABLE_STATUS_SPEC
impl RegisterSpec for IC_ENABLE_STATUS_SPEC
source§impl Resettable for IC_ENABLE_STATUS_SPEC
impl Resettable for IC_ENABLE_STATUS_SPEC
reset()
method sets IC_ENABLE_STATUS to value 0
source§const RESET_VALUE: u32 = 0u32
const RESET_VALUE: u32 = 0u32
Reset value of the register.
source§fn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
impl Readable for IC_ENABLE_STATUS_SPEC
read()
method returns ic_enable_status::R
reader structure
Auto Trait Implementations§
impl Freeze for IC_ENABLE_STATUS_SPEC
impl RefUnwindSafe for IC_ENABLE_STATUS_SPEC
impl Send for IC_ENABLE_STATUS_SPEC
impl Sync for IC_ENABLE_STATUS_SPEC
impl Unpin for IC_ENABLE_STATUS_SPEC
impl UnwindSafe for IC_ENABLE_STATUS_SPEC
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more