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
impl Copy for Thres
impl Eq for Thres
impl StructuralPartialEq for Thres
Auto Trait Implementations§
impl Freeze for Thres
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)