Type Definition gd32f1::gd32f130::i2c0::ctl0::R[][src]

type R = R<u16, CTL0>;

Reader of register CTL0

Implementations

impl R[src]

pub fn sreset(&self) -> SRESET_R[src]

Bit 15 - Software reset I2C

pub fn salt(&self) -> SALT_R[src]

Bit 13 - SMBus alert

pub fn pectrans(&self) -> PECTRANS_R[src]

Bit 12 - PEC Transfer

pub fn poap(&self) -> POAP_R[src]

Bit 11 - Position of ACK meaning

pub fn acken(&self) -> ACKEN_R[src]

Bit 10 - Whether or not to send an ACK

pub fn stop(&self) -> STOP_R[src]

Bit 9 - Generate a STOP condition on I2C bus

pub fn start(&self) -> START_R[src]

Bit 8 - Generate a START condition on I2C bus

pub fn disstrc(&self) -> DISSTRC_R[src]

Bit 7 - Whether to stretch SCL low when data is not ready in slave mode

pub fn gcen(&self) -> GCEN_R[src]

Bit 6 - Whether or not to response to a General Call (0x00)

pub fn pecen(&self) -> PECEN_R[src]

Bit 5 - PEC Calculation Switch

pub fn arpen(&self) -> ARPEN_R[src]

Bit 4 - ARP protocol in SMBus switch

pub fn smbsel(&self) -> SMBSEL_R[src]

Bit 3 - SMBusType Selection

pub fn smben(&self) -> SMBEN_R[src]

Bit 1 - SMBus/I2C mode switch

pub fn i2cen(&self) -> I2CEN_R[src]

Bit 0 - I2C peripheral enable