atsamd11d::pm::sleep

Type Alias IdleW

Source
pub type IdleW<'a, REG> = FieldWriter<'a, REG, 2, Idleselect>;
Expand description

Field IDLE writer - Idle Mode Configuration

Aliased Type§

struct IdleW<'a, REG> { /* private fields */ }

Implementations§

Source§

impl<'a, REG> IdleW<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

Source

pub fn cpu(self) -> &'a mut W<REG>

The CPU clock domain is stopped

Source

pub fn ahb(self) -> &'a mut W<REG>

The CPU and AHB clock domains are stopped

Source

pub fn apb(self) -> &'a mut W<REG>

The CPU, AHB and APB clock domains are stopped