Enum mkw41z::porta::pcr9::MUXR
[−]
[src]
pub enum MUXR { _000, _001, _010, _011, _100, _101, _110, _111, }
Possible values of the field MUX
Variants
_000
Pin disabled (Alternative 0) (analog).
_001
Alternative 1 (GPIO).
_010
Alternative 2 (chip-specific).
_011
Alternative 3 (chip-specific).
_100
Alternative 4 (chip-specific).
_101
Alternative 5 (chip-specific).
_110
Alternative 6 (chip-specific).
_111
Alternative 7 (chip-specific).
Methods
impl MUXR
[src]
pub fn bits(&self) -> u8
[src]
Value of the field as raw bits
pub fn is_000(&self) -> bool
[src]
Checks if the value of the field is _000
pub fn is_001(&self) -> bool
[src]
Checks if the value of the field is _001
pub fn is_010(&self) -> bool
[src]
Checks if the value of the field is _010
pub fn is_011(&self) -> bool
[src]
Checks if the value of the field is _011
pub fn is_100(&self) -> bool
[src]
Checks if the value of the field is _100
pub fn is_101(&self) -> bool
[src]
Checks if the value of the field is _101
pub fn is_110(&self) -> bool
[src]
Checks if the value of the field is _110
pub fn is_111(&self) -> bool
[src]
Checks if the value of the field is _111
Trait Implementations
impl Clone for MUXR
[src]
fn clone(&self) -> MUXR
[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 MUXR
[src]
impl Debug for MUXR
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more