Struct stm32f30x::i2c1::cr1::R
[−]
[src]
pub struct R { /* fields omitted */ }
Value read from the register
Methods
impl R
[src]
fn bits(&self) -> u32
Value of the register as raw bits
fn pe(&self) -> PeR
Bit 0 - Peripheral enable
fn txie(&self) -> TxieR
Bit 1 - TX Interrupt enable
fn rxie(&self) -> RxieR
Bit 2 - RX Interrupt enable
fn addrie(&self) -> AddrieR
Bit 3 - Address match interrupt enable (slave only)
fn nackie(&self) -> NackieR
Bit 4 - Not acknowledge received interrupt enable
fn stopie(&self) -> StopieR
Bit 5 - STOP detection Interrupt enable
fn tcie(&self) -> TcieR
Bit 6 - Transfer Complete interrupt enable
fn errie(&self) -> ErrieR
Bit 7 - Error interrupts enable
fn dnf(&self) -> DnfR
Bits 8:11 - Digital noise filter
fn anfoff(&self) -> AnfoffR
Bit 12 - Analog noise filter OFF
fn txdmaen(&self) -> TxdmaenR
Bit 14 - DMA transmission requests enable
fn rxdmaen(&self) -> RxdmaenR
Bit 15 - DMA reception requests enable
fn sbc(&self) -> SbcR
Bit 16 - Slave byte control
fn nostretch(&self) -> NostretchR
Bit 17 - Clock stretching disable
fn wupen(&self) -> WupenR
Bit 18 - Wakeup from STOP enable
fn gcen(&self) -> GcenR
Bit 19 - General call enable
fn smbhen(&self) -> SmbhenR
Bit 20 - SMBus Host address enable
fn smbden(&self) -> SmbdenR
Bit 21 - SMBus Device Default address enable
fn alerten(&self) -> AlertenR
Bit 22 - SMBUS alert enable
fn pecen(&self) -> PecenR
Bit 23 - PEC enable