atsamd21g::pm::sleep

Type Alias IdleR

Source
pub type IdleR = FieldReader<Idleselect>;
Expand description

Field IDLE reader - Idle Mode Configuration

Aliased Type§

struct IdleR { /* private fields */ }

Implementations§

Source§

impl IdleR

Source

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

Get enumerated values variant

Source

pub fn is_cpu(&self) -> bool

The CPU clock domain is stopped

Source

pub fn is_ahb(&self) -> bool

The CPU and AHB clock domains are stopped

Source

pub fn is_apb(&self) -> bool

The CPU, AHB and APB clock domains are stopped