pub struct W { /* private fields */ }
Expand description
Value to write to the register
Reset value of the register
Writes raw bits to the register
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
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.