Enum nrf52832_pac::p0::pin_cnf::INPUTR
source · pub enum INPUTR {
CONNECT,
DISCONNECT,
}
Expand description
Possible values of the field INPUT
Variants§
Implementations§
source§impl INPUTR
impl INPUTR
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)
sourcepub fn is_connect(&self) -> bool
pub fn is_connect(&self) -> bool
Checks if the value of the field is CONNECT
sourcepub fn is_disconnect(&self) -> bool
pub fn is_disconnect(&self) -> bool
Checks if the value of the field is DISCONNECT