[−][src]Type Definition stm32f4::stm32f407::i2c1::cr1::W
type W = W<u32, CR1>;
Writer for register CR1
Methods
impl W
[src]
pub fn swrst(&mut self) -> SWRST_W
[src]
Bit 15 - Software reset
pub fn alert(&mut self) -> ALERT_W
[src]
Bit 13 - SMBus alert
pub fn pec(&mut self) -> PEC_W
[src]
Bit 12 - Packet error checking
pub fn pos(&mut self) -> POS_W
[src]
Bit 11 - Acknowledge/PEC Position (for data reception)
pub fn ack(&mut self) -> ACK_W
[src]
Bit 10 - Acknowledge enable
pub fn stop(&mut self) -> STOP_W
[src]
Bit 9 - Stop generation
pub fn start(&mut self) -> START_W
[src]
Bit 8 - Start generation
pub fn nostretch(&mut self) -> NOSTRETCH_W
[src]
Bit 7 - Clock stretching disable (Slave mode)
pub fn engc(&mut self) -> ENGC_W
[src]
Bit 6 - General call enable
pub fn enpec(&mut self) -> ENPEC_W
[src]
Bit 5 - PEC enable
pub fn enarp(&mut self) -> ENARP_W
[src]
Bit 4 - ARP enable
pub fn smbtype(&mut self) -> SMBTYPE_W
[src]
Bit 3 - SMBus type
pub fn smbus(&mut self) -> SMBUS_W
[src]
Bit 1 - SMBus mode
pub fn pe(&mut self) -> PE_W
[src]
Bit 0 - Peripheral enable