aboutsummaryrefslogtreecommitdiff
path: root/lib/chibios/os/hal/ports/STM32/STM32G4xx/stm32_dmamux.h
diff options
context:
space:
mode:
authorAkshay <[email protected]>2022-04-10 12:13:40 +0100
committerAkshay <[email protected]>2022-04-10 12:13:40 +0100
commitdc90387ce7d8ba7b607d9c48540bf6d8b560f14d (patch)
tree4ccb8fa5886b66fa9d480edef74236c27f035e16 /lib/chibios/os/hal/ports/STM32/STM32G4xx/stm32_dmamux.h
Diffstat (limited to 'lib/chibios/os/hal/ports/STM32/STM32G4xx/stm32_dmamux.h')
-rw-r--r--lib/chibios/os/hal/ports/STM32/STM32G4xx/stm32_dmamux.h183
1 files changed, 183 insertions, 0 deletions
diff --git a/lib/chibios/os/hal/ports/STM32/STM32G4xx/stm32_dmamux.h b/lib/chibios/os/hal/ports/STM32/STM32G4xx/stm32_dmamux.h
new file mode 100644
index 000000000..c8a0ed320
--- /dev/null
+++ b/lib/chibios/os/hal/ports/STM32/STM32G4xx/stm32_dmamux.h
@@ -0,0 +1,183 @@
1/*
2 ChibiOS - Copyright (C) 2006..2019 Giovanni Di Sirio
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15*/
16
17/**
18 * @file STM32G4xx/stm32_dmamux.h
19 * @brief STM32G4xx DMAMUX handler header.
20 *
21 * @addtogroup STM32G4xx_DMAMUX
22 * @{
23 */
24
25#ifndef STM32_DMAMUX_H
26#define STM32_DMAMUX_H
27
28/*===========================================================================*/
29/* Driver constants. */
30/*===========================================================================*/
31
32/**
33 * @name DMAMUX1 request sources
34 * @{
35 */
36#define STM32_DMAMUX1_REQ_GEN0 1
37#define STM32_DMAMUX1_REQ_GEN1 2
38#define STM32_DMAMUX1_REQ_GEN2 3
39#define STM32_DMAMUX1_REQ_GEN3 4
40#define STM32_DMAMUX1_ADC1 5
41#define STM32_DMAMUX1_DAC1_CH1 6
42#define STM32_DMAMUX1_DAC1_CH2 7
43#define STM32_DMAMUX1_TIM6_UP 8
44#define STM32_DMAMUX1_TIM7_UP 9
45#define STM32_DMAMUX1_SPI1_RX 10
46#define STM32_DMAMUX1_SPI1_TX 11
47#define STM32_DMAMUX1_SPI2_RX 12
48#define STM32_DMAMUX1_SPI2_TX 13
49#define STM32_DMAMUX1_SPI3_RX 14
50#define STM32_DMAMUX1_SPI3_TX 15
51#define STM32_DMAMUX1_I2C1_RX 16
52#define STM32_DMAMUX1_I2C1_TX 17
53#define STM32_DMAMUX1_I2C2_RX 18
54#define STM32_DMAMUX1_I2C2_TX 19
55#define STM32_DMAMUX1_I2C3_RX 20
56#define STM32_DMAMUX1_I2C3_TX 21
57#define STM32_DMAMUX1_I2C4_RX 22
58#define STM32_DMAMUX1_I2C4_TX 23
59#define STM32_DMAMUX1_USART1_RX 24
60#define STM32_DMAMUX1_USART1_TX 25
61#define STM32_DMAMUX1_USART2_RX 26
62#define STM32_DMAMUX1_USART2_TX 27
63#define STM32_DMAMUX1_USART3_RX 28
64#define STM32_DMAMUX1_USART3_TX 29
65#define STM32_DMAMUX1_UART4_RX 30
66#define STM32_DMAMUX1_UART4_TX 31
67#define STM32_DMAMUX1_UART5_RX 32
68#define STM32_DMAMUX1_UART5_TX 33
69#define STM32_DMAMUX1_LPUART1_RX 34
70#define STM32_DMAMUX1_LPUART1_TX 35
71#define STM32_DMAMUX1_ADC2 36
72#define STM32_DMAMUX1_ADC3 37
73#define STM32_DMAMUX1_ADC4 38
74#define STM32_DMAMUX1_ADC5 39
75#define STM32_DMAMUX1_QUADSPI 40
76#define STM32_DMAMUX1_DAC2_CH1 41
77#define STM32_DMAMUX1_TIM1_CH1 42
78#define STM32_DMAMUX1_TIM1_CH2 43
79#define STM32_DMAMUX1_TIM1_CH3 44
80#define STM32_DMAMUX1_TIM1_CH4 45
81#define STM32_DMAMUX1_TIM1_UP 46
82#define STM32_DMAMUX1_TIM1_TRIG 47
83#define STM32_DMAMUX1_TIM1_COM 48
84#define STM32_DMAMUX1_TIM8_CH1 49
85#define STM32_DMAMUX1_TIM8_CH2 50
86#define STM32_DMAMUX1_TIM8_CH3 51
87#define STM32_DMAMUX1_TIM8_CH4 52
88#define STM32_DMAMUX1_TIM8_UP 53
89#define STM32_DMAMUX1_TIM8_TRIG 54
90#define STM32_DMAMUX1_TIM8_COM 55
91#define STM32_DMAMUX1_TIM2_CH1 56
92#define STM32_DMAMUX1_TIM2_CH2 57
93#define STM32_DMAMUX1_TIM2_CH3 58
94#define STM32_DMAMUX1_TIM2_CH4 59
95#define STM32_DMAMUX1_TIM2_UP 60
96#define STM32_DMAMUX1_TIM3_CH1 61
97#define STM32_DMAMUX1_TIM3_CH2 62
98#define STM32_DMAMUX1_TIM3_CH3 63
99#define STM32_DMAMUX1_TIM3_CH4 64
100#define STM32_DMAMUX1_TIM3_UP 65
101#define STM32_DMAMUX1_TIM3_TRIG 66
102#define STM32_DMAMUX1_TIM4_CH1 67
103#define STM32_DMAMUX1_TIM4_CH2 68
104#define STM32_DMAMUX1_TIM4_CH3 69
105#define STM32_DMAMUX1_TIM4_CH4 70
106#define STM32_DMAMUX1_TIM4_UP 71
107#define STM32_DMAMUX1_TIM5_CH1 72
108#define STM32_DMAMUX1_TIM5_CH2 73
109#define STM32_DMAMUX1_TIM5_CH3 74
110#define STM32_DMAMUX1_TIM5_CH4 75
111#define STM32_DMAMUX1_TIM5_UP 76
112#define STM32_DMAMUX1_TIM5_TRIG 77
113#define STM32_DMAMUX1_TIM15_CH1 78
114#define STM32_DMAMUX1_TIM15_UP 79
115#define STM32_DMAMUX1_TIM15_TRIG 80
116#define STM32_DMAMUX1_TIM15_COM 81
117#define STM32_DMAMUX1_TIM16_CH1 82
118#define STM32_DMAMUX1_TIM16_UP 83
119#define STM32_DMAMUX1_TIM17_CH1 84
120#define STM32_DMAMUX1_TIM17_UP 85
121#define STM32_DMAMUX1_TIM20_CH1 86
122#define STM32_DMAMUX1_TIM20_CH2 87
123#define STM32_DMAMUX1_TIM20_CH3 88
124#define STM32_DMAMUX1_TIM20_CH4 89
125#define STM32_DMAMUX1_TIM20_UP 90
126#define STM32_DMAMUX1_AES_IN 91
127#define STM32_DMAMUX1_AES_OUT 92
128#define STM32_DMAMUX1_TIM20_TRIG 93
129#define STM32_DMAMUX1_TIM20_COM 94
130#define STM32_DMAMUX1_HRTIM_MASTER 95
131#define STM32_DMAMUX1_HRTIM_TIMA 96
132#define STM32_DMAMUX1_HRTIM_TIMB 97
133#define STM32_DMAMUX1_HRTIM_TIMC 98
134#define STM32_DMAMUX1_HRTIM_TIMD 99
135#define STM32_DMAMUX1_HRTIM_TIME 100
136#define STM32_DMAMUX1_HRTIM_TIMF 101
137#define STM32_DMAMUX1_DAC3_CH1 102
138#define STM32_DMAMUX1_DAC3_CH2 103
139#define STM32_DMAMUX1_DAC4_CH1 104
140#define STM32_DMAMUX1_DAC4_CH2 105
141#define STM32_DMAMUX1_SPI4_RX 106
142#define STM32_DMAMUX1_SPI4_TX 107
143#define STM32_DMAMUX1_SAI1_A 108
144#define STM32_DMAMUX1_SAI1_B 109
145#define STM32_DMAMUX1_FMAC_READ 110
146#define STM32_DMAMUX1_FMAC_WRITE 111
147#define STM32_DMAMUX1_CORDIC_READ 112
148#define STM32_DMAMUX1_CORDIC_WRITE 113
149#define STM32_DMAMUX1_UCPD1_RX 114
150#define STM32_DMAMUX1_UCPD1_TX 115
151/** @} */
152
153/*===========================================================================*/
154/* Driver pre-compile time settings. */
155/*===========================================================================*/
156
157/*===========================================================================*/
158/* Derived constants and error checks. */
159/*===========================================================================*/
160
161/*===========================================================================*/
162/* Driver data structures and types. */
163/*===========================================================================*/
164
165/*===========================================================================*/
166/* Driver macros. */
167/*===========================================================================*/
168
169/*===========================================================================*/
170/* External declarations. */
171/*===========================================================================*/
172
173#ifdef __cplusplus
174extern "C" {
175#endif
176
177#ifdef __cplusplus
178}
179#endif
180
181#endif /* STM32_DMAMUX_H */
182
183/** @} */