Enum Octospisel
#[repr(u8)]pub enum Octospisel {
SYS = 0,
MSI = 1,
PLL1_Q = 2,
_RESERVED_3 = 3,
}
Variants§
SYS = 0
System clock selected as OctoSPI kernel clock
MSI = 1
MSI clock selected as OctoSPI kernel clock
PLL1_Q = 2
PLL48M1CLK clock selected as OctoSPI kernel clock
_RESERVED_3 = 3
Implementations§
§impl Octospisel
impl Octospisel
pub const fn from_bits(val: u8) -> Octospisel
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Octospisel
impl Clone for Octospisel
§fn clone(&self) -> Octospisel
fn clone(&self) -> Octospisel
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<u8> for Octospisel
impl From<u8> for Octospisel
§fn from(val: u8) -> Octospisel
fn from(val: u8) -> Octospisel
Converts to this type from the input type.
§impl Ord for Octospisel
impl Ord for Octospisel
§impl PartialEq for Octospisel
impl PartialEq for Octospisel
§impl PartialOrd for Octospisel
impl PartialOrd for Octospisel
impl Copy for Octospisel
impl Eq for Octospisel
impl StructuralPartialEq for Octospisel
Auto Trait Implementations§
impl Freeze for Octospisel
impl RefUnwindSafe for Octospisel
impl Send for Octospisel
impl Sync for Octospisel
impl Unpin for Octospisel
impl UnwindSafe for Octospisel
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
)