Type Alias rp2040_pac::i2c0::ic_intr_mask::R

source ·
pub type R = R<IC_INTR_MASK_SPEC>;
Expand description

Register IC_INTR_MASK reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn m_rx_under(&self) -> M_RX_UNDER_R

Bit 0 - This bit masks the R_RX_UNDER interrupt in IC_INTR_STAT register.

Reset value: 0x1

source

pub fn m_rx_over(&self) -> M_RX_OVER_R

Bit 1 - This bit masks the R_RX_OVER interrupt in IC_INTR_STAT register.

Reset value: 0x1

source

pub fn m_rx_full(&self) -> M_RX_FULL_R

Bit 2 - This bit masks the R_RX_FULL interrupt in IC_INTR_STAT register.

Reset value: 0x1

source

pub fn m_tx_over(&self) -> M_TX_OVER_R

Bit 3 - This bit masks the R_TX_OVER interrupt in IC_INTR_STAT register.

Reset value: 0x1

source

pub fn m_tx_empty(&self) -> M_TX_EMPTY_R

Bit 4 - This bit masks the R_TX_EMPTY interrupt in IC_INTR_STAT register.

Reset value: 0x1

source

pub fn m_rd_req(&self) -> M_RD_REQ_R

Bit 5 - This bit masks the R_RD_REQ interrupt in IC_INTR_STAT register.

Reset value: 0x1

source

pub fn m_tx_abrt(&self) -> M_TX_ABRT_R

Bit 6 - This bit masks the R_TX_ABRT interrupt in IC_INTR_STAT register.

Reset value: 0x1

source

pub fn m_rx_done(&self) -> M_RX_DONE_R

Bit 7 - This bit masks the R_RX_DONE interrupt in IC_INTR_STAT register.

Reset value: 0x1

source

pub fn m_activity(&self) -> M_ACTIVITY_R

Bit 8 - This bit masks the R_ACTIVITY interrupt in IC_INTR_STAT register.

Reset value: 0x0

source

pub fn m_stop_det(&self) -> M_STOP_DET_R

Bit 9 - This bit masks the R_STOP_DET interrupt in IC_INTR_STAT register.

Reset value: 0x0

source

pub fn m_start_det(&self) -> M_START_DET_R

Bit 10 - This bit masks the R_START_DET interrupt in IC_INTR_STAT register.

Reset value: 0x0

source

pub fn m_gen_call(&self) -> M_GEN_CALL_R

Bit 11 - This bit masks the R_GEN_CALL interrupt in IC_INTR_STAT register.

Reset value: 0x1

source

pub fn m_restart_det(&self) -> M_RESTART_DET_R

Bit 12 - This bit masks the R_RESTART_DET interrupt in IC_INTR_STAT register.

Reset value: 0x0