Enum mkw41z::gpioa::pddr::PDDR
[−]
[src]
pub enum PDDR { _0, _1, _Reserved(u32), }
Possible values of the field PDD
Variants
_0
Pin is configured as general-purpose input, for the GPIO function.
_1
Pin is configured as general-purpose output, for the GPIO function.
_Reserved(u32)
Reserved
Methods
impl PDDR
[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 PDDR
[src]
fn clone(&self) -> PDDR
[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 PDDR
[src]
impl Debug for PDDR
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more