Type Alias avr_device::atmega2560::cpu::smcr::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_psave(&self) -> bool

Checks if the value of the field is PSAVE

source

pub fn is_val_0x04(&self) -> bool

Checks if the value of the field is VAL_0X04

source

pub fn is_val_0x05(&self) -> bool

Checks if the value of the field is VAL_0X05

source

pub fn is_stdby(&self) -> bool

Checks if the value of the field is STDBY

source

pub fn is_estdby(&self) -> bool

Checks if the value of the field is ESTDBY