[][src]Struct stm32f3::stm32f373::i2c1::cr1::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W
[src]

pub fn reset_value() -> W
[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]

Writes raw bits to the register

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

Bit 0 - Peripheral enable

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

Bit 1 - TX Interrupt enable

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

Bit 2 - RX Interrupt enable

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

Bit 3 - Address match interrupt enable (slave only)

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

Bit 4 - Not acknowledge received interrupt enable

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

Bit 5 - STOP detection Interrupt enable

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

Bit 6 - Transfer Complete interrupt enable

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

Bit 7 - Error interrupts enable

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

Bits 8:11 - Digital noise filter

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

Bit 12 - Analog noise filter OFF

pub fn swrst(&mut self) -> _SWRSTW
[src]

Bit 13 - Software reset

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

Bit 14 - DMA transmission requests enable

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

Bit 15 - DMA reception requests enable

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

Bit 16 - Slave byte control

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

Bit 17 - Clock stretching disable

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

Bit 18 - Wakeup from STOP enable

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

Bit 19 - General call enable

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

Bit 20 - SMBus Host address enable

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

Bit 21 - SMBus Device Default address enable

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

Bit 22 - SMBUS alert enable

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

Bit 23 - PEC enable

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]