Enum stm32_metapac::i3c::vals::Thres
#[repr(u8)]pub enum Thres {
BYTE = 0,
WORD = 1,
}
Variants§
BYTE = 0
TXFNFF is set when 1 byte must be written in TX-FIFO (in I3C_TDR).
WORD = 1
TXFNFF is set when 1 word / 4 bytes must be written in TX-FIFO (in the I3C_TDWR register). If the a number of the last transmitted data is not a multiple of 4 bytes (XDCNT[1:0] = 00 in the I3C_SR register), only the relevant 1, 2, or 3 valid LSB bytes of the last word are taken into account by the hardware, and sent on the I3C bus.
Implementations§
Trait Implementations§
§impl Ord for Thres
impl Ord for Thres
§impl PartialOrd for Thres
impl PartialOrd for Thres
§fn partial_cmp(&self, other: &Thres) -> Option<Ordering>
fn partial_cmp(&self, other: &Thres) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Thres
impl Eq for Thres
impl StructuralEq for Thres
impl StructuralPartialEq for Thres
Auto Trait Implementations§
impl RefUnwindSafe for Thres
impl Send for Thres
impl Sync for Thres
impl Unpin for Thres
impl UnwindSafe for Thres
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