#[repr(u8)]pub enum DMAPeripheral {
Show 38 variants
USART0_RX = 0,
USART1_RX = 1,
USART2_RX = 2,
USART3_RX = 3,
SPI_RX = 4,
TWIM0_RX = 5,
TWIM1_RX = 6,
TWIM2_RX = 7,
TWIM3_RX = 8,
TWIS0_RX = 9,
TWIS1_RX = 10,
ADCIFE_RX = 11,
CATB_RX = 12,
IISC_CH0_RX = 14,
IISC_CH1_RX = 15,
PARC_RX = 16,
AESA_RX = 17,
USART0_TX = 18,
USART1_TX = 19,
USART2_TX = 20,
USART3_TX = 21,
SPI_TX = 22,
TWIM0_TX = 23,
TWIM1_TX = 24,
TWIM2_TX = 25,
TWIM3_TX = 26,
TWIS0_TX = 27,
TWIS1_TX = 28,
ADCIFE_TX = 29,
CATB_TX = 30,
ABDACB_SDR0_TX = 31,
ABDACB_SDR1_TX = 32,
IISC_CH0_TX = 33,
IISC_CH1_TX = 34,
DACC_TX = 35,
AESA_TX = 36,
LCDCA_ACMDR_TX = 37,
LCDCA_ABMDR_TX = 38,
}Expand description
The peripheral function a channel is assigned to (Section 16.7). *_RX
means transfer data from peripheral to memory, *_TX means transfer data
from memory to peripheral.
Variants§
USART0_RX = 0
USART1_RX = 1
USART2_RX = 2
USART3_RX = 3
SPI_RX = 4
TWIM0_RX = 5
TWIM1_RX = 6
TWIM2_RX = 7
TWIM3_RX = 8
TWIS0_RX = 9
TWIS1_RX = 10
ADCIFE_RX = 11
CATB_RX = 12
IISC_CH0_RX = 14
IISC_CH1_RX = 15
PARC_RX = 16
AESA_RX = 17
USART0_TX = 18
USART1_TX = 19
USART2_TX = 20
USART3_TX = 21
SPI_TX = 22
TWIM0_TX = 23
TWIM1_TX = 24
TWIM2_TX = 25
TWIM3_TX = 26
TWIS0_TX = 27
TWIS1_TX = 28
ADCIFE_TX = 29
CATB_TX = 30
ABDACB_SDR0_TX = 31
ABDACB_SDR1_TX = 32
IISC_CH0_TX = 33
IISC_CH1_TX = 34
DACC_TX = 35
AESA_TX = 36
LCDCA_ACMDR_TX = 37
LCDCA_ABMDR_TX = 38
Trait Implementations§
Source§impl Clone for DMAPeripheral
impl Clone for DMAPeripheral
Source§fn clone(&self) -> DMAPeripheral
fn clone(&self) -> DMAPeripheral
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DMAPeripheral
Source§impl FromPrimitive for DMAPeripheral
impl FromPrimitive for DMAPeripheral
Source§fn from_i64(n: i64) -> Option<Self>
fn from_i64(n: i64) -> Option<Self>
Convert an
i64 to return an optional value of this type. If the
type cannot be represented by this value, then None is returned.Source§fn from_u64(n: u64) -> Option<Self>
fn from_u64(n: u64) -> Option<Self>
Convert an
u64 to return an optional value of this type. If the
type cannot be represented by this value, then None is returned.Source§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
Convert an
isize to return an optional value of this type. If the
value cannot be represented by this value, then None is returned.Source§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
Convert an
i8 to return an optional value of this type. If the
type cannot be represented by this value, then None is returned.Source§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
Convert an
i16 to return an optional value of this type. If the
type cannot be represented by this value, then None is returned.Source§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
Convert an
i32 to return an optional value of this type. If the
type cannot be represented by this value, then None is returned.Source§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
Convert a
usize to return an optional value of this type. If the
type cannot be represented by this value, then None is returned.Source§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
Convert an
u8 to return an optional value of this type. If the
type cannot be represented by this value, then None is returned.Source§impl PartialEq for DMAPeripheral
impl PartialEq for DMAPeripheral
impl StructuralPartialEq for DMAPeripheral
Auto Trait Implementations§
impl Freeze for DMAPeripheral
impl RefUnwindSafe for DMAPeripheral
impl Send for DMAPeripheral
impl Sync for DMAPeripheral
impl Unpin for DMAPeripheral
impl UnsafeUnpin for DMAPeripheral
impl UnwindSafe for DMAPeripheral
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