Enum avr_device::atmega2560::cpu::smcr::SM_A
source · #[repr(u8)]pub enum SM_A {
IDLE = 0,
ADC = 1,
PDOWN = 2,
PSAVE = 3,
VAL_0X04 = 4,
VAL_0X05 = 5,
STDBY = 6,
ESTDBY = 7,
}
Expand description
Sleep Mode Select bits
Value on reset: 0
Variants§
IDLE = 0
0: Idle
ADC = 1
1: ADC Noise Reduction (If Available)
PDOWN = 2
2: Power Down
PSAVE = 3
3: Power Save
VAL_0X04 = 4
4: Reserved
VAL_0X05 = 5
5: Reserved
STDBY = 6
6: Standby
ESTDBY = 7
7: Extended Standby
Trait Implementations§
impl Copy for SM_A
impl Eq for SM_A
impl StructuralPartialEq for SM_A
Auto Trait Implementations§
impl Freeze for SM_A
impl RefUnwindSafe for SM_A
impl Send for SM_A
impl Sync for SM_A
impl Unpin for SM_A
impl UnwindSafe for SM_A
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
)