Enum mkw41z4::porta::pcr27::PER
[−]
[src]
pub enum PER { _0, _1, }
Possible values of the field PE
Variants
_0
Internal pullup or pulldown resistor is not enabled on the corresponding pin.
_1
Internal pullup or pulldown resistor is enabled on the corresponding pin, if the pin is configured as a digital input.
Methods
impl PER
[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 PER
[src]
fn clone(&self) -> PER
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