aboutsummaryrefslogtreecommitdiff
path: root/lib/chibios/os/common/ext/ST/STM32F7xx/stm32f756xx.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chibios/os/common/ext/ST/STM32F7xx/stm32f756xx.h')
-rw-r--r--lib/chibios/os/common/ext/ST/STM32F7xx/stm32f756xx.h17856
1 files changed, 17856 insertions, 0 deletions
diff --git a/lib/chibios/os/common/ext/ST/STM32F7xx/stm32f756xx.h b/lib/chibios/os/common/ext/ST/STM32F7xx/stm32f756xx.h
new file mode 100644
index 000000000..e750317d7
--- /dev/null
+++ b/lib/chibios/os/common/ext/ST/STM32F7xx/stm32f756xx.h
@@ -0,0 +1,17856 @@
1/**
2 ******************************************************************************
3 * @file stm32f756xx.h
4 * @author MCD Application Team
5 * @version V1.2.0
6 * @date 30-December-2016
7 * @brief CMSIS Cortex-M7 Device Peripheral Access Layer Header File.
8 *
9 * This file contains:
10 * - Data structures and the address mapping for all peripherals
11 * - Peripheral's registers declarations and bits definition
12 * - Macros to access peripheral�s registers hardware
13 *
14 ******************************************************************************
15 * @attention
16 *
17 * <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
18 *
19 * Redistribution and use in source and binary forms, with or without modification,
20 * are permitted provided that the following conditions are met:
21 * 1. Redistributions of source code must retain the above copyright notice,
22 * this list of conditions and the following disclaimer.
23 * 2. Redistributions in binary form must reproduce the above copyright notice,
24 * this list of conditions and the following disclaimer in the documentation
25 * and/or other materials provided with the distribution.
26 * 3. Neither the name of STMicroelectronics nor the names of its contributors
27 * may be used to endorse or promote products derived from this software
28 * without specific prior written permission.
29 *
30 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
31 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
32 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
33 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
34 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
35 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
36 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
37 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
38 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
39 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
40 *
41 ******************************************************************************
42 */
43
44/** @addtogroup CMSIS_Device
45 * @{
46 */
47
48/** @addtogroup stm32f756xx
49 * @{
50 */
51
52#ifndef __STM32F756xx_H
53#define __STM32F756xx_H
54
55#ifdef __cplusplus
56 extern "C" {
57#endif /* __cplusplus */
58
59/** @addtogroup Configuration_section_for_CMSIS
60 * @{
61 */
62
63/**
64 * @brief STM32F7xx Interrupt Number Definition, according to the selected device
65 * in @ref Library_configuration_section
66 */
67typedef enum
68{
69/****** Cortex-M7 Processor Exceptions Numbers ****************************************************************/
70 NonMaskableInt_IRQn = -14, /*!< 2 Non Maskable Interrupt */
71 MemoryManagement_IRQn = -12, /*!< 4 Cortex-M7 Memory Management Interrupt */
72 BusFault_IRQn = -11, /*!< 5 Cortex-M7 Bus Fault Interrupt */
73 UsageFault_IRQn = -10, /*!< 6 Cortex-M7 Usage Fault Interrupt */
74 SVCall_IRQn = -5, /*!< 11 Cortex-M7 SV Call Interrupt */
75 DebugMonitor_IRQn = -4, /*!< 12 Cortex-M7 Debug Monitor Interrupt */
76 PendSV_IRQn = -2, /*!< 14 Cortex-M7 Pend SV Interrupt */
77 SysTick_IRQn = -1, /*!< 15 Cortex-M7 System Tick Interrupt */
78/****** STM32 specific Interrupt Numbers **********************************************************************/
79 WWDG_IRQn = 0, /*!< Window WatchDog Interrupt */
80 PVD_IRQn = 1, /*!< PVD through EXTI Line detection Interrupt */
81 TAMP_STAMP_IRQn = 2, /*!< Tamper and TimeStamp interrupts through the EXTI line */
82 RTC_WKUP_IRQn = 3, /*!< RTC Wakeup interrupt through the EXTI line */
83 FLASH_IRQn = 4, /*!< FLASH global Interrupt */
84 RCC_IRQn = 5, /*!< RCC global Interrupt */
85 EXTI0_IRQn = 6, /*!< EXTI Line0 Interrupt */
86 EXTI1_IRQn = 7, /*!< EXTI Line1 Interrupt */
87 EXTI2_IRQn = 8, /*!< EXTI Line2 Interrupt */
88 EXTI3_IRQn = 9, /*!< EXTI Line3 Interrupt */
89 EXTI4_IRQn = 10, /*!< EXTI Line4 Interrupt */
90 DMA1_Stream0_IRQn = 11, /*!< DMA1 Stream 0 global Interrupt */
91 DMA1_Stream1_IRQn = 12, /*!< DMA1 Stream 1 global Interrupt */
92 DMA1_Stream2_IRQn = 13, /*!< DMA1 Stream 2 global Interrupt */
93 DMA1_Stream3_IRQn = 14, /*!< DMA1 Stream 3 global Interrupt */
94 DMA1_Stream4_IRQn = 15, /*!< DMA1 Stream 4 global Interrupt */
95 DMA1_Stream5_IRQn = 16, /*!< DMA1 Stream 5 global Interrupt */
96 DMA1_Stream6_IRQn = 17, /*!< DMA1 Stream 6 global Interrupt */
97 ADC_IRQn = 18, /*!< ADC1, ADC2 and ADC3 global Interrupts */
98 CAN1_TX_IRQn = 19, /*!< CAN1 TX Interrupt */
99 CAN1_RX0_IRQn = 20, /*!< CAN1 RX0 Interrupt */
100 CAN1_RX1_IRQn = 21, /*!< CAN1 RX1 Interrupt */
101 CAN1_SCE_IRQn = 22, /*!< CAN1 SCE Interrupt */
102 EXTI9_5_IRQn = 23, /*!< External Line[9:5] Interrupts */
103 TIM1_BRK_TIM9_IRQn = 24, /*!< TIM1 Break interrupt and TIM9 global interrupt */
104 TIM1_UP_TIM10_IRQn = 25, /*!< TIM1 Update Interrupt and TIM10 global interrupt */
105 TIM1_TRG_COM_TIM11_IRQn = 26, /*!< TIM1 Trigger and Commutation Interrupt and TIM11 global interrupt */
106 TIM1_CC_IRQn = 27, /*!< TIM1 Capture Compare Interrupt */
107 TIM2_IRQn = 28, /*!< TIM2 global Interrupt */
108 TIM3_IRQn = 29, /*!< TIM3 global Interrupt */
109 TIM4_IRQn = 30, /*!< TIM4 global Interrupt */
110 I2C1_EV_IRQn = 31, /*!< I2C1 Event Interrupt */
111 I2C1_ER_IRQn = 32, /*!< I2C1 Error Interrupt */
112 I2C2_EV_IRQn = 33, /*!< I2C2 Event Interrupt */
113 I2C2_ER_IRQn = 34, /*!< I2C2 Error Interrupt */
114 SPI1_IRQn = 35, /*!< SPI1 global Interrupt */
115 SPI2_IRQn = 36, /*!< SPI2 global Interrupt */
116 USART1_IRQn = 37, /*!< USART1 global Interrupt */
117 USART2_IRQn = 38, /*!< USART2 global Interrupt */
118 USART3_IRQn = 39, /*!< USART3 global Interrupt */
119 EXTI15_10_IRQn = 40, /*!< External Line[15:10] Interrupts */
120 RTC_Alarm_IRQn = 41, /*!< RTC Alarm (A and B) through EXTI Line Interrupt */
121 OTG_FS_WKUP_IRQn = 42, /*!< USB OTG FS Wakeup through EXTI line interrupt */
122 TIM8_BRK_TIM12_IRQn = 43, /*!< TIM8 Break Interrupt and TIM12 global interrupt */
123 TIM8_UP_TIM13_IRQn = 44, /*!< TIM8 Update Interrupt and TIM13 global interrupt */
124 TIM8_TRG_COM_TIM14_IRQn = 45, /*!< TIM8 Trigger and Commutation Interrupt and TIM14 global interrupt */
125 TIM8_CC_IRQn = 46, /*!< TIM8 Capture Compare Interrupt */
126 DMA1_Stream7_IRQn = 47, /*!< DMA1 Stream7 Interrupt */
127 FMC_IRQn = 48, /*!< FMC global Interrupt */
128 SDMMC1_IRQn = 49, /*!< SDMMC1 global Interrupt */
129 TIM5_IRQn = 50, /*!< TIM5 global Interrupt */
130 SPI3_IRQn = 51, /*!< SPI3 global Interrupt */
131 UART4_IRQn = 52, /*!< UART4 global Interrupt */
132 UART5_IRQn = 53, /*!< UART5 global Interrupt */
133 TIM6_DAC_IRQn = 54, /*!< TIM6 global and DAC1&2 underrun error interrupts */
134 TIM7_IRQn = 55, /*!< TIM7 global interrupt */
135 DMA2_Stream0_IRQn = 56, /*!< DMA2 Stream 0 global Interrupt */
136 DMA2_Stream1_IRQn = 57, /*!< DMA2 Stream 1 global Interrupt */
137 DMA2_Stream2_IRQn = 58, /*!< DMA2 Stream 2 global Interrupt */
138 DMA2_Stream3_IRQn = 59, /*!< DMA2 Stream 3 global Interrupt */
139 DMA2_Stream4_IRQn = 60, /*!< DMA2 Stream 4 global Interrupt */
140 ETH_IRQn = 61, /*!< Ethernet global Interrupt */
141 ETH_WKUP_IRQn = 62, /*!< Ethernet Wakeup through EXTI line Interrupt */
142 CAN2_TX_IRQn = 63, /*!< CAN2 TX Interrupt */
143 CAN2_RX0_IRQn = 64, /*!< CAN2 RX0 Interrupt */
144 CAN2_RX1_IRQn = 65, /*!< CAN2 RX1 Interrupt */
145 CAN2_SCE_IRQn = 66, /*!< CAN2 SCE Interrupt */
146 OTG_FS_IRQn = 67, /*!< USB OTG FS global Interrupt */
147 DMA2_Stream5_IRQn = 68, /*!< DMA2 Stream 5 global interrupt */
148 DMA2_Stream6_IRQn = 69, /*!< DMA2 Stream 6 global interrupt */
149 DMA2_Stream7_IRQn = 70, /*!< DMA2 Stream 7 global interrupt */
150 USART6_IRQn = 71, /*!< USART6 global interrupt */
151 I2C3_EV_IRQn = 72, /*!< I2C3 event interrupt */
152 I2C3_ER_IRQn = 73, /*!< I2C3 error interrupt */
153 OTG_HS_EP1_OUT_IRQn = 74, /*!< USB OTG HS End Point 1 Out global interrupt */
154 OTG_HS_EP1_IN_IRQn = 75, /*!< USB OTG HS End Point 1 In global interrupt */
155 OTG_HS_WKUP_IRQn = 76, /*!< USB OTG HS Wakeup through EXTI interrupt */
156 OTG_HS_IRQn = 77, /*!< USB OTG HS global interrupt */
157 DCMI_IRQn = 78, /*!< DCMI global interrupt */
158 CRYP_IRQn = 79, /*!< CRYP crypto global interrupt */
159 HASH_RNG_IRQn = 80, /*!< Hash and Rng global interrupt */
160 FPU_IRQn = 81, /*!< FPU global interrupt */
161 UART7_IRQn = 82, /*!< UART7 global interrupt */
162 UART8_IRQn = 83, /*!< UART8 global interrupt */
163 SPI4_IRQn = 84, /*!< SPI4 global Interrupt */
164 SPI5_IRQn = 85, /*!< SPI5 global Interrupt */
165 SPI6_IRQn = 86, /*!< SPI6 global Interrupt */
166 SAI1_IRQn = 87, /*!< SAI1 global Interrupt */
167 LTDC_IRQn = 88, /*!< LTDC global Interrupt */
168 LTDC_ER_IRQn = 89, /*!< LTDC Error global Interrupt */
169 DMA2D_IRQn = 90, /*!< DMA2D global Interrupt */
170 SAI2_IRQn = 91, /*!< SAI2 global Interrupt */
171 QUADSPI_IRQn = 92, /*!< Quad SPI global interrupt */
172 LPTIM1_IRQn = 93, /*!< LP TIM1 interrupt */
173 CEC_IRQn = 94, /*!< HDMI-CEC global Interrupt */
174 I2C4_EV_IRQn = 95, /*!< I2C4 Event Interrupt */
175 I2C4_ER_IRQn = 96, /*!< I2C4 Error Interrupt */
176 SPDIF_RX_IRQn = 97, /*!< SPDIF-RX global Interrupt */
177} IRQn_Type;
178
179/**
180 * @}
181 */
182
183/**
184 * @brief Configuration of the Cortex-M7 Processor and Core Peripherals
185 */
186#define __CM7_REV 0x0001U /*!< Cortex-M7 revision r0p1 */
187#define __MPU_PRESENT 1 /*!< CM7 provides an MPU */
188#define __NVIC_PRIO_BITS 4 /*!< CM7 uses 4 Bits for the Priority Levels */
189#define __Vendor_SysTickConfig 0 /*!< Set to 1 if different SysTick Config is used */
190#define __FPU_PRESENT 1 /*!< FPU present */
191#define __ICACHE_PRESENT 1 /*!< CM7 instruction cache present */
192#define __DCACHE_PRESENT 1 /*!< CM7 data cache present */
193#include "core_cm7.h" /*!< Cortex-M7 processor and core peripherals */
194
195
196#include "system_stm32f7xx.h"
197#include <stdint.h>
198
199/** @addtogroup Peripheral_registers_structures
200 * @{
201 */
202
203/**
204 * @brief Analog to Digital Converter
205 */
206
207typedef struct
208{
209 __IO uint32_t SR; /*!< ADC status register, Address offset: 0x00 */
210 __IO uint32_t CR1; /*!< ADC control register 1, Address offset: 0x04 */
211 __IO uint32_t CR2; /*!< ADC control register 2, Address offset: 0x08 */
212 __IO uint32_t SMPR1; /*!< ADC sample time register 1, Address offset: 0x0C */
213 __IO uint32_t SMPR2; /*!< ADC sample time register 2, Address offset: 0x10 */
214 __IO uint32_t JOFR1; /*!< ADC injected channel data offset register 1, Address offset: 0x14 */
215 __IO uint32_t JOFR2; /*!< ADC injected channel data offset register 2, Address offset: 0x18 */
216 __IO uint32_t JOFR3; /*!< ADC injected channel data offset register 3, Address offset: 0x1C */
217 __IO uint32_t JOFR4; /*!< ADC injected channel data offset register 4, Address offset: 0x20 */
218 __IO uint32_t HTR; /*!< ADC watchdog higher threshold register, Address offset: 0x24 */
219 __IO uint32_t LTR; /*!< ADC watchdog lower threshold register, Address offset: 0x28 */
220 __IO uint32_t SQR1; /*!< ADC regular sequence register 1, Address offset: 0x2C */
221 __IO uint32_t SQR2; /*!< ADC regular sequence register 2, Address offset: 0x30 */
222 __IO uint32_t SQR3; /*!< ADC regular sequence register 3, Address offset: 0x34 */
223 __IO uint32_t JSQR; /*!< ADC injected sequence register, Address offset: 0x38*/
224 __IO uint32_t JDR1; /*!< ADC injected data register 1, Address offset: 0x3C */
225 __IO uint32_t JDR2; /*!< ADC injected data register 2, Address offset: 0x40 */
226 __IO uint32_t JDR3; /*!< ADC injected data register 3, Address offset: 0x44 */
227 __IO uint32_t JDR4; /*!< ADC injected data register 4, Address offset: 0x48 */
228 __IO uint32_t DR; /*!< ADC regular data register, Address offset: 0x4C */
229} ADC_TypeDef;
230
231typedef struct
232{
233 __IO uint32_t CSR; /*!< ADC Common status register, Address offset: ADC1 base address + 0x300 */
234 __IO uint32_t CCR; /*!< ADC common control register, Address offset: ADC1 base address + 0x304 */
235 __IO uint32_t CDR; /*!< ADC common regular data register for dual
236 AND triple modes, Address offset: ADC1 base address + 0x308 */
237} ADC_Common_TypeDef;
238
239
240/**
241 * @brief Controller Area Network TxMailBox
242 */
243
244typedef struct
245{
246 __IO uint32_t TIR; /*!< CAN TX mailbox identifier register */
247 __IO uint32_t TDTR; /*!< CAN mailbox data length control and time stamp register */
248 __IO uint32_t TDLR; /*!< CAN mailbox data low register */
249 __IO uint32_t TDHR; /*!< CAN mailbox data high register */
250} CAN_TxMailBox_TypeDef;
251
252/**
253 * @brief Controller Area Network FIFOMailBox
254 */
255
256typedef struct
257{
258 __IO uint32_t RIR; /*!< CAN receive FIFO mailbox identifier register */
259 __IO uint32_t RDTR; /*!< CAN receive FIFO mailbox data length control and time stamp register */
260 __IO uint32_t RDLR; /*!< CAN receive FIFO mailbox data low register */
261 __IO uint32_t RDHR; /*!< CAN receive FIFO mailbox data high register */
262} CAN_FIFOMailBox_TypeDef;
263
264/**
265 * @brief Controller Area Network FilterRegister
266 */
267
268typedef struct
269{
270 __IO uint32_t FR1; /*!< CAN Filter bank register 1 */
271 __IO uint32_t FR2; /*!< CAN Filter bank register 1 */
272} CAN_FilterRegister_TypeDef;
273
274/**
275 * @brief Controller Area Network
276 */
277
278typedef struct
279{
280 __IO uint32_t MCR; /*!< CAN master control register, Address offset: 0x00 */
281 __IO uint32_t MSR; /*!< CAN master status register, Address offset: 0x04 */
282 __IO uint32_t TSR; /*!< CAN transmit status register, Address offset: 0x08 */
283 __IO uint32_t RF0R; /*!< CAN receive FIFO 0 register, Address offset: 0x0C */
284 __IO uint32_t RF1R; /*!< CAN receive FIFO 1 register, Address offset: 0x10 */
285 __IO uint32_t IER; /*!< CAN interrupt enable register, Address offset: 0x14 */
286 __IO uint32_t ESR; /*!< CAN error status register, Address offset: 0x18 */
287 __IO uint32_t BTR; /*!< CAN bit timing register, Address offset: 0x1C */
288 uint32_t RESERVED0[88]; /*!< Reserved, 0x020 - 0x17F */
289 CAN_TxMailBox_TypeDef sTxMailBox[3]; /*!< CAN Tx MailBox, Address offset: 0x180 - 0x1AC */
290 CAN_FIFOMailBox_TypeDef sFIFOMailBox[2]; /*!< CAN FIFO MailBox, Address offset: 0x1B0 - 0x1CC */
291 uint32_t RESERVED1[12]; /*!< Reserved, 0x1D0 - 0x1FF */
292 __IO uint32_t FMR; /*!< CAN filter master register, Address offset: 0x200 */
293 __IO uint32_t FM1R; /*!< CAN filter mode register, Address offset: 0x204 */
294 uint32_t RESERVED2; /*!< Reserved, 0x208 */
295 __IO uint32_t FS1R; /*!< CAN filter scale register, Address offset: 0x20C */
296 uint32_t RESERVED3; /*!< Reserved, 0x210 */
297 __IO uint32_t FFA1R; /*!< CAN filter FIFO assignment register, Address offset: 0x214 */
298 uint32_t RESERVED4; /*!< Reserved, 0x218 */
299 __IO uint32_t FA1R; /*!< CAN filter activation register, Address offset: 0x21C */
300 uint32_t RESERVED5[8]; /*!< Reserved, 0x220-0x23F */
301 CAN_FilterRegister_TypeDef sFilterRegister[28]; /*!< CAN Filter Register, Address offset: 0x240-0x31C */
302} CAN_TypeDef;
303
304/**
305 * @brief HDMI-CEC
306 */
307
308typedef struct
309{
310 __IO uint32_t CR; /*!< CEC control register, Address offset:0x00 */
311 __IO uint32_t CFGR; /*!< CEC configuration register, Address offset:0x04 */
312 __IO uint32_t TXDR; /*!< CEC Tx data register , Address offset:0x08 */
313 __IO uint32_t RXDR; /*!< CEC Rx Data Register, Address offset:0x0C */
314 __IO uint32_t ISR; /*!< CEC Interrupt and Status Register, Address offset:0x10 */
315 __IO uint32_t IER; /*!< CEC interrupt enable register, Address offset:0x14 */
316}CEC_TypeDef;
317
318/**
319 * @brief CRC calculation unit
320 */
321
322typedef struct
323{
324 __IO uint32_t DR; /*!< CRC Data register, Address offset: 0x00 */
325 __IO uint8_t IDR; /*!< CRC Independent data register, Address offset: 0x04 */
326 uint8_t RESERVED0; /*!< Reserved, 0x05 */
327 uint16_t RESERVED1; /*!< Reserved, 0x06 */
328 __IO uint32_t CR; /*!< CRC Control register, Address offset: 0x08 */
329 uint32_t RESERVED2; /*!< Reserved, 0x0C */
330 __IO uint32_t INIT; /*!< Initial CRC value register, Address offset: 0x10 */
331 __IO uint32_t POL; /*!< CRC polynomial register, Address offset: 0x14 */
332} CRC_TypeDef;
333
334/**
335 * @brief Digital to Analog Converter
336 */
337
338typedef struct
339{
340 __IO uint32_t CR; /*!< DAC control register, Address offset: 0x00 */
341 __IO uint32_t SWTRIGR; /*!< DAC software trigger register, Address offset: 0x04 */
342 __IO uint32_t DHR12R1; /*!< DAC channel1 12-bit right-aligned data holding register, Address offset: 0x08 */
343 __IO uint32_t DHR12L1; /*!< DAC channel1 12-bit left aligned data holding register, Address offset: 0x0C */
344 __IO uint32_t DHR8R1; /*!< DAC channel1 8-bit right aligned data holding register, Address offset: 0x10 */
345 __IO uint32_t DHR12R2; /*!< DAC channel2 12-bit right aligned data holding register, Address offset: 0x14 */
346 __IO uint32_t DHR12L2; /*!< DAC channel2 12-bit left aligned data holding register, Address offset: 0x18 */
347 __IO uint32_t DHR8R2; /*!< DAC channel2 8-bit right-aligned data holding register, Address offset: 0x1C */
348 __IO uint32_t DHR12RD; /*!< Dual DAC 12-bit right-aligned data holding register, Address offset: 0x20 */
349 __IO uint32_t DHR12LD; /*!< DUAL DAC 12-bit left aligned data holding register, Address offset: 0x24 */
350 __IO uint32_t DHR8RD; /*!< DUAL DAC 8-bit right aligned data holding register, Address offset: 0x28 */
351 __IO uint32_t DOR1; /*!< DAC channel1 data output register, Address offset: 0x2C */
352 __IO uint32_t DOR2; /*!< DAC channel2 data output register, Address offset: 0x30 */
353 __IO uint32_t SR; /*!< DAC status register, Address offset: 0x34 */
354} DAC_TypeDef;
355
356
357/**
358 * @brief Debug MCU
359 */
360
361typedef struct
362{
363 __IO uint32_t IDCODE; /*!< MCU device ID code, Address offset: 0x00 */
364 __IO uint32_t CR; /*!< Debug MCU configuration register, Address offset: 0x04 */
365 __IO uint32_t APB1FZ; /*!< Debug MCU APB1 freeze register, Address offset: 0x08 */
366 __IO uint32_t APB2FZ; /*!< Debug MCU APB2 freeze register, Address offset: 0x0C */
367}DBGMCU_TypeDef;
368
369/**
370 * @brief DCMI
371 */
372
373typedef struct
374{
375 __IO uint32_t CR; /*!< DCMI control register 1, Address offset: 0x00 */
376 __IO uint32_t SR; /*!< DCMI status register, Address offset: 0x04 */
377 __IO uint32_t RISR; /*!< DCMI raw interrupt status register, Address offset: 0x08 */
378 __IO uint32_t IER; /*!< DCMI interrupt enable register, Address offset: 0x0C */
379 __IO uint32_t MISR; /*!< DCMI masked interrupt status register, Address offset: 0x10 */
380 __IO uint32_t ICR; /*!< DCMI interrupt clear register, Address offset: 0x14 */
381 __IO uint32_t ESCR; /*!< DCMI embedded synchronization code register, Address offset: 0x18 */
382 __IO uint32_t ESUR; /*!< DCMI embedded synchronization unmask register, Address offset: 0x1C */
383 __IO uint32_t CWSTRTR; /*!< DCMI crop window start, Address offset: 0x20 */
384 __IO uint32_t CWSIZER; /*!< DCMI crop window size, Address offset: 0x24 */
385 __IO uint32_t DR; /*!< DCMI data register, Address offset: 0x28 */
386} DCMI_TypeDef;
387
388/**
389 * @brief DMA Controller
390 */
391
392typedef struct
393{
394 __IO uint32_t CR; /*!< DMA stream x configuration register */
395 __IO uint32_t NDTR; /*!< DMA stream x number of data register */
396 __IO uint32_t PAR; /*!< DMA stream x peripheral address register */
397 __IO uint32_t M0AR; /*!< DMA stream x memory 0 address register */
398 __IO uint32_t M1AR; /*!< DMA stream x memory 1 address register */
399 __IO uint32_t FCR; /*!< DMA stream x FIFO control register */
400} DMA_Stream_TypeDef;
401
402typedef struct
403{
404 __IO uint32_t LISR; /*!< DMA low interrupt status register, Address offset: 0x00 */
405 __IO uint32_t HISR; /*!< DMA high interrupt status register, Address offset: 0x04 */
406 __IO uint32_t LIFCR; /*!< DMA low interrupt flag clear register, Address offset: 0x08 */
407 __IO uint32_t HIFCR; /*!< DMA high interrupt flag clear register, Address offset: 0x0C */
408} DMA_TypeDef;
409
410/**
411 * @brief DMA2D Controller
412 */
413
414typedef struct
415{
416 __IO uint32_t CR; /*!< DMA2D Control Register, Address offset: 0x00 */
417 __IO uint32_t ISR; /*!< DMA2D Interrupt Status Register, Address offset: 0x04 */
418 __IO uint32_t IFCR; /*!< DMA2D Interrupt Flag Clear Register, Address offset: 0x08 */
419 __IO uint32_t FGMAR; /*!< DMA2D Foreground Memory Address Register, Address offset: 0x0C */
420 __IO uint32_t FGOR; /*!< DMA2D Foreground Offset Register, Address offset: 0x10 */
421 __IO uint32_t BGMAR; /*!< DMA2D Background Memory Address Register, Address offset: 0x14 */
422 __IO uint32_t BGOR; /*!< DMA2D Background Offset Register, Address offset: 0x18 */
423 __IO uint32_t FGPFCCR; /*!< DMA2D Foreground PFC Control Register, Address offset: 0x1C */
424 __IO uint32_t FGCOLR; /*!< DMA2D Foreground Color Register, Address offset: 0x20 */
425 __IO uint32_t BGPFCCR; /*!< DMA2D Background PFC Control Register, Address offset: 0x24 */
426 __IO uint32_t BGCOLR; /*!< DMA2D Background Color Register, Address offset: 0x28 */
427 __IO uint32_t FGCMAR; /*!< DMA2D Foreground CLUT Memory Address Register, Address offset: 0x2C */
428 __IO uint32_t BGCMAR; /*!< DMA2D Background CLUT Memory Address Register, Address offset: 0x30 */
429 __IO uint32_t OPFCCR; /*!< DMA2D Output PFC Control Register, Address offset: 0x34 */
430 __IO uint32_t OCOLR; /*!< DMA2D Output Color Register, Address offset: 0x38 */
431 __IO uint32_t OMAR; /*!< DMA2D Output Memory Address Register, Address offset: 0x3C */
432 __IO uint32_t OOR; /*!< DMA2D Output Offset Register, Address offset: 0x40 */
433 __IO uint32_t NLR; /*!< DMA2D Number of Line Register, Address offset: 0x44 */
434 __IO uint32_t LWR; /*!< DMA2D Line Watermark Register, Address offset: 0x48 */
435 __IO uint32_t AMTCR; /*!< DMA2D AHB Master Timer Configuration Register, Address offset: 0x4C */
436 uint32_t RESERVED[236]; /*!< Reserved, 0x50-0x3FF */
437 __IO uint32_t FGCLUT[256]; /*!< DMA2D Foreground CLUT, Address offset:400-7FF */
438 __IO uint32_t BGCLUT[256]; /*!< DMA2D Background CLUT, Address offset:800-BFF */
439} DMA2D_TypeDef;
440
441
442/**
443 * @brief Ethernet MAC
444 */
445
446typedef struct
447{
448 __IO uint32_t MACCR;
449 __IO uint32_t MACFFR;
450 __IO uint32_t MACHTHR;
451 __IO uint32_t MACHTLR;
452 __IO uint32_t MACMIIAR;
453 __IO uint32_t MACMIIDR;
454 __IO uint32_t MACFCR;
455 __IO uint32_t MACVLANTR; /* 8 */
456 uint32_t RESERVED0[2];
457 __IO uint32_t MACRWUFFR; /* 11 */
458 __IO uint32_t MACPMTCSR;
459 uint32_t RESERVED1;
460 __IO uint32_t MACDBGR;
461 __IO uint32_t MACSR; /* 15 */
462 __IO uint32_t MACIMR;
463 __IO uint32_t MACA0HR;
464 __IO uint32_t MACA0LR;
465 __IO uint32_t MACA1HR;
466 __IO uint32_t MACA1LR;
467 __IO uint32_t MACA2HR;
468 __IO uint32_t MACA2LR;
469 __IO uint32_t MACA3HR;
470 __IO uint32_t MACA3LR; /* 24 */
471 uint32_t RESERVED2[40];
472 __IO uint32_t MMCCR; /* 65 */
473 __IO uint32_t MMCRIR;
474 __IO uint32_t MMCTIR;
475 __IO uint32_t MMCRIMR;
476 __IO uint32_t MMCTIMR; /* 69 */
477 uint32_t RESERVED3[14];
478 __IO uint32_t MMCTGFSCCR; /* 84 */
479 __IO uint32_t MMCTGFMSCCR;
480 uint32_t RESERVED4[5];
481 __IO uint32_t MMCTGFCR;
482 uint32_t RESERVED5[10];
483 __IO uint32_t MMCRFCECR;
484 __IO uint32_t MMCRFAECR;
485 uint32_t RESERVED6[10];
486 __IO uint32_t MMCRGUFCR;
487 uint32_t RESERVED7[334];
488 __IO uint32_t PTPTSCR;
489 __IO uint32_t PTPSSIR;
490 __IO uint32_t PTPTSHR;
491 __IO uint32_t PTPTSLR;
492 __IO uint32_t PTPTSHUR;
493 __IO uint32_t PTPTSLUR;
494 __IO uint32_t PTPTSAR;
495 __IO uint32_t PTPTTHR;
496 __IO uint32_t PTPTTLR;
497 __IO uint32_t RESERVED8;
498 __IO uint32_t PTPTSSR;
499 uint32_t RESERVED9[565];
500 __IO uint32_t DMABMR;
501 __IO uint32_t DMATPDR;
502 __IO uint32_t DMARPDR;
503 __IO uint32_t DMARDLAR;
504 __IO uint32_t DMATDLAR;
505 __IO uint32_t DMASR;
506 __IO uint32_t DMAOMR;
507 __IO uint32_t DMAIER;
508 __IO uint32_t DMAMFBOCR;
509 __IO uint32_t DMARSWTR;
510 uint32_t RESERVED10[8];
511 __IO uint32_t DMACHTDR;
512 __IO uint32_t DMACHRDR;
513 __IO uint32_t DMACHTBAR;
514 __IO uint32_t DMACHRBAR;
515} ETH_TypeDef;
516
517/**
518 * @brief External Interrupt/Event Controller
519 */
520
521typedef struct
522{
523 __IO uint32_t IMR; /*!< EXTI Interrupt mask register, Address offset: 0x00 */
524 __IO uint32_t EMR; /*!< EXTI Event mask register, Address offset: 0x04 */
525 __IO uint32_t RTSR; /*!< EXTI Rising trigger selection register, Address offset: 0x08 */
526 __IO uint32_t FTSR; /*!< EXTI Falling trigger selection register, Address offset: 0x0C */
527 __IO uint32_t SWIER; /*!< EXTI Software interrupt event register, Address offset: 0x10 */
528 __IO uint32_t PR; /*!< EXTI Pending register, Address offset: 0x14 */
529} EXTI_TypeDef;
530
531/**
532 * @brief FLASH Registers
533 */
534
535typedef struct
536{
537 __IO uint32_t ACR; /*!< FLASH access control register, Address offset: 0x00 */
538 __IO uint32_t KEYR; /*!< FLASH key register, Address offset: 0x04 */
539 __IO uint32_t OPTKEYR; /*!< FLASH option key register, Address offset: 0x08 */
540 __IO uint32_t SR; /*!< FLASH status register, Address offset: 0x0C */
541 __IO uint32_t CR; /*!< FLASH control register, Address offset: 0x10 */
542 __IO uint32_t OPTCR; /*!< FLASH option control register , Address offset: 0x14 */
543 __IO uint32_t OPTCR1; /*!< FLASH option control register 1 , Address offset: 0x18 */
544} FLASH_TypeDef;
545
546
547
548/**
549 * @brief Flexible Memory Controller
550 */
551
552typedef struct
553{
554 __IO uint32_t BTCR[8]; /*!< NOR/PSRAM chip-select control register(BCR) and chip-select timing register(BTR), Address offset: 0x00-1C */
555} FMC_Bank1_TypeDef;
556
557/**
558 * @brief Flexible Memory Controller Bank1E
559 */
560
561typedef struct
562{
563 __IO uint32_t BWTR[7]; /*!< NOR/PSRAM write timing registers, Address offset: 0x104-0x11C */
564} FMC_Bank1E_TypeDef;
565
566/**
567 * @brief Flexible Memory Controller Bank3
568 */
569
570typedef struct
571{
572 __IO uint32_t PCR; /*!< NAND Flash control register, Address offset: 0x80 */
573 __IO uint32_t SR; /*!< NAND Flash FIFO status and interrupt register, Address offset: 0x84 */
574 __IO uint32_t PMEM; /*!< NAND Flash Common memory space timing register, Address offset: 0x88 */
575 __IO uint32_t PATT; /*!< NAND Flash Attribute memory space timing register, Address offset: 0x8C */
576 uint32_t RESERVED0; /*!< Reserved, 0x90 */
577 __IO uint32_t ECCR; /*!< NAND Flash ECC result registers, Address offset: 0x94 */
578} FMC_Bank3_TypeDef;
579
580/**
581 * @brief Flexible Memory Controller Bank5_6
582 */
583
584typedef struct
585{
586 __IO uint32_t SDCR[2]; /*!< SDRAM Control registers , Address offset: 0x140-0x144 */
587 __IO uint32_t SDTR[2]; /*!< SDRAM Timing registers , Address offset: 0x148-0x14C */
588 __IO uint32_t SDCMR; /*!< SDRAM Command Mode register, Address offset: 0x150 */
589 __IO uint32_t SDRTR; /*!< SDRAM Refresh Timer register, Address offset: 0x154 */
590 __IO uint32_t SDSR; /*!< SDRAM Status register, Address offset: 0x158 */
591} FMC_Bank5_6_TypeDef;
592
593
594/**
595 * @brief General Purpose I/O
596 */
597
598typedef struct
599{
600 __IO uint32_t MODER; /*!< GPIO port mode register, Address offset: 0x00 */
601 __IO uint32_t OTYPER; /*!< GPIO port output type register, Address offset: 0x04 */
602 __IO uint32_t OSPEEDR; /*!< GPIO port output speed register, Address offset: 0x08 */
603 __IO uint32_t PUPDR; /*!< GPIO port pull-up/pull-down register, Address offset: 0x0C */
604 __IO uint32_t IDR; /*!< GPIO port input data register, Address offset: 0x10 */
605 __IO uint32_t ODR; /*!< GPIO port output data register, Address offset: 0x14 */
606 __IO uint32_t BSRR; /*!< GPIO port bit set/reset register, Address offset: 0x18 */
607 __IO uint32_t LCKR; /*!< GPIO port configuration lock register, Address offset: 0x1C */
608 __IO uint32_t AFR[2]; /*!< GPIO alternate function registers, Address offset: 0x20-0x24 */
609} GPIO_TypeDef;
610
611/**
612 * @brief System configuration controller
613 */
614
615typedef struct
616{
617 __IO uint32_t MEMRMP; /*!< SYSCFG memory remap register, Address offset: 0x00 */
618 __IO uint32_t PMC; /*!< SYSCFG peripheral mode configuration register, Address offset: 0x04 */
619 __IO uint32_t EXTICR[4]; /*!< SYSCFG external interrupt configuration registers, Address offset: 0x08-0x14 */
620 uint32_t RESERVED[2]; /*!< Reserved, 0x18-0x1C */
621 __IO uint32_t CMPCR; /*!< SYSCFG Compensation cell control register, Address offset: 0x20 */
622} SYSCFG_TypeDef;
623
624/**
625 * @brief Inter-integrated Circuit Interface
626 */
627
628typedef struct
629{
630 __IO uint32_t CR1; /*!< I2C Control register 1, Address offset: 0x00 */
631 __IO uint32_t CR2; /*!< I2C Control register 2, Address offset: 0x04 */
632 __IO uint32_t OAR1; /*!< I2C Own address 1 register, Address offset: 0x08 */
633 __IO uint32_t OAR2; /*!< I2C Own address 2 register, Address offset: 0x0C */
634 __IO uint32_t TIMINGR; /*!< I2C Timing register, Address offset: 0x10 */
635 __IO uint32_t TIMEOUTR; /*!< I2C Timeout register, Address offset: 0x14 */
636 __IO uint32_t ISR; /*!< I2C Interrupt and status register, Address offset: 0x18 */
637 __IO uint32_t ICR; /*!< I2C Interrupt clear register, Address offset: 0x1C */
638 __IO uint32_t PECR; /*!< I2C PEC register, Address offset: 0x20 */
639 __IO uint32_t RXDR; /*!< I2C Receive data register, Address offset: 0x24 */
640 __IO uint32_t TXDR; /*!< I2C Transmit data register, Address offset: 0x28 */
641} I2C_TypeDef;
642
643/**
644 * @brief Independent WATCHDOG
645 */
646
647typedef struct
648{
649 __IO uint32_t KR; /*!< IWDG Key register, Address offset: 0x00 */
650 __IO uint32_t PR; /*!< IWDG Prescaler register, Address offset: 0x04 */
651 __IO uint32_t RLR; /*!< IWDG Reload register, Address offset: 0x08 */
652 __IO uint32_t SR; /*!< IWDG Status register, Address offset: 0x0C */
653 __IO uint32_t WINR; /*!< IWDG Window register, Address offset: 0x10 */
654} IWDG_TypeDef;
655
656
657/**
658 * @brief LCD-TFT Display Controller
659 */
660
661typedef struct
662{
663 uint32_t RESERVED0[2]; /*!< Reserved, 0x00-0x04 */
664 __IO uint32_t SSCR; /*!< LTDC Synchronization Size Configuration Register, Address offset: 0x08 */
665 __IO uint32_t BPCR; /*!< LTDC Back Porch Configuration Register, Address offset: 0x0C */
666 __IO uint32_t AWCR; /*!< LTDC Active Width Configuration Register, Address offset: 0x10 */
667 __IO uint32_t TWCR; /*!< LTDC Total Width Configuration Register, Address offset: 0x14 */
668 __IO uint32_t GCR; /*!< LTDC Global Control Register, Address offset: 0x18 */
669 uint32_t RESERVED1[2]; /*!< Reserved, 0x1C-0x20 */
670 __IO uint32_t SRCR; /*!< LTDC Shadow Reload Configuration Register, Address offset: 0x24 */
671 uint32_t RESERVED2[1]; /*!< Reserved, 0x28 */
672 __IO uint32_t BCCR; /*!< LTDC Background Color Configuration Register, Address offset: 0x2C */
673 uint32_t RESERVED3[1]; /*!< Reserved, 0x30 */
674 __IO uint32_t IER; /*!< LTDC Interrupt Enable Register, Address offset: 0x34 */
675 __IO uint32_t ISR; /*!< LTDC Interrupt Status Register, Address offset: 0x38 */
676 __IO uint32_t ICR; /*!< LTDC Interrupt Clear Register, Address offset: 0x3C */
677 __IO uint32_t LIPCR; /*!< LTDC Line Interrupt Position Configuration Register, Address offset: 0x40 */
678 __IO uint32_t CPSR; /*!< LTDC Current Position Status Register, Address offset: 0x44 */
679 __IO uint32_t CDSR; /*!< LTDC Current Display Status Register, Address offset: 0x48 */
680} LTDC_TypeDef;
681
682/**
683 * @brief LCD-TFT Display layer x Controller
684 */
685
686typedef struct
687{
688 __IO uint32_t CR; /*!< LTDC Layerx Control Register Address offset: 0x84 */
689 __IO uint32_t WHPCR; /*!< LTDC Layerx Window Horizontal Position Configuration Register Address offset: 0x88 */
690 __IO uint32_t WVPCR; /*!< LTDC Layerx Window Vertical Position Configuration Register Address offset: 0x8C */
691 __IO uint32_t CKCR; /*!< LTDC Layerx Color Keying Configuration Register Address offset: 0x90 */
692 __IO uint32_t PFCR; /*!< LTDC Layerx Pixel Format Configuration Register Address offset: 0x94 */
693 __IO uint32_t CACR; /*!< LTDC Layerx Constant Alpha Configuration Register Address offset: 0x98 */
694 __IO uint32_t DCCR; /*!< LTDC Layerx Default Color Configuration Register Address offset: 0x9C */
695 __IO uint32_t BFCR; /*!< LTDC Layerx Blending Factors Configuration Register Address offset: 0xA0 */
696 uint32_t RESERVED0[2]; /*!< Reserved */
697 __IO uint32_t CFBAR; /*!< LTDC Layerx Color Frame Buffer Address Register Address offset: 0xAC */
698 __IO uint32_t CFBLR; /*!< LTDC Layerx Color Frame Buffer Length Register Address offset: 0xB0 */
699 __IO uint32_t CFBLNR; /*!< LTDC Layerx ColorFrame Buffer Line Number Register Address offset: 0xB4 */
700 uint32_t RESERVED1[3]; /*!< Reserved */
701 __IO uint32_t CLUTWR; /*!< LTDC Layerx CLUT Write Register Address offset: 0x144 */
702
703} LTDC_Layer_TypeDef;
704
705/**
706 * @brief Power Control
707 */
708
709typedef struct
710{
711 __IO uint32_t CR1; /*!< PWR power control register 1, Address offset: 0x00 */
712 __IO uint32_t CSR1; /*!< PWR power control/status register 2, Address offset: 0x04 */
713 __IO uint32_t CR2; /*!< PWR power control register 2, Address offset: 0x08 */
714 __IO uint32_t CSR2; /*!< PWR power control/status register 2, Address offset: 0x0C */
715} PWR_TypeDef;
716
717
718/**
719 * @brief Reset and Clock Control
720 */
721
722typedef struct
723{
724 __IO uint32_t CR; /*!< RCC clock control register, Address offset: 0x00 */
725 __IO uint32_t PLLCFGR; /*!< RCC PLL configuration register, Address offset: 0x04 */
726 __IO uint32_t CFGR; /*!< RCC clock configuration register, Address offset: 0x08 */
727 __IO uint32_t CIR; /*!< RCC clock interrupt register, Address offset: 0x0C */
728 __IO uint32_t AHB1RSTR; /*!< RCC AHB1 peripheral reset register, Address offset: 0x10 */
729 __IO uint32_t AHB2RSTR; /*!< RCC AHB2 peripheral reset register, Address offset: 0x14 */
730 __IO uint32_t AHB3RSTR; /*!< RCC AHB3 peripheral reset register, Address offset: 0x18 */
731 uint32_t RESERVED0; /*!< Reserved, 0x1C */
732 __IO uint32_t APB1RSTR; /*!< RCC APB1 peripheral reset register, Address offset: 0x20 */
733 __IO uint32_t APB2RSTR; /*!< RCC APB2 peripheral reset register, Address offset: 0x24 */
734 uint32_t RESERVED1[2]; /*!< Reserved, 0x28-0x2C */
735 __IO uint32_t AHB1ENR; /*!< RCC AHB1 peripheral clock register, Address offset: 0x30 */
736 __IO uint32_t AHB2ENR; /*!< RCC AHB2 peripheral clock register, Address offset: 0x34 */
737 __IO uint32_t AHB3ENR; /*!< RCC AHB3 peripheral clock register, Address offset: 0x38 */
738 uint32_t RESERVED2; /*!< Reserved, 0x3C */
739 __IO uint32_t APB1ENR; /*!< RCC APB1 peripheral clock enable register, Address offset: 0x40 */
740 __IO uint32_t APB2ENR; /*!< RCC APB2 peripheral clock enable register, Address offset: 0x44 */
741 uint32_t RESERVED3[2]; /*!< Reserved, 0x48-0x4C */
742 __IO uint32_t AHB1LPENR; /*!< RCC AHB1 peripheral clock enable in low power mode register, Address offset: 0x50 */
743 __IO uint32_t AHB2LPENR; /*!< RCC AHB2 peripheral clock enable in low power mode register, Address offset: 0x54 */
744 __IO uint32_t AHB3LPENR; /*!< RCC AHB3 peripheral clock enable in low power mode register, Address offset: 0x58 */
745 uint32_t RESERVED4; /*!< Reserved, 0x5C */
746 __IO uint32_t APB1LPENR; /*!< RCC APB1 peripheral clock enable in low power mode register, Address offset: 0x60 */
747 __IO uint32_t APB2LPENR; /*!< RCC APB2 peripheral clock enable in low power mode register, Address offset: 0x64 */
748 uint32_t RESERVED5[2]; /*!< Reserved, 0x68-0x6C */
749 __IO uint32_t BDCR; /*!< RCC Backup domain control register, Address offset: 0x70 */
750 __IO uint32_t CSR; /*!< RCC clock control & status register, Address offset: 0x74 */
751 uint32_t RESERVED6[2]; /*!< Reserved, 0x78-0x7C */
752 __IO uint32_t SSCGR; /*!< RCC spread spectrum clock generation register, Address offset: 0x80 */
753 __IO uint32_t PLLI2SCFGR; /*!< RCC PLLI2S configuration register, Address offset: 0x84 */
754 __IO uint32_t PLLSAICFGR; /*!< RCC PLLSAI configuration register, Address offset: 0x88 */
755 __IO uint32_t DCKCFGR1; /*!< RCC Dedicated Clocks configuration register1, Address offset: 0x8C */
756 __IO uint32_t DCKCFGR2; /*!< RCC Dedicated Clocks configuration register 2, Address offset: 0x90 */
757
758} RCC_TypeDef;
759
760/**
761 * @brief Real-Time Clock
762 */
763
764typedef struct
765{
766 __IO uint32_t TR; /*!< RTC time register, Address offset: 0x00 */
767 __IO uint32_t DR; /*!< RTC date register, Address offset: 0x04 */
768 __IO uint32_t CR; /*!< RTC control register, Address offset: 0x08 */
769 __IO uint32_t ISR; /*!< RTC initialization and status register, Address offset: 0x0C */
770 __IO uint32_t PRER; /*!< RTC prescaler register, Address offset: 0x10 */
771 __IO uint32_t WUTR; /*!< RTC wakeup timer register, Address offset: 0x14 */
772 uint32_t reserved; /*!< Reserved */
773 __IO uint32_t ALRMAR; /*!< RTC alarm A register, Address offset: 0x1C */
774 __IO uint32_t ALRMBR; /*!< RTC alarm B register, Address offset: 0x20 */
775 __IO uint32_t WPR; /*!< RTC write protection register, Address offset: 0x24 */
776 __IO uint32_t SSR; /*!< RTC sub second register, Address offset: 0x28 */
777 __IO uint32_t SHIFTR; /*!< RTC shift control register, Address offset: 0x2C */
778 __IO uint32_t TSTR; /*!< RTC time stamp time register, Address offset: 0x30 */
779 __IO uint32_t TSDR; /*!< RTC time stamp date register, Address offset: 0x34 */
780 __IO uint32_t TSSSR; /*!< RTC time-stamp sub second register, Address offset: 0x38 */
781 __IO uint32_t CALR; /*!< RTC calibration register, Address offset: 0x3C */
782 __IO uint32_t TAMPCR; /*!< RTC tamper configuration register, Address offset: 0x40 */
783 __IO uint32_t ALRMASSR; /*!< RTC alarm A sub second register, Address offset: 0x44 */
784 __IO uint32_t ALRMBSSR; /*!< RTC alarm B sub second register, Address offset: 0x48 */
785 __IO uint32_t OR; /*!< RTC option register, Address offset: 0x4C */
786 __IO uint32_t BKP0R; /*!< RTC backup register 0, Address offset: 0x50 */
787 __IO uint32_t BKP1R; /*!< RTC backup register 1, Address offset: 0x54 */
788 __IO uint32_t BKP2R; /*!< RTC backup register 2, Address offset: 0x58 */
789 __IO uint32_t BKP3R; /*!< RTC backup register 3, Address offset: 0x5C */
790 __IO uint32_t BKP4R; /*!< RTC backup register 4, Address offset: 0x60 */
791 __IO uint32_t BKP5R; /*!< RTC backup register 5, Address offset: 0x64 */
792 __IO uint32_t BKP6R; /*!< RTC backup register 6, Address offset: 0x68 */
793 __IO uint32_t BKP7R; /*!< RTC backup register 7, Address offset: 0x6C */
794 __IO uint32_t BKP8R; /*!< RTC backup register 8, Address offset: 0x70 */
795 __IO uint32_t BKP9R; /*!< RTC backup register 9, Address offset: 0x74 */
796 __IO uint32_t BKP10R; /*!< RTC backup register 10, Address offset: 0x78 */
797 __IO uint32_t BKP11R; /*!< RTC backup register 11, Address offset: 0x7C */
798 __IO uint32_t BKP12R; /*!< RTC backup register 12, Address offset: 0x80 */
799 __IO uint32_t BKP13R; /*!< RTC backup register 13, Address offset: 0x84 */
800 __IO uint32_t BKP14R; /*!< RTC backup register 14, Address offset: 0x88 */
801 __IO uint32_t BKP15R; /*!< RTC backup register 15, Address offset: 0x8C */
802 __IO uint32_t BKP16R; /*!< RTC backup register 16, Address offset: 0x90 */
803 __IO uint32_t BKP17R; /*!< RTC backup register 17, Address offset: 0x94 */
804 __IO uint32_t BKP18R; /*!< RTC backup register 18, Address offset: 0x98 */
805 __IO uint32_t BKP19R; /*!< RTC backup register 19, Address offset: 0x9C */
806 __IO uint32_t BKP20R; /*!< RTC backup register 20, Address offset: 0xA0 */
807 __IO uint32_t BKP21R; /*!< RTC backup register 21, Address offset: 0xA4 */
808 __IO uint32_t BKP22R; /*!< RTC backup register 22, Address offset: 0xA8 */
809 __IO uint32_t BKP23R; /*!< RTC backup register 23, Address offset: 0xAC */
810 __IO uint32_t BKP24R; /*!< RTC backup register 24, Address offset: 0xB0 */
811 __IO uint32_t BKP25R; /*!< RTC backup register 25, Address offset: 0xB4 */
812 __IO uint32_t BKP26R; /*!< RTC backup register 26, Address offset: 0xB8 */
813 __IO uint32_t BKP27R; /*!< RTC backup register 27, Address offset: 0xBC */
814 __IO uint32_t BKP28R; /*!< RTC backup register 28, Address offset: 0xC0 */
815 __IO uint32_t BKP29R; /*!< RTC backup register 29, Address offset: 0xC4 */
816 __IO uint32_t BKP30R; /*!< RTC backup register 30, Address offset: 0xC8 */
817 __IO uint32_t BKP31R; /*!< RTC backup register 31, Address offset: 0xCC */
818} RTC_TypeDef;
819
820
821/**
822 * @brief Serial Audio Interface
823 */
824
825typedef struct
826{
827 __IO uint32_t GCR; /*!< SAI global configuration register, Address offset: 0x00 */
828} SAI_TypeDef;
829
830typedef struct
831{
832 __IO uint32_t CR1; /*!< SAI block x configuration register 1, Address offset: 0x04 */
833 __IO uint32_t CR2; /*!< SAI block x configuration register 2, Address offset: 0x08 */
834 __IO uint32_t FRCR; /*!< SAI block x frame configuration register, Address offset: 0x0C */
835 __IO uint32_t SLOTR; /*!< SAI block x slot register, Address offset: 0x10 */
836 __IO uint32_t IMR; /*!< SAI block x interrupt mask register, Address offset: 0x14 */
837 __IO uint32_t SR; /*!< SAI block x status register, Address offset: 0x18 */
838 __IO uint32_t CLRFR; /*!< SAI block x clear flag register, Address offset: 0x1C */
839 __IO uint32_t DR; /*!< SAI block x data register, Address offset: 0x20 */
840} SAI_Block_TypeDef;
841
842/**
843 * @brief SPDIF-RX Interface
844 */
845
846typedef struct
847{
848 __IO uint32_t CR; /*!< Control register, Address offset: 0x00 */
849 __IO uint32_t IMR; /*!< Interrupt mask register, Address offset: 0x04 */
850 __IO uint32_t SR; /*!< Status register, Address offset: 0x08 */
851 __IO uint32_t IFCR; /*!< Interrupt Flag Clear register, Address offset: 0x0C */
852 __IO uint32_t DR; /*!< Data input register, Address offset: 0x10 */
853 __IO uint32_t CSR; /*!< Channel Status register, Address offset: 0x14 */
854 __IO uint32_t DIR; /*!< Debug Information register, Address offset: 0x18 */
855} SPDIFRX_TypeDef;
856
857/**
858 * @brief SD host Interface
859 */
860
861typedef struct
862{
863 __IO uint32_t POWER; /*!< SDMMC power control register, Address offset: 0x00 */
864 __IO uint32_t CLKCR; /*!< SDMMClock control register, Address offset: 0x04 */
865 __IO uint32_t ARG; /*!< SDMMC argument register, Address offset: 0x08 */
866 __IO uint32_t CMD; /*!< SDMMC command register, Address offset: 0x0C */
867 __I uint32_t RESPCMD; /*!< SDMMC command response register, Address offset: 0x10 */
868 __I uint32_t RESP1; /*!< SDMMC response 1 register, Address offset: 0x14 */
869 __I uint32_t RESP2; /*!< SDMMC response 2 register, Address offset: 0x18 */
870 __I uint32_t RESP3; /*!< SDMMC response 3 register, Address offset: 0x1C */
871 __I uint32_t RESP4; /*!< SDMMC response 4 register, Address offset: 0x20 */
872 __IO uint32_t DTIMER; /*!< SDMMC data timer register, Address offset: 0x24 */
873 __IO uint32_t DLEN; /*!< SDMMC data length register, Address offset: 0x28 */
874 __IO uint32_t DCTRL; /*!< SDMMC data control register, Address offset: 0x2C */
875 __I uint32_t DCOUNT; /*!< SDMMC data counter register, Address offset: 0x30 */
876 __I uint32_t STA; /*!< SDMMC status register, Address offset: 0x34 */
877 __IO uint32_t ICR; /*!< SDMMC interrupt clear register, Address offset: 0x38 */
878 __IO uint32_t MASK; /*!< SDMMC mask register, Address offset: 0x3C */
879 uint32_t RESERVED0[2]; /*!< Reserved, 0x40-0x44 */
880 __I uint32_t FIFOCNT; /*!< SDMMC FIFO counter register, Address offset: 0x48 */
881 uint32_t RESERVED1[13]; /*!< Reserved, 0x4C-0x7C */
882 __IO uint32_t FIFO; /*!< SDMMC data FIFO register, Address offset: 0x80 */
883} SDMMC_TypeDef;
884
885/**
886 * @brief Serial Peripheral Interface
887 */
888
889typedef struct
890{
891 __IO uint32_t CR1; /*!< SPI control register 1 (not used in I2S mode), Address offset: 0x00 */
892 __IO uint32_t CR2; /*!< SPI control register 2, Address offset: 0x04 */
893 __IO uint32_t SR; /*!< SPI status register, Address offset: 0x08 */
894 __IO uint32_t DR; /*!< SPI data register, Address offset: 0x0C */
895 __IO uint32_t CRCPR; /*!< SPI CRC polynomial register (not used in I2S mode), Address offset: 0x10 */
896 __IO uint32_t RXCRCR; /*!< SPI RX CRC register (not used in I2S mode), Address offset: 0x14 */
897 __IO uint32_t TXCRCR; /*!< SPI TX CRC register (not used in I2S mode), Address offset: 0x18 */
898 __IO uint32_t I2SCFGR; /*!< SPI_I2S configuration register, Address offset: 0x1C */
899 __IO uint32_t I2SPR; /*!< SPI_I2S prescaler register, Address offset: 0x20 */
900} SPI_TypeDef;
901
902/**
903 * @brief QUAD Serial Peripheral Interface
904 */
905
906typedef struct
907{
908 __IO uint32_t CR; /*!< QUADSPI Control register, Address offset: 0x00 */
909 __IO uint32_t DCR; /*!< QUADSPI Device Configuration register, Address offset: 0x04 */
910 __IO uint32_t SR; /*!< QUADSPI Status register, Address offset: 0x08 */
911 __IO uint32_t FCR; /*!< QUADSPI Flag Clear register, Address offset: 0x0C */
912 __IO uint32_t DLR; /*!< QUADSPI Data Length register, Address offset: 0x10 */
913 __IO uint32_t CCR; /*!< QUADSPI Communication Configuration register, Address offset: 0x14 */
914 __IO uint32_t AR; /*!< QUADSPI Address register, Address offset: 0x18 */
915 __IO uint32_t ABR; /*!< QUADSPI Alternate Bytes register, Address offset: 0x1C */
916 __IO uint32_t DR; /*!< QUADSPI Data register, Address offset: 0x20 */
917 __IO uint32_t PSMKR; /*!< QUADSPI Polling Status Mask register, Address offset: 0x24 */
918 __IO uint32_t PSMAR; /*!< QUADSPI Polling Status Match register, Address offset: 0x28 */
919 __IO uint32_t PIR; /*!< QUADSPI Polling Interval register, Address offset: 0x2C */
920 __IO uint32_t LPTR; /*!< QUADSPI Low Power Timeout register, Address offset: 0x30 */
921} QUADSPI_TypeDef;
922
923/**
924 * @brief TIM
925 */
926
927typedef struct
928{
929 __IO uint32_t CR1; /*!< TIM control register 1, Address offset: 0x00 */
930 __IO uint32_t CR2; /*!< TIM control register 2, Address offset: 0x04 */
931 __IO uint32_t SMCR; /*!< TIM slave mode control register, Address offset: 0x08 */
932 __IO uint32_t DIER; /*!< TIM DMA/interrupt enable register, Address offset: 0x0C */
933 __IO uint32_t SR; /*!< TIM status register, Address offset: 0x10 */
934 __IO uint32_t EGR; /*!< TIM event generation register, Address offset: 0x14 */
935 __IO uint32_t CCMR1; /*!< TIM capture/compare mode register 1, Address offset: 0x18 */
936 __IO uint32_t CCMR2; /*!< TIM capture/compare mode register 2, Address offset: 0x1C */
937 __IO uint32_t CCER; /*!< TIM capture/compare enable register, Address offset: 0x20 */
938 __IO uint32_t CNT; /*!< TIM counter register, Address offset: 0x24 */
939 __IO uint32_t PSC; /*!< TIM prescaler, Address offset: 0x28 */
940 __IO uint32_t ARR; /*!< TIM auto-reload register, Address offset: 0x2C */
941 __IO uint32_t RCR; /*!< TIM repetition counter register, Address offset: 0x30 */
942 __IO uint32_t CCR1; /*!< TIM capture/compare register 1, Address offset: 0x34 */
943 __IO uint32_t CCR2; /*!< TIM capture/compare register 2, Address offset: 0x38 */
944 __IO uint32_t CCR3; /*!< TIM capture/compare register 3, Address offset: 0x3C */
945 __IO uint32_t CCR4; /*!< TIM capture/compare register 4, Address offset: 0x40 */
946 __IO uint32_t BDTR; /*!< TIM break and dead-time register, Address offset: 0x44 */
947 __IO uint32_t DCR; /*!< TIM DMA control register, Address offset: 0x48 */
948 __IO uint32_t DMAR; /*!< TIM DMA address for full transfer, Address offset: 0x4C */
949 __IO uint32_t OR; /*!< TIM option register, Address offset: 0x50 */
950 __IO uint32_t CCMR3; /*!< TIM capture/compare mode register 3, Address offset: 0x54 */
951 __IO uint32_t CCR5; /*!< TIM capture/compare mode register5, Address offset: 0x58 */
952 __IO uint32_t CCR6; /*!< TIM capture/compare mode register6, Address offset: 0x5C */
953
954} TIM_TypeDef;
955
956/**
957 * @brief LPTIMIMER
958 */
959typedef struct
960{
961 __IO uint32_t ISR; /*!< LPTIM Interrupt and Status register, Address offset: 0x00 */
962 __IO uint32_t ICR; /*!< LPTIM Interrupt Clear register, Address offset: 0x04 */
963 __IO uint32_t IER; /*!< LPTIM Interrupt Enable register, Address offset: 0x08 */
964 __IO uint32_t CFGR; /*!< LPTIM Configuration register, Address offset: 0x0C */
965 __IO uint32_t CR; /*!< LPTIM Control register, Address offset: 0x10 */
966 __IO uint32_t CMP; /*!< LPTIM Compare register, Address offset: 0x14 */
967 __IO uint32_t ARR; /*!< LPTIM Autoreload register, Address offset: 0x18 */
968 __IO uint32_t CNT; /*!< LPTIM Counter register, Address offset: 0x1C */
969} LPTIM_TypeDef;
970
971
972/**
973 * @brief Universal Synchronous Asynchronous Receiver Transmitter
974 */
975
976typedef struct
977{
978 __IO uint32_t CR1; /*!< USART Control register 1, Address offset: 0x00 */
979 __IO uint32_t CR2; /*!< USART Control register 2, Address offset: 0x04 */
980 __IO uint32_t CR3; /*!< USART Control register 3, Address offset: 0x08 */
981 __IO uint32_t BRR; /*!< USART Baud rate register, Address offset: 0x0C */
982 __IO uint32_t GTPR; /*!< USART Guard time and prescaler register, Address offset: 0x10 */
983 __IO uint32_t RTOR; /*!< USART Receiver Time Out register, Address offset: 0x14 */
984 __IO uint32_t RQR; /*!< USART Request register, Address offset: 0x18 */
985 __IO uint32_t ISR; /*!< USART Interrupt and status register, Address offset: 0x1C */
986 __IO uint32_t ICR; /*!< USART Interrupt flag Clear register, Address offset: 0x20 */
987 __IO uint32_t RDR; /*!< USART Receive Data register, Address offset: 0x24 */
988 __IO uint32_t TDR; /*!< USART Transmit Data register, Address offset: 0x28 */
989} USART_TypeDef;
990
991
992/**
993 * @brief Window WATCHDOG
994 */
995
996typedef struct
997{
998 __IO uint32_t CR; /*!< WWDG Control register, Address offset: 0x00 */
999 __IO uint32_t CFR; /*!< WWDG Configuration register, Address offset: 0x04 */
1000 __IO uint32_t SR; /*!< WWDG Status register, Address offset: 0x08 */
1001} WWDG_TypeDef;
1002
1003/**
1004 * @brief Crypto Processor
1005 */
1006
1007typedef struct
1008{
1009 __IO uint32_t CR; /*!< CRYP control register, Address offset: 0x00 */
1010 __IO uint32_t SR; /*!< CRYP status register, Address offset: 0x04 */
1011 __IO uint32_t DR; /*!< CRYP data input register, Address offset: 0x08 */
1012 __IO uint32_t DOUT; /*!< CRYP data output register, Address offset: 0x0C */
1013 __IO uint32_t DMACR; /*!< CRYP DMA control register, Address offset: 0x10 */
1014 __IO uint32_t IMSCR; /*!< CRYP interrupt mask set/clear register, Address offset: 0x14 */
1015 __IO uint32_t RISR; /*!< CRYP raw interrupt status register, Address offset: 0x18 */
1016 __IO uint32_t MISR; /*!< CRYP masked interrupt status register, Address offset: 0x1C */
1017 __IO uint32_t K0LR; /*!< CRYP key left register 0, Address offset: 0x20 */
1018 __IO uint32_t K0RR; /*!< CRYP key right register 0, Address offset: 0x24 */
1019 __IO uint32_t K1LR; /*!< CRYP key left register 1, Address offset: 0x28 */
1020 __IO uint32_t K1RR; /*!< CRYP key right register 1, Address offset: 0x2C */
1021 __IO uint32_t K2LR; /*!< CRYP key left register 2, Address offset: 0x30 */
1022 __IO uint32_t K2RR; /*!< CRYP key right register 2, Address offset: 0x34 */
1023 __IO uint32_t K3LR; /*!< CRYP key left register 3, Address offset: 0x38 */
1024 __IO uint32_t K3RR; /*!< CRYP key right register 3, Address offset: 0x3C */
1025 __IO uint32_t IV0LR; /*!< CRYP initialization vector left-word register 0, Address offset: 0x40 */
1026 __IO uint32_t IV0RR; /*!< CRYP initialization vector right-word register 0, Address offset: 0x44 */
1027 __IO uint32_t IV1LR; /*!< CRYP initialization vector left-word register 1, Address offset: 0x48 */
1028 __IO uint32_t IV1RR; /*!< CRYP initialization vector right-word register 1, Address offset: 0x4C */
1029 __IO uint32_t CSGCMCCM0R; /*!< CRYP GCM/GMAC or CCM/CMAC context swap register 0, Address offset: 0x50 */
1030 __IO uint32_t CSGCMCCM1R; /*!< CRYP GCM/GMAC or CCM/CMAC context swap register 1, Address offset: 0x54 */
1031 __IO uint32_t CSGCMCCM2R; /*!< CRYP GCM/GMAC or CCM/CMAC context swap register 2, Address offset: 0x58 */
1032 __IO uint32_t CSGCMCCM3R; /*!< CRYP GCM/GMAC or CCM/CMAC context swap register 3, Address offset: 0x5C */
1033 __IO uint32_t CSGCMCCM4R; /*!< CRYP GCM/GMAC or CCM/CMAC context swap register 4, Address offset: 0x60 */
1034 __IO uint32_t CSGCMCCM5R; /*!< CRYP GCM/GMAC or CCM/CMAC context swap register 5, Address offset: 0x64 */
1035 __IO uint32_t CSGCMCCM6R; /*!< CRYP GCM/GMAC or CCM/CMAC context swap register 6, Address offset: 0x68 */
1036 __IO uint32_t CSGCMCCM7R; /*!< CRYP GCM/GMAC or CCM/CMAC context swap register 7, Address offset: 0x6C */
1037 __IO uint32_t CSGCM0R; /*!< CRYP GCM/GMAC context swap register 0, Address offset: 0x70 */
1038 __IO uint32_t CSGCM1R; /*!< CRYP GCM/GMAC context swap register 1, Address offset: 0x74 */
1039 __IO uint32_t CSGCM2R; /*!< CRYP GCM/GMAC context swap register 2, Address offset: 0x78 */
1040 __IO uint32_t CSGCM3R; /*!< CRYP GCM/GMAC context swap register 3, Address offset: 0x7C */
1041 __IO uint32_t CSGCM4R; /*!< CRYP GCM/GMAC context swap register 4, Address offset: 0x80 */
1042 __IO uint32_t CSGCM5R; /*!< CRYP GCM/GMAC context swap register 5, Address offset: 0x84 */
1043 __IO uint32_t CSGCM6R; /*!< CRYP GCM/GMAC context swap register 6, Address offset: 0x88 */
1044 __IO uint32_t CSGCM7R; /*!< CRYP GCM/GMAC context swap register 7, Address offset: 0x8C */
1045} CRYP_TypeDef;
1046
1047/**
1048 * @brief HASH
1049 */
1050
1051typedef struct
1052{
1053 __IO uint32_t CR; /*!< HASH control register, Address offset: 0x00 */
1054 __IO uint32_t DIN; /*!< HASH data input register, Address offset: 0x04 */
1055 __IO uint32_t STR; /*!< HASH start register, Address offset: 0x08 */
1056 __IO uint32_t HR[5]; /*!< HASH digest registers, Address offset: 0x0C-0x1C */
1057 __IO uint32_t IMR; /*!< HASH interrupt enable register, Address offset: 0x20 */
1058 __IO uint32_t SR; /*!< HASH status register, Address offset: 0x24 */
1059 uint32_t RESERVED[52]; /*!< Reserved, 0x28-0xF4 */
1060 __IO uint32_t CSR[54]; /*!< HASH context swap registers, Address offset: 0x0F8-0x1CC */
1061} HASH_TypeDef;
1062
1063/**
1064 * @brief HASH_DIGEST
1065 */
1066
1067typedef struct
1068{
1069 __IO uint32_t HR[8]; /*!< HASH digest registers, Address offset: 0x310-0x32C */
1070} HASH_DIGEST_TypeDef;
1071
1072/**
1073 * @brief RNG
1074 */
1075
1076typedef struct
1077{
1078 __IO uint32_t CR; /*!< RNG control register, Address offset: 0x00 */
1079 __IO uint32_t SR; /*!< RNG status register, Address offset: 0x04 */
1080 __IO uint32_t DR; /*!< RNG data register, Address offset: 0x08 */
1081} RNG_TypeDef;
1082
1083/**
1084 * @}
1085 */
1086
1087/**
1088 * @brief USB_OTG_Core_Registers
1089 */
1090typedef struct
1091{
1092 __IO uint32_t GOTGCTL; /*!< USB_OTG Control and Status Register 000h */
1093 __IO uint32_t GOTGINT; /*!< USB_OTG Interrupt Register 004h */
1094 __IO uint32_t GAHBCFG; /*!< Core AHB Configuration Register 008h */
1095 __IO uint32_t GUSBCFG; /*!< Core USB Configuration Register 00Ch */
1096 __IO uint32_t GRSTCTL; /*!< Core Reset Register 010h */
1097 __IO uint32_t GINTSTS; /*!< Core Interrupt Register 014h */
1098 __IO uint32_t GINTMSK; /*!< Core Interrupt Mask Register 018h */
1099 __IO uint32_t GRXSTSR; /*!< Receive Sts Q Read Register 01Ch */
1100 __IO uint32_t GRXSTSP; /*!< Receive Sts Q Read & POP Register 020h */
1101 __IO uint32_t GRXFSIZ; /*!< Receive FIFO Size Register 024h */
1102 __IO uint32_t DIEPTXF0_HNPTXFSIZ; /*!< EP0 / Non Periodic Tx FIFO Size Register 028h */
1103 __IO uint32_t HNPTXSTS; /*!< Non Periodic Tx FIFO/Queue Sts reg 02Ch */
1104 uint32_t Reserved30[2]; /*!< Reserved 030h */
1105 __IO uint32_t GCCFG; /*!< General Purpose IO Register 038h */
1106 __IO uint32_t CID; /*!< User ID Register 03Ch */
1107 uint32_t Reserved5[3]; /*!< Reserved 040h-048h */
1108 __IO uint32_t GHWCFG3; /*!< User HW config3 04Ch */
1109 uint32_t Reserved6; /*!< Reserved 050h */
1110 __IO uint32_t GLPMCFG; /*!< LPM Register 054h */
1111 __IO uint32_t GPWRDN; /*!< Power Down Register 058h */
1112 __IO uint32_t GDFIFOCFG; /*!< DFIFO Software Config Register 05Ch */
1113 __IO uint32_t GADPCTL; /*!< ADP Timer, Control and Status Register 60Ch */
1114 uint32_t Reserved43[39]; /*!< Reserved 058h-0FFh */
1115 __IO uint32_t HPTXFSIZ; /*!< Host Periodic Tx FIFO Size Reg 100h */
1116 __IO uint32_t DIEPTXF[0x0F]; /*!< dev Periodic Transmit FIFO */
1117} USB_OTG_GlobalTypeDef;
1118
1119
1120/**
1121 * @brief USB_OTG_device_Registers
1122 */
1123typedef struct
1124{
1125 __IO uint32_t DCFG; /*!< dev Configuration Register 800h */
1126 __IO uint32_t DCTL; /*!< dev Control Register 804h */
1127 __IO uint32_t DSTS; /*!< dev Status Register (RO) 808h */
1128 uint32_t Reserved0C; /*!< Reserved 80Ch */
1129 __IO uint32_t DIEPMSK; /*!< dev IN Endpoint Mask 810h */
1130 __IO uint32_t DOEPMSK; /*!< dev OUT Endpoint Mask 814h */
1131 __IO uint32_t DAINT; /*!< dev All Endpoints Itr Reg 818h */
1132 __IO uint32_t DAINTMSK; /*!< dev All Endpoints Itr Mask 81Ch */
1133 uint32_t Reserved20; /*!< Reserved 820h */
1134 uint32_t Reserved9; /*!< Reserved 824h */
1135 __IO uint32_t DVBUSDIS; /*!< dev VBUS discharge Register 828h */
1136 __IO uint32_t DVBUSPULSE; /*!< dev VBUS Pulse Register 82Ch */
1137 __IO uint32_t DTHRCTL; /*!< dev threshold 830h */
1138 __IO uint32_t DIEPEMPMSK; /*!< dev empty msk 834h */
1139 __IO uint32_t DEACHINT; /*!< dedicated EP interrupt 838h */
1140 __IO uint32_t DEACHMSK; /*!< dedicated EP msk 83Ch */
1141 uint32_t Reserved40; /*!< dedicated EP mask 840h */
1142 __IO uint32_t DINEP1MSK; /*!< dedicated EP mask 844h */
1143 uint32_t Reserved44[15]; /*!< Reserved 844-87Ch */
1144 __IO uint32_t DOUTEP1MSK; /*!< dedicated EP msk 884h */
1145} USB_OTG_DeviceTypeDef;
1146
1147
1148/**
1149 * @brief USB_OTG_IN_Endpoint-Specific_Register
1150 */
1151typedef struct
1152{
1153 __IO uint32_t DIEPCTL; /*!< dev IN Endpoint Control Reg 900h + (ep_num * 20h) + 00h */
1154 uint32_t Reserved04; /*!< Reserved 900h + (ep_num * 20h) + 04h */
1155 __IO uint32_t DIEPINT; /*!< dev IN Endpoint Itr Reg 900h + (ep_num * 20h) + 08h */
1156 uint32_t Reserved0C; /*!< Reserved 900h + (ep_num * 20h) + 0Ch */
1157 __IO uint32_t DIEPTSIZ; /*!< IN Endpoint Txfer Size 900h + (ep_num * 20h) + 10h */
1158 __IO uint32_t DIEPDMA; /*!< IN Endpoint DMA Address Reg 900h + (ep_num * 20h) + 14h */
1159 __IO uint32_t DTXFSTS; /*!< IN Endpoint Tx FIFO Status Reg 900h + (ep_num * 20h) + 18h */
1160 uint32_t Reserved18; /*!< Reserved 900h+(ep_num*20h)+1Ch-900h+ (ep_num * 20h) + 1Ch */
1161} USB_OTG_INEndpointTypeDef;
1162
1163
1164/**
1165 * @brief USB_OTG_OUT_Endpoint-Specific_Registers
1166 */
1167typedef struct
1168{
1169 __IO uint32_t DOEPCTL; /*!< dev OUT Endpoint Control Reg B00h + (ep_num * 20h) + 00h */
1170 uint32_t Reserved04; /*!< Reserved B00h + (ep_num * 20h) + 04h */
1171 __IO uint32_t DOEPINT; /*!< dev OUT Endpoint Itr Reg B00h + (ep_num * 20h) + 08h */
1172 uint32_t Reserved0C; /*!< Reserved B00h + (ep_num * 20h) + 0Ch */
1173 __IO uint32_t DOEPTSIZ; /*!< dev OUT Endpoint Txfer Size B00h + (ep_num * 20h) + 10h */
1174 __IO uint32_t DOEPDMA; /*!< dev OUT Endpoint DMA Address B00h + (ep_num * 20h) + 14h */
1175 uint32_t Reserved18[2]; /*!< Reserved B00h + (ep_num * 20h) + 18h - B00h + (ep_num * 20h) + 1Ch */
1176} USB_OTG_OUTEndpointTypeDef;
1177
1178
1179/**
1180 * @brief USB_OTG_Host_Mode_Register_Structures
1181 */
1182typedef struct
1183{
1184 __IO uint32_t HCFG; /*!< Host Configuration Register 400h */
1185 __IO uint32_t HFIR; /*!< Host Frame Interval Register 404h */
1186 __IO uint32_t HFNUM; /*!< Host Frame Nbr/Frame Remaining 408h */
1187 uint32_t Reserved40C; /*!< Reserved 40Ch */
1188 __IO uint32_t HPTXSTS; /*!< Host Periodic Tx FIFO/ Queue Status 410h */
1189 __IO uint32_t HAINT; /*!< Host All Channels Interrupt Register 414h */
1190 __IO uint32_t HAINTMSK; /*!< Host All Channels Interrupt Mask 418h */
1191} USB_OTG_HostTypeDef;
1192
1193/**
1194 * @brief USB_OTG_Host_Channel_Specific_Registers
1195 */
1196typedef struct
1197{
1198 __IO uint32_t HCCHAR; /*!< Host Channel Characteristics Register 500h */
1199 __IO uint32_t HCSPLT; /*!< Host Channel Split Control Register 504h */
1200 __IO uint32_t HCINT; /*!< Host Channel Interrupt Register 508h */
1201 __IO uint32_t HCINTMSK; /*!< Host Channel Interrupt Mask Register 50Ch */
1202 __IO uint32_t HCTSIZ; /*!< Host Channel Transfer Size Register 510h */
1203 __IO uint32_t HCDMA; /*!< Host Channel DMA Address Register 514h */
1204 uint32_t Reserved[2]; /*!< Reserved */
1205} USB_OTG_HostChannelTypeDef;
1206/**
1207 * @}
1208 */
1209
1210
1211
1212
1213/** @addtogroup Peripheral_memory_map
1214 * @{
1215 */
1216#define RAMITCM_BASE 0x00000000U /*!< Base address of : 16KB RAM reserved for CPU execution/instruction accessible over ITCM */
1217#define FLASHITCM_BASE 0x00200000U /*!< Base address of : (up to 1 MB) embedded FLASH memory accessible over ITCM */
1218#define FLASHAXI_BASE 0x08000000U /*!< Base address of : (up to 1 MB) embedded FLASH memory accessible over AXI */
1219#define RAMDTCM_BASE 0x20000000U /*!< Base address of : 64KB system data RAM accessible over DTCM */
1220#define PERIPH_BASE 0x40000000U /*!< Base address of : AHB/ABP Peripherals */
1221#define BKPSRAM_BASE 0x40024000U /*!< Base address of : Backup SRAM(4 KB) */
1222#define QSPI_BASE 0x90000000U /*!< Base address of : QSPI memories accessible over AXI */
1223#define FMC_R_BASE 0xA0000000U /*!< Base address of : FMC Control registers */
1224#define QSPI_R_BASE 0xA0001000U /*!< Base address of : QSPI Control registers */
1225#define SRAM1_BASE 0x20010000U /*!< Base address of : 240KB RAM1 accessible over AXI/AHB */
1226#define SRAM2_BASE 0x2004C000U /*!< Base address of : 16KB RAM2 accessible over AXI/AHB */
1227#define FLASH_END 0x080FFFFFU /*!< FLASH end address */
1228#define FLASH_OTP_BASE 0x1FF0F000U /*!< Base address of : (up to 1024 Bytes) embedded FLASH OTP Area */
1229#define FLASH_OTP_END 0x1FF0F41FU /*!< End address of : (up to 1024 Bytes) embedded FLASH OTP Area */
1230
1231/* Legacy define */
1232#define FLASH_BASE FLASHAXI_BASE
1233
1234/*!< Peripheral memory map */
1235#define APB1PERIPH_BASE PERIPH_BASE
1236#define APB2PERIPH_BASE (PERIPH_BASE + 0x00010000U)
1237#define AHB1PERIPH_BASE (PERIPH_BASE + 0x00020000U)
1238#define AHB2PERIPH_BASE (PERIPH_BASE + 0x10000000U)
1239
1240/*!< APB1 peripherals */
1241#define TIM2_BASE (APB1PERIPH_BASE + 0x0000U)
1242#define TIM3_BASE (APB1PERIPH_BASE + 0x0400U)
1243#define TIM4_BASE (APB1PERIPH_BASE + 0x0800U)
1244#define TIM5_BASE (APB1PERIPH_BASE + 0x0C00U)
1245#define TIM6_BASE (APB1PERIPH_BASE + 0x1000U)
1246#define TIM7_BASE (APB1PERIPH_BASE + 0x1400U)
1247#define TIM12_BASE (APB1PERIPH_BASE + 0x1800U)
1248#define TIM13_BASE (APB1PERIPH_BASE + 0x1C00U)
1249#define TIM14_BASE (APB1PERIPH_BASE + 0x2000U)
1250#define LPTIM1_BASE (APB1PERIPH_BASE + 0x2400U)
1251#define RTC_BASE (APB1PERIPH_BASE + 0x2800U)
1252#define WWDG_BASE (APB1PERIPH_BASE + 0x2C00U)
1253#define IWDG_BASE (APB1PERIPH_BASE + 0x3000U)
1254#define SPI2_BASE (APB1PERIPH_BASE + 0x3800U)
1255#define SPI3_BASE (APB1PERIPH_BASE + 0x3C00U)
1256#define SPDIFRX_BASE (APB1PERIPH_BASE + 0x4000U)
1257#define USART2_BASE (APB1PERIPH_BASE + 0x4400U)
1258#define USART3_BASE (APB1PERIPH_BASE + 0x4800U)
1259#define UART4_BASE (APB1PERIPH_BASE + 0x4C00U)
1260#define UART5_BASE (APB1PERIPH_BASE + 0x5000U)
1261#define I2C1_BASE (APB1PERIPH_BASE + 0x5400U)
1262#define I2C2_BASE (APB1PERIPH_BASE + 0x5800U)
1263#define I2C3_BASE (APB1PERIPH_BASE + 0x5C00U)
1264#define I2C4_BASE (APB1PERIPH_BASE + 0x6000U)
1265#define CAN1_BASE (APB1PERIPH_BASE + 0x6400U)
1266#define CAN2_BASE (APB1PERIPH_BASE + 0x6800U)
1267#define CEC_BASE (APB1PERIPH_BASE + 0x6C00U)
1268#define PWR_BASE (APB1PERIPH_BASE + 0x7000U)
1269#define DAC_BASE (APB1PERIPH_BASE + 0x7400U)
1270#define UART7_BASE (APB1PERIPH_BASE + 0x7800U)
1271#define UART8_BASE (APB1PERIPH_BASE + 0x7C00U)
1272
1273/*!< APB2 peripherals */
1274#define TIM1_BASE (APB2PERIPH_BASE + 0x0000U)
1275#define TIM8_BASE (APB2PERIPH_BASE + 0x0400U)
1276#define USART1_BASE (APB2PERIPH_BASE + 0x1000U)
1277#define USART6_BASE (APB2PERIPH_BASE + 0x1400U)
1278#define ADC1_BASE (APB2PERIPH_BASE + 0x2000U)
1279#define ADC2_BASE (APB2PERIPH_BASE + 0x2100U)
1280#define ADC3_BASE (APB2PERIPH_BASE + 0x2200U)
1281#define ADC_BASE (APB2PERIPH_BASE + 0x2300U)
1282#define SDMMC1_BASE (APB2PERIPH_BASE + 0x2C00U)
1283#define SPI1_BASE (APB2PERIPH_BASE + 0x3000U)
1284#define SPI4_BASE (APB2PERIPH_BASE + 0x3400U)
1285#define SYSCFG_BASE (APB2PERIPH_BASE + 0x3800U)
1286#define EXTI_BASE (APB2PERIPH_BASE + 0x3C00U)
1287#define TIM9_BASE (APB2PERIPH_BASE + 0x4000U)
1288#define TIM10_BASE (APB2PERIPH_BASE + 0x4400U)
1289#define TIM11_BASE (APB2PERIPH_BASE + 0x4800U)
1290#define SPI5_BASE (APB2PERIPH_BASE + 0x5000U)
1291#define SPI6_BASE (APB2PERIPH_BASE + 0x5400U)
1292#define SAI1_BASE (APB2PERIPH_BASE + 0x5800U)
1293#define SAI2_BASE (APB2PERIPH_BASE + 0x5C00U)
1294#define SAI1_Block_A_BASE (SAI1_BASE + 0x004U)
1295#define SAI1_Block_B_BASE (SAI1_BASE + 0x024U)
1296#define SAI2_Block_A_BASE (SAI2_BASE + 0x004U)
1297#define SAI2_Block_B_BASE (SAI2_BASE + 0x024U)
1298#define LTDC_BASE (APB2PERIPH_BASE + 0x6800U)
1299#define LTDC_Layer1_BASE (LTDC_BASE + 0x84U)
1300#define LTDC_Layer2_BASE (LTDC_BASE + 0x104U)
1301/*!< AHB1 peripherals */
1302#define GPIOA_BASE (AHB1PERIPH_BASE + 0x0000U)
1303#define GPIOB_BASE (AHB1PERIPH_BASE + 0x0400U)
1304#define GPIOC_BASE (AHB1PERIPH_BASE + 0x0800U)
1305#define GPIOD_BASE (AHB1PERIPH_BASE + 0x0C00U)
1306#define GPIOE_BASE (AHB1PERIPH_BASE + 0x1000U)
1307#define GPIOF_BASE (AHB1PERIPH_BASE + 0x1400U)
1308#define GPIOG_BASE (AHB1PERIPH_BASE + 0x1800U)
1309#define GPIOH_BASE (AHB1PERIPH_BASE + 0x1C00U)
1310#define GPIOI_BASE (AHB1PERIPH_BASE + 0x2000U)
1311#define GPIOJ_BASE (AHB1PERIPH_BASE + 0x2400U)
1312#define GPIOK_BASE (AHB1PERIPH_BASE + 0x2800U)
1313#define CRC_BASE (AHB1PERIPH_BASE + 0x3000U)
1314#define RCC_BASE (AHB1PERIPH_BASE + 0x3800U)
1315#define FLASH_R_BASE (AHB1PERIPH_BASE + 0x3C00U)
1316#define UID_BASE 0x1FF0F420U /*!< Unique device ID register base address */
1317#define FLASHSIZE_BASE 0x1FF0F442U /*!< FLASH Size register base address */
1318#define PACKAGE_BASE 0x1FFF7BF0U /*!< Package size register base address */
1319/* Legacy define */
1320#define PACKAGESIZE_BASE PACKAGE_BASE
1321
1322#define DMA1_BASE (AHB1PERIPH_BASE + 0x6000U)
1323#define DMA1_Stream0_BASE (DMA1_BASE + 0x010U)
1324#define DMA1_Stream1_BASE (DMA1_BASE + 0x028U)
1325#define DMA1_Stream2_BASE (DMA1_BASE + 0x040U)
1326#define DMA1_Stream3_BASE (DMA1_BASE + 0x058U)
1327#define DMA1_Stream4_BASE (DMA1_BASE + 0x070U)
1328#define DMA1_Stream5_BASE (DMA1_BASE + 0x088U)
1329#define DMA1_Stream6_BASE (DMA1_BASE + 0x0A0U)
1330#define DMA1_Stream7_BASE (DMA1_BASE + 0x0B8U)
1331#define DMA2_BASE (AHB1PERIPH_BASE + 0x6400U)
1332#define DMA2_Stream0_BASE (DMA2_BASE + 0x010U)
1333#define DMA2_Stream1_BASE (DMA2_BASE + 0x028U)
1334#define DMA2_Stream2_BASE (DMA2_BASE + 0x040U)
1335#define DMA2_Stream3_BASE (DMA2_BASE + 0x058U)
1336#define DMA2_Stream4_BASE (DMA2_BASE + 0x070U)
1337#define DMA2_Stream5_BASE (DMA2_BASE + 0x088U)
1338#define DMA2_Stream6_BASE (DMA2_BASE + 0x0A0U)
1339#define DMA2_Stream7_BASE (DMA2_BASE + 0x0B8U)
1340#define ETH_BASE (AHB1PERIPH_BASE + 0x8000U)
1341#define ETH_MAC_BASE (ETH_BASE)
1342#define ETH_MMC_BASE (ETH_BASE + 0x0100U)
1343#define ETH_PTP_BASE (ETH_BASE + 0x0700U)
1344#define ETH_DMA_BASE (ETH_BASE + 0x1000U)
1345#define DMA2D_BASE (AHB1PERIPH_BASE + 0xB000U)
1346/*!< AHB2 peripherals */
1347#define DCMI_BASE (AHB2PERIPH_BASE + 0x50000U)
1348#define CRYP_BASE (AHB2PERIPH_BASE + 0x60000U)
1349#define HASH_BASE (AHB2PERIPH_BASE + 0x60400U)
1350#define HASH_DIGEST_BASE (AHB2PERIPH_BASE + 0x60710U)
1351#define RNG_BASE (AHB2PERIPH_BASE + 0x60800U)
1352/*!< FMC Bankx registers base address */
1353#define FMC_Bank1_R_BASE (FMC_R_BASE + 0x0000U)
1354#define FMC_Bank1E_R_BASE (FMC_R_BASE + 0x0104U)
1355#define FMC_Bank3_R_BASE (FMC_R_BASE + 0x0080U)
1356#define FMC_Bank5_6_R_BASE (FMC_R_BASE + 0x0140U)
1357
1358/* Debug MCU registers base address */
1359#define DBGMCU_BASE 0xE0042000U
1360
1361/*!< USB registers base address */
1362#define USB_OTG_HS_PERIPH_BASE 0x40040000U
1363#define USB_OTG_FS_PERIPH_BASE 0x50000000U
1364
1365#define USB_OTG_GLOBAL_BASE 0x000U
1366#define USB_OTG_DEVICE_BASE 0x800U
1367#define USB_OTG_IN_ENDPOINT_BASE 0x900U
1368#define USB_OTG_OUT_ENDPOINT_BASE 0xB00U
1369#define USB_OTG_EP_REG_SIZE 0x20U
1370#define USB_OTG_HOST_BASE 0x400U
1371#define USB_OTG_HOST_PORT_BASE 0x440U
1372#define USB_OTG_HOST_CHANNEL_BASE 0x500U
1373#define USB_OTG_HOST_CHANNEL_SIZE 0x20U
1374#define USB_OTG_PCGCCTL_BASE 0xE00U
1375#define USB_OTG_FIFO_BASE 0x1000U
1376#define USB_OTG_FIFO_SIZE 0x1000U
1377
1378/**
1379 * @}
1380 */
1381
1382/** @addtogroup Peripheral_declaration
1383 * @{
1384 */
1385#define TIM2 ((TIM_TypeDef *) TIM2_BASE)
1386#define TIM3 ((TIM_TypeDef *) TIM3_BASE)
1387#define TIM4 ((TIM_TypeDef *) TIM4_BASE)
1388#define TIM5 ((TIM_TypeDef *) TIM5_BASE)
1389#define TIM6 ((TIM_TypeDef *) TIM6_BASE)
1390#define TIM7 ((TIM_TypeDef *) TIM7_BASE)
1391#define TIM12 ((TIM_TypeDef *) TIM12_BASE)
1392#define TIM13 ((TIM_TypeDef *) TIM13_BASE)
1393#define TIM14 ((TIM_TypeDef *) TIM14_BASE)
1394#define LPTIM1 ((LPTIM_TypeDef *) LPTIM1_BASE)
1395#define RTC ((RTC_TypeDef *) RTC_BASE)
1396#define WWDG ((WWDG_TypeDef *) WWDG_BASE)
1397#define IWDG ((IWDG_TypeDef *) IWDG_BASE)
1398#define SPI2 ((SPI_TypeDef *) SPI2_BASE)
1399#define SPI3 ((SPI_TypeDef *) SPI3_BASE)
1400#define SPDIFRX ((SPDIFRX_TypeDef *) SPDIFRX_BASE)
1401#define USART2 ((USART_TypeDef *) USART2_BASE)
1402#define USART3 ((USART_TypeDef *) USART3_BASE)
1403#define UART4 ((USART_TypeDef *) UART4_BASE)
1404#define UART5 ((USART_TypeDef *) UART5_BASE)
1405#define I2C1 ((I2C_TypeDef *) I2C1_BASE)
1406#define I2C2 ((I2C_TypeDef *) I2C2_BASE)
1407#define I2C3 ((I2C_TypeDef *) I2C3_BASE)
1408#define I2C4 ((I2C_TypeDef *) I2C4_BASE)
1409#define CAN1 ((CAN_TypeDef *) CAN1_BASE)
1410#define CAN2 ((CAN_TypeDef *) CAN2_BASE)
1411#define CEC ((CEC_TypeDef *) CEC_BASE)
1412#define PWR ((PWR_TypeDef *) PWR_BASE)
1413#define DAC1 ((DAC_TypeDef *) DAC_BASE)
1414#define DAC ((DAC_TypeDef *) DAC_BASE) /* Kept for legacy purpose */
1415#define UART7 ((USART_TypeDef *) UART7_BASE)
1416#define UART8 ((USART_TypeDef *) UART8_BASE)
1417#define TIM1 ((TIM_TypeDef *) TIM1_BASE)
1418#define TIM8 ((TIM_TypeDef *) TIM8_BASE)
1419#define USART1 ((USART_TypeDef *) USART1_BASE)
1420#define USART6 ((USART_TypeDef *) USART6_BASE)
1421#define ADC ((ADC_Common_TypeDef *) ADC_BASE)
1422#define ADC1 ((ADC_TypeDef *) ADC1_BASE)
1423#define ADC2 ((ADC_TypeDef *) ADC2_BASE)
1424#define ADC3 ((ADC_TypeDef *) ADC3_BASE)
1425#define ADC123_COMMON ((ADC_Common_TypeDef *) ADC_BASE)
1426#define SDMMC1 ((SDMMC_TypeDef *) SDMMC1_BASE)
1427#define SPI1 ((SPI_TypeDef *) SPI1_BASE)
1428#define SPI4 ((SPI_TypeDef *) SPI4_BASE)
1429#define SYSCFG ((SYSCFG_TypeDef *) SYSCFG_BASE)
1430#define EXTI ((EXTI_TypeDef *) EXTI_BASE)
1431#define TIM9 ((TIM_TypeDef *) TIM9_BASE)
1432#define TIM10 ((TIM_TypeDef *) TIM10_BASE)
1433#define TIM11 ((TIM_TypeDef *) TIM11_BASE)
1434#define SPI5 ((SPI_TypeDef *) SPI5_BASE)
1435#define SPI6 ((SPI_TypeDef *) SPI6_BASE)
1436#define SAI1 ((SAI_TypeDef *) SAI1_BASE)
1437#define SAI2 ((SAI_TypeDef *) SAI2_BASE)
1438#define SAI1_Block_A ((SAI_Block_TypeDef *)SAI1_Block_A_BASE)
1439#define SAI1_Block_B ((SAI_Block_TypeDef *)SAI1_Block_B_BASE)
1440#define SAI2_Block_A ((SAI_Block_TypeDef *)SAI2_Block_A_BASE)
1441#define SAI2_Block_B ((SAI_Block_TypeDef *)SAI2_Block_B_BASE)
1442#define LTDC ((LTDC_TypeDef *)LTDC_BASE)
1443#define LTDC_Layer1 ((LTDC_Layer_TypeDef *)LTDC_Layer1_BASE)
1444#define LTDC_Layer2 ((LTDC_Layer_TypeDef *)LTDC_Layer2_BASE)
1445#define GPIOA ((GPIO_TypeDef *) GPIOA_BASE)
1446#define GPIOB ((GPIO_TypeDef *) GPIOB_BASE)
1447#define GPIOC ((GPIO_TypeDef *) GPIOC_BASE)
1448#define GPIOD ((GPIO_TypeDef *) GPIOD_BASE)
1449#define GPIOE ((GPIO_TypeDef *) GPIOE_BASE)
1450#define GPIOF ((GPIO_TypeDef *) GPIOF_BASE)
1451#define GPIOG ((GPIO_TypeDef *) GPIOG_BASE)
1452#define GPIOH ((GPIO_TypeDef *) GPIOH_BASE)
1453#define GPIOI ((GPIO_TypeDef *) GPIOI_BASE)
1454#define GPIOJ ((GPIO_TypeDef *) GPIOJ_BASE)
1455#define GPIOK ((GPIO_TypeDef *) GPIOK_BASE)
1456#define CRC ((CRC_TypeDef *) CRC_BASE)
1457#define RCC ((RCC_TypeDef *) RCC_BASE)
1458#define FLASH ((FLASH_TypeDef *) FLASH_R_BASE)
1459#define DMA1 ((DMA_TypeDef *) DMA1_BASE)
1460#define DMA1_Stream0 ((DMA_Stream_TypeDef *) DMA1_Stream0_BASE)
1461#define DMA1_Stream1 ((DMA_Stream_TypeDef *) DMA1_Stream1_BASE)
1462#define DMA1_Stream2 ((DMA_Stream_TypeDef *) DMA1_Stream2_BASE)
1463#define DMA1_Stream3 ((DMA_Stream_TypeDef *) DMA1_Stream3_BASE)
1464#define DMA1_Stream4 ((DMA_Stream_TypeDef *) DMA1_Stream4_BASE)
1465#define DMA1_Stream5 ((DMA_Stream_TypeDef *) DMA1_Stream5_BASE)
1466#define DMA1_Stream6 ((DMA_Stream_TypeDef *) DMA1_Stream6_BASE)
1467#define DMA1_Stream7 ((DMA_Stream_TypeDef *) DMA1_Stream7_BASE)
1468#define DMA2 ((DMA_TypeDef *) DMA2_BASE)
1469#define DMA2_Stream0 ((DMA_Stream_TypeDef *) DMA2_Stream0_BASE)
1470#define DMA2_Stream1 ((DMA_Stream_TypeDef *) DMA2_Stream1_BASE)
1471#define DMA2_Stream2 ((DMA_Stream_TypeDef *) DMA2_Stream2_BASE)
1472#define DMA2_Stream3 ((DMA_Stream_TypeDef *) DMA2_Stream3_BASE)
1473#define DMA2_Stream4 ((DMA_Stream_TypeDef *) DMA2_Stream4_BASE)
1474#define DMA2_Stream5 ((DMA_Stream_TypeDef *) DMA2_Stream5_BASE)
1475#define DMA2_Stream6 ((DMA_Stream_TypeDef *) DMA2_Stream6_BASE)
1476#define DMA2_Stream7 ((DMA_Stream_TypeDef *) DMA2_Stream7_BASE)
1477#define ETH ((ETH_TypeDef *) ETH_BASE)
1478#define DMA2D ((DMA2D_TypeDef *)DMA2D_BASE)
1479#define DCMI ((DCMI_TypeDef *) DCMI_BASE)
1480#define CRYP ((CRYP_TypeDef *) CRYP_BASE)
1481#define HASH ((HASH_TypeDef *) HASH_BASE)
1482#define HASH_DIGEST ((HASH_DIGEST_TypeDef *) HASH_DIGEST_BASE)
1483#define RNG ((RNG_TypeDef *) RNG_BASE)
1484#define FMC_Bank1 ((FMC_Bank1_TypeDef *) FMC_Bank1_R_BASE)
1485#define FMC_Bank1E ((FMC_Bank1E_TypeDef *) FMC_Bank1E_R_BASE)
1486#define FMC_Bank3 ((FMC_Bank3_TypeDef *) FMC_Bank3_R_BASE)
1487#define FMC_Bank5_6 ((FMC_Bank5_6_TypeDef *) FMC_Bank5_6_R_BASE)
1488#define QUADSPI ((QUADSPI_TypeDef *) QSPI_R_BASE)
1489#define DBGMCU ((DBGMCU_TypeDef *) DBGMCU_BASE)
1490#define USB_OTG_FS ((USB_OTG_GlobalTypeDef *) USB_OTG_FS_PERIPH_BASE)
1491#define USB_OTG_HS ((USB_OTG_GlobalTypeDef *) USB_OTG_HS_PERIPH_BASE)
1492
1493/**
1494 * @}
1495 */
1496
1497/** @addtogroup Exported_constants
1498 * @{
1499 */
1500
1501 /** @addtogroup Peripheral_Registers_Bits_Definition
1502 * @{
1503 */
1504
1505/******************************************************************************/
1506/* Peripheral Registers_Bits_Definition */
1507/******************************************************************************/
1508
1509/******************************************************************************/
1510/* */
1511/* Analog to Digital Converter */
1512/* */
1513/******************************************************************************/
1514/******************** Bit definition for ADC_SR register ********************/
1515#define ADC_SR_AWD_Pos (0U)
1516#define ADC_SR_AWD_Msk (0x1U << ADC_SR_AWD_Pos) /*!< 0x00000001 */
1517#define ADC_SR_AWD ADC_SR_AWD_Msk /*!<Analog watchdog flag */
1518#define ADC_SR_EOC_Pos (1U)
1519#define ADC_SR_EOC_Msk (0x1U << ADC_SR_EOC_Pos) /*!< 0x00000002 */
1520#define ADC_SR_EOC ADC_SR_EOC_Msk /*!<End of conversion */
1521#define ADC_SR_JEOC_Pos (2U)
1522#define ADC_SR_JEOC_Msk (0x1U << ADC_SR_JEOC_Pos) /*!< 0x00000004 */
1523#define ADC_SR_JEOC ADC_SR_JEOC_Msk /*!<Injected channel end of conversion */
1524#define ADC_SR_JSTRT_Pos (3U)
1525#define ADC_SR_JSTRT_Msk (0x1U << ADC_SR_JSTRT_Pos) /*!< 0x00000008 */
1526#define ADC_SR_JSTRT ADC_SR_JSTRT_Msk /*!<Injected channel Start flag */
1527#define ADC_SR_STRT_Pos (4U)
1528#define ADC_SR_STRT_Msk (0x1U << ADC_SR_STRT_Pos) /*!< 0x00000010 */
1529#define ADC_SR_STRT ADC_SR_STRT_Msk /*!<Regular channel Start flag */
1530#define ADC_SR_OVR_Pos (5U)
1531#define ADC_SR_OVR_Msk (0x1U << ADC_SR_OVR_Pos) /*!< 0x00000020 */
1532#define ADC_SR_OVR ADC_SR_OVR_Msk /*!<Overrun flag */
1533
1534/******************* Bit definition for ADC_CR1 register ********************/
1535#define ADC_CR1_AWDCH_Pos (0U)
1536#define ADC_CR1_AWDCH_Msk (0x1FU << ADC_CR1_AWDCH_Pos) /*!< 0x0000001F */
1537#define ADC_CR1_AWDCH ADC_CR1_AWDCH_Msk /*!<AWDCH[4:0] bits (Analog watchdog channel select bits) */
1538#define ADC_CR1_AWDCH_0 (0x01U << ADC_CR1_AWDCH_Pos) /*!< 0x00000001 */
1539#define ADC_CR1_AWDCH_1 (0x02U << ADC_CR1_AWDCH_Pos) /*!< 0x00000002 */
1540#define ADC_CR1_AWDCH_2 (0x04U << ADC_CR1_AWDCH_Pos) /*!< 0x00000004 */
1541#define ADC_CR1_AWDCH_3 (0x08U << ADC_CR1_AWDCH_Pos) /*!< 0x00000008 */
1542#define ADC_CR1_AWDCH_4 (0x10U << ADC_CR1_AWDCH_Pos) /*!< 0x00000010 */
1543#define ADC_CR1_EOCIE_Pos (5U)
1544#define ADC_CR1_EOCIE_Msk (0x1U << ADC_CR1_EOCIE_Pos) /*!< 0x00000020 */
1545#define ADC_CR1_EOCIE ADC_CR1_EOCIE_Msk /*!<Interrupt enable for EOC */
1546#define ADC_CR1_AWDIE_Pos (6U)
1547#define ADC_CR1_AWDIE_Msk (0x1U << ADC_CR1_AWDIE_Pos) /*!< 0x00000040 */
1548#define ADC_CR1_AWDIE ADC_CR1_AWDIE_Msk /*!<AAnalog Watchdog interrupt enable */
1549#define ADC_CR1_JEOCIE_Pos (7U)
1550#define ADC_CR1_JEOCIE_Msk (0x1U << ADC_CR1_JEOCIE_Pos) /*!< 0x00000080 */
1551#define ADC_CR1_JEOCIE ADC_CR1_JEOCIE_Msk /*!<Interrupt enable for injected channels */
1552#define ADC_CR1_SCAN_Pos (8U)
1553#define ADC_CR1_SCAN_Msk (0x1U << ADC_CR1_SCAN_Pos) /*!< 0x00000100 */
1554#define ADC_CR1_SCAN ADC_CR1_SCAN_Msk /*!<Scan mode */
1555#define ADC_CR1_AWDSGL_Pos (9U)
1556#define ADC_CR1_AWDSGL_Msk (0x1U << ADC_CR1_AWDSGL_Pos) /*!< 0x00000200 */
1557#define ADC_CR1_AWDSGL ADC_CR1_AWDSGL_Msk /*!<Enable the watchdog on a single channel in scan mode */
1558#define ADC_CR1_JAUTO_Pos (10U)
1559#define ADC_CR1_JAUTO_Msk (0x1U << ADC_CR1_JAUTO_Pos) /*!< 0x00000400 */
1560#define ADC_CR1_JAUTO ADC_CR1_JAUTO_Msk /*!<Automatic injected group conversion */
1561#define ADC_CR1_DISCEN_Pos (11U)
1562#define ADC_CR1_DISCEN_Msk (0x1U << ADC_CR1_DISCEN_Pos) /*!< 0x00000800 */
1563#define ADC_CR1_DISCEN ADC_CR1_DISCEN_Msk /*!<Discontinuous mode on regular channels */
1564#define ADC_CR1_JDISCEN_Pos (12U)
1565#define ADC_CR1_JDISCEN_Msk (0x1U << ADC_CR1_JDISCEN_Pos) /*!< 0x00001000 */
1566#define ADC_CR1_JDISCEN ADC_CR1_JDISCEN_Msk /*!<Discontinuous mode on injected channels */
1567#define ADC_CR1_DISCNUM_Pos (13U)
1568#define ADC_CR1_DISCNUM_Msk (0x7U << ADC_CR1_DISCNUM_Pos) /*!< 0x0000E000 */
1569#define ADC_CR1_DISCNUM ADC_CR1_DISCNUM_Msk /*!<DISCNUM[2:0] bits (Discontinuous mode channel count) */
1570#define ADC_CR1_DISCNUM_0 (0x1U << ADC_CR1_DISCNUM_Pos) /*!< 0x00002000 */
1571#define ADC_CR1_DISCNUM_1 (0x2U << ADC_CR1_DISCNUM_Pos) /*!< 0x00004000 */
1572#define ADC_CR1_DISCNUM_2 (0x4U << ADC_CR1_DISCNUM_Pos) /*!< 0x00008000 */
1573#define ADC_CR1_JAWDEN_Pos (22U)
1574#define ADC_CR1_JAWDEN_Msk (0x1U << ADC_CR1_JAWDEN_Pos) /*!< 0x00400000 */
1575#define ADC_CR1_JAWDEN ADC_CR1_JAWDEN_Msk /*!<Analog watchdog enable on injected channels */
1576#define ADC_CR1_AWDEN_Pos (23U)
1577#define ADC_CR1_AWDEN_Msk (0x1U << ADC_CR1_AWDEN_Pos) /*!< 0x00800000 */
1578#define ADC_CR1_AWDEN ADC_CR1_AWDEN_Msk /*!<Analog watchdog enable on regular channels */
1579#define ADC_CR1_RES_Pos (24U)
1580#define ADC_CR1_RES_Msk (0x3U << ADC_CR1_RES_Pos) /*!< 0x03000000 */
1581#define ADC_CR1_RES ADC_CR1_RES_Msk /*!<RES[2:0] bits (Resolution) */
1582#define ADC_CR1_RES_0 (0x1U << ADC_CR1_RES_Pos) /*!< 0x01000000 */
1583#define ADC_CR1_RES_1 (0x2U << ADC_CR1_RES_Pos) /*!< 0x02000000 */
1584#define ADC_CR1_OVRIE_Pos (26U)
1585#define ADC_CR1_OVRIE_Msk (0x1U << ADC_CR1_OVRIE_Pos) /*!< 0x04000000 */
1586#define ADC_CR1_OVRIE ADC_CR1_OVRIE_Msk /*!<overrun interrupt enable */
1587
1588/******************* Bit definition for ADC_CR2 register ********************/
1589#define ADC_CR2_ADON_Pos (0U)
1590#define ADC_CR2_ADON_Msk (0x1U << ADC_CR2_ADON_Pos) /*!< 0x00000001 */
1591#define ADC_CR2_ADON ADC_CR2_ADON_Msk /*!<A/D Converter ON / OFF */
1592#define ADC_CR2_CONT_Pos (1U)
1593#define ADC_CR2_CONT_Msk (0x1U << ADC_CR2_CONT_Pos) /*!< 0x00000002 */
1594#define ADC_CR2_CONT ADC_CR2_CONT_Msk /*!<Continuous Conversion */
1595#define ADC_CR2_DMA_Pos (8U)
1596#define ADC_CR2_DMA_Msk (0x1U << ADC_CR2_DMA_Pos) /*!< 0x00000100 */
1597#define ADC_CR2_DMA ADC_CR2_DMA_Msk /*!<Direct Memory access mode */
1598#define ADC_CR2_DDS_Pos (9U)
1599#define ADC_CR2_DDS_Msk (0x1U << ADC_CR2_DDS_Pos) /*!< 0x00000200 */
1600#define ADC_CR2_DDS ADC_CR2_DDS_Msk /*!<DMA disable selection (Single ADC) */
1601#define ADC_CR2_EOCS_Pos (10U)
1602#define ADC_CR2_EOCS_Msk (0x1U << ADC_CR2_EOCS_Pos) /*!< 0x00000400 */
1603#define ADC_CR2_EOCS ADC_CR2_EOCS_Msk /*!<End of conversion selection */
1604#define ADC_CR2_ALIGN_Pos (11U)
1605#define ADC_CR2_ALIGN_Msk (0x1U << ADC_CR2_ALIGN_Pos) /*!< 0x00000800 */
1606#define ADC_CR2_ALIGN ADC_CR2_ALIGN_Msk /*!<Data Alignment */
1607#define ADC_CR2_JEXTSEL_Pos (16U)
1608#define ADC_CR2_JEXTSEL_Msk (0xFU << ADC_CR2_JEXTSEL_Pos) /*!< 0x000F0000 */
1609#define ADC_CR2_JEXTSEL ADC_CR2_JEXTSEL_Msk /*!<JEXTSEL[3:0] bits (External event select for injected group) */
1610#define ADC_CR2_JEXTSEL_0 (0x1U << ADC_CR2_JEXTSEL_Pos) /*!< 0x00010000 */
1611#define ADC_CR2_JEXTSEL_1 (0x2U << ADC_CR2_JEXTSEL_Pos) /*!< 0x00020000 */
1612#define ADC_CR2_JEXTSEL_2 (0x4U << ADC_CR2_JEXTSEL_Pos) /*!< 0x00040000 */
1613#define ADC_CR2_JEXTSEL_3 (0x8U << ADC_CR2_JEXTSEL_Pos) /*!< 0x00080000 */
1614#define ADC_CR2_JEXTEN_Pos (20U)
1615#define ADC_CR2_JEXTEN_Msk (0x3U << ADC_CR2_JEXTEN_Pos) /*!< 0x00300000 */
1616#define ADC_CR2_JEXTEN ADC_CR2_JEXTEN_Msk /*!<JEXTEN[1:0] bits (External Trigger Conversion mode for injected channelsp) */
1617#define ADC_CR2_JEXTEN_0 (0x1U << ADC_CR2_JEXTEN_Pos) /*!< 0x00100000 */
1618#define ADC_CR2_JEXTEN_1 (0x2U << ADC_CR2_JEXTEN_Pos) /*!< 0x00200000 */
1619#define ADC_CR2_JSWSTART_Pos (22U)
1620#define ADC_CR2_JSWSTART_Msk (0x1U << ADC_CR2_JSWSTART_Pos) /*!< 0x00400000 */
1621#define ADC_CR2_JSWSTART ADC_CR2_JSWSTART_Msk /*!<Start Conversion of injected channels */
1622#define ADC_CR2_EXTSEL_Pos (24U)
1623#define ADC_CR2_EXTSEL_Msk (0xFU << ADC_CR2_EXTSEL_Pos) /*!< 0x0F000000 */
1624#define ADC_CR2_EXTSEL ADC_CR2_EXTSEL_Msk /*!<EXTSEL[3:0] bits (External Event Select for regular group) */
1625#define ADC_CR2_EXTSEL_0 (0x1U << ADC_CR2_EXTSEL_Pos) /*!< 0x01000000 */
1626#define ADC_CR2_EXTSEL_1 (0x2U << ADC_CR2_EXTSEL_Pos) /*!< 0x02000000 */
1627#define ADC_CR2_EXTSEL_2 (0x4U << ADC_CR2_EXTSEL_Pos) /*!< 0x04000000 */
1628#define ADC_CR2_EXTSEL_3 (0x8U << ADC_CR2_EXTSEL_Pos) /*!< 0x08000000 */
1629#define ADC_CR2_EXTEN_Pos (28U)
1630#define ADC_CR2_EXTEN_Msk (0x3U << ADC_CR2_EXTEN_Pos) /*!< 0x30000000 */
1631#define ADC_CR2_EXTEN ADC_CR2_EXTEN_Msk /*!<EXTEN[1:0] bits (External Trigger Conversion mode for regular channelsp) */
1632#define ADC_CR2_EXTEN_0 (0x1U << ADC_CR2_EXTEN_Pos) /*!< 0x10000000 */
1633#define ADC_CR2_EXTEN_1 (0x2U << ADC_CR2_EXTEN_Pos) /*!< 0x20000000 */
1634#define ADC_CR2_SWSTART_Pos (30U)
1635#define ADC_CR2_SWSTART_Msk (0x1U << ADC_CR2_SWSTART_Pos) /*!< 0x40000000 */
1636#define ADC_CR2_SWSTART ADC_CR2_SWSTART_Msk /*!<Start Conversion of regular channels */
1637
1638/****************** Bit definition for ADC_SMPR1 register *******************/
1639#define ADC_SMPR1_SMP10_Pos (0U)
1640#define ADC_SMPR1_SMP10_Msk (0x7U << ADC_SMPR1_SMP10_Pos) /*!< 0x00000007 */
1641#define ADC_SMPR1_SMP10 ADC_SMPR1_SMP10_Msk /*!<SMP10[2:0] bits (Channel 10 Sample time selection) */
1642#define ADC_SMPR1_SMP10_0 (0x1U << ADC_SMPR1_SMP10_Pos) /*!< 0x00000001 */
1643#define ADC_SMPR1_SMP10_1 (0x2U << ADC_SMPR1_SMP10_Pos) /*!< 0x00000002 */
1644#define ADC_SMPR1_SMP10_2 (0x4U << ADC_SMPR1_SMP10_Pos) /*!< 0x00000004 */
1645#define ADC_SMPR1_SMP11_Pos (3U)
1646#define ADC_SMPR1_SMP11_Msk (0x7U << ADC_SMPR1_SMP11_Pos) /*!< 0x00000038 */
1647#define ADC_SMPR1_SMP11 ADC_SMPR1_SMP11_Msk /*!<SMP11[2:0] bits (Channel 11 Sample time selection) */
1648#define ADC_SMPR1_SMP11_0 (0x1U << ADC_SMPR1_SMP11_Pos) /*!< 0x00000008 */
1649#define ADC_SMPR1_SMP11_1 (0x2U << ADC_SMPR1_SMP11_Pos) /*!< 0x00000010 */
1650#define ADC_SMPR1_SMP11_2 (0x4U << ADC_SMPR1_SMP11_Pos) /*!< 0x00000020 */
1651#define ADC_SMPR1_SMP12_Pos (6U)
1652#define ADC_SMPR1_SMP12_Msk (0x7U << ADC_SMPR1_SMP12_Pos) /*!< 0x000001C0 */
1653#define ADC_SMPR1_SMP12 ADC_SMPR1_SMP12_Msk /*!<SMP12[2:0] bits (Channel 12 Sample time selection) */
1654#define ADC_SMPR1_SMP12_0 (0x1U << ADC_SMPR1_SMP12_Pos) /*!< 0x00000040 */
1655#define ADC_SMPR1_SMP12_1 (0x2U << ADC_SMPR1_SMP12_Pos) /*!< 0x00000080 */
1656#define ADC_SMPR1_SMP12_2 (0x4U << ADC_SMPR1_SMP12_Pos) /*!< 0x00000100 */
1657#define ADC_SMPR1_SMP13_Pos (9U)
1658#define ADC_SMPR1_SMP13_Msk (0x7U << ADC_SMPR1_SMP13_Pos) /*!< 0x00000E00 */
1659#define ADC_SMPR1_SMP13 ADC_SMPR1_SMP13_Msk /*!<SMP13[2:0] bits (Channel 13 Sample time selection) */
1660#define ADC_SMPR1_SMP13_0 (0x1U << ADC_SMPR1_SMP13_Pos) /*!< 0x00000200 */
1661#define ADC_SMPR1_SMP13_1 (0x2U << ADC_SMPR1_SMP13_Pos) /*!< 0x00000400 */
1662#define ADC_SMPR1_SMP13_2 (0x4U << ADC_SMPR1_SMP13_Pos) /*!< 0x00000800 */
1663#define ADC_SMPR1_SMP14_Pos (12U)
1664#define ADC_SMPR1_SMP14_Msk (0x7U << ADC_SMPR1_SMP14_Pos) /*!< 0x00007000 */
1665#define ADC_SMPR1_SMP14 ADC_SMPR1_SMP14_Msk /*!<SMP14[2:0] bits (Channel 14 Sample time selection) */
1666#define ADC_SMPR1_SMP14_0 (0x1U << ADC_SMPR1_SMP14_Pos) /*!< 0x00001000 */
1667#define ADC_SMPR1_SMP14_1 (0x2U << ADC_SMPR1_SMP14_Pos) /*!< 0x00002000 */
1668#define ADC_SMPR1_SMP14_2 (0x4U << ADC_SMPR1_SMP14_Pos) /*!< 0x00004000 */
1669#define ADC_SMPR1_SMP15_Pos (15U)
1670#define ADC_SMPR1_SMP15_Msk (0x7U << ADC_SMPR1_SMP15_Pos) /*!< 0x00038000 */
1671#define ADC_SMPR1_SMP15 ADC_SMPR1_SMP15_Msk /*!<SMP15[2:0] bits (Channel 15 Sample time selection) */
1672#define ADC_SMPR1_SMP15_0 (0x1U << ADC_SMPR1_SMP15_Pos) /*!< 0x00008000 */
1673#define ADC_SMPR1_SMP15_1 (0x2U << ADC_SMPR1_SMP15_Pos) /*!< 0x00010000 */
1674#define ADC_SMPR1_SMP15_2 (0x4U << ADC_SMPR1_SMP15_Pos) /*!< 0x00020000 */
1675#define ADC_SMPR1_SMP16_Pos (18U)
1676#define ADC_SMPR1_SMP16_Msk (0x7U << ADC_SMPR1_SMP16_Pos) /*!< 0x001C0000 */
1677#define ADC_SMPR1_SMP16 ADC_SMPR1_SMP16_Msk /*!<SMP16[2:0] bits (Channel 16 Sample time selection) */
1678#define ADC_SMPR1_SMP16_0 (0x1U << ADC_SMPR1_SMP16_Pos) /*!< 0x00040000 */
1679#define ADC_SMPR1_SMP16_1 (0x2U << ADC_SMPR1_SMP16_Pos) /*!< 0x00080000 */
1680#define ADC_SMPR1_SMP16_2 (0x4U << ADC_SMPR1_SMP16_Pos) /*!< 0x00100000 */
1681#define ADC_SMPR1_SMP17_Pos (21U)
1682#define ADC_SMPR1_SMP17_Msk (0x7U << ADC_SMPR1_SMP17_Pos) /*!< 0x00E00000 */
1683#define ADC_SMPR1_SMP17 ADC_SMPR1_SMP17_Msk /*!<SMP17[2:0] bits (Channel 17 Sample time selection) */
1684#define ADC_SMPR1_SMP17_0 (0x1U << ADC_SMPR1_SMP17_Pos) /*!< 0x00200000 */
1685#define ADC_SMPR1_SMP17_1 (0x2U << ADC_SMPR1_SMP17_Pos) /*!< 0x00400000 */
1686#define ADC_SMPR1_SMP17_2 (0x4U << ADC_SMPR1_SMP17_Pos) /*!< 0x00800000 */
1687#define ADC_SMPR1_SMP18_Pos (24U)
1688#define ADC_SMPR1_SMP18_Msk (0x7U << ADC_SMPR1_SMP18_Pos) /*!< 0x07000000 */
1689#define ADC_SMPR1_SMP18 ADC_SMPR1_SMP18_Msk /*!<SMP18[2:0] bits (Channel 18 Sample time selection) */
1690#define ADC_SMPR1_SMP18_0 (0x1U << ADC_SMPR1_SMP18_Pos) /*!< 0x01000000 */
1691#define ADC_SMPR1_SMP18_1 (0x2U << ADC_SMPR1_SMP18_Pos) /*!< 0x02000000 */
1692#define ADC_SMPR1_SMP18_2 (0x4U << ADC_SMPR1_SMP18_Pos) /*!< 0x04000000 */
1693
1694/****************** Bit definition for ADC_SMPR2 register *******************/
1695#define ADC_SMPR2_SMP0_Pos (0U)
1696#define ADC_SMPR2_SMP0_Msk (0x7U << ADC_SMPR2_SMP0_Pos) /*!< 0x00000007 */
1697#define ADC_SMPR2_SMP0 ADC_SMPR2_SMP0_Msk /*!<SMP0[2:0] bits (Channel 0 Sample time selection) */
1698#define ADC_SMPR2_SMP0_0 (0x1U << ADC_SMPR2_SMP0_Pos) /*!< 0x00000001 */
1699#define ADC_SMPR2_SMP0_1 (0x2U << ADC_SMPR2_SMP0_Pos) /*!< 0x00000002 */
1700#define ADC_SMPR2_SMP0_2 (0x4U << ADC_SMPR2_SMP0_Pos) /*!< 0x00000004 */
1701#define ADC_SMPR2_SMP1_Pos (3U)
1702#define ADC_SMPR2_SMP1_Msk (0x7U << ADC_SMPR2_SMP1_Pos) /*!< 0x00000038 */
1703#define ADC_SMPR2_SMP1 ADC_SMPR2_SMP1_Msk /*!<SMP1[2:0] bits (Channel 1 Sample time selection) */
1704#define ADC_SMPR2_SMP1_0 (0x1U << ADC_SMPR2_SMP1_Pos) /*!< 0x00000008 */
1705#define ADC_SMPR2_SMP1_1 (0x2U << ADC_SMPR2_SMP1_Pos) /*!< 0x00000010 */
1706#define ADC_SMPR2_SMP1_2 (0x4U << ADC_SMPR2_SMP1_Pos) /*!< 0x00000020 */
1707#define ADC_SMPR2_SMP2_Pos (6U)
1708#define ADC_SMPR2_SMP2_Msk (0x7U << ADC_SMPR2_SMP2_Pos) /*!< 0x000001C0 */
1709#define ADC_SMPR2_SMP2 ADC_SMPR2_SMP2_Msk /*!<SMP2[2:0] bits (Channel 2 Sample time selection) */
1710#define ADC_SMPR2_SMP2_0 (0x1U << ADC_SMPR2_SMP2_Pos) /*!< 0x00000040 */
1711#define ADC_SMPR2_SMP2_1 (0x2U << ADC_SMPR2_SMP2_Pos) /*!< 0x00000080 */
1712#define ADC_SMPR2_SMP2_2 (0x4U << ADC_SMPR2_SMP2_Pos) /*!< 0x00000100 */
1713#define ADC_SMPR2_SMP3_Pos (9U)
1714#define ADC_SMPR2_SMP3_Msk (0x7U << ADC_SMPR2_SMP3_Pos) /*!< 0x00000E00 */
1715#define ADC_SMPR2_SMP3 ADC_SMPR2_SMP3_Msk /*!<SMP3[2:0] bits (Channel 3 Sample time selection) */
1716#define ADC_SMPR2_SMP3_0 (0x1U << ADC_SMPR2_SMP3_Pos) /*!< 0x00000200 */
1717#define ADC_SMPR2_SMP3_1 (0x2U << ADC_SMPR2_SMP3_Pos) /*!< 0x00000400 */
1718#define ADC_SMPR2_SMP3_2 (0x4U << ADC_SMPR2_SMP3_Pos) /*!< 0x00000800 */
1719#define ADC_SMPR2_SMP4_Pos (12U)
1720#define ADC_SMPR2_SMP4_Msk (0x7U << ADC_SMPR2_SMP4_Pos) /*!< 0x00007000 */
1721#define ADC_SMPR2_SMP4 ADC_SMPR2_SMP4_Msk /*!<SMP4[2:0] bits (Channel 4 Sample time selection) */
1722#define ADC_SMPR2_SMP4_0 (0x1U << ADC_SMPR2_SMP4_Pos) /*!< 0x00001000 */
1723#define ADC_SMPR2_SMP4_1 (0x2U << ADC_SMPR2_SMP4_Pos) /*!< 0x00002000 */
1724#define ADC_SMPR2_SMP4_2 (0x4U << ADC_SMPR2_SMP4_Pos) /*!< 0x00004000 */
1725#define ADC_SMPR2_SMP5_Pos (15U)
1726#define ADC_SMPR2_SMP5_Msk (0x7U << ADC_SMPR2_SMP5_Pos) /*!< 0x00038000 */
1727#define ADC_SMPR2_SMP5 ADC_SMPR2_SMP5_Msk /*!<SMP5[2:0] bits (Channel 5 Sample time selection) */
1728#define ADC_SMPR2_SMP5_0 (0x1U << ADC_SMPR2_SMP5_Pos) /*!< 0x00008000 */
1729#define ADC_SMPR2_SMP5_1 (0x2U << ADC_SMPR2_SMP5_Pos) /*!< 0x00010000 */
1730#define ADC_SMPR2_SMP5_2 (0x4U << ADC_SMPR2_SMP5_Pos) /*!< 0x00020000 */
1731#define ADC_SMPR2_SMP6_Pos (18U)
1732#define ADC_SMPR2_SMP6_Msk (0x7U << ADC_SMPR2_SMP6_Pos) /*!< 0x001C0000 */
1733#define ADC_SMPR2_SMP6 ADC_SMPR2_SMP6_Msk /*!<SMP6[2:0] bits (Channel 6 Sample time selection) */
1734#define ADC_SMPR2_SMP6_0 (0x1U << ADC_SMPR2_SMP6_Pos) /*!< 0x00040000 */
1735#define ADC_SMPR2_SMP6_1 (0x2U << ADC_SMPR2_SMP6_Pos) /*!< 0x00080000 */
1736#define ADC_SMPR2_SMP6_2 (0x4U << ADC_SMPR2_SMP6_Pos) /*!< 0x00100000 */
1737#define ADC_SMPR2_SMP7_Pos (21U)
1738#define ADC_SMPR2_SMP7_Msk (0x7U << ADC_SMPR2_SMP7_Pos) /*!< 0x00E00000 */
1739#define ADC_SMPR2_SMP7 ADC_SMPR2_SMP7_Msk /*!<SMP7[2:0] bits (Channel 7 Sample time selection) */
1740#define ADC_SMPR2_SMP7_0 (0x1U << ADC_SMPR2_SMP7_Pos) /*!< 0x00200000 */
1741#define ADC_SMPR2_SMP7_1 (0x2U << ADC_SMPR2_SMP7_Pos) /*!< 0x00400000 */
1742#define ADC_SMPR2_SMP7_2 (0x4U << ADC_SMPR2_SMP7_Pos) /*!< 0x00800000 */
1743#define ADC_SMPR2_SMP8_Pos (24U)
1744#define ADC_SMPR2_SMP8_Msk (0x7U << ADC_SMPR2_SMP8_Pos) /*!< 0x07000000 */
1745#define ADC_SMPR2_SMP8 ADC_SMPR2_SMP8_Msk /*!<SMP8[2:0] bits (Channel 8 Sample time selection) */
1746#define ADC_SMPR2_SMP8_0 (0x1U << ADC_SMPR2_SMP8_Pos) /*!< 0x01000000 */
1747#define ADC_SMPR2_SMP8_1 (0x2U << ADC_SMPR2_SMP8_Pos) /*!< 0x02000000 */
1748#define ADC_SMPR2_SMP8_2 (0x4U << ADC_SMPR2_SMP8_Pos) /*!< 0x04000000 */
1749#define ADC_SMPR2_SMP9_Pos (27U)
1750#define ADC_SMPR2_SMP9_Msk (0x7U << ADC_SMPR2_SMP9_Pos) /*!< 0x38000000 */
1751#define ADC_SMPR2_SMP9 ADC_SMPR2_SMP9_Msk /*!<SMP9[2:0] bits (Channel 9 Sample time selection) */
1752#define ADC_SMPR2_SMP9_0 (0x1U << ADC_SMPR2_SMP9_Pos) /*!< 0x08000000 */
1753#define ADC_SMPR2_SMP9_1 (0x2U << ADC_SMPR2_SMP9_Pos) /*!< 0x10000000 */
1754#define ADC_SMPR2_SMP9_2 (0x4U << ADC_SMPR2_SMP9_Pos) /*!< 0x20000000 */
1755
1756/****************** Bit definition for ADC_JOFR1 register *******************/
1757#define ADC_JOFR1_JOFFSET1_Pos (0U)
1758#define ADC_JOFR1_JOFFSET1_Msk (0xFFFU << ADC_JOFR1_JOFFSET1_Pos) /*!< 0x00000FFF */
1759#define ADC_JOFR1_JOFFSET1 ADC_JOFR1_JOFFSET1_Msk /*!<Data offset for injected channel 1 */
1760
1761/****************** Bit definition for ADC_JOFR2 register *******************/
1762#define ADC_JOFR2_JOFFSET2_Pos (0U)
1763#define ADC_JOFR2_JOFFSET2_Msk (0xFFFU << ADC_JOFR2_JOFFSET2_Pos) /*!< 0x00000FFF */
1764#define ADC_JOFR2_JOFFSET2 ADC_JOFR2_JOFFSET2_Msk /*!<Data offset for injected channel 2 */
1765
1766/****************** Bit definition for ADC_JOFR3 register *******************/
1767#define ADC_JOFR3_JOFFSET3_Pos (0U)
1768#define ADC_JOFR3_JOFFSET3_Msk (0xFFFU << ADC_JOFR3_JOFFSET3_Pos) /*!< 0x00000FFF */
1769#define ADC_JOFR3_JOFFSET3 ADC_JOFR3_JOFFSET3_Msk /*!<Data offset for injected channel 3 */
1770
1771/****************** Bit definition for ADC_JOFR4 register *******************/
1772#define ADC_JOFR4_JOFFSET4_Pos (0U)
1773#define ADC_JOFR4_JOFFSET4_Msk (0xFFFU << ADC_JOFR4_JOFFSET4_Pos) /*!< 0x00000FFF */
1774#define ADC_JOFR4_JOFFSET4 ADC_JOFR4_JOFFSET4_Msk /*!<Data offset for injected channel 4 */
1775
1776/******************* Bit definition for ADC_HTR register ********************/
1777#define ADC_HTR_HT_Pos (0U)
1778#define ADC_HTR_HT_Msk (0xFFFU << ADC_HTR_HT_Pos) /*!< 0x00000FFF */
1779#define ADC_HTR_HT ADC_HTR_HT_Msk /*!<Analog watchdog high threshold */
1780
1781/******************* Bit definition for ADC_LTR register ********************/
1782#define ADC_LTR_LT_Pos (0U)
1783#define ADC_LTR_LT_Msk (0xFFFU << ADC_LTR_LT_Pos) /*!< 0x00000FFF */
1784#define ADC_LTR_LT ADC_LTR_LT_Msk /*!<Analog watchdog low threshold */
1785
1786/******************* Bit definition for ADC_SQR1 register *******************/
1787#define ADC_SQR1_SQ13_Pos (0U)
1788#define ADC_SQR1_SQ13_Msk (0x1FU << ADC_SQR1_SQ13_Pos) /*!< 0x0000001F */
1789#define ADC_SQR1_SQ13 ADC_SQR1_SQ13_Msk /*!<SQ13[4:0] bits (13th conversion in regular sequence) */
1790#define ADC_SQR1_SQ13_0 (0x01U << ADC_SQR1_SQ13_Pos) /*!< 0x00000001 */
1791#define ADC_SQR1_SQ13_1 (0x02U << ADC_SQR1_SQ13_Pos) /*!< 0x00000002 */
1792#define ADC_SQR1_SQ13_2 (0x04U << ADC_SQR1_SQ13_Pos) /*!< 0x00000004 */
1793#define ADC_SQR1_SQ13_3 (0x08U << ADC_SQR1_SQ13_Pos) /*!< 0x00000008 */
1794#define ADC_SQR1_SQ13_4 (0x10U << ADC_SQR1_SQ13_Pos) /*!< 0x00000010 */
1795#define ADC_SQR1_SQ14_Pos (5U)
1796#define ADC_SQR1_SQ14_Msk (0x1FU << ADC_SQR1_SQ14_Pos) /*!< 0x000003E0 */
1797#define ADC_SQR1_SQ14 ADC_SQR1_SQ14_Msk /*!<SQ14[4:0] bits (14th conversion in regular sequence) */
1798#define ADC_SQR1_SQ14_0 (0x01U << ADC_SQR1_SQ14_Pos) /*!< 0x00000020 */
1799#define ADC_SQR1_SQ14_1 (0x02U << ADC_SQR1_SQ14_Pos) /*!< 0x00000040 */
1800#define ADC_SQR1_SQ14_2 (0x04U << ADC_SQR1_SQ14_Pos) /*!< 0x00000080 */
1801#define ADC_SQR1_SQ14_3 (0x08U << ADC_SQR1_SQ14_Pos) /*!< 0x00000100 */
1802#define ADC_SQR1_SQ14_4 (0x10U << ADC_SQR1_SQ14_Pos) /*!< 0x00000200 */
1803#define ADC_SQR1_SQ15_Pos (10U)
1804#define ADC_SQR1_SQ15_Msk (0x1FU << ADC_SQR1_SQ15_Pos) /*!< 0x00007C00 */
1805#define ADC_SQR1_SQ15 ADC_SQR1_SQ15_Msk /*!<SQ15[4:0] bits (15th conversion in regular sequence) */
1806#define ADC_SQR1_SQ15_0 (0x01U << ADC_SQR1_SQ15_Pos) /*!< 0x00000400 */
1807#define ADC_SQR1_SQ15_1 (0x02U << ADC_SQR1_SQ15_Pos) /*!< 0x00000800 */
1808#define ADC_SQR1_SQ15_2 (0x04U << ADC_SQR1_SQ15_Pos) /*!< 0x00001000 */
1809#define ADC_SQR1_SQ15_3 (0x08U << ADC_SQR1_SQ15_Pos) /*!< 0x00002000 */
1810#define ADC_SQR1_SQ15_4 (0x10U << ADC_SQR1_SQ15_Pos) /*!< 0x00004000 */
1811#define ADC_SQR1_SQ16_Pos (15U)
1812#define ADC_SQR1_SQ16_Msk (0x1FU << ADC_SQR1_SQ16_Pos) /*!< 0x000F8000 */
1813#define ADC_SQR1_SQ16 ADC_SQR1_SQ16_Msk /*!<SQ16[4:0] bits (16th conversion in regular sequence) */
1814#define ADC_SQR1_SQ16_0 (0x01U << ADC_SQR1_SQ16_Pos) /*!< 0x00008000 */
1815#define ADC_SQR1_SQ16_1 (0x02U << ADC_SQR1_SQ16_Pos) /*!< 0x00010000 */
1816#define ADC_SQR1_SQ16_2 (0x04U << ADC_SQR1_SQ16_Pos) /*!< 0x00020000 */
1817#define ADC_SQR1_SQ16_3 (0x08U << ADC_SQR1_SQ16_Pos) /*!< 0x00040000 */
1818#define ADC_SQR1_SQ16_4 (0x10U << ADC_SQR1_SQ16_Pos) /*!< 0x00080000 */
1819#define ADC_SQR1_L_Pos (20U)
1820#define ADC_SQR1_L_Msk (0xFU << ADC_SQR1_L_Pos) /*!< 0x00F00000 */
1821#define ADC_SQR1_L ADC_SQR1_L_Msk /*!<L[3:0] bits (Regular channel sequence length) */
1822#define ADC_SQR1_L_0 (0x1U << ADC_SQR1_L_Pos) /*!< 0x00100000 */
1823#define ADC_SQR1_L_1 (0x2U << ADC_SQR1_L_Pos) /*!< 0x00200000 */
1824#define ADC_SQR1_L_2 (0x4U << ADC_SQR1_L_Pos) /*!< 0x00400000 */
1825#define ADC_SQR1_L_3 (0x8U << ADC_SQR1_L_Pos) /*!< 0x00800000 */
1826
1827/******************* Bit definition for ADC_SQR2 register *******************/
1828#define ADC_SQR2_SQ7_Pos (0U)
1829#define ADC_SQR2_SQ7_Msk (0x1FU << ADC_SQR2_SQ7_Pos) /*!< 0x0000001F */
1830#define ADC_SQR2_SQ7 ADC_SQR2_SQ7_Msk /*!<SQ7[4:0] bits (7th conversion in regular sequence) */
1831#define ADC_SQR2_SQ7_0 (0x01U << ADC_SQR2_SQ7_Pos) /*!< 0x00000001 */
1832#define ADC_SQR2_SQ7_1 (0x02U << ADC_SQR2_SQ7_Pos) /*!< 0x00000002 */
1833#define ADC_SQR2_SQ7_2 (0x04U << ADC_SQR2_SQ7_Pos) /*!< 0x00000004 */
1834#define ADC_SQR2_SQ7_3 (0x08U << ADC_SQR2_SQ7_Pos) /*!< 0x00000008 */
1835#define ADC_SQR2_SQ7_4 (0x10U << ADC_SQR2_SQ7_Pos) /*!< 0x00000010 */
1836#define ADC_SQR2_SQ8_Pos (5U)
1837#define ADC_SQR2_SQ8_Msk (0x1FU << ADC_SQR2_SQ8_Pos) /*!< 0x000003E0 */
1838#define ADC_SQR2_SQ8 ADC_SQR2_SQ8_Msk /*!<SQ8[4:0] bits (8th conversion in regular sequence) */
1839#define ADC_SQR2_SQ8_0 (0x01U << ADC_SQR2_SQ8_Pos) /*!< 0x00000020 */
1840#define ADC_SQR2_SQ8_1 (0x02U << ADC_SQR2_SQ8_Pos) /*!< 0x00000040 */
1841#define ADC_SQR2_SQ8_2 (0x04U << ADC_SQR2_SQ8_Pos) /*!< 0x00000080 */
1842#define ADC_SQR2_SQ8_3 (0x08U << ADC_SQR2_SQ8_Pos) /*!< 0x00000100 */
1843#define ADC_SQR2_SQ8_4 (0x10U << ADC_SQR2_SQ8_Pos) /*!< 0x00000200 */
1844#define ADC_SQR2_SQ9_Pos (10U)
1845#define ADC_SQR2_SQ9_Msk (0x1FU << ADC_SQR2_SQ9_Pos) /*!< 0x00007C00 */
1846#define ADC_SQR2_SQ9 ADC_SQR2_SQ9_Msk /*!<SQ9[4:0] bits (9th conversion in regular sequence) */
1847#define ADC_SQR2_SQ9_0 (0x01U << ADC_SQR2_SQ9_Pos) /*!< 0x00000400 */
1848#define ADC_SQR2_SQ9_1 (0x02U << ADC_SQR2_SQ9_Pos) /*!< 0x00000800 */
1849#define ADC_SQR2_SQ9_2 (0x04U << ADC_SQR2_SQ9_Pos) /*!< 0x00001000 */
1850#define ADC_SQR2_SQ9_3 (0x08U << ADC_SQR2_SQ9_Pos) /*!< 0x00002000 */
1851#define ADC_SQR2_SQ9_4 (0x10U << ADC_SQR2_SQ9_Pos) /*!< 0x00004000 */
1852#define ADC_SQR2_SQ10_Pos (15U)
1853#define ADC_SQR2_SQ10_Msk (0x1FU << ADC_SQR2_SQ10_Pos) /*!< 0x000F8000 */
1854#define ADC_SQR2_SQ10 ADC_SQR2_SQ10_Msk /*!<SQ10[4:0] bits (10th conversion in regular sequence) */
1855#define ADC_SQR2_SQ10_0 (0x01U << ADC_SQR2_SQ10_Pos) /*!< 0x00008000 */
1856#define ADC_SQR2_SQ10_1 (0x02U << ADC_SQR2_SQ10_Pos) /*!< 0x00010000 */
1857#define ADC_SQR2_SQ10_2 (0x04U << ADC_SQR2_SQ10_Pos) /*!< 0x00020000 */
1858#define ADC_SQR2_SQ10_3 (0x08U << ADC_SQR2_SQ10_Pos) /*!< 0x00040000 */
1859#define ADC_SQR2_SQ10_4 (0x10U << ADC_SQR2_SQ10_Pos) /*!< 0x00080000 */
1860#define ADC_SQR2_SQ11_Pos (20U)
1861#define ADC_SQR2_SQ11_Msk (0x1FU << ADC_SQR2_SQ11_Pos) /*!< 0x01F00000 */
1862#define ADC_SQR2_SQ11 ADC_SQR2_SQ11_Msk /*!<SQ11[4:0] bits (11th conversion in regular sequence) */
1863#define ADC_SQR2_SQ11_0 (0x01U << ADC_SQR2_SQ11_Pos) /*!< 0x00100000 */
1864#define ADC_SQR2_SQ11_1 (0x02U << ADC_SQR2_SQ11_Pos) /*!< 0x00200000 */
1865#define ADC_SQR2_SQ11_2 (0x04U << ADC_SQR2_SQ11_Pos) /*!< 0x00400000 */
1866#define ADC_SQR2_SQ11_3 (0x08U << ADC_SQR2_SQ11_Pos) /*!< 0x00800000 */
1867#define ADC_SQR2_SQ11_4 (0x10U << ADC_SQR2_SQ11_Pos) /*!< 0x01000000 */
1868#define ADC_SQR2_SQ12_Pos (25U)
1869#define ADC_SQR2_SQ12_Msk (0x1FU << ADC_SQR2_SQ12_Pos) /*!< 0x3E000000 */
1870#define ADC_SQR2_SQ12 ADC_SQR2_SQ12_Msk /*!<SQ12[4:0] bits (12th conversion in regular sequence) */
1871#define ADC_SQR2_SQ12_0 (0x01U << ADC_SQR2_SQ12_Pos) /*!< 0x02000000 */
1872#define ADC_SQR2_SQ12_1 (0x02U << ADC_SQR2_SQ12_Pos) /*!< 0x04000000 */
1873#define ADC_SQR2_SQ12_2 (0x04U << ADC_SQR2_SQ12_Pos) /*!< 0x08000000 */
1874#define ADC_SQR2_SQ12_3 (0x08U << ADC_SQR2_SQ12_Pos) /*!< 0x10000000 */
1875#define ADC_SQR2_SQ12_4 (0x10U << ADC_SQR2_SQ12_Pos) /*!< 0x20000000 */
1876
1877/******************* Bit definition for ADC_SQR3 register *******************/
1878#define ADC_SQR3_SQ1_Pos (0U)
1879#define ADC_SQR3_SQ1_Msk (0x1FU << ADC_SQR3_SQ1_Pos) /*!< 0x0000001F */
1880#define ADC_SQR3_SQ1 ADC_SQR3_SQ1_Msk /*!<SQ1[4:0] bits (1st conversion in regular sequence) */
1881#define ADC_SQR3_SQ1_0 (0x01U << ADC_SQR3_SQ1_Pos) /*!< 0x00000001 */
1882#define ADC_SQR3_SQ1_1 (0x02U << ADC_SQR3_SQ1_Pos) /*!< 0x00000002 */
1883#define ADC_SQR3_SQ1_2 (0x04U << ADC_SQR3_SQ1_Pos) /*!< 0x00000004 */
1884#define ADC_SQR3_SQ1_3 (0x08U << ADC_SQR3_SQ1_Pos) /*!< 0x00000008 */
1885#define ADC_SQR3_SQ1_4 (0x10U << ADC_SQR3_SQ1_Pos) /*!< 0x00000010 */
1886#define ADC_SQR3_SQ2_Pos (5U)
1887#define ADC_SQR3_SQ2_Msk (0x1FU << ADC_SQR3_SQ2_Pos) /*!< 0x000003E0 */
1888#define ADC_SQR3_SQ2 ADC_SQR3_SQ2_Msk /*!<SQ2[4:0] bits (2nd conversion in regular sequence) */
1889#define ADC_SQR3_SQ2_0 (0x01U << ADC_SQR3_SQ2_Pos) /*!< 0x00000020 */
1890#define ADC_SQR3_SQ2_1 (0x02U << ADC_SQR3_SQ2_Pos) /*!< 0x00000040 */
1891#define ADC_SQR3_SQ2_2 (0x04U << ADC_SQR3_SQ2_Pos) /*!< 0x00000080 */
1892#define ADC_SQR3_SQ2_3 (0x08U << ADC_SQR3_SQ2_Pos) /*!< 0x00000100 */
1893#define ADC_SQR3_SQ2_4 (0x10U << ADC_SQR3_SQ2_Pos) /*!< 0x00000200 */
1894#define ADC_SQR3_SQ3_Pos (10U)
1895#define ADC_SQR3_SQ3_Msk (0x1FU << ADC_SQR3_SQ3_Pos) /*!< 0x00007C00 */
1896#define ADC_SQR3_SQ3 ADC_SQR3_SQ3_Msk /*!<SQ3[4:0] bits (3rd conversion in regular sequence) */
1897#define ADC_SQR3_SQ3_0 (0x01U << ADC_SQR3_SQ3_Pos) /*!< 0x00000400 */
1898#define ADC_SQR3_SQ3_1 (0x02U << ADC_SQR3_SQ3_Pos) /*!< 0x00000800 */
1899#define ADC_SQR3_SQ3_2 (0x04U << ADC_SQR3_SQ3_Pos) /*!< 0x00001000 */
1900#define ADC_SQR3_SQ3_3 (0x08U << ADC_SQR3_SQ3_Pos) /*!< 0x00002000 */
1901#define ADC_SQR3_SQ3_4 (0x10U << ADC_SQR3_SQ3_Pos) /*!< 0x00004000 */
1902#define ADC_SQR3_SQ4_Pos (15U)
1903#define ADC_SQR3_SQ4_Msk (0x1FU << ADC_SQR3_SQ4_Pos) /*!< 0x000F8000 */
1904#define ADC_SQR3_SQ4 ADC_SQR3_SQ4_Msk /*!<SQ4[4:0] bits (4th conversion in regular sequence) */
1905#define ADC_SQR3_SQ4_0 (0x01U << ADC_SQR3_SQ4_Pos) /*!< 0x00008000 */
1906#define ADC_SQR3_SQ4_1 (0x02U << ADC_SQR3_SQ4_Pos) /*!< 0x00010000 */
1907#define ADC_SQR3_SQ4_2 (0x04U << ADC_SQR3_SQ4_Pos) /*!< 0x00020000 */
1908#define ADC_SQR3_SQ4_3 (0x08U << ADC_SQR3_SQ4_Pos) /*!< 0x00040000 */
1909#define ADC_SQR3_SQ4_4 (0x10U << ADC_SQR3_SQ4_Pos) /*!< 0x00080000 */
1910#define ADC_SQR3_SQ5_Pos (20U)
1911#define ADC_SQR3_SQ5_Msk (0x1FU << ADC_SQR3_SQ5_Pos) /*!< 0x01F00000 */
1912#define ADC_SQR3_SQ5 ADC_SQR3_SQ5_Msk /*!<SQ5[4:0] bits (5th conversion in regular sequence) */
1913#define ADC_SQR3_SQ5_0 (0x01U << ADC_SQR3_SQ5_Pos) /*!< 0x00100000 */
1914#define ADC_SQR3_SQ5_1 (0x02U << ADC_SQR3_SQ5_Pos) /*!< 0x00200000 */
1915#define ADC_SQR3_SQ5_2 (0x04U << ADC_SQR3_SQ5_Pos) /*!< 0x00400000 */
1916#define ADC_SQR3_SQ5_3 (0x08U << ADC_SQR3_SQ5_Pos) /*!< 0x00800000 */
1917#define ADC_SQR3_SQ5_4 (0x10U << ADC_SQR3_SQ5_Pos) /*!< 0x01000000 */
1918#define ADC_SQR3_SQ6_Pos (25U)
1919#define ADC_SQR3_SQ6_Msk (0x1FU << ADC_SQR3_SQ6_Pos) /*!< 0x3E000000 */
1920#define ADC_SQR3_SQ6 ADC_SQR3_SQ6_Msk /*!<SQ6[4:0] bits (6th conversion in regular sequence) */
1921#define ADC_SQR3_SQ6_0 (0x01U << ADC_SQR3_SQ6_Pos) /*!< 0x02000000 */
1922#define ADC_SQR3_SQ6_1 (0x02U << ADC_SQR3_SQ6_Pos) /*!< 0x04000000 */
1923#define ADC_SQR3_SQ6_2 (0x04U << ADC_SQR3_SQ6_Pos) /*!< 0x08000000 */
1924#define ADC_SQR3_SQ6_3 (0x08U << ADC_SQR3_SQ6_Pos) /*!< 0x10000000 */
1925#define ADC_SQR3_SQ6_4 (0x10U << ADC_SQR3_SQ6_Pos) /*!< 0x20000000 */
1926
1927/******************* Bit definition for ADC_JSQR register *******************/
1928#define ADC_JSQR_JSQ1_Pos (0U)
1929#define ADC_JSQR_JSQ1_Msk (0x1FU << ADC_JSQR_JSQ1_Pos) /*!< 0x0000001F */
1930#define ADC_JSQR_JSQ1 ADC_JSQR_JSQ1_Msk /*!<JSQ1[4:0] bits (1st conversion in injected sequence) */
1931#define ADC_JSQR_JSQ1_0 (0x01U << ADC_JSQR_JSQ1_Pos) /*!< 0x00000001 */
1932#define ADC_JSQR_JSQ1_1 (0x02U << ADC_JSQR_JSQ1_Pos) /*!< 0x00000002 */
1933#define ADC_JSQR_JSQ1_2 (0x04U << ADC_JSQR_JSQ1_Pos) /*!< 0x00000004 */
1934#define ADC_JSQR_JSQ1_3 (0x08U << ADC_JSQR_JSQ1_Pos) /*!< 0x00000008 */
1935#define ADC_JSQR_JSQ1_4 (0x10U << ADC_JSQR_JSQ1_Pos) /*!< 0x00000010 */
1936#define ADC_JSQR_JSQ2_Pos (5U)
1937#define ADC_JSQR_JSQ2_Msk (0x1FU << ADC_JSQR_JSQ2_Pos) /*!< 0x000003E0 */
1938#define ADC_JSQR_JSQ2 ADC_JSQR_JSQ2_Msk /*!<JSQ2[4:0] bits (2nd conversion in injected sequence) */
1939#define ADC_JSQR_JSQ2_0 (0x01U << ADC_JSQR_JSQ2_Pos) /*!< 0x00000020 */
1940#define ADC_JSQR_JSQ2_1 (0x02U << ADC_JSQR_JSQ2_Pos) /*!< 0x00000040 */
1941#define ADC_JSQR_JSQ2_2 (0x04U << ADC_JSQR_JSQ2_Pos) /*!< 0x00000080 */
1942#define ADC_JSQR_JSQ2_3 (0x08U << ADC_JSQR_JSQ2_Pos) /*!< 0x00000100 */
1943#define ADC_JSQR_JSQ2_4 (0x10U << ADC_JSQR_JSQ2_Pos) /*!< 0x00000200 */
1944#define ADC_JSQR_JSQ3_Pos (10U)
1945#define ADC_JSQR_JSQ3_Msk (0x1FU << ADC_JSQR_JSQ3_Pos) /*!< 0x00007C00 */
1946#define ADC_JSQR_JSQ3 ADC_JSQR_JSQ3_Msk /*!<JSQ3[4:0] bits (3rd conversion in injected sequence) */
1947#define ADC_JSQR_JSQ3_0 (0x01U << ADC_JSQR_JSQ3_Pos) /*!< 0x00000400 */
1948#define ADC_JSQR_JSQ3_1 (0x02U << ADC_JSQR_JSQ3_Pos) /*!< 0x00000800 */
1949#define ADC_JSQR_JSQ3_2 (0x04U << ADC_JSQR_JSQ3_Pos) /*!< 0x00001000 */
1950#define ADC_JSQR_JSQ3_3 (0x08U << ADC_JSQR_JSQ3_Pos) /*!< 0x00002000 */
1951#define ADC_JSQR_JSQ3_4 (0x10U << ADC_JSQR_JSQ3_Pos) /*!< 0x00004000 */
1952#define ADC_JSQR_JSQ4_Pos (15U)
1953#define ADC_JSQR_JSQ4_Msk (0x1FU << ADC_JSQR_JSQ4_Pos) /*!< 0x000F8000 */
1954#define ADC_JSQR_JSQ4 ADC_JSQR_JSQ4_Msk /*!<JSQ4[4:0] bits (4th conversion in injected sequence) */
1955#define ADC_JSQR_JSQ4_0 (0x01U << ADC_JSQR_JSQ4_Pos) /*!< 0x00008000 */
1956#define ADC_JSQR_JSQ4_1 (0x02U << ADC_JSQR_JSQ4_Pos) /*!< 0x00010000 */
1957#define ADC_JSQR_JSQ4_2 (0x04U << ADC_JSQR_JSQ4_Pos) /*!< 0x00020000 */
1958#define ADC_JSQR_JSQ4_3 (0x08U << ADC_JSQR_JSQ4_Pos) /*!< 0x00040000 */
1959#define ADC_JSQR_JSQ4_4 (0x10U << ADC_JSQR_JSQ4_Pos) /*!< 0x00080000 */
1960#define ADC_JSQR_JL_Pos (20U)
1961#define ADC_JSQR_JL_Msk (0x3U << ADC_JSQR_JL_Pos) /*!< 0x00300000 */
1962#define ADC_JSQR_JL ADC_JSQR_JL_Msk /*!<JL[1:0] bits (Injected Sequence length) */
1963#define ADC_JSQR_JL_0 (0x1U << ADC_JSQR_JL_Pos) /*!< 0x00100000 */
1964#define ADC_JSQR_JL_1 (0x2U << ADC_JSQR_JL_Pos) /*!< 0x00200000 */
1965
1966/******************* Bit definition for ADC_JDR1 register *******************/
1967#define ADC_JDR1_JDATA ((uint16_t)0xFFFFU) /*!<Injected data */
1968
1969/******************* Bit definition for ADC_JDR2 register *******************/
1970#define ADC_JDR2_JDATA ((uint16_t)0xFFFFU) /*!<Injected data */
1971
1972/******************* Bit definition for ADC_JDR3 register *******************/
1973#define ADC_JDR3_JDATA ((uint16_t)0xFFFFU) /*!<Injected data */
1974
1975/******************* Bit definition for ADC_JDR4 register *******************/
1976#define ADC_JDR4_JDATA ((uint16_t)0xFFFFU) /*!<Injected data */
1977
1978/******************** Bit definition for ADC_DR register ********************/
1979#define ADC_DR_DATA_Pos (0U)
1980#define ADC_DR_DATA_Msk (0xFFFFU << ADC_DR_DATA_Pos) /*!< 0x0000FFFF */
1981#define ADC_DR_DATA ADC_DR_DATA_Msk /*!<Regular data */
1982#define ADC_DR_ADC2DATA_Pos (16U)
1983#define ADC_DR_ADC2DATA_Msk (0xFFFFU << ADC_DR_ADC2DATA_Pos) /*!< 0xFFFF0000 */
1984#define ADC_DR_ADC2DATA ADC_DR_ADC2DATA_Msk /*!<ADC2 data */
1985
1986/******************* Bit definition for ADC_CSR register ********************/
1987#define ADC_CSR_AWD1_Pos (0U)
1988#define ADC_CSR_AWD1_Msk (0x1U << ADC_CSR_AWD1_Pos) /*!< 0x00000001 */
1989#define ADC_CSR_AWD1 ADC_CSR_AWD1_Msk /*!<ADC1 Analog watchdog flag */
1990#define ADC_CSR_EOC1_Pos (1U)
1991#define ADC_CSR_EOC1_Msk (0x1U << ADC_CSR_EOC1_Pos) /*!< 0x00000002 */
1992#define ADC_CSR_EOC1 ADC_CSR_EOC1_Msk /*!<ADC1 End of conversion */
1993#define ADC_CSR_JEOC1_Pos (2U)
1994#define ADC_CSR_JEOC1_Msk (0x1U << ADC_CSR_JEOC1_Pos) /*!< 0x00000004 */
1995#define ADC_CSR_JEOC1 ADC_CSR_JEOC1_Msk /*!<ADC1 Injected channel end of conversion */
1996#define ADC_CSR_JSTRT1_Pos (3U)
1997#define ADC_CSR_JSTRT1_Msk (0x1U << ADC_CSR_JSTRT1_Pos) /*!< 0x00000008 */
1998#define ADC_CSR_JSTRT1 ADC_CSR_JSTRT1_Msk /*!<ADC1 Injected channel Start flag */
1999#define ADC_CSR_STRT1_Pos (4U)
2000#define ADC_CSR_STRT1_Msk (0x1U << ADC_CSR_STRT1_Pos) /*!< 0x00000010 */
2001#define ADC_CSR_STRT1 ADC_CSR_STRT1_Msk /*!<ADC1 Regular channel Start flag */
2002#define ADC_CSR_OVR1_Pos (5U)
2003#define ADC_CSR_OVR1_Msk (0x1U << ADC_CSR_OVR1_Pos) /*!< 0x00000020 */
2004#define ADC_CSR_OVR1 ADC_CSR_OVR1_Msk /*!<ADC1 Overrun flag */
2005#define ADC_CSR_AWD2_Pos (8U)
2006#define ADC_CSR_AWD2_Msk (0x1U << ADC_CSR_AWD2_Pos) /*!< 0x00000100 */
2007#define ADC_CSR_AWD2 ADC_CSR_AWD2_Msk /*!<ADC2 Analog watchdog flag */
2008#define ADC_CSR_EOC2_Pos (9U)
2009#define ADC_CSR_EOC2_Msk (0x1U << ADC_CSR_EOC2_Pos) /*!< 0x00000200 */
2010#define ADC_CSR_EOC2 ADC_CSR_EOC2_Msk /*!<ADC2 End of conversion */
2011#define ADC_CSR_JEOC2_Pos (10U)
2012#define ADC_CSR_JEOC2_Msk (0x1U << ADC_CSR_JEOC2_Pos) /*!< 0x00000400 */
2013#define ADC_CSR_JEOC2 ADC_CSR_JEOC2_Msk /*!<ADC2 Injected channel end of conversion */
2014#define ADC_CSR_JSTRT2_Pos (11U)
2015#define ADC_CSR_JSTRT2_Msk (0x1U << ADC_CSR_JSTRT2_Pos) /*!< 0x00000800 */
2016#define ADC_CSR_JSTRT2 ADC_CSR_JSTRT2_Msk /*!<ADC2 Injected channel Start flag */
2017#define ADC_CSR_STRT2_Pos (12U)
2018#define ADC_CSR_STRT2_Msk (0x1U << ADC_CSR_STRT2_Pos) /*!< 0x00001000 */
2019#define ADC_CSR_STRT2 ADC_CSR_STRT2_Msk /*!<ADC2 Regular channel Start flag */
2020#define ADC_CSR_OVR2_Pos (13U)
2021#define ADC_CSR_OVR2_Msk (0x1U << ADC_CSR_OVR2_Pos) /*!< 0x00002000 */
2022#define ADC_CSR_OVR2 ADC_CSR_OVR2_Msk /*!<ADC2 Overrun flag */
2023#define ADC_CSR_AWD3_Pos (16U)
2024#define ADC_CSR_AWD3_Msk (0x1U << ADC_CSR_AWD3_Pos) /*!< 0x00010000 */
2025#define ADC_CSR_AWD3 ADC_CSR_AWD3_Msk /*!<ADC3 Analog watchdog flag */
2026#define ADC_CSR_EOC3_Pos (17U)
2027#define ADC_CSR_EOC3_Msk (0x1U << ADC_CSR_EOC3_Pos) /*!< 0x00020000 */
2028#define ADC_CSR_EOC3 ADC_CSR_EOC3_Msk /*!<ADC3 End of conversion */
2029#define ADC_CSR_JEOC3_Pos (18U)
2030#define ADC_CSR_JEOC3_Msk (0x1U << ADC_CSR_JEOC3_Pos) /*!< 0x00040000 */
2031#define ADC_CSR_JEOC3 ADC_CSR_JEOC3_Msk /*!<ADC3 Injected channel end of conversion */
2032#define ADC_CSR_JSTRT3_Pos (19U)
2033#define ADC_CSR_JSTRT3_Msk (0x1U << ADC_CSR_JSTRT3_Pos) /*!< 0x00080000 */
2034#define ADC_CSR_JSTRT3 ADC_CSR_JSTRT3_Msk /*!<ADC3 Injected channel Start flag */
2035#define ADC_CSR_STRT3_Pos (20U)
2036#define ADC_CSR_STRT3_Msk (0x1U << ADC_CSR_STRT3_Pos) /*!< 0x00100000 */
2037#define ADC_CSR_STRT3 ADC_CSR_STRT3_Msk /*!<ADC3 Regular channel Start flag */
2038#define ADC_CSR_OVR3_Pos (21U)
2039#define ADC_CSR_OVR3_Msk (0x1U << ADC_CSR_OVR3_Pos) /*!< 0x00200000 */
2040#define ADC_CSR_OVR3 ADC_CSR_OVR3_Msk /*!<ADC3 Overrun flag */
2041
2042/* Legacy defines */
2043#define ADC_CSR_DOVR1 ADC_CSR_OVR1
2044#define ADC_CSR_DOVR2 ADC_CSR_OVR2
2045#define ADC_CSR_DOVR3 ADC_CSR_OVR3
2046
2047
2048/******************* Bit definition for ADC_CCR register ********************/
2049#define ADC_CCR_MULTI_Pos (0U)
2050#define ADC_CCR_MULTI_Msk (0x1FU << ADC_CCR_MULTI_Pos) /*!< 0x0000001F */
2051#define ADC_CCR_MULTI ADC_CCR_MULTI_Msk /*!<MULTI[4:0] bits (Multi-ADC mode selection) */
2052#define ADC_CCR_MULTI_0 (0x01U << ADC_CCR_MULTI_Pos) /*!< 0x00000001 */
2053#define ADC_CCR_MULTI_1 (0x02U << ADC_CCR_MULTI_Pos) /*!< 0x00000002 */
2054#define ADC_CCR_MULTI_2 (0x04U << ADC_CCR_MULTI_Pos) /*!< 0x00000004 */
2055#define ADC_CCR_MULTI_3 (0x08U << ADC_CCR_MULTI_Pos) /*!< 0x00000008 */
2056#define ADC_CCR_MULTI_4 (0x10U << ADC_CCR_MULTI_Pos) /*!< 0x00000010 */
2057#define ADC_CCR_DELAY_Pos (8U)
2058#define ADC_CCR_DELAY_Msk (0xFU << ADC_CCR_DELAY_Pos) /*!< 0x00000F00 */
2059#define ADC_CCR_DELAY ADC_CCR_DELAY_Msk /*!<DELAY[3:0] bits (Delay between 2 sampling phases) */
2060#define ADC_CCR_DELAY_0 (0x1U << ADC_CCR_DELAY_Pos) /*!< 0x00000100 */
2061#define ADC_CCR_DELAY_1 (0x2U << ADC_CCR_DELAY_Pos) /*!< 0x00000200 */
2062#define ADC_CCR_DELAY_2 (0x4U << ADC_CCR_DELAY_Pos) /*!< 0x00000400 */
2063#define ADC_CCR_DELAY_3 (0x8U << ADC_CCR_DELAY_Pos) /*!< 0x00000800 */
2064#define ADC_CCR_DDS_Pos (13U)
2065#define ADC_CCR_DDS_Msk (0x1U << ADC_CCR_DDS_Pos) /*!< 0x00002000 */
2066#define ADC_CCR_DDS ADC_CCR_DDS_Msk /*!<DMA disable selection (Multi-ADC mode) */
2067#define ADC_CCR_DMA_Pos (14U)
2068#define ADC_CCR_DMA_Msk (0x3U << ADC_CCR_DMA_Pos) /*!< 0x0000C000 */
2069#define ADC_CCR_DMA ADC_CCR_DMA_Msk /*!<DMA[1:0] bits (Direct Memory Access mode for multimode) */
2070#define ADC_CCR_DMA_0 (0x1U << ADC_CCR_DMA_Pos) /*!< 0x00004000 */
2071#define ADC_CCR_DMA_1 (0x2U << ADC_CCR_DMA_Pos) /*!< 0x00008000 */
2072#define ADC_CCR_ADCPRE_Pos (16U)
2073#define ADC_CCR_ADCPRE_Msk (0x3U << ADC_CCR_ADCPRE_Pos) /*!< 0x00030000 */
2074#define ADC_CCR_ADCPRE ADC_CCR_ADCPRE_Msk /*!<ADCPRE[1:0] bits (ADC prescaler) */
2075#define ADC_CCR_ADCPRE_0 (0x1U << ADC_CCR_ADCPRE_Pos) /*!< 0x00010000 */
2076#define ADC_CCR_ADCPRE_1 (0x2U << ADC_CCR_ADCPRE_Pos) /*!< 0x00020000 */
2077#define ADC_CCR_VBATE_Pos (22U)
2078#define ADC_CCR_VBATE_Msk (0x1U << ADC_CCR_VBATE_Pos) /*!< 0x00400000 */
2079#define ADC_CCR_VBATE ADC_CCR_VBATE_Msk /*!<VBAT Enable */
2080#define ADC_CCR_TSVREFE_Pos (23U)
2081#define ADC_CCR_TSVREFE_Msk (0x1U << ADC_CCR_TSVREFE_Pos) /*!< 0x00800000 */
2082#define ADC_CCR_TSVREFE ADC_CCR_TSVREFE_Msk /*!<Temperature Sensor and VREFINT Enable */
2083
2084/******************* Bit definition for ADC_CDR register ********************/
2085#define ADC_CDR_DATA1_Pos (0U)
2086#define ADC_CDR_DATA1_Msk (0xFFFFU << ADC_CDR_DATA1_Pos) /*!< 0x0000FFFF */
2087#define ADC_CDR_DATA1 ADC_CDR_DATA1_Msk /*!<1st data of a pair of regular conversions */
2088#define ADC_CDR_DATA2_Pos (16U)
2089#define ADC_CDR_DATA2_Msk (0xFFFFU << ADC_CDR_DATA2_Pos) /*!< 0xFFFF0000 */
2090#define ADC_CDR_DATA2 ADC_CDR_DATA2_Msk /*!<2nd data of a pair of regular conversions */
2091
2092/* Legacy defines */
2093#define ADC_CDR_RDATA_MST ADC_CDR_DATA1
2094#define ADC_CDR_RDATA_SLV ADC_CDR_DATA2
2095
2096/******************************************************************************/
2097/* */
2098/* Controller Area Network */
2099/* */
2100/******************************************************************************/
2101/*!<CAN control and status registers */
2102/******************* Bit definition for CAN_MCR register ********************/
2103#define CAN_MCR_INRQ_Pos (0U)
2104#define CAN_MCR_INRQ_Msk (0x1U << CAN_MCR_INRQ_Pos) /*!< 0x00000001 */
2105#define CAN_MCR_INRQ CAN_MCR_INRQ_Msk /*!<Initialization Request */
2106#define CAN_MCR_SLEEP_Pos (1U)
2107#define CAN_MCR_SLEEP_Msk (0x1U << CAN_MCR_SLEEP_Pos) /*!< 0x00000002 */
2108#define CAN_MCR_SLEEP CAN_MCR_SLEEP_Msk /*!<Sleep Mode Request */
2109#define CAN_MCR_TXFP_Pos (2U)
2110#define CAN_MCR_TXFP_Msk (0x1U << CAN_MCR_TXFP_Pos) /*!< 0x00000004 */
2111#define CAN_MCR_TXFP CAN_MCR_TXFP_Msk /*!<Transmit FIFO Priority */
2112#define CAN_MCR_RFLM_Pos (3U)
2113#define CAN_MCR_RFLM_Msk (0x1U << CAN_MCR_RFLM_Pos) /*!< 0x00000008 */
2114#define CAN_MCR_RFLM CAN_MCR_RFLM_Msk /*!<Receive FIFO Locked Mode */
2115#define CAN_MCR_NART_Pos (4U)
2116#define CAN_MCR_NART_Msk (0x1U << CAN_MCR_NART_Pos) /*!< 0x00000010 */
2117#define CAN_MCR_NART CAN_MCR_NART_Msk /*!<No Automatic Retransmission */
2118#define CAN_MCR_AWUM_Pos (5U)
2119#define CAN_MCR_AWUM_Msk (0x1U << CAN_MCR_AWUM_Pos) /*!< 0x00000020 */
2120#define CAN_MCR_AWUM CAN_MCR_AWUM_Msk /*!<Automatic Wakeup Mode */
2121#define CAN_MCR_ABOM_Pos (6U)
2122#define CAN_MCR_ABOM_Msk (0x1U << CAN_MCR_ABOM_Pos) /*!< 0x00000040 */
2123#define CAN_MCR_ABOM CAN_MCR_ABOM_Msk /*!<Automatic Bus-Off Management */
2124#define CAN_MCR_TTCM_Pos (7U)
2125#define CAN_MCR_TTCM_Msk (0x1U << CAN_MCR_TTCM_Pos) /*!< 0x00000080 */
2126#define CAN_MCR_TTCM CAN_MCR_TTCM_Msk /*!<Time Triggered Communication Mode */
2127#define CAN_MCR_RESET_Pos (15U)
2128#define CAN_MCR_RESET_Msk (0x1U << CAN_MCR_RESET_Pos) /*!< 0x00008000 */
2129#define CAN_MCR_RESET CAN_MCR_RESET_Msk /*!<bxCAN software master reset */
2130
2131/******************* Bit definition for CAN_MSR register ********************/
2132#define CAN_MSR_INAK_Pos (0U)
2133#define CAN_MSR_INAK_Msk (0x1U << CAN_MSR_INAK_Pos) /*!< 0x00000001 */
2134#define CAN_MSR_INAK CAN_MSR_INAK_Msk /*!<Initialization Acknowledge */
2135#define CAN_MSR_SLAK_Pos (1U)
2136#define CAN_MSR_SLAK_Msk (0x1U << CAN_MSR_SLAK_Pos) /*!< 0x00000002 */
2137#define CAN_MSR_SLAK CAN_MSR_SLAK_Msk /*!<Sleep Acknowledge */
2138#define CAN_MSR_ERRI_Pos (2U)
2139#define CAN_MSR_ERRI_Msk (0x1U << CAN_MSR_ERRI_Pos) /*!< 0x00000004 */
2140#define CAN_MSR_ERRI CAN_MSR_ERRI_Msk /*!<Error Interrupt */
2141#define CAN_MSR_WKUI_Pos (3U)
2142#define CAN_MSR_WKUI_Msk (0x1U << CAN_MSR_WKUI_Pos) /*!< 0x00000008 */
2143#define CAN_MSR_WKUI CAN_MSR_WKUI_Msk /*!<Wakeup Interrupt */
2144#define CAN_MSR_SLAKI_Pos (4U)
2145#define CAN_MSR_SLAKI_Msk (0x1U << CAN_MSR_SLAKI_Pos) /*!< 0x00000010 */
2146#define CAN_MSR_SLAKI CAN_MSR_SLAKI_Msk /*!<Sleep Acknowledge Interrupt */
2147#define CAN_MSR_TXM_Pos (8U)
2148#define CAN_MSR_TXM_Msk (0x1U << CAN_MSR_TXM_Pos) /*!< 0x00000100 */
2149#define CAN_MSR_TXM CAN_MSR_TXM_Msk /*!<Transmit Mode */
2150#define CAN_MSR_RXM_Pos (9U)
2151#define CAN_MSR_RXM_Msk (0x1U << CAN_MSR_RXM_Pos) /*!< 0x00000200 */
2152#define CAN_MSR_RXM CAN_MSR_RXM_Msk /*!<Receive Mode */
2153#define CAN_MSR_SAMP_Pos (10U)
2154#define CAN_MSR_SAMP_Msk (0x1U << CAN_MSR_SAMP_Pos) /*!< 0x00000400 */
2155#define CAN_MSR_SAMP CAN_MSR_SAMP_Msk /*!<Last Sample Point */
2156#define CAN_MSR_RX_Pos (11U)
2157#define CAN_MSR_RX_Msk (0x1U << CAN_MSR_RX_Pos) /*!< 0x00000800 */
2158#define CAN_MSR_RX CAN_MSR_RX_Msk /*!<CAN Rx Signal */
2159
2160/******************* Bit definition for CAN_TSR register ********************/
2161#define CAN_TSR_RQCP0_Pos (0U)
2162#define CAN_TSR_RQCP0_Msk (0x1U << CAN_TSR_RQCP0_Pos) /*!< 0x00000001 */
2163#define CAN_TSR_RQCP0 CAN_TSR_RQCP0_Msk /*!<Request Completed Mailbox0 */
2164#define CAN_TSR_TXOK0_Pos (1U)
2165#define CAN_TSR_TXOK0_Msk (0x1U << CAN_TSR_TXOK0_Pos) /*!< 0x00000002 */
2166#define CAN_TSR_TXOK0 CAN_TSR_TXOK0_Msk /*!<Transmission OK of Mailbox0 */
2167#define CAN_TSR_ALST0_Pos (2U)
2168#define CAN_TSR_ALST0_Msk (0x1U << CAN_TSR_ALST0_Pos) /*!< 0x00000004 */
2169#define CAN_TSR_ALST0 CAN_TSR_ALST0_Msk /*!<Arbitration Lost for Mailbox0 */
2170#define CAN_TSR_TERR0_Pos (3U)
2171#define CAN_TSR_TERR0_Msk (0x1U << CAN_TSR_TERR0_Pos) /*!< 0x00000008 */
2172#define CAN_TSR_TERR0 CAN_TSR_TERR0_Msk /*!<Transmission Error of Mailbox0 */
2173#define CAN_TSR_ABRQ0_Pos (7U)
2174#define CAN_TSR_ABRQ0_Msk (0x1U << CAN_TSR_ABRQ0_Pos) /*!< 0x00000080 */
2175#define CAN_TSR_ABRQ0 CAN_TSR_ABRQ0_Msk /*!<Abort Request for Mailbox0 */
2176#define CAN_TSR_RQCP1_Pos (8U)
2177#define CAN_TSR_RQCP1_Msk (0x1U << CAN_TSR_RQCP1_Pos) /*!< 0x00000100 */
2178#define CAN_TSR_RQCP1 CAN_TSR_RQCP1_Msk /*!<Request Completed Mailbox1 */
2179#define CAN_TSR_TXOK1_Pos (9U)
2180#define CAN_TSR_TXOK1_Msk (0x1U << CAN_TSR_TXOK1_Pos) /*!< 0x00000200 */
2181#define CAN_TSR_TXOK1 CAN_TSR_TXOK1_Msk /*!<Transmission OK of Mailbox1 */
2182#define CAN_TSR_ALST1_Pos (10U)
2183#define CAN_TSR_ALST1_Msk (0x1U << CAN_TSR_ALST1_Pos) /*!< 0x00000400 */
2184#define CAN_TSR_ALST1 CAN_TSR_ALST1_Msk /*!<Arbitration Lost for Mailbox1 */
2185#define CAN_TSR_TERR1_Pos (11U)
2186#define CAN_TSR_TERR1_Msk (0x1U << CAN_TSR_TERR1_Pos) /*!< 0x00000800 */
2187#define CAN_TSR_TERR1 CAN_TSR_TERR1_Msk /*!<Transmission Error of Mailbox1 */
2188#define CAN_TSR_ABRQ1_Pos (15U)
2189#define CAN_TSR_ABRQ1_Msk (0x1U << CAN_TSR_ABRQ1_Pos) /*!< 0x00008000 */
2190#define CAN_TSR_ABRQ1 CAN_TSR_ABRQ1_Msk /*!<Abort Request for Mailbox 1 */
2191#define CAN_TSR_RQCP2_Pos (16U)
2192#define CAN_TSR_RQCP2_Msk (0x1U << CAN_TSR_RQCP2_Pos) /*!< 0x00010000 */
2193#define CAN_TSR_RQCP2 CAN_TSR_RQCP2_Msk /*!<Request Completed Mailbox2 */
2194#define CAN_TSR_TXOK2_Pos (17U)
2195#define CAN_TSR_TXOK2_Msk (0x1U << CAN_TSR_TXOK2_Pos) /*!< 0x00020000 */
2196#define CAN_TSR_TXOK2 CAN_TSR_TXOK2_Msk /*!<Transmission OK of Mailbox 2 */
2197#define CAN_TSR_ALST2_Pos (18U)
2198#define CAN_TSR_ALST2_Msk (0x1U << CAN_TSR_ALST2_Pos) /*!< 0x00040000 */
2199#define CAN_TSR_ALST2 CAN_TSR_ALST2_Msk /*!<Arbitration Lost for mailbox 2 */
2200#define CAN_TSR_TERR2_Pos (19U)
2201#define CAN_TSR_TERR2_Msk (0x1U << CAN_TSR_TERR2_Pos) /*!< 0x00080000 */
2202#define CAN_TSR_TERR2 CAN_TSR_TERR2_Msk /*!<Transmission Error of Mailbox 2 */
2203#define CAN_TSR_ABRQ2_Pos (23U)
2204#define CAN_TSR_ABRQ2_Msk (0x1U << CAN_TSR_ABRQ2_Pos) /*!< 0x00800000 */
2205#define CAN_TSR_ABRQ2 CAN_TSR_ABRQ2_Msk /*!<Abort Request for Mailbox 2 */
2206#define CAN_TSR_CODE_Pos (24U)
2207#define CAN_TSR_CODE_Msk (0x3U << CAN_TSR_CODE_Pos) /*!< 0x03000000 */
2208#define CAN_TSR_CODE CAN_TSR_CODE_Msk /*!<Mailbox Code */
2209
2210#define CAN_TSR_TME_Pos (26U)
2211#define CAN_TSR_TME_Msk (0x7U << CAN_TSR_TME_Pos) /*!< 0x1C000000 */
2212#define CAN_TSR_TME CAN_TSR_TME_Msk /*!<TME[2:0] bits */
2213#define CAN_TSR_TME0_Pos (26U)
2214#define CAN_TSR_TME0_Msk (0x1U << CAN_TSR_TME0_Pos) /*!< 0x04000000 */
2215#define CAN_TSR_TME0 CAN_TSR_TME0_Msk /*!<Transmit Mailbox 0 Empty */
2216#define CAN_TSR_TME1_Pos (27U)
2217#define CAN_TSR_TME1_Msk (0x1U << CAN_TSR_TME1_Pos) /*!< 0x08000000 */
2218#define CAN_TSR_TME1 CAN_TSR_TME1_Msk /*!<Transmit Mailbox 1 Empty */
2219#define CAN_TSR_TME2_Pos (28U)
2220#define CAN_TSR_TME2_Msk (0x1U << CAN_TSR_TME2_Pos) /*!< 0x10000000 */
2221#define CAN_TSR_TME2 CAN_TSR_TME2_Msk /*!<Transmit Mailbox 2 Empty */
2222
2223#define CAN_TSR_LOW_Pos (29U)
2224#define CAN_TSR_LOW_Msk (0x7U << CAN_TSR_LOW_Pos) /*!< 0xE0000000 */
2225#define CAN_TSR_LOW CAN_TSR_LOW_Msk /*!<LOW[2:0] bits */
2226#define CAN_TSR_LOW0_Pos (29U)
2227#define CAN_TSR_LOW0_Msk (0x1U << CAN_TSR_LOW0_Pos) /*!< 0x20000000 */
2228#define CAN_TSR_LOW0 CAN_TSR_LOW0_Msk /*!<Lowest Priority Flag for Mailbox 0 */
2229#define CAN_TSR_LOW1_Pos (30U)
2230#define CAN_TSR_LOW1_Msk (0x1U << CAN_TSR_LOW1_Pos) /*!< 0x40000000 */
2231#define CAN_TSR_LOW1 CAN_TSR_LOW1_Msk /*!<Lowest Priority Flag for Mailbox 1 */
2232#define CAN_TSR_LOW2_Pos (31U)
2233#define CAN_TSR_LOW2_Msk (0x1U << CAN_TSR_LOW2_Pos) /*!< 0x80000000 */
2234#define CAN_TSR_LOW2 CAN_TSR_LOW2_Msk /*!<Lowest Priority Flag for Mailbox 2 */
2235
2236/******************* Bit definition for CAN_RF0R register *******************/
2237#define CAN_RF0R_FMP0_Pos (0U)
2238#define CAN_RF0R_FMP0_Msk (0x3U << CAN_RF0R_FMP0_Pos) /*!< 0x00000003 */
2239#define CAN_RF0R_FMP0 CAN_RF0R_FMP0_Msk /*!<FIFO 0 Message Pending */
2240#define CAN_RF0R_FULL0_Pos (3U)
2241#define CAN_RF0R_FULL0_Msk (0x1U << CAN_RF0R_FULL0_Pos) /*!< 0x00000008 */
2242#define CAN_RF0R_FULL0 CAN_RF0R_FULL0_Msk /*!<FIFO 0 Full */
2243#define CAN_RF0R_FOVR0_Pos (4U)
2244#define CAN_RF0R_FOVR0_Msk (0x1U << CAN_RF0R_FOVR0_Pos) /*!< 0x00000010 */
2245#define CAN_RF0R_FOVR0 CAN_RF0R_FOVR0_Msk /*!<FIFO 0 Overrun */
2246#define CAN_RF0R_RFOM0_Pos (5U)
2247#define CAN_RF0R_RFOM0_Msk (0x1U << CAN_RF0R_RFOM0_Pos) /*!< 0x00000020 */
2248#define CAN_RF0R_RFOM0 CAN_RF0R_RFOM0_Msk /*!<Release FIFO 0 Output Mailbox */
2249
2250/******************* Bit definition for CAN_RF1R register *******************/
2251#define CAN_RF1R_FMP1_Pos (0U)
2252#define CAN_RF1R_FMP1_Msk (0x3U << CAN_RF1R_FMP1_Pos) /*!< 0x00000003 */
2253#define CAN_RF1R_FMP1 CAN_RF1R_FMP1_Msk /*!<FIFO 1 Message Pending */
2254#define CAN_RF1R_FULL1_Pos (3U)
2255#define CAN_RF1R_FULL1_Msk (0x1U << CAN_RF1R_FULL1_Pos) /*!< 0x00000008 */
2256#define CAN_RF1R_FULL1 CAN_RF1R_FULL1_Msk /*!<FIFO 1 Full */
2257#define CAN_RF1R_FOVR1_Pos (4U)
2258#define CAN_RF1R_FOVR1_Msk (0x1U << CAN_RF1R_FOVR1_Pos) /*!< 0x00000010 */
2259#define CAN_RF1R_FOVR1 CAN_RF1R_FOVR1_Msk /*!<FIFO 1 Overrun */
2260#define CAN_RF1R_RFOM1_Pos (5U)
2261#define CAN_RF1R_RFOM1_Msk (0x1U << CAN_RF1R_RFOM1_Pos) /*!< 0x00000020 */
2262#define CAN_RF1R_RFOM1 CAN_RF1R_RFOM1_Msk /*!<Release FIFO 1 Output Mailbox */
2263
2264/******************** Bit definition for CAN_IER register *******************/
2265#define CAN_IER_TMEIE_Pos (0U)
2266#define CAN_IER_TMEIE_Msk (0x1U << CAN_IER_TMEIE_Pos) /*!< 0x00000001 */
2267#define CAN_IER_TMEIE CAN_IER_TMEIE_Msk /*!<Transmit Mailbox Empty Interrupt Enable */
2268#define CAN_IER_FMPIE0_Pos (1U)
2269#define CAN_IER_FMPIE0_Msk (0x1U << CAN_IER_FMPIE0_Pos) /*!< 0x00000002 */
2270#define CAN_IER_FMPIE0 CAN_IER_FMPIE0_Msk /*!<FIFO Message Pending Interrupt Enable */
2271#define CAN_IER_FFIE0_Pos (2U)
2272#define CAN_IER_FFIE0_Msk (0x1U << CAN_IER_FFIE0_Pos) /*!< 0x00000004 */
2273#define CAN_IER_FFIE0 CAN_IER_FFIE0_Msk /*!<FIFO Full Interrupt Enable */
2274#define CAN_IER_FOVIE0_Pos (3U)
2275#define CAN_IER_FOVIE0_Msk (0x1U << CAN_IER_FOVIE0_Pos) /*!< 0x00000008 */
2276#define CAN_IER_FOVIE0 CAN_IER_FOVIE0_Msk /*!<FIFO Overrun Interrupt Enable */
2277#define CAN_IER_FMPIE1_Pos (4U)
2278#define CAN_IER_FMPIE1_Msk (0x1U << CAN_IER_FMPIE1_Pos) /*!< 0x00000010 */
2279#define CAN_IER_FMPIE1 CAN_IER_FMPIE1_Msk /*!<FIFO Message Pending Interrupt Enable */
2280#define CAN_IER_FFIE1_Pos (5U)
2281#define CAN_IER_FFIE1_Msk (0x1U << CAN_IER_FFIE1_Pos) /*!< 0x00000020 */
2282#define CAN_IER_FFIE1 CAN_IER_FFIE1_Msk /*!<FIFO Full Interrupt Enable */
2283#define CAN_IER_FOVIE1_Pos (6U)
2284#define CAN_IER_FOVIE1_Msk (0x1U << CAN_IER_FOVIE1_Pos) /*!< 0x00000040 */
2285#define CAN_IER_FOVIE1 CAN_IER_FOVIE1_Msk /*!<FIFO Overrun Interrupt Enable */
2286#define CAN_IER_EWGIE_Pos (8U)
2287#define CAN_IER_EWGIE_Msk (0x1U << CAN_IER_EWGIE_Pos) /*!< 0x00000100 */
2288#define CAN_IER_EWGIE CAN_IER_EWGIE_Msk /*!<Error Warning Interrupt Enable */
2289#define CAN_IER_EPVIE_Pos (9U)
2290#define CAN_IER_EPVIE_Msk (0x1U << CAN_IER_EPVIE_Pos) /*!< 0x00000200 */
2291#define CAN_IER_EPVIE CAN_IER_EPVIE_Msk /*!<Error Passive Interrupt Enable */
2292#define CAN_IER_BOFIE_Pos (10U)
2293#define CAN_IER_BOFIE_Msk (0x1U << CAN_IER_BOFIE_Pos) /*!< 0x00000400 */
2294#define CAN_IER_BOFIE CAN_IER_BOFIE_Msk /*!<Bus-Off Interrupt Enable */
2295#define CAN_IER_LECIE_Pos (11U)
2296#define CAN_IER_LECIE_Msk (0x1U << CAN_IER_LECIE_Pos) /*!< 0x00000800 */
2297#define CAN_IER_LECIE CAN_IER_LECIE_Msk /*!<Last Error Code Interrupt Enable */
2298#define CAN_IER_ERRIE_Pos (15U)
2299#define CAN_IER_ERRIE_Msk (0x1U << CAN_IER_ERRIE_Pos) /*!< 0x00008000 */
2300#define CAN_IER_ERRIE CAN_IER_ERRIE_Msk /*!<Error Interrupt Enable */
2301#define CAN_IER_WKUIE_Pos (16U)
2302#define CAN_IER_WKUIE_Msk (0x1U << CAN_IER_WKUIE_Pos) /*!< 0x00010000 */
2303#define CAN_IER_WKUIE CAN_IER_WKUIE_Msk /*!<Wakeup Interrupt Enable */
2304#define CAN_IER_SLKIE_Pos (17U)
2305#define CAN_IER_SLKIE_Msk (0x1U << CAN_IER_SLKIE_Pos) /*!< 0x00020000 */
2306#define CAN_IER_SLKIE CAN_IER_SLKIE_Msk /*!<Sleep Interrupt Enable */
2307
2308/******************** Bit definition for CAN_ESR register *******************/
2309#define CAN_ESR_EWGF_Pos (0U)
2310#define CAN_ESR_EWGF_Msk (0x1U << CAN_ESR_EWGF_Pos) /*!< 0x00000001 */
2311#define CAN_ESR_EWGF CAN_ESR_EWGF_Msk /*!<Error Warning Flag */
2312#define CAN_ESR_EPVF_Pos (1U)
2313#define CAN_ESR_EPVF_Msk (0x1U << CAN_ESR_EPVF_Pos) /*!< 0x00000002 */
2314#define CAN_ESR_EPVF CAN_ESR_EPVF_Msk /*!<Error Passive Flag */
2315#define CAN_ESR_BOFF_Pos (2U)
2316#define CAN_ESR_BOFF_Msk (0x1U << CAN_ESR_BOFF_Pos) /*!< 0x00000004 */
2317#define CAN_ESR_BOFF CAN_ESR_BOFF_Msk /*!<Bus-Off Flag */
2318
2319#define CAN_ESR_LEC_Pos (4U)
2320#define CAN_ESR_LEC_Msk (0x7U << CAN_ESR_LEC_Pos) /*!< 0x00000070 */
2321#define CAN_ESR_LEC CAN_ESR_LEC_Msk /*!<LEC[2:0] bits (Last Error Code) */
2322#define CAN_ESR_LEC_0 (0x1U << CAN_ESR_LEC_Pos) /*!< 0x00000010 */
2323#define CAN_ESR_LEC_1 (0x2U << CAN_ESR_LEC_Pos) /*!< 0x00000020 */
2324#define CAN_ESR_LEC_2 (0x4U << CAN_ESR_LEC_Pos) /*!< 0x00000040 */
2325
2326#define CAN_ESR_TEC_Pos (16U)
2327#define CAN_ESR_TEC_Msk (0xFFU << CAN_ESR_TEC_Pos) /*!< 0x00FF0000 */
2328#define CAN_ESR_TEC CAN_ESR_TEC_Msk /*!<Least significant byte of the 9-bit Transmit Error Counter */
2329#define CAN_ESR_REC_Pos (24U)
2330#define CAN_ESR_REC_Msk (0xFFU << CAN_ESR_REC_Pos) /*!< 0xFF000000 */
2331#define CAN_ESR_REC CAN_ESR_REC_Msk /*!<Receive Error Counter */
2332
2333/******************* Bit definition for CAN_BTR register ********************/
2334#define CAN_BTR_BRP_Pos (0U)
2335#define CAN_BTR_BRP_Msk (0x3FFU << CAN_BTR_BRP_Pos) /*!< 0x000003FF */
2336#define CAN_BTR_BRP CAN_BTR_BRP_Msk /*!<Baud Rate Prescaler */
2337#define CAN_BTR_TS1_Pos (16U)
2338#define CAN_BTR_TS1_Msk (0xFU << CAN_BTR_TS1_Pos) /*!< 0x000F0000 */
2339#define CAN_BTR_TS1 CAN_BTR_TS1_Msk /*!<Time Segment 1 */
2340#define CAN_BTR_TS1_0 (0x1U << CAN_BTR_TS1_Pos) /*!< 0x00010000 */
2341#define CAN_BTR_TS1_1 (0x2U << CAN_BTR_TS1_Pos) /*!< 0x00020000 */
2342#define CAN_BTR_TS1_2 (0x4U << CAN_BTR_TS1_Pos) /*!< 0x00040000 */
2343#define CAN_BTR_TS1_3 (0x8U << CAN_BTR_TS1_Pos) /*!< 0x00080000 */
2344#define CAN_BTR_TS2_Pos (20U)
2345#define CAN_BTR_TS2_Msk (0x7U << CAN_BTR_TS2_Pos) /*!< 0x00700000 */
2346#define CAN_BTR_TS2 CAN_BTR_TS2_Msk /*!<Time Segment 2 */
2347#define CAN_BTR_TS2_0 (0x1U << CAN_BTR_TS2_Pos) /*!< 0x00100000 */
2348#define CAN_BTR_TS2_1 (0x2U << CAN_BTR_TS2_Pos) /*!< 0x00200000 */
2349#define CAN_BTR_TS2_2 (0x4U << CAN_BTR_TS2_Pos) /*!< 0x00400000 */
2350#define CAN_BTR_SJW_Pos (24U)
2351#define CAN_BTR_SJW_Msk (0x3U << CAN_BTR_SJW_Pos) /*!< 0x03000000 */
2352#define CAN_BTR_SJW CAN_BTR_SJW_Msk /*!<Resynchronization Jump Width */
2353#define CAN_BTR_SJW_0 (0x1U << CAN_BTR_SJW_Pos) /*!< 0x01000000 */
2354#define CAN_BTR_SJW_1 (0x2U << CAN_BTR_SJW_Pos) /*!< 0x02000000 */
2355#define CAN_BTR_LBKM_Pos (30U)
2356#define CAN_BTR_LBKM_Msk (0x1U << CAN_BTR_LBKM_Pos) /*!< 0x40000000 */
2357#define CAN_BTR_LBKM CAN_BTR_LBKM_Msk /*!<Loop Back Mode (Debug) */
2358#define CAN_BTR_SILM_Pos (31U)
2359#define CAN_BTR_SILM_Msk (0x1U << CAN_BTR_SILM_Pos) /*!< 0x80000000 */
2360#define CAN_BTR_SILM CAN_BTR_SILM_Msk /*!<Silent Mode */
2361
2362/*!<Mailbox registers */
2363/****************** Bit definition for CAN_TI0R register ********************/
2364#define CAN_TI0R_TXRQ_Pos (0U)
2365#define CAN_TI0R_TXRQ_Msk (0x1U << CAN_TI0R_TXRQ_Pos) /*!< 0x00000001 */
2366#define CAN_TI0R_TXRQ CAN_TI0R_TXRQ_Msk /*!<Transmit Mailbox Request */
2367#define CAN_TI0R_RTR_Pos (1U)
2368#define CAN_TI0R_RTR_Msk (0x1U << CAN_TI0R_RTR_Pos) /*!< 0x00000002 */
2369#define CAN_TI0R_RTR CAN_TI0R_RTR_Msk /*!<Remote Transmission Request */
2370#define CAN_TI0R_IDE_Pos (2U)
2371#define CAN_TI0R_IDE_Msk (0x1U << CAN_TI0R_IDE_Pos) /*!< 0x00000004 */
2372#define CAN_TI0R_IDE CAN_TI0R_IDE_Msk /*!<Identifier Extension */
2373#define CAN_TI0R_EXID_Pos (3U)
2374#define CAN_TI0R_EXID_Msk (0x3FFFFU << CAN_TI0R_EXID_Pos) /*!< 0x001FFFF8 */
2375#define CAN_TI0R_EXID CAN_TI0R_EXID_Msk /*!<Extended Identifier */
2376#define CAN_TI0R_STID_Pos (21U)
2377#define CAN_TI0R_STID_Msk (0x7FFU << CAN_TI0R_STID_Pos) /*!< 0xFFE00000 */
2378#define CAN_TI0R_STID CAN_TI0R_STID_Msk /*!<Standard Identifier or Extended Identifier */
2379
2380/****************** Bit definition for CAN_TDT0R register *******************/
2381#define CAN_TDT0R_DLC_Pos (0U)
2382#define CAN_TDT0R_DLC_Msk (0xFU << CAN_TDT0R_DLC_Pos) /*!< 0x0000000F */
2383#define CAN_TDT0R_DLC CAN_TDT0R_DLC_Msk /*!<Data Length Code */
2384#define CAN_TDT0R_TGT_Pos (8U)
2385#define CAN_TDT0R_TGT_Msk (0x1U << CAN_TDT0R_TGT_Pos) /*!< 0x00000100 */
2386#define CAN_TDT0R_TGT CAN_TDT0R_TGT_Msk /*!<Transmit Global Time */
2387#define CAN_TDT0R_TIME_Pos (16U)
2388#define CAN_TDT0R_TIME_Msk (0xFFFFU << CAN_TDT0R_TIME_Pos) /*!< 0xFFFF0000 */
2389#define CAN_TDT0R_TIME CAN_TDT0R_TIME_Msk /*!<Message Time Stamp */
2390
2391/****************** Bit definition for CAN_TDL0R register *******************/
2392#define CAN_TDL0R_DATA0_Pos (0U)
2393#define CAN_TDL0R_DATA0_Msk (0xFFU << CAN_TDL0R_DATA0_Pos) /*!< 0x000000FF */
2394#define CAN_TDL0R_DATA0 CAN_TDL0R_DATA0_Msk /*!<Data byte 0 */
2395#define CAN_TDL0R_DATA1_Pos (8U)
2396#define CAN_TDL0R_DATA1_Msk (0xFFU << CAN_TDL0R_DATA1_Pos) /*!< 0x0000FF00 */
2397#define CAN_TDL0R_DATA1 CAN_TDL0R_DATA1_Msk /*!<Data byte 1 */
2398#define CAN_TDL0R_DATA2_Pos (16U)
2399#define CAN_TDL0R_DATA2_Msk (0xFFU << CAN_TDL0R_DATA2_Pos) /*!< 0x00FF0000 */
2400#define CAN_TDL0R_DATA2 CAN_TDL0R_DATA2_Msk /*!<Data byte 2 */
2401#define CAN_TDL0R_DATA3_Pos (24U)
2402#define CAN_TDL0R_DATA3_Msk (0xFFU << CAN_TDL0R_DATA3_Pos) /*!< 0xFF000000 */
2403#define CAN_TDL0R_DATA3 CAN_TDL0R_DATA3_Msk /*!<Data byte 3 */
2404
2405/****************** Bit definition for CAN_TDH0R register *******************/
2406#define CAN_TDH0R_DATA4_Pos (0U)
2407#define CAN_TDH0R_DATA4_Msk (0xFFU << CAN_TDH0R_DATA4_Pos) /*!< 0x000000FF */
2408#define CAN_TDH0R_DATA4 CAN_TDH0R_DATA4_Msk /*!<Data byte 4 */
2409#define CAN_TDH0R_DATA5_Pos (8U)
2410#define CAN_TDH0R_DATA5_Msk (0xFFU << CAN_TDH0R_DATA5_Pos) /*!< 0x0000FF00 */
2411#define CAN_TDH0R_DATA5 CAN_TDH0R_DATA5_Msk /*!<Data byte 5 */
2412#define CAN_TDH0R_DATA6_Pos (16U)
2413#define CAN_TDH0R_DATA6_Msk (0xFFU << CAN_TDH0R_DATA6_Pos) /*!< 0x00FF0000 */
2414#define CAN_TDH0R_DATA6 CAN_TDH0R_DATA6_Msk /*!<Data byte 6 */
2415#define CAN_TDH0R_DATA7_Pos (24U)
2416#define CAN_TDH0R_DATA7_Msk (0xFFU << CAN_TDH0R_DATA7_Pos) /*!< 0xFF000000 */
2417#define CAN_TDH0R_DATA7 CAN_TDH0R_DATA7_Msk /*!<Data byte 7 */
2418
2419/******************* Bit definition for CAN_TI1R register *******************/
2420#define CAN_TI1R_TXRQ_Pos (0U)
2421#define CAN_TI1R_TXRQ_Msk (0x1U << CAN_TI1R_TXRQ_Pos) /*!< 0x00000001 */
2422#define CAN_TI1R_TXRQ CAN_TI1R_TXRQ_Msk /*!<Transmit Mailbox Request */
2423#define CAN_TI1R_RTR_Pos (1U)
2424#define CAN_TI1R_RTR_Msk (0x1U << CAN_TI1R_RTR_Pos) /*!< 0x00000002 */
2425#define CAN_TI1R_RTR CAN_TI1R_RTR_Msk /*!<Remote Transmission Request */
2426#define CAN_TI1R_IDE_Pos (2U)
2427#define CAN_TI1R_IDE_Msk (0x1U << CAN_TI1R_IDE_Pos) /*!< 0x00000004 */
2428#define CAN_TI1R_IDE CAN_TI1R_IDE_Msk /*!<Identifier Extension */
2429#define CAN_TI1R_EXID_Pos (3U)
2430#define CAN_TI1R_EXID_Msk (0x3FFFFU << CAN_TI1R_EXID_Pos) /*!< 0x001FFFF8 */
2431#define CAN_TI1R_EXID CAN_TI1R_EXID_Msk /*!<Extended Identifier */
2432#define CAN_TI1R_STID_Pos (21U)
2433#define CAN_TI1R_STID_Msk (0x7FFU << CAN_TI1R_STID_Pos) /*!< 0xFFE00000 */
2434#define CAN_TI1R_STID CAN_TI1R_STID_Msk /*!<Standard Identifier or Extended Identifier */
2435
2436/******************* Bit definition for CAN_TDT1R register ******************/
2437#define CAN_TDT1R_DLC_Pos (0U)
2438#define CAN_TDT1R_DLC_Msk (0xFU << CAN_TDT1R_DLC_Pos) /*!< 0x0000000F */
2439#define CAN_TDT1R_DLC CAN_TDT1R_DLC_Msk /*!<Data Length Code */
2440#define CAN_TDT1R_TGT_Pos (8U)
2441#define CAN_TDT1R_TGT_Msk (0x1U << CAN_TDT1R_TGT_Pos) /*!< 0x00000100 */
2442#define CAN_TDT1R_TGT CAN_TDT1R_TGT_Msk /*!<Transmit Global Time */
2443#define CAN_TDT1R_TIME_Pos (16U)
2444#define CAN_TDT1R_TIME_Msk (0xFFFFU << CAN_TDT1R_TIME_Pos) /*!< 0xFFFF0000 */
2445#define CAN_TDT1R_TIME CAN_TDT1R_TIME_Msk /*!<Message Time Stamp */
2446
2447/******************* Bit definition for CAN_TDL1R register ******************/
2448#define CAN_TDL1R_DATA0_Pos (0U)
2449#define CAN_TDL1R_DATA0_Msk (0xFFU << CAN_TDL1R_DATA0_Pos) /*!< 0x000000FF */
2450#define CAN_TDL1R_DATA0 CAN_TDL1R_DATA0_Msk /*!<Data byte 0 */
2451#define CAN_TDL1R_DATA1_Pos (8U)
2452#define CAN_TDL1R_DATA1_Msk (0xFFU << CAN_TDL1R_DATA1_Pos) /*!< 0x0000FF00 */
2453#define CAN_TDL1R_DATA1 CAN_TDL1R_DATA1_Msk /*!<Data byte 1 */
2454#define CAN_TDL1R_DATA2_Pos (16U)
2455#define CAN_TDL1R_DATA2_Msk (0xFFU << CAN_TDL1R_DATA2_Pos) /*!< 0x00FF0000 */
2456#define CAN_TDL1R_DATA2 CAN_TDL1R_DATA2_Msk /*!<Data byte 2 */
2457#define CAN_TDL1R_DATA3_Pos (24U)
2458#define CAN_TDL1R_DATA3_Msk (0xFFU << CAN_TDL1R_DATA3_Pos) /*!< 0xFF000000 */
2459#define CAN_TDL1R_DATA3 CAN_TDL1R_DATA3_Msk /*!<Data byte 3 */
2460
2461/******************* Bit definition for CAN_TDH1R register ******************/
2462#define CAN_TDH1R_DATA4_Pos (0U)
2463#define CAN_TDH1R_DATA4_Msk (0xFFU << CAN_TDH1R_DATA4_Pos) /*!< 0x000000FF */
2464#define CAN_TDH1R_DATA4 CAN_TDH1R_DATA4_Msk /*!<Data byte 4 */
2465#define CAN_TDH1R_DATA5_Pos (8U)
2466#define CAN_TDH1R_DATA5_Msk (0xFFU << CAN_TDH1R_DATA5_Pos) /*!< 0x0000FF00 */
2467#define CAN_TDH1R_DATA5 CAN_TDH1R_DATA5_Msk /*!<Data byte 5 */
2468#define CAN_TDH1R_DATA6_Pos (16U)
2469#define CAN_TDH1R_DATA6_Msk (0xFFU << CAN_TDH1R_DATA6_Pos) /*!< 0x00FF0000 */
2470#define CAN_TDH1R_DATA6 CAN_TDH1R_DATA6_Msk /*!<Data byte 6 */
2471#define CAN_TDH1R_DATA7_Pos (24U)
2472#define CAN_TDH1R_DATA7_Msk (0xFFU << CAN_TDH1R_DATA7_Pos) /*!< 0xFF000000 */
2473#define CAN_TDH1R_DATA7 CAN_TDH1R_DATA7_Msk /*!<Data byte 7 */
2474
2475/******************* Bit definition for CAN_TI2R register *******************/
2476#define CAN_TI2R_TXRQ_Pos (0U)
2477#define CAN_TI2R_TXRQ_Msk (0x1U << CAN_TI2R_TXRQ_Pos) /*!< 0x00000001 */
2478#define CAN_TI2R_TXRQ CAN_TI2R_TXRQ_Msk /*!<Transmit Mailbox Request */
2479#define CAN_TI2R_RTR_Pos (1U)
2480#define CAN_TI2R_RTR_Msk (0x1U << CAN_TI2R_RTR_Pos) /*!< 0x00000002 */
2481#define CAN_TI2R_RTR CAN_TI2R_RTR_Msk /*!<Remote Transmission Request */
2482#define CAN_TI2R_IDE_Pos (2U)
2483#define CAN_TI2R_IDE_Msk (0x1U << CAN_TI2R_IDE_Pos) /*!< 0x00000004 */
2484#define CAN_TI2R_IDE CAN_TI2R_IDE_Msk /*!<Identifier Extension */
2485#define CAN_TI2R_EXID_Pos (3U)
2486#define CAN_TI2R_EXID_Msk (0x3FFFFU << CAN_TI2R_EXID_Pos) /*!< 0x001FFFF8 */
2487#define CAN_TI2R_EXID CAN_TI2R_EXID_Msk /*!<Extended identifier */
2488#define CAN_TI2R_STID_Pos (21U)
2489#define CAN_TI2R_STID_Msk (0x7FFU << CAN_TI2R_STID_Pos) /*!< 0xFFE00000 */
2490#define CAN_TI2R_STID CAN_TI2R_STID_Msk /*!<Standard Identifier or Extended Identifier */
2491
2492/******************* Bit definition for CAN_TDT2R register ******************/
2493#define CAN_TDT2R_DLC_Pos (0U)
2494#define CAN_TDT2R_DLC_Msk (0xFU << CAN_TDT2R_DLC_Pos) /*!< 0x0000000F */
2495#define CAN_TDT2R_DLC CAN_TDT2R_DLC_Msk /*!<Data Length Code */
2496#define CAN_TDT2R_TGT_Pos (8U)
2497#define CAN_TDT2R_TGT_Msk (0x1U << CAN_TDT2R_TGT_Pos) /*!< 0x00000100 */
2498#define CAN_TDT2R_TGT CAN_TDT2R_TGT_Msk /*!<Transmit Global Time */
2499#define CAN_TDT2R_TIME_Pos (16U)
2500#define CAN_TDT2R_TIME_Msk (0xFFFFU << CAN_TDT2R_TIME_Pos) /*!< 0xFFFF0000 */
2501#define CAN_TDT2R_TIME CAN_TDT2R_TIME_Msk /*!<Message Time Stamp */
2502
2503/******************* Bit definition for CAN_TDL2R register ******************/
2504#define CAN_TDL2R_DATA0_Pos (0U)
2505#define CAN_TDL2R_DATA0_Msk (0xFFU << CAN_TDL2R_DATA0_Pos) /*!< 0x000000FF */
2506#define CAN_TDL2R_DATA0 CAN_TDL2R_DATA0_Msk /*!<Data byte 0 */
2507#define CAN_TDL2R_DATA1_Pos (8U)
2508#define CAN_TDL2R_DATA1_Msk (0xFFU << CAN_TDL2R_DATA1_Pos) /*!< 0x0000FF00 */
2509#define CAN_TDL2R_DATA1 CAN_TDL2R_DATA1_Msk /*!<Data byte 1 */
2510#define CAN_TDL2R_DATA2_Pos (16U)
2511#define CAN_TDL2R_DATA2_Msk (0xFFU << CAN_TDL2R_DATA2_Pos) /*!< 0x00FF0000 */
2512#define CAN_TDL2R_DATA2 CAN_TDL2R_DATA2_Msk /*!<Data byte 2 */
2513#define CAN_TDL2R_DATA3_Pos (24U)
2514#define CAN_TDL2R_DATA3_Msk (0xFFU << CAN_TDL2R_DATA3_Pos) /*!< 0xFF000000 */
2515#define CAN_TDL2R_DATA3 CAN_TDL2R_DATA3_Msk /*!<Data byte 3 */
2516
2517/******************* Bit definition for CAN_TDH2R register ******************/
2518#define CAN_TDH2R_DATA4_Pos (0U)
2519#define CAN_TDH2R_DATA4_Msk (0xFFU << CAN_TDH2R_DATA4_Pos) /*!< 0x000000FF */
2520#define CAN_TDH2R_DATA4 CAN_TDH2R_DATA4_Msk /*!<Data byte 4 */
2521#define CAN_TDH2R_DATA5_Pos (8U)
2522#define CAN_TDH2R_DATA5_Msk (0xFFU << CAN_TDH2R_DATA5_Pos) /*!< 0x0000FF00 */
2523#define CAN_TDH2R_DATA5 CAN_TDH2R_DATA5_Msk /*!<Data byte 5 */
2524#define CAN_TDH2R_DATA6_Pos (16U)
2525#define CAN_TDH2R_DATA6_Msk (0xFFU << CAN_TDH2R_DATA6_Pos) /*!< 0x00FF0000 */
2526#define CAN_TDH2R_DATA6 CAN_TDH2R_DATA6_Msk /*!<Data byte 6 */
2527#define CAN_TDH2R_DATA7_Pos (24U)
2528#define CAN_TDH2R_DATA7_Msk (0xFFU << CAN_TDH2R_DATA7_Pos) /*!< 0xFF000000 */
2529#define CAN_TDH2R_DATA7 CAN_TDH2R_DATA7_Msk /*!<Data byte 7 */
2530
2531/******************* Bit definition for CAN_RI0R register *******************/
2532#define CAN_RI0R_RTR_Pos (1U)
2533#define CAN_RI0R_RTR_Msk (0x1U << CAN_RI0R_RTR_Pos) /*!< 0x00000002 */
2534#define CAN_RI0R_RTR CAN_RI0R_RTR_Msk /*!<Remote Transmission Request */
2535#define CAN_RI0R_IDE_Pos (2U)
2536#define CAN_RI0R_IDE_Msk (0x1U << CAN_RI0R_IDE_Pos) /*!< 0x00000004 */
2537#define CAN_RI0R_IDE CAN_RI0R_IDE_Msk /*!<Identifier Extension */
2538#define CAN_RI0R_EXID_Pos (3U)
2539#define CAN_RI0R_EXID_Msk (0x3FFFFU << CAN_RI0R_EXID_Pos) /*!< 0x001FFFF8 */
2540#define CAN_RI0R_EXID CAN_RI0R_EXID_Msk /*!<Extended Identifier */
2541#define CAN_RI0R_STID_Pos (21U)
2542#define CAN_RI0R_STID_Msk (0x7FFU << CAN_RI0R_STID_Pos) /*!< 0xFFE00000 */
2543#define CAN_RI0R_STID CAN_RI0R_STID_Msk /*!<Standard Identifier or Extended Identifier */
2544
2545/******************* Bit definition for CAN_RDT0R register ******************/
2546#define CAN_RDT0R_DLC_Pos (0U)
2547#define CAN_RDT0R_DLC_Msk (0xFU << CAN_RDT0R_DLC_Pos) /*!< 0x0000000F */
2548#define CAN_RDT0R_DLC CAN_RDT0R_DLC_Msk /*!<Data Length Code */
2549#define CAN_RDT0R_FMI_Pos (8U)
2550#define CAN_RDT0R_FMI_Msk (0xFFU << CAN_RDT0R_FMI_Pos) /*!< 0x0000FF00 */
2551#define CAN_RDT0R_FMI CAN_RDT0R_FMI_Msk /*!<Filter Match Index */
2552#define CAN_RDT0R_TIME_Pos (16U)
2553#define CAN_RDT0R_TIME_Msk (0xFFFFU << CAN_RDT0R_TIME_Pos) /*!< 0xFFFF0000 */
2554#define CAN_RDT0R_TIME CAN_RDT0R_TIME_Msk /*!<Message Time Stamp */
2555
2556/******************* Bit definition for CAN_RDL0R register ******************/
2557#define CAN_RDL0R_DATA0_Pos (0U)
2558#define CAN_RDL0R_DATA0_Msk (0xFFU << CAN_RDL0R_DATA0_Pos) /*!< 0x000000FF */
2559#define CAN_RDL0R_DATA0 CAN_RDL0R_DATA0_Msk /*!<Data byte 0 */
2560#define CAN_RDL0R_DATA1_Pos (8U)
2561#define CAN_RDL0R_DATA1_Msk (0xFFU << CAN_RDL0R_DATA1_Pos) /*!< 0x0000FF00 */
2562#define CAN_RDL0R_DATA1 CAN_RDL0R_DATA1_Msk /*!<Data byte 1 */
2563#define CAN_RDL0R_DATA2_Pos (16U)
2564#define CAN_RDL0R_DATA2_Msk (0xFFU << CAN_RDL0R_DATA2_Pos) /*!< 0x00FF0000 */
2565#define CAN_RDL0R_DATA2 CAN_RDL0R_DATA2_Msk /*!<Data byte 2 */
2566#define CAN_RDL0R_DATA3_Pos (24U)
2567#define CAN_RDL0R_DATA3_Msk (0xFFU << CAN_RDL0R_DATA3_Pos) /*!< 0xFF000000 */
2568#define CAN_RDL0R_DATA3 CAN_RDL0R_DATA3_Msk /*!<Data byte 3 */
2569
2570/******************* Bit definition for CAN_RDH0R register ******************/
2571#define CAN_RDH0R_DATA4_Pos (0U)
2572#define CAN_RDH0R_DATA4_Msk (0xFFU << CAN_RDH0R_DATA4_Pos) /*!< 0x000000FF */
2573#define CAN_RDH0R_DATA4 CAN_RDH0R_DATA4_Msk /*!<Data byte 4 */
2574#define CAN_RDH0R_DATA5_Pos (8U)
2575#define CAN_RDH0R_DATA5_Msk (0xFFU << CAN_RDH0R_DATA5_Pos) /*!< 0x0000FF00 */
2576#define CAN_RDH0R_DATA5 CAN_RDH0R_DATA5_Msk /*!<Data byte 5 */
2577#define CAN_RDH0R_DATA6_Pos (16U)
2578#define CAN_RDH0R_DATA6_Msk (0xFFU << CAN_RDH0R_DATA6_Pos) /*!< 0x00FF0000 */
2579#define CAN_RDH0R_DATA6 CAN_RDH0R_DATA6_Msk /*!<Data byte 6 */
2580#define CAN_RDH0R_DATA7_Pos (24U)
2581#define CAN_RDH0R_DATA7_Msk (0xFFU << CAN_RDH0R_DATA7_Pos) /*!< 0xFF000000 */
2582#define CAN_RDH0R_DATA7 CAN_RDH0R_DATA7_Msk /*!<Data byte 7 */
2583
2584/******************* Bit definition for CAN_RI1R register *******************/
2585#define CAN_RI1R_RTR_Pos (1U)
2586#define CAN_RI1R_RTR_Msk (0x1U << CAN_RI1R_RTR_Pos) /*!< 0x00000002 */
2587#define CAN_RI1R_RTR CAN_RI1R_RTR_Msk /*!<Remote Transmission Request */
2588#define CAN_RI1R_IDE_Pos (2U)
2589#define CAN_RI1R_IDE_Msk (0x1U << CAN_RI1R_IDE_Pos) /*!< 0x00000004 */
2590#define CAN_RI1R_IDE CAN_RI1R_IDE_Msk /*!<Identifier Extension */
2591#define CAN_RI1R_EXID_Pos (3U)
2592#define CAN_RI1R_EXID_Msk (0x3FFFFU << CAN_RI1R_EXID_Pos) /*!< 0x001FFFF8 */
2593#define CAN_RI1R_EXID CAN_RI1R_EXID_Msk /*!<Extended identifier */
2594#define CAN_RI1R_STID_Pos (21U)
2595#define CAN_RI1R_STID_Msk (0x7FFU << CAN_RI1R_STID_Pos) /*!< 0xFFE00000 */
2596#define CAN_RI1R_STID CAN_RI1R_STID_Msk /*!<Standard Identifier or Extended Identifier */
2597
2598/******************* Bit definition for CAN_RDT1R register ******************/
2599#define CAN_RDT1R_DLC_Pos (0U)
2600#define CAN_RDT1R_DLC_Msk (0xFU << CAN_RDT1R_DLC_Pos) /*!< 0x0000000F */
2601#define CAN_RDT1R_DLC CAN_RDT1R_DLC_Msk /*!<Data Length Code */
2602#define CAN_RDT1R_FMI_Pos (8U)
2603#define CAN_RDT1R_FMI_Msk (0xFFU << CAN_RDT1R_FMI_Pos) /*!< 0x0000FF00 */
2604#define CAN_RDT1R_FMI CAN_RDT1R_FMI_Msk /*!<Filter Match Index */
2605#define CAN_RDT1R_TIME_Pos (16U)
2606#define CAN_RDT1R_TIME_Msk (0xFFFFU << CAN_RDT1R_TIME_Pos) /*!< 0xFFFF0000 */
2607#define CAN_RDT1R_TIME CAN_RDT1R_TIME_Msk /*!<Message Time Stamp */
2608
2609/******************* Bit definition for CAN_RDL1R register ******************/
2610#define CAN_RDL1R_DATA0_Pos (0U)
2611#define CAN_RDL1R_DATA0_Msk (0xFFU << CAN_RDL1R_DATA0_Pos) /*!< 0x000000FF */
2612#define CAN_RDL1R_DATA0 CAN_RDL1R_DATA0_Msk /*!<Data byte 0 */
2613#define CAN_RDL1R_DATA1_Pos (8U)
2614#define CAN_RDL1R_DATA1_Msk (0xFFU << CAN_RDL1R_DATA1_Pos) /*!< 0x0000FF00 */
2615#define CAN_RDL1R_DATA1 CAN_RDL1R_DATA1_Msk /*!<Data byte 1 */
2616#define CAN_RDL1R_DATA2_Pos (16U)
2617#define CAN_RDL1R_DATA2_Msk (0xFFU << CAN_RDL1R_DATA2_Pos) /*!< 0x00FF0000 */
2618#define CAN_RDL1R_DATA2 CAN_RDL1R_DATA2_Msk /*!<Data byte 2 */
2619#define CAN_RDL1R_DATA3_Pos (24U)
2620#define CAN_RDL1R_DATA3_Msk (0xFFU << CAN_RDL1R_DATA3_Pos) /*!< 0xFF000000 */
2621#define CAN_RDL1R_DATA3 CAN_RDL1R_DATA3_Msk /*!<Data byte 3 */
2622
2623/******************* Bit definition for CAN_RDH1R register ******************/
2624#define CAN_RDH1R_DATA4_Pos (0U)
2625#define CAN_RDH1R_DATA4_Msk (0xFFU << CAN_RDH1R_DATA4_Pos) /*!< 0x000000FF */
2626#define CAN_RDH1R_DATA4 CAN_RDH1R_DATA4_Msk /*!<Data byte 4 */
2627#define CAN_RDH1R_DATA5_Pos (8U)
2628#define CAN_RDH1R_DATA5_Msk (0xFFU << CAN_RDH1R_DATA5_Pos) /*!< 0x0000FF00 */
2629#define CAN_RDH1R_DATA5 CAN_RDH1R_DATA5_Msk /*!<Data byte 5 */
2630#define CAN_RDH1R_DATA6_Pos (16U)
2631#define CAN_RDH1R_DATA6_Msk (0xFFU << CAN_RDH1R_DATA6_Pos) /*!< 0x00FF0000 */
2632#define CAN_RDH1R_DATA6 CAN_RDH1R_DATA6_Msk /*!<Data byte 6 */
2633#define CAN_RDH1R_DATA7_Pos (24U)
2634#define CAN_RDH1R_DATA7_Msk (0xFFU << CAN_RDH1R_DATA7_Pos) /*!< 0xFF000000 */
2635#define CAN_RDH1R_DATA7 CAN_RDH1R_DATA7_Msk /*!<Data byte 7 */
2636
2637/*!<CAN filter registers */
2638/******************* Bit definition for CAN_FMR register ********************/
2639#define CAN_FMR_FINIT ((uint8_t)0x01U) /*!<Filter Init Mode */
2640#define CAN_FMR_CAN2SB_Pos (8U)
2641#define CAN_FMR_CAN2SB_Msk (0x3FU << CAN_FMR_CAN2SB_Pos) /*!< 0x00003F00 */
2642#define CAN_FMR_CAN2SB CAN_FMR_CAN2SB_Msk /*!<CAN2 start bank */
2643
2644/******************* Bit definition for CAN_FM1R register *******************/
2645#define CAN_FM1R_FBM_Pos (0U)
2646#define CAN_FM1R_FBM_Msk (0x3FFFU << CAN_FM1R_FBM_Pos) /*!< 0x00003FFF */
2647#define CAN_FM1R_FBM CAN_FM1R_FBM_Msk /*!<Filter Mode */
2648#define CAN_FM1R_FBM0_Pos (0U)
2649#define CAN_FM1R_FBM0_Msk (0x1U << CAN_FM1R_FBM0_Pos) /*!< 0x00000001 */
2650#define CAN_FM1R_FBM0 CAN_FM1R_FBM0_Msk /*!<Filter Init Mode bit 0 */
2651#define CAN_FM1R_FBM1_Pos (1U)
2652#define CAN_FM1R_FBM1_Msk (0x1U << CAN_FM1R_FBM1_Pos) /*!< 0x00000002 */
2653#define CAN_FM1R_FBM1 CAN_FM1R_FBM1_Msk /*!<Filter Init Mode bit 1 */
2654#define CAN_FM1R_FBM2_Pos (2U)
2655#define CAN_FM1R_FBM2_Msk (0x1U << CAN_FM1R_FBM2_Pos) /*!< 0x00000004 */
2656#define CAN_FM1R_FBM2 CAN_FM1R_FBM2_Msk /*!<Filter Init Mode bit 2 */
2657#define CAN_FM1R_FBM3_Pos (3U)
2658#define CAN_FM1R_FBM3_Msk (0x1U << CAN_FM1R_FBM3_Pos) /*!< 0x00000008 */
2659#define CAN_FM1R_FBM3 CAN_FM1R_FBM3_Msk /*!<Filter Init Mode bit 3 */
2660#define CAN_FM1R_FBM4_Pos (4U)
2661#define CAN_FM1R_FBM4_Msk (0x1U << CAN_FM1R_FBM4_Pos) /*!< 0x00000010 */
2662#define CAN_FM1R_FBM4 CAN_FM1R_FBM4_Msk /*!<Filter Init Mode bit 4 */
2663#define CAN_FM1R_FBM5_Pos (5U)
2664#define CAN_FM1R_FBM5_Msk (0x1U << CAN_FM1R_FBM5_Pos) /*!< 0x00000020 */
2665#define CAN_FM1R_FBM5 CAN_FM1R_FBM5_Msk /*!<Filter Init Mode bit 5 */
2666#define CAN_FM1R_FBM6_Pos (6U)
2667#define CAN_FM1R_FBM6_Msk (0x1U << CAN_FM1R_FBM6_Pos) /*!< 0x00000040 */
2668#define CAN_FM1R_FBM6 CAN_FM1R_FBM6_Msk /*!<Filter Init Mode bit 6 */
2669#define CAN_FM1R_FBM7_Pos (7U)
2670#define CAN_FM1R_FBM7_Msk (0x1U << CAN_FM1R_FBM7_Pos) /*!< 0x00000080 */
2671#define CAN_FM1R_FBM7 CAN_FM1R_FBM7_Msk /*!<Filter Init Mode bit 7 */
2672#define CAN_FM1R_FBM8_Pos (8U)
2673#define CAN_FM1R_FBM8_Msk (0x1U << CAN_FM1R_FBM8_Pos) /*!< 0x00000100 */
2674#define CAN_FM1R_FBM8 CAN_FM1R_FBM8_Msk /*!<Filter Init Mode bit 8 */
2675#define CAN_FM1R_FBM9_Pos (9U)
2676#define CAN_FM1R_FBM9_Msk (0x1U << CAN_FM1R_FBM9_Pos) /*!< 0x00000200 */
2677#define CAN_FM1R_FBM9 CAN_FM1R_FBM9_Msk /*!<Filter Init Mode bit 9 */
2678#define CAN_FM1R_FBM10_Pos (10U)
2679#define CAN_FM1R_FBM10_Msk (0x1U << CAN_FM1R_FBM10_Pos) /*!< 0x00000400 */
2680#define CAN_FM1R_FBM10 CAN_FM1R_FBM10_Msk /*!<Filter Init Mode bit 10 */
2681#define CAN_FM1R_FBM11_Pos (11U)
2682#define CAN_FM1R_FBM11_Msk (0x1U << CAN_FM1R_FBM11_Pos) /*!< 0x00000800 */
2683#define CAN_FM1R_FBM11 CAN_FM1R_FBM11_Msk /*!<Filter Init Mode bit 11 */
2684#define CAN_FM1R_FBM12_Pos (12U)
2685#define CAN_FM1R_FBM12_Msk (0x1U << CAN_FM1R_FBM12_Pos) /*!< 0x00001000 */
2686#define CAN_FM1R_FBM12 CAN_FM1R_FBM12_Msk /*!<Filter Init Mode bit 12 */
2687#define CAN_FM1R_FBM13_Pos (13U)
2688#define CAN_FM1R_FBM13_Msk (0x1U << CAN_FM1R_FBM13_Pos) /*!< 0x00002000 */
2689#define CAN_FM1R_FBM13 CAN_FM1R_FBM13_Msk /*!<Filter Init Mode bit 13 */
2690
2691/******************* Bit definition for CAN_FS1R register *******************/
2692#define CAN_FS1R_FSC_Pos (0U)
2693#define CAN_FS1R_FSC_Msk (0x3FFFU << CAN_FS1R_FSC_Pos) /*!< 0x00003FFF */
2694#define CAN_FS1R_FSC CAN_FS1R_FSC_Msk /*!<Filter Scale Configuration */
2695#define CAN_FS1R_FSC0_Pos (0U)
2696#define CAN_FS1R_FSC0_Msk (0x1U << CAN_FS1R_FSC0_Pos) /*!< 0x00000001 */
2697#define CAN_FS1R_FSC0 CAN_FS1R_FSC0_Msk /*!<Filter Scale Configuration bit 0 */
2698#define CAN_FS1R_FSC1_Pos (1U)
2699#define CAN_FS1R_FSC1_Msk (0x1U << CAN_FS1R_FSC1_Pos) /*!< 0x00000002 */
2700#define CAN_FS1R_FSC1 CAN_FS1R_FSC1_Msk /*!<Filter Scale Configuration bit 1 */
2701#define CAN_FS1R_FSC2_Pos (2U)
2702#define CAN_FS1R_FSC2_Msk (0x1U << CAN_FS1R_FSC2_Pos) /*!< 0x00000004 */
2703#define CAN_FS1R_FSC2 CAN_FS1R_FSC2_Msk /*!<Filter Scale Configuration bit 2 */
2704#define CAN_FS1R_FSC3_Pos (3U)
2705#define CAN_FS1R_FSC3_Msk (0x1U << CAN_FS1R_FSC3_Pos) /*!< 0x00000008 */
2706#define CAN_FS1R_FSC3 CAN_FS1R_FSC3_Msk /*!<Filter Scale Configuration bit 3 */
2707#define CAN_FS1R_FSC4_Pos (4U)
2708#define CAN_FS1R_FSC4_Msk (0x1U << CAN_FS1R_FSC4_Pos) /*!< 0x00000010 */
2709#define CAN_FS1R_FSC4 CAN_FS1R_FSC4_Msk /*!<Filter Scale Configuration bit 4 */
2710#define CAN_FS1R_FSC5_Pos (5U)
2711#define CAN_FS1R_FSC5_Msk (0x1U << CAN_FS1R_FSC5_Pos) /*!< 0x00000020 */
2712#define CAN_FS1R_FSC5 CAN_FS1R_FSC5_Msk /*!<Filter Scale Configuration bit 5 */
2713#define CAN_FS1R_FSC6_Pos (6U)
2714#define CAN_FS1R_FSC6_Msk (0x1U << CAN_FS1R_FSC6_Pos) /*!< 0x00000040 */
2715#define CAN_FS1R_FSC6 CAN_FS1R_FSC6_Msk /*!<Filter Scale Configuration bit 6 */
2716#define CAN_FS1R_FSC7_Pos (7U)
2717#define CAN_FS1R_FSC7_Msk (0x1U << CAN_FS1R_FSC7_Pos) /*!< 0x00000080 */
2718#define CAN_FS1R_FSC7 CAN_FS1R_FSC7_Msk /*!<Filter Scale Configuration bit 7 */
2719#define CAN_FS1R_FSC8_Pos (8U)
2720#define CAN_FS1R_FSC8_Msk (0x1U << CAN_FS1R_FSC8_Pos) /*!< 0x00000100 */
2721#define CAN_FS1R_FSC8 CAN_FS1R_FSC8_Msk /*!<Filter Scale Configuration bit 8 */
2722#define CAN_FS1R_FSC9_Pos (9U)
2723#define CAN_FS1R_FSC9_Msk (0x1U << CAN_FS1R_FSC9_Pos) /*!< 0x00000200 */
2724#define CAN_FS1R_FSC9 CAN_FS1R_FSC9_Msk /*!<Filter Scale Configuration bit 9 */
2725#define CAN_FS1R_FSC10_Pos (10U)
2726#define CAN_FS1R_FSC10_Msk (0x1U << CAN_FS1R_FSC10_Pos) /*!< 0x00000400 */
2727#define CAN_FS1R_FSC10 CAN_FS1R_FSC10_Msk /*!<Filter Scale Configuration bit 10 */
2728#define CAN_FS1R_FSC11_Pos (11U)
2729#define CAN_FS1R_FSC11_Msk (0x1U << CAN_FS1R_FSC11_Pos) /*!< 0x00000800 */
2730#define CAN_FS1R_FSC11 CAN_FS1R_FSC11_Msk /*!<Filter Scale Configuration bit 11 */
2731#define CAN_FS1R_FSC12_Pos (12U)
2732#define CAN_FS1R_FSC12_Msk (0x1U << CAN_FS1R_FSC12_Pos) /*!< 0x00001000 */
2733#define CAN_FS1R_FSC12 CAN_FS1R_FSC12_Msk /*!<Filter Scale Configuration bit 12 */
2734#define CAN_FS1R_FSC13_Pos (13U)
2735#define CAN_FS1R_FSC13_Msk (0x1U << CAN_FS1R_FSC13_Pos) /*!< 0x00002000 */
2736#define CAN_FS1R_FSC13 CAN_FS1R_FSC13_Msk /*!<Filter Scale Configuration bit 13 */
2737
2738/****************** Bit definition for CAN_FFA1R register *******************/
2739#define CAN_FFA1R_FFA_Pos (0U)
2740#define CAN_FFA1R_FFA_Msk (0x3FFFU << CAN_FFA1R_FFA_Pos) /*!< 0x00003FFF */
2741#define CAN_FFA1R_FFA CAN_FFA1R_FFA_Msk /*!<Filter FIFO Assignment */
2742#define CAN_FFA1R_FFA0_Pos (0U)
2743#define CAN_FFA1R_FFA0_Msk (0x1U << CAN_FFA1R_FFA0_Pos) /*!< 0x00000001 */
2744#define CAN_FFA1R_FFA0 CAN_FFA1R_FFA0_Msk /*!<Filter FIFO Assignment for Filter 0 */
2745#define CAN_FFA1R_FFA1_Pos (1U)
2746#define CAN_FFA1R_FFA1_Msk (0x1U << CAN_FFA1R_FFA1_Pos) /*!< 0x00000002 */
2747#define CAN_FFA1R_FFA1 CAN_FFA1R_FFA1_Msk /*!<Filter FIFO Assignment for Filter 1 */
2748#define CAN_FFA1R_FFA2_Pos (2U)
2749#define CAN_FFA1R_FFA2_Msk (0x1U << CAN_FFA1R_FFA2_Pos) /*!< 0x00000004 */
2750#define CAN_FFA1R_FFA2 CAN_FFA1R_FFA2_Msk /*!<Filter FIFO Assignment for Filter 2 */
2751#define CAN_FFA1R_FFA3_Pos (3U)
2752#define CAN_FFA1R_FFA3_Msk (0x1U << CAN_FFA1R_FFA3_Pos) /*!< 0x00000008 */
2753#define CAN_FFA1R_FFA3 CAN_FFA1R_FFA3_Msk /*!<Filter FIFO Assignment for Filter 3 */
2754#define CAN_FFA1R_FFA4_Pos (4U)
2755#define CAN_FFA1R_FFA4_Msk (0x1U << CAN_FFA1R_FFA4_Pos) /*!< 0x00000010 */
2756#define CAN_FFA1R_FFA4 CAN_FFA1R_FFA4_Msk /*!<Filter FIFO Assignment for Filter 4 */
2757#define CAN_FFA1R_FFA5_Pos (5U)
2758#define CAN_FFA1R_FFA5_Msk (0x1U << CAN_FFA1R_FFA5_Pos) /*!< 0x00000020 */
2759#define CAN_FFA1R_FFA5 CAN_FFA1R_FFA5_Msk /*!<Filter FIFO Assignment for Filter 5 */
2760#define CAN_FFA1R_FFA6_Pos (6U)
2761#define CAN_FFA1R_FFA6_Msk (0x1U << CAN_FFA1R_FFA6_Pos) /*!< 0x00000040 */
2762#define CAN_FFA1R_FFA6 CAN_FFA1R_FFA6_Msk /*!<Filter FIFO Assignment for Filter 6 */
2763#define CAN_FFA1R_FFA7_Pos (7U)
2764#define CAN_FFA1R_FFA7_Msk (0x1U << CAN_FFA1R_FFA7_Pos) /*!< 0x00000080 */
2765#define CAN_FFA1R_FFA7 CAN_FFA1R_FFA7_Msk /*!<Filter FIFO Assignment for Filter 7 */
2766#define CAN_FFA1R_FFA8_Pos (8U)
2767#define CAN_FFA1R_FFA8_Msk (0x1U << CAN_FFA1R_FFA8_Pos) /*!< 0x00000100 */
2768#define CAN_FFA1R_FFA8 CAN_FFA1R_FFA8_Msk /*!<Filter FIFO Assignment for Filter 8 */
2769#define CAN_FFA1R_FFA9_Pos (9U)
2770#define CAN_FFA1R_FFA9_Msk (0x1U << CAN_FFA1R_FFA9_Pos) /*!< 0x00000200 */
2771#define CAN_FFA1R_FFA9 CAN_FFA1R_FFA9_Msk /*!<Filter FIFO Assignment for Filter 9 */
2772#define CAN_FFA1R_FFA10_Pos (10U)
2773#define CAN_FFA1R_FFA10_Msk (0x1U << CAN_FFA1R_FFA10_Pos) /*!< 0x00000400 */
2774#define CAN_FFA1R_FFA10 CAN_FFA1R_FFA10_Msk /*!<Filter FIFO Assignment for Filter 10 */
2775#define CAN_FFA1R_FFA11_Pos (11U)
2776#define CAN_FFA1R_FFA11_Msk (0x1U << CAN_FFA1R_FFA11_Pos) /*!< 0x00000800 */
2777#define CAN_FFA1R_FFA11 CAN_FFA1R_FFA11_Msk /*!<Filter FIFO Assignment for Filter 11 */
2778#define CAN_FFA1R_FFA12_Pos (12U)
2779#define CAN_FFA1R_FFA12_Msk (0x1U << CAN_FFA1R_FFA12_Pos) /*!< 0x00001000 */
2780#define CAN_FFA1R_FFA12 CAN_FFA1R_FFA12_Msk /*!<Filter FIFO Assignment for Filter 12 */
2781#define CAN_FFA1R_FFA13_Pos (13U)
2782#define CAN_FFA1R_FFA13_Msk (0x1U << CAN_FFA1R_FFA13_Pos) /*!< 0x00002000 */
2783#define CAN_FFA1R_FFA13 CAN_FFA1R_FFA13_Msk /*!<Filter FIFO Assignment for Filter 13 */
2784
2785/******************* Bit definition for CAN_FA1R register *******************/
2786#define CAN_FA1R_FACT_Pos (0U)
2787#define CAN_FA1R_FACT_Msk (0x3FFFU << CAN_FA1R_FACT_Pos) /*!< 0x00003FFF */
2788#define CAN_FA1R_FACT CAN_FA1R_FACT_Msk /*!<Filter Active */
2789#define CAN_FA1R_FACT0_Pos (0U)
2790#define CAN_FA1R_FACT0_Msk (0x1U << CAN_FA1R_FACT0_Pos) /*!< 0x00000001 */
2791#define CAN_FA1R_FACT0 CAN_FA1R_FACT0_Msk /*!<Filter 0 Active */
2792#define CAN_FA1R_FACT1_Pos (1U)
2793#define CAN_FA1R_FACT1_Msk (0x1U << CAN_FA1R_FACT1_Pos) /*!< 0x00000002 */
2794#define CAN_FA1R_FACT1 CAN_FA1R_FACT1_Msk /*!<Filter 1 Active */
2795#define CAN_FA1R_FACT2_Pos (2U)
2796#define CAN_FA1R_FACT2_Msk (0x1U << CAN_FA1R_FACT2_Pos) /*!< 0x00000004 */
2797#define CAN_FA1R_FACT2 CAN_FA1R_FACT2_Msk /*!<Filter 2 Active */
2798#define CAN_FA1R_FACT3_Pos (3U)
2799#define CAN_FA1R_FACT3_Msk (0x1U << CAN_FA1R_FACT3_Pos) /*!< 0x00000008 */
2800#define CAN_FA1R_FACT3 CAN_FA1R_FACT3_Msk /*!<Filter 3 Active */
2801#define CAN_FA1R_FACT4_Pos (4U)
2802#define CAN_FA1R_FACT4_Msk (0x1U << CAN_FA1R_FACT4_Pos) /*!< 0x00000010 */
2803#define CAN_FA1R_FACT4 CAN_FA1R_FACT4_Msk /*!<Filter 4 Active */
2804#define CAN_FA1R_FACT5_Pos (5U)
2805#define CAN_FA1R_FACT5_Msk (0x1U << CAN_FA1R_FACT5_Pos) /*!< 0x00000020 */
2806#define CAN_FA1R_FACT5 CAN_FA1R_FACT5_Msk /*!<Filter 5 Active */
2807#define CAN_FA1R_FACT6_Pos (6U)
2808#define CAN_FA1R_FACT6_Msk (0x1U << CAN_FA1R_FACT6_Pos) /*!< 0x00000040 */
2809#define CAN_FA1R_FACT6 CAN_FA1R_FACT6_Msk /*!<Filter 6 Active */
2810#define CAN_FA1R_FACT7_Pos (7U)
2811#define CAN_FA1R_FACT7_Msk (0x1U << CAN_FA1R_FACT7_Pos) /*!< 0x00000080 */
2812#define CAN_FA1R_FACT7 CAN_FA1R_FACT7_Msk /*!<Filter 7 Active */
2813#define CAN_FA1R_FACT8_Pos (8U)
2814#define CAN_FA1R_FACT8_Msk (0x1U << CAN_FA1R_FACT8_Pos) /*!< 0x00000100 */
2815#define CAN_FA1R_FACT8 CAN_FA1R_FACT8_Msk /*!<Filter 8 Active */
2816#define CAN_FA1R_FACT9_Pos (9U)
2817#define CAN_FA1R_FACT9_Msk (0x1U << CAN_FA1R_FACT9_Pos) /*!< 0x00000200 */
2818#define CAN_FA1R_FACT9 CAN_FA1R_FACT9_Msk /*!<Filter 9 Active */
2819#define CAN_FA1R_FACT10_Pos (10U)
2820#define CAN_FA1R_FACT10_Msk (0x1U << CAN_FA1R_FACT10_Pos) /*!< 0x00000400 */
2821#define CAN_FA1R_FACT10 CAN_FA1R_FACT10_Msk /*!<Filter 10 Active */
2822#define CAN_FA1R_FACT11_Pos (11U)
2823#define CAN_FA1R_FACT11_Msk (0x1U << CAN_FA1R_FACT11_Pos) /*!< 0x00000800 */
2824#define CAN_FA1R_FACT11 CAN_FA1R_FACT11_Msk /*!<Filter 11 Active */
2825#define CAN_FA1R_FACT12_Pos (12U)
2826#define CAN_FA1R_FACT12_Msk (0x1U << CAN_FA1R_FACT12_Pos) /*!< 0x00001000 */
2827#define CAN_FA1R_FACT12 CAN_FA1R_FACT12_Msk /*!<Filter 12 Active */
2828#define CAN_FA1R_FACT13_Pos (13U)
2829#define CAN_FA1R_FACT13_Msk (0x1U << CAN_FA1R_FACT13_Pos) /*!< 0x00002000 */
2830#define CAN_FA1R_FACT13 CAN_FA1R_FACT13_Msk /*!<Filter 13 Active */
2831
2832/******************* Bit definition for CAN_F0R1 register *******************/
2833#define CAN_F0R1_FB0_Pos (0U)
2834#define CAN_F0R1_FB0_Msk (0x1U << CAN_F0R1_FB0_Pos) /*!< 0x00000001 */
2835#define CAN_F0R1_FB0 CAN_F0R1_FB0_Msk /*!<Filter bit 0 */
2836#define CAN_F0R1_FB1_Pos (1U)
2837#define CAN_F0R1_FB1_Msk (0x1U << CAN_F0R1_FB1_Pos) /*!< 0x00000002 */
2838#define CAN_F0R1_FB1 CAN_F0R1_FB1_Msk /*!<Filter bit 1 */
2839#define CAN_F0R1_FB2_Pos (2U)
2840#define CAN_F0R1_FB2_Msk (0x1U << CAN_F0R1_FB2_Pos) /*!< 0x00000004 */
2841#define CAN_F0R1_FB2 CAN_F0R1_FB2_Msk /*!<Filter bit 2 */
2842#define CAN_F0R1_FB3_Pos (3U)
2843#define CAN_F0R1_FB3_Msk (0x1U << CAN_F0R1_FB3_Pos) /*!< 0x00000008 */
2844#define CAN_F0R1_FB3 CAN_F0R1_FB3_Msk /*!<Filter bit 3 */
2845#define CAN_F0R1_FB4_Pos (4U)
2846#define CAN_F0R1_FB4_Msk (0x1U << CAN_F0R1_FB4_Pos) /*!< 0x00000010 */
2847#define CAN_F0R1_FB4 CAN_F0R1_FB4_Msk /*!<Filter bit 4 */
2848#define CAN_F0R1_FB5_Pos (5U)
2849#define CAN_F0R1_FB5_Msk (0x1U << CAN_F0R1_FB5_Pos) /*!< 0x00000020 */
2850#define CAN_F0R1_FB5 CAN_F0R1_FB5_Msk /*!<Filter bit 5 */
2851#define CAN_F0R1_FB6_Pos (6U)
2852#define CAN_F0R1_FB6_Msk (0x1U << CAN_F0R1_FB6_Pos) /*!< 0x00000040 */
2853#define CAN_F0R1_FB6 CAN_F0R1_FB6_Msk /*!<Filter bit 6 */
2854#define CAN_F0R1_FB7_Pos (7U)
2855#define CAN_F0R1_FB7_Msk (0x1U << CAN_F0R1_FB7_Pos) /*!< 0x00000080 */
2856#define CAN_F0R1_FB7 CAN_F0R1_FB7_Msk /*!<Filter bit 7 */
2857#define CAN_F0R1_FB8_Pos (8U)
2858#define CAN_F0R1_FB8_Msk (0x1U << CAN_F0R1_FB8_Pos) /*!< 0x00000100 */
2859#define CAN_F0R1_FB8 CAN_F0R1_FB8_Msk /*!<Filter bit 8 */
2860#define CAN_F0R1_FB9_Pos (9U)
2861#define CAN_F0R1_FB9_Msk (0x1U << CAN_F0R1_FB9_Pos) /*!< 0x00000200 */
2862#define CAN_F0R1_FB9 CAN_F0R1_FB9_Msk /*!<Filter bit 9 */
2863#define CAN_F0R1_FB10_Pos (10U)
2864#define CAN_F0R1_FB10_Msk (0x1U << CAN_F0R1_FB10_Pos) /*!< 0x00000400 */
2865#define CAN_F0R1_FB10 CAN_F0R1_FB10_Msk /*!<Filter bit 10 */
2866#define CAN_F0R1_FB11_Pos (11U)
2867#define CAN_F0R1_FB11_Msk (0x1U << CAN_F0R1_FB11_Pos) /*!< 0x00000800 */
2868#define CAN_F0R1_FB11 CAN_F0R1_FB11_Msk /*!<Filter bit 11 */
2869#define CAN_F0R1_FB12_Pos (12U)
2870#define CAN_F0R1_FB12_Msk (0x1U << CAN_F0R1_FB12_Pos) /*!< 0x00001000 */
2871#define CAN_F0R1_FB12 CAN_F0R1_FB12_Msk /*!<Filter bit 12 */
2872#define CAN_F0R1_FB13_Pos (13U)
2873#define CAN_F0R1_FB13_Msk (0x1U << CAN_F0R1_FB13_Pos) /*!< 0x00002000 */
2874#define CAN_F0R1_FB13 CAN_F0R1_FB13_Msk /*!<Filter bit 13 */
2875#define CAN_F0R1_FB14_Pos (14U)
2876#define CAN_F0R1_FB14_Msk (0x1U << CAN_F0R1_FB14_Pos) /*!< 0x00004000 */
2877#define CAN_F0R1_FB14 CAN_F0R1_FB14_Msk /*!<Filter bit 14 */
2878#define CAN_F0R1_FB15_Pos (15U)
2879#define CAN_F0R1_FB15_Msk (0x1U << CAN_F0R1_FB15_Pos) /*!< 0x00008000 */
2880#define CAN_F0R1_FB15 CAN_F0R1_FB15_Msk /*!<Filter bit 15 */
2881#define CAN_F0R1_FB16_Pos (16U)
2882#define CAN_F0R1_FB16_Msk (0x1U << CAN_F0R1_FB16_Pos) /*!< 0x00010000 */
2883#define CAN_F0R1_FB16 CAN_F0R1_FB16_Msk /*!<Filter bit 16 */
2884#define CAN_F0R1_FB17_Pos (17U)
2885#define CAN_F0R1_FB17_Msk (0x1U << CAN_F0R1_FB17_Pos) /*!< 0x00020000 */
2886#define CAN_F0R1_FB17 CAN_F0R1_FB17_Msk /*!<Filter bit 17 */
2887#define CAN_F0R1_FB18_Pos (18U)
2888#define CAN_F0R1_FB18_Msk (0x1U << CAN_F0R1_FB18_Pos) /*!< 0x00040000 */
2889#define CAN_F0R1_FB18 CAN_F0R1_FB18_Msk /*!<Filter bit 18 */
2890#define CAN_F0R1_FB19_Pos (19U)
2891#define CAN_F0R1_FB19_Msk (0x1U << CAN_F0R1_FB19_Pos) /*!< 0x00080000 */
2892#define CAN_F0R1_FB19 CAN_F0R1_FB19_Msk /*!<Filter bit 19 */
2893#define CAN_F0R1_FB20_Pos (20U)
2894#define CAN_F0R1_FB20_Msk (0x1U << CAN_F0R1_FB20_Pos) /*!< 0x00100000 */
2895#define CAN_F0R1_FB20 CAN_F0R1_FB20_Msk /*!<Filter bit 20 */
2896#define CAN_F0R1_FB21_Pos (21U)
2897#define CAN_F0R1_FB21_Msk (0x1U << CAN_F0R1_FB21_Pos) /*!< 0x00200000 */
2898#define CAN_F0R1_FB21 CAN_F0R1_FB21_Msk /*!<Filter bit 21 */
2899#define CAN_F0R1_FB22_Pos (22U)
2900#define CAN_F0R1_FB22_Msk (0x1U << CAN_F0R1_FB22_Pos) /*!< 0x00400000 */
2901#define CAN_F0R1_FB22 CAN_F0R1_FB22_Msk /*!<Filter bit 22 */
2902#define CAN_F0R1_FB23_Pos (23U)
2903#define CAN_F0R1_FB23_Msk (0x1U << CAN_F0R1_FB23_Pos) /*!< 0x00800000 */
2904#define CAN_F0R1_FB23 CAN_F0R1_FB23_Msk /*!<Filter bit 23 */
2905#define CAN_F0R1_FB24_Pos (24U)
2906#define CAN_F0R1_FB24_Msk (0x1U << CAN_F0R1_FB24_Pos) /*!< 0x01000000 */
2907#define CAN_F0R1_FB24 CAN_F0R1_FB24_Msk /*!<Filter bit 24 */
2908#define CAN_F0R1_FB25_Pos (25U)
2909#define CAN_F0R1_FB25_Msk (0x1U << CAN_F0R1_FB25_Pos) /*!< 0x02000000 */
2910#define CAN_F0R1_FB25 CAN_F0R1_FB25_Msk /*!<Filter bit 25 */
2911#define CAN_F0R1_FB26_Pos (26U)
2912#define CAN_F0R1_FB26_Msk (0x1U << CAN_F0R1_FB26_Pos) /*!< 0x04000000 */
2913#define CAN_F0R1_FB26 CAN_F0R1_FB26_Msk /*!<Filter bit 26 */
2914#define CAN_F0R1_FB27_Pos (27U)
2915#define CAN_F0R1_FB27_Msk (0x1U << CAN_F0R1_FB27_Pos) /*!< 0x08000000 */
2916#define CAN_F0R1_FB27 CAN_F0R1_FB27_Msk /*!<Filter bit 27 */
2917#define CAN_F0R1_FB28_Pos (28U)
2918#define CAN_F0R1_FB28_Msk (0x1U << CAN_F0R1_FB28_Pos) /*!< 0x10000000 */
2919#define CAN_F0R1_FB28 CAN_F0R1_FB28_Msk /*!<Filter bit 28 */
2920#define CAN_F0R1_FB29_Pos (29U)
2921#define CAN_F0R1_FB29_Msk (0x1U << CAN_F0R1_FB29_Pos) /*!< 0x20000000 */
2922#define CAN_F0R1_FB29 CAN_F0R1_FB29_Msk /*!<Filter bit 29 */
2923#define CAN_F0R1_FB30_Pos (30U)
2924#define CAN_F0R1_FB30_Msk (0x1U << CAN_F0R1_FB30_Pos) /*!< 0x40000000 */
2925#define CAN_F0R1_FB30 CAN_F0R1_FB30_Msk /*!<Filter bit 30 */
2926#define CAN_F0R1_FB31_Pos (31U)
2927#define CAN_F0R1_FB31_Msk (0x1U << CAN_F0R1_FB31_Pos) /*!< 0x80000000 */
2928#define CAN_F0R1_FB31 CAN_F0R1_FB31_Msk /*!<Filter bit 31 */
2929
2930/******************* Bit definition for CAN_F1R1 register *******************/
2931#define CAN_F1R1_FB0_Pos (0U)
2932#define CAN_F1R1_FB0_Msk (0x1U << CAN_F1R1_FB0_Pos) /*!< 0x00000001 */
2933#define CAN_F1R1_FB0 CAN_F1R1_FB0_Msk /*!<Filter bit 0 */
2934#define CAN_F1R1_FB1_Pos (1U)
2935#define CAN_F1R1_FB1_Msk (0x1U << CAN_F1R1_FB1_Pos) /*!< 0x00000002 */
2936#define CAN_F1R1_FB1 CAN_F1R1_FB1_Msk /*!<Filter bit 1 */
2937#define CAN_F1R1_FB2_Pos (2U)
2938#define CAN_F1R1_FB2_Msk (0x1U << CAN_F1R1_FB2_Pos) /*!< 0x00000004 */
2939#define CAN_F1R1_FB2 CAN_F1R1_FB2_Msk /*!<Filter bit 2 */
2940#define CAN_F1R1_FB3_Pos (3U)
2941#define CAN_F1R1_FB3_Msk (0x1U << CAN_F1R1_FB3_Pos) /*!< 0x00000008 */
2942#define CAN_F1R1_FB3 CAN_F1R1_FB3_Msk /*!<Filter bit 3 */
2943#define CAN_F1R1_FB4_Pos (4U)
2944#define CAN_F1R1_FB4_Msk (0x1U << CAN_F1R1_FB4_Pos) /*!< 0x00000010 */
2945#define CAN_F1R1_FB4 CAN_F1R1_FB4_Msk /*!<Filter bit 4 */
2946#define CAN_F1R1_FB5_Pos (5U)
2947#define CAN_F1R1_FB5_Msk (0x1U << CAN_F1R1_FB5_Pos) /*!< 0x00000020 */
2948#define CAN_F1R1_FB5 CAN_F1R1_FB5_Msk /*!<Filter bit 5 */
2949#define CAN_F1R1_FB6_Pos (6U)
2950#define CAN_F1R1_FB6_Msk (0x1U << CAN_F1R1_FB6_Pos) /*!< 0x00000040 */
2951#define CAN_F1R1_FB6 CAN_F1R1_FB6_Msk /*!<Filter bit 6 */
2952#define CAN_F1R1_FB7_Pos (7U)
2953#define CAN_F1R1_FB7_Msk (0x1U << CAN_F1R1_FB7_Pos) /*!< 0x00000080 */
2954#define CAN_F1R1_FB7 CAN_F1R1_FB7_Msk /*!<Filter bit 7 */
2955#define CAN_F1R1_FB8_Pos (8U)
2956#define CAN_F1R1_FB8_Msk (0x1U << CAN_F1R1_FB8_Pos) /*!< 0x00000100 */
2957#define CAN_F1R1_FB8 CAN_F1R1_FB8_Msk /*!<Filter bit 8 */
2958#define CAN_F1R1_FB9_Pos (9U)
2959#define CAN_F1R1_FB9_Msk (0x1U << CAN_F1R1_FB9_Pos) /*!< 0x00000200 */
2960#define CAN_F1R1_FB9 CAN_F1R1_FB9_Msk /*!<Filter bit 9 */
2961#define CAN_F1R1_FB10_Pos (10U)
2962#define CAN_F1R1_FB10_Msk (0x1U << CAN_F1R1_FB10_Pos) /*!< 0x00000400 */
2963#define CAN_F1R1_FB10 CAN_F1R1_FB10_Msk /*!<Filter bit 10 */
2964#define CAN_F1R1_FB11_Pos (11U)
2965#define CAN_F1R1_FB11_Msk (0x1U << CAN_F1R1_FB11_Pos) /*!< 0x00000800 */
2966#define CAN_F1R1_FB11 CAN_F1R1_FB11_Msk /*!<Filter bit 11 */
2967#define CAN_F1R1_FB12_Pos (12U)
2968#define CAN_F1R1_FB12_Msk (0x1U << CAN_F1R1_FB12_Pos) /*!< 0x00001000 */
2969#define CAN_F1R1_FB12 CAN_F1R1_FB12_Msk /*!<Filter bit 12 */
2970#define CAN_F1R1_FB13_Pos (13U)
2971#define CAN_F1R1_FB13_Msk (0x1U << CAN_F1R1_FB13_Pos) /*!< 0x00002000 */
2972#define CAN_F1R1_FB13 CAN_F1R1_FB13_Msk /*!<Filter bit 13 */
2973#define CAN_F1R1_FB14_Pos (14U)
2974#define CAN_F1R1_FB14_Msk (0x1U << CAN_F1R1_FB14_Pos) /*!< 0x00004000 */
2975#define CAN_F1R1_FB14 CAN_F1R1_FB14_Msk /*!<Filter bit 14 */
2976#define CAN_F1R1_FB15_Pos (15U)
2977#define CAN_F1R1_FB15_Msk (0x1U << CAN_F1R1_FB15_Pos) /*!< 0x00008000 */
2978#define CAN_F1R1_FB15 CAN_F1R1_FB15_Msk /*!<Filter bit 15 */
2979#define CAN_F1R1_FB16_Pos (16U)
2980#define CAN_F1R1_FB16_Msk (0x1U << CAN_F1R1_FB16_Pos) /*!< 0x00010000 */
2981#define CAN_F1R1_FB16 CAN_F1R1_FB16_Msk /*!<Filter bit 16 */
2982#define CAN_F1R1_FB17_Pos (17U)
2983#define CAN_F1R1_FB17_Msk (0x1U << CAN_F1R1_FB17_Pos) /*!< 0x00020000 */
2984#define CAN_F1R1_FB17 CAN_F1R1_FB17_Msk /*!<Filter bit 17 */
2985#define CAN_F1R1_FB18_Pos (18U)
2986#define CAN_F1R1_FB18_Msk (0x1U << CAN_F1R1_FB18_Pos) /*!< 0x00040000 */
2987#define CAN_F1R1_FB18 CAN_F1R1_FB18_Msk /*!<Filter bit 18 */
2988#define CAN_F1R1_FB19_Pos (19U)
2989#define CAN_F1R1_FB19_Msk (0x1U << CAN_F1R1_FB19_Pos) /*!< 0x00080000 */
2990#define CAN_F1R1_FB19 CAN_F1R1_FB19_Msk /*!<Filter bit 19 */
2991#define CAN_F1R1_FB20_Pos (20U)
2992#define CAN_F1R1_FB20_Msk (0x1U << CAN_F1R1_FB20_Pos) /*!< 0x00100000 */
2993#define CAN_F1R1_FB20 CAN_F1R1_FB20_Msk /*!<Filter bit 20 */
2994#define CAN_F1R1_FB21_Pos (21U)
2995#define CAN_F1R1_FB21_Msk (0x1U << CAN_F1R1_FB21_Pos) /*!< 0x00200000 */
2996#define CAN_F1R1_FB21 CAN_F1R1_FB21_Msk /*!<Filter bit 21 */
2997#define CAN_F1R1_FB22_Pos (22U)
2998#define CAN_F1R1_FB22_Msk (0x1U << CAN_F1R1_FB22_Pos) /*!< 0x00400000 */
2999#define CAN_F1R1_FB22 CAN_F1R1_FB22_Msk /*!<Filter bit 22 */
3000#define CAN_F1R1_FB23_Pos (23U)
3001#define CAN_F1R1_FB23_Msk (0x1U << CAN_F1R1_FB23_Pos) /*!< 0x00800000 */
3002#define CAN_F1R1_FB23 CAN_F1R1_FB23_Msk /*!<Filter bit 23 */
3003#define CAN_F1R1_FB24_Pos (24U)
3004#define CAN_F1R1_FB24_Msk (0x1U << CAN_F1R1_FB24_Pos) /*!< 0x01000000 */
3005#define CAN_F1R1_FB24 CAN_F1R1_FB24_Msk /*!<Filter bit 24 */
3006#define CAN_F1R1_FB25_Pos (25U)
3007#define CAN_F1R1_FB25_Msk (0x1U << CAN_F1R1_FB25_Pos) /*!< 0x02000000 */
3008#define CAN_F1R1_FB25 CAN_F1R1_FB25_Msk /*!<Filter bit 25 */
3009#define CAN_F1R1_FB26_Pos (26U)
3010#define CAN_F1R1_FB26_Msk (0x1U << CAN_F1R1_FB26_Pos) /*!< 0x04000000 */
3011#define CAN_F1R1_FB26 CAN_F1R1_FB26_Msk /*!<Filter bit 26 */
3012#define CAN_F1R1_FB27_Pos (27U)
3013#define CAN_F1R1_FB27_Msk (0x1U << CAN_F1R1_FB27_Pos) /*!< 0x08000000 */
3014#define CAN_F1R1_FB27 CAN_F1R1_FB27_Msk /*!<Filter bit 27 */
3015#define CAN_F1R1_FB28_Pos (28U)
3016#define CAN_F1R1_FB28_Msk (0x1U << CAN_F1R1_FB28_Pos) /*!< 0x10000000 */
3017#define CAN_F1R1_FB28 CAN_F1R1_FB28_Msk /*!<Filter bit 28 */
3018#define CAN_F1R1_FB29_Pos (29U)
3019#define CAN_F1R1_FB29_Msk (0x1U << CAN_F1R1_FB29_Pos) /*!< 0x20000000 */
3020#define CAN_F1R1_FB29 CAN_F1R1_FB29_Msk /*!<Filter bit 29 */
3021#define CAN_F1R1_FB30_Pos (30U)
3022#define CAN_F1R1_FB30_Msk (0x1U << CAN_F1R1_FB30_Pos) /*!< 0x40000000 */
3023#define CAN_F1R1_FB30 CAN_F1R1_FB30_Msk /*!<Filter bit 30 */
3024#define CAN_F1R1_FB31_Pos (31U)
3025#define CAN_F1R1_FB31_Msk (0x1U << CAN_F1R1_FB31_Pos) /*!< 0x80000000 */
3026#define CAN_F1R1_FB31 CAN_F1R1_FB31_Msk /*!<Filter bit 31 */
3027
3028/******************* Bit definition for CAN_F2R1 register *******************/
3029#define CAN_F2R1_FB0_Pos (0U)
3030#define CAN_F2R1_FB0_Msk (0x1U << CAN_F2R1_FB0_Pos) /*!< 0x00000001 */
3031#define CAN_F2R1_FB0 CAN_F2R1_FB0_Msk /*!<Filter bit 0 */
3032#define CAN_F2R1_FB1_Pos (1U)
3033#define CAN_F2R1_FB1_Msk (0x1U << CAN_F2R1_FB1_Pos) /*!< 0x00000002 */
3034#define CAN_F2R1_FB1 CAN_F2R1_FB1_Msk /*!<Filter bit 1 */
3035#define CAN_F2R1_FB2_Pos (2U)
3036#define CAN_F2R1_FB2_Msk (0x1U << CAN_F2R1_FB2_Pos) /*!< 0x00000004 */
3037#define CAN_F2R1_FB2 CAN_F2R1_FB2_Msk /*!<Filter bit 2 */
3038#define CAN_F2R1_FB3_Pos (3U)
3039#define CAN_F2R1_FB3_Msk (0x1U << CAN_F2R1_FB3_Pos) /*!< 0x00000008 */
3040#define CAN_F2R1_FB3 CAN_F2R1_FB3_Msk /*!<Filter bit 3 */
3041#define CAN_F2R1_FB4_Pos (4U)
3042#define CAN_F2R1_FB4_Msk (0x1U << CAN_F2R1_FB4_Pos) /*!< 0x00000010 */
3043#define CAN_F2R1_FB4 CAN_F2R1_FB4_Msk /*!<Filter bit 4 */
3044#define CAN_F2R1_FB5_Pos (5U)
3045#define CAN_F2R1_FB5_Msk (0x1U << CAN_F2R1_FB5_Pos) /*!< 0x00000020 */
3046#define CAN_F2R1_FB5 CAN_F2R1_FB5_Msk /*!<Filter bit 5 */
3047#define CAN_F2R1_FB6_Pos (6U)
3048#define CAN_F2R1_FB6_Msk (0x1U << CAN_F2R1_FB6_Pos) /*!< 0x00000040 */
3049#define CAN_F2R1_FB6 CAN_F2R1_FB6_Msk /*!<Filter bit 6 */
3050#define CAN_F2R1_FB7_Pos (7U)
3051#define CAN_F2R1_FB7_Msk (0x1U << CAN_F2R1_FB7_Pos) /*!< 0x00000080 */
3052#define CAN_F2R1_FB7 CAN_F2R1_FB7_Msk /*!<Filter bit 7 */
3053#define CAN_F2R1_FB8_Pos (8U)
3054#define CAN_F2R1_FB8_Msk (0x1U << CAN_F2R1_FB8_Pos) /*!< 0x00000100 */
3055#define CAN_F2R1_FB8 CAN_F2R1_FB8_Msk /*!<Filter bit 8 */
3056#define CAN_F2R1_FB9_Pos (9U)
3057#define CAN_F2R1_FB9_Msk (0x1U << CAN_F2R1_FB9_Pos) /*!< 0x00000200 */
3058#define CAN_F2R1_FB9 CAN_F2R1_FB9_Msk /*!<Filter bit 9 */
3059#define CAN_F2R1_FB10_Pos (10U)
3060#define CAN_F2R1_FB10_Msk (0x1U << CAN_F2R1_FB10_Pos) /*!< 0x00000400 */
3061#define CAN_F2R1_FB10 CAN_F2R1_FB10_Msk /*!<Filter bit 10 */
3062#define CAN_F2R1_FB11_Pos (11U)
3063#define CAN_F2R1_FB11_Msk (0x1U << CAN_F2R1_FB11_Pos) /*!< 0x00000800 */
3064#define CAN_F2R1_FB11 CAN_F2R1_FB11_Msk /*!<Filter bit 11 */
3065#define CAN_F2R1_FB12_Pos (12U)
3066#define CAN_F2R1_FB12_Msk (0x1U << CAN_F2R1_FB12_Pos) /*!< 0x00001000 */
3067#define CAN_F2R1_FB12 CAN_F2R1_FB12_Msk /*!<Filter bit 12 */
3068#define CAN_F2R1_FB13_Pos (13U)
3069#define CAN_F2R1_FB13_Msk (0x1U << CAN_F2R1_FB13_Pos) /*!< 0x00002000 */
3070#define CAN_F2R1_FB13 CAN_F2R1_FB13_Msk /*!<Filter bit 13 */
3071#define CAN_F2R1_FB14_Pos (14U)
3072#define CAN_F2R1_FB14_Msk (0x1U << CAN_F2R1_FB14_Pos) /*!< 0x00004000 */
3073#define CAN_F2R1_FB14 CAN_F2R1_FB14_Msk /*!<Filter bit 14 */
3074#define CAN_F2R1_FB15_Pos (15U)
3075#define CAN_F2R1_FB15_Msk (0x1U << CAN_F2R1_FB15_Pos) /*!< 0x00008000 */
3076#define CAN_F2R1_FB15 CAN_F2R1_FB15_Msk /*!<Filter bit 15 */
3077#define CAN_F2R1_FB16_Pos (16U)
3078#define CAN_F2R1_FB16_Msk (0x1U << CAN_F2R1_FB16_Pos) /*!< 0x00010000 */
3079#define CAN_F2R1_FB16 CAN_F2R1_FB16_Msk /*!<Filter bit 16 */
3080#define CAN_F2R1_FB17_Pos (17U)
3081#define CAN_F2R1_FB17_Msk (0x1U << CAN_F2R1_FB17_Pos) /*!< 0x00020000 */
3082#define CAN_F2R1_FB17 CAN_F2R1_FB17_Msk /*!<Filter bit 17 */
3083#define CAN_F2R1_FB18_Pos (18U)
3084#define CAN_F2R1_FB18_Msk (0x1U << CAN_F2R1_FB18_Pos) /*!< 0x00040000 */
3085#define CAN_F2R1_FB18 CAN_F2R1_FB18_Msk /*!<Filter bit 18 */
3086#define CAN_F2R1_FB19_Pos (19U)
3087#define CAN_F2R1_FB19_Msk (0x1U << CAN_F2R1_FB19_Pos) /*!< 0x00080000 */
3088#define CAN_F2R1_FB19 CAN_F2R1_FB19_Msk /*!<Filter bit 19 */
3089#define CAN_F2R1_FB20_Pos (20U)
3090#define CAN_F2R1_FB20_Msk (0x1U << CAN_F2R1_FB20_Pos) /*!< 0x00100000 */
3091#define CAN_F2R1_FB20 CAN_F2R1_FB20_Msk /*!<Filter bit 20 */
3092#define CAN_F2R1_FB21_Pos (21U)
3093#define CAN_F2R1_FB21_Msk (0x1U << CAN_F2R1_FB21_Pos) /*!< 0x00200000 */
3094#define CAN_F2R1_FB21 CAN_F2R1_FB21_Msk /*!<Filter bit 21 */
3095#define CAN_F2R1_FB22_Pos (22U)
3096#define CAN_F2R1_FB22_Msk (0x1U << CAN_F2R1_FB22_Pos) /*!< 0x00400000 */
3097#define CAN_F2R1_FB22 CAN_F2R1_FB22_Msk /*!<Filter bit 22 */
3098#define CAN_F2R1_FB23_Pos (23U)
3099#define CAN_F2R1_FB23_Msk (0x1U << CAN_F2R1_FB23_Pos) /*!< 0x00800000 */
3100#define CAN_F2R1_FB23 CAN_F2R1_FB23_Msk /*!<Filter bit 23 */
3101#define CAN_F2R1_FB24_Pos (24U)
3102#define CAN_F2R1_FB24_Msk (0x1U << CAN_F2R1_FB24_Pos) /*!< 0x01000000 */
3103#define CAN_F2R1_FB24 CAN_F2R1_FB24_Msk /*!<Filter bit 24 */
3104#define CAN_F2R1_FB25_Pos (25U)
3105#define CAN_F2R1_FB25_Msk (0x1U << CAN_F2R1_FB25_Pos) /*!< 0x02000000 */
3106#define CAN_F2R1_FB25 CAN_F2R1_FB25_Msk /*!<Filter bit 25 */
3107#define CAN_F2R1_FB26_Pos (26U)
3108#define CAN_F2R1_FB26_Msk (0x1U << CAN_F2R1_FB26_Pos) /*!< 0x04000000 */
3109#define CAN_F2R1_FB26 CAN_F2R1_FB26_Msk /*!<Filter bit 26 */
3110#define CAN_F2R1_FB27_Pos (27U)
3111#define CAN_F2R1_FB27_Msk (0x1U << CAN_F2R1_FB27_Pos) /*!< 0x08000000 */
3112#define CAN_F2R1_FB27 CAN_F2R1_FB27_Msk /*!<Filter bit 27 */
3113#define CAN_F2R1_FB28_Pos (28U)
3114#define CAN_F2R1_FB28_Msk (0x1U << CAN_F2R1_FB28_Pos) /*!< 0x10000000 */
3115#define CAN_F2R1_FB28 CAN_F2R1_FB28_Msk /*!<Filter bit 28 */
3116#define CAN_F2R1_FB29_Pos (29U)
3117#define CAN_F2R1_FB29_Msk (0x1U << CAN_F2R1_FB29_Pos) /*!< 0x20000000 */
3118#define CAN_F2R1_FB29 CAN_F2R1_FB29_Msk /*!<Filter bit 29 */
3119#define CAN_F2R1_FB30_Pos (30U)
3120#define CAN_F2R1_FB30_Msk (0x1U << CAN_F2R1_FB30_Pos) /*!< 0x40000000 */
3121#define CAN_F2R1_FB30 CAN_F2R1_FB30_Msk /*!<Filter bit 30 */
3122#define CAN_F2R1_FB31_Pos (31U)
3123#define CAN_F2R1_FB31_Msk (0x1U << CAN_F2R1_FB31_Pos) /*!< 0x80000000 */
3124#define CAN_F2R1_FB31 CAN_F2R1_FB31_Msk /*!<Filter bit 31 */
3125
3126/******************* Bit definition for CAN_F3R1 register *******************/
3127#define CAN_F3R1_FB0_Pos (0U)
3128#define CAN_F3R1_FB0_Msk (0x1U << CAN_F3R1_FB0_Pos) /*!< 0x00000001 */
3129#define CAN_F3R1_FB0 CAN_F3R1_FB0_Msk /*!<Filter bit 0 */
3130#define CAN_F3R1_FB1_Pos (1U)
3131#define CAN_F3R1_FB1_Msk (0x1U << CAN_F3R1_FB1_Pos) /*!< 0x00000002 */
3132#define CAN_F3R1_FB1 CAN_F3R1_FB1_Msk /*!<Filter bit 1 */
3133#define CAN_F3R1_FB2_Pos (2U)
3134#define CAN_F3R1_FB2_Msk (0x1U << CAN_F3R1_FB2_Pos) /*!< 0x00000004 */
3135#define CAN_F3R1_FB2 CAN_F3R1_FB2_Msk /*!<Filter bit 2 */
3136#define CAN_F3R1_FB3_Pos (3U)
3137#define CAN_F3R1_FB3_Msk (0x1U << CAN_F3R1_FB3_Pos) /*!< 0x00000008 */
3138#define CAN_F3R1_FB3 CAN_F3R1_FB3_Msk /*!<Filter bit 3 */
3139#define CAN_F3R1_FB4_Pos (4U)
3140#define CAN_F3R1_FB4_Msk (0x1U << CAN_F3R1_FB4_Pos) /*!< 0x00000010 */
3141#define CAN_F3R1_FB4 CAN_F3R1_FB4_Msk /*!<Filter bit 4 */
3142#define CAN_F3R1_FB5_Pos (5U)
3143#define CAN_F3R1_FB5_Msk (0x1U << CAN_F3R1_FB5_Pos) /*!< 0x00000020 */
3144#define CAN_F3R1_FB5 CAN_F3R1_FB5_Msk /*!<Filter bit 5 */
3145#define CAN_F3R1_FB6_Pos (6U)
3146#define CAN_F3R1_FB6_Msk (0x1U << CAN_F3R1_FB6_Pos) /*!< 0x00000040 */
3147#define CAN_F3R1_FB6 CAN_F3R1_FB6_Msk /*!<Filter bit 6 */
3148#define CAN_F3R1_FB7_Pos (7U)
3149#define CAN_F3R1_FB7_Msk (0x1U << CAN_F3R1_FB7_Pos) /*!< 0x00000080 */
3150#define CAN_F3R1_FB7 CAN_F3R1_FB7_Msk /*!<Filter bit 7 */
3151#define CAN_F3R1_FB8_Pos (8U)
3152#define CAN_F3R1_FB8_Msk (0x1U << CAN_F3R1_FB8_Pos) /*!< 0x00000100 */
3153#define CAN_F3R1_FB8 CAN_F3R1_FB8_Msk /*!<Filter bit 8 */
3154#define CAN_F3R1_FB9_Pos (9U)
3155#define CAN_F3R1_FB9_Msk (0x1U << CAN_F3R1_FB9_Pos) /*!< 0x00000200 */
3156#define CAN_F3R1_FB9 CAN_F3R1_FB9_Msk /*!<Filter bit 9 */
3157#define CAN_F3R1_FB10_Pos (10U)
3158#define CAN_F3R1_FB10_Msk (0x1U << CAN_F3R1_FB10_Pos) /*!< 0x00000400 */
3159#define CAN_F3R1_FB10 CAN_F3R1_FB10_Msk /*!<Filter bit 10 */
3160#define CAN_F3R1_FB11_Pos (11U)
3161#define CAN_F3R1_FB11_Msk (0x1U << CAN_F3R1_FB11_Pos) /*!< 0x00000800 */
3162#define CAN_F3R1_FB11 CAN_F3R1_FB11_Msk /*!<Filter bit 11 */
3163#define CAN_F3R1_FB12_Pos (12U)
3164#define CAN_F3R1_FB12_Msk (0x1U << CAN_F3R1_FB12_Pos) /*!< 0x00001000 */
3165#define CAN_F3R1_FB12 CAN_F3R1_FB12_Msk /*!<Filter bit 12 */
3166#define CAN_F3R1_FB13_Pos (13U)
3167#define CAN_F3R1_FB13_Msk (0x1U << CAN_F3R1_FB13_Pos) /*!< 0x00002000 */
3168#define CAN_F3R1_FB13 CAN_F3R1_FB13_Msk /*!<Filter bit 13 */
3169#define CAN_F3R1_FB14_Pos (14U)
3170#define CAN_F3R1_FB14_Msk (0x1U << CAN_F3R1_FB14_Pos) /*!< 0x00004000 */
3171#define CAN_F3R1_FB14 CAN_F3R1_FB14_Msk /*!<Filter bit 14 */
3172#define CAN_F3R1_FB15_Pos (15U)
3173#define CAN_F3R1_FB15_Msk (0x1U << CAN_F3R1_FB15_Pos) /*!< 0x00008000 */
3174#define CAN_F3R1_FB15 CAN_F3R1_FB15_Msk /*!<Filter bit 15 */
3175#define CAN_F3R1_FB16_Pos (16U)
3176#define CAN_F3R1_FB16_Msk (0x1U << CAN_F3R1_FB16_Pos) /*!< 0x00010000 */
3177#define CAN_F3R1_FB16 CAN_F3R1_FB16_Msk /*!<Filter bit 16 */
3178#define CAN_F3R1_FB17_Pos (17U)
3179#define CAN_F3R1_FB17_Msk (0x1U << CAN_F3R1_FB17_Pos) /*!< 0x00020000 */
3180#define CAN_F3R1_FB17 CAN_F3R1_FB17_Msk /*!<Filter bit 17 */
3181#define CAN_F3R1_FB18_Pos (18U)
3182#define CAN_F3R1_FB18_Msk (0x1U << CAN_F3R1_FB18_Pos) /*!< 0x00040000 */
3183#define CAN_F3R1_FB18 CAN_F3R1_FB18_Msk /*!<Filter bit 18 */
3184#define CAN_F3R1_FB19_Pos (19U)
3185#define CAN_F3R1_FB19_Msk (0x1U << CAN_F3R1_FB19_Pos) /*!< 0x00080000 */
3186#define CAN_F3R1_FB19 CAN_F3R1_FB19_Msk /*!<Filter bit 19 */
3187#define CAN_F3R1_FB20_Pos (20U)
3188#define CAN_F3R1_FB20_Msk (0x1U << CAN_F3R1_FB20_Pos) /*!< 0x00100000 */
3189#define CAN_F3R1_FB20 CAN_F3R1_FB20_Msk /*!<Filter bit 20 */
3190#define CAN_F3R1_FB21_Pos (21U)
3191#define CAN_F3R1_FB21_Msk (0x1U << CAN_F3R1_FB21_Pos) /*!< 0x00200000 */
3192#define CAN_F3R1_FB21 CAN_F3R1_FB21_Msk /*!<Filter bit 21 */
3193#define CAN_F3R1_FB22_Pos (22U)
3194#define CAN_F3R1_FB22_Msk (0x1U << CAN_F3R1_FB22_Pos) /*!< 0x00400000 */
3195#define CAN_F3R1_FB22 CAN_F3R1_FB22_Msk /*!<Filter bit 22 */
3196#define CAN_F3R1_FB23_Pos (23U)
3197#define CAN_F3R1_FB23_Msk (0x1U << CAN_F3R1_FB23_Pos) /*!< 0x00800000 */
3198#define CAN_F3R1_FB23 CAN_F3R1_FB23_Msk /*!<Filter bit 23 */
3199#define CAN_F3R1_FB24_Pos (24U)
3200#define CAN_F3R1_FB24_Msk (0x1U << CAN_F3R1_FB24_Pos) /*!< 0x01000000 */
3201#define CAN_F3R1_FB24 CAN_F3R1_FB24_Msk /*!<Filter bit 24 */
3202#define CAN_F3R1_FB25_Pos (25U)
3203#define CAN_F3R1_FB25_Msk (0x1U << CAN_F3R1_FB25_Pos) /*!< 0x02000000 */
3204#define CAN_F3R1_FB25 CAN_F3R1_FB25_Msk /*!<Filter bit 25 */
3205#define CAN_F3R1_FB26_Pos (26U)
3206#define CAN_F3R1_FB26_Msk (0x1U << CAN_F3R1_FB26_Pos) /*!< 0x04000000 */
3207#define CAN_F3R1_FB26 CAN_F3R1_FB26_Msk /*!<Filter bit 26 */
3208#define CAN_F3R1_FB27_Pos (27U)
3209#define CAN_F3R1_FB27_Msk (0x1U << CAN_F3R1_FB27_Pos) /*!< 0x08000000 */
3210#define CAN_F3R1_FB27 CAN_F3R1_FB27_Msk /*!<Filter bit 27 */
3211#define CAN_F3R1_FB28_Pos (28U)
3212#define CAN_F3R1_FB28_Msk (0x1U << CAN_F3R1_FB28_Pos) /*!< 0x10000000 */
3213#define CAN_F3R1_FB28 CAN_F3R1_FB28_Msk /*!<Filter bit 28 */
3214#define CAN_F3R1_FB29_Pos (29U)
3215#define CAN_F3R1_FB29_Msk (0x1U << CAN_F3R1_FB29_Pos) /*!< 0x20000000 */
3216#define CAN_F3R1_FB29 CAN_F3R1_FB29_Msk /*!<Filter bit 29 */
3217#define CAN_F3R1_FB30_Pos (30U)
3218#define CAN_F3R1_FB30_Msk (0x1U << CAN_F3R1_FB30_Pos) /*!< 0x40000000 */
3219#define CAN_F3R1_FB30 CAN_F3R1_FB30_Msk /*!<Filter bit 30 */
3220#define CAN_F3R1_FB31_Pos (31U)
3221#define CAN_F3R1_FB31_Msk (0x1U << CAN_F3R1_FB31_Pos) /*!< 0x80000000 */
3222#define CAN_F3R1_FB31 CAN_F3R1_FB31_Msk /*!<Filter bit 31 */
3223
3224/******************* Bit definition for CAN_F4R1 register *******************/
3225#define CAN_F4R1_FB0_Pos (0U)
3226#define CAN_F4R1_FB0_Msk (0x1U << CAN_F4R1_FB0_Pos) /*!< 0x00000001 */
3227#define CAN_F4R1_FB0 CAN_F4R1_FB0_Msk /*!<Filter bit 0 */
3228#define CAN_F4R1_FB1_Pos (1U)
3229#define CAN_F4R1_FB1_Msk (0x1U << CAN_F4R1_FB1_Pos) /*!< 0x00000002 */
3230#define CAN_F4R1_FB1 CAN_F4R1_FB1_Msk /*!<Filter bit 1 */
3231#define CAN_F4R1_FB2_Pos (2U)
3232#define CAN_F4R1_FB2_Msk (0x1U << CAN_F4R1_FB2_Pos) /*!< 0x00000004 */
3233#define CAN_F4R1_FB2 CAN_F4R1_FB2_Msk /*!<Filter bit 2 */
3234#define CAN_F4R1_FB3_Pos (3U)
3235#define CAN_F4R1_FB3_Msk (0x1U << CAN_F4R1_FB3_Pos) /*!< 0x00000008 */
3236#define CAN_F4R1_FB3 CAN_F4R1_FB3_Msk /*!<Filter bit 3 */
3237#define CAN_F4R1_FB4_Pos (4U)
3238#define CAN_F4R1_FB4_Msk (0x1U << CAN_F4R1_FB4_Pos) /*!< 0x00000010 */
3239#define CAN_F4R1_FB4 CAN_F4R1_FB4_Msk /*!<Filter bit 4 */
3240#define CAN_F4R1_FB5_Pos (5U)
3241#define CAN_F4R1_FB5_Msk (0x1U << CAN_F4R1_FB5_Pos) /*!< 0x00000020 */
3242#define CAN_F4R1_FB5 CAN_F4R1_FB5_Msk /*!<Filter bit 5 */
3243#define CAN_F4R1_FB6_Pos (6U)
3244#define CAN_F4R1_FB6_Msk (0x1U << CAN_F4R1_FB6_Pos) /*!< 0x00000040 */
3245#define CAN_F4R1_FB6 CAN_F4R1_FB6_Msk /*!<Filter bit 6 */
3246#define CAN_F4R1_FB7_Pos (7U)
3247#define CAN_F4R1_FB7_Msk (0x1U << CAN_F4R1_FB7_Pos) /*!< 0x00000080 */
3248#define CAN_F4R1_FB7 CAN_F4R1_FB7_Msk /*!<Filter bit 7 */
3249#define CAN_F4R1_FB8_Pos (8U)
3250#define CAN_F4R1_FB8_Msk (0x1U << CAN_F4R1_FB8_Pos) /*!< 0x00000100 */
3251#define CAN_F4R1_FB8 CAN_F4R1_FB8_Msk /*!<Filter bit 8 */
3252#define CAN_F4R1_FB9_Pos (9U)
3253#define CAN_F4R1_FB9_Msk (0x1U << CAN_F4R1_FB9_Pos) /*!< 0x00000200 */
3254#define CAN_F4R1_FB9 CAN_F4R1_FB9_Msk /*!<Filter bit 9 */
3255#define CAN_F4R1_FB10_Pos (10U)
3256#define CAN_F4R1_FB10_Msk (0x1U << CAN_F4R1_FB10_Pos) /*!< 0x00000400 */
3257#define CAN_F4R1_FB10 CAN_F4R1_FB10_Msk /*!<Filter bit 10 */
3258#define CAN_F4R1_FB11_Pos (11U)
3259#define CAN_F4R1_FB11_Msk (0x1U << CAN_F4R1_FB11_Pos) /*!< 0x00000800 */
3260#define CAN_F4R1_FB11 CAN_F4R1_FB11_Msk /*!<Filter bit 11 */
3261#define CAN_F4R1_FB12_Pos (12U)
3262#define CAN_F4R1_FB12_Msk (0x1U << CAN_F4R1_FB12_Pos) /*!< 0x00001000 */
3263#define CAN_F4R1_FB12 CAN_F4R1_FB12_Msk /*!<Filter bit 12 */
3264#define CAN_F4R1_FB13_Pos (13U)
3265#define CAN_F4R1_FB13_Msk (0x1U << CAN_F4R1_FB13_Pos) /*!< 0x00002000 */
3266#define CAN_F4R1_FB13 CAN_F4R1_FB13_Msk /*!<Filter bit 13 */
3267#define CAN_F4R1_FB14_Pos (14U)
3268#define CAN_F4R1_FB14_Msk (0x1U << CAN_F4R1_FB14_Pos) /*!< 0x00004000 */
3269#define CAN_F4R1_FB14 CAN_F4R1_FB14_Msk /*!<Filter bit 14 */
3270#define CAN_F4R1_FB15_Pos (15U)
3271#define CAN_F4R1_FB15_Msk (0x1U << CAN_F4R1_FB15_Pos) /*!< 0x00008000 */
3272#define CAN_F4R1_FB15 CAN_F4R1_FB15_Msk /*!<Filter bit 15 */
3273#define CAN_F4R1_FB16_Pos (16U)
3274#define CAN_F4R1_FB16_Msk (0x1U << CAN_F4R1_FB16_Pos) /*!< 0x00010000 */
3275#define CAN_F4R1_FB16 CAN_F4R1_FB16_Msk /*!<Filter bit 16 */
3276#define CAN_F4R1_FB17_Pos (17U)
3277#define CAN_F4R1_FB17_Msk (0x1U << CAN_F4R1_FB17_Pos) /*!< 0x00020000 */
3278#define CAN_F4R1_FB17 CAN_F4R1_FB17_Msk /*!<Filter bit 17 */
3279#define CAN_F4R1_FB18_Pos (18U)
3280#define CAN_F4R1_FB18_Msk (0x1U << CAN_F4R1_FB18_Pos) /*!< 0x00040000 */
3281#define CAN_F4R1_FB18 CAN_F4R1_FB18_Msk /*!<Filter bit 18 */
3282#define CAN_F4R1_FB19_Pos (19U)
3283#define CAN_F4R1_FB19_Msk (0x1U << CAN_F4R1_FB19_Pos) /*!< 0x00080000 */
3284#define CAN_F4R1_FB19 CAN_F4R1_FB19_Msk /*!<Filter bit 19 */
3285#define CAN_F4R1_FB20_Pos (20U)
3286#define CAN_F4R1_FB20_Msk (0x1U << CAN_F4R1_FB20_Pos) /*!< 0x00100000 */
3287#define CAN_F4R1_FB20 CAN_F4R1_FB20_Msk /*!<Filter bit 20 */
3288#define CAN_F4R1_FB21_Pos (21U)
3289#define CAN_F4R1_FB21_Msk (0x1U << CAN_F4R1_FB21_Pos) /*!< 0x00200000 */
3290#define CAN_F4R1_FB21 CAN_F4R1_FB21_Msk /*!<Filter bit 21 */
3291#define CAN_F4R1_FB22_Pos (22U)
3292#define CAN_F4R1_FB22_Msk (0x1U << CAN_F4R1_FB22_Pos) /*!< 0x00400000 */
3293#define CAN_F4R1_FB22 CAN_F4R1_FB22_Msk /*!<Filter bit 22 */
3294#define CAN_F4R1_FB23_Pos (23U)
3295#define CAN_F4R1_FB23_Msk (0x1U << CAN_F4R1_FB23_Pos) /*!< 0x00800000 */
3296#define CAN_F4R1_FB23 CAN_F4R1_FB23_Msk /*!<Filter bit 23 */
3297#define CAN_F4R1_FB24_Pos (24U)
3298#define CAN_F4R1_FB24_Msk (0x1U << CAN_F4R1_FB24_Pos) /*!< 0x01000000 */
3299#define CAN_F4R1_FB24 CAN_F4R1_FB24_Msk /*!<Filter bit 24 */
3300#define CAN_F4R1_FB25_Pos (25U)
3301#define CAN_F4R1_FB25_Msk (0x1U << CAN_F4R1_FB25_Pos) /*!< 0x02000000 */
3302#define CAN_F4R1_FB25 CAN_F4R1_FB25_Msk /*!<Filter bit 25 */
3303#define CAN_F4R1_FB26_Pos (26U)
3304#define CAN_F4R1_FB26_Msk (0x1U << CAN_F4R1_FB26_Pos) /*!< 0x04000000 */
3305#define CAN_F4R1_FB26 CAN_F4R1_FB26_Msk /*!<Filter bit 26 */
3306#define CAN_F4R1_FB27_Pos (27U)
3307#define CAN_F4R1_FB27_Msk (0x1U << CAN_F4R1_FB27_Pos) /*!< 0x08000000 */
3308#define CAN_F4R1_FB27 CAN_F4R1_FB27_Msk /*!<Filter bit 27 */
3309#define CAN_F4R1_FB28_Pos (28U)
3310#define CAN_F4R1_FB28_Msk (0x1U << CAN_F4R1_FB28_Pos) /*!< 0x10000000 */
3311#define CAN_F4R1_FB28 CAN_F4R1_FB28_Msk /*!<Filter bit 28 */
3312#define CAN_F4R1_FB29_Pos (29U)
3313#define CAN_F4R1_FB29_Msk (0x1U << CAN_F4R1_FB29_Pos) /*!< 0x20000000 */
3314#define CAN_F4R1_FB29 CAN_F4R1_FB29_Msk /*!<Filter bit 29 */
3315#define CAN_F4R1_FB30_Pos (30U)
3316#define CAN_F4R1_FB30_Msk (0x1U << CAN_F4R1_FB30_Pos) /*!< 0x40000000 */
3317#define CAN_F4R1_FB30 CAN_F4R1_FB30_Msk /*!<Filter bit 30 */
3318#define CAN_F4R1_FB31_Pos (31U)
3319#define CAN_F4R1_FB31_Msk (0x1U << CAN_F4R1_FB31_Pos) /*!< 0x80000000 */
3320#define CAN_F4R1_FB31 CAN_F4R1_FB31_Msk /*!<Filter bit 31 */
3321
3322/******************* Bit definition for CAN_F5R1 register *******************/
3323#define CAN_F5R1_FB0_Pos (0U)
3324#define CAN_F5R1_FB0_Msk (0x1U << CAN_F5R1_FB0_Pos) /*!< 0x00000001 */
3325#define CAN_F5R1_FB0 CAN_F5R1_FB0_Msk /*!<Filter bit 0 */
3326#define CAN_F5R1_FB1_Pos (1U)
3327#define CAN_F5R1_FB1_Msk (0x1U << CAN_F5R1_FB1_Pos) /*!< 0x00000002 */
3328#define CAN_F5R1_FB1 CAN_F5R1_FB1_Msk /*!<Filter bit 1 */
3329#define CAN_F5R1_FB2_Pos (2U)
3330#define CAN_F5R1_FB2_Msk (0x1U << CAN_F5R1_FB2_Pos) /*!< 0x00000004 */
3331#define CAN_F5R1_FB2 CAN_F5R1_FB2_Msk /*!<Filter bit 2 */
3332#define CAN_F5R1_FB3_Pos (3U)
3333#define CAN_F5R1_FB3_Msk (0x1U << CAN_F5R1_FB3_Pos) /*!< 0x00000008 */
3334#define CAN_F5R1_FB3 CAN_F5R1_FB3_Msk /*!<Filter bit 3 */
3335#define CAN_F5R1_FB4_Pos (4U)
3336#define CAN_F5R1_FB4_Msk (0x1U << CAN_F5R1_FB4_Pos) /*!< 0x00000010 */
3337#define CAN_F5R1_FB4 CAN_F5R1_FB4_Msk /*!<Filter bit 4 */
3338#define CAN_F5R1_FB5_Pos (5U)
3339#define CAN_F5R1_FB5_Msk (0x1U << CAN_F5R1_FB5_Pos) /*!< 0x00000020 */
3340#define CAN_F5R1_FB5 CAN_F5R1_FB5_Msk /*!<Filter bit 5 */
3341#define CAN_F5R1_FB6_Pos (6U)
3342#define CAN_F5R1_FB6_Msk (0x1U << CAN_F5R1_FB6_Pos) /*!< 0x00000040 */
3343#define CAN_F5R1_FB6 CAN_F5R1_FB6_Msk /*!<Filter bit 6 */
3344#define CAN_F5R1_FB7_Pos (7U)
3345#define CAN_F5R1_FB7_Msk (0x1U << CAN_F5R1_FB7_Pos) /*!< 0x00000080 */
3346#define CAN_F5R1_FB7 CAN_F5R1_FB7_Msk /*!<Filter bit 7 */
3347#define CAN_F5R1_FB8_Pos (8U)
3348#define CAN_F5R1_FB8_Msk (0x1U << CAN_F5R1_FB8_Pos) /*!< 0x00000100 */
3349#define CAN_F5R1_FB8 CAN_F5R1_FB8_Msk /*!<Filter bit 8 */
3350#define CAN_F5R1_FB9_Pos (9U)
3351#define CAN_F5R1_FB9_Msk (0x1U << CAN_F5R1_FB9_Pos) /*!< 0x00000200 */
3352#define CAN_F5R1_FB9 CAN_F5R1_FB9_Msk /*!<Filter bit 9 */
3353#define CAN_F5R1_FB10_Pos (10U)
3354#define CAN_F5R1_FB10_Msk (0x1U << CAN_F5R1_FB10_Pos) /*!< 0x00000400 */
3355#define CAN_F5R1_FB10 CAN_F5R1_FB10_Msk /*!<Filter bit 10 */
3356#define CAN_F5R1_FB11_Pos (11U)
3357#define CAN_F5R1_FB11_Msk (0x1U << CAN_F5R1_FB11_Pos) /*!< 0x00000800 */
3358#define CAN_F5R1_FB11 CAN_F5R1_FB11_Msk /*!<Filter bit 11 */
3359#define CAN_F5R1_FB12_Pos (12U)
3360#define CAN_F5R1_FB12_Msk (0x1U << CAN_F5R1_FB12_Pos) /*!< 0x00001000 */
3361#define CAN_F5R1_FB12 CAN_F5R1_FB12_Msk /*!<Filter bit 12 */
3362#define CAN_F5R1_FB13_Pos (13U)
3363#define CAN_F5R1_FB13_Msk (0x1U << CAN_F5R1_FB13_Pos) /*!< 0x00002000 */
3364#define CAN_F5R1_FB13 CAN_F5R1_FB13_Msk /*!<Filter bit 13 */
3365#define CAN_F5R1_FB14_Pos (14U)
3366#define CAN_F5R1_FB14_Msk (0x1U << CAN_F5R1_FB14_Pos) /*!< 0x00004000 */
3367#define CAN_F5R1_FB14 CAN_F5R1_FB14_Msk /*!<Filter bit 14 */
3368#define CAN_F5R1_FB15_Pos (15U)
3369#define CAN_F5R1_FB15_Msk (0x1U << CAN_F5R1_FB15_Pos) /*!< 0x00008000 */
3370#define CAN_F5R1_FB15 CAN_F5R1_FB15_Msk /*!<Filter bit 15 */
3371#define CAN_F5R1_FB16_Pos (16U)
3372#define CAN_F5R1_FB16_Msk (0x1U << CAN_F5R1_FB16_Pos) /*!< 0x00010000 */
3373#define CAN_F5R1_FB16 CAN_F5R1_FB16_Msk /*!<Filter bit 16 */
3374#define CAN_F5R1_FB17_Pos (17U)
3375#define CAN_F5R1_FB17_Msk (0x1U << CAN_F5R1_FB17_Pos) /*!< 0x00020000 */
3376#define CAN_F5R1_FB17 CAN_F5R1_FB17_Msk /*!<Filter bit 17 */
3377#define CAN_F5R1_FB18_Pos (18U)
3378#define CAN_F5R1_FB18_Msk (0x1U << CAN_F5R1_FB18_Pos) /*!< 0x00040000 */
3379#define CAN_F5R1_FB18 CAN_F5R1_FB18_Msk /*!<Filter bit 18 */
3380#define CAN_F5R1_FB19_Pos (19U)
3381#define CAN_F5R1_FB19_Msk (0x1U << CAN_F5R1_FB19_Pos) /*!< 0x00080000 */
3382#define CAN_F5R1_FB19 CAN_F5R1_FB19_Msk /*!<Filter bit 19 */
3383#define CAN_F5R1_FB20_Pos (20U)
3384#define CAN_F5R1_FB20_Msk (0x1U << CAN_F5R1_FB20_Pos) /*!< 0x00100000 */
3385#define CAN_F5R1_FB20 CAN_F5R1_FB20_Msk /*!<Filter bit 20 */
3386#define CAN_F5R1_FB21_Pos (21U)
3387#define CAN_F5R1_FB21_Msk (0x1U << CAN_F5R1_FB21_Pos) /*!< 0x00200000 */
3388#define CAN_F5R1_FB21 CAN_F5R1_FB21_Msk /*!<Filter bit 21 */
3389#define CAN_F5R1_FB22_Pos (22U)
3390#define CAN_F5R1_FB22_Msk (0x1U << CAN_F5R1_FB22_Pos) /*!< 0x00400000 */
3391#define CAN_F5R1_FB22 CAN_F5R1_FB22_Msk /*!<Filter bit 22 */
3392#define CAN_F5R1_FB23_Pos (23U)
3393#define CAN_F5R1_FB23_Msk (0x1U << CAN_F5R1_FB23_Pos) /*!< 0x00800000 */
3394#define CAN_F5R1_FB23 CAN_F5R1_FB23_Msk /*!<Filter bit 23 */
3395#define CAN_F5R1_FB24_Pos (24U)
3396#define CAN_F5R1_FB24_Msk (0x1U << CAN_F5R1_FB24_Pos) /*!< 0x01000000 */
3397#define CAN_F5R1_FB24 CAN_F5R1_FB24_Msk /*!<Filter bit 24 */
3398#define CAN_F5R1_FB25_Pos (25U)
3399#define CAN_F5R1_FB25_Msk (0x1U << CAN_F5R1_FB25_Pos) /*!< 0x02000000 */
3400#define CAN_F5R1_FB25 CAN_F5R1_FB25_Msk /*!<Filter bit 25 */
3401#define CAN_F5R1_FB26_Pos (26U)
3402#define CAN_F5R1_FB26_Msk (0x1U << CAN_F5R1_FB26_Pos) /*!< 0x04000000 */
3403#define CAN_F5R1_FB26 CAN_F5R1_FB26_Msk /*!<Filter bit 26 */
3404#define CAN_F5R1_FB27_Pos (27U)
3405#define CAN_F5R1_FB27_Msk (0x1U << CAN_F5R1_FB27_Pos) /*!< 0x08000000 */
3406#define CAN_F5R1_FB27 CAN_F5R1_FB27_Msk /*!<Filter bit 27 */
3407#define CAN_F5R1_FB28_Pos (28U)
3408#define CAN_F5R1_FB28_Msk (0x1U << CAN_F5R1_FB28_Pos) /*!< 0x10000000 */
3409#define CAN_F5R1_FB28 CAN_F5R1_FB28_Msk /*!<Filter bit 28 */
3410#define CAN_F5R1_FB29_Pos (29U)
3411#define CAN_F5R1_FB29_Msk (0x1U << CAN_F5R1_FB29_Pos) /*!< 0x20000000 */
3412#define CAN_F5R1_FB29 CAN_F5R1_FB29_Msk /*!<Filter bit 29 */
3413#define CAN_F5R1_FB30_Pos (30U)
3414#define CAN_F5R1_FB30_Msk (0x1U << CAN_F5R1_FB30_Pos) /*!< 0x40000000 */
3415#define CAN_F5R1_FB30 CAN_F5R1_FB30_Msk /*!<Filter bit 30 */
3416#define CAN_F5R1_FB31_Pos (31U)
3417#define CAN_F5R1_FB31_Msk (0x1U << CAN_F5R1_FB31_Pos) /*!< 0x80000000 */
3418#define CAN_F5R1_FB31 CAN_F5R1_FB31_Msk /*!<Filter bit 31 */
3419
3420/******************* Bit definition for CAN_F6R1 register *******************/
3421#define CAN_F6R1_FB0_Pos (0U)
3422#define CAN_F6R1_FB0_Msk (0x1U << CAN_F6R1_FB0_Pos) /*!< 0x00000001 */
3423#define CAN_F6R1_FB0 CAN_F6R1_FB0_Msk /*!<Filter bit 0 */
3424#define CAN_F6R1_FB1_Pos (1U)
3425#define CAN_F6R1_FB1_Msk (0x1U << CAN_F6R1_FB1_Pos) /*!< 0x00000002 */
3426#define CAN_F6R1_FB1 CAN_F6R1_FB1_Msk /*!<Filter bit 1 */
3427#define CAN_F6R1_FB2_Pos (2U)
3428#define CAN_F6R1_FB2_Msk (0x1U << CAN_F6R1_FB2_Pos) /*!< 0x00000004 */
3429#define CAN_F6R1_FB2 CAN_F6R1_FB2_Msk /*!<Filter bit 2 */
3430#define CAN_F6R1_FB3_Pos (3U)
3431#define CAN_F6R1_FB3_Msk (0x1U << CAN_F6R1_FB3_Pos) /*!< 0x00000008 */
3432#define CAN_F6R1_FB3 CAN_F6R1_FB3_Msk /*!<Filter bit 3 */
3433#define CAN_F6R1_FB4_Pos (4U)
3434#define CAN_F6R1_FB4_Msk (0x1U << CAN_F6R1_FB4_Pos) /*!< 0x00000010 */
3435#define CAN_F6R1_FB4 CAN_F6R1_FB4_Msk /*!<Filter bit 4 */
3436#define CAN_F6R1_FB5_Pos (5U)
3437#define CAN_F6R1_FB5_Msk (0x1U << CAN_F6R1_FB5_Pos) /*!< 0x00000020 */
3438#define CAN_F6R1_FB5 CAN_F6R1_FB5_Msk /*!<Filter bit 5 */
3439#define CAN_F6R1_FB6_Pos (6U)
3440#define CAN_F6R1_FB6_Msk (0x1U << CAN_F6R1_FB6_Pos) /*!< 0x00000040 */
3441#define CAN_F6R1_FB6 CAN_F6R1_FB6_Msk /*!<Filter bit 6 */
3442#define CAN_F6R1_FB7_Pos (7U)
3443#define CAN_F6R1_FB7_Msk (0x1U << CAN_F6R1_FB7_Pos) /*!< 0x00000080 */
3444#define CAN_F6R1_FB7 CAN_F6R1_FB7_Msk /*!<Filter bit 7 */
3445#define CAN_F6R1_FB8_Pos (8U)
3446#define CAN_F6R1_FB8_Msk (0x1U << CAN_F6R1_FB8_Pos) /*!< 0x00000100 */
3447#define CAN_F6R1_FB8 CAN_F6R1_FB8_Msk /*!<Filter bit 8 */
3448#define CAN_F6R1_FB9_Pos (9U)
3449#define CAN_F6R1_FB9_Msk (0x1U << CAN_F6R1_FB9_Pos) /*!< 0x00000200 */
3450#define CAN_F6R1_FB9 CAN_F6R1_FB9_Msk /*!<Filter bit 9 */
3451#define CAN_F6R1_FB10_Pos (10U)
3452#define CAN_F6R1_FB10_Msk (0x1U << CAN_F6R1_FB10_Pos) /*!< 0x00000400 */
3453#define CAN_F6R1_FB10 CAN_F6R1_FB10_Msk /*!<Filter bit 10 */
3454#define CAN_F6R1_FB11_Pos (11U)
3455#define CAN_F6R1_FB11_Msk (0x1U << CAN_F6R1_FB11_Pos) /*!< 0x00000800 */
3456#define CAN_F6R1_FB11 CAN_F6R1_FB11_Msk /*!<Filter bit 11 */
3457#define CAN_F6R1_FB12_Pos (12U)
3458#define CAN_F6R1_FB12_Msk (0x1U << CAN_F6R1_FB12_Pos) /*!< 0x00001000 */
3459#define CAN_F6R1_FB12 CAN_F6R1_FB12_Msk /*!<Filter bit 12 */
3460#define CAN_F6R1_FB13_Pos (13U)
3461#define CAN_F6R1_FB13_Msk (0x1U << CAN_F6R1_FB13_Pos) /*!< 0x00002000 */
3462#define CAN_F6R1_FB13 CAN_F6R1_FB13_Msk /*!<Filter bit 13 */
3463#define CAN_F6R1_FB14_Pos (14U)
3464#define CAN_F6R1_FB14_Msk (0x1U << CAN_F6R1_FB14_Pos) /*!< 0x00004000 */
3465#define CAN_F6R1_FB14 CAN_F6R1_FB14_Msk /*!<Filter bit 14 */
3466#define CAN_F6R1_FB15_Pos (15U)
3467#define CAN_F6R1_FB15_Msk (0x1U << CAN_F6R1_FB15_Pos) /*!< 0x00008000 */
3468#define CAN_F6R1_FB15 CAN_F6R1_FB15_Msk /*!<Filter bit 15 */
3469#define CAN_F6R1_FB16_Pos (16U)
3470#define CAN_F6R1_FB16_Msk (0x1U << CAN_F6R1_FB16_Pos) /*!< 0x00010000 */
3471#define CAN_F6R1_FB16 CAN_F6R1_FB16_Msk /*!<Filter bit 16 */
3472#define CAN_F6R1_FB17_Pos (17U)
3473#define CAN_F6R1_FB17_Msk (0x1U << CAN_F6R1_FB17_Pos) /*!< 0x00020000 */
3474#define CAN_F6R1_FB17 CAN_F6R1_FB17_Msk /*!<Filter bit 17 */
3475#define CAN_F6R1_FB18_Pos (18U)
3476#define CAN_F6R1_FB18_Msk (0x1U << CAN_F6R1_FB18_Pos) /*!< 0x00040000 */
3477#define CAN_F6R1_FB18 CAN_F6R1_FB18_Msk /*!<Filter bit 18 */
3478#define CAN_F6R1_FB19_Pos (19U)
3479#define CAN_F6R1_FB19_Msk (0x1U << CAN_F6R1_FB19_Pos) /*!< 0x00080000 */
3480#define CAN_F6R1_FB19 CAN_F6R1_FB19_Msk /*!<Filter bit 19 */
3481#define CAN_F6R1_FB20_Pos (20U)
3482#define CAN_F6R1_FB20_Msk (0x1U << CAN_F6R1_FB20_Pos) /*!< 0x00100000 */
3483#define CAN_F6R1_FB20 CAN_F6R1_FB20_Msk /*!<Filter bit 20 */
3484#define CAN_F6R1_FB21_Pos (21U)
3485#define CAN_F6R1_FB21_Msk (0x1U << CAN_F6R1_FB21_Pos) /*!< 0x00200000 */
3486#define CAN_F6R1_FB21 CAN_F6R1_FB21_Msk /*!<Filter bit 21 */
3487#define CAN_F6R1_FB22_Pos (22U)
3488#define CAN_F6R1_FB22_Msk (0x1U << CAN_F6R1_FB22_Pos) /*!< 0x00400000 */
3489#define CAN_F6R1_FB22 CAN_F6R1_FB22_Msk /*!<Filter bit 22 */
3490#define CAN_F6R1_FB23_Pos (23U)
3491#define CAN_F6R1_FB23_Msk (0x1U << CAN_F6R1_FB23_Pos) /*!< 0x00800000 */
3492#define CAN_F6R1_FB23 CAN_F6R1_FB23_Msk /*!<Filter bit 23 */
3493#define CAN_F6R1_FB24_Pos (24U)
3494#define CAN_F6R1_FB24_Msk (0x1U << CAN_F6R1_FB24_Pos) /*!< 0x01000000 */
3495#define CAN_F6R1_FB24 CAN_F6R1_FB24_Msk /*!<Filter bit 24 */
3496#define CAN_F6R1_FB25_Pos (25U)
3497#define CAN_F6R1_FB25_Msk (0x1U << CAN_F6R1_FB25_Pos) /*!< 0x02000000 */
3498#define CAN_F6R1_FB25 CAN_F6R1_FB25_Msk /*!<Filter bit 25 */
3499#define CAN_F6R1_FB26_Pos (26U)
3500#define CAN_F6R1_FB26_Msk (0x1U << CAN_F6R1_FB26_Pos) /*!< 0x04000000 */
3501#define CAN_F6R1_FB26 CAN_F6R1_FB26_Msk /*!<Filter bit 26 */
3502#define CAN_F6R1_FB27_Pos (27U)
3503#define CAN_F6R1_FB27_Msk (0x1U << CAN_F6R1_FB27_Pos) /*!< 0x08000000 */
3504#define CAN_F6R1_FB27 CAN_F6R1_FB27_Msk /*!<Filter bit 27 */
3505#define CAN_F6R1_FB28_Pos (28U)
3506#define CAN_F6R1_FB28_Msk (0x1U << CAN_F6R1_FB28_Pos) /*!< 0x10000000 */
3507#define CAN_F6R1_FB28 CAN_F6R1_FB28_Msk /*!<Filter bit 28 */
3508#define CAN_F6R1_FB29_Pos (29U)
3509#define CAN_F6R1_FB29_Msk (0x1U << CAN_F6R1_FB29_Pos) /*!< 0x20000000 */
3510#define CAN_F6R1_FB29 CAN_F6R1_FB29_Msk /*!<Filter bit 29 */
3511#define CAN_F6R1_FB30_Pos (30U)
3512#define CAN_F6R1_FB30_Msk (0x1U << CAN_F6R1_FB30_Pos) /*!< 0x40000000 */
3513#define CAN_F6R1_FB30 CAN_F6R1_FB30_Msk /*!<Filter bit 30 */
3514#define CAN_F6R1_FB31_Pos (31U)
3515#define CAN_F6R1_FB31_Msk (0x1U << CAN_F6R1_FB31_Pos) /*!< 0x80000000 */
3516#define CAN_F6R1_FB31 CAN_F6R1_FB31_Msk /*!<Filter bit 31 */
3517
3518/******************* Bit definition for CAN_F7R1 register *******************/
3519#define CAN_F7R1_FB0_Pos (0U)
3520#define CAN_F7R1_FB0_Msk (0x1U << CAN_F7R1_FB0_Pos) /*!< 0x00000001 */
3521#define CAN_F7R1_FB0 CAN_F7R1_FB0_Msk /*!<Filter bit 0 */
3522#define CAN_F7R1_FB1_Pos (1U)
3523#define CAN_F7R1_FB1_Msk (0x1U << CAN_F7R1_FB1_Pos) /*!< 0x00000002 */
3524#define CAN_F7R1_FB1 CAN_F7R1_FB1_Msk /*!<Filter bit 1 */
3525#define CAN_F7R1_FB2_Pos (2U)
3526#define CAN_F7R1_FB2_Msk (0x1U << CAN_F7R1_FB2_Pos) /*!< 0x00000004 */
3527#define CAN_F7R1_FB2 CAN_F7R1_FB2_Msk /*!<Filter bit 2 */
3528#define CAN_F7R1_FB3_Pos (3U)
3529#define CAN_F7R1_FB3_Msk (0x1U << CAN_F7R1_FB3_Pos) /*!< 0x00000008 */
3530#define CAN_F7R1_FB3 CAN_F7R1_FB3_Msk /*!<Filter bit 3 */
3531#define CAN_F7R1_FB4_Pos (4U)
3532#define CAN_F7R1_FB4_Msk (0x1U << CAN_F7R1_FB4_Pos) /*!< 0x00000010 */
3533#define CAN_F7R1_FB4 CAN_F7R1_FB4_Msk /*!<Filter bit 4 */
3534#define CAN_F7R1_FB5_Pos (5U)
3535#define CAN_F7R1_FB5_Msk (0x1U << CAN_F7R1_FB5_Pos) /*!< 0x00000020 */
3536#define CAN_F7R1_FB5 CAN_F7R1_FB5_Msk /*!<Filter bit 5 */
3537#define CAN_F7R1_FB6_Pos (6U)
3538#define CAN_F7R1_FB6_Msk (0x1U << CAN_F7R1_FB6_Pos) /*!< 0x00000040 */
3539#define CAN_F7R1_FB6 CAN_F7R1_FB6_Msk /*!<Filter bit 6 */
3540#define CAN_F7R1_FB7_Pos (7U)
3541#define CAN_F7R1_FB7_Msk (0x1U << CAN_F7R1_FB7_Pos) /*!< 0x00000080 */
3542#define CAN_F7R1_FB7 CAN_F7R1_FB7_Msk /*!<Filter bit 7 */
3543#define CAN_F7R1_FB8_Pos (8U)
3544#define CAN_F7R1_FB8_Msk (0x1U << CAN_F7R1_FB8_Pos) /*!< 0x00000100 */
3545#define CAN_F7R1_FB8 CAN_F7R1_FB8_Msk /*!<Filter bit 8 */
3546#define CAN_F7R1_FB9_Pos (9U)
3547#define CAN_F7R1_FB9_Msk (0x1U << CAN_F7R1_FB9_Pos) /*!< 0x00000200 */
3548#define CAN_F7R1_FB9 CAN_F7R1_FB9_Msk /*!<Filter bit 9 */
3549#define CAN_F7R1_FB10_Pos (10U)
3550#define CAN_F7R1_FB10_Msk (0x1U << CAN_F7R1_FB10_Pos) /*!< 0x00000400 */
3551#define CAN_F7R1_FB10 CAN_F7R1_FB10_Msk /*!<Filter bit 10 */
3552#define CAN_F7R1_FB11_Pos (11U)
3553#define CAN_F7R1_FB11_Msk (0x1U << CAN_F7R1_FB11_Pos) /*!< 0x00000800 */
3554#define CAN_F7R1_FB11 CAN_F7R1_FB11_Msk /*!<Filter bit 11 */
3555#define CAN_F7R1_FB12_Pos (12U)
3556#define CAN_F7R1_FB12_Msk (0x1U << CAN_F7R1_FB12_Pos) /*!< 0x00001000 */
3557#define CAN_F7R1_FB12 CAN_F7R1_FB12_Msk /*!<Filter bit 12 */
3558#define CAN_F7R1_FB13_Pos (13U)
3559#define CAN_F7R1_FB13_Msk (0x1U << CAN_F7R1_FB13_Pos) /*!< 0x00002000 */
3560#define CAN_F7R1_FB13 CAN_F7R1_FB13_Msk /*!<Filter bit 13 */
3561#define CAN_F7R1_FB14_Pos (14U)
3562#define CAN_F7R1_FB14_Msk (0x1U << CAN_F7R1_FB14_Pos) /*!< 0x00004000 */
3563#define CAN_F7R1_FB14 CAN_F7R1_FB14_Msk /*!<Filter bit 14 */
3564#define CAN_F7R1_FB15_Pos (15U)
3565#define CAN_F7R1_FB15_Msk (0x1U << CAN_F7R1_FB15_Pos) /*!< 0x00008000 */
3566#define CAN_F7R1_FB15 CAN_F7R1_FB15_Msk /*!<Filter bit 15 */
3567#define CAN_F7R1_FB16_Pos (16U)
3568#define CAN_F7R1_FB16_Msk (0x1U << CAN_F7R1_FB16_Pos) /*!< 0x00010000 */
3569#define CAN_F7R1_FB16 CAN_F7R1_FB16_Msk /*!<Filter bit 16 */
3570#define CAN_F7R1_FB17_Pos (17U)
3571#define CAN_F7R1_FB17_Msk (0x1U << CAN_F7R1_FB17_Pos) /*!< 0x00020000 */
3572#define CAN_F7R1_FB17 CAN_F7R1_FB17_Msk /*!<Filter bit 17 */
3573#define CAN_F7R1_FB18_Pos (18U)
3574#define CAN_F7R1_FB18_Msk (0x1U << CAN_F7R1_FB18_Pos) /*!< 0x00040000 */
3575#define CAN_F7R1_FB18 CAN_F7R1_FB18_Msk /*!<Filter bit 18 */
3576#define CAN_F7R1_FB19_Pos (19U)
3577#define CAN_F7R1_FB19_Msk (0x1U << CAN_F7R1_FB19_Pos) /*!< 0x00080000 */
3578#define CAN_F7R1_FB19 CAN_F7R1_FB19_Msk /*!<Filter bit 19 */
3579#define CAN_F7R1_FB20_Pos (20U)
3580#define CAN_F7R1_FB20_Msk (0x1U << CAN_F7R1_FB20_Pos) /*!< 0x00100000 */
3581#define CAN_F7R1_FB20 CAN_F7R1_FB20_Msk /*!<Filter bit 20 */
3582#define CAN_F7R1_FB21_Pos (21U)
3583#define CAN_F7R1_FB21_Msk (0x1U << CAN_F7R1_FB21_Pos) /*!< 0x00200000 */
3584#define CAN_F7R1_FB21 CAN_F7R1_FB21_Msk /*!<Filter bit 21 */
3585#define CAN_F7R1_FB22_Pos (22U)
3586#define CAN_F7R1_FB22_Msk (0x1U << CAN_F7R1_FB22_Pos) /*!< 0x00400000 */
3587#define CAN_F7R1_FB22 CAN_F7R1_FB22_Msk /*!<Filter bit 22 */
3588#define CAN_F7R1_FB23_Pos (23U)
3589#define CAN_F7R1_FB23_Msk (0x1U << CAN_F7R1_FB23_Pos) /*!< 0x00800000 */
3590#define CAN_F7R1_FB23 CAN_F7R1_FB23_Msk /*!<Filter bit 23 */
3591#define CAN_F7R1_FB24_Pos (24U)
3592#define CAN_F7R1_FB24_Msk (0x1U << CAN_F7R1_FB24_Pos) /*!< 0x01000000 */
3593#define CAN_F7R1_FB24 CAN_F7R1_FB24_Msk /*!<Filter bit 24 */
3594#define CAN_F7R1_FB25_Pos (25U)
3595#define CAN_F7R1_FB25_Msk (0x1U << CAN_F7R1_FB25_Pos) /*!< 0x02000000 */
3596#define CAN_F7R1_FB25 CAN_F7R1_FB25_Msk /*!<Filter bit 25 */
3597#define CAN_F7R1_FB26_Pos (26U)
3598#define CAN_F7R1_FB26_Msk (0x1U << CAN_F7R1_FB26_Pos) /*!< 0x04000000 */
3599#define CAN_F7R1_FB26 CAN_F7R1_FB26_Msk /*!<Filter bit 26 */
3600#define CAN_F7R1_FB27_Pos (27U)
3601#define CAN_F7R1_FB27_Msk (0x1U << CAN_F7R1_FB27_Pos) /*!< 0x08000000 */
3602#define CAN_F7R1_FB27 CAN_F7R1_FB27_Msk /*!<Filter bit 27 */
3603#define CAN_F7R1_FB28_Pos (28U)
3604#define CAN_F7R1_FB28_Msk (0x1U << CAN_F7R1_FB28_Pos) /*!< 0x10000000 */
3605#define CAN_F7R1_FB28 CAN_F7R1_FB28_Msk /*!<Filter bit 28 */
3606#define CAN_F7R1_FB29_Pos (29U)
3607#define CAN_F7R1_FB29_Msk (0x1U << CAN_F7R1_FB29_Pos) /*!< 0x20000000 */
3608#define CAN_F7R1_FB29 CAN_F7R1_FB29_Msk /*!<Filter bit 29 */
3609#define CAN_F7R1_FB30_Pos (30U)
3610#define CAN_F7R1_FB30_Msk (0x1U << CAN_F7R1_FB30_Pos) /*!< 0x40000000 */
3611#define CAN_F7R1_FB30 CAN_F7R1_FB30_Msk /*!<Filter bit 30 */
3612#define CAN_F7R1_FB31_Pos (31U)
3613#define CAN_F7R1_FB31_Msk (0x1U << CAN_F7R1_FB31_Pos) /*!< 0x80000000 */
3614#define CAN_F7R1_FB31 CAN_F7R1_FB31_Msk /*!<Filter bit 31 */
3615
3616/******************* Bit definition for CAN_F8R1 register *******************/
3617#define CAN_F8R1_FB0_Pos (0U)
3618#define CAN_F8R1_FB0_Msk (0x1U << CAN_F8R1_FB0_Pos) /*!< 0x00000001 */
3619#define CAN_F8R1_FB0 CAN_F8R1_FB0_Msk /*!<Filter bit 0 */
3620#define CAN_F8R1_FB1_Pos (1U)
3621#define CAN_F8R1_FB1_Msk (0x1U << CAN_F8R1_FB1_Pos) /*!< 0x00000002 */
3622#define CAN_F8R1_FB1 CAN_F8R1_FB1_Msk /*!<Filter bit 1 */
3623#define CAN_F8R1_FB2_Pos (2U)
3624#define CAN_F8R1_FB2_Msk (0x1U << CAN_F8R1_FB2_Pos) /*!< 0x00000004 */
3625#define CAN_F8R1_FB2 CAN_F8R1_FB2_Msk /*!<Filter bit 2 */
3626#define CAN_F8R1_FB3_Pos (3U)
3627#define CAN_F8R1_FB3_Msk (0x1U << CAN_F8R1_FB3_Pos) /*!< 0x00000008 */
3628#define CAN_F8R1_FB3 CAN_F8R1_FB3_Msk /*!<Filter bit 3 */
3629#define CAN_F8R1_FB4_Pos (4U)
3630#define CAN_F8R1_FB4_Msk (0x1U << CAN_F8R1_FB4_Pos) /*!< 0x00000010 */
3631#define CAN_F8R1_FB4 CAN_F8R1_FB4_Msk /*!<Filter bit 4 */
3632#define CAN_F8R1_FB5_Pos (5U)
3633#define CAN_F8R1_FB5_Msk (0x1U << CAN_F8R1_FB5_Pos) /*!< 0x00000020 */
3634#define CAN_F8R1_FB5 CAN_F8R1_FB5_Msk /*!<Filter bit 5 */
3635#define CAN_F8R1_FB6_Pos (6U)
3636#define CAN_F8R1_FB6_Msk (0x1U << CAN_F8R1_FB6_Pos) /*!< 0x00000040 */
3637#define CAN_F8R1_FB6 CAN_F8R1_FB6_Msk /*!<Filter bit 6 */
3638#define CAN_F8R1_FB7_Pos (7U)
3639#define CAN_F8R1_FB7_Msk (0x1U << CAN_F8R1_FB7_Pos) /*!< 0x00000080 */
3640#define CAN_F8R1_FB7 CAN_F8R1_FB7_Msk /*!<Filter bit 7 */
3641#define CAN_F8R1_FB8_Pos (8U)
3642#define CAN_F8R1_FB8_Msk (0x1U << CAN_F8R1_FB8_Pos) /*!< 0x00000100 */
3643#define CAN_F8R1_FB8 CAN_F8R1_FB8_Msk /*!<Filter bit 8 */
3644#define CAN_F8R1_FB9_Pos (9U)
3645#define CAN_F8R1_FB9_Msk (0x1U << CAN_F8R1_FB9_Pos) /*!< 0x00000200 */
3646#define CAN_F8R1_FB9 CAN_F8R1_FB9_Msk /*!<Filter bit 9 */
3647#define CAN_F8R1_FB10_Pos (10U)
3648#define CAN_F8R1_FB10_Msk (0x1U << CAN_F8R1_FB10_Pos) /*!< 0x00000400 */
3649#define CAN_F8R1_FB10 CAN_F8R1_FB10_Msk /*!<Filter bit 10 */
3650#define CAN_F8R1_FB11_Pos (11U)
3651#define CAN_F8R1_FB11_Msk (0x1U << CAN_F8R1_FB11_Pos) /*!< 0x00000800 */
3652#define CAN_F8R1_FB11 CAN_F8R1_FB11_Msk /*!<Filter bit 11 */
3653#define CAN_F8R1_FB12_Pos (12U)
3654#define CAN_F8R1_FB12_Msk (0x1U << CAN_F8R1_FB12_Pos) /*!< 0x00001000 */
3655#define CAN_F8R1_FB12 CAN_F8R1_FB12_Msk /*!<Filter bit 12 */
3656#define CAN_F8R1_FB13_Pos (13U)
3657#define CAN_F8R1_FB13_Msk (0x1U << CAN_F8R1_FB13_Pos) /*!< 0x00002000 */
3658#define CAN_F8R1_FB13 CAN_F8R1_FB13_Msk /*!<Filter bit 13 */
3659#define CAN_F8R1_FB14_Pos (14U)
3660#define CAN_F8R1_FB14_Msk (0x1U << CAN_F8R1_FB14_Pos) /*!< 0x00004000 */
3661#define CAN_F8R1_FB14 CAN_F8R1_FB14_Msk /*!<Filter bit 14 */
3662#define CAN_F8R1_FB15_Pos (15U)
3663#define CAN_F8R1_FB15_Msk (0x1U << CAN_F8R1_FB15_Pos) /*!< 0x00008000 */
3664#define CAN_F8R1_FB15 CAN_F8R1_FB15_Msk /*!<Filter bit 15 */
3665#define CAN_F8R1_FB16_Pos (16U)
3666#define CAN_F8R1_FB16_Msk (0x1U << CAN_F8R1_FB16_Pos) /*!< 0x00010000 */
3667#define CAN_F8R1_FB16 CAN_F8R1_FB16_Msk /*!<Filter bit 16 */
3668#define CAN_F8R1_FB17_Pos (17U)
3669#define CAN_F8R1_FB17_Msk (0x1U << CAN_F8R1_FB17_Pos) /*!< 0x00020000 */
3670#define CAN_F8R1_FB17 CAN_F8R1_FB17_Msk /*!<Filter bit 17 */
3671#define CAN_F8R1_FB18_Pos (18U)
3672#define CAN_F8R1_FB18_Msk (0x1U << CAN_F8R1_FB18_Pos) /*!< 0x00040000 */
3673#define CAN_F8R1_FB18 CAN_F8R1_FB18_Msk /*!<Filter bit 18 */
3674#define CAN_F8R1_FB19_Pos (19U)
3675#define CAN_F8R1_FB19_Msk (0x1U << CAN_F8R1_FB19_Pos) /*!< 0x00080000 */
3676#define CAN_F8R1_FB19 CAN_F8R1_FB19_Msk /*!<Filter bit 19 */
3677#define CAN_F8R1_FB20_Pos (20U)
3678#define CAN_F8R1_FB20_Msk (0x1U << CAN_F8R1_FB20_Pos) /*!< 0x00100000 */
3679#define CAN_F8R1_FB20 CAN_F8R1_FB20_Msk /*!<Filter bit 20 */
3680#define CAN_F8R1_FB21_Pos (21U)
3681#define CAN_F8R1_FB21_Msk (0x1U << CAN_F8R1_FB21_Pos) /*!< 0x00200000 */
3682#define CAN_F8R1_FB21 CAN_F8R1_FB21_Msk /*!<Filter bit 21 */
3683#define CAN_F8R1_FB22_Pos (22U)
3684#define CAN_F8R1_FB22_Msk (0x1U << CAN_F8R1_FB22_Pos) /*!< 0x00400000 */
3685#define CAN_F8R1_FB22 CAN_F8R1_FB22_Msk /*!<Filter bit 22 */
3686#define CAN_F8R1_FB23_Pos (23U)
3687#define CAN_F8R1_FB23_Msk (0x1U << CAN_F8R1_FB23_Pos) /*!< 0x00800000 */
3688#define CAN_F8R1_FB23 CAN_F8R1_FB23_Msk /*!<Filter bit 23 */
3689#define CAN_F8R1_FB24_Pos (24U)
3690#define CAN_F8R1_FB24_Msk (0x1U << CAN_F8R1_FB24_Pos) /*!< 0x01000000 */
3691#define CAN_F8R1_FB24 CAN_F8R1_FB24_Msk /*!<Filter bit 24 */
3692#define CAN_F8R1_FB25_Pos (25U)
3693#define CAN_F8R1_FB25_Msk (0x1U << CAN_F8R1_FB25_Pos) /*!< 0x02000000 */
3694#define CAN_F8R1_FB25 CAN_F8R1_FB25_Msk /*!<Filter bit 25 */
3695#define CAN_F8R1_FB26_Pos (26U)
3696#define CAN_F8R1_FB26_Msk (0x1U << CAN_F8R1_FB26_Pos) /*!< 0x04000000 */
3697#define CAN_F8R1_FB26 CAN_F8R1_FB26_Msk /*!<Filter bit 26 */
3698#define CAN_F8R1_FB27_Pos (27U)
3699#define CAN_F8R1_FB27_Msk (0x1U << CAN_F8R1_FB27_Pos) /*!< 0x08000000 */
3700#define CAN_F8R1_FB27 CAN_F8R1_FB27_Msk /*!<Filter bit 27 */
3701#define CAN_F8R1_FB28_Pos (28U)
3702#define CAN_F8R1_FB28_Msk (0x1U << CAN_F8R1_FB28_Pos) /*!< 0x10000000 */
3703#define CAN_F8R1_FB28 CAN_F8R1_FB28_Msk /*!<Filter bit 28 */
3704#define CAN_F8R1_FB29_Pos (29U)
3705#define CAN_F8R1_FB29_Msk (0x1U << CAN_F8R1_FB29_Pos) /*!< 0x20000000 */
3706#define CAN_F8R1_FB29 CAN_F8R1_FB29_Msk /*!<Filter bit 29 */
3707#define CAN_F8R1_FB30_Pos (30U)
3708#define CAN_F8R1_FB30_Msk (0x1U << CAN_F8R1_FB30_Pos) /*!< 0x40000000 */
3709#define CAN_F8R1_FB30 CAN_F8R1_FB30_Msk /*!<Filter bit 30 */
3710#define CAN_F8R1_FB31_Pos (31U)
3711#define CAN_F8R1_FB31_Msk (0x1U << CAN_F8R1_FB31_Pos) /*!< 0x80000000 */
3712#define CAN_F8R1_FB31 CAN_F8R1_FB31_Msk /*!<Filter bit 31 */
3713
3714/******************* Bit definition for CAN_F9R1 register *******************/
3715#define CAN_F9R1_FB0_Pos (0U)
3716#define CAN_F9R1_FB0_Msk (0x1U << CAN_F9R1_FB0_Pos) /*!< 0x00000001 */
3717#define CAN_F9R1_FB0 CAN_F9R1_FB0_Msk /*!<Filter bit 0 */
3718#define CAN_F9R1_FB1_Pos (1U)
3719#define CAN_F9R1_FB1_Msk (0x1U << CAN_F9R1_FB1_Pos) /*!< 0x00000002 */
3720#define CAN_F9R1_FB1 CAN_F9R1_FB1_Msk /*!<Filter bit 1 */
3721#define CAN_F9R1_FB2_Pos (2U)
3722#define CAN_F9R1_FB2_Msk (0x1U << CAN_F9R1_FB2_Pos) /*!< 0x00000004 */
3723#define CAN_F9R1_FB2 CAN_F9R1_FB2_Msk /*!<Filter bit 2 */
3724#define CAN_F9R1_FB3_Pos (3U)
3725#define CAN_F9R1_FB3_Msk (0x1U << CAN_F9R1_FB3_Pos) /*!< 0x00000008 */
3726#define CAN_F9R1_FB3 CAN_F9R1_FB3_Msk /*!<Filter bit 3 */
3727#define CAN_F9R1_FB4_Pos (4U)
3728#define CAN_F9R1_FB4_Msk (0x1U << CAN_F9R1_FB4_Pos) /*!< 0x00000010 */
3729#define CAN_F9R1_FB4 CAN_F9R1_FB4_Msk /*!<Filter bit 4 */
3730#define CAN_F9R1_FB5_Pos (5U)
3731#define CAN_F9R1_FB5_Msk (0x1U << CAN_F9R1_FB5_Pos) /*!< 0x00000020 */
3732#define CAN_F9R1_FB5 CAN_F9R1_FB5_Msk /*!<Filter bit 5 */
3733#define CAN_F9R1_FB6_Pos (6U)
3734#define CAN_F9R1_FB6_Msk (0x1U << CAN_F9R1_FB6_Pos) /*!< 0x00000040 */
3735#define CAN_F9R1_FB6 CAN_F9R1_FB6_Msk /*!<Filter bit 6 */
3736#define CAN_F9R1_FB7_Pos (7U)
3737#define CAN_F9R1_FB7_Msk (0x1U << CAN_F9R1_FB7_Pos) /*!< 0x00000080 */
3738#define CAN_F9R1_FB7 CAN_F9R1_FB7_Msk /*!<Filter bit 7 */
3739#define CAN_F9R1_FB8_Pos (8U)
3740#define CAN_F9R1_FB8_Msk (0x1U << CAN_F9R1_FB8_Pos) /*!< 0x00000100 */
3741#define CAN_F9R1_FB8 CAN_F9R1_FB8_Msk /*!<Filter bit 8 */
3742#define CAN_F9R1_FB9_Pos (9U)
3743#define CAN_F9R1_FB9_Msk (0x1U << CAN_F9R1_FB9_Pos) /*!< 0x00000200 */
3744#define CAN_F9R1_FB9 CAN_F9R1_FB9_Msk /*!<Filter bit 9 */
3745#define CAN_F9R1_FB10_Pos (10U)
3746#define CAN_F9R1_FB10_Msk (0x1U << CAN_F9R1_FB10_Pos) /*!< 0x00000400 */
3747#define CAN_F9R1_FB10 CAN_F9R1_FB10_Msk /*!<Filter bit 10 */
3748#define CAN_F9R1_FB11_Pos (11U)
3749#define CAN_F9R1_FB11_Msk (0x1U << CAN_F9R1_FB11_Pos) /*!< 0x00000800 */
3750#define CAN_F9R1_FB11 CAN_F9R1_FB11_Msk /*!<Filter bit 11 */
3751#define CAN_F9R1_FB12_Pos (12U)
3752#define CAN_F9R1_FB12_Msk (0x1U << CAN_F9R1_FB12_Pos) /*!< 0x00001000 */
3753#define CAN_F9R1_FB12 CAN_F9R1_FB12_Msk /*!<Filter bit 12 */
3754#define CAN_F9R1_FB13_Pos (13U)
3755#define CAN_F9R1_FB13_Msk (0x1U << CAN_F9R1_FB13_Pos) /*!< 0x00002000 */
3756#define CAN_F9R1_FB13 CAN_F9R1_FB13_Msk /*!<Filter bit 13 */
3757#define CAN_F9R1_FB14_Pos (14U)
3758#define CAN_F9R1_FB14_Msk (0x1U << CAN_F9R1_FB14_Pos) /*!< 0x00004000 */
3759#define CAN_F9R1_FB14 CAN_F9R1_FB14_Msk /*!<Filter bit 14 */
3760#define CAN_F9R1_FB15_Pos (15U)
3761#define CAN_F9R1_FB15_Msk (0x1U << CAN_F9R1_FB15_Pos) /*!< 0x00008000 */
3762#define CAN_F9R1_FB15 CAN_F9R1_FB15_Msk /*!<Filter bit 15 */
3763#define CAN_F9R1_FB16_Pos (16U)
3764#define CAN_F9R1_FB16_Msk (0x1U << CAN_F9R1_FB16_Pos) /*!< 0x00010000 */
3765#define CAN_F9R1_FB16 CAN_F9R1_FB16_Msk /*!<Filter bit 16 */
3766#define CAN_F9R1_FB17_Pos (17U)
3767#define CAN_F9R1_FB17_Msk (0x1U << CAN_F9R1_FB17_Pos) /*!< 0x00020000 */
3768#define CAN_F9R1_FB17 CAN_F9R1_FB17_Msk /*!<Filter bit 17 */
3769#define CAN_F9R1_FB18_Pos (18U)
3770#define CAN_F9R1_FB18_Msk (0x1U << CAN_F9R1_FB18_Pos) /*!< 0x00040000 */
3771#define CAN_F9R1_FB18 CAN_F9R1_FB18_Msk /*!<Filter bit 18 */
3772#define CAN_F9R1_FB19_Pos (19U)
3773#define CAN_F9R1_FB19_Msk (0x1U << CAN_F9R1_FB19_Pos) /*!< 0x00080000 */
3774#define CAN_F9R1_FB19 CAN_F9R1_FB19_Msk /*!<Filter bit 19 */
3775#define CAN_F9R1_FB20_Pos (20U)
3776#define CAN_F9R1_FB20_Msk (0x1U << CAN_F9R1_FB20_Pos) /*!< 0x00100000 */
3777#define CAN_F9R1_FB20 CAN_F9R1_FB20_Msk /*!<Filter bit 20 */
3778#define CAN_F9R1_FB21_Pos (21U)
3779#define CAN_F9R1_FB21_Msk (0x1U << CAN_F9R1_FB21_Pos) /*!< 0x00200000 */
3780#define CAN_F9R1_FB21 CAN_F9R1_FB21_Msk /*!<Filter bit 21 */
3781#define CAN_F9R1_FB22_Pos (22U)
3782#define CAN_F9R1_FB22_Msk (0x1U << CAN_F9R1_FB22_Pos) /*!< 0x00400000 */
3783#define CAN_F9R1_FB22 CAN_F9R1_FB22_Msk /*!<Filter bit 22 */
3784#define CAN_F9R1_FB23_Pos (23U)
3785#define CAN_F9R1_FB23_Msk (0x1U << CAN_F9R1_FB23_Pos) /*!< 0x00800000 */
3786#define CAN_F9R1_FB23 CAN_F9R1_FB23_Msk /*!<Filter bit 23 */
3787#define CAN_F9R1_FB24_Pos (24U)
3788#define CAN_F9R1_FB24_Msk (0x1U << CAN_F9R1_FB24_Pos) /*!< 0x01000000 */
3789#define CAN_F9R1_FB24 CAN_F9R1_FB24_Msk /*!<Filter bit 24 */
3790#define CAN_F9R1_FB25_Pos (25U)
3791#define CAN_F9R1_FB25_Msk (0x1U << CAN_F9R1_FB25_Pos) /*!< 0x02000000 */
3792#define CAN_F9R1_FB25 CAN_F9R1_FB25_Msk /*!<Filter bit 25 */
3793#define CAN_F9R1_FB26_Pos (26U)
3794#define CAN_F9R1_FB26_Msk (0x1U << CAN_F9R1_FB26_Pos) /*!< 0x04000000 */
3795#define CAN_F9R1_FB26 CAN_F9R1_FB26_Msk /*!<Filter bit 26 */
3796#define CAN_F9R1_FB27_Pos (27U)
3797#define CAN_F9R1_FB27_Msk (0x1U << CAN_F9R1_FB27_Pos) /*!< 0x08000000 */
3798#define CAN_F9R1_FB27 CAN_F9R1_FB27_Msk /*!<Filter bit 27 */
3799#define CAN_F9R1_FB28_Pos (28U)
3800#define CAN_F9R1_FB28_Msk (0x1U << CAN_F9R1_FB28_Pos) /*!< 0x10000000 */
3801#define CAN_F9R1_FB28 CAN_F9R1_FB28_Msk /*!<Filter bit 28 */
3802#define CAN_F9R1_FB29_Pos (29U)
3803#define CAN_F9R1_FB29_Msk (0x1U << CAN_F9R1_FB29_Pos) /*!< 0x20000000 */
3804#define CAN_F9R1_FB29 CAN_F9R1_FB29_Msk /*!<Filter bit 29 */
3805#define CAN_F9R1_FB30_Pos (30U)
3806#define CAN_F9R1_FB30_Msk (0x1U << CAN_F9R1_FB30_Pos) /*!< 0x40000000 */
3807#define CAN_F9R1_FB30 CAN_F9R1_FB30_Msk /*!<Filter bit 30 */
3808#define CAN_F9R1_FB31_Pos (31U)
3809#define CAN_F9R1_FB31_Msk (0x1U << CAN_F9R1_FB31_Pos) /*!< 0x80000000 */
3810#define CAN_F9R1_FB31 CAN_F9R1_FB31_Msk /*!<Filter bit 31 */
3811
3812/******************* Bit definition for CAN_F10R1 register ******************/
3813#define CAN_F10R1_FB0_Pos (0U)
3814#define CAN_F10R1_FB0_Msk (0x1U << CAN_F10R1_FB0_Pos) /*!< 0x00000001 */
3815#define CAN_F10R1_FB0 CAN_F10R1_FB0_Msk /*!<Filter bit 0 */
3816#define CAN_F10R1_FB1_Pos (1U)
3817#define CAN_F10R1_FB1_Msk (0x1U << CAN_F10R1_FB1_Pos) /*!< 0x00000002 */
3818#define CAN_F10R1_FB1 CAN_F10R1_FB1_Msk /*!<Filter bit 1 */
3819#define CAN_F10R1_FB2_Pos (2U)
3820#define CAN_F10R1_FB2_Msk (0x1U << CAN_F10R1_FB2_Pos) /*!< 0x00000004 */
3821#define CAN_F10R1_FB2 CAN_F10R1_FB2_Msk /*!<Filter bit 2 */
3822#define CAN_F10R1_FB3_Pos (3U)
3823#define CAN_F10R1_FB3_Msk (0x1U << CAN_F10R1_FB3_Pos) /*!< 0x00000008 */
3824#define CAN_F10R1_FB3 CAN_F10R1_FB3_Msk /*!<Filter bit 3 */
3825#define CAN_F10R1_FB4_Pos (4U)
3826#define CAN_F10R1_FB4_Msk (0x1U << CAN_F10R1_FB4_Pos) /*!< 0x00000010 */
3827#define CAN_F10R1_FB4 CAN_F10R1_FB4_Msk /*!<Filter bit 4 */
3828#define CAN_F10R1_FB5_Pos (5U)
3829#define CAN_F10R1_FB5_Msk (0x1U << CAN_F10R1_FB5_Pos) /*!< 0x00000020 */
3830#define CAN_F10R1_FB5 CAN_F10R1_FB5_Msk /*!<Filter bit 5 */
3831#define CAN_F10R1_FB6_Pos (6U)
3832#define CAN_F10R1_FB6_Msk (0x1U << CAN_F10R1_FB6_Pos) /*!< 0x00000040 */
3833#define CAN_F10R1_FB6 CAN_F10R1_FB6_Msk /*!<Filter bit 6 */
3834#define CAN_F10R1_FB7_Pos (7U)
3835#define CAN_F10R1_FB7_Msk (0x1U << CAN_F10R1_FB7_Pos) /*!< 0x00000080 */
3836#define CAN_F10R1_FB7 CAN_F10R1_FB7_Msk /*!<Filter bit 7 */
3837#define CAN_F10R1_FB8_Pos (8U)
3838#define CAN_F10R1_FB8_Msk (0x1U << CAN_F10R1_FB8_Pos) /*!< 0x00000100 */
3839#define CAN_F10R1_FB8 CAN_F10R1_FB8_Msk /*!<Filter bit 8 */
3840#define CAN_F10R1_FB9_Pos (9U)
3841#define CAN_F10R1_FB9_Msk (0x1U << CAN_F10R1_FB9_Pos) /*!< 0x00000200 */
3842#define CAN_F10R1_FB9 CAN_F10R1_FB9_Msk /*!<Filter bit 9 */
3843#define CAN_F10R1_FB10_Pos (10U)
3844#define CAN_F10R1_FB10_Msk (0x1U << CAN_F10R1_FB10_Pos) /*!< 0x00000400 */
3845#define CAN_F10R1_FB10 CAN_F10R1_FB10_Msk /*!<Filter bit 10 */
3846#define CAN_F10R1_FB11_Pos (11U)
3847#define CAN_F10R1_FB11_Msk (0x1U << CAN_F10R1_FB11_Pos) /*!< 0x00000800 */
3848#define CAN_F10R1_FB11 CAN_F10R1_FB11_Msk /*!<Filter bit 11 */
3849#define CAN_F10R1_FB12_Pos (12U)
3850#define CAN_F10R1_FB12_Msk (0x1U << CAN_F10R1_FB12_Pos) /*!< 0x00001000 */
3851#define CAN_F10R1_FB12 CAN_F10R1_FB12_Msk /*!<Filter bit 12 */
3852#define CAN_F10R1_FB13_Pos (13U)
3853#define CAN_F10R1_FB13_Msk (0x1U << CAN_F10R1_FB13_Pos) /*!< 0x00002000 */
3854#define CAN_F10R1_FB13 CAN_F10R1_FB13_Msk /*!<Filter bit 13 */
3855#define CAN_F10R1_FB14_Pos (14U)
3856#define CAN_F10R1_FB14_Msk (0x1U << CAN_F10R1_FB14_Pos) /*!< 0x00004000 */
3857#define CAN_F10R1_FB14 CAN_F10R1_FB14_Msk /*!<Filter bit 14 */
3858#define CAN_F10R1_FB15_Pos (15U)
3859#define CAN_F10R1_FB15_Msk (0x1U << CAN_F10R1_FB15_Pos) /*!< 0x00008000 */
3860#define CAN_F10R1_FB15 CAN_F10R1_FB15_Msk /*!<Filter bit 15 */
3861#define CAN_F10R1_FB16_Pos (16U)
3862#define CAN_F10R1_FB16_Msk (0x1U << CAN_F10R1_FB16_Pos) /*!< 0x00010000 */
3863#define CAN_F10R1_FB16 CAN_F10R1_FB16_Msk /*!<Filter bit 16 */
3864#define CAN_F10R1_FB17_Pos (17U)
3865#define CAN_F10R1_FB17_Msk (0x1U << CAN_F10R1_FB17_Pos) /*!< 0x00020000 */
3866#define CAN_F10R1_FB17 CAN_F10R1_FB17_Msk /*!<Filter bit 17 */
3867#define CAN_F10R1_FB18_Pos (18U)
3868#define CAN_F10R1_FB18_Msk (0x1U << CAN_F10R1_FB18_Pos) /*!< 0x00040000 */
3869#define CAN_F10R1_FB18 CAN_F10R1_FB18_Msk /*!<Filter bit 18 */
3870#define CAN_F10R1_FB19_Pos (19U)
3871#define CAN_F10R1_FB19_Msk (0x1U << CAN_F10R1_FB19_Pos) /*!< 0x00080000 */
3872#define CAN_F10R1_FB19 CAN_F10R1_FB19_Msk /*!<Filter bit 19 */
3873#define CAN_F10R1_FB20_Pos (20U)
3874#define CAN_F10R1_FB20_Msk (0x1U << CAN_F10R1_FB20_Pos) /*!< 0x00100000 */
3875#define CAN_F10R1_FB20 CAN_F10R1_FB20_Msk /*!<Filter bit 20 */
3876#define CAN_F10R1_FB21_Pos (21U)
3877#define CAN_F10R1_FB21_Msk (0x1U << CAN_F10R1_FB21_Pos) /*!< 0x00200000 */
3878#define CAN_F10R1_FB21 CAN_F10R1_FB21_Msk /*!<Filter bit 21 */
3879#define CAN_F10R1_FB22_Pos (22U)
3880#define CAN_F10R1_FB22_Msk (0x1U << CAN_F10R1_FB22_Pos) /*!< 0x00400000 */
3881#define CAN_F10R1_FB22 CAN_F10R1_FB22_Msk /*!<Filter bit 22 */
3882#define CAN_F10R1_FB23_Pos (23U)
3883#define CAN_F10R1_FB23_Msk (0x1U << CAN_F10R1_FB23_Pos) /*!< 0x00800000 */
3884#define CAN_F10R1_FB23 CAN_F10R1_FB23_Msk /*!<Filter bit 23 */
3885#define CAN_F10R1_FB24_Pos (24U)
3886#define CAN_F10R1_FB24_Msk (0x1U << CAN_F10R1_FB24_Pos) /*!< 0x01000000 */
3887#define CAN_F10R1_FB24 CAN_F10R1_FB24_Msk /*!<Filter bit 24 */
3888#define CAN_F10R1_FB25_Pos (25U)
3889#define CAN_F10R1_FB25_Msk (0x1U << CAN_F10R1_FB25_Pos) /*!< 0x02000000 */
3890#define CAN_F10R1_FB25 CAN_F10R1_FB25_Msk /*!<Filter bit 25 */
3891#define CAN_F10R1_FB26_Pos (26U)
3892#define CAN_F10R1_FB26_Msk (0x1U << CAN_F10R1_FB26_Pos) /*!< 0x04000000 */
3893#define CAN_F10R1_FB26 CAN_F10R1_FB26_Msk /*!<Filter bit 26 */
3894#define CAN_F10R1_FB27_Pos (27U)
3895#define CAN_F10R1_FB27_Msk (0x1U << CAN_F10R1_FB27_Pos) /*!< 0x08000000 */
3896#define CAN_F10R1_FB27 CAN_F10R1_FB27_Msk /*!<Filter bit 27 */
3897#define CAN_F10R1_FB28_Pos (28U)
3898#define CAN_F10R1_FB28_Msk (0x1U << CAN_F10R1_FB28_Pos) /*!< 0x10000000 */
3899#define CAN_F10R1_FB28 CAN_F10R1_FB28_Msk /*!<Filter bit 28 */
3900#define CAN_F10R1_FB29_Pos (29U)
3901#define CAN_F10R1_FB29_Msk (0x1U << CAN_F10R1_FB29_Pos) /*!< 0x20000000 */
3902#define CAN_F10R1_FB29 CAN_F10R1_FB29_Msk /*!<Filter bit 29 */
3903#define CAN_F10R1_FB30_Pos (30U)
3904#define CAN_F10R1_FB30_Msk (0x1U << CAN_F10R1_FB30_Pos) /*!< 0x40000000 */
3905#define CAN_F10R1_FB30 CAN_F10R1_FB30_Msk /*!<Filter bit 30 */
3906#define CAN_F10R1_FB31_Pos (31U)
3907#define CAN_F10R1_FB31_Msk (0x1U << CAN_F10R1_FB31_Pos) /*!< 0x80000000 */
3908#define CAN_F10R1_FB31 CAN_F10R1_FB31_Msk /*!<Filter bit 31 */
3909
3910/******************* Bit definition for CAN_F11R1 register ******************/
3911#define CAN_F11R1_FB0_Pos (0U)
3912#define CAN_F11R1_FB0_Msk (0x1U << CAN_F11R1_FB0_Pos) /*!< 0x00000001 */
3913#define CAN_F11R1_FB0 CAN_F11R1_FB0_Msk /*!<Filter bit 0 */
3914#define CAN_F11R1_FB1_Pos (1U)
3915#define CAN_F11R1_FB1_Msk (0x1U << CAN_F11R1_FB1_Pos) /*!< 0x00000002 */
3916#define CAN_F11R1_FB1 CAN_F11R1_FB1_Msk /*!<Filter bit 1 */
3917#define CAN_F11R1_FB2_Pos (2U)
3918#define CAN_F11R1_FB2_Msk (0x1U << CAN_F11R1_FB2_Pos) /*!< 0x00000004 */
3919#define CAN_F11R1_FB2 CAN_F11R1_FB2_Msk /*!<Filter bit 2 */
3920#define CAN_F11R1_FB3_Pos (3U)
3921#define CAN_F11R1_FB3_Msk (0x1U << CAN_F11R1_FB3_Pos) /*!< 0x00000008 */
3922#define CAN_F11R1_FB3 CAN_F11R1_FB3_Msk /*!<Filter bit 3 */
3923#define CAN_F11R1_FB4_Pos (4U)
3924#define CAN_F11R1_FB4_Msk (0x1U << CAN_F11R1_FB4_Pos) /*!< 0x00000010 */
3925#define CAN_F11R1_FB4 CAN_F11R1_FB4_Msk /*!<Filter bit 4 */
3926#define CAN_F11R1_FB5_Pos (5U)
3927#define CAN_F11R1_FB5_Msk (0x1U << CAN_F11R1_FB5_Pos) /*!< 0x00000020 */
3928#define CAN_F11R1_FB5 CAN_F11R1_FB5_Msk /*!<Filter bit 5 */
3929#define CAN_F11R1_FB6_Pos (6U)
3930#define CAN_F11R1_FB6_Msk (0x1U << CAN_F11R1_FB6_Pos) /*!< 0x00000040 */
3931#define CAN_F11R1_FB6 CAN_F11R1_FB6_Msk /*!<Filter bit 6 */
3932#define CAN_F11R1_FB7_Pos (7U)
3933#define CAN_F11R1_FB7_Msk (0x1U << CAN_F11R1_FB7_Pos) /*!< 0x00000080 */
3934#define CAN_F11R1_FB7 CAN_F11R1_FB7_Msk /*!<Filter bit 7 */
3935#define CAN_F11R1_FB8_Pos (8U)
3936#define CAN_F11R1_FB8_Msk (0x1U << CAN_F11R1_FB8_Pos) /*!< 0x00000100 */
3937#define CAN_F11R1_FB8 CAN_F11R1_FB8_Msk /*!<Filter bit 8 */
3938#define CAN_F11R1_FB9_Pos (9U)
3939#define CAN_F11R1_FB9_Msk (0x1U << CAN_F11R1_FB9_Pos) /*!< 0x00000200 */
3940#define CAN_F11R1_FB9 CAN_F11R1_FB9_Msk /*!<Filter bit 9 */
3941#define CAN_F11R1_FB10_Pos (10U)
3942#define CAN_F11R1_FB10_Msk (0x1U << CAN_F11R1_FB10_Pos) /*!< 0x00000400 */
3943#define CAN_F11R1_FB10 CAN_F11R1_FB10_Msk /*!<Filter bit 10 */
3944#define CAN_F11R1_FB11_Pos (11U)
3945#define CAN_F11R1_FB11_Msk (0x1U << CAN_F11R1_FB11_Pos) /*!< 0x00000800 */
3946#define CAN_F11R1_FB11 CAN_F11R1_FB11_Msk /*!<Filter bit 11 */
3947#define CAN_F11R1_FB12_Pos (12U)
3948#define CAN_F11R1_FB12_Msk (0x1U << CAN_F11R1_FB12_Pos) /*!< 0x00001000 */
3949#define CAN_F11R1_FB12 CAN_F11R1_FB12_Msk /*!<Filter bit 12 */
3950#define CAN_F11R1_FB13_Pos (13U)
3951#define CAN_F11R1_FB13_Msk (0x1U << CAN_F11R1_FB13_Pos) /*!< 0x00002000 */
3952#define CAN_F11R1_FB13 CAN_F11R1_FB13_Msk /*!<Filter bit 13 */
3953#define CAN_F11R1_FB14_Pos (14U)
3954#define CAN_F11R1_FB14_Msk (0x1U << CAN_F11R1_FB14_Pos) /*!< 0x00004000 */
3955#define CAN_F11R1_FB14 CAN_F11R1_FB14_Msk /*!<Filter bit 14 */
3956#define CAN_F11R1_FB15_Pos (15U)
3957#define CAN_F11R1_FB15_Msk (0x1U << CAN_F11R1_FB15_Pos) /*!< 0x00008000 */
3958#define CAN_F11R1_FB15 CAN_F11R1_FB15_Msk /*!<Filter bit 15 */
3959#define CAN_F11R1_FB16_Pos (16U)
3960#define CAN_F11R1_FB16_Msk (0x1U << CAN_F11R1_FB16_Pos) /*!< 0x00010000 */
3961#define CAN_F11R1_FB16 CAN_F11R1_FB16_Msk /*!<Filter bit 16 */
3962#define CAN_F11R1_FB17_Pos (17U)
3963#define CAN_F11R1_FB17_Msk (0x1U << CAN_F11R1_FB17_Pos) /*!< 0x00020000 */
3964#define CAN_F11R1_FB17 CAN_F11R1_FB17_Msk /*!<Filter bit 17 */
3965#define CAN_F11R1_FB18_Pos (18U)
3966#define CAN_F11R1_FB18_Msk (0x1U << CAN_F11R1_FB18_Pos) /*!< 0x00040000 */
3967#define CAN_F11R1_FB18 CAN_F11R1_FB18_Msk /*!<Filter bit 18 */
3968#define CAN_F11R1_FB19_Pos (19U)
3969#define CAN_F11R1_FB19_Msk (0x1U << CAN_F11R1_FB19_Pos) /*!< 0x00080000 */
3970#define CAN_F11R1_FB19 CAN_F11R1_FB19_Msk /*!<Filter bit 19 */
3971#define CAN_F11R1_FB20_Pos (20U)
3972#define CAN_F11R1_FB20_Msk (0x1U << CAN_F11R1_FB20_Pos) /*!< 0x00100000 */
3973#define CAN_F11R1_FB20 CAN_F11R1_FB20_Msk /*!<Filter bit 20 */
3974#define CAN_F11R1_FB21_Pos (21U)
3975#define CAN_F11R1_FB21_Msk (0x1U << CAN_F11R1_FB21_Pos) /*!< 0x00200000 */
3976#define CAN_F11R1_FB21 CAN_F11R1_FB21_Msk /*!<Filter bit 21 */
3977#define CAN_F11R1_FB22_Pos (22U)
3978#define CAN_F11R1_FB22_Msk (0x1U << CAN_F11R1_FB22_Pos) /*!< 0x00400000 */
3979#define CAN_F11R1_FB22 CAN_F11R1_FB22_Msk /*!<Filter bit 22 */
3980#define CAN_F11R1_FB23_Pos (23U)
3981#define CAN_F11R1_FB23_Msk (0x1U << CAN_F11R1_FB23_Pos) /*!< 0x00800000 */
3982#define CAN_F11R1_FB23 CAN_F11R1_FB23_Msk /*!<Filter bit 23 */
3983#define CAN_F11R1_FB24_Pos (24U)
3984#define CAN_F11R1_FB24_Msk (0x1U << CAN_F11R1_FB24_Pos) /*!< 0x01000000 */
3985#define CAN_F11R1_FB24 CAN_F11R1_FB24_Msk /*!<Filter bit 24 */
3986#define CAN_F11R1_FB25_Pos (25U)
3987#define CAN_F11R1_FB25_Msk (0x1U << CAN_F11R1_FB25_Pos) /*!< 0x02000000 */
3988#define CAN_F11R1_FB25 CAN_F11R1_FB25_Msk /*!<Filter bit 25 */
3989#define CAN_F11R1_FB26_Pos (26U)
3990#define CAN_F11R1_FB26_Msk (0x1U << CAN_F11R1_FB26_Pos) /*!< 0x04000000 */
3991#define CAN_F11R1_FB26 CAN_F11R1_FB26_Msk /*!<Filter bit 26 */
3992#define CAN_F11R1_FB27_Pos (27U)
3993#define CAN_F11R1_FB27_Msk (0x1U << CAN_F11R1_FB27_Pos) /*!< 0x08000000 */
3994#define CAN_F11R1_FB27 CAN_F11R1_FB27_Msk /*!<Filter bit 27 */
3995#define CAN_F11R1_FB28_Pos (28U)
3996#define CAN_F11R1_FB28_Msk (0x1U << CAN_F11R1_FB28_Pos) /*!< 0x10000000 */
3997#define CAN_F11R1_FB28 CAN_F11R1_FB28_Msk /*!<Filter bit 28 */
3998#define CAN_F11R1_FB29_Pos (29U)
3999#define CAN_F11R1_FB29_Msk (0x1U << CAN_F11R1_FB29_Pos) /*!< 0x20000000 */
4000#define CAN_F11R1_FB29 CAN_F11R1_FB29_Msk /*!<Filter bit 29 */
4001#define CAN_F11R1_FB30_Pos (30U)
4002#define CAN_F11R1_FB30_Msk (0x1U << CAN_F11R1_FB30_Pos) /*!< 0x40000000 */
4003#define CAN_F11R1_FB30 CAN_F11R1_FB30_Msk /*!<Filter bit 30 */
4004#define CAN_F11R1_FB31_Pos (31U)
4005#define CAN_F11R1_FB31_Msk (0x1U << CAN_F11R1_FB31_Pos) /*!< 0x80000000 */
4006#define CAN_F11R1_FB31 CAN_F11R1_FB31_Msk /*!<Filter bit 31 */
4007
4008/******************* Bit definition for CAN_F12R1 register ******************/
4009#define CAN_F12R1_FB0_Pos (0U)
4010#define CAN_F12R1_FB0_Msk (0x1U << CAN_F12R1_FB0_Pos) /*!< 0x00000001 */
4011#define CAN_F12R1_FB0 CAN_F12R1_FB0_Msk /*!<Filter bit 0 */
4012#define CAN_F12R1_FB1_Pos (1U)
4013#define CAN_F12R1_FB1_Msk (0x1U << CAN_F12R1_FB1_Pos) /*!< 0x00000002 */
4014#define CAN_F12R1_FB1 CAN_F12R1_FB1_Msk /*!<Filter bit 1 */
4015#define CAN_F12R1_FB2_Pos (2U)
4016#define CAN_F12R1_FB2_Msk (0x1U << CAN_F12R1_FB2_Pos) /*!< 0x00000004 */
4017#define CAN_F12R1_FB2 CAN_F12R1_FB2_Msk /*!<Filter bit 2 */
4018#define CAN_F12R1_FB3_Pos (3U)
4019#define CAN_F12R1_FB3_Msk (0x1U << CAN_F12R1_FB3_Pos) /*!< 0x00000008 */
4020#define CAN_F12R1_FB3 CAN_F12R1_FB3_Msk /*!<Filter bit 3 */
4021#define CAN_F12R1_FB4_Pos (4U)
4022#define CAN_F12R1_FB4_Msk (0x1U << CAN_F12R1_FB4_Pos) /*!< 0x00000010 */
4023#define CAN_F12R1_FB4 CAN_F12R1_FB4_Msk /*!<Filter bit 4 */
4024#define CAN_F12R1_FB5_Pos (5U)
4025#define CAN_F12R1_FB5_Msk (0x1U << CAN_F12R1_FB5_Pos) /*!< 0x00000020 */
4026#define CAN_F12R1_FB5 CAN_F12R1_FB5_Msk /*!<Filter bit 5 */
4027#define CAN_F12R1_FB6_Pos (6U)
4028#define CAN_F12R1_FB6_Msk (0x1U << CAN_F12R1_FB6_Pos) /*!< 0x00000040 */
4029#define CAN_F12R1_FB6 CAN_F12R1_FB6_Msk /*!<Filter bit 6 */
4030#define CAN_F12R1_FB7_Pos (7U)
4031#define CAN_F12R1_FB7_Msk (0x1U << CAN_F12R1_FB7_Pos) /*!< 0x00000080 */
4032#define CAN_F12R1_FB7 CAN_F12R1_FB7_Msk /*!<Filter bit 7 */
4033#define CAN_F12R1_FB8_Pos (8U)
4034#define CAN_F12R1_FB8_Msk (0x1U << CAN_F12R1_FB8_Pos) /*!< 0x00000100 */
4035#define CAN_F12R1_FB8 CAN_F12R1_FB8_Msk /*!<Filter bit 8 */
4036#define CAN_F12R1_FB9_Pos (9U)
4037#define CAN_F12R1_FB9_Msk (0x1U << CAN_F12R1_FB9_Pos) /*!< 0x00000200 */
4038#define CAN_F12R1_FB9 CAN_F12R1_FB9_Msk /*!<Filter bit 9 */
4039#define CAN_F12R1_FB10_Pos (10U)
4040#define CAN_F12R1_FB10_Msk (0x1U << CAN_F12R1_FB10_Pos) /*!< 0x00000400 */
4041#define CAN_F12R1_FB10 CAN_F12R1_FB10_Msk /*!<Filter bit 10 */
4042#define CAN_F12R1_FB11_Pos (11U)
4043#define CAN_F12R1_FB11_Msk (0x1U << CAN_F12R1_FB11_Pos) /*!< 0x00000800 */
4044#define CAN_F12R1_FB11 CAN_F12R1_FB11_Msk /*!<Filter bit 11 */
4045#define CAN_F12R1_FB12_Pos (12U)
4046#define CAN_F12R1_FB12_Msk (0x1U << CAN_F12R1_FB12_Pos) /*!< 0x00001000 */
4047#define CAN_F12R1_FB12 CAN_F12R1_FB12_Msk /*!<Filter bit 12 */
4048#define CAN_F12R1_FB13_Pos (13U)
4049#define CAN_F12R1_FB13_Msk (0x1U << CAN_F12R1_FB13_Pos) /*!< 0x00002000 */
4050#define CAN_F12R1_FB13 CAN_F12R1_FB13_Msk /*!<Filter bit 13 */
4051#define CAN_F12R1_FB14_Pos (14U)
4052#define CAN_F12R1_FB14_Msk (0x1U << CAN_F12R1_FB14_Pos) /*!< 0x00004000 */
4053#define CAN_F12R1_FB14 CAN_F12R1_FB14_Msk /*!<Filter bit 14 */
4054#define CAN_F12R1_FB15_Pos (15U)
4055#define CAN_F12R1_FB15_Msk (0x1U << CAN_F12R1_FB15_Pos) /*!< 0x00008000 */
4056#define CAN_F12R1_FB15 CAN_F12R1_FB15_Msk /*!<Filter bit 15 */
4057#define CAN_F12R1_FB16_Pos (16U)
4058#define CAN_F12R1_FB16_Msk (0x1U << CAN_F12R1_FB16_Pos) /*!< 0x00010000 */
4059#define CAN_F12R1_FB16 CAN_F12R1_FB16_Msk /*!<Filter bit 16 */
4060#define CAN_F12R1_FB17_Pos (17U)
4061#define CAN_F12R1_FB17_Msk (0x1U << CAN_F12R1_FB17_Pos) /*!< 0x00020000 */
4062#define CAN_F12R1_FB17 CAN_F12R1_FB17_Msk /*!<Filter bit 17 */
4063#define CAN_F12R1_FB18_Pos (18U)
4064#define CAN_F12R1_FB18_Msk (0x1U << CAN_F12R1_FB18_Pos) /*!< 0x00040000 */
4065#define CAN_F12R1_FB18 CAN_F12R1_FB18_Msk /*!<Filter bit 18 */
4066#define CAN_F12R1_FB19_Pos (19U)
4067#define CAN_F12R1_FB19_Msk (0x1U << CAN_F12R1_FB19_Pos) /*!< 0x00080000 */
4068#define CAN_F12R1_FB19 CAN_F12R1_FB19_Msk /*!<Filter bit 19 */
4069#define CAN_F12R1_FB20_Pos (20U)
4070#define CAN_F12R1_FB20_Msk (0x1U << CAN_F12R1_FB20_Pos) /*!< 0x00100000 */
4071#define CAN_F12R1_FB20 CAN_F12R1_FB20_Msk /*!<Filter bit 20 */
4072#define CAN_F12R1_FB21_Pos (21U)
4073#define CAN_F12R1_FB21_Msk (0x1U << CAN_F12R1_FB21_Pos) /*!< 0x00200000 */
4074#define CAN_F12R1_FB21 CAN_F12R1_FB21_Msk /*!<Filter bit 21 */
4075#define CAN_F12R1_FB22_Pos (22U)
4076#define CAN_F12R1_FB22_Msk (0x1U << CAN_F12R1_FB22_Pos) /*!< 0x00400000 */
4077#define CAN_F12R1_FB22 CAN_F12R1_FB22_Msk /*!<Filter bit 22 */
4078#define CAN_F12R1_FB23_Pos (23U)
4079#define CAN_F12R1_FB23_Msk (0x1U << CAN_F12R1_FB23_Pos) /*!< 0x00800000 */
4080#define CAN_F12R1_FB23 CAN_F12R1_FB23_Msk /*!<Filter bit 23 */
4081#define CAN_F12R1_FB24_Pos (24U)
4082#define CAN_F12R1_FB24_Msk (0x1U << CAN_F12R1_FB24_Pos) /*!< 0x01000000 */
4083#define CAN_F12R1_FB24 CAN_F12R1_FB24_Msk /*!<Filter bit 24 */
4084#define CAN_F12R1_FB25_Pos (25U)
4085#define CAN_F12R1_FB25_Msk (0x1U << CAN_F12R1_FB25_Pos) /*!< 0x02000000 */
4086#define CAN_F12R1_FB25 CAN_F12R1_FB25_Msk /*!<Filter bit 25 */
4087#define CAN_F12R1_FB26_Pos (26U)
4088#define CAN_F12R1_FB26_Msk (0x1U << CAN_F12R1_FB26_Pos) /*!< 0x04000000 */
4089#define CAN_F12R1_FB26 CAN_F12R1_FB26_Msk /*!<Filter bit 26 */
4090#define CAN_F12R1_FB27_Pos (27U)
4091#define CAN_F12R1_FB27_Msk (0x1U << CAN_F12R1_FB27_Pos) /*!< 0x08000000 */
4092#define CAN_F12R1_FB27 CAN_F12R1_FB27_Msk /*!<Filter bit 27 */
4093#define CAN_F12R1_FB28_Pos (28U)
4094#define CAN_F12R1_FB28_Msk (0x1U << CAN_F12R1_FB28_Pos) /*!< 0x10000000 */
4095#define CAN_F12R1_FB28 CAN_F12R1_FB28_Msk /*!<Filter bit 28 */
4096#define CAN_F12R1_FB29_Pos (29U)
4097#define CAN_F12R1_FB29_Msk (0x1U << CAN_F12R1_FB29_Pos) /*!< 0x20000000 */
4098#define CAN_F12R1_FB29 CAN_F12R1_FB29_Msk /*!<Filter bit 29 */
4099#define CAN_F12R1_FB30_Pos (30U)
4100#define CAN_F12R1_FB30_Msk (0x1U << CAN_F12R1_FB30_Pos) /*!< 0x40000000 */
4101#define CAN_F12R1_FB30 CAN_F12R1_FB30_Msk /*!<Filter bit 30 */
4102#define CAN_F12R1_FB31_Pos (31U)
4103#define CAN_F12R1_FB31_Msk (0x1U << CAN_F12R1_FB31_Pos) /*!< 0x80000000 */
4104#define CAN_F12R1_FB31 CAN_F12R1_FB31_Msk /*!<Filter bit 31 */
4105
4106/******************* Bit definition for CAN_F13R1 register ******************/
4107#define CAN_F13R1_FB0_Pos (0U)
4108#define CAN_F13R1_FB0_Msk (0x1U << CAN_F13R1_FB0_Pos) /*!< 0x00000001 */
4109#define CAN_F13R1_FB0 CAN_F13R1_FB0_Msk /*!<Filter bit 0 */
4110#define CAN_F13R1_FB1_Pos (1U)
4111#define CAN_F13R1_FB1_Msk (0x1U << CAN_F13R1_FB1_Pos) /*!< 0x00000002 */
4112#define CAN_F13R1_FB1 CAN_F13R1_FB1_Msk /*!<Filter bit 1 */
4113#define CAN_F13R1_FB2_Pos (2U)
4114#define CAN_F13R1_FB2_Msk (0x1U << CAN_F13R1_FB2_Pos) /*!< 0x00000004 */
4115#define CAN_F13R1_FB2 CAN_F13R1_FB2_Msk /*!<Filter bit 2 */
4116#define CAN_F13R1_FB3_Pos (3U)
4117#define CAN_F13R1_FB3_Msk (0x1U << CAN_F13R1_FB3_Pos) /*!< 0x00000008 */
4118#define CAN_F13R1_FB3 CAN_F13R1_FB3_Msk /*!<Filter bit 3 */
4119#define CAN_F13R1_FB4_Pos (4U)
4120#define CAN_F13R1_FB4_Msk (0x1U << CAN_F13R1_FB4_Pos) /*!< 0x00000010 */
4121#define CAN_F13R1_FB4 CAN_F13R1_FB4_Msk /*!<Filter bit 4 */
4122#define CAN_F13R1_FB5_Pos (5U)
4123#define CAN_F13R1_FB5_Msk (0x1U << CAN_F13R1_FB5_Pos) /*!< 0x00000020 */
4124#define CAN_F13R1_FB5 CAN_F13R1_FB5_Msk /*!<Filter bit 5 */
4125#define CAN_F13R1_FB6_Pos (6U)
4126#define CAN_F13R1_FB6_Msk (0x1U << CAN_F13R1_FB6_Pos) /*!< 0x00000040 */
4127#define CAN_F13R1_FB6 CAN_F13R1_FB6_Msk /*!<Filter bit 6 */
4128#define CAN_F13R1_FB7_Pos (7U)
4129#define CAN_F13R1_FB7_Msk (0x1U << CAN_F13R1_FB7_Pos) /*!< 0x00000080 */
4130#define CAN_F13R1_FB7 CAN_F13R1_FB7_Msk /*!<Filter bit 7 */
4131#define CAN_F13R1_FB8_Pos (8U)
4132#define CAN_F13R1_FB8_Msk (0x1U << CAN_F13R1_FB8_Pos) /*!< 0x00000100 */
4133#define CAN_F13R1_FB8 CAN_F13R1_FB8_Msk /*!<Filter bit 8 */
4134#define CAN_F13R1_FB9_Pos (9U)
4135#define CAN_F13R1_FB9_Msk (0x1U << CAN_F13R1_FB9_Pos) /*!< 0x00000200 */
4136#define CAN_F13R1_FB9 CAN_F13R1_FB9_Msk /*!<Filter bit 9 */
4137#define CAN_F13R1_FB10_Pos (10U)
4138#define CAN_F13R1_FB10_Msk (0x1U << CAN_F13R1_FB10_Pos) /*!< 0x00000400 */
4139#define CAN_F13R1_FB10 CAN_F13R1_FB10_Msk /*!<Filter bit 10 */
4140#define CAN_F13R1_FB11_Pos (11U)
4141#define CAN_F13R1_FB11_Msk (0x1U << CAN_F13R1_FB11_Pos) /*!< 0x00000800 */
4142#define CAN_F13R1_FB11 CAN_F13R1_FB11_Msk /*!<Filter bit 11 */
4143#define CAN_F13R1_FB12_Pos (12U)
4144#define CAN_F13R1_FB12_Msk (0x1U << CAN_F13R1_FB12_Pos) /*!< 0x00001000 */
4145#define CAN_F13R1_FB12 CAN_F13R1_FB12_Msk /*!<Filter bit 12 */
4146#define CAN_F13R1_FB13_Pos (13U)
4147#define CAN_F13R1_FB13_Msk (0x1U << CAN_F13R1_FB13_Pos) /*!< 0x00002000 */
4148#define CAN_F13R1_FB13 CAN_F13R1_FB13_Msk /*!<Filter bit 13 */
4149#define CAN_F13R1_FB14_Pos (14U)
4150#define CAN_F13R1_FB14_Msk (0x1U << CAN_F13R1_FB14_Pos) /*!< 0x00004000 */
4151#define CAN_F13R1_FB14 CAN_F13R1_FB14_Msk /*!<Filter bit 14 */
4152#define CAN_F13R1_FB15_Pos (15U)
4153#define CAN_F13R1_FB15_Msk (0x1U << CAN_F13R1_FB15_Pos) /*!< 0x00008000 */
4154#define CAN_F13R1_FB15 CAN_F13R1_FB15_Msk /*!<Filter bit 15 */
4155#define CAN_F13R1_FB16_Pos (16U)
4156#define CAN_F13R1_FB16_Msk (0x1U << CAN_F13R1_FB16_Pos) /*!< 0x00010000 */
4157#define CAN_F13R1_FB16 CAN_F13R1_FB16_Msk /*!<Filter bit 16 */
4158#define CAN_F13R1_FB17_Pos (17U)
4159#define CAN_F13R1_FB17_Msk (0x1U << CAN_F13R1_FB17_Pos) /*!< 0x00020000 */
4160#define CAN_F13R1_FB17 CAN_F13R1_FB17_Msk /*!<Filter bit 17 */
4161#define CAN_F13R1_FB18_Pos (18U)
4162#define CAN_F13R1_FB18_Msk (0x1U << CAN_F13R1_FB18_Pos) /*!< 0x00040000 */
4163#define CAN_F13R1_FB18 CAN_F13R1_FB18_Msk /*!<Filter bit 18 */
4164#define CAN_F13R1_FB19_Pos (19U)
4165#define CAN_F13R1_FB19_Msk (0x1U << CAN_F13R1_FB19_Pos) /*!< 0x00080000 */
4166#define CAN_F13R1_FB19 CAN_F13R1_FB19_Msk /*!<Filter bit 19 */
4167#define CAN_F13R1_FB20_Pos (20U)
4168#define CAN_F13R1_FB20_Msk (0x1U << CAN_F13R1_FB20_Pos) /*!< 0x00100000 */
4169#define CAN_F13R1_FB20 CAN_F13R1_FB20_Msk /*!<Filter bit 20 */
4170#define CAN_F13R1_FB21_Pos (21U)
4171#define CAN_F13R1_FB21_Msk (0x1U << CAN_F13R1_FB21_Pos) /*!< 0x00200000 */
4172#define CAN_F13R1_FB21 CAN_F13R1_FB21_Msk /*!<Filter bit 21 */
4173#define CAN_F13R1_FB22_Pos (22U)
4174#define CAN_F13R1_FB22_Msk (0x1U << CAN_F13R1_FB22_Pos) /*!< 0x00400000 */
4175#define CAN_F13R1_FB22 CAN_F13R1_FB22_Msk /*!<Filter bit 22 */
4176#define CAN_F13R1_FB23_Pos (23U)
4177#define CAN_F13R1_FB23_Msk (0x1U << CAN_F13R1_FB23_Pos) /*!< 0x00800000 */
4178#define CAN_F13R1_FB23 CAN_F13R1_FB23_Msk /*!<Filter bit 23 */
4179#define CAN_F13R1_FB24_Pos (24U)
4180#define CAN_F13R1_FB24_Msk (0x1U << CAN_F13R1_FB24_Pos) /*!< 0x01000000 */
4181#define CAN_F13R1_FB24 CAN_F13R1_FB24_Msk /*!<Filter bit 24 */
4182#define CAN_F13R1_FB25_Pos (25U)
4183#define CAN_F13R1_FB25_Msk (0x1U << CAN_F13R1_FB25_Pos) /*!< 0x02000000 */
4184#define CAN_F13R1_FB25 CAN_F13R1_FB25_Msk /*!<Filter bit 25 */
4185#define CAN_F13R1_FB26_Pos (26U)
4186#define CAN_F13R1_FB26_Msk (0x1U << CAN_F13R1_FB26_Pos) /*!< 0x04000000 */
4187#define CAN_F13R1_FB26 CAN_F13R1_FB26_Msk /*!<Filter bit 26 */
4188#define CAN_F13R1_FB27_Pos (27U)
4189#define CAN_F13R1_FB27_Msk (0x1U << CAN_F13R1_FB27_Pos) /*!< 0x08000000 */
4190#define CAN_F13R1_FB27 CAN_F13R1_FB27_Msk /*!<Filter bit 27 */
4191#define CAN_F13R1_FB28_Pos (28U)
4192#define CAN_F13R1_FB28_Msk (0x1U << CAN_F13R1_FB28_Pos) /*!< 0x10000000 */
4193#define CAN_F13R1_FB28 CAN_F13R1_FB28_Msk /*!<Filter bit 28 */
4194#define CAN_F13R1_FB29_Pos (29U)
4195#define CAN_F13R1_FB29_Msk (0x1U << CAN_F13R1_FB29_Pos) /*!< 0x20000000 */
4196#define CAN_F13R1_FB29 CAN_F13R1_FB29_Msk /*!<Filter bit 29 */
4197#define CAN_F13R1_FB30_Pos (30U)
4198#define CAN_F13R1_FB30_Msk (0x1U << CAN_F13R1_FB30_Pos) /*!< 0x40000000 */
4199#define CAN_F13R1_FB30 CAN_F13R1_FB30_Msk /*!<Filter bit 30 */
4200#define CAN_F13R1_FB31_Pos (31U)
4201#define CAN_F13R1_FB31_Msk (0x1U << CAN_F13R1_FB31_Pos) /*!< 0x80000000 */
4202#define CAN_F13R1_FB31 CAN_F13R1_FB31_Msk /*!<Filter bit 31 */
4203
4204/******************* Bit definition for CAN_F0R2 register *******************/
4205#define CAN_F0R2_FB0_Pos (0U)
4206#define CAN_F0R2_FB0_Msk (0x1U << CAN_F0R2_FB0_Pos) /*!< 0x00000001 */
4207#define CAN_F0R2_FB0 CAN_F0R2_FB0_Msk /*!<Filter bit 0 */
4208#define CAN_F0R2_FB1_Pos (1U)
4209#define CAN_F0R2_FB1_Msk (0x1U << CAN_F0R2_FB1_Pos) /*!< 0x00000002 */
4210#define CAN_F0R2_FB1 CAN_F0R2_FB1_Msk /*!<Filter bit 1 */
4211#define CAN_F0R2_FB2_Pos (2U)
4212#define CAN_F0R2_FB2_Msk (0x1U << CAN_F0R2_FB2_Pos) /*!< 0x00000004 */
4213#define CAN_F0R2_FB2 CAN_F0R2_FB2_Msk /*!<Filter bit 2 */
4214#define CAN_F0R2_FB3_Pos (3U)
4215#define CAN_F0R2_FB3_Msk (0x1U << CAN_F0R2_FB3_Pos) /*!< 0x00000008 */
4216#define CAN_F0R2_FB3 CAN_F0R2_FB3_Msk /*!<Filter bit 3 */
4217#define CAN_F0R2_FB4_Pos (4U)
4218#define CAN_F0R2_FB4_Msk (0x1U << CAN_F0R2_FB4_Pos) /*!< 0x00000010 */
4219#define CAN_F0R2_FB4 CAN_F0R2_FB4_Msk /*!<Filter bit 4 */
4220#define CAN_F0R2_FB5_Pos (5U)
4221#define CAN_F0R2_FB5_Msk (0x1U << CAN_F0R2_FB5_Pos) /*!< 0x00000020 */
4222#define CAN_F0R2_FB5 CAN_F0R2_FB5_Msk /*!<Filter bit 5 */
4223#define CAN_F0R2_FB6_Pos (6U)
4224#define CAN_F0R2_FB6_Msk (0x1U << CAN_F0R2_FB6_Pos) /*!< 0x00000040 */
4225#define CAN_F0R2_FB6 CAN_F0R2_FB6_Msk /*!<Filter bit 6 */
4226#define CAN_F0R2_FB7_Pos (7U)
4227#define CAN_F0R2_FB7_Msk (0x1U << CAN_F0R2_FB7_Pos) /*!< 0x00000080 */
4228#define CAN_F0R2_FB7 CAN_F0R2_FB7_Msk /*!<Filter bit 7 */
4229#define CAN_F0R2_FB8_Pos (8U)
4230#define CAN_F0R2_FB8_Msk (0x1U << CAN_F0R2_FB8_Pos) /*!< 0x00000100 */
4231#define CAN_F0R2_FB8 CAN_F0R2_FB8_Msk /*!<Filter bit 8 */
4232#define CAN_F0R2_FB9_Pos (9U)
4233#define CAN_F0R2_FB9_Msk (0x1U << CAN_F0R2_FB9_Pos) /*!< 0x00000200 */
4234#define CAN_F0R2_FB9 CAN_F0R2_FB9_Msk /*!<Filter bit 9 */
4235#define CAN_F0R2_FB10_Pos (10U)
4236#define CAN_F0R2_FB10_Msk (0x1U << CAN_F0R2_FB10_Pos) /*!< 0x00000400 */
4237#define CAN_F0R2_FB10 CAN_F0R2_FB10_Msk /*!<Filter bit 10 */
4238#define CAN_F0R2_FB11_Pos (11U)
4239#define CAN_F0R2_FB11_Msk (0x1U << CAN_F0R2_FB11_Pos) /*!< 0x00000800 */
4240#define CAN_F0R2_FB11 CAN_F0R2_FB11_Msk /*!<Filter bit 11 */
4241#define CAN_F0R2_FB12_Pos (12U)
4242#define CAN_F0R2_FB12_Msk (0x1U << CAN_F0R2_FB12_Pos) /*!< 0x00001000 */
4243#define CAN_F0R2_FB12 CAN_F0R2_FB12_Msk /*!<Filter bit 12 */
4244#define CAN_F0R2_FB13_Pos (13U)
4245#define CAN_F0R2_FB13_Msk (0x1U << CAN_F0R2_FB13_Pos) /*!< 0x00002000 */
4246#define CAN_F0R2_FB13 CAN_F0R2_FB13_Msk /*!<Filter bit 13 */
4247#define CAN_F0R2_FB14_Pos (14U)
4248#define CAN_F0R2_FB14_Msk (0x1U << CAN_F0R2_FB14_Pos) /*!< 0x00004000 */
4249#define CAN_F0R2_FB14 CAN_F0R2_FB14_Msk /*!<Filter bit 14 */
4250#define CAN_F0R2_FB15_Pos (15U)
4251#define CAN_F0R2_FB15_Msk (0x1U << CAN_F0R2_FB15_Pos) /*!< 0x00008000 */
4252#define CAN_F0R2_FB15 CAN_F0R2_FB15_Msk /*!<Filter bit 15 */
4253#define CAN_F0R2_FB16_Pos (16U)
4254#define CAN_F0R2_FB16_Msk (0x1U << CAN_F0R2_FB16_Pos) /*!< 0x00010000 */
4255#define CAN_F0R2_FB16 CAN_F0R2_FB16_Msk /*!<Filter bit 16 */
4256#define CAN_F0R2_FB17_Pos (17U)
4257#define CAN_F0R2_FB17_Msk (0x1U << CAN_F0R2_FB17_Pos) /*!< 0x00020000 */
4258#define CAN_F0R2_FB17 CAN_F0R2_FB17_Msk /*!<Filter bit 17 */
4259#define CAN_F0R2_FB18_Pos (18U)
4260#define CAN_F0R2_FB18_Msk (0x1U << CAN_F0R2_FB18_Pos) /*!< 0x00040000 */
4261#define CAN_F0R2_FB18 CAN_F0R2_FB18_Msk /*!<Filter bit 18 */
4262#define CAN_F0R2_FB19_Pos (19U)
4263#define CAN_F0R2_FB19_Msk (0x1U << CAN_F0R2_FB19_Pos) /*!< 0x00080000 */
4264#define CAN_F0R2_FB19 CAN_F0R2_FB19_Msk /*!<Filter bit 19 */
4265#define CAN_F0R2_FB20_Pos (20U)
4266#define CAN_F0R2_FB20_Msk (0x1U << CAN_F0R2_FB20_Pos) /*!< 0x00100000 */
4267#define CAN_F0R2_FB20 CAN_F0R2_FB20_Msk /*!<Filter bit 20 */
4268#define CAN_F0R2_FB21_Pos (21U)
4269#define CAN_F0R2_FB21_Msk (0x1U << CAN_F0R2_FB21_Pos) /*!< 0x00200000 */
4270#define CAN_F0R2_FB21 CAN_F0R2_FB21_Msk /*!<Filter bit 21 */
4271#define CAN_F0R2_FB22_Pos (22U)
4272#define CAN_F0R2_FB22_Msk (0x1U << CAN_F0R2_FB22_Pos) /*!< 0x00400000 */
4273#define CAN_F0R2_FB22 CAN_F0R2_FB22_Msk /*!<Filter bit 22 */
4274#define CAN_F0R2_FB23_Pos (23U)
4275#define CAN_F0R2_FB23_Msk (0x1U << CAN_F0R2_FB23_Pos) /*!< 0x00800000 */
4276#define CAN_F0R2_FB23 CAN_F0R2_FB23_Msk /*!<Filter bit 23 */
4277#define CAN_F0R2_FB24_Pos (24U)
4278#define CAN_F0R2_FB24_Msk (0x1U << CAN_F0R2_FB24_Pos) /*!< 0x01000000 */
4279#define CAN_F0R2_FB24 CAN_F0R2_FB24_Msk /*!<Filter bit 24 */
4280#define CAN_F0R2_FB25_Pos (25U)
4281#define CAN_F0R2_FB25_Msk (0x1U << CAN_F0R2_FB25_Pos) /*!< 0x02000000 */
4282#define CAN_F0R2_FB25 CAN_F0R2_FB25_Msk /*!<Filter bit 25 */
4283#define CAN_F0R2_FB26_Pos (26U)
4284#define CAN_F0R2_FB26_Msk (0x1U << CAN_F0R2_FB26_Pos) /*!< 0x04000000 */
4285#define CAN_F0R2_FB26 CAN_F0R2_FB26_Msk /*!<Filter bit 26 */
4286#define CAN_F0R2_FB27_Pos (27U)
4287#define CAN_F0R2_FB27_Msk (0x1U << CAN_F0R2_FB27_Pos) /*!< 0x08000000 */
4288#define CAN_F0R2_FB27 CAN_F0R2_FB27_Msk /*!<Filter bit 27 */
4289#define CAN_F0R2_FB28_Pos (28U)
4290#define CAN_F0R2_FB28_Msk (0x1U << CAN_F0R2_FB28_Pos) /*!< 0x10000000 */
4291#define CAN_F0R2_FB28 CAN_F0R2_FB28_Msk /*!<Filter bit 28 */
4292#define CAN_F0R2_FB29_Pos (29U)
4293#define CAN_F0R2_FB29_Msk (0x1U << CAN_F0R2_FB29_Pos) /*!< 0x20000000 */
4294#define CAN_F0R2_FB29 CAN_F0R2_FB29_Msk /*!<Filter bit 29 */
4295#define CAN_F0R2_FB30_Pos (30U)
4296#define CAN_F0R2_FB30_Msk (0x1U << CAN_F0R2_FB30_Pos) /*!< 0x40000000 */
4297#define CAN_F0R2_FB30 CAN_F0R2_FB30_Msk /*!<Filter bit 30 */
4298#define CAN_F0R2_FB31_Pos (31U)
4299#define CAN_F0R2_FB31_Msk (0x1U << CAN_F0R2_FB31_Pos) /*!< 0x80000000 */
4300#define CAN_F0R2_FB31 CAN_F0R2_FB31_Msk /*!<Filter bit 31 */
4301
4302/******************* Bit definition for CAN_F1R2 register *******************/
4303#define CAN_F1R2_FB0_Pos (0U)
4304#define CAN_F1R2_FB0_Msk (0x1U << CAN_F1R2_FB0_Pos) /*!< 0x00000001 */
4305#define CAN_F1R2_FB0 CAN_F1R2_FB0_Msk /*!<Filter bit 0 */
4306#define CAN_F1R2_FB1_Pos (1U)
4307#define CAN_F1R2_FB1_Msk (0x1U << CAN_F1R2_FB1_Pos) /*!< 0x00000002 */
4308#define CAN_F1R2_FB1 CAN_F1R2_FB1_Msk /*!<Filter bit 1 */
4309#define CAN_F1R2_FB2_Pos (2U)
4310#define CAN_F1R2_FB2_Msk (0x1U << CAN_F1R2_FB2_Pos) /*!< 0x00000004 */
4311#define CAN_F1R2_FB2 CAN_F1R2_FB2_Msk /*!<Filter bit 2 */
4312#define CAN_F1R2_FB3_Pos (3U)
4313#define CAN_F1R2_FB3_Msk (0x1U << CAN_F1R2_FB3_Pos) /*!< 0x00000008 */
4314#define CAN_F1R2_FB3 CAN_F1R2_FB3_Msk /*!<Filter bit 3 */
4315#define CAN_F1R2_FB4_Pos (4U)
4316#define CAN_F1R2_FB4_Msk (0x1U << CAN_F1R2_FB4_Pos) /*!< 0x00000010 */
4317#define CAN_F1R2_FB4 CAN_F1R2_FB4_Msk /*!<Filter bit 4 */
4318#define CAN_F1R2_FB5_Pos (5U)
4319#define CAN_F1R2_FB5_Msk (0x1U << CAN_F1R2_FB5_Pos) /*!< 0x00000020 */
4320#define CAN_F1R2_FB5 CAN_F1R2_FB5_Msk /*!<Filter bit 5 */
4321#define CAN_F1R2_FB6_Pos (6U)
4322#define CAN_F1R2_FB6_Msk (0x1U << CAN_F1R2_FB6_Pos) /*!< 0x00000040 */
4323#define CAN_F1R2_FB6 CAN_F1R2_FB6_Msk /*!<Filter bit 6 */
4324#define CAN_F1R2_FB7_Pos (7U)
4325#define CAN_F1R2_FB7_Msk (0x1U << CAN_F1R2_FB7_Pos) /*!< 0x00000080 */
4326#define CAN_F1R2_FB7 CAN_F1R2_FB7_Msk /*!<Filter bit 7 */
4327#define CAN_F1R2_FB8_Pos (8U)
4328#define CAN_F1R2_FB8_Msk (0x1U << CAN_F1R2_FB8_Pos) /*!< 0x00000100 */
4329#define CAN_F1R2_FB8 CAN_F1R2_FB8_Msk /*!<Filter bit 8 */
4330#define CAN_F1R2_FB9_Pos (9U)
4331#define CAN_F1R2_FB9_Msk (0x1U << CAN_F1R2_FB9_Pos) /*!< 0x00000200 */
4332#define CAN_F1R2_FB9 CAN_F1R2_FB9_Msk /*!<Filter bit 9 */
4333#define CAN_F1R2_FB10_Pos (10U)
4334#define CAN_F1R2_FB10_Msk (0x1U << CAN_F1R2_FB10_Pos) /*!< 0x00000400 */
4335#define CAN_F1R2_FB10 CAN_F1R2_FB10_Msk /*!<Filter bit 10 */
4336#define CAN_F1R2_FB11_Pos (11U)
4337#define CAN_F1R2_FB11_Msk (0x1U << CAN_F1R2_FB11_Pos) /*!< 0x00000800 */
4338#define CAN_F1R2_FB11 CAN_F1R2_FB11_Msk /*!<Filter bit 11 */
4339#define CAN_F1R2_FB12_Pos (12U)
4340#define CAN_F1R2_FB12_Msk (0x1U << CAN_F1R2_FB12_Pos) /*!< 0x00001000 */
4341#define CAN_F1R2_FB12 CAN_F1R2_FB12_Msk /*!<Filter bit 12 */
4342#define CAN_F1R2_FB13_Pos (13U)
4343#define CAN_F1R2_FB13_Msk (0x1U << CAN_F1R2_FB13_Pos) /*!< 0x00002000 */
4344#define CAN_F1R2_FB13 CAN_F1R2_FB13_Msk /*!<Filter bit 13 */
4345#define CAN_F1R2_FB14_Pos (14U)
4346#define CAN_F1R2_FB14_Msk (0x1U << CAN_F1R2_FB14_Pos) /*!< 0x00004000 */
4347#define CAN_F1R2_FB14 CAN_F1R2_FB14_Msk /*!<Filter bit 14 */
4348#define CAN_F1R2_FB15_Pos (15U)
4349#define CAN_F1R2_FB15_Msk (0x1U << CAN_F1R2_FB15_Pos) /*!< 0x00008000 */
4350#define CAN_F1R2_FB15 CAN_F1R2_FB15_Msk /*!<Filter bit 15 */
4351#define CAN_F1R2_FB16_Pos (16U)
4352#define CAN_F1R2_FB16_Msk (0x1U << CAN_F1R2_FB16_Pos) /*!< 0x00010000 */
4353#define CAN_F1R2_FB16 CAN_F1R2_FB16_Msk /*!<Filter bit 16 */
4354#define CAN_F1R2_FB17_Pos (17U)
4355#define CAN_F1R2_FB17_Msk (0x1U << CAN_F1R2_FB17_Pos) /*!< 0x00020000 */
4356#define CAN_F1R2_FB17 CAN_F1R2_FB17_Msk /*!<Filter bit 17 */
4357#define CAN_F1R2_FB18_Pos (18U)
4358#define CAN_F1R2_FB18_Msk (0x1U << CAN_F1R2_FB18_Pos) /*!< 0x00040000 */
4359#define CAN_F1R2_FB18 CAN_F1R2_FB18_Msk /*!<Filter bit 18 */
4360#define CAN_F1R2_FB19_Pos (19U)
4361#define CAN_F1R2_FB19_Msk (0x1U << CAN_F1R2_FB19_Pos) /*!< 0x00080000 */
4362#define CAN_F1R2_FB19 CAN_F1R2_FB19_Msk /*!<Filter bit 19 */
4363#define CAN_F1R2_FB20_Pos (20U)
4364#define CAN_F1R2_FB20_Msk (0x1U << CAN_F1R2_FB20_Pos) /*!< 0x00100000 */
4365#define CAN_F1R2_FB20 CAN_F1R2_FB20_Msk /*!<Filter bit 20 */
4366#define CAN_F1R2_FB21_Pos (21U)
4367#define CAN_F1R2_FB21_Msk (0x1U << CAN_F1R2_FB21_Pos) /*!< 0x00200000 */
4368#define CAN_F1R2_FB21 CAN_F1R2_FB21_Msk /*!<Filter bit 21 */
4369#define CAN_F1R2_FB22_Pos (22U)
4370#define CAN_F1R2_FB22_Msk (0x1U << CAN_F1R2_FB22_Pos) /*!< 0x00400000 */
4371#define CAN_F1R2_FB22 CAN_F1R2_FB22_Msk /*!<Filter bit 22 */
4372#define CAN_F1R2_FB23_Pos (23U)
4373#define CAN_F1R2_FB23_Msk (0x1U << CAN_F1R2_FB23_Pos) /*!< 0x00800000 */
4374#define CAN_F1R2_FB23 CAN_F1R2_FB23_Msk /*!<Filter bit 23 */
4375#define CAN_F1R2_FB24_Pos (24U)
4376#define CAN_F1R2_FB24_Msk (0x1U << CAN_F1R2_FB24_Pos) /*!< 0x01000000 */
4377#define CAN_F1R2_FB24 CAN_F1R2_FB24_Msk /*!<Filter bit 24 */
4378#define CAN_F1R2_FB25_Pos (25U)
4379#define CAN_F1R2_FB25_Msk (0x1U << CAN_F1R2_FB25_Pos) /*!< 0x02000000 */
4380#define CAN_F1R2_FB25 CAN_F1R2_FB25_Msk /*!<Filter bit 25 */
4381#define CAN_F1R2_FB26_Pos (26U)
4382#define CAN_F1R2_FB26_Msk (0x1U << CAN_F1R2_FB26_Pos) /*!< 0x04000000 */
4383#define CAN_F1R2_FB26 CAN_F1R2_FB26_Msk /*!<Filter bit 26 */
4384#define CAN_F1R2_FB27_Pos (27U)
4385#define CAN_F1R2_FB27_Msk (0x1U << CAN_F1R2_FB27_Pos) /*!< 0x08000000 */
4386#define CAN_F1R2_FB27 CAN_F1R2_FB27_Msk /*!<Filter bit 27 */
4387#define CAN_F1R2_FB28_Pos (28U)
4388#define CAN_F1R2_FB28_Msk (0x1U << CAN_F1R2_FB28_Pos) /*!< 0x10000000 */
4389#define CAN_F1R2_FB28 CAN_F1R2_FB28_Msk /*!<Filter bit 28 */
4390#define CAN_F1R2_FB29_Pos (29U)
4391#define CAN_F1R2_FB29_Msk (0x1U << CAN_F1R2_FB29_Pos) /*!< 0x20000000 */
4392#define CAN_F1R2_FB29 CAN_F1R2_FB29_Msk /*!<Filter bit 29 */
4393#define CAN_F1R2_FB30_Pos (30U)
4394#define CAN_F1R2_FB30_Msk (0x1U << CAN_F1R2_FB30_Pos) /*!< 0x40000000 */
4395#define CAN_F1R2_FB30 CAN_F1R2_FB30_Msk /*!<Filter bit 30 */
4396#define CAN_F1R2_FB31_Pos (31U)
4397#define CAN_F1R2_FB31_Msk (0x1U << CAN_F1R2_FB31_Pos) /*!< 0x80000000 */
4398#define CAN_F1R2_FB31 CAN_F1R2_FB31_Msk /*!<Filter bit 31 */
4399
4400/******************* Bit definition for CAN_F2R2 register *******************/
4401#define CAN_F2R2_FB0_Pos (0U)
4402#define CAN_F2R2_FB0_Msk (0x1U << CAN_F2R2_FB0_Pos) /*!< 0x00000001 */
4403#define CAN_F2R2_FB0 CAN_F2R2_FB0_Msk /*!<Filter bit 0 */
4404#define CAN_F2R2_FB1_Pos (1U)
4405#define CAN_F2R2_FB1_Msk (0x1U << CAN_F2R2_FB1_Pos) /*!< 0x00000002 */
4406#define CAN_F2R2_FB1 CAN_F2R2_FB1_Msk /*!<Filter bit 1 */
4407#define CAN_F2R2_FB2_Pos (2U)
4408#define CAN_F2R2_FB2_Msk (0x1U << CAN_F2R2_FB2_Pos) /*!< 0x00000004 */
4409#define CAN_F2R2_FB2 CAN_F2R2_FB2_Msk /*!<Filter bit 2 */
4410#define CAN_F2R2_FB3_Pos (3U)
4411#define CAN_F2R2_FB3_Msk (0x1U << CAN_F2R2_FB3_Pos) /*!< 0x00000008 */
4412#define CAN_F2R2_FB3 CAN_F2R2_FB3_Msk /*!<Filter bit 3 */
4413#define CAN_F2R2_FB4_Pos (4U)
4414#define CAN_F2R2_FB4_Msk (0x1U << CAN_F2R2_FB4_Pos) /*!< 0x00000010 */
4415#define CAN_F2R2_FB4 CAN_F2R2_FB4_Msk /*!<Filter bit 4 */
4416#define CAN_F2R2_FB5_Pos (5U)
4417#define CAN_F2R2_FB5_Msk (0x1U << CAN_F2R2_FB5_Pos) /*!< 0x00000020 */
4418#define CAN_F2R2_FB5 CAN_F2R2_FB5_Msk /*!<Filter bit 5 */
4419#define CAN_F2R2_FB6_Pos (6U)
4420#define CAN_F2R2_FB6_Msk (0x1U << CAN_F2R2_FB6_Pos) /*!< 0x00000040 */
4421#define CAN_F2R2_FB6 CAN_F2R2_FB6_Msk /*!<Filter bit 6 */
4422#define CAN_F2R2_FB7_Pos (7U)
4423#define CAN_F2R2_FB7_Msk (0x1U << CAN_F2R2_FB7_Pos) /*!< 0x00000080 */
4424#define CAN_F2R2_FB7 CAN_F2R2_FB7_Msk /*!<Filter bit 7 */
4425#define CAN_F2R2_FB8_Pos (8U)
4426#define CAN_F2R2_FB8_Msk (0x1U << CAN_F2R2_FB8_Pos) /*!< 0x00000100 */
4427#define CAN_F2R2_FB8 CAN_F2R2_FB8_Msk /*!<Filter bit 8 */
4428#define CAN_F2R2_FB9_Pos (9U)
4429#define CAN_F2R2_FB9_Msk (0x1U << CAN_F2R2_FB9_Pos) /*!< 0x00000200 */
4430#define CAN_F2R2_FB9 CAN_F2R2_FB9_Msk /*!<Filter bit 9 */
4431#define CAN_F2R2_FB10_Pos (10U)
4432#define CAN_F2R2_FB10_Msk (0x1U << CAN_F2R2_FB10_Pos) /*!< 0x00000400 */
4433#define CAN_F2R2_FB10 CAN_F2R2_FB10_Msk /*!<Filter bit 10 */
4434#define CAN_F2R2_FB11_Pos (11U)
4435#define CAN_F2R2_FB11_Msk (0x1U << CAN_F2R2_FB11_Pos) /*!< 0x00000800 */
4436#define CAN_F2R2_FB11 CAN_F2R2_FB11_Msk /*!<Filter bit 11 */
4437#define CAN_F2R2_FB12_Pos (12U)
4438#define CAN_F2R2_FB12_Msk (0x1U << CAN_F2R2_FB12_Pos) /*!< 0x00001000 */
4439#define CAN_F2R2_FB12 CAN_F2R2_FB12_Msk /*!<Filter bit 12 */
4440#define CAN_F2R2_FB13_Pos (13U)
4441#define CAN_F2R2_FB13_Msk (0x1U << CAN_F2R2_FB13_Pos) /*!< 0x00002000 */
4442#define CAN_F2R2_FB13 CAN_F2R2_FB13_Msk /*!<Filter bit 13 */
4443#define CAN_F2R2_FB14_Pos (14U)
4444#define CAN_F2R2_FB14_Msk (0x1U << CAN_F2R2_FB14_Pos) /*!< 0x00004000 */
4445#define CAN_F2R2_FB14 CAN_F2R2_FB14_Msk /*!<Filter bit 14 */
4446#define CAN_F2R2_FB15_Pos (15U)
4447#define CAN_F2R2_FB15_Msk (0x1U << CAN_F2R2_FB15_Pos) /*!< 0x00008000 */
4448#define CAN_F2R2_FB15 CAN_F2R2_FB15_Msk /*!<Filter bit 15 */
4449#define CAN_F2R2_FB16_Pos (16U)
4450#define CAN_F2R2_FB16_Msk (0x1U << CAN_F2R2_FB16_Pos) /*!< 0x00010000 */
4451#define CAN_F2R2_FB16 CAN_F2R2_FB16_Msk /*!<Filter bit 16 */
4452#define CAN_F2R2_FB17_Pos (17U)
4453#define CAN_F2R2_FB17_Msk (0x1U << CAN_F2R2_FB17_Pos) /*!< 0x00020000 */
4454#define CAN_F2R2_FB17 CAN_F2R2_FB17_Msk /*!<Filter bit 17 */
4455#define CAN_F2R2_FB18_Pos (18U)
4456#define CAN_F2R2_FB18_Msk (0x1U << CAN_F2R2_FB18_Pos) /*!< 0x00040000 */
4457#define CAN_F2R2_FB18 CAN_F2R2_FB18_Msk /*!<Filter bit 18 */
4458#define CAN_F2R2_FB19_Pos (19U)
4459#define CAN_F2R2_FB19_Msk (0x1U << CAN_F2R2_FB19_Pos) /*!< 0x00080000 */
4460#define CAN_F2R2_FB19 CAN_F2R2_FB19_Msk /*!<Filter bit 19 */
4461#define CAN_F2R2_FB20_Pos (20U)
4462#define CAN_F2R2_FB20_Msk (0x1U << CAN_F2R2_FB20_Pos) /*!< 0x00100000 */
4463#define CAN_F2R2_FB20 CAN_F2R2_FB20_Msk /*!<Filter bit 20 */
4464#define CAN_F2R2_FB21_Pos (21U)
4465#define CAN_F2R2_FB21_Msk (0x1U << CAN_F2R2_FB21_Pos) /*!< 0x00200000 */
4466#define CAN_F2R2_FB21 CAN_F2R2_FB21_Msk /*!<Filter bit 21 */
4467#define CAN_F2R2_FB22_Pos (22U)
4468#define CAN_F2R2_FB22_Msk (0x1U << CAN_F2R2_FB22_Pos) /*!< 0x00400000 */
4469#define CAN_F2R2_FB22 CAN_F2R2_FB22_Msk /*!<Filter bit 22 */
4470#define CAN_F2R2_FB23_Pos (23U)
4471#define CAN_F2R2_FB23_Msk (0x1U << CAN_F2R2_FB23_Pos) /*!< 0x00800000 */
4472#define CAN_F2R2_FB23 CAN_F2R2_FB23_Msk /*!<Filter bit 23 */
4473#define CAN_F2R2_FB24_Pos (24U)
4474#define CAN_F2R2_FB24_Msk (0x1U << CAN_F2R2_FB24_Pos) /*!< 0x01000000 */
4475#define CAN_F2R2_FB24 CAN_F2R2_FB24_Msk /*!<Filter bit 24 */
4476#define CAN_F2R2_FB25_Pos (25U)
4477#define CAN_F2R2_FB25_Msk (0x1U << CAN_F2R2_FB25_Pos) /*!< 0x02000000 */
4478#define CAN_F2R2_FB25 CAN_F2R2_FB25_Msk /*!<Filter bit 25 */
4479#define CAN_F2R2_FB26_Pos (26U)
4480#define CAN_F2R2_FB26_Msk (0x1U << CAN_F2R2_FB26_Pos) /*!< 0x04000000 */
4481#define CAN_F2R2_FB26 CAN_F2R2_FB26_Msk /*!<Filter bit 26 */
4482#define CAN_F2R2_FB27_Pos (27U)
4483#define CAN_F2R2_FB27_Msk (0x1U << CAN_F2R2_FB27_Pos) /*!< 0x08000000 */
4484#define CAN_F2R2_FB27 CAN_F2R2_FB27_Msk /*!<Filter bit 27 */
4485#define CAN_F2R2_FB28_Pos (28U)
4486#define CAN_F2R2_FB28_Msk (0x1U << CAN_F2R2_FB28_Pos) /*!< 0x10000000 */
4487#define CAN_F2R2_FB28 CAN_F2R2_FB28_Msk /*!<Filter bit 28 */
4488#define CAN_F2R2_FB29_Pos (29U)
4489#define CAN_F2R2_FB29_Msk (0x1U << CAN_F2R2_FB29_Pos) /*!< 0x20000000 */
4490#define CAN_F2R2_FB29 CAN_F2R2_FB29_Msk /*!<Filter bit 29 */
4491#define CAN_F2R2_FB30_Pos (30U)
4492#define CAN_F2R2_FB30_Msk (0x1U << CAN_F2R2_FB30_Pos) /*!< 0x40000000 */
4493#define CAN_F2R2_FB30 CAN_F2R2_FB30_Msk /*!<Filter bit 30 */
4494#define CAN_F2R2_FB31_Pos (31U)
4495#define CAN_F2R2_FB31_Msk (0x1U << CAN_F2R2_FB31_Pos) /*!< 0x80000000 */
4496#define CAN_F2R2_FB31 CAN_F2R2_FB31_Msk /*!<Filter bit 31 */
4497
4498/******************* Bit definition for CAN_F3R2 register *******************/
4499#define CAN_F3R2_FB0_Pos (0U)
4500#define CAN_F3R2_FB0_Msk (0x1U << CAN_F3R2_FB0_Pos) /*!< 0x00000001 */
4501#define CAN_F3R2_FB0 CAN_F3R2_FB0_Msk /*!<Filter bit 0 */
4502#define CAN_F3R2_FB1_Pos (1U)
4503#define CAN_F3R2_FB1_Msk (0x1U << CAN_F3R2_FB1_Pos) /*!< 0x00000002 */
4504#define CAN_F3R2_FB1 CAN_F3R2_FB1_Msk /*!<Filter bit 1 */
4505#define CAN_F3R2_FB2_Pos (2U)
4506#define CAN_F3R2_FB2_Msk (0x1U << CAN_F3R2_FB2_Pos) /*!< 0x00000004 */
4507#define CAN_F3R2_FB2 CAN_F3R2_FB2_Msk /*!<Filter bit 2 */
4508#define CAN_F3R2_FB3_Pos (3U)
4509#define CAN_F3R2_FB3_Msk (0x1U << CAN_F3R2_FB3_Pos) /*!< 0x00000008 */
4510#define CAN_F3R2_FB3 CAN_F3R2_FB3_Msk /*!<Filter bit 3 */
4511#define CAN_F3R2_FB4_Pos (4U)
4512#define CAN_F3R2_FB4_Msk (0x1U << CAN_F3R2_FB4_Pos) /*!< 0x00000010 */
4513#define CAN_F3R2_FB4 CAN_F3R2_FB4_Msk /*!<Filter bit 4 */
4514#define CAN_F3R2_FB5_Pos (5U)
4515#define CAN_F3R2_FB5_Msk (0x1U << CAN_F3R2_FB5_Pos) /*!< 0x00000020 */
4516#define CAN_F3R2_FB5 CAN_F3R2_FB5_Msk /*!<Filter bit 5 */
4517#define CAN_F3R2_FB6_Pos (6U)
4518#define CAN_F3R2_FB6_Msk (0x1U << CAN_F3R2_FB6_Pos) /*!< 0x00000040 */
4519#define CAN_F3R2_FB6 CAN_F3R2_FB6_Msk /*!<Filter bit 6 */
4520#define CAN_F3R2_FB7_Pos (7U)
4521#define CAN_F3R2_FB7_Msk (0x1U << CAN_F3R2_FB7_Pos) /*!< 0x00000080 */
4522#define CAN_F3R2_FB7 CAN_F3R2_FB7_Msk /*!<Filter bit 7 */
4523#define CAN_F3R2_FB8_Pos (8U)
4524#define CAN_F3R2_FB8_Msk (0x1U << CAN_F3R2_FB8_Pos) /*!< 0x00000100 */
4525#define CAN_F3R2_FB8 CAN_F3R2_FB8_Msk /*!<Filter bit 8 */
4526#define CAN_F3R2_FB9_Pos (9U)
4527#define CAN_F3R2_FB9_Msk (0x1U << CAN_F3R2_FB9_Pos) /*!< 0x00000200 */
4528#define CAN_F3R2_FB9 CAN_F3R2_FB9_Msk /*!<Filter bit 9 */
4529#define CAN_F3R2_FB10_Pos (10U)
4530#define CAN_F3R2_FB10_Msk (0x1U << CAN_F3R2_FB10_Pos) /*!< 0x00000400 */
4531#define CAN_F3R2_FB10 CAN_F3R2_FB10_Msk /*!<Filter bit 10 */
4532#define CAN_F3R2_FB11_Pos (11U)
4533#define CAN_F3R2_FB11_Msk (0x1U << CAN_F3R2_FB11_Pos) /*!< 0x00000800 */
4534#define CAN_F3R2_FB11 CAN_F3R2_FB11_Msk /*!<Filter bit 11 */
4535#define CAN_F3R2_FB12_Pos (12U)
4536#define CAN_F3R2_FB12_Msk (0x1U << CAN_F3R2_FB12_Pos) /*!< 0x00001000 */
4537#define CAN_F3R2_FB12 CAN_F3R2_FB12_Msk /*!<Filter bit 12 */
4538#define CAN_F3R2_FB13_Pos (13U)
4539#define CAN_F3R2_FB13_Msk (0x1U << CAN_F3R2_FB13_Pos) /*!< 0x00002000 */
4540#define CAN_F3R2_FB13 CAN_F3R2_FB13_Msk /*!<Filter bit 13 */
4541#define CAN_F3R2_FB14_Pos (14U)
4542#define CAN_F3R2_FB14_Msk (0x1U << CAN_F3R2_FB14_Pos) /*!< 0x00004000 */
4543#define CAN_F3R2_FB14 CAN_F3R2_FB14_Msk /*!<Filter bit 14 */
4544#define CAN_F3R2_FB15_Pos (15U)
4545#define CAN_F3R2_FB15_Msk (0x1U << CAN_F3R2_FB15_Pos) /*!< 0x00008000 */
4546#define CAN_F3R2_FB15 CAN_F3R2_FB15_Msk /*!<Filter bit 15 */
4547#define CAN_F3R2_FB16_Pos (16U)
4548#define CAN_F3R2_FB16_Msk (0x1U << CAN_F3R2_FB16_Pos) /*!< 0x00010000 */
4549#define CAN_F3R2_FB16 CAN_F3R2_FB16_Msk /*!<Filter bit 16 */
4550#define CAN_F3R2_FB17_Pos (17U)
4551#define CAN_F3R2_FB17_Msk (0x1U << CAN_F3R2_FB17_Pos) /*!< 0x00020000 */
4552#define CAN_F3R2_FB17 CAN_F3R2_FB17_Msk /*!<Filter bit 17 */
4553#define CAN_F3R2_FB18_Pos (18U)
4554#define CAN_F3R2_FB18_Msk (0x1U << CAN_F3R2_FB18_Pos) /*!< 0x00040000 */
4555#define CAN_F3R2_FB18 CAN_F3R2_FB18_Msk /*!<Filter bit 18 */
4556#define CAN_F3R2_FB19_Pos (19U)
4557#define CAN_F3R2_FB19_Msk (0x1U << CAN_F3R2_FB19_Pos) /*!< 0x00080000 */
4558#define CAN_F3R2_FB19 CAN_F3R2_FB19_Msk /*!<Filter bit 19 */
4559#define CAN_F3R2_FB20_Pos (20U)
4560#define CAN_F3R2_FB20_Msk (0x1U << CAN_F3R2_FB20_Pos) /*!< 0x00100000 */
4561#define CAN_F3R2_FB20 CAN_F3R2_FB20_Msk /*!<Filter bit 20 */
4562#define CAN_F3R2_FB21_Pos (21U)
4563#define CAN_F3R2_FB21_Msk (0x1U << CAN_F3R2_FB21_Pos) /*!< 0x00200000 */
4564#define CAN_F3R2_FB21 CAN_F3R2_FB21_Msk /*!<Filter bit 21 */
4565#define CAN_F3R2_FB22_Pos (22U)
4566#define CAN_F3R2_FB22_Msk (0x1U << CAN_F3R2_FB22_Pos) /*!< 0x00400000 */
4567#define CAN_F3R2_FB22 CAN_F3R2_FB22_Msk /*!<Filter bit 22 */
4568#define CAN_F3R2_FB23_Pos (23U)
4569#define CAN_F3R2_FB23_Msk (0x1U << CAN_F3R2_FB23_Pos) /*!< 0x00800000 */
4570#define CAN_F3R2_FB23 CAN_F3R2_FB23_Msk /*!<Filter bit 23 */
4571#define CAN_F3R2_FB24_Pos (24U)
4572#define CAN_F3R2_FB24_Msk (0x1U << CAN_F3R2_FB24_Pos) /*!< 0x01000000 */
4573#define CAN_F3R2_FB24 CAN_F3R2_FB24_Msk /*!<Filter bit 24 */
4574#define CAN_F3R2_FB25_Pos (25U)
4575#define CAN_F3R2_FB25_Msk (0x1U << CAN_F3R2_FB25_Pos) /*!< 0x02000000 */
4576#define CAN_F3R2_FB25 CAN_F3R2_FB25_Msk /*!<Filter bit 25 */
4577#define CAN_F3R2_FB26_Pos (26U)
4578#define CAN_F3R2_FB26_Msk (0x1U << CAN_F3R2_FB26_Pos) /*!< 0x04000000 */
4579#define CAN_F3R2_FB26 CAN_F3R2_FB26_Msk /*!<Filter bit 26 */
4580#define CAN_F3R2_FB27_Pos (27U)
4581#define CAN_F3R2_FB27_Msk (0x1U << CAN_F3R2_FB27_Pos) /*!< 0x08000000 */
4582#define CAN_F3R2_FB27 CAN_F3R2_FB27_Msk /*!<Filter bit 27 */
4583#define CAN_F3R2_FB28_Pos (28U)
4584#define CAN_F3R2_FB28_Msk (0x1U << CAN_F3R2_FB28_Pos) /*!< 0x10000000 */
4585#define CAN_F3R2_FB28 CAN_F3R2_FB28_Msk /*!<Filter bit 28 */
4586#define CAN_F3R2_FB29_Pos (29U)
4587#define CAN_F3R2_FB29_Msk (0x1U << CAN_F3R2_FB29_Pos) /*!< 0x20000000 */
4588#define CAN_F3R2_FB29 CAN_F3R2_FB29_Msk /*!<Filter bit 29 */
4589#define CAN_F3R2_FB30_Pos (30U)
4590#define CAN_F3R2_FB30_Msk (0x1U << CAN_F3R2_FB30_Pos) /*!< 0x40000000 */
4591#define CAN_F3R2_FB30 CAN_F3R2_FB30_Msk /*!<Filter bit 30 */
4592#define CAN_F3R2_FB31_Pos (31U)
4593#define CAN_F3R2_FB31_Msk (0x1U << CAN_F3R2_FB31_Pos) /*!< 0x80000000 */
4594#define CAN_F3R2_FB31 CAN_F3R2_FB31_Msk /*!<Filter bit 31 */
4595
4596/******************* Bit definition for CAN_F4R2 register *******************/
4597#define CAN_F4R2_FB0_Pos (0U)
4598#define CAN_F4R2_FB0_Msk (0x1U << CAN_F4R2_FB0_Pos) /*!< 0x00000001 */
4599#define CAN_F4R2_FB0 CAN_F4R2_FB0_Msk /*!<Filter bit 0 */
4600#define CAN_F4R2_FB1_Pos (1U)
4601#define CAN_F4R2_FB1_Msk (0x1U << CAN_F4R2_FB1_Pos) /*!< 0x00000002 */
4602#define CAN_F4R2_FB1 CAN_F4R2_FB1_Msk /*!<Filter bit 1 */
4603#define CAN_F4R2_FB2_Pos (2U)
4604#define CAN_F4R2_FB2_Msk (0x1U << CAN_F4R2_FB2_Pos) /*!< 0x00000004 */
4605#define CAN_F4R2_FB2 CAN_F4R2_FB2_Msk /*!<Filter bit 2 */
4606#define CAN_F4R2_FB3_Pos (3U)
4607#define CAN_F4R2_FB3_Msk (0x1U << CAN_F4R2_FB3_Pos) /*!< 0x00000008 */
4608#define CAN_F4R2_FB3 CAN_F4R2_FB3_Msk /*!<Filter bit 3 */
4609#define CAN_F4R2_FB4_Pos (4U)
4610#define CAN_F4R2_FB4_Msk (0x1U << CAN_F4R2_FB4_Pos) /*!< 0x00000010 */
4611#define CAN_F4R2_FB4 CAN_F4R2_FB4_Msk /*!<Filter bit 4 */
4612#define CAN_F4R2_FB5_Pos (5U)
4613#define CAN_F4R2_FB5_Msk (0x1U << CAN_F4R2_FB5_Pos) /*!< 0x00000020 */
4614#define CAN_F4R2_FB5 CAN_F4R2_FB5_Msk /*!<Filter bit 5 */
4615#define CAN_F4R2_FB6_Pos (6U)
4616#define CAN_F4R2_FB6_Msk (0x1U << CAN_F4R2_FB6_Pos) /*!< 0x00000040 */
4617#define CAN_F4R2_FB6 CAN_F4R2_FB6_Msk /*!<Filter bit 6 */
4618#define CAN_F4R2_FB7_Pos (7U)
4619#define CAN_F4R2_FB7_Msk (0x1U << CAN_F4R2_FB7_Pos) /*!< 0x00000080 */
4620#define CAN_F4R2_FB7 CAN_F4R2_FB7_Msk /*!<Filter bit 7 */
4621#define CAN_F4R2_FB8_Pos (8U)
4622#define CAN_F4R2_FB8_Msk (0x1U << CAN_F4R2_FB8_Pos) /*!< 0x00000100 */
4623#define CAN_F4R2_FB8 CAN_F4R2_FB8_Msk /*!<Filter bit 8 */
4624#define CAN_F4R2_FB9_Pos (9U)
4625#define CAN_F4R2_FB9_Msk (0x1U << CAN_F4R2_FB9_Pos) /*!< 0x00000200 */
4626#define CAN_F4R2_FB9 CAN_F4R2_FB9_Msk /*!<Filter bit 9 */
4627#define CAN_F4R2_FB10_Pos (10U)
4628#define CAN_F4R2_FB10_Msk (0x1U << CAN_F4R2_FB10_Pos) /*!< 0x00000400 */
4629#define CAN_F4R2_FB10 CAN_F4R2_FB10_Msk /*!<Filter bit 10 */
4630#define CAN_F4R2_FB11_Pos (11U)
4631#define CAN_F4R2_FB11_Msk (0x1U << CAN_F4R2_FB11_Pos) /*!< 0x00000800 */
4632#define CAN_F4R2_FB11 CAN_F4R2_FB11_Msk /*!<Filter bit 11 */
4633#define CAN_F4R2_FB12_Pos (12U)
4634#define CAN_F4R2_FB12_Msk (0x1U << CAN_F4R2_FB12_Pos) /*!< 0x00001000 */
4635#define CAN_F4R2_FB12 CAN_F4R2_FB12_Msk /*!<Filter bit 12 */
4636#define CAN_F4R2_FB13_Pos (13U)
4637#define CAN_F4R2_FB13_Msk (0x1U << CAN_F4R2_FB13_Pos) /*!< 0x00002000 */
4638#define CAN_F4R2_FB13 CAN_F4R2_FB13_Msk /*!<Filter bit 13 */
4639#define CAN_F4R2_FB14_Pos (14U)
4640#define CAN_F4R2_FB14_Msk (0x1U << CAN_F4R2_FB14_Pos) /*!< 0x00004000 */
4641#define CAN_F4R2_FB14 CAN_F4R2_FB14_Msk /*!<Filter bit 14 */
4642#define CAN_F4R2_FB15_Pos (15U)
4643#define CAN_F4R2_FB15_Msk (0x1U << CAN_F4R2_FB15_Pos) /*!< 0x00008000 */
4644#define CAN_F4R2_FB15 CAN_F4R2_FB15_Msk /*!<Filter bit 15 */
4645#define CAN_F4R2_FB16_Pos (16U)
4646#define CAN_F4R2_FB16_Msk (0x1U << CAN_F4R2_FB16_Pos) /*!< 0x00010000 */
4647#define CAN_F4R2_FB16 CAN_F4R2_FB16_Msk /*!<Filter bit 16 */
4648#define CAN_F4R2_FB17_Pos (17U)
4649#define CAN_F4R2_FB17_Msk (0x1U << CAN_F4R2_FB17_Pos) /*!< 0x00020000 */
4650#define CAN_F4R2_FB17 CAN_F4R2_FB17_Msk /*!<Filter bit 17 */
4651#define CAN_F4R2_FB18_Pos (18U)
4652#define CAN_F4R2_FB18_Msk (0x1U << CAN_F4R2_FB18_Pos) /*!< 0x00040000 */
4653#define CAN_F4R2_FB18 CAN_F4R2_FB18_Msk /*!<Filter bit 18 */
4654#define CAN_F4R2_FB19_Pos (19U)
4655#define CAN_F4R2_FB19_Msk (0x1U << CAN_F4R2_FB19_Pos) /*!< 0x00080000 */
4656#define CAN_F4R2_FB19 CAN_F4R2_FB19_Msk /*!<Filter bit 19 */
4657#define CAN_F4R2_FB20_Pos (20U)
4658#define CAN_F4R2_FB20_Msk (0x1U << CAN_F4R2_FB20_Pos) /*!< 0x00100000 */
4659#define CAN_F4R2_FB20 CAN_F4R2_FB20_Msk /*!<Filter bit 20 */
4660#define CAN_F4R2_FB21_Pos (21U)
4661#define CAN_F4R2_FB21_Msk (0x1U << CAN_F4R2_FB21_Pos) /*!< 0x00200000 */
4662#define CAN_F4R2_FB21 CAN_F4R2_FB21_Msk /*!<Filter bit 21 */
4663#define CAN_F4R2_FB22_Pos (22U)
4664#define CAN_F4R2_FB22_Msk (0x1U << CAN_F4R2_FB22_Pos) /*!< 0x00400000 */
4665#define CAN_F4R2_FB22 CAN_F4R2_FB22_Msk /*!<Filter bit 22 */
4666#define CAN_F4R2_FB23_Pos (23U)
4667#define CAN_F4R2_FB23_Msk (0x1U << CAN_F4R2_FB23_Pos) /*!< 0x00800000 */
4668#define CAN_F4R2_FB23 CAN_F4R2_FB23_Msk /*!<Filter bit 23 */
4669#define CAN_F4R2_FB24_Pos (24U)
4670#define CAN_F4R2_FB24_Msk (0x1U << CAN_F4R2_FB24_Pos) /*!< 0x01000000 */
4671#define CAN_F4R2_FB24 CAN_F4R2_FB24_Msk /*!<Filter bit 24 */
4672#define CAN_F4R2_FB25_Pos (25U)
4673#define CAN_F4R2_FB25_Msk (0x1U << CAN_F4R2_FB25_Pos) /*!< 0x02000000 */
4674#define CAN_F4R2_FB25 CAN_F4R2_FB25_Msk /*!<Filter bit 25 */
4675#define CAN_F4R2_FB26_Pos (26U)
4676#define CAN_F4R2_FB26_Msk (0x1U << CAN_F4R2_FB26_Pos) /*!< 0x04000000 */
4677#define CAN_F4R2_FB26 CAN_F4R2_FB26_Msk /*!<Filter bit 26 */
4678#define CAN_F4R2_FB27_Pos (27U)
4679#define CAN_F4R2_FB27_Msk (0x1U << CAN_F4R2_FB27_Pos) /*!< 0x08000000 */
4680#define CAN_F4R2_FB27 CAN_F4R2_FB27_Msk /*!<Filter bit 27 */
4681#define CAN_F4R2_FB28_Pos (28U)
4682#define CAN_F4R2_FB28_Msk (0x1U << CAN_F4R2_FB28_Pos) /*!< 0x10000000 */
4683#define CAN_F4R2_FB28 CAN_F4R2_FB28_Msk /*!<Filter bit 28 */
4684#define CAN_F4R2_FB29_Pos (29U)
4685#define CAN_F4R2_FB29_Msk (0x1U << CAN_F4R2_FB29_Pos) /*!< 0x20000000 */
4686#define CAN_F4R2_FB29 CAN_F4R2_FB29_Msk /*!<Filter bit 29 */
4687#define CAN_F4R2_FB30_Pos (30U)
4688#define CAN_F4R2_FB30_Msk (0x1U << CAN_F4R2_FB30_Pos) /*!< 0x40000000 */
4689#define CAN_F4R2_FB30 CAN_F4R2_FB30_Msk /*!<Filter bit 30 */
4690#define CAN_F4R2_FB31_Pos (31U)
4691#define CAN_F4R2_FB31_Msk (0x1U << CAN_F4R2_FB31_Pos) /*!< 0x80000000 */
4692#define CAN_F4R2_FB31 CAN_F4R2_FB31_Msk /*!<Filter bit 31 */
4693
4694/******************* Bit definition for CAN_F5R2 register *******************/
4695#define CAN_F5R2_FB0_Pos (0U)
4696#define CAN_F5R2_FB0_Msk (0x1U << CAN_F5R2_FB0_Pos) /*!< 0x00000001 */
4697#define CAN_F5R2_FB0 CAN_F5R2_FB0_Msk /*!<Filter bit 0 */
4698#define CAN_F5R2_FB1_Pos (1U)
4699#define CAN_F5R2_FB1_Msk (0x1U << CAN_F5R2_FB1_Pos) /*!< 0x00000002 */
4700#define CAN_F5R2_FB1 CAN_F5R2_FB1_Msk /*!<Filter bit 1 */
4701#define CAN_F5R2_FB2_Pos (2U)
4702#define CAN_F5R2_FB2_Msk (0x1U << CAN_F5R2_FB2_Pos) /*!< 0x00000004 */
4703#define CAN_F5R2_FB2 CAN_F5R2_FB2_Msk /*!<Filter bit 2 */
4704#define CAN_F5R2_FB3_Pos (3U)
4705#define CAN_F5R2_FB3_Msk (0x1U << CAN_F5R2_FB3_Pos) /*!< 0x00000008 */
4706#define CAN_F5R2_FB3 CAN_F5R2_FB3_Msk /*!<Filter bit 3 */
4707#define CAN_F5R2_FB4_Pos (4U)
4708#define CAN_F5R2_FB4_Msk (0x1U << CAN_F5R2_FB4_Pos) /*!< 0x00000010 */
4709#define CAN_F5R2_FB4 CAN_F5R2_FB4_Msk /*!<Filter bit 4 */
4710#define CAN_F5R2_FB5_Pos (5U)
4711#define CAN_F5R2_FB5_Msk (0x1U << CAN_F5R2_FB5_Pos) /*!< 0x00000020 */
4712#define CAN_F5R2_FB5 CAN_F5R2_FB5_Msk /*!<Filter bit 5 */
4713#define CAN_F5R2_FB6_Pos (6U)
4714#define CAN_F5R2_FB6_Msk (0x1U << CAN_F5R2_FB6_Pos) /*!< 0x00000040 */
4715#define CAN_F5R2_FB6 CAN_F5R2_FB6_Msk /*!<Filter bit 6 */
4716#define CAN_F5R2_FB7_Pos (7U)
4717#define CAN_F5R2_FB7_Msk (0x1U << CAN_F5R2_FB7_Pos) /*!< 0x00000080 */
4718#define CAN_F5R2_FB7 CAN_F5R2_FB7_Msk /*!<Filter bit 7 */
4719#define CAN_F5R2_FB8_Pos (8U)
4720#define CAN_F5R2_FB8_Msk (0x1U << CAN_F5R2_FB8_Pos) /*!< 0x00000100 */
4721#define CAN_F5R2_FB8 CAN_F5R2_FB8_Msk /*!<Filter bit 8 */
4722#define CAN_F5R2_FB9_Pos (9U)
4723#define CAN_F5R2_FB9_Msk (0x1U << CAN_F5R2_FB9_Pos) /*!< 0x00000200 */
4724#define CAN_F5R2_FB9 CAN_F5R2_FB9_Msk /*!<Filter bit 9 */
4725#define CAN_F5R2_FB10_Pos (10U)
4726#define CAN_F5R2_FB10_Msk (0x1U << CAN_F5R2_FB10_Pos) /*!< 0x00000400 */
4727#define CAN_F5R2_FB10 CAN_F5R2_FB10_Msk /*!<Filter bit 10 */
4728#define CAN_F5R2_FB11_Pos (11U)
4729#define CAN_F5R2_FB11_Msk (0x1U << CAN_F5R2_FB11_Pos) /*!< 0x00000800 */
4730#define CAN_F5R2_FB11 CAN_F5R2_FB11_Msk /*!<Filter bit 11 */
4731#define CAN_F5R2_FB12_Pos (12U)
4732#define CAN_F5R2_FB12_Msk (0x1U << CAN_F5R2_FB12_Pos) /*!< 0x00001000 */
4733#define CAN_F5R2_FB12 CAN_F5R2_FB12_Msk /*!<Filter bit 12 */
4734#define CAN_F5R2_FB13_Pos (13U)
4735#define CAN_F5R2_FB13_Msk (0x1U << CAN_F5R2_FB13_Pos) /*!< 0x00002000 */
4736#define CAN_F5R2_FB13 CAN_F5R2_FB13_Msk /*!<Filter bit 13 */
4737#define CAN_F5R2_FB14_Pos (14U)
4738#define CAN_F5R2_FB14_Msk (0x1U << CAN_F5R2_FB14_Pos) /*!< 0x00004000 */
4739#define CAN_F5R2_FB14 CAN_F5R2_FB14_Msk /*!<Filter bit 14 */
4740#define CAN_F5R2_FB15_Pos (15U)
4741#define CAN_F5R2_FB15_Msk (0x1U << CAN_F5R2_FB15_Pos) /*!< 0x00008000 */
4742#define CAN_F5R2_FB15 CAN_F5R2_FB15_Msk /*!<Filter bit 15 */
4743#define CAN_F5R2_FB16_Pos (16U)
4744#define CAN_F5R2_FB16_Msk (0x1U << CAN_F5R2_FB16_Pos) /*!< 0x00010000 */
4745#define CAN_F5R2_FB16 CAN_F5R2_FB16_Msk /*!<Filter bit 16 */
4746#define CAN_F5R2_FB17_Pos (17U)
4747#define CAN_F5R2_FB17_Msk (0x1U << CAN_F5R2_FB17_Pos) /*!< 0x00020000 */
4748#define CAN_F5R2_FB17 CAN_F5R2_FB17_Msk /*!<Filter bit 17 */
4749#define CAN_F5R2_FB18_Pos (18U)
4750#define CAN_F5R2_FB18_Msk (0x1U << CAN_F5R2_FB18_Pos) /*!< 0x00040000 */
4751#define CAN_F5R2_FB18 CAN_F5R2_FB18_Msk /*!<Filter bit 18 */
4752#define CAN_F5R2_FB19_Pos (19U)
4753#define CAN_F5R2_FB19_Msk (0x1U << CAN_F5R2_FB19_Pos) /*!< 0x00080000 */
4754#define CAN_F5R2_FB19 CAN_F5R2_FB19_Msk /*!<Filter bit 19 */
4755#define CAN_F5R2_FB20_Pos (20U)
4756#define CAN_F5R2_FB20_Msk (0x1U << CAN_F5R2_FB20_Pos) /*!< 0x00100000 */
4757#define CAN_F5R2_FB20 CAN_F5R2_FB20_Msk /*!<Filter bit 20 */
4758#define CAN_F5R2_FB21_Pos (21U)
4759#define CAN_F5R2_FB21_Msk (0x1U << CAN_F5R2_FB21_Pos) /*!< 0x00200000 */
4760#define CAN_F5R2_FB21 CAN_F5R2_FB21_Msk /*!<Filter bit 21 */
4761#define CAN_F5R2_FB22_Pos (22U)
4762#define CAN_F5R2_FB22_Msk (0x1U << CAN_F5R2_FB22_Pos) /*!< 0x00400000 */
4763#define CAN_F5R2_FB22 CAN_F5R2_FB22_Msk /*!<Filter bit 22 */
4764#define CAN_F5R2_FB23_Pos (23U)
4765#define CAN_F5R2_FB23_Msk (0x1U << CAN_F5R2_FB23_Pos) /*!< 0x00800000 */
4766#define CAN_F5R2_FB23 CAN_F5R2_FB23_Msk /*!<Filter bit 23 */
4767#define CAN_F5R2_FB24_Pos (24U)
4768#define CAN_F5R2_FB24_Msk (0x1U << CAN_F5R2_FB24_Pos) /*!< 0x01000000 */
4769#define CAN_F5R2_FB24 CAN_F5R2_FB24_Msk /*!<Filter bit 24 */
4770#define CAN_F5R2_FB25_Pos (25U)
4771#define CAN_F5R2_FB25_Msk (0x1U << CAN_F5R2_FB25_Pos) /*!< 0x02000000 */
4772#define CAN_F5R2_FB25 CAN_F5R2_FB25_Msk /*!<Filter bit 25 */
4773#define CAN_F5R2_FB26_Pos (26U)
4774#define CAN_F5R2_FB26_Msk (0x1U << CAN_F5R2_FB26_Pos) /*!< 0x04000000 */
4775#define CAN_F5R2_FB26 CAN_F5R2_FB26_Msk /*!<Filter bit 26 */
4776#define CAN_F5R2_FB27_Pos (27U)
4777#define CAN_F5R2_FB27_Msk (0x1U << CAN_F5R2_FB27_Pos) /*!< 0x08000000 */
4778#define CAN_F5R2_FB27 CAN_F5R2_FB27_Msk /*!<Filter bit 27 */
4779#define CAN_F5R2_FB28_Pos (28U)
4780#define CAN_F5R2_FB28_Msk (0x1U << CAN_F5R2_FB28_Pos) /*!< 0x10000000 */
4781#define CAN_F5R2_FB28 CAN_F5R2_FB28_Msk /*!<Filter bit 28 */
4782#define CAN_F5R2_FB29_Pos (29U)
4783#define CAN_F5R2_FB29_Msk (0x1U << CAN_F5R2_FB29_Pos) /*!< 0x20000000 */
4784#define CAN_F5R2_FB29 CAN_F5R2_FB29_Msk /*!<Filter bit 29 */
4785#define CAN_F5R2_FB30_Pos (30U)
4786#define CAN_F5R2_FB30_Msk (0x1U << CAN_F5R2_FB30_Pos) /*!< 0x40000000 */
4787#define CAN_F5R2_FB30 CAN_F5R2_FB30_Msk /*!<Filter bit 30 */
4788#define CAN_F5R2_FB31_Pos (31U)
4789#define CAN_F5R2_FB31_Msk (0x1U << CAN_F5R2_FB31_Pos) /*!< 0x80000000 */
4790#define CAN_F5R2_FB31 CAN_F5R2_FB31_Msk /*!<Filter bit 31 */
4791
4792/******************* Bit definition for CAN_F6R2 register *******************/
4793#define CAN_F6R2_FB0_Pos (0U)
4794#define CAN_F6R2_FB0_Msk (0x1U << CAN_F6R2_FB0_Pos) /*!< 0x00000001 */
4795#define CAN_F6R2_FB0 CAN_F6R2_FB0_Msk /*!<Filter bit 0 */
4796#define CAN_F6R2_FB1_Pos (1U)
4797#define CAN_F6R2_FB1_Msk (0x1U << CAN_F6R2_FB1_Pos) /*!< 0x00000002 */
4798#define CAN_F6R2_FB1 CAN_F6R2_FB1_Msk /*!<Filter bit 1 */
4799#define CAN_F6R2_FB2_Pos (2U)
4800#define CAN_F6R2_FB2_Msk (0x1U << CAN_F6R2_FB2_Pos) /*!< 0x00000004 */
4801#define CAN_F6R2_FB2 CAN_F6R2_FB2_Msk /*!<Filter bit 2 */
4802#define CAN_F6R2_FB3_Pos (3U)
4803#define CAN_F6R2_FB3_Msk (0x1U << CAN_F6R2_FB3_Pos) /*!< 0x00000008 */
4804#define CAN_F6R2_FB3 CAN_F6R2_FB3_Msk /*!<Filter bit 3 */
4805#define CAN_F6R2_FB4_Pos (4U)
4806#define CAN_F6R2_FB4_Msk (0x1U << CAN_F6R2_FB4_Pos) /*!< 0x00000010 */
4807#define CAN_F6R2_FB4 CAN_F6R2_FB4_Msk /*!<Filter bit 4 */
4808#define CAN_F6R2_FB5_Pos (5U)
4809#define CAN_F6R2_FB5_Msk (0x1U << CAN_F6R2_FB5_Pos) /*!< 0x00000020 */
4810#define CAN_F6R2_FB5 CAN_F6R2_FB5_Msk /*!<Filter bit 5 */
4811#define CAN_F6R2_FB6_Pos (6U)
4812#define CAN_F6R2_FB6_Msk (0x1U << CAN_F6R2_FB6_Pos) /*!< 0x00000040 */
4813#define CAN_F6R2_FB6 CAN_F6R2_FB6_Msk /*!<Filter bit 6 */
4814#define CAN_F6R2_FB7_Pos (7U)
4815#define CAN_F6R2_FB7_Msk (0x1U << CAN_F6R2_FB7_Pos) /*!< 0x00000080 */
4816#define CAN_F6R2_FB7 CAN_F6R2_FB7_Msk /*!<Filter bit 7 */
4817#define CAN_F6R2_FB8_Pos (8U)
4818#define CAN_F6R2_FB8_Msk (0x1U << CAN_F6R2_FB8_Pos) /*!< 0x00000100 */
4819#define CAN_F6R2_FB8 CAN_F6R2_FB8_Msk /*!<Filter bit 8 */
4820#define CAN_F6R2_FB9_Pos (9U)
4821#define CAN_F6R2_FB9_Msk (0x1U << CAN_F6R2_FB9_Pos) /*!< 0x00000200 */
4822#define CAN_F6R2_FB9 CAN_F6R2_FB9_Msk /*!<Filter bit 9 */
4823#define CAN_F6R2_FB10_Pos (10U)
4824#define CAN_F6R2_FB10_Msk (0x1U << CAN_F6R2_FB10_Pos) /*!< 0x00000400 */
4825#define CAN_F6R2_FB10 CAN_F6R2_FB10_Msk /*!<Filter bit 10 */
4826#define CAN_F6R2_FB11_Pos (11U)
4827#define CAN_F6R2_FB11_Msk (0x1U << CAN_F6R2_FB11_Pos) /*!< 0x00000800 */
4828#define CAN_F6R2_FB11 CAN_F6R2_FB11_Msk /*!<Filter bit 11 */
4829#define CAN_F6R2_FB12_Pos (12U)
4830#define CAN_F6R2_FB12_Msk (0x1U << CAN_F6R2_FB12_Pos) /*!< 0x00001000 */
4831#define CAN_F6R2_FB12 CAN_F6R2_FB12_Msk /*!<Filter bit 12 */
4832#define CAN_F6R2_FB13_Pos (13U)
4833#define CAN_F6R2_FB13_Msk (0x1U << CAN_F6R2_FB13_Pos) /*!< 0x00002000 */
4834#define CAN_F6R2_FB13 CAN_F6R2_FB13_Msk /*!<Filter bit 13 */
4835#define CAN_F6R2_FB14_Pos (14U)
4836#define CAN_F6R2_FB14_Msk (0x1U << CAN_F6R2_FB14_Pos) /*!< 0x00004000 */
4837#define CAN_F6R2_FB14 CAN_F6R2_FB14_Msk /*!<Filter bit 14 */
4838#define CAN_F6R2_FB15_Pos (15U)
4839#define CAN_F6R2_FB15_Msk (0x1U << CAN_F6R2_FB15_Pos) /*!< 0x00008000 */
4840#define CAN_F6R2_FB15 CAN_F6R2_FB15_Msk /*!<Filter bit 15 */
4841#define CAN_F6R2_FB16_Pos (16U)
4842#define CAN_F6R2_FB16_Msk (0x1U << CAN_F6R2_FB16_Pos) /*!< 0x00010000 */
4843#define CAN_F6R2_FB16 CAN_F6R2_FB16_Msk /*!<Filter bit 16 */
4844#define CAN_F6R2_FB17_Pos (17U)
4845#define CAN_F6R2_FB17_Msk (0x1U << CAN_F6R2_FB17_Pos) /*!< 0x00020000 */
4846#define CAN_F6R2_FB17 CAN_F6R2_FB17_Msk /*!<Filter bit 17 */
4847#define CAN_F6R2_FB18_Pos (18U)
4848#define CAN_F6R2_FB18_Msk (0x1U << CAN_F6R2_FB18_Pos) /*!< 0x00040000 */
4849#define CAN_F6R2_FB18 CAN_F6R2_FB18_Msk /*!<Filter bit 18 */
4850#define CAN_F6R2_FB19_Pos (19U)
4851#define CAN_F6R2_FB19_Msk (0x1U << CAN_F6R2_FB19_Pos) /*!< 0x00080000 */
4852#define CAN_F6R2_FB19 CAN_F6R2_FB19_Msk /*!<Filter bit 19 */
4853#define CAN_F6R2_FB20_Pos (20U)
4854#define CAN_F6R2_FB20_Msk (0x1U << CAN_F6R2_FB20_Pos) /*!< 0x00100000 */
4855#define CAN_F6R2_FB20 CAN_F6R2_FB20_Msk /*!<Filter bit 20 */
4856#define CAN_F6R2_FB21_Pos (21U)
4857#define CAN_F6R2_FB21_Msk (0x1U << CAN_F6R2_FB21_Pos) /*!< 0x00200000 */
4858#define CAN_F6R2_FB21 CAN_F6R2_FB21_Msk /*!<Filter bit 21 */
4859#define CAN_F6R2_FB22_Pos (22U)
4860#define CAN_F6R2_FB22_Msk (0x1U << CAN_F6R2_FB22_Pos) /*!< 0x00400000 */
4861#define CAN_F6R2_FB22 CAN_F6R2_FB22_Msk /*!<Filter bit 22 */
4862#define CAN_F6R2_FB23_Pos (23U)
4863#define CAN_F6R2_FB23_Msk (0x1U << CAN_F6R2_FB23_Pos) /*!< 0x00800000 */
4864#define CAN_F6R2_FB23 CAN_F6R2_FB23_Msk /*!<Filter bit 23 */
4865#define CAN_F6R2_FB24_Pos (24U)
4866#define CAN_F6R2_FB24_Msk (0x1U << CAN_F6R2_FB24_Pos) /*!< 0x01000000 */
4867#define CAN_F6R2_FB24 CAN_F6R2_FB24_Msk /*!<Filter bit 24 */
4868#define CAN_F6R2_FB25_Pos (25U)
4869#define CAN_F6R2_FB25_Msk (0x1U << CAN_F6R2_FB25_Pos) /*!< 0x02000000 */
4870#define CAN_F6R2_FB25 CAN_F6R2_FB25_Msk /*!<Filter bit 25 */
4871#define CAN_F6R2_FB26_Pos (26U)
4872#define CAN_F6R2_FB26_Msk (0x1U << CAN_F6R2_FB26_Pos) /*!< 0x04000000 */
4873#define CAN_F6R2_FB26 CAN_F6R2_FB26_Msk /*!<Filter bit 26 */
4874#define CAN_F6R2_FB27_Pos (27U)
4875#define CAN_F6R2_FB27_Msk (0x1U << CAN_F6R2_FB27_Pos) /*!< 0x08000000 */
4876#define CAN_F6R2_FB27 CAN_F6R2_FB27_Msk /*!<Filter bit 27 */
4877#define CAN_F6R2_FB28_Pos (28U)
4878#define CAN_F6R2_FB28_Msk (0x1U << CAN_F6R2_FB28_Pos) /*!< 0x10000000 */
4879#define CAN_F6R2_FB28 CAN_F6R2_FB28_Msk /*!<Filter bit 28 */
4880#define CAN_F6R2_FB29_Pos (29U)
4881#define CAN_F6R2_FB29_Msk (0x1U << CAN_F6R2_FB29_Pos) /*!< 0x20000000 */
4882#define CAN_F6R2_FB29 CAN_F6R2_FB29_Msk /*!<Filter bit 29 */
4883#define CAN_F6R2_FB30_Pos (30U)
4884#define CAN_F6R2_FB30_Msk (0x1U << CAN_F6R2_FB30_Pos) /*!< 0x40000000 */
4885#define CAN_F6R2_FB30 CAN_F6R2_FB30_Msk /*!<Filter bit 30 */
4886#define CAN_F6R2_FB31_Pos (31U)
4887#define CAN_F6R2_FB31_Msk (0x1U << CAN_F6R2_FB31_Pos) /*!< 0x80000000 */
4888#define CAN_F6R2_FB31 CAN_F6R2_FB31_Msk /*!<Filter bit 31 */
4889
4890/******************* Bit definition for CAN_F7R2 register *******************/
4891#define CAN_F7R2_FB0_Pos (0U)
4892#define CAN_F7R2_FB0_Msk (0x1U << CAN_F7R2_FB0_Pos) /*!< 0x00000001 */
4893#define CAN_F7R2_FB0 CAN_F7R2_FB0_Msk /*!<Filter bit 0 */
4894#define CAN_F7R2_FB1_Pos (1U)
4895#define CAN_F7R2_FB1_Msk (0x1U << CAN_F7R2_FB1_Pos) /*!< 0x00000002 */
4896#define CAN_F7R2_FB1 CAN_F7R2_FB1_Msk /*!<Filter bit 1 */
4897#define CAN_F7R2_FB2_Pos (2U)
4898#define CAN_F7R2_FB2_Msk (0x1U << CAN_F7R2_FB2_Pos) /*!< 0x00000004 */
4899#define CAN_F7R2_FB2 CAN_F7R2_FB2_Msk /*!<Filter bit 2 */
4900#define CAN_F7R2_FB3_Pos (3U)
4901#define CAN_F7R2_FB3_Msk (0x1U << CAN_F7R2_FB3_Pos) /*!< 0x00000008 */
4902#define CAN_F7R2_FB3 CAN_F7R2_FB3_Msk /*!<Filter bit 3 */
4903#define CAN_F7R2_FB4_Pos (4U)
4904#define CAN_F7R2_FB4_Msk (0x1U << CAN_F7R2_FB4_Pos) /*!< 0x00000010 */
4905#define CAN_F7R2_FB4 CAN_F7R2_FB4_Msk /*!<Filter bit 4 */
4906#define CAN_F7R2_FB5_Pos (5U)
4907#define CAN_F7R2_FB5_Msk (0x1U << CAN_F7R2_FB5_Pos) /*!< 0x00000020 */
4908#define CAN_F7R2_FB5 CAN_F7R2_FB5_Msk /*!<Filter bit 5 */
4909#define CAN_F7R2_FB6_Pos (6U)
4910#define CAN_F7R2_FB6_Msk (0x1U << CAN_F7R2_FB6_Pos) /*!< 0x00000040 */
4911#define CAN_F7R2_FB6 CAN_F7R2_FB6_Msk /*!<Filter bit 6 */
4912#define CAN_F7R2_FB7_Pos (7U)
4913#define CAN_F7R2_FB7_Msk (0x1U << CAN_F7R2_FB7_Pos) /*!< 0x00000080 */
4914#define CAN_F7R2_FB7 CAN_F7R2_FB7_Msk /*!<Filter bit 7 */
4915#define CAN_F7R2_FB8_Pos (8U)
4916#define CAN_F7R2_FB8_Msk (0x1U << CAN_F7R2_FB8_Pos) /*!< 0x00000100 */
4917#define CAN_F7R2_FB8 CAN_F7R2_FB8_Msk /*!<Filter bit 8 */
4918#define CAN_F7R2_FB9_Pos (9U)
4919#define CAN_F7R2_FB9_Msk (0x1U << CAN_F7R2_FB9_Pos) /*!< 0x00000200 */
4920#define CAN_F7R2_FB9 CAN_F7R2_FB9_Msk /*!<Filter bit 9 */
4921#define CAN_F7R2_FB10_Pos (10U)
4922#define CAN_F7R2_FB10_Msk (0x1U << CAN_F7R2_FB10_Pos) /*!< 0x00000400 */
4923#define CAN_F7R2_FB10 CAN_F7R2_FB10_Msk /*!<Filter bit 10 */
4924#define CAN_F7R2_FB11_Pos (11U)
4925#define CAN_F7R2_FB11_Msk (0x1U << CAN_F7R2_FB11_Pos) /*!< 0x00000800 */
4926#define CAN_F7R2_FB11 CAN_F7R2_FB11_Msk /*!<Filter bit 11 */
4927#define CAN_F7R2_FB12_Pos (12U)
4928#define CAN_F7R2_FB12_Msk (0x1U << CAN_F7R2_FB12_Pos) /*!< 0x00001000 */
4929#define CAN_F7R2_FB12 CAN_F7R2_FB12_Msk /*!<Filter bit 12 */
4930#define CAN_F7R2_FB13_Pos (13U)
4931#define CAN_F7R2_FB13_Msk (0x1U << CAN_F7R2_FB13_Pos) /*!< 0x00002000 */
4932#define CAN_F7R2_FB13 CAN_F7R2_FB13_Msk /*!<Filter bit 13 */
4933#define CAN_F7R2_FB14_Pos (14U)
4934#define CAN_F7R2_FB14_Msk (0x1U << CAN_F7R2_FB14_Pos) /*!< 0x00004000 */
4935#define CAN_F7R2_FB14 CAN_F7R2_FB14_Msk /*!<Filter bit 14 */
4936#define CAN_F7R2_FB15_Pos (15U)
4937#define CAN_F7R2_FB15_Msk (0x1U << CAN_F7R2_FB15_Pos) /*!< 0x00008000 */
4938#define CAN_F7R2_FB15 CAN_F7R2_FB15_Msk /*!<Filter bit 15 */
4939#define CAN_F7R2_FB16_Pos (16U)
4940#define CAN_F7R2_FB16_Msk (0x1U << CAN_F7R2_FB16_Pos) /*!< 0x00010000 */
4941#define CAN_F7R2_FB16 CAN_F7R2_FB16_Msk /*!<Filter bit 16 */
4942#define CAN_F7R2_FB17_Pos (17U)
4943#define CAN_F7R2_FB17_Msk (0x1U << CAN_F7R2_FB17_Pos) /*!< 0x00020000 */
4944#define CAN_F7R2_FB17 CAN_F7R2_FB17_Msk /*!<Filter bit 17 */
4945#define CAN_F7R2_FB18_Pos (18U)
4946#define CAN_F7R2_FB18_Msk (0x1U << CAN_F7R2_FB18_Pos) /*!< 0x00040000 */
4947#define CAN_F7R2_FB18 CAN_F7R2_FB18_Msk /*!<Filter bit 18 */
4948#define CAN_F7R2_FB19_Pos (19U)
4949#define CAN_F7R2_FB19_Msk (0x1U << CAN_F7R2_FB19_Pos) /*!< 0x00080000 */
4950#define CAN_F7R2_FB19 CAN_F7R2_FB19_Msk /*!<Filter bit 19 */
4951#define CAN_F7R2_FB20_Pos (20U)
4952#define CAN_F7R2_FB20_Msk (0x1U << CAN_F7R2_FB20_Pos) /*!< 0x00100000 */
4953#define CAN_F7R2_FB20 CAN_F7R2_FB20_Msk /*!<Filter bit 20 */
4954#define CAN_F7R2_FB21_Pos (21U)
4955#define CAN_F7R2_FB21_Msk (0x1U << CAN_F7R2_FB21_Pos) /*!< 0x00200000 */
4956#define CAN_F7R2_FB21 CAN_F7R2_FB21_Msk /*!<Filter bit 21 */
4957#define CAN_F7R2_FB22_Pos (22U)
4958#define CAN_F7R2_FB22_Msk (0x1U << CAN_F7R2_FB22_Pos) /*!< 0x00400000 */
4959#define CAN_F7R2_FB22 CAN_F7R2_FB22_Msk /*!<Filter bit 22 */
4960#define CAN_F7R2_FB23_Pos (23U)
4961#define CAN_F7R2_FB23_Msk (0x1U << CAN_F7R2_FB23_Pos) /*!< 0x00800000 */
4962#define CAN_F7R2_FB23 CAN_F7R2_FB23_Msk /*!<Filter bit 23 */
4963#define CAN_F7R2_FB24_Pos (24U)
4964#define CAN_F7R2_FB24_Msk (0x1U << CAN_F7R2_FB24_Pos) /*!< 0x01000000 */
4965#define CAN_F7R2_FB24 CAN_F7R2_FB24_Msk /*!<Filter bit 24 */
4966#define CAN_F7R2_FB25_Pos (25U)
4967#define CAN_F7R2_FB25_Msk (0x1U << CAN_F7R2_FB25_Pos) /*!< 0x02000000 */
4968#define CAN_F7R2_FB25 CAN_F7R2_FB25_Msk /*!<Filter bit 25 */
4969#define CAN_F7R2_FB26_Pos (26U)
4970#define CAN_F7R2_FB26_Msk (0x1U << CAN_F7R2_FB26_Pos) /*!< 0x04000000 */
4971#define CAN_F7R2_FB26 CAN_F7R2_FB26_Msk /*!<Filter bit 26 */
4972#define CAN_F7R2_FB27_Pos (27U)
4973#define CAN_F7R2_FB27_Msk (0x1U << CAN_F7R2_FB27_Pos) /*!< 0x08000000 */
4974#define CAN_F7R2_FB27 CAN_F7R2_FB27_Msk /*!<Filter bit 27 */
4975#define CAN_F7R2_FB28_Pos (28U)
4976#define CAN_F7R2_FB28_Msk (0x1U << CAN_F7R2_FB28_Pos) /*!< 0x10000000 */
4977#define CAN_F7R2_FB28 CAN_F7R2_FB28_Msk /*!<Filter bit 28 */
4978#define CAN_F7R2_FB29_Pos (29U)
4979#define CAN_F7R2_FB29_Msk (0x1U << CAN_F7R2_FB29_Pos) /*!< 0x20000000 */
4980#define CAN_F7R2_FB29 CAN_F7R2_FB29_Msk /*!<Filter bit 29 */
4981#define CAN_F7R2_FB30_Pos (30U)
4982#define CAN_F7R2_FB30_Msk (0x1U << CAN_F7R2_FB30_Pos) /*!< 0x40000000 */
4983#define CAN_F7R2_FB30 CAN_F7R2_FB30_Msk /*!<Filter bit 30 */
4984#define CAN_F7R2_FB31_Pos (31U)
4985#define CAN_F7R2_FB31_Msk (0x1U << CAN_F7R2_FB31_Pos) /*!< 0x80000000 */
4986#define CAN_F7R2_FB31 CAN_F7R2_FB31_Msk /*!<Filter bit 31 */
4987
4988/******************* Bit definition for CAN_F8R2 register *******************/
4989#define CAN_F8R2_FB0_Pos (0U)
4990#define CAN_F8R2_FB0_Msk (0x1U << CAN_F8R2_FB0_Pos) /*!< 0x00000001 */
4991#define CAN_F8R2_FB0 CAN_F8R2_FB0_Msk /*!<Filter bit 0 */
4992#define CAN_F8R2_FB1_Pos (1U)
4993#define CAN_F8R2_FB1_Msk (0x1U << CAN_F8R2_FB1_Pos) /*!< 0x00000002 */
4994#define CAN_F8R2_FB1 CAN_F8R2_FB1_Msk /*!<Filter bit 1 */
4995#define CAN_F8R2_FB2_Pos (2U)
4996#define CAN_F8R2_FB2_Msk (0x1U << CAN_F8R2_FB2_Pos) /*!< 0x00000004 */
4997#define CAN_F8R2_FB2 CAN_F8R2_FB2_Msk /*!<Filter bit 2 */
4998#define CAN_F8R2_FB3_Pos (3U)
4999#define CAN_F8R2_FB3_Msk (0x1U << CAN_F8R2_FB3_Pos) /*!< 0x00000008 */
5000#define CAN_F8R2_FB3 CAN_F8R2_FB3_Msk /*!<Filter bit 3 */
5001#define CAN_F8R2_FB4_Pos (4U)
5002#define CAN_F8R2_FB4_Msk (0x1U << CAN_F8R2_FB4_Pos) /*!< 0x00000010 */
5003#define CAN_F8R2_FB4 CAN_F8R2_FB4_Msk /*!<Filter bit 4 */
5004#define CAN_F8R2_FB5_Pos (5U)
5005#define CAN_F8R2_FB5_Msk (0x1U << CAN_F8R2_FB5_Pos) /*!< 0x00000020 */
5006#define CAN_F8R2_FB5 CAN_F8R2_FB5_Msk /*!<Filter bit 5 */
5007#define CAN_F8R2_FB6_Pos (6U)
5008#define CAN_F8R2_FB6_Msk (0x1U << CAN_F8R2_FB6_Pos) /*!< 0x00000040 */
5009#define CAN_F8R2_FB6 CAN_F8R2_FB6_Msk /*!<Filter bit 6 */
5010#define CAN_F8R2_FB7_Pos (7U)
5011#define CAN_F8R2_FB7_Msk (0x1U << CAN_F8R2_FB7_Pos) /*!< 0x00000080 */
5012#define CAN_F8R2_FB7 CAN_F8R2_FB7_Msk /*!<Filter bit 7 */
5013#define CAN_F8R2_FB8_Pos (8U)
5014#define CAN_F8R2_FB8_Msk (0x1U << CAN_F8R2_FB8_Pos) /*!< 0x00000100 */
5015#define CAN_F8R2_FB8 CAN_F8R2_FB8_Msk /*!<Filter bit 8 */
5016#define CAN_F8R2_FB9_Pos (9U)
5017#define CAN_F8R2_FB9_Msk (0x1U << CAN_F8R2_FB9_Pos) /*!< 0x00000200 */
5018#define CAN_F8R2_FB9 CAN_F8R2_FB9_Msk /*!<Filter bit 9 */
5019#define CAN_F8R2_FB10_Pos (10U)
5020#define CAN_F8R2_FB10_Msk (0x1U << CAN_F8R2_FB10_Pos) /*!< 0x00000400 */
5021#define CAN_F8R2_FB10 CAN_F8R2_FB10_Msk /*!<Filter bit 10 */
5022#define CAN_F8R2_FB11_Pos (11U)
5023#define CAN_F8R2_FB11_Msk (0x1U << CAN_F8R2_FB11_Pos) /*!< 0x00000800 */
5024#define CAN_F8R2_FB11 CAN_F8R2_FB11_Msk /*!<Filter bit 11 */
5025#define CAN_F8R2_FB12_Pos (12U)
5026#define CAN_F8R2_FB12_Msk (0x1U << CAN_F8R2_FB12_Pos) /*!< 0x00001000 */
5027#define CAN_F8R2_FB12 CAN_F8R2_FB12_Msk /*!<Filter bit 12 */
5028#define CAN_F8R2_FB13_Pos (13U)
5029#define CAN_F8R2_FB13_Msk (0x1U << CAN_F8R2_FB13_Pos) /*!< 0x00002000 */
5030#define CAN_F8R2_FB13 CAN_F8R2_FB13_Msk /*!<Filter bit 13 */
5031#define CAN_F8R2_FB14_Pos (14U)
5032#define CAN_F8R2_FB14_Msk (0x1U << CAN_F8R2_FB14_Pos) /*!< 0x00004000 */
5033#define CAN_F8R2_FB14 CAN_F8R2_FB14_Msk /*!<Filter bit 14 */
5034#define CAN_F8R2_FB15_Pos (15U)
5035#define CAN_F8R2_FB15_Msk (0x1U << CAN_F8R2_FB15_Pos) /*!< 0x00008000 */
5036#define CAN_F8R2_FB15 CAN_F8R2_FB15_Msk /*!<Filter bit 15 */
5037#define CAN_F8R2_FB16_Pos (16U)
5038#define CAN_F8R2_FB16_Msk (0x1U << CAN_F8R2_FB16_Pos) /*!< 0x00010000 */
5039#define CAN_F8R2_FB16 CAN_F8R2_FB16_Msk /*!<Filter bit 16 */
5040#define CAN_F8R2_FB17_Pos (17U)
5041#define CAN_F8R2_FB17_Msk (0x1U << CAN_F8R2_FB17_Pos) /*!< 0x00020000 */
5042#define CAN_F8R2_FB17 CAN_F8R2_FB17_Msk /*!<Filter bit 17 */
5043#define CAN_F8R2_FB18_Pos (18U)
5044#define CAN_F8R2_FB18_Msk (0x1U << CAN_F8R2_FB18_Pos) /*!< 0x00040000 */
5045#define CAN_F8R2_FB18 CAN_F8R2_FB18_Msk /*!<Filter bit 18 */
5046#define CAN_F8R2_FB19_Pos (19U)
5047#define CAN_F8R2_FB19_Msk (0x1U << CAN_F8R2_FB19_Pos) /*!< 0x00080000 */
5048#define CAN_F8R2_FB19 CAN_F8R2_FB19_Msk /*!<Filter bit 19 */
5049#define CAN_F8R2_FB20_Pos (20U)
5050#define CAN_F8R2_FB20_Msk (0x1U << CAN_F8R2_FB20_Pos) /*!< 0x00100000 */
5051#define CAN_F8R2_FB20 CAN_F8R2_FB20_Msk /*!<Filter bit 20 */
5052#define CAN_F8R2_FB21_Pos (21U)
5053#define CAN_F8R2_FB21_Msk (0x1U << CAN_F8R2_FB21_Pos) /*!< 0x00200000 */
5054#define CAN_F8R2_FB21 CAN_F8R2_FB21_Msk /*!<Filter bit 21 */
5055#define CAN_F8R2_FB22_Pos (22U)
5056#define CAN_F8R2_FB22_Msk (0x1U << CAN_F8R2_FB22_Pos) /*!< 0x00400000 */
5057#define CAN_F8R2_FB22 CAN_F8R2_FB22_Msk /*!<Filter bit 22 */
5058#define CAN_F8R2_FB23_Pos (23U)
5059#define CAN_F8R2_FB23_Msk (0x1U << CAN_F8R2_FB23_Pos) /*!< 0x00800000 */
5060#define CAN_F8R2_FB23 CAN_F8R2_FB23_Msk /*!<Filter bit 23 */
5061#define CAN_F8R2_FB24_Pos (24U)
5062#define CAN_F8R2_FB24_Msk (0x1U << CAN_F8R2_FB24_Pos) /*!< 0x01000000 */
5063#define CAN_F8R2_FB24 CAN_F8R2_FB24_Msk /*!<Filter bit 24 */
5064#define CAN_F8R2_FB25_Pos (25U)
5065#define CAN_F8R2_FB25_Msk (0x1U << CAN_F8R2_FB25_Pos) /*!< 0x02000000 */
5066#define CAN_F8R2_FB25 CAN_F8R2_FB25_Msk /*!<Filter bit 25 */
5067#define CAN_F8R2_FB26_Pos (26U)
5068#define CAN_F8R2_FB26_Msk (0x1U << CAN_F8R2_FB26_Pos) /*!< 0x04000000 */
5069#define CAN_F8R2_FB26 CAN_F8R2_FB26_Msk /*!<Filter bit 26 */
5070#define CAN_F8R2_FB27_Pos (27U)
5071#define CAN_F8R2_FB27_Msk (0x1U << CAN_F8R2_FB27_Pos) /*!< 0x08000000 */
5072#define CAN_F8R2_FB27 CAN_F8R2_FB27_Msk /*!<Filter bit 27 */
5073#define CAN_F8R2_FB28_Pos (28U)
5074#define CAN_F8R2_FB28_Msk (0x1U << CAN_F8R2_FB28_Pos) /*!< 0x10000000 */
5075#define CAN_F8R2_FB28 CAN_F8R2_FB28_Msk /*!<Filter bit 28 */
5076#define CAN_F8R2_FB29_Pos (29U)
5077#define CAN_F8R2_FB29_Msk (0x1U << CAN_F8R2_FB29_Pos) /*!< 0x20000000 */
5078#define CAN_F8R2_FB29 CAN_F8R2_FB29_Msk /*!<Filter bit 29 */
5079#define CAN_F8R2_FB30_Pos (30U)
5080#define CAN_F8R2_FB30_Msk (0x1U << CAN_F8R2_FB30_Pos) /*!< 0x40000000 */
5081#define CAN_F8R2_FB30 CAN_F8R2_FB30_Msk /*!<Filter bit 30 */
5082#define CAN_F8R2_FB31_Pos (31U)
5083#define CAN_F8R2_FB31_Msk (0x1U << CAN_F8R2_FB31_Pos) /*!< 0x80000000 */
5084#define CAN_F8R2_FB31 CAN_F8R2_FB31_Msk /*!<Filter bit 31 */
5085
5086/******************* Bit definition for CAN_F9R2 register *******************/
5087#define CAN_F9R2_FB0_Pos (0U)
5088#define CAN_F9R2_FB0_Msk (0x1U << CAN_F9R2_FB0_Pos) /*!< 0x00000001 */
5089#define CAN_F9R2_FB0 CAN_F9R2_FB0_Msk /*!<Filter bit 0 */
5090#define CAN_F9R2_FB1_Pos (1U)
5091#define CAN_F9R2_FB1_Msk (0x1U << CAN_F9R2_FB1_Pos) /*!< 0x00000002 */
5092#define CAN_F9R2_FB1 CAN_F9R2_FB1_Msk /*!<Filter bit 1 */
5093#define CAN_F9R2_FB2_Pos (2U)
5094#define CAN_F9R2_FB2_Msk (0x1U << CAN_F9R2_FB2_Pos) /*!< 0x00000004 */
5095#define CAN_F9R2_FB2 CAN_F9R2_FB2_Msk /*!<Filter bit 2 */
5096#define CAN_F9R2_FB3_Pos (3U)
5097#define CAN_F9R2_FB3_Msk (0x1U << CAN_F9R2_FB3_Pos) /*!< 0x00000008 */
5098#define CAN_F9R2_FB3 CAN_F9R2_FB3_Msk /*!<Filter bit 3 */
5099#define CAN_F9R2_FB4_Pos (4U)
5100#define CAN_F9R2_FB4_Msk (0x1U << CAN_F9R2_FB4_Pos) /*!< 0x00000010 */
5101#define CAN_F9R2_FB4 CAN_F9R2_FB4_Msk /*!<Filter bit 4 */
5102#define CAN_F9R2_FB5_Pos (5U)
5103#define CAN_F9R2_FB5_Msk (0x1U << CAN_F9R2_FB5_Pos) /*!< 0x00000020 */
5104#define CAN_F9R2_FB5 CAN_F9R2_FB5_Msk /*!<Filter bit 5 */
5105#define CAN_F9R2_FB6_Pos (6U)
5106#define CAN_F9R2_FB6_Msk (0x1U << CAN_F9R2_FB6_Pos) /*!< 0x00000040 */
5107#define CAN_F9R2_FB6 CAN_F9R2_FB6_Msk /*!<Filter bit 6 */
5108#define CAN_F9R2_FB7_Pos (7U)
5109#define CAN_F9R2_FB7_Msk (0x1U << CAN_F9R2_FB7_Pos) /*!< 0x00000080 */
5110#define CAN_F9R2_FB7 CAN_F9R2_FB7_Msk /*!<Filter bit 7 */
5111#define CAN_F9R2_FB8_Pos (8U)
5112#define CAN_F9R2_FB8_Msk (0x1U << CAN_F9R2_FB8_Pos) /*!< 0x00000100 */
5113#define CAN_F9R2_FB8 CAN_F9R2_FB8_Msk /*!<Filter bit 8 */
5114#define CAN_F9R2_FB9_Pos (9U)
5115#define CAN_F9R2_FB9_Msk (0x1U << CAN_F9R2_FB9_Pos) /*!< 0x00000200 */
5116#define CAN_F9R2_FB9 CAN_F9R2_FB9_Msk /*!<Filter bit 9 */
5117#define CAN_F9R2_FB10_Pos (10U)
5118#define CAN_F9R2_FB10_Msk (0x1U << CAN_F9R2_FB10_Pos) /*!< 0x00000400 */
5119#define CAN_F9R2_FB10 CAN_F9R2_FB10_Msk /*!<Filter bit 10 */
5120#define CAN_F9R2_FB11_Pos (11U)
5121#define CAN_F9R2_FB11_Msk (0x1U << CAN_F9R2_FB11_Pos) /*!< 0x00000800 */
5122#define CAN_F9R2_FB11 CAN_F9R2_FB11_Msk /*!<Filter bit 11 */
5123#define CAN_F9R2_FB12_Pos (12U)
5124#define CAN_F9R2_FB12_Msk (0x1U << CAN_F9R2_FB12_Pos) /*!< 0x00001000 */
5125#define CAN_F9R2_FB12 CAN_F9R2_FB12_Msk /*!<Filter bit 12 */
5126#define CAN_F9R2_FB13_Pos (13U)
5127#define CAN_F9R2_FB13_Msk (0x1U << CAN_F9R2_FB13_Pos) /*!< 0x00002000 */
5128#define CAN_F9R2_FB13 CAN_F9R2_FB13_Msk /*!<Filter bit 13 */
5129#define CAN_F9R2_FB14_Pos (14U)
5130#define CAN_F9R2_FB14_Msk (0x1U << CAN_F9R2_FB14_Pos) /*!< 0x00004000 */
5131#define CAN_F9R2_FB14 CAN_F9R2_FB14_Msk /*!<Filter bit 14 */
5132#define CAN_F9R2_FB15_Pos (15U)
5133#define CAN_F9R2_FB15_Msk (0x1U << CAN_F9R2_FB15_Pos) /*!< 0x00008000 */
5134#define CAN_F9R2_FB15 CAN_F9R2_FB15_Msk /*!<Filter bit 15 */
5135#define CAN_F9R2_FB16_Pos (16U)
5136#define CAN_F9R2_FB16_Msk (0x1U << CAN_F9R2_FB16_Pos) /*!< 0x00010000 */
5137#define CAN_F9R2_FB16 CAN_F9R2_FB16_Msk /*!<Filter bit 16 */
5138#define CAN_F9R2_FB17_Pos (17U)
5139#define CAN_F9R2_FB17_Msk (0x1U << CAN_F9R2_FB17_Pos) /*!< 0x00020000 */
5140#define CAN_F9R2_FB17 CAN_F9R2_FB17_Msk /*!<Filter bit 17 */
5141#define CAN_F9R2_FB18_Pos (18U)
5142#define CAN_F9R2_FB18_Msk (0x1U << CAN_F9R2_FB18_Pos) /*!< 0x00040000 */
5143#define CAN_F9R2_FB18 CAN_F9R2_FB18_Msk /*!<Filter bit 18 */
5144#define CAN_F9R2_FB19_Pos (19U)
5145#define CAN_F9R2_FB19_Msk (0x1U << CAN_F9R2_FB19_Pos) /*!< 0x00080000 */
5146#define CAN_F9R2_FB19 CAN_F9R2_FB19_Msk /*!<Filter bit 19 */
5147#define CAN_F9R2_FB20_Pos (20U)
5148#define CAN_F9R2_FB20_Msk (0x1U << CAN_F9R2_FB20_Pos) /*!< 0x00100000 */
5149#define CAN_F9R2_FB20 CAN_F9R2_FB20_Msk /*!<Filter bit 20 */
5150#define CAN_F9R2_FB21_Pos (21U)
5151#define CAN_F9R2_FB21_Msk (0x1U << CAN_F9R2_FB21_Pos) /*!< 0x00200000 */
5152#define CAN_F9R2_FB21 CAN_F9R2_FB21_Msk /*!<Filter bit 21 */
5153#define CAN_F9R2_FB22_Pos (22U)
5154#define CAN_F9R2_FB22_Msk (0x1U << CAN_F9R2_FB22_Pos) /*!< 0x00400000 */
5155#define CAN_F9R2_FB22 CAN_F9R2_FB22_Msk /*!<Filter bit 22 */
5156#define CAN_F9R2_FB23_Pos (23U)
5157#define CAN_F9R2_FB23_Msk (0x1U << CAN_F9R2_FB23_Pos) /*!< 0x00800000 */
5158#define CAN_F9R2_FB23 CAN_F9R2_FB23_Msk /*!<Filter bit 23 */
5159#define CAN_F9R2_FB24_Pos (24U)
5160#define CAN_F9R2_FB24_Msk (0x1U << CAN_F9R2_FB24_Pos) /*!< 0x01000000 */
5161#define CAN_F9R2_FB24 CAN_F9R2_FB24_Msk /*!<Filter bit 24 */
5162#define CAN_F9R2_FB25_Pos (25U)
5163#define CAN_F9R2_FB25_Msk (0x1U << CAN_F9R2_FB25_Pos) /*!< 0x02000000 */
5164#define CAN_F9R2_FB25 CAN_F9R2_FB25_Msk /*!<Filter bit 25 */
5165#define CAN_F9R2_FB26_Pos (26U)
5166#define CAN_F9R2_FB26_Msk (0x1U << CAN_F9R2_FB26_Pos) /*!< 0x04000000 */
5167#define CAN_F9R2_FB26 CAN_F9R2_FB26_Msk /*!<Filter bit 26 */
5168#define CAN_F9R2_FB27_Pos (27U)
5169#define CAN_F9R2_FB27_Msk (0x1U << CAN_F9R2_FB27_Pos) /*!< 0x08000000 */
5170#define CAN_F9R2_FB27 CAN_F9R2_FB27_Msk /*!<Filter bit 27 */
5171#define CAN_F9R2_FB28_Pos (28U)
5172#define CAN_F9R2_FB28_Msk (0x1U << CAN_F9R2_FB28_Pos) /*!< 0x10000000 */
5173#define CAN_F9R2_FB28 CAN_F9R2_FB28_Msk /*!<Filter bit 28 */
5174#define CAN_F9R2_FB29_Pos (29U)
5175#define CAN_F9R2_FB29_Msk (0x1U << CAN_F9R2_FB29_Pos) /*!< 0x20000000 */
5176#define CAN_F9R2_FB29 CAN_F9R2_FB29_Msk /*!<Filter bit 29 */
5177#define CAN_F9R2_FB30_Pos (30U)
5178#define CAN_F9R2_FB30_Msk (0x1U << CAN_F9R2_FB30_Pos) /*!< 0x40000000 */
5179#define CAN_F9R2_FB30 CAN_F9R2_FB30_Msk /*!<Filter bit 30 */
5180#define CAN_F9R2_FB31_Pos (31U)
5181#define CAN_F9R2_FB31_Msk (0x1U << CAN_F9R2_FB31_Pos) /*!< 0x80000000 */
5182#define CAN_F9R2_FB31 CAN_F9R2_FB31_Msk /*!<Filter bit 31 */
5183
5184/******************* Bit definition for CAN_F10R2 register ******************/
5185#define CAN_F10R2_FB0_Pos (0U)
5186#define CAN_F10R2_FB0_Msk (0x1U << CAN_F10R2_FB0_Pos) /*!< 0x00000001 */
5187#define CAN_F10R2_FB0 CAN_F10R2_FB0_Msk /*!<Filter bit 0 */
5188#define CAN_F10R2_FB1_Pos (1U)
5189#define CAN_F10R2_FB1_Msk (0x1U << CAN_F10R2_FB1_Pos) /*!< 0x00000002 */
5190#define CAN_F10R2_FB1 CAN_F10R2_FB1_Msk /*!<Filter bit 1 */
5191#define CAN_F10R2_FB2_Pos (2U)
5192#define CAN_F10R2_FB2_Msk (0x1U << CAN_F10R2_FB2_Pos) /*!< 0x00000004 */
5193#define CAN_F10R2_FB2 CAN_F10R2_FB2_Msk /*!<Filter bit 2 */
5194#define CAN_F10R2_FB3_Pos (3U)
5195#define CAN_F10R2_FB3_Msk (0x1U << CAN_F10R2_FB3_Pos) /*!< 0x00000008 */
5196#define CAN_F10R2_FB3 CAN_F10R2_FB3_Msk /*!<Filter bit 3 */
5197#define CAN_F10R2_FB4_Pos (4U)
5198#define CAN_F10R2_FB4_Msk (0x1U << CAN_F10R2_FB4_Pos) /*!< 0x00000010 */