Enum nrf52832_pac::comp::result::RESULTR
source · pub enum RESULTR {
BELOW,
ABOVE,
}
Expand description
Possible values of the field RESULT
Variants§
BELOW
Input voltage is below the threshold (VIN+ < VIN-)
ABOVE
Input voltage is above the threshold (VIN+ > VIN-)
Implementations§
source§impl RESULTR
impl RESULTR
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)