[][src]Type Definition stm32f3::stm32f3x8::i2c1::cr1::W

type W = W<u32, CR1>;

Writer for register CR1

Methods

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 swrst(&mut self) -> SWRST_W[src]

Bit 13 - Software reset

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