pub enum EZPTR {
_0,
_1,
}
Expand description
Possible values of the field EZPT
Variants§
_0
Reset not caused by EzPort receiving the RESET command while the device is in EzPort mode
_1
Reset caused by EzPort receiving the RESET command while the device is in EzPort mode
Implementations§
source§impl EZPTR
impl EZPTR
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)