#[repr(u8)]pub enum Idleselect {
Cpu = 0,
Ahb = 1,
Apb = 2,
}
Expand description
Idle Mode Configuration
Value on reset: 0
Variants§
Cpu = 0
0: The CPU clock domain is stopped
Ahb = 1
1: The CPU and AHB clock domains are stopped
Apb = 2
2: The CPU, AHB and APB clock domains are stopped
Trait Implementations§
Source§impl Clone for Idleselect
impl Clone for Idleselect
Source§fn clone(&self) -> Idleselect
fn clone(&self) -> Idleselect
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 Idleselect
impl Debug for Idleselect
Source§impl From<Idleselect> for u8
impl From<Idleselect> for u8
Source§fn from(variant: Idleselect) -> Self
fn from(variant: Idleselect) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Idleselect
impl PartialEq for Idleselect
impl Copy for Idleselect
impl Eq for Idleselect
impl IsEnum for Idleselect
impl StructuralPartialEq for Idleselect
Auto Trait Implementations§
impl Freeze for Idleselect
impl RefUnwindSafe for Idleselect
impl Send for Idleselect
impl Sync for Idleselect
impl Unpin for Idleselect
impl UnwindSafe for Idleselect
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