pub struct R { /* fields omitted */ }
Value read from the register
pub fn bits(&self) -> u32 | |
Value of the register as raw bits
Bit 0 - Peripheral enable
Bit 1 - TX Interrupt enable
Bit 2 - RX Interrupt enable
Bit 3 - Address match interrupt enable (slave only)
Bit 4 - Not acknowledge received interrupt enable
Bit 5 - STOP detection Interrupt enable
Bit 6 - Transfer Complete interrupt enable
Bit 7 - Error interrupts enable
Bits 8:11 - Digital noise filter
Bit 12 - Analog noise filter OFF
Bit 14 - DMA transmission requests enable
Bit 15 - DMA reception requests enable
Bit 16 - Slave byte control
Bit 17 - Clock stretching disable
Bit 18 - Wakeup from STOP enable
Bit 19 - General call enable
Bit 20 - SMBus Host address enable
Bit 21 - SMBus Device Default address enable
Bit 22 - SMBUS alert enable
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static