Enum atsamd21e18a::tcc0::fctrlb::HALTR [−][src]
pub enum HALTR { DISABLE, HW, SW, NR, }
Possible values of the field HALT
Variants
DISABLE
Halt action disabled
HW
Hardware halt action
SW
Software halt action
NR
Non-recoverable fault
Methods
impl HALTR
[src]
impl HALTR
pub fn bits(&self) -> u8
[src]
pub fn bits(&self) -> u8
Value of the field as raw bits
pub fn is_disable(&self) -> bool
[src]
pub fn is_disable(&self) -> bool
Checks if the value of the field is DISABLE
pub fn is_hw(&self) -> bool
[src]
pub fn is_hw(&self) -> bool
Checks if the value of the field is HW
pub fn is_sw(&self) -> bool
[src]
pub fn is_sw(&self) -> bool
Checks if the value of the field is SW
pub fn is_nr(&self) -> bool
[src]
pub fn is_nr(&self) -> bool
Checks if the value of the field is NR
Trait Implementations
impl Clone for HALTR
[src]
impl Clone for HALTR
fn clone(&self) -> HALTR
[src]
fn clone(&self) -> HALTR
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for HALTR
[src]
impl Copy for HALTR
impl Debug for HALTR
[src]
impl Debug for HALTR
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for HALTR
[src]
impl PartialEq for HALTR