[−][src]Struct stm32l4x6::i2c1::cr1::R
Value read from the register
Methods
impl R
[src]
impl R
pub fn bits(&self) -> u32
[src]
pub fn bits(&self) -> u32
Value of the register as raw bits
pub fn pe(&self) -> PER
[src]
pub fn pe(&self) -> PER
Bit 0 - Peripheral enable
pub fn txie(&self) -> TXIER
[src]
pub fn txie(&self) -> TXIER
Bit 1 - TX Interrupt enable
pub fn rxie(&self) -> RXIER
[src]
pub fn rxie(&self) -> RXIER
Bit 2 - RX Interrupt enable
pub fn addrie(&self) -> ADDRIER
[src]
pub fn addrie(&self) -> ADDRIER
Bit 3 - Address match interrupt enable (slave only)
pub fn nackie(&self) -> NACKIER
[src]
pub fn nackie(&self) -> NACKIER
Bit 4 - Not acknowledge received interrupt enable
pub fn stopie(&self) -> STOPIER
[src]
pub fn stopie(&self) -> STOPIER
Bit 5 - STOP detection Interrupt enable
pub fn tcie(&self) -> TCIER
[src]
pub fn tcie(&self) -> TCIER
Bit 6 - Transfer Complete interrupt enable
pub fn errie(&self) -> ERRIER
[src]
pub fn errie(&self) -> ERRIER
Bit 7 - Error interrupts enable
pub fn dnf(&self) -> DNFR
[src]
pub fn dnf(&self) -> DNFR
Bits 8:11 - Digital noise filter
pub fn anfoff(&self) -> ANFOFFR
[src]
pub fn anfoff(&self) -> ANFOFFR
Bit 12 - Analog noise filter OFF
pub fn txdmaen(&self) -> TXDMAENR
[src]
pub fn txdmaen(&self) -> TXDMAENR
Bit 14 - DMA transmission requests enable
pub fn rxdmaen(&self) -> RXDMAENR
[src]
pub fn rxdmaen(&self) -> RXDMAENR
Bit 15 - DMA reception requests enable
pub fn sbc(&self) -> SBCR
[src]
pub fn sbc(&self) -> SBCR
Bit 16 - Slave byte control
pub fn nostretch(&self) -> NOSTRETCHR
[src]
pub fn nostretch(&self) -> NOSTRETCHR
Bit 17 - Clock stretching disable
pub fn wupen(&self) -> WUPENR
[src]
pub fn wupen(&self) -> WUPENR
Bit 18 - Wakeup from STOP enable
pub fn gcen(&self) -> GCENR
[src]
pub fn gcen(&self) -> GCENR
Bit 19 - General call enable
pub fn smbhen(&self) -> SMBHENR
[src]
pub fn smbhen(&self) -> SMBHENR
Bit 20 - SMBus Host address enable
pub fn smbden(&self) -> SMBDENR
[src]
pub fn smbden(&self) -> SMBDENR
Bit 21 - SMBus Device Default address enable
pub fn alerten(&self) -> ALERTENR
[src]
pub fn alerten(&self) -> ALERTENR
Bit 22 - SMBUS alert enable
pub fn pecen(&self) -> PECENR
[src]
pub fn pecen(&self) -> PECENR
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