Type Definition atsam4n16b_pac::rstc::sr::RSTTYP_R

source ·
pub type RSTTYP_R = FieldReader<u8, RSTTYP_A>;
Expand description

Field RSTTYP reader - Reset Type

Implementations§

source§

impl RSTTYP_R

source

pub fn variant(&self) -> Option<RSTTYP_A>

Get enumerated values variant

source

pub fn is_general_reset(&self) -> bool

Checks if the value of the field is GENERAL_RESET

source

pub fn is_backup_reset(&self) -> bool

Checks if the value of the field is BACKUP_RESET

source

pub fn is_watchdog_reset(&self) -> bool

Checks if the value of the field is WATCHDOG_RESET

source

pub fn is_software_reset(&self) -> bool

Checks if the value of the field is SOFTWARE_RESET

source

pub fn is_user_reset(&self) -> bool

Checks if the value of the field is USER_RESET