Type Definition rp2040_pac::i2c0::IC_SLV_DATA_NACK_ONLY [−][src]
type IC_SLV_DATA_NACK_ONLY = Reg<u32, _IC_SLV_DATA_NACK_ONLY>;
Expand description
Generate Slave Data NACK Register\n\n 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.\n\n 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.
This register you can read
, reset
, write
, write_with_zero
, modify
. See API.
For information about available fields see ic_slv_data_nack_only module
Trait Implementations
Register IC_SLV_DATA_NACK_ONLY reset()
’s with value 0
type Type = u32
type Type = u32
Register size
Reset value of the register
read()
method returns ic_slv_data_nack_only::R reader structure
write(|w| ..)
method takes ic_slv_data_nack_only::W writer structure