Struct stm32f40x::i2c3::sr1::R
[−]
[src]
pub struct R { /* fields omitted */ }
Value read from the register
Methods
impl R
[src]
fn bits(&self) -> u32
Value of the register as raw bits
fn smbalert(&self) -> SMBALERTR
Bit 15 - SMBus alert
fn timeout(&self) -> TIMEOUTR
Bit 14 - Timeout or Tlow error
fn pecerr(&self) -> PECERRR
Bit 12 - PEC Error in reception
fn ovr(&self) -> OVRR
Bit 11 - Overrun/Underrun
fn af(&self) -> AFR
Bit 10 - Acknowledge failure
fn arlo(&self) -> ARLOR
Bit 9 - Arbitration lost(master mode)
fn berr(&self) -> BERRR
Bit 8 - Bus error
fn tx_e(&self) -> TXER
Bit 7 - Data register empty(transmitters)
fn rx_ne(&self) -> RXNER
Bit 6 - Data register not empty(receivers)
fn stopf(&self) -> STOPFR
Bit 4 - Stop detection(slave mode)
fn add10(&self) -> ADD10R
Bit 3 - 10-bit header sent(Master mode)
fn btf(&self) -> BTFR
Bit 2 - Byte transfer finished
fn addr(&self) -> ADDRR
Bit 1 - Address sent(master mode)/matched(slave mode)
fn sb(&self) -> SBR
Bit 0 - Start bit(Master mode)