Type Definition atsam4s2a_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_rst(&self) -> bool

Checks if the value of the field is GENERAL_RST

source

pub fn is_backup_rst(&self) -> bool

Checks if the value of the field is BACKUP_RST

source

pub fn is_wdt_rst(&self) -> bool

Checks if the value of the field is WDT_RST

source

pub fn is_soft_rst(&self) -> bool

Checks if the value of the field is SOFT_RST

source

pub fn is_user_rst(&self) -> bool

Checks if the value of the field is USER_RST