Type Alias W

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

Register MCUSR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn porf(&mut self) -> PORF_W<'_, MCUSR_SPEC>

Bit 0 - Power-On Reset Flag

Source

pub fn extrf(&mut self) -> EXTRF_W<'_, MCUSR_SPEC>

Bit 1 - External Reset Flag

Source

pub fn borf(&mut self) -> BORF_W<'_, MCUSR_SPEC>

Bit 2 - Brown-out Reset Flag

Source

pub fn wdrf(&mut self) -> WDRF_W<'_, MCUSR_SPEC>

Bit 3 - Watchdog Reset Flag