[][src]Enum lpc54606_pac::rtc::ctrl::RTC_EN_A

pub enum RTC_EN_A {
    DISABLE,
    ENABLE,
}

RTC enable.

Value on reset: 0

Variants

DISABLE

0: Disable. The RTC 1 Hz and 1 kHz clocks are shut down and the RTC operation is disabled. This bit should be 0 when writing to load a value in the RTC counter register.

ENABLE

1: Enable. The 1 Hz RTC clock is running and RTC operation is enabled. This bit must be set to initiate operation of the RTC. The first clock to the RTC counter occurs 1 s after this bit is set. To also enable the high-resolution, 1 kHz clock, set bit 6 in this register.

Trait Implementations

impl Clone for RTC_EN_A[src]

impl Copy for RTC_EN_A[src]

impl Debug for RTC_EN_A[src]

impl From<RTC_EN_A> for bool[src]

impl PartialEq<RTC_EN_A> for RTC_EN_A[src]

impl StructuralPartialEq for RTC_EN_A[src]

Auto Trait Implementations

impl Send for RTC_EN_A

impl Sync for RTC_EN_A

impl Unpin for RTC_EN_A

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> Same<T> for T

type Output = T

Should always be Self

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.