Type Alias atsame54n::rstc::rcause::R

source ·
pub type R = R<RCAUSE_SPEC>;
Expand description

Register RCAUSE reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn por(&self) -> POR_R

Bit 0 - Power On Reset

source

pub fn bodcore(&self) -> BODCORE_R

Bit 1 - Brown Out CORE Detector Reset

source

pub fn bodvdd(&self) -> BODVDD_R

Bit 2 - Brown Out VDD Detector Reset

source

pub fn nvm(&self) -> NVM_R

Bit 3 - NVM Reset

source

pub fn ext(&self) -> EXT_R

Bit 4 - External Reset

source

pub fn wdt(&self) -> WDT_R

Bit 5 - Watchdog Reset

source

pub fn syst(&self) -> SYST_R

Bit 6 - System Reset Request

source

pub fn backup(&self) -> BACKUP_R

Bit 7 - Backup Reset