Type Definition stm32g0::stm32g0b0::i2c1::cr2::SADD_W

source · []
pub type SADD_W<'a, const O: u8> = FieldWriterSafe<'a, u32, CR2_SPEC, u16, u16, 10, O>;
Expand description

Field SADD writer - Slave address (master mode) In 7-bit addressing mode (ADD10 = 0): SADD[7:1] should be written with the 7-bit slave address to be sent. The bits SADD[9], SADD[8] and SADD[0] are don’t care. In 10-bit addressing mode (ADD10 = 1): SADD[9:0] should be written with the 10-bit slave address to be sent. Note: Changing these bits when the START bit is set is not allowed.