Enum mkw41z::gpioa::pdir::PDIR
[−]
[src]
pub enum PDIR { _0, _1, _Reserved(u32), }
Possible values of the field PDI
Variants
_0
Pin logic level is logic 0, or is not configured for use by digital function.
_1
Pin logic level is logic 1.
_Reserved(u32)
Reserved
Methods
impl PDIR
[src]
pub fn bits(&self) -> u32
[src]
Value of the field as raw bits
pub fn is_0(&self) -> bool
[src]
Checks if the value of the field is _0
pub fn is_1(&self) -> bool
[src]
Checks if the value of the field is _1
Trait Implementations
impl Clone for PDIR
[src]
fn clone(&self) -> PDIR
[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 PDIR
[src]
impl Debug for PDIR
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more