pub enum FRXTHR {
HALF,
QUARTER,
}
Expand description
Possible values of the field FRXTH
Variants§
HALF
RXNE event is generated if the FIFO level is greater than or equal to 1/2 (16-bit)
QUARTER
RXNE event is generated if the FIFO level is greater than or equal to 1/4 (8-bit)
Implementations§
Source§impl FRXTHR
impl FRXTHR
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_quarter(&self) -> bool
pub fn is_quarter(&self) -> bool
Checks if the value of the field is QUARTER
Trait Implementations§
impl Copy for FRXTHR
impl StructuralPartialEq for FRXTHR
Auto Trait Implementations§
impl Freeze for FRXTHR
impl RefUnwindSafe for FRXTHR
impl Send for FRXTHR
impl Sync for FRXTHR
impl Unpin for FRXTHR
impl UnwindSafe for FRXTHR
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more