Type Definition W
Other items inefm32gg11b::i2c2::ctrl
type W = W<u32, CTRL>;
Writer for register CTRL
impl W
pub fn en(&mut self) -> EN_W<'_>
Bit 0 - I2C Enable
pub fn slave(&mut self) -> SLAVE_W<'_>
Bit 1 - Addressable as Slave
pub fn autoack(&mut self) -> AUTOACK_W<'_>
Bit 2 - Automatic Acknowledge
pub fn autose(&mut self) -> AUTOSE_W<'_>
Bit 3 - Automatic STOP When Empty
pub fn autosn(&mut self) -> AUTOSN_W<'_>
Bit 4 - Automatic STOP on NACK
pub fn arbdis(&mut self) -> ARBDIS_W<'_>
Bit 5 - Arbitration Disable
pub fn gcamen(&mut self) -> GCAMEN_W<'_>
Bit 6 - General Call Address Match Enable
pub fn txbil(&mut self) -> TXBIL_W<'_>
Bit 7 - TX Buffer Interrupt Level
pub fn clhr(&mut self) -> CLHR_W<'_>
Bits 8:9 - Clock Low High Ratio
pub fn bito(&mut self) -> BITO_W<'_>
Bits 12:13 - Bus Idle Timeout
pub fn gibito(&mut self) -> GIBITO_W<'_>
Bit 15 - Go Idle on Bus Idle Timeout
pub fn clto(&mut self) -> CLTO_W<'_>
Bits 16:18 - Clock Low Timeout