Enum rp2040_pac::dma::ch::ch_al3_ctrl::TREQ_SEL_A
source · #[repr(u8)]pub enum TREQ_SEL_A {
Show 45 variants
PIO0_TX0 = 0,
PIO0_TX1 = 1,
PIO0_TX2 = 2,
PIO0_TX3 = 3,
PIO0_RX0 = 4,
PIO0_RX1 = 5,
PIO0_RX2 = 6,
PIO0_RX3 = 7,
PIO1_TX0 = 8,
PIO1_TX1 = 9,
PIO1_TX2 = 10,
PIO1_TX3 = 11,
PIO1_RX0 = 12,
PIO1_RX1 = 13,
PIO1_RX2 = 14,
PIO1_RX3 = 15,
SPI0_TX = 16,
SPI0_RX = 17,
SPI1_TX = 18,
SPI1_RX = 19,
UART0_TX = 20,
UART0_RX = 21,
UART1_TX = 22,
UART1_RX = 23,
PWM_WRAP0 = 24,
PWM_WRAP1 = 25,
PWM_WRAP2 = 26,
PWM_WRAP3 = 27,
PWM_WRAP4 = 28,
PWM_WRAP5 = 29,
PWM_WRAP6 = 30,
PWM_WRAP7 = 31,
I2C0_TX = 32,
I2C0_RX = 33,
I2C1_TX = 34,
I2C1_RX = 35,
ADC = 36,
XIP_STREAM = 37,
XIP_SSITX = 38,
XIP_SSIRX = 39,
TIMER0 = 59,
TIMER1 = 60,
TIMER2 = 61,
TIMER3 = 62,
PERMANENT = 63,
}
Expand description
Select a Transfer Request signal.
The channel uses the transfer request signal to pace its data transfer rate. Sources for TREQ signals are internal (TIMERS) or external (DREQ, a Data Request from the system).
0x0 to 0x3a -> select DREQ n as TREQ
Value on reset: 0
Variants§
PIO0_TX0 = 0
0: Select PIO0’s TX FIFO 0 as TREQ
PIO0_TX1 = 1
1: Select PIO0’s TX FIFO 1 as TREQ
PIO0_TX2 = 2
2: Select PIO0’s TX FIFO 2 as TREQ
PIO0_TX3 = 3
3: Select PIO0’s TX FIFO 3 as TREQ
PIO0_RX0 = 4
4: Select PIO0’s RX FIFO 0 as TREQ
PIO0_RX1 = 5
5: Select PIO0’s RX FIFO 1 as TREQ
PIO0_RX2 = 6
6: Select PIO0’s RX FIFO 2 as TREQ
PIO0_RX3 = 7
7: Select PIO0’s RX FIFO 3 as TREQ
PIO1_TX0 = 8
8: Select PIO1’s TX FIFO 0 as TREQ
PIO1_TX1 = 9
9: Select PIO1’s TX FIFO 1 as TREQ
PIO1_TX2 = 10
10: Select PIO1’s TX FIFO 2 as TREQ
PIO1_TX3 = 11
11: Select PIO1’s TX FIFO 3 as TREQ
PIO1_RX0 = 12
12: Select PIO1’s RX FIFO 0 as TREQ
PIO1_RX1 = 13
13: Select PIO1’s RX FIFO 1 as TREQ
PIO1_RX2 = 14
14: Select PIO1’s RX FIFO 2 as TREQ
PIO1_RX3 = 15
15: Select PIO1’s RX FIFO 3 as TREQ
SPI0_TX = 16
16: Select SPI0’s TX FIFO as TREQ
SPI0_RX = 17
17: Select SPI0’s RX FIFO as TREQ
SPI1_TX = 18
18: Select SPI1’s TX FIFO as TREQ
SPI1_RX = 19
19: Select SPI1’s RX FIFO as TREQ
UART0_TX = 20
20: Select UART0’s TX FIFO as TREQ
UART0_RX = 21
21: Select UART0’s RX FIFO as TREQ
UART1_TX = 22
22: Select UART1’s TX FIFO as TREQ
UART1_RX = 23
23: Select UART1’s RX FIFO as TREQ
PWM_WRAP0 = 24
24: Select PWM Counter 0’s Wrap Value as TREQ
PWM_WRAP1 = 25
25: Select PWM Counter 1’s Wrap Value as TREQ
PWM_WRAP2 = 26
26: Select PWM Counter 2’s Wrap Value as TREQ
PWM_WRAP3 = 27
27: Select PWM Counter 3’s Wrap Value as TREQ
PWM_WRAP4 = 28
28: Select PWM Counter 4’s Wrap Value as TREQ
PWM_WRAP5 = 29
29: Select PWM Counter 5’s Wrap Value as TREQ
PWM_WRAP6 = 30
30: Select PWM Counter 6’s Wrap Value as TREQ
PWM_WRAP7 = 31
31: Select PWM Counter 7’s Wrap Value as TREQ
I2C0_TX = 32
32: Select I2C0’s TX FIFO as TREQ
I2C0_RX = 33
33: Select I2C0’s RX FIFO as TREQ
I2C1_TX = 34
34: Select I2C1’s TX FIFO as TREQ
I2C1_RX = 35
35: Select I2C1’s RX FIFO as TREQ
ADC = 36
36: Select the ADC as TREQ
XIP_STREAM = 37
37: Select the XIP Streaming FIFO as TREQ
XIP_SSITX = 38
38: Select the XIP SSI TX FIFO as TREQ
XIP_SSIRX = 39
39: Select the XIP SSI RX FIFO as TREQ
TIMER0 = 59
59: Select Timer 0 as TREQ
TIMER1 = 60
60: Select Timer 1 as TREQ
TIMER2 = 61
61: Select Timer 2 as TREQ (Optional)
TIMER3 = 62
62: Select Timer 3 as TREQ (Optional)
PERMANENT = 63
63: Permanent request, for unpaced transfers.
Trait Implementations§
source§impl Clone for TREQ_SEL_A
impl Clone for TREQ_SEL_A
source§fn clone(&self) -> TREQ_SEL_A
fn clone(&self) -> TREQ_SEL_A
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TREQ_SEL_A
impl Debug for TREQ_SEL_A
source§impl From<TREQ_SEL_A> for u8
impl From<TREQ_SEL_A> for u8
source§fn from(variant: TREQ_SEL_A) -> Self
fn from(variant: TREQ_SEL_A) -> Self
source§impl PartialEq for TREQ_SEL_A
impl PartialEq for TREQ_SEL_A
impl Copy for TREQ_SEL_A
impl Eq for TREQ_SEL_A
impl StructuralPartialEq for TREQ_SEL_A
Auto Trait Implementations§
impl Freeze for TREQ_SEL_A
impl RefUnwindSafe for TREQ_SEL_A
impl Send for TREQ_SEL_A
impl Sync for TREQ_SEL_A
impl Unpin for TREQ_SEL_A
impl UnwindSafe for TREQ_SEL_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
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)
clone_to_uninit
)