[][src]Enum lpc55_pac::usart0::cfg::ENABLE_A

pub enum ENABLE_A {
    DISABLED,
    ENABLED,
}

USART Enable.

Value on reset: 0

Variants

DISABLED

0: 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

1: Enabled. The USART is enabled for operation.

Trait Implementations

impl Clone for ENABLE_A[src]

impl Copy for ENABLE_A[src]

impl Debug for ENABLE_A[src]

impl From<ENABLE_A> for bool[src]

impl PartialEq<ENABLE_A> for ENABLE_A[src]

impl StructuralPartialEq for ENABLE_A[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.