Type Alias 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