Type Alias atsame54n::pm::sleepcfg::SLEEPMODE_R

source ·
pub type SLEEPMODE_R = FieldReader<SLEEPMODESELECT_A>;
Expand description

Field SLEEPMODE reader - Sleep Mode

Aliased Type§

struct SLEEPMODE_R { /* private fields */ }

Implementations§

source§

impl SLEEPMODE_R

source

pub const fn variant(&self) -> Option<SLEEPMODESELECT_A>

Get enumerated values variant

source

pub fn is_idle(&self) -> bool

CPU, AHBx, and APBx clocks are OFF

source

pub fn is_standby(&self) -> bool

All Clocks are OFF

source

pub fn is_hibernate(&self) -> bool

Backup domain is ON as well as some PDRAMs

source

pub fn is_backup(&self) -> bool

Only Backup domain is powered ON

source

pub fn is_off(&self) -> bool

All power domains are powered OFF