#[non_exhaustive]pub enum AhbPriority {
Priority0 = 0,
Priority1 = 1,
Priority2 = 2,
Priority3 = 3,
Priority4 = 4,
Priority5 = 5,
Priority6 = 6,
Priority7 = 7,
Priority8 = 8,
Priority9 = 9,
}Available on crate feature
unstable only.Expand description
Channel priority of the AHB GDMA engine.
The arbiter serves the channel with the highest priority first. Level 0 is the lowest priority and the default.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Priority0 = 0
Priority level 0.
Priority1 = 1
Priority level 1.
Priority2 = 2
Priority level 2.
Priority3 = 3
Priority level 3.
Priority4 = 4
Priority level 4.
Priority5 = 5
Priority level 5.
Priority6 = 6
Priority level 6.
Priority7 = 7
Priority level 7.
Priority8 = 8
Priority level 8.
Priority9 = 9
Priority level 9.
Trait Implementations§
Source§impl Clone for AhbPriority
impl Clone for AhbPriority
impl Copy for AhbPriority
Source§impl Debug for AhbPriority
impl Debug for AhbPriority
Source§impl Default for AhbPriority
impl Default for AhbPriority
impl Eq for AhbPriority
Source§impl Hash for AhbPriority
impl Hash for AhbPriority
Source§impl Ord for AhbPriority
impl Ord for AhbPriority
1.21.0 (const: unstable)§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable)§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for AhbPriority
impl PartialEq for AhbPriority
Source§impl PartialOrd for AhbPriority
impl PartialOrd for AhbPriority
impl StructuralPartialEq for AhbPriority
Auto Trait Implementations§
impl Forget for AhbPriority
impl Freeze for AhbPriority
impl Move for AhbPriority
impl RefUnwindSafe for AhbPriority
impl Send for AhbPriority
impl Sync for AhbPriority
impl Unpin for AhbPriority
impl UnsafeUnpin for AhbPriority
impl UnwindSafe for AhbPriority
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)