Enum msp430fr2355::cs::csctl6::XT1HFFREQ_A
source · #[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§
source§impl Clone for XT1HFFREQ_A
impl Clone for XT1HFFREQ_A
source§fn clone(&self) -> XT1HFFREQ_A
fn clone(&self) -> XT1HFFREQ_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for XT1HFFREQ_A
impl Debug for XT1HFFREQ_A
source§impl From<XT1HFFREQ_A> for u8
impl From<XT1HFFREQ_A> for u8
source§fn from(variant: XT1HFFREQ_A) -> Self
fn from(variant: XT1HFFREQ_A) -> Self
Converts to this type from the input type.
source§impl PartialEq<XT1HFFREQ_A> for XT1HFFREQ_A
impl PartialEq<XT1HFFREQ_A> for XT1HFFREQ_A
source§fn eq(&self, other: &XT1HFFREQ_A) -> bool
fn eq(&self, other: &XT1HFFREQ_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.