Type Alias stm32_hal2::pac::i2c1::cr2::NACK_W

source ·
pub type NACK_W<'a, const O: u8> = BitWriterRaw<'a, u32, CR2_SPEC, NACK_A, BitM, O>;
Expand description

Field NACK writer - NACK generation (slave mode) The bit is set by software, cleared by hardware when the NACK is sent, or when a STOP condition or an Address matched is received, or when PE=0. Note: Writing 0 to this bit has no effect. This bit is used in slave mode only: in master receiver mode, NACK is automatically generated after last byte preceding STOP or RESTART condition, whatever the NACK bit value. When an overrun occurs in slave receiver NOSTRETCH mode, a NACK is automatically generated whatever the NACK bit value. When hardware PEC checking is enabled (PECBYTE=1), the PEC acknowledge value does not depend on the NACK value.

Aliased Type§

struct NACK_W<'a, const O: u8> { /* private fields */ }