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