Type Definition atsam4n8c_pac::adc::mr::SLEEP_R

source ·
pub type SLEEP_R = BitReader<SLEEP_A>;
Expand description

Field SLEEP reader - Sleep Mode

Implementations§

source§

impl SLEEP_R

source

pub fn variant(&self) -> SLEEP_A

Get enumerated values variant

source

pub fn is_normal(&self) -> bool

Checks if the value of the field is NORMAL

source

pub fn is_sleep(&self) -> bool

Checks if the value of the field is SLEEP