Type Alias avr_device::atmega2560::cpu::smcr::SM_W

source ·
pub type SM_W<'a, const O: u8> = FieldWriterSafe<'a, u8, SMCR_SPEC, u8, SM_A, 3, O>;
Expand description

Field SM writer - Sleep Mode Select bits

Aliased Type§

struct SM_W<'a, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, const O: u8> SM_W<'a, O>

source

pub fn idle(self) -> &'a mut W

Idle

source

pub fn adc(self) -> &'a mut W

ADC Noise Reduction (If Available)

source

pub fn pdown(self) -> &'a mut W

Power Down

source

pub fn psave(self) -> &'a mut W

Power Save

source

pub fn val_0x04(self) -> &'a mut W

Reserved

source

pub fn val_0x05(self) -> &'a mut W

Reserved

source

pub fn stdby(self) -> &'a mut W

Standby

source

pub fn estdby(self) -> &'a mut W

Extended Standby