pub enum PER {
_0,
_1,
}
Expand description
Possible values of the field PE
Variants§
_0
Internal pull-up or pull-down resistor is not enabled on the corresponding pin.
_1
Internal pull-up or pull-down resistor is enabled on the corresponding pin, provided pin is configured as a digital input.
Implementations§
source§impl PER
impl PER
sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0)
sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1)