[−]Struct nucleo_f401re::stm32::i2c1::sr1::R
Value read from the register
Methods
impl R
pub fn bits(&self) -> u32
Value of the register as raw bits
pub fn smbalert(&self) -> SMBALERTR
Bit 15 - SMBus alert
pub fn timeout(&self) -> TIMEOUTR
Bit 14 - Timeout or Tlow error
pub fn pecerr(&self) -> PECERRR
Bit 12 - PEC Error in reception
pub fn ovr(&self) -> OVRR
Bit 11 - Overrun/Underrun
pub fn af(&self) -> AFR
Bit 10 - Acknowledge failure
pub fn arlo(&self) -> ARLOR
Bit 9 - Arbitration lost (master mode)
pub fn berr(&self) -> BERRR
Bit 8 - Bus error
pub fn tx_e(&self) -> TXER
Bit 7 - Data register empty (transmitters)
pub fn rx_ne(&self) -> RXNER
Bit 6 - Data register not empty (receivers)
pub fn stopf(&self) -> STOPFR
Bit 4 - Stop detection (slave mode)
pub fn add10(&self) -> ADD10R
Bit 3 - 10-bit header sent (Master mode)
pub fn btf(&self) -> BTFR
Bit 2 - Byte transfer finished
pub fn addr(&self) -> ADDRR
Bit 1 - Address sent (master mode)/matched (slave mode)
pub fn sb(&self) -> SBR
Bit 0 - Start bit (Master mode)
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom 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 for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto 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 for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut 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 for T
type Output = T
Should always be Self