[][src]Type Definition efm32pg12_pac::i2c0::ctrl::R

type R = R<u32, CTRL>;

Reader of register CTRL

Methods

impl R[src]

pub fn en(&self) -> EN_R[src]

Bit 0 - I2C Enable

pub fn slave(&self) -> SLAVE_R[src]

Bit 1 - Addressable as Slave

pub fn autoack(&self) -> AUTOACK_R[src]

Bit 2 - Automatic Acknowledge

pub fn autose(&self) -> AUTOSE_R[src]

Bit 3 - Automatic STOP When Empty

pub fn autosn(&self) -> AUTOSN_R[src]

Bit 4 - Automatic STOP on NACK

pub fn arbdis(&self) -> ARBDIS_R[src]

Bit 5 - Arbitration Disable

pub fn gcamen(&self) -> GCAMEN_R[src]

Bit 6 - General Call Address Match Enable

pub fn txbil(&self) -> TXBIL_R[src]

Bit 7 - TX Buffer Interrupt Level

pub fn clhr(&self) -> CLHR_R[src]

Bits 8:9 - Clock Low High Ratio

pub fn bito(&self) -> BITO_R[src]

Bits 12:13 - Bus Idle Timeout

pub fn gibito(&self) -> GIBITO_R[src]

Bit 15 - Go Idle on Bus Idle Timeout

pub fn clto(&self) -> CLTO_R[src]

Bits 16:18 - Clock Low Timeout