[−][src]Struct alt_stm32f30x_hal::stm32::i2c1::cr1::R
Value read from the register
Methods
impl R
[src]
pub fn bits(&self) -> u32
[src]
Value of the register as raw bits
pub fn pe(&self) -> PER
[src]
Bit 0 - Peripheral enable
pub fn txie(&self) -> TXIER
[src]
Bit 1 - TX Interrupt enable
pub fn rxie(&self) -> RXIER
[src]
Bit 2 - RX Interrupt enable
pub fn addrie(&self) -> ADDRIER
[src]
Bit 3 - Address match interrupt enable (slave only)
pub fn nackie(&self) -> NACKIER
[src]
Bit 4 - Not acknowledge received interrupt enable
pub fn stopie(&self) -> STOPIER
[src]
Bit 5 - STOP detection Interrupt enable
pub fn tcie(&self) -> TCIER
[src]
Bit 6 - Transfer Complete interrupt enable
pub fn errie(&self) -> ERRIER
[src]
Bit 7 - Error interrupts enable
pub fn dnf(&self) -> DNFR
[src]
Bits 8:11 - Digital noise filter
pub fn anfoff(&self) -> ANFOFFR
[src]
Bit 12 - Analog noise filter OFF
pub fn txdmaen(&self) -> TXDMAENR
[src]
Bit 14 - DMA transmission requests enable
pub fn rxdmaen(&self) -> RXDMAENR
[src]
Bit 15 - DMA reception requests enable
pub fn sbc(&self) -> SBCR
[src]
Bit 16 - Slave byte control
pub fn nostretch(&self) -> NOSTRETCHR
[src]
Bit 17 - Clock stretching disable
pub fn wupen(&self) -> WUPENR
[src]
Bit 18 - Wakeup from STOP enable
pub fn gcen(&self) -> GCENR
[src]
Bit 19 - General call enable
pub fn smbhen(&self) -> SMBHENR
[src]
Bit 20 - SMBus Host address enable
pub fn smbden(&self) -> SMBDENR
[src]
Bit 21 - SMBus Device Default address enable
pub fn alerten(&self) -> ALERTENR
[src]
Bit 22 - SMBUS alert enable
pub fn pecen(&self) -> PECENR
[src]
Bit 23 - PEC enable
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self