Enum rp2040_pac::i2c0::ic_raw_intr_stat::RX_OVER_A
source · pub enum RX_OVER_A {
INACTIVE = 0,
ACTIVE = 1,
}
Expand description
Set if the receive buffer is completely filled to IC_RX_BUFFER_DEPTH and an additional byte is received from an external I2C device. The DW_apb_i2c acknowledges this, but any data bytes received after the FIFO is full are lost. If the module is disabled (IC_ENABLE[0]=0), this bit keeps its level until the master or slave state machines go into idle, and when ic_en goes to 0, this interrupt is cleared.
Note: If bit 9 of the IC_CON register (RX_FIFO_FULL_HLD_CTRL) is programmed to HIGH, then the RX_OVER interrupt never occurs, because the Rx FIFO never overflows.
Reset value: 0x0
Value on reset: 0
Variants§
Trait Implementations§
impl Copy for RX_OVER_A
impl Eq for RX_OVER_A
impl StructuralPartialEq for RX_OVER_A
Auto Trait Implementations§
impl Freeze for RX_OVER_A
impl RefUnwindSafe for RX_OVER_A
impl Send for RX_OVER_A
impl Sync for RX_OVER_A
impl Unpin for RX_OVER_A
impl UnwindSafe for RX_OVER_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
)