Enum rp2040_pac::dma::ch::ch_al1_ctrl::RING_SIZE_A
source · #[repr(u8)]pub enum RING_SIZE_A {
RING_NONE = 0,
}
Expand description
Size of address wrap region. If 0, don’t wrap. For values n > 0, only the lower n bits of the address will change. This wraps the address on a (1 << n) byte boundary, facilitating access to naturally-aligned ring buffers.
Ring sizes between 2 and 32768 bytes are possible. This can apply to either read or write addresses, based on value of RING_SEL.
Value on reset: 0
Variants§
RING_NONE = 0
0: 0
Trait Implementations§
source§impl Clone for RING_SIZE_A
impl Clone for RING_SIZE_A
source§fn clone(&self) -> RING_SIZE_A
fn clone(&self) -> RING_SIZE_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RING_SIZE_A
impl Debug for RING_SIZE_A
source§impl From<RING_SIZE_A> for u8
impl From<RING_SIZE_A> for u8
source§fn from(variant: RING_SIZE_A) -> Self
fn from(variant: RING_SIZE_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for RING_SIZE_A
impl PartialEq for RING_SIZE_A
impl Copy for RING_SIZE_A
impl Eq for RING_SIZE_A
impl StructuralPartialEq for RING_SIZE_A
Auto Trait Implementations§
impl Freeze for RING_SIZE_A
impl RefUnwindSafe for RING_SIZE_A
impl Send for RING_SIZE_A
impl Sync for RING_SIZE_A
impl Unpin for RING_SIZE_A
impl UnwindSafe for RING_SIZE_A
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
)