pub enum OscillatorStartup {
FastStart,
SlowStart,
}
Expand description
Configuration for the startup time of the external oscillator.
In practice we have found that some boards work with a short startup time, while others need a slow start in order to properly wake from sleep. In general, we find that for systems that do not work, at fast speed, they will hang or panic after several entries into WAIT mode.
Variants§
FastStart
Use a fast startup. ~0.5 ms in practice.
SlowStart
Use a slow startup. ~8.9 ms in practice.
Trait Implementations§
Source§impl Clone for OscillatorStartup
impl Clone for OscillatorStartup
Source§fn clone(&self) -> OscillatorStartup
fn clone(&self) -> OscillatorStartup
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 OscillatorStartup
impl Debug for OscillatorStartup
Source§impl PartialEq for OscillatorStartup
impl PartialEq for OscillatorStartup
impl Copy for OscillatorStartup
impl StructuralPartialEq for OscillatorStartup
Auto Trait Implementations§
impl Freeze for OscillatorStartup
impl RefUnwindSafe for OscillatorStartup
impl Send for OscillatorStartup
impl Sync for OscillatorStartup
impl Unpin for OscillatorStartup
impl UnwindSafe for OscillatorStartup
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