Module gd32f1x0_hal::pac::i2c0::ctl0[][src]

Expand description

Control register 0

Structs

ACKEN_R

Field ACKEN reader - Whether or not to send an ACK

ACKEN_W

Field ACKEN writer - Whether or not to send an ACK

ARPEN_R

Field ARPEN reader - ARP protocol in SMBus switch

ARPEN_W

Field ARPEN writer - ARP protocol in SMBus switch

CTL0_SPEC

Control register 0

GCEN_R

Field GCEN reader - Whether or not to response to a General Call (0x00)

GCEN_W

Field GCEN writer - Whether or not to response to a General Call (0x00)

I2CEN_R

Field I2CEN reader - I2C peripheral enable

I2CEN_W

Field I2CEN writer - I2C peripheral enable

PECEN_R

Field PECEN reader - PEC Calculation Switch

PECEN_W

Field PECEN writer - PEC Calculation Switch

PECTRANS_R

Field PECTRANS reader - PEC Transfer

PECTRANS_W

Field PECTRANS writer - PEC Transfer

POAP_R

Field POAP reader - Position of ACK meaning

POAP_W

Field POAP writer - Position of ACK meaning

R

Register CTL0 reader

SALT_R

Field SALT reader - SMBus alert

SALT_W

Field SALT writer - SMBus alert

SMBEN_R

Field SMBEN reader - SMBus/I2C mode switch

SMBEN_W

Field SMBEN writer - SMBus/I2C mode switch

SMBSEL_R

Field SMBSEL reader - SMBusType Selection

SMBSEL_W

Field SMBSEL writer - SMBusType Selection

SRESET_R

Field SRESET reader - Software reset I2C

SRESET_W

Field SRESET writer - Software reset I2C

SS_R

Field SS reader - Whether to stretch SCL low when data is not ready in slave mode

SS_W

Field SS writer - Whether to stretch SCL low when data is not ready in slave mode

START_R

Field START reader - Generate a START condition on I2C bus

START_W

Field START writer - Generate a START condition on I2C bus

STOP_R

Field STOP reader - Generate a STOP condition on I2C bus

STOP_W

Field STOP writer - Generate a STOP condition on I2C bus

W

Register CTL0 writer

Enums

ACKEN_A

Whether or not to send an ACK

ARPEN_A

ARP protocol in SMBus switch

GCEN_A

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

I2CEN_A

I2C peripheral enable

PECEN_A

PEC Calculation Switch

PECTRANS_A

PEC Transfer

POAP_A

Position of ACK meaning

SALT_A

SMBus alert

SMBEN_A

SMBus/I2C mode switch

SMBSEL_A

SMBusType Selection

SRESET_A

Software reset I2C

SS_A

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

START_A

Generate a START condition on I2C bus

STOP_A

Generate a STOP condition on I2C bus