Enum stm32f429i_disc::spi1::sr::TXER
pub enum TXER {
NOTEMPTY,
EMPTY,
}
Expand description
Possible values of the field TXE
Variants
NOTEMPTY
Tx buffer not empty
EMPTY
Tx buffer empty
Implementations
impl TXER
impl TXER
pub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0)
pub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1)
pub fn is_not_empty(&self) -> bool
pub fn is_not_empty(&self) -> bool
Checks if the value of the field is NOTEMPTY
Trait Implementations
impl Copy for TXER
impl StructuralPartialEq for TXER
Auto Trait Implementations
impl RefUnwindSafe for TXER
impl Send for TXER
impl Sync for TXER
impl Unpin for TXER
impl UnwindSafe for TXER
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more