Type Definition stm32f1::stm32f107::i2c1::cr1::R [−][src]
type R = R<u32, CR1>;
Reader of register CR1
Implementations
impl R
[src]
pub fn swrst(&self) -> SWRST_R
[src]
Bit 15 - Software reset
pub fn alert(&self) -> ALERT_R
[src]
Bit 13 - SMBus alert
pub fn pec(&self) -> PEC_R
[src]
Bit 12 - Packet error checking
pub fn pos(&self) -> POS_R
[src]
Bit 11 - Acknowledge/PEC Position (for data reception)
pub fn ack(&self) -> ACK_R
[src]
Bit 10 - Acknowledge enable
pub fn stop(&self) -> STOP_R
[src]
Bit 9 - Stop generation
pub fn start(&self) -> START_R
[src]
Bit 8 - Start generation
pub fn nostretch(&self) -> NOSTRETCH_R
[src]
Bit 7 - Clock stretching disable (Slave mode)
pub fn engc(&self) -> ENGC_R
[src]
Bit 6 - General call enable
pub fn enpec(&self) -> ENPEC_R
[src]
Bit 5 - PEC enable
pub fn enarp(&self) -> ENARP_R
[src]
Bit 4 - ARP enable
pub fn smbtype(&self) -> SMBTYPE_R
[src]
Bit 3 - SMBus type
pub fn smbus(&self) -> SMBUS_R
[src]
Bit 1 - SMBus mode
pub fn pe(&self) -> PE_R
[src]
Bit 0 - Peripheral enable