Enum mkw41z::tpm2::sc::CMODR
[−]
[src]
pub enum CMODR { _00, _01, _10, _Reserved(u8), }
Possible values of the field CMOD
Variants
_00
TPM counter is disabled
_01
TPM counter increments on every TPM counter clock
_10
TPM counter increments on rising edge of TPM_EXTCLK synchronized to the TPM counter clock
_Reserved(u8)
Reserved
Methods
impl CMODR
[src]
pub fn bits(&self) -> u8
[src]
Value of the field as raw bits
pub fn is_00(&self) -> bool
[src]
Checks if the value of the field is _00
pub fn is_01(&self) -> bool
[src]
Checks if the value of the field is _01
pub fn is_10(&self) -> bool
[src]
Checks if the value of the field is _10
Trait Implementations
impl Clone for CMODR
[src]
fn clone(&self) -> CMODR
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for CMODR
[src]
impl Debug for CMODR
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more