#[repr(u8)]
pub enum XT1HFFREQ_A {
    XT1HFFREQ_0,
    XT1HFFREQ_1,
    XT1HFFREQ_2,
    XT1HFFREQ_3,
}
Expand description

The XT1 High-frequency selection. These bits must be set to appropriate frequency for crystal or bypass modes of operation.

Value on reset: 0

Variants§

§

XT1HFFREQ_0

0: 1 to 4 MHz

§

XT1HFFREQ_1

1: 4 MHz to 6 MHz

§

XT1HFFREQ_2

2: 6 MHz to 16 MHz

§

XT1HFFREQ_3

3: 16 MHz to 24 MHz

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 ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

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.