Struct stm32f0x2::i2c1::cr1::W
[−]
[src]
pub struct W { /* fields omitted */ }
Value to write to the register
Methods
impl W
[src]
fn reset_value() -> W
[src]
Reset value of the register
unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register
fn pe(&mut self) -> _PEW
[src]
Bit 0 - Peripheral enable
fn txie(&mut self) -> _TXIEW
[src]
Bit 1 - TX Interrupt enable
fn rxie(&mut self) -> _RXIEW
[src]
Bit 2 - RX Interrupt enable
fn addrie(&mut self) -> _ADDRIEW
[src]
Bit 3 - Address match interrupt enable (slave only)
fn nackie(&mut self) -> _NACKIEW
[src]
Bit 4 - Not acknowledge received interrupt enable
fn stopie(&mut self) -> _STOPIEW
[src]
Bit 5 - STOP detection Interrupt enable
fn tcie(&mut self) -> _TCIEW
[src]
Bit 6 - Transfer Complete interrupt enable
fn errie(&mut self) -> _ERRIEW
[src]
Bit 7 - Error interrupts enable
fn dnf(&mut self) -> _DNFW
[src]
Bits 8:11 - Digital noise filter
fn anfoff(&mut self) -> _ANFOFFW
[src]
Bit 12 - Analog noise filter OFF
fn swrst(&mut self) -> _SWRSTW
[src]
Bit 13 - Software reset
fn txdmaen(&mut self) -> _TXDMAENW
[src]
Bit 14 - DMA transmission requests enable
fn rxdmaen(&mut self) -> _RXDMAENW
[src]
Bit 15 - DMA reception requests enable
fn sbc(&mut self) -> _SBCW
[src]
Bit 16 - Slave byte control
fn nostretch(&mut self) -> _NOSTRETCHW
[src]
Bit 17 - Clock stretching disable
fn wupen(&mut self) -> _WUPENW
[src]
Bit 18 - Wakeup from STOP enable
fn gcen(&mut self) -> _GCENW
[src]
Bit 19 - General call enable
fn smbhen(&mut self) -> _SMBHENW
[src]
Bit 20 - SMBus Host address enable
fn smbden(&mut self) -> _SMBDENW
[src]
Bit 21 - SMBus Device Default address enable
fn alerten(&mut self) -> _ALERTENW
[src]
Bit 22 - SMBUS alert enable
fn pecen(&mut self) -> _PECENW
[src]
Bit 23 - PEC enable