Type Definition stm32f2::stm32f215::i2c1::sr2::R[][src]

type R = R<u32, SR2>;

Reader of register SR2

Implementations

impl R[src]

pub fn pec(&self) -> PEC_R[src]

Bits 8:15 - acket error checking register

pub fn dualf(&self) -> DUALF_R[src]

Bit 7 - Dual flag (Slave mode)

pub fn smbhost(&self) -> SMBHOST_R[src]

Bit 6 - SMBus host header (Slave mode)

pub fn smbdefault(&self) -> SMBDEFAULT_R[src]

Bit 5 - SMBus device default address (Slave mode)

pub fn gencall(&self) -> GENCALL_R[src]

Bit 4 - General call address (Slave mode)

pub fn tra(&self) -> TRA_R[src]

Bit 2 - Transmitter/receiver

pub fn busy(&self) -> BUSY_R[src]

Bit 1 - Bus busy

pub fn msl(&self) -> MSL_R[src]

Bit 0 - Master/slave