[][src]Type Definition stm32wb_pac::i2c1::cr1::R

type R = R<u32, CR1>;

Reader of register CR1

Implementations

impl R[src]

pub fn pe(&self) -> PE_R[src]

Bit 0 - Peripheral enable

pub fn txie(&self) -> TXIE_R[src]

Bit 1 - TX Interrupt enable

pub fn rxie(&self) -> RXIE_R[src]

Bit 2 - RX Interrupt enable

pub fn addrie(&self) -> ADDRIE_R[src]

Bit 3 - Address match interrupt enable (slave only)

pub fn nackie(&self) -> NACKIE_R[src]

Bit 4 - Not acknowledge received interrupt enable

pub fn stopie(&self) -> STOPIE_R[src]

Bit 5 - STOP detection Interrupt enable

pub fn tcie(&self) -> TCIE_R[src]

Bit 6 - Transfer Complete interrupt enable

pub fn errie(&self) -> ERRIE_R[src]

Bit 7 - Error interrupts enable

pub fn dnf(&self) -> DNF_R[src]

Bits 8:11 - Digital noise filter

pub fn anfoff(&self) -> ANFOFF_R[src]

Bit 12 - Analog noise filter OFF

pub fn txdmaen(&self) -> TXDMAEN_R[src]

Bit 14 - DMA transmission requests enable

pub fn rxdmaen(&self) -> RXDMAEN_R[src]

Bit 15 - DMA reception requests enable

pub fn sbc(&self) -> SBC_R[src]

Bit 16 - Slave byte control

pub fn nostretch(&self) -> NOSTRETCH_R[src]

Bit 17 - Clock stretching disable

pub fn wupen(&self) -> WUPEN_R[src]

Bit 18 - Wakeup from STOP enable

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

Bit 19 - General call enable

pub fn smbhen(&self) -> SMBHEN_R[src]

Bit 20 - SMBus Host address enable

pub fn smbden(&self) -> SMBDEN_R[src]

Bit 21 - SMBus Device Default address enable

pub fn alerten(&self) -> ALERTEN_R[src]

Bit 22 - SMBUS alert enable

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

Bit 23 - PEC enable