#[repr(u8)]
pub enum OUT0_A {
    NO_WAVE,
    FREQ1HZ,
    FREQ32HZ,
    FREQ64HZ,
    FREQ512HZ,
    ALARM_TOGGLE,
    ALARM_FLAG,
    PROG_PULSE,
}
Expand description

RTCOUT0 OutputSource Selection

Value on reset: 0

Variants

NO_WAVE

0: no waveform, stuck at ‘0’

FREQ1HZ

1: 1 Hz square wave

FREQ32HZ

2: 32 Hz square wave

FREQ64HZ

3: 64 Hz square wave

FREQ512HZ

4: 512 Hz square wave

ALARM_TOGGLE

5: output toggles when alarm flag rises

ALARM_FLAG

6: output is a copy of the alarm flag

PROG_PULSE

7: duty cycle programmable pulse

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Converts to this type from the input type.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.