Type Alias avr_device::attiny85::cpu::mcucr::SM_W

source ·
pub type SM_W<'a, const O: u8> = FieldWriterSafe<'a, u8, MCUCR_SPEC, u8, SM_A, 2, 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 val_0x03(self) -> &'a mut W

Reserved