R

Type Alias R 

Source
pub type R = R<CTRLA_SPEC>;
Expand description

Register CTRLA reader

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn enable(&self) -> ENABLE_R

Bit 0 - Enable

Source

pub fn hysmode(&self) -> HYSMODE_R

Bits 1:2 - Hysteresis Mode

Source

pub fn lpmode(&self) -> LPMODE_R

Bit 3 - Low Power Mode

Source

pub fn intmode(&self) -> INTMODE_R

Bits 4:5 - Interrupt Mode

Source

pub fn outen(&self) -> OUTEN_R

Bit 6 - Output Buffer Enable

Source

pub fn runstdby(&self) -> RUNSTDBY_R

Bit 7 - Run in Standby Mode