Type Alias avr_device::attiny85::cpu::mcucr::SM_R

source ·
pub type SM_R = FieldReader<u8, SM_A>;
Expand description

Field SM reader - Sleep Mode Select Bits

Aliased Type§

struct SM_R { /* private fields */ }

Implementations§

source§

impl SM_R

source

pub fn variant(&self) -> SM_A

Get enumerated values variant

source

pub fn is_idle(&self) -> bool

Checks if the value of the field is IDLE

source

pub fn is_adc(&self) -> bool

Checks if the value of the field is ADC

source

pub fn is_pdown(&self) -> bool

Checks if the value of the field is PDOWN

source

pub fn is_val_0x03(&self) -> bool

Checks if the value of the field is VAL_0X03