Enum rp2040_pac::dma::ch::ch_al1_ctrl::DATA_SIZE_A
source · #[repr(u8)]pub enum DATA_SIZE_A {
SIZE_BYTE = 0,
SIZE_HALFWORD = 1,
SIZE_WORD = 2,
}
Expand description
Set the size of each bus transfer (byte/halfword/word). READ_ADDR and WRITE_ADDR advance by this amount (1/2/4 bytes) with each transfer.
Value on reset: 0
Variants§
Trait Implementations§
source§impl Clone for DATA_SIZE_A
impl Clone for DATA_SIZE_A
source§fn clone(&self) -> DATA_SIZE_A
fn clone(&self) -> DATA_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 DATA_SIZE_A
impl Debug for DATA_SIZE_A
source§impl From<DATA_SIZE_A> for u8
impl From<DATA_SIZE_A> for u8
source§fn from(variant: DATA_SIZE_A) -> Self
fn from(variant: DATA_SIZE_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for DATA_SIZE_A
impl PartialEq for DATA_SIZE_A
impl Copy for DATA_SIZE_A
impl Eq for DATA_SIZE_A
impl StructuralPartialEq for DATA_SIZE_A
Auto Trait Implementations§
impl Freeze for DATA_SIZE_A
impl RefUnwindSafe for DATA_SIZE_A
impl Send for DATA_SIZE_A
impl Sync for DATA_SIZE_A
impl Unpin for DATA_SIZE_A
impl UnwindSafe for DATA_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
)