pub enum OscillatorFrequency {
Frequency16MHz,
}
Expand description
Frequency of the external oscillator.
For the SAM4L, different configurations are needed for different
ranges of oscillator frequency, so based on the input frequency,
various configurations may need to change. When additional
oscillator frequencies are needed, they should be added here and
the setup_system_clock
function should be modified to support
it.
Variants§
Frequency16MHz
16 MHz external oscillator
Trait Implementations§
Source§impl Clone for OscillatorFrequency
impl Clone for OscillatorFrequency
Source§fn clone(&self) -> OscillatorFrequency
fn clone(&self) -> OscillatorFrequency
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 OscillatorFrequency
impl Debug for OscillatorFrequency
Source§impl PartialEq for OscillatorFrequency
impl PartialEq for OscillatorFrequency
impl Copy for OscillatorFrequency
impl StructuralPartialEq for OscillatorFrequency
Auto Trait Implementations§
impl Freeze for OscillatorFrequency
impl RefUnwindSafe for OscillatorFrequency
impl Send for OscillatorFrequency
impl Sync for OscillatorFrequency
impl Unpin for OscillatorFrequency
impl UnwindSafe for OscillatorFrequency
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