[−][src]Struct stm32l4x6::i2c1::cr1::W
Value to write to the register
Methods
impl W
[src]
impl W
pub fn reset_value() -> W
[src]
pub fn reset_value() -> W
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
Writes raw bits to the register
pub fn pe(&mut self) -> _PEW
[src]
pub fn pe(&mut self) -> _PEW
Bit 0 - Peripheral enable
pub fn txie(&mut self) -> _TXIEW
[src]
pub fn txie(&mut self) -> _TXIEW
Bit 1 - TX Interrupt enable
pub fn rxie(&mut self) -> _RXIEW
[src]
pub fn rxie(&mut self) -> _RXIEW
Bit 2 - RX Interrupt enable
pub fn addrie(&mut self) -> _ADDRIEW
[src]
pub fn addrie(&mut self) -> _ADDRIEW
Bit 3 - Address match interrupt enable (slave only)
pub fn nackie(&mut self) -> _NACKIEW
[src]
pub fn nackie(&mut self) -> _NACKIEW
Bit 4 - Not acknowledge received interrupt enable
pub fn stopie(&mut self) -> _STOPIEW
[src]
pub fn stopie(&mut self) -> _STOPIEW
Bit 5 - STOP detection Interrupt enable
pub fn tcie(&mut self) -> _TCIEW
[src]
pub fn tcie(&mut self) -> _TCIEW
Bit 6 - Transfer Complete interrupt enable
pub fn errie(&mut self) -> _ERRIEW
[src]
pub fn errie(&mut self) -> _ERRIEW
Bit 7 - Error interrupts enable
pub fn dnf(&mut self) -> _DNFW
[src]
pub fn dnf(&mut self) -> _DNFW
Bits 8:11 - Digital noise filter
pub fn anfoff(&mut self) -> _ANFOFFW
[src]
pub fn anfoff(&mut self) -> _ANFOFFW
Bit 12 - Analog noise filter OFF
pub fn txdmaen(&mut self) -> _TXDMAENW
[src]
pub fn txdmaen(&mut self) -> _TXDMAENW
Bit 14 - DMA transmission requests enable
pub fn rxdmaen(&mut self) -> _RXDMAENW
[src]
pub fn rxdmaen(&mut self) -> _RXDMAENW
Bit 15 - DMA reception requests enable
pub fn sbc(&mut self) -> _SBCW
[src]
pub fn sbc(&mut self) -> _SBCW
Bit 16 - Slave byte control
pub fn nostretch(&mut self) -> _NOSTRETCHW
[src]
pub fn nostretch(&mut self) -> _NOSTRETCHW
Bit 17 - Clock stretching disable
pub fn wupen(&mut self) -> _WUPENW
[src]
pub fn wupen(&mut self) -> _WUPENW
Bit 18 - Wakeup from STOP enable
pub fn gcen(&mut self) -> _GCENW
[src]
pub fn gcen(&mut self) -> _GCENW
Bit 19 - General call enable
pub fn smbhen(&mut self) -> _SMBHENW
[src]
pub fn smbhen(&mut self) -> _SMBHENW
Bit 20 - SMBus Host address enable
pub fn smbden(&mut self) -> _SMBDENW
[src]
pub fn smbden(&mut self) -> _SMBDENW
Bit 21 - SMBus Device Default address enable
pub fn alerten(&mut self) -> _ALERTENW
[src]
pub fn alerten(&mut self) -> _ALERTENW
Bit 22 - SMBUS alert enable
pub fn pecen(&mut self) -> _PECENW
[src]
pub fn pecen(&mut self) -> _PECENW
Bit 23 - PEC enable
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
try_from
)Performs the conversion.
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
try_from
)Performs the conversion.
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Gets the TypeId
of self
. Read more