Enum mkw41z4::porta::pcr4::PSR
[−]
[src]
pub enum PSR { _0, _1, }
Possible values of the field PS
Variants
_0
Internal pulldown resistor is enabled on the corresponding pin, if the corresponding PE field is set.
_1
Internal pullup resistor is enabled on the corresponding pin, if the corresponding PE field is set.
Methods
impl PSR
[src]
fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0)
fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1)
fn bit(&self) -> bool
Value of the field as raw bits
fn is_0(&self) -> bool
Checks if the value of the field is _0
fn is_1(&self) -> bool
Checks if the value of the field is _1
Trait Implementations
impl Clone for PSR
[src]
fn clone(&self) -> PSR
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more