Enum mkw41z::tpm2::conf::TRGSELR
[−]
[src]
pub enum TRGSELR { _0001, _0010, _0011, _0100, _0101, _0110, _0111, _1000, _1001, _1010, _1011, _1100, _1101, _1110, _1111, _Reserved(u8), }
Possible values of the field TRGSEL
Variants
_0001
Channel 0 pin input capture
_0010
Channel 1 pin input capture
_0011
Channel 0 or Channel 1 pin input capture
_0100
Channel 2 pin input capture
_0101
Channel 0 or Channel 2 pin input capture
_0110
Channel 1 or Channel 2 pin input capture
_0111
Channel 0 or Channel 1 or Channel 2 pin input capture
_1000
Channel 3 pin input capture
_1001
Channel 0 or Channel 3 pin input capture
_1010
Channel 1 or Channel 3 pin input capture
_1011
Channel 0 or Channel 1 or Channel 3 pin input capture
_1100
Channel 2 or Channel 3 pin input capture
_1101
Channel 0 or Channel 2 or Channel 3 pin input capture
_1110
Channel 1 or Channel 2 or Channel 3 pin input capture
_1111
Channel 0 or Channel 1 or Channel 2 or Channel 3 pin input capture
_Reserved(u8)
Reserved
Methods
impl TRGSELR
[src]
pub fn bits(&self) -> u8
[src]
Value of the field as raw bits
pub fn is_0001(&self) -> bool
[src]
Checks if the value of the field is _0001
pub fn is_0010(&self) -> bool
[src]
Checks if the value of the field is _0010
pub fn is_0011(&self) -> bool
[src]
Checks if the value of the field is _0011
pub fn is_0100(&self) -> bool
[src]
Checks if the value of the field is _0100
pub fn is_0101(&self) -> bool
[src]
Checks if the value of the field is _0101
pub fn is_0110(&self) -> bool
[src]
Checks if the value of the field is _0110
pub fn is_0111(&self) -> bool
[src]
Checks if the value of the field is _0111
pub fn is_1000(&self) -> bool
[src]
Checks if the value of the field is _1000
pub fn is_1001(&self) -> bool
[src]
Checks if the value of the field is _1001
pub fn is_1010(&self) -> bool
[src]
Checks if the value of the field is _1010
pub fn is_1011(&self) -> bool
[src]
Checks if the value of the field is _1011
pub fn is_1100(&self) -> bool
[src]
Checks if the value of the field is _1100
pub fn is_1101(&self) -> bool
[src]
Checks if the value of the field is _1101
pub fn is_1110(&self) -> bool
[src]
Checks if the value of the field is _1110
pub fn is_1111(&self) -> bool
[src]
Checks if the value of the field is _1111
Trait Implementations
impl Clone for TRGSELR
[src]
fn clone(&self) -> TRGSELR
[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 TRGSELR
[src]
impl Debug for TRGSELR
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more