Struct rp2040_pac::i2c0::ic_tx_abrt_source::IC_TX_ABRT_SOURCE_SPEC
source · pub struct IC_TX_ABRT_SOURCE_SPEC;
Expand description
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.
Trait Implementations§
source§impl Resettable for IC_TX_ABRT_SOURCE_SPEC
impl Resettable for IC_TX_ABRT_SOURCE_SPEC
reset()
method sets IC_TX_ABRT_SOURCE to value 0
source§const RESET_VALUE: u32 = 0u32
const RESET_VALUE: u32 = 0u32
source§fn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
impl Readable for IC_TX_ABRT_SOURCE_SPEC
read()
method returns ic_tx_abrt_source::R
reader structure