Enum tm4c123x_hal::sysctl::Oscillator
source · pub enum Oscillator {
Main(CrystalFrequency, SystemClock),
PrecisionInternal(SystemClock),
PrecisionInternalDiv4(Divider),
LowFrequencyInternal(Divider),
}
Expand description
Selects the system oscillator source
Variants§
Main(CrystalFrequency, SystemClock)
Use the main oscillator (with the given crystal), into the PLL or a clock divider
PrecisionInternal(SystemClock)
Use the 16 MHz precision internal oscillator, into the PLL or a clock divider
PrecisionInternalDiv4(Divider)
Use the 16 MHz precision internal oscillator, divided down to 4 MHz and then divided down again by the given value.
LowFrequencyInternal(Divider)
Use the 30 kHz internal oscillator, divided by the given value.
Trait Implementations§
source§impl Clone for Oscillator
impl Clone for Oscillator
source§fn clone(&self) -> Oscillator
fn clone(&self) -> Oscillator
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 moreimpl Copy for Oscillator
Auto Trait Implementations§
impl RefUnwindSafe for Oscillator
impl Send for Oscillator
impl Sync for Oscillator
impl Unpin for Oscillator
impl UnwindSafe for Oscillator
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