Enum rp2040_pac::i2c0::ic_raw_intr_stat::RD_REQ_A
source · pub enum RD_REQ_A {
INACTIVE = 0,
ACTIVE = 1,
}
Expand description
This bit is set to 1 when DW_apb_i2c is acting as a slave and another I2C master is attempting to read data from DW_apb_i2c. The DW_apb_i2c holds the I2C bus in a wait state (SCL=0) until this interrupt is serviced, which means that the slave has been addressed by a remote master that is asking for data to be transferred. The processor must respond to this interrupt and then write the requested data to the IC_DATA_CMD register. This bit is set to 0 just after the processor reads the IC_CLR_RD_REQ register.
Reset value: 0x0
Value on reset: 0
Variants§
Trait Implementations§
impl Copy for RD_REQ_A
impl Eq for RD_REQ_A
impl StructuralPartialEq for RD_REQ_A
Auto Trait Implementations§
impl Freeze for RD_REQ_A
impl RefUnwindSafe for RD_REQ_A
impl Send for RD_REQ_A
impl Sync for RD_REQ_A
impl Unpin for RD_REQ_A
impl UnwindSafe for RD_REQ_A
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)