Type Alias R

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

Register MCUSR reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn porf(&self) -> PORF_R

Bit 0 - Power-On Reset Flag

Source

pub fn extrf(&self) -> EXTRF_R

Bit 1 - External Reset Flag

Source

pub fn borf(&self) -> BORF_R

Bit 2 - Brown-out Reset Flag

Source

pub fn wdrf(&self) -> WDRF_R

Bit 3 - Watchdog Reset Flag