Type Alias rp2040_pac::i2c0::IC_TX_ABRT_SOURCE
source · pub type IC_TX_ABRT_SOURCE = Reg<IC_TX_ABRT_SOURCE_SPEC>;
Expand description
IC_TX_ABRT_SOURCE (r) register accessor: I2C Transmit Abort Source Register
This register has 32 bits that indicate the source of the TX_ABRT bit. Except for Bit 9, this register is cleared whenever the IC_CLR_TX_ABRT register or the IC_CLR_INTR register is read. To clear Bit 9, the source of the ABRT_SBYTE_NORSTRT must be fixed first; RESTART must be enabled (IC_CON[5]=1), the SPECIAL bit must be cleared (IC_TAR[11]), or the GC_OR_START bit must be cleared (IC_TAR[10]).
Once the source of the ABRT_SBYTE_NORSTRT is fixed, then this bit can be cleared in the same manner as other bits in this register. If the source of the ABRT_SBYTE_NORSTRT is not fixed before attempting to clear this bit, Bit 9 clears for one cycle and is then re-asserted.
You can read
this register and get ic_tx_abrt_source::R
. See API.
For information about available fields see ic_tx_abrt_source
module
Aliased Type§
struct IC_TX_ABRT_SOURCE { /* private fields */ }