pub enum OVRR {
NOOVERRUN,
OVERRUN,
}
Expand description
Possible values of the field OVR
Variants§
NOOVERRUN
No overrun/underrun error occurs
OVERRUN
slave mode with NOSTRETCH=1, when an overrun/underrun error occurs
Implementations§
source§impl OVRR
impl OVRR
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_no_overrun(&self) -> bool
pub fn is_no_overrun(&self) -> bool
Checks if the value of the field is NOOVERRUN
sourcepub fn is_overrun(&self) -> bool
pub fn is_overrun(&self) -> bool
Checks if the value of the field is OVERRUN