Type Definition stm32f1::stm32f103::i2c1::sr1::R[][src]

type R = R<u32, SR1>;

Reader of register SR1

Implementations

impl R[src]

pub fn smbalert(&self) -> SMBALERT_R[src]

Bit 15 - SMBus alert

pub fn timeout(&self) -> TIMEOUT_R[src]

Bit 14 - Timeout or Tlow error

pub fn pecerr(&self) -> PECERR_R[src]

Bit 12 - PEC Error in reception

pub fn ovr(&self) -> OVR_R[src]

Bit 11 - Overrun/Underrun

pub fn af(&self) -> AF_R[src]

Bit 10 - Acknowledge failure

pub fn arlo(&self) -> ARLO_R[src]

Bit 9 - Arbitration lost (master mode)

pub fn berr(&self) -> BERR_R[src]

Bit 8 - Bus error

pub fn tx_e(&self) -> TXE_R[src]

Bit 7 - Data register empty (transmitters)

pub fn rx_ne(&self) -> RXNE_R[src]

Bit 6 - Data register not empty (receivers)

pub fn stopf(&self) -> STOPF_R[src]

Bit 4 - Stop detection (slave mode)

pub fn add10(&self) -> ADD10_R[src]

Bit 3 - 10-bit header sent (Master mode)

pub fn btf(&self) -> BTF_R[src]

Bit 2 - Byte transfer finished

pub fn addr(&self) -> ADDR_R[src]

Bit 1 - Address sent (master mode)/matched (slave mode)

pub fn sb(&self) -> SB_R[src]

Bit 0 - Start bit (Master mode)