Type Alias rp2040_pac::i2c0::IC_SLV_DATA_NACK_ONLY
source · pub type IC_SLV_DATA_NACK_ONLY = Reg<IC_SLV_DATA_NACK_ONLY_SPEC>;
Expand description
IC_SLV_DATA_NACK_ONLY (rw) register accessor: Generate Slave Data NACK Register
The register is used to generate a NACK for the data part of a transfer when DW_apb_i2c is acting as a slave-receiver. This register only exists when the IC_SLV_DATA_NACK_ONLY parameter is set to 1. When this parameter disabled, this register does not exist and writing to the register’s address has no effect.
A write can occur on this register if both of the following conditions are met: - DW_apb_i2c is disabled (IC_ENABLE[0] = 0) - Slave part is inactive (IC_STATUS[6] = 0) Note: The IC_STATUS[6] is a register read-back location for the internal slv_activity signal; the user should poll this before writing the ic_slv_data_nack_only bit.
You can read
this register and get ic_slv_data_nack_only::R
. You can reset
, write
, write_with_zero
this register using ic_slv_data_nack_only::W
. You can also modify
this register. See API.
For information about available fields see ic_slv_data_nack_only
module
Aliased Type§
struct IC_SLV_DATA_NACK_ONLY { /* private fields */ }