#[repr(u16)]pub enum FREQ_RANGE_A {
LOW = 4_004,
MEDIUM = 4_005,
HIGH = 4_007,
TOOHIGH = 4_006,
}
Expand description
Controls the number of delay stages in the ROSC ring
LOW uses stages 0 to 7
MEDIUM uses stages 0 to 5
HIGH uses stages 0 to 3
TOOHIGH uses stages 0 to 1 and should not be used because its frequency exceeds design specifications
The clock output will not glitch when changing the range up one step at a time
The clock output will glitch when changing the range down
Note: the values here are gray coded which is why HIGH comes before TOOHIGH
Value on reset: 2720
Variants§
LOW = 4_004
4004: 111110100100
MEDIUM = 4_005
4005: 111110100101
HIGH = 4_007
4007: 111110100111
TOOHIGH = 4_006
4006: 111110100110
Trait Implementations§
Source§impl Clone for FREQ_RANGE_A
impl Clone for FREQ_RANGE_A
Source§fn clone(&self) -> FREQ_RANGE_A
fn clone(&self) -> FREQ_RANGE_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 FREQ_RANGE_A
impl Debug for FREQ_RANGE_A
Source§impl From<FREQ_RANGE_A> for u16
impl From<FREQ_RANGE_A> for u16
Source§fn from(variant: FREQ_RANGE_A) -> Self
fn from(variant: FREQ_RANGE_A) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FREQ_RANGE_A
impl PartialEq for FREQ_RANGE_A
impl Copy for FREQ_RANGE_A
impl Eq for FREQ_RANGE_A
impl StructuralPartialEq for FREQ_RANGE_A
Auto Trait Implementations§
impl Freeze for FREQ_RANGE_A
impl RefUnwindSafe for FREQ_RANGE_A
impl Send for FREQ_RANGE_A
impl Sync for FREQ_RANGE_A
impl Unpin for FREQ_RANGE_A
impl UnwindSafe for FREQ_RANGE_A
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more