Struct lpc845_pac::usart0::cfg::ENABLE_W[][src]

pub struct ENABLE_W<'a> { /* fields omitted */ }
Expand description

Field ENABLE writer - USART Enable.

Implementations

Writes variant to the field

Disabled. The USART is disabled and the internal state machine and counters are reset. While Enable = 0, all USART interrupts and DMA transfers are disabled. When Enable is set again, CFG and most other control bits remain unchanged. When re-enabled, the USART will immediately be ready to transmit because the transmitter has been reset and is therefore available.

Enabled. The USART is enabled for operation.

Sets the field bit

Clears the field bit

Writes raw bits to the field

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

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.