[][src]Enum rsl10_pac::acs::acs_rtc_ctrl::ALARM_CFG_A

#[repr(u8)]
pub enum ALARM_CFG_A {
    RTC_ALARM_DISABLE,
    RTC_ALARM_7P8125MS,
    RTC_ALARM_15P625MS,
    RTC_ALARM_31P25MS,
    RTC_ALARM_62P5MS,
    RTC_ALARM_125MS,
    RTC_ALARM_250MS,
    RTC_ALARM_500MS,
    RTC_ALARM_1S,
    RTC_ALARM_2S,
    RTC_ALARM_4S,
    RTC_ALARM_8S,
    RTC_ALARM_16S,
    RTC_ALARM_32S,
    RTC_ALARM_64S,
    RTC_ALARM_ZERO,
}

Configure RTC timer alarm

Value on reset: 0

Variants

RTC_ALARM_DISABLE

0: RTC alarm is disabled

RTC_ALARM_7P8125MS

1: RTC alarm on counter bit 7 rising edge (7.8125 ms)

RTC_ALARM_15P625MS

2: RTC alarm on counter bit 8 rising edge (15.625 ms)

RTC_ALARM_31P25MS

3: RTC alarm on counter bit 9 rising edge (31.25 ms)

RTC_ALARM_62P5MS

4: RTC alarm on counter bit 10 rising edge (62.5 ms)

RTC_ALARM_125MS

5: RTC alarm on counter bit 11 rising edge (125 ms)

RTC_ALARM_250MS

6: RTC alarm on counter bit 12 rising edge (250 ms)

RTC_ALARM_500MS

7: RTC alarm on counter bit 13 rising edge (500 ms)

RTC_ALARM_1S

8: RTC alarm on counter bit 14 rising edge (1 s)

RTC_ALARM_2S

9: RTC alarm on counter bit 15 rising edge (2 s)

RTC_ALARM_4S

10: RTC alarm on counter bit 16 rising edge (4 s)

RTC_ALARM_8S

11: RTC alarm on counter bit 17 rising edge (8 s)

RTC_ALARM_16S

12: RTC alarm on counter bit 18 rising edge (16 s)

RTC_ALARM_32S

13: RTC alarm on counter bit 19 rising edge (32 s)

RTC_ALARM_64S

14: RTC alarm on counter bit 20 rising edge (64 s)

RTC_ALARM_ZERO

15: RTC alarm on (down) counter reaching zero (up to 36.4 hours)

Trait Implementations

impl Clone for ALARM_CFG_A[src]

impl Copy for ALARM_CFG_A[src]

impl Debug for ALARM_CFG_A[src]

impl From<ALARM_CFG_A> for u8[src]

impl PartialEq<ALARM_CFG_A> for ALARM_CFG_A[src]

impl StructuralPartialEq for ALARM_CFG_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> 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.