pub struct R(_);
Register CTL2 reader
CTL2
Bit 22 - Wakeup from Deep-sleep mode interrupt enable
Bits 20:21 - Wakeup mode from Deep-sleep mode
Bits 17:19 - Smartcard auto-retry number
Bit 15 - Driver enable polarity mode
Bit 14 - Driver enable mode
Bit 13 - Disable DMA on reception error
Bit 12 - Overrun Disable
Bit 11 - One sample bit method
Bit 10 - CTS interrupt enable
Bit 9 - CTS enable
Bit 8 - RTS enable
Bit 7 - DMA enable transmitter
Bit 6 - DMA enable for reception
Bit 5 - Smartcard mode enable
Bit 4 - NKEN enable in Smartcard mode
Bit 3 - Half-duplex selection
Bit 2 - IrDA low-power
Bit 1 - IrDA mode enable
Bit 0 - Error interrupt enable
Reads raw bits from register.
The resulting type after dereferencing.
Dereferences the value.
Performs the conversion.
Gets the TypeId of self. Read more
TypeId
self
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
The type returned in the event of a conversion error.