Type Definition gd32f1::gd32f130::i2c0::ctl0::W [−][src]
type W = W<u16, CTL0>;
Writer for register CTL0
Implementations
impl W
[src]
pub fn sreset(&mut self) -> SRESET_W<'_>
[src]
Bit 15 - Software reset I2C
pub fn salt(&mut self) -> SALT_W<'_>
[src]
Bit 13 - SMBus alert
pub fn pectrans(&mut self) -> PECTRANS_W<'_>
[src]
Bit 12 - PEC Transfer
pub fn poap(&mut self) -> POAP_W<'_>
[src]
Bit 11 - Position of ACK meaning
pub fn acken(&mut self) -> ACKEN_W<'_>
[src]
Bit 10 - Whether or not to send an ACK
pub fn stop(&mut self) -> STOP_W<'_>
[src]
Bit 9 - Generate a STOP condition on I2C bus
pub fn start(&mut self) -> START_W<'_>
[src]
Bit 8 - Generate a START condition on I2C bus
pub fn disstrc(&mut self) -> DISSTRC_W<'_>
[src]
Bit 7 - Whether to stretch SCL low when data is not ready in slave mode
pub fn gcen(&mut self) -> GCEN_W<'_>
[src]
Bit 6 - Whether or not to response to a General Call (0x00)
pub fn pecen(&mut self) -> PECEN_W<'_>
[src]
Bit 5 - PEC Calculation Switch
pub fn arpen(&mut self) -> ARPEN_W<'_>
[src]
Bit 4 - ARP protocol in SMBus switch
pub fn smbsel(&mut self) -> SMBSEL_W<'_>
[src]
Bit 3 - SMBusType Selection
pub fn smben(&mut self) -> SMBEN_W<'_>
[src]
Bit 1 - SMBus/I2C mode switch
pub fn i2cen(&mut self) -> I2CEN_W<'_>
[src]
Bit 0 - I2C peripheral enable