Struct stm32f30x_memory_map::i2c::Cr1W
[−]
[src]
pub struct Cr1W { /* fields omitted */ }
Methods
impl Cr1W
[src]
fn reset_value() -> Self
Reset value
fn pe(&mut self, value: bool) -> &mut Self
Bit 0 - Peripheral enable
fn txie(&mut self, value: bool) -> &mut Self
Bit 1 - TX Interrupt enable
fn rxie(&mut self, value: bool) -> &mut Self
Bit 2 - RX Interrupt enable
fn addrie(&mut self, value: bool) -> &mut Self
Bit 3 - Address match interrupt enable (slave only)
fn nackie(&mut self, value: bool) -> &mut Self
Bit 4 - Not acknowledge received interrupt enable
fn stopie(&mut self, value: bool) -> &mut Self
Bit 5 - STOP detection Interrupt enable
fn tcie(&mut self, value: bool) -> &mut Self
Bit 6 - Transfer Complete interrupt enable
fn errie(&mut self, value: bool) -> &mut Self
Bit 7 - Error interrupts enable
fn dnf(&mut self, value: u8) -> &mut Self
Bits 8:11 - Digital noise filter
fn anfoff(&mut self, value: bool) -> &mut Self
Bit 12 - Analog noise filter OFF
fn swrst(&mut self, value: bool) -> &mut Self
Bit 13 - Software reset
fn txdmaen(&mut self, value: bool) -> &mut Self
Bit 14 - DMA transmission requests enable
fn rxdmaen(&mut self, value: bool) -> &mut Self
Bit 15 - DMA reception requests enable
fn sbc(&mut self, value: bool) -> &mut Self
Bit 16 - Slave byte control
fn nostretch(&mut self, value: bool) -> &mut Self
Bit 17 - Clock stretching disable
fn wupen(&mut self, value: bool) -> &mut Self
Bit 18 - Wakeup from STOP enable
fn gcen(&mut self, value: bool) -> &mut Self
Bit 19 - General call enable
fn smbhen(&mut self, value: bool) -> &mut Self
Bit 20 - SMBus Host address enable
fn smbden(&mut self, value: bool) -> &mut Self
Bit 21 - SMBus Device Default address enable
fn alerten(&mut self, value: bool) -> &mut Self
Bit 22 - SMBUS alert enable
fn pecen(&mut self, value: bool) -> &mut Self
Bit 23 - PEC enable
Trait Implementations
impl Clone for Cr1W
[src]
fn clone(&self) -> Cr1W
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more