Enum stm32_metapac::otg::vals::Pktstsh
#[repr(u8)]pub enum Pktstsh {
Show 16 variants
_RESERVED_0 = 0,
_RESERVED_1 = 1,
IN_DATA_RX = 2,
IN_DATA_DONE = 3,
_RESERVED_4 = 4,
DATA_TOGGLE_ERR = 5,
_RESERVED_6 = 6,
CHANNEL_HALTED = 7,
_RESERVED_8 = 8,
_RESERVED_9 = 9,
_RESERVED_a = 10,
_RESERVED_b = 11,
_RESERVED_c = 12,
_RESERVED_d = 13,
_RESERVED_e = 14,
_RESERVED_f = 15,
}
Variants§
_RESERVED_0 = 0
_RESERVED_1 = 1
IN_DATA_RX = 2
IN data packet received
IN_DATA_DONE = 3
IN transfer completed (triggers an interrupt)
_RESERVED_4 = 4
DATA_TOGGLE_ERR = 5
Data toggle error (triggers an interrupt)
_RESERVED_6 = 6
CHANNEL_HALTED = 7
Channel halted (triggers an interrupt)
_RESERVED_8 = 8
_RESERVED_9 = 9
_RESERVED_a = 10
_RESERVED_b = 11
_RESERVED_c = 12
_RESERVED_d = 13
_RESERVED_e = 14
_RESERVED_f = 15
Implementations§
Trait Implementations§
§impl Ord for Pktstsh
impl Ord for Pktstsh
§impl PartialOrd for Pktstsh
impl PartialOrd for Pktstsh
impl Copy for Pktstsh
impl Eq for Pktstsh
impl StructuralPartialEq for Pktstsh
Auto Trait Implementations§
impl Freeze for Pktstsh
impl RefUnwindSafe for Pktstsh
impl Send for Pktstsh
impl Sync for Pktstsh
impl Unpin for Pktstsh
impl UnwindSafe for Pktstsh
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
)