Enum LsiStartup
#[repr(u8)]pub enum LsiStartup {
CYCLES_4 = 0,
CYCLES_16 = 1,
CYCLES_64 = 2,
CYCLES_256 = 3,
}
Variants§
CYCLES_4 = 0
4 LSI clock cycles startup time
CYCLES_16 = 1
16 LSI clock cycles startup time
CYCLES_64 = 2
64 LSI clock cycles startup time
CYCLES_256 = 3
256 LSI clock cycles startup time
Implementations§
§impl LsiStartup
impl LsiStartup
pub const fn from_bits(val: u8) -> LsiStartup
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for LsiStartup
impl Clone for LsiStartup
§fn clone(&self) -> LsiStartup
fn clone(&self) -> LsiStartup
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 more§impl From<LsiStartup> for u8
impl From<LsiStartup> for u8
§fn from(val: LsiStartup) -> u8
fn from(val: LsiStartup) -> u8
Converts to this type from the input type.
§impl From<u8> for LsiStartup
impl From<u8> for LsiStartup
§fn from(val: u8) -> LsiStartup
fn from(val: u8) -> LsiStartup
Converts to this type from the input type.
§impl Ord for LsiStartup
impl Ord for LsiStartup
§impl PartialEq for LsiStartup
impl PartialEq for LsiStartup
§impl PartialOrd for LsiStartup
impl PartialOrd for LsiStartup
impl Copy for LsiStartup
impl Eq for LsiStartup
impl StructuralPartialEq for LsiStartup
Auto Trait Implementations§
impl Freeze for LsiStartup
impl RefUnwindSafe for LsiStartup
impl Send for LsiStartup
impl Sync for LsiStartup
impl Unpin for LsiStartup
impl UnwindSafe for LsiStartup
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