Struct stm32f103xx::i2c1::cr1::W [−][src]
pub struct W { /* fields omitted */ }Value to write to the register
Methods
impl W[src]
impl Wpub fn reset_value() -> W[src]
pub fn reset_value() -> WReset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]
pub unsafe fn bits(&mut self, bits: u32) -> &mut SelfWrites raw bits to the register
pub fn swrst(&mut self) -> _SWRSTW[src]
pub fn swrst(&mut self) -> _SWRSTWBit 15 - Software reset
pub fn alert(&mut self) -> _ALERTW[src]
pub fn alert(&mut self) -> _ALERTWBit 13 - SMBus alert
pub fn pec(&mut self) -> _PECW[src]
pub fn pec(&mut self) -> _PECWBit 12 - Packet error checking
pub fn pos(&mut self) -> _POSW[src]
pub fn pos(&mut self) -> _POSWBit 11 - Acknowledge/PEC Position (for data reception)
pub fn ack(&mut self) -> _ACKW[src]
pub fn ack(&mut self) -> _ACKWBit 10 - Acknowledge enable
pub fn stop(&mut self) -> _STOPW[src]
pub fn stop(&mut self) -> _STOPWBit 9 - Stop generation
pub fn start(&mut self) -> _STARTW[src]
pub fn start(&mut self) -> _STARTWBit 8 - Start generation
pub fn nostretch(&mut self) -> _NOSTRETCHW[src]
pub fn nostretch(&mut self) -> _NOSTRETCHWBit 7 - Clock stretching disable (Slave mode)
pub fn engc(&mut self) -> _ENGCW[src]
pub fn engc(&mut self) -> _ENGCWBit 6 - General call enable
pub fn enpec(&mut self) -> _ENPECW[src]
pub fn enpec(&mut self) -> _ENPECWBit 5 - PEC enable
pub fn enarp(&mut self) -> _ENARPW[src]
pub fn enarp(&mut self) -> _ENARPWBit 4 - ARP enable
pub fn smbtype(&mut self) -> _SMBTYPEW[src]
pub fn smbtype(&mut self) -> _SMBTYPEWBit 3 - SMBus type
pub fn smbus(&mut self) -> _SMBUSW[src]
pub fn smbus(&mut self) -> _SMBUSWBit 1 - SMBus mode
pub fn pe(&mut self) -> _PEW[src]
pub fn pe(&mut self) -> _PEWBit 0 - Peripheral enable