pub enum VoltageScale {
Range0,
Range1,
Range2,
Range3,
}
Expand description
Voltage range of the power supply used.
Used to calculate flash waitstates. See RM0033 - Table 3. Number of wait states according to Cortex®-M3 clock frequency
Variants§
Trait Implementations§
Source§impl Clone for VoltageScale
impl Clone for VoltageScale
Source§fn clone(&self) -> VoltageScale
fn clone(&self) -> VoltageScale
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 VoltageScale
Auto Trait Implementations§
impl Freeze for VoltageScale
impl RefUnwindSafe for VoltageScale
impl Send for VoltageScale
impl Sync for VoltageScale
impl Unpin for VoltageScale
impl UnwindSafe for VoltageScale
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)