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

type W = W<u32, CR1>;

Writer for register CR1

Implementations

impl W[src]

pub fn pe(&mut self) -> PE_W<'_>[src]

Bit 0 - Peripheral enable

pub fn txie(&mut self) -> TXIE_W<'_>[src]

Bit 1 - TX Interrupt enable

pub fn rxie(&mut self) -> RXIE_W<'_>[src]

Bit 2 - RX Interrupt enable

pub fn addrie(&mut self) -> ADDRIE_W<'_>[src]

Bit 3 - Address match interrupt enable (slave only)

pub fn nackie(&mut self) -> NACKIE_W<'_>[src]

Bit 4 - Not acknowledge received interrupt enable

pub fn stopie(&mut self) -> STOPIE_W<'_>[src]

Bit 5 - STOP detection Interrupt enable

pub fn tcie(&mut self) -> TCIE_W<'_>[src]

Bit 6 - Transfer Complete interrupt enable

pub fn errie(&mut self) -> ERRIE_W<'_>[src]

Bit 7 - Error interrupts enable

pub fn dnf(&mut self) -> DNF_W<'_>[src]

Bits 8:11 - Digital noise filter

pub fn anfoff(&mut self) -> ANFOFF_W<'_>[src]

Bit 12 - Analog noise filter OFF

pub fn txdmaen(&mut self) -> TXDMAEN_W<'_>[src]

Bit 14 - DMA transmission requests enable

pub fn rxdmaen(&mut self) -> RXDMAEN_W<'_>[src]

Bit 15 - DMA reception requests enable

pub fn sbc(&mut self) -> SBC_W<'_>[src]

Bit 16 - Slave byte control

pub fn nostretch(&mut self) -> NOSTRETCH_W<'_>[src]

Bit 17 - Clock stretching disable

pub fn wupen(&mut self) -> WUPEN_W<'_>[src]

Bit 18 - Wakeup from STOP enable

pub fn gcen(&mut self) -> GCEN_W<'_>[src]

Bit 19 - General call enable

pub fn smbhen(&mut self) -> SMBHEN_W<'_>[src]

Bit 20 - SMBus Host address enable

pub fn smbden(&mut self) -> SMBDEN_W<'_>[src]

Bit 21 - SMBus Device Default address enable

pub fn alerten(&mut self) -> ALERTEN_W<'_>[src]

Bit 22 - SMBUS alert enable

pub fn pecen(&mut self) -> PECEN_W<'_>[src]

Bit 23 - PEC enable