Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | mjames | 1 | /** |
2 | ****************************************************************************** |
||
3 | * @file stm32f105xc.h |
||
4 | * @author MCD Application Team |
||
5 | * @brief CMSIS Cortex-M3 Device Peripheral Access Layer Header File. |
||
6 | * This file contains all the peripheral register's definitions, bits |
||
7 | * definitions and memory mapping for STM32F1xx devices. |
||
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 | * |
||
9 | mjames | 17 | * <h2><center>© Copyright (c) 2017 STMicroelectronics. |
18 | * All rights reserved.</center></h2> |
||
2 | mjames | 19 | * |
9 | mjames | 20 | * This software component is licensed by ST under BSD 3-Clause license, |
21 | * the "License"; You may not use this file except in compliance with the |
||
22 | * License. You may obtain a copy of the License at: |
||
23 | * opensource.org/licenses/BSD-3-Clause |
||
2 | mjames | 24 | * |
25 | ****************************************************************************** |
||
26 | */ |
||
27 | |||
28 | |||
29 | /** @addtogroup CMSIS |
||
30 | * @{ |
||
31 | */ |
||
32 | |||
33 | /** @addtogroup stm32f105xc |
||
34 | * @{ |
||
35 | */ |
||
36 | |||
37 | #ifndef __STM32F105xC_H |
||
38 | #define __STM32F105xC_H |
||
39 | |||
40 | #ifdef __cplusplus |
||
41 | extern "C" { |
||
42 | #endif |
||
43 | |||
44 | /** @addtogroup Configuration_section_for_CMSIS |
||
45 | * @{ |
||
46 | */ |
||
47 | /** |
||
48 | * @brief Configuration of the Cortex-M3 Processor and Core Peripherals |
||
49 | */ |
||
50 | #define __CM3_REV 0x0200U /*!< Core Revision r2p0 */ |
||
51 | #define __MPU_PRESENT 0U /*!< Other STM32 devices does not provide an MPU */ |
||
52 | #define __NVIC_PRIO_BITS 4U /*!< STM32 uses 4 Bits for the Priority Levels */ |
||
53 | #define __Vendor_SysTickConfig 0U /*!< Set to 1 if different SysTick Config is used */ |
||
54 | |||
55 | /** |
||
56 | * @} |
||
57 | */ |
||
58 | |||
59 | /** @addtogroup Peripheral_interrupt_number_definition |
||
60 | * @{ |
||
61 | */ |
||
62 | |||
63 | /** |
||
64 | * @brief STM32F10x Interrupt Number Definition, according to the selected device |
||
65 | * in @ref Library_configuration_section |
||
66 | */ |
||
67 | |||
68 | /*!< Interrupt Number Definition */ |
||
69 | typedef enum |
||
70 | { |
||
71 | /****** Cortex-M3 Processor Exceptions Numbers ***************************************************/ |
||
72 | NonMaskableInt_IRQn = -14, /*!< 2 Non Maskable Interrupt */ |
||
73 | HardFault_IRQn = -13, /*!< 3 Cortex-M3 Hard Fault Interrupt */ |
||
74 | MemoryManagement_IRQn = -12, /*!< 4 Cortex-M3 Memory Management Interrupt */ |
||
75 | BusFault_IRQn = -11, /*!< 5 Cortex-M3 Bus Fault Interrupt */ |
||
76 | UsageFault_IRQn = -10, /*!< 6 Cortex-M3 Usage Fault Interrupt */ |
||
77 | SVCall_IRQn = -5, /*!< 11 Cortex-M3 SV Call Interrupt */ |
||
78 | DebugMonitor_IRQn = -4, /*!< 12 Cortex-M3 Debug Monitor Interrupt */ |
||
79 | PendSV_IRQn = -2, /*!< 14 Cortex-M3 Pend SV Interrupt */ |
||
80 | SysTick_IRQn = -1, /*!< 15 Cortex-M3 System Tick Interrupt */ |
||
81 | |||
82 | /****** STM32 specific Interrupt Numbers *********************************************************/ |
||
83 | WWDG_IRQn = 0, /*!< Window WatchDog Interrupt */ |
||
84 | PVD_IRQn = 1, /*!< PVD through EXTI Line detection Interrupt */ |
||
85 | TAMPER_IRQn = 2, /*!< Tamper Interrupt */ |
||
86 | RTC_IRQn = 3, /*!< RTC global Interrupt */ |
||
87 | FLASH_IRQn = 4, /*!< FLASH global Interrupt */ |
||
88 | RCC_IRQn = 5, /*!< RCC global Interrupt */ |
||
89 | EXTI0_IRQn = 6, /*!< EXTI Line0 Interrupt */ |
||
90 | EXTI1_IRQn = 7, /*!< EXTI Line1 Interrupt */ |
||
91 | EXTI2_IRQn = 8, /*!< EXTI Line2 Interrupt */ |
||
92 | EXTI3_IRQn = 9, /*!< EXTI Line3 Interrupt */ |
||
93 | EXTI4_IRQn = 10, /*!< EXTI Line4 Interrupt */ |
||
94 | DMA1_Channel1_IRQn = 11, /*!< DMA1 Channel 1 global Interrupt */ |
||
95 | DMA1_Channel2_IRQn = 12, /*!< DMA1 Channel 2 global Interrupt */ |
||
96 | DMA1_Channel3_IRQn = 13, /*!< DMA1 Channel 3 global Interrupt */ |
||
97 | DMA1_Channel4_IRQn = 14, /*!< DMA1 Channel 4 global Interrupt */ |
||
98 | DMA1_Channel5_IRQn = 15, /*!< DMA1 Channel 5 global Interrupt */ |
||
99 | DMA1_Channel6_IRQn = 16, /*!< DMA1 Channel 6 global Interrupt */ |
||
100 | DMA1_Channel7_IRQn = 17, /*!< DMA1 Channel 7 global Interrupt */ |
||
101 | ADC1_2_IRQn = 18, /*!< ADC1 and ADC2 global Interrupt */ |
||
102 | CAN1_TX_IRQn = 19, /*!< CAN1 TX Interrupts */ |
||
103 | CAN1_RX0_IRQn = 20, /*!< CAN1 RX0 Interrupts */ |
||
104 | CAN1_RX1_IRQn = 21, /*!< CAN1 RX1 Interrupt */ |
||
105 | CAN1_SCE_IRQn = 22, /*!< CAN1 SCE Interrupt */ |
||
106 | EXTI9_5_IRQn = 23, /*!< External Line[9:5] Interrupts */ |
||
107 | TIM1_BRK_IRQn = 24, /*!< TIM1 Break Interrupt */ |
||
108 | TIM1_UP_IRQn = 25, /*!< TIM1 Update Interrupt */ |
||
109 | TIM1_TRG_COM_IRQn = 26, /*!< TIM1 Trigger and Commutation Interrupt */ |
||
110 | TIM1_CC_IRQn = 27, /*!< TIM1 Capture Compare Interrupt */ |
||
111 | TIM2_IRQn = 28, /*!< TIM2 global Interrupt */ |
||
112 | TIM3_IRQn = 29, /*!< TIM3 global Interrupt */ |
||
113 | TIM4_IRQn = 30, /*!< TIM4 global Interrupt */ |
||
114 | I2C1_EV_IRQn = 31, /*!< I2C1 Event Interrupt */ |
||
115 | I2C1_ER_IRQn = 32, /*!< I2C1 Error Interrupt */ |
||
116 | I2C2_EV_IRQn = 33, /*!< I2C2 Event Interrupt */ |
||
117 | I2C2_ER_IRQn = 34, /*!< I2C2 Error Interrupt */ |
||
118 | SPI1_IRQn = 35, /*!< SPI1 global Interrupt */ |
||
119 | SPI2_IRQn = 36, /*!< SPI2 global Interrupt */ |
||
120 | USART1_IRQn = 37, /*!< USART1 global Interrupt */ |
||
121 | USART2_IRQn = 38, /*!< USART2 global Interrupt */ |
||
122 | USART3_IRQn = 39, /*!< USART3 global Interrupt */ |
||
123 | EXTI15_10_IRQn = 40, /*!< External Line[15:10] Interrupts */ |
||
124 | RTC_Alarm_IRQn = 41, /*!< RTC Alarm through EXTI Line Interrupt */ |
||
125 | OTG_FS_WKUP_IRQn = 42, /*!< USB OTG FS WakeUp from suspend through EXTI Line Interrupt */ |
||
126 | TIM5_IRQn = 50, /*!< TIM5 global Interrupt */ |
||
127 | SPI3_IRQn = 51, /*!< SPI3 global Interrupt */ |
||
128 | UART4_IRQn = 52, /*!< UART4 global Interrupt */ |
||
129 | UART5_IRQn = 53, /*!< UART5 global Interrupt */ |
||
130 | TIM6_IRQn = 54, /*!< TIM6 global Interrupt */ |
||
131 | TIM7_IRQn = 55, /*!< TIM7 global Interrupt */ |
||
132 | DMA2_Channel1_IRQn = 56, /*!< DMA2 Channel 1 global Interrupt */ |
||
133 | DMA2_Channel2_IRQn = 57, /*!< DMA2 Channel 2 global Interrupt */ |
||
134 | DMA2_Channel3_IRQn = 58, /*!< DMA2 Channel 3 global Interrupt */ |
||
135 | DMA2_Channel4_IRQn = 59, /*!< DMA2 Channel 4 global Interrupt */ |
||
136 | DMA2_Channel5_IRQn = 60, /*!< DMA2 Channel 5 global Interrupt */ |
||
137 | CAN2_TX_IRQn = 63, /*!< CAN2 TX Interrupt */ |
||
138 | CAN2_RX0_IRQn = 64, /*!< CAN2 RX0 Interrupt */ |
||
139 | CAN2_RX1_IRQn = 65, /*!< CAN2 RX1 Interrupt */ |
||
140 | CAN2_SCE_IRQn = 66, /*!< CAN2 SCE Interrupt */ |
||
141 | OTG_FS_IRQn = 67 /*!< USB OTG FS global Interrupt */ |
||
142 | } IRQn_Type; |
||
143 | |||
144 | /** |
||
145 | * @} |
||
146 | */ |
||
147 | |||
148 | #include "core_cm3.h" |
||
149 | #include "system_stm32f1xx.h" |
||
150 | #include <stdint.h> |
||
151 | |||
152 | /** @addtogroup Peripheral_registers_structures |
||
153 | * @{ |
||
154 | */ |
||
155 | |||
156 | /** |
||
157 | * @brief Analog to Digital Converter |
||
158 | */ |
||
159 | |||
160 | typedef struct |
||
161 | { |
||
162 | __IO uint32_t SR; |
||
163 | __IO uint32_t CR1; |
||
164 | __IO uint32_t CR2; |
||
165 | __IO uint32_t SMPR1; |
||
166 | __IO uint32_t SMPR2; |
||
167 | __IO uint32_t JOFR1; |
||
168 | __IO uint32_t JOFR2; |
||
169 | __IO uint32_t JOFR3; |
||
170 | __IO uint32_t JOFR4; |
||
171 | __IO uint32_t HTR; |
||
172 | __IO uint32_t LTR; |
||
173 | __IO uint32_t SQR1; |
||
174 | __IO uint32_t SQR2; |
||
175 | __IO uint32_t SQR3; |
||
176 | __IO uint32_t JSQR; |
||
177 | __IO uint32_t JDR1; |
||
178 | __IO uint32_t JDR2; |
||
179 | __IO uint32_t JDR3; |
||
180 | __IO uint32_t JDR4; |
||
181 | __IO uint32_t DR; |
||
182 | } ADC_TypeDef; |
||
183 | |||
184 | typedef struct |
||
185 | { |
||
186 | __IO uint32_t SR; /*!< ADC status register, used for ADC multimode (bits common to several ADC instances). Address offset: ADC1 base address */ |
||
187 | __IO uint32_t CR1; /*!< ADC control register 1, used for ADC multimode (bits common to several ADC instances). Address offset: ADC1 base address + 0x04 */ |
||
188 | __IO uint32_t CR2; /*!< ADC control register 2, used for ADC multimode (bits common to several ADC instances). Address offset: ADC1 base address + 0x08 */ |
||
189 | uint32_t RESERVED[16]; |
||
190 | __IO uint32_t DR; /*!< ADC data register, used for ADC multimode (bits common to several ADC instances). Address offset: ADC1 base address + 0x4C */ |
||
191 | } ADC_Common_TypeDef; |
||
192 | |||
193 | /** |
||
194 | * @brief Backup Registers |
||
195 | */ |
||
196 | |||
197 | typedef struct |
||
198 | { |
||
199 | uint32_t RESERVED0; |
||
200 | __IO uint32_t DR1; |
||
201 | __IO uint32_t DR2; |
||
202 | __IO uint32_t DR3; |
||
203 | __IO uint32_t DR4; |
||
204 | __IO uint32_t DR5; |
||
205 | __IO uint32_t DR6; |
||
206 | __IO uint32_t DR7; |
||
207 | __IO uint32_t DR8; |
||
208 | __IO uint32_t DR9; |
||
209 | __IO uint32_t DR10; |
||
210 | __IO uint32_t RTCCR; |
||
211 | __IO uint32_t CR; |
||
212 | __IO uint32_t CSR; |
||
213 | uint32_t RESERVED13[2]; |
||
214 | __IO uint32_t DR11; |
||
215 | __IO uint32_t DR12; |
||
216 | __IO uint32_t DR13; |
||
217 | __IO uint32_t DR14; |
||
218 | __IO uint32_t DR15; |
||
219 | __IO uint32_t DR16; |
||
220 | __IO uint32_t DR17; |
||
221 | __IO uint32_t DR18; |
||
222 | __IO uint32_t DR19; |
||
223 | __IO uint32_t DR20; |
||
224 | __IO uint32_t DR21; |
||
225 | __IO uint32_t DR22; |
||
226 | __IO uint32_t DR23; |
||
227 | __IO uint32_t DR24; |
||
228 | __IO uint32_t DR25; |
||
229 | __IO uint32_t DR26; |
||
230 | __IO uint32_t DR27; |
||
231 | __IO uint32_t DR28; |
||
232 | __IO uint32_t DR29; |
||
233 | __IO uint32_t DR30; |
||
234 | __IO uint32_t DR31; |
||
235 | __IO uint32_t DR32; |
||
236 | __IO uint32_t DR33; |
||
237 | __IO uint32_t DR34; |
||
238 | __IO uint32_t DR35; |
||
239 | __IO uint32_t DR36; |
||
240 | __IO uint32_t DR37; |
||
241 | __IO uint32_t DR38; |
||
242 | __IO uint32_t DR39; |
||
243 | __IO uint32_t DR40; |
||
244 | __IO uint32_t DR41; |
||
245 | __IO uint32_t DR42; |
||
246 | } BKP_TypeDef; |
||
247 | |||
248 | /** |
||
249 | * @brief Controller Area Network TxMailBox |
||
250 | */ |
||
251 | |||
252 | typedef struct |
||
253 | { |
||
254 | __IO uint32_t TIR; |
||
255 | __IO uint32_t TDTR; |
||
256 | __IO uint32_t TDLR; |
||
257 | __IO uint32_t TDHR; |
||
258 | } CAN_TxMailBox_TypeDef; |
||
259 | |||
260 | /** |
||
261 | * @brief Controller Area Network FIFOMailBox |
||
262 | */ |
||
263 | |||
264 | typedef struct |
||
265 | { |
||
266 | __IO uint32_t RIR; |
||
267 | __IO uint32_t RDTR; |
||
268 | __IO uint32_t RDLR; |
||
269 | __IO uint32_t RDHR; |
||
270 | } CAN_FIFOMailBox_TypeDef; |
||
271 | |||
272 | /** |
||
273 | * @brief Controller Area Network FilterRegister |
||
274 | */ |
||
275 | |||
276 | typedef struct |
||
277 | { |
||
278 | __IO uint32_t FR1; |
||
279 | __IO uint32_t FR2; |
||
280 | } CAN_FilterRegister_TypeDef; |
||
281 | |||
282 | /** |
||
283 | * @brief Controller Area Network |
||
284 | */ |
||
285 | |||
286 | typedef struct |
||
287 | { |
||
288 | __IO uint32_t MCR; |
||
289 | __IO uint32_t MSR; |
||
290 | __IO uint32_t TSR; |
||
291 | __IO uint32_t RF0R; |
||
292 | __IO uint32_t RF1R; |
||
293 | __IO uint32_t IER; |
||
294 | __IO uint32_t ESR; |
||
295 | __IO uint32_t BTR; |
||
296 | uint32_t RESERVED0[88]; |
||
297 | CAN_TxMailBox_TypeDef sTxMailBox[3]; |
||
298 | CAN_FIFOMailBox_TypeDef sFIFOMailBox[2]; |
||
299 | uint32_t RESERVED1[12]; |
||
300 | __IO uint32_t FMR; |
||
301 | __IO uint32_t FM1R; |
||
302 | uint32_t RESERVED2; |
||
303 | __IO uint32_t FS1R; |
||
304 | uint32_t RESERVED3; |
||
305 | __IO uint32_t FFA1R; |
||
306 | uint32_t RESERVED4; |
||
307 | __IO uint32_t FA1R; |
||
308 | uint32_t RESERVED5[8]; |
||
309 | CAN_FilterRegister_TypeDef sFilterRegister[28]; |
||
310 | } CAN_TypeDef; |
||
311 | |||
312 | /** |
||
313 | * @brief CRC calculation unit |
||
314 | */ |
||
315 | |||
316 | typedef struct |
||
317 | { |
||
318 | __IO uint32_t DR; /*!< CRC Data register, Address offset: 0x00 */ |
||
319 | __IO uint8_t IDR; /*!< CRC Independent data register, Address offset: 0x04 */ |
||
320 | uint8_t RESERVED0; /*!< Reserved, Address offset: 0x05 */ |
||
321 | uint16_t RESERVED1; /*!< Reserved, Address offset: 0x06 */ |
||
322 | __IO uint32_t CR; /*!< CRC Control register, Address offset: 0x08 */ |
||
323 | } CRC_TypeDef; |
||
324 | |||
325 | /** |
||
326 | * @brief Digital to Analog Converter |
||
327 | */ |
||
328 | |||
329 | typedef struct |
||
330 | { |
||
331 | __IO uint32_t CR; |
||
332 | __IO uint32_t SWTRIGR; |
||
333 | __IO uint32_t DHR12R1; |
||
334 | __IO uint32_t DHR12L1; |
||
335 | __IO uint32_t DHR8R1; |
||
336 | __IO uint32_t DHR12R2; |
||
337 | __IO uint32_t DHR12L2; |
||
338 | __IO uint32_t DHR8R2; |
||
339 | __IO uint32_t DHR12RD; |
||
340 | __IO uint32_t DHR12LD; |
||
341 | __IO uint32_t DHR8RD; |
||
342 | __IO uint32_t DOR1; |
||
343 | __IO uint32_t DOR2; |
||
344 | } DAC_TypeDef; |
||
345 | |||
346 | /** |
||
347 | * @brief Debug MCU |
||
348 | */ |
||
349 | |||
350 | typedef struct |
||
351 | { |
||
352 | __IO uint32_t IDCODE; |
||
353 | __IO uint32_t CR; |
||
354 | }DBGMCU_TypeDef; |
||
355 | |||
356 | /** |
||
357 | * @brief DMA Controller |
||
358 | */ |
||
359 | |||
360 | typedef struct |
||
361 | { |
||
362 | __IO uint32_t CCR; |
||
363 | __IO uint32_t CNDTR; |
||
364 | __IO uint32_t CPAR; |
||
365 | __IO uint32_t CMAR; |
||
366 | } DMA_Channel_TypeDef; |
||
367 | |||
368 | typedef struct |
||
369 | { |
||
370 | __IO uint32_t ISR; |
||
371 | __IO uint32_t IFCR; |
||
372 | } DMA_TypeDef; |
||
373 | |||
374 | |||
375 | |||
376 | /** |
||
377 | * @brief External Interrupt/Event Controller |
||
378 | */ |
||
379 | |||
380 | typedef struct |
||
381 | { |
||
382 | __IO uint32_t IMR; |
||
383 | __IO uint32_t EMR; |
||
384 | __IO uint32_t RTSR; |
||
385 | __IO uint32_t FTSR; |
||
386 | __IO uint32_t SWIER; |
||
387 | __IO uint32_t PR; |
||
388 | } EXTI_TypeDef; |
||
389 | |||
390 | /** |
||
391 | * @brief FLASH Registers |
||
392 | */ |
||
393 | |||
394 | typedef struct |
||
395 | { |
||
396 | __IO uint32_t ACR; |
||
397 | __IO uint32_t KEYR; |
||
398 | __IO uint32_t OPTKEYR; |
||
399 | __IO uint32_t SR; |
||
400 | __IO uint32_t CR; |
||
401 | __IO uint32_t AR; |
||
402 | __IO uint32_t RESERVED; |
||
403 | __IO uint32_t OBR; |
||
404 | __IO uint32_t WRPR; |
||
405 | } FLASH_TypeDef; |
||
406 | |||
407 | /** |
||
408 | * @brief Option Bytes Registers |
||
409 | */ |
||
410 | |||
411 | typedef struct |
||
412 | { |
||
413 | __IO uint16_t RDP; |
||
414 | __IO uint16_t USER; |
||
415 | __IO uint16_t Data0; |
||
416 | __IO uint16_t Data1; |
||
417 | __IO uint16_t WRP0; |
||
418 | __IO uint16_t WRP1; |
||
419 | __IO uint16_t WRP2; |
||
420 | __IO uint16_t WRP3; |
||
421 | } OB_TypeDef; |
||
422 | |||
423 | /** |
||
424 | * @brief General Purpose I/O |
||
425 | */ |
||
426 | |||
427 | typedef struct |
||
428 | { |
||
429 | __IO uint32_t CRL; |
||
430 | __IO uint32_t CRH; |
||
431 | __IO uint32_t IDR; |
||
432 | __IO uint32_t ODR; |
||
433 | __IO uint32_t BSRR; |
||
434 | __IO uint32_t BRR; |
||
435 | __IO uint32_t LCKR; |
||
436 | } GPIO_TypeDef; |
||
437 | |||
438 | /** |
||
439 | * @brief Alternate Function I/O |
||
440 | */ |
||
441 | |||
442 | typedef struct |
||
443 | { |
||
444 | __IO uint32_t EVCR; |
||
445 | __IO uint32_t MAPR; |
||
446 | __IO uint32_t EXTICR[4]; |
||
447 | uint32_t RESERVED0; |
||
448 | __IO uint32_t MAPR2; |
||
449 | } AFIO_TypeDef; |
||
450 | /** |
||
451 | * @brief Inter Integrated Circuit Interface |
||
452 | */ |
||
453 | |||
454 | typedef struct |
||
455 | { |
||
456 | __IO uint32_t CR1; |
||
457 | __IO uint32_t CR2; |
||
458 | __IO uint32_t OAR1; |
||
459 | __IO uint32_t OAR2; |
||
460 | __IO uint32_t DR; |
||
461 | __IO uint32_t SR1; |
||
462 | __IO uint32_t SR2; |
||
463 | __IO uint32_t CCR; |
||
464 | __IO uint32_t TRISE; |
||
465 | } I2C_TypeDef; |
||
466 | |||
467 | /** |
||
468 | * @brief Independent WATCHDOG |
||
469 | */ |
||
470 | |||
471 | typedef struct |
||
472 | { |
||
473 | __IO uint32_t KR; /*!< Key register, Address offset: 0x00 */ |
||
474 | __IO uint32_t PR; /*!< Prescaler register, Address offset: 0x04 */ |
||
475 | __IO uint32_t RLR; /*!< Reload register, Address offset: 0x08 */ |
||
476 | __IO uint32_t SR; /*!< Status register, Address offset: 0x0C */ |
||
477 | } IWDG_TypeDef; |
||
478 | |||
479 | /** |
||
480 | * @brief Power Control |
||
481 | */ |
||
482 | |||
483 | typedef struct |
||
484 | { |
||
485 | __IO uint32_t CR; |
||
486 | __IO uint32_t CSR; |
||
487 | } PWR_TypeDef; |
||
488 | |||
489 | /** |
||
490 | * @brief Reset and Clock Control |
||
491 | */ |
||
492 | |||
493 | typedef struct |
||
494 | { |
||
495 | __IO uint32_t CR; |
||
496 | __IO uint32_t CFGR; |
||
497 | __IO uint32_t CIR; |
||
498 | __IO uint32_t APB2RSTR; |
||
499 | __IO uint32_t APB1RSTR; |
||
500 | __IO uint32_t AHBENR; |
||
501 | __IO uint32_t APB2ENR; |
||
502 | __IO uint32_t APB1ENR; |
||
503 | __IO uint32_t BDCR; |
||
504 | __IO uint32_t CSR; |
||
505 | |||
506 | __IO uint32_t AHBRSTR; |
||
507 | __IO uint32_t CFGR2; |
||
508 | |||
509 | } RCC_TypeDef; |
||
510 | |||
511 | /** |
||
512 | * @brief Real-Time Clock |
||
513 | */ |
||
514 | |||
515 | typedef struct |
||
516 | { |
||
517 | __IO uint32_t CRH; |
||
518 | __IO uint32_t CRL; |
||
519 | __IO uint32_t PRLH; |
||
520 | __IO uint32_t PRLL; |
||
521 | __IO uint32_t DIVH; |
||
522 | __IO uint32_t DIVL; |
||
523 | __IO uint32_t CNTH; |
||
524 | __IO uint32_t CNTL; |
||
525 | __IO uint32_t ALRH; |
||
526 | __IO uint32_t ALRL; |
||
527 | } RTC_TypeDef; |
||
528 | |||
529 | /** |
||
530 | * @brief Serial Peripheral Interface |
||
531 | */ |
||
532 | |||
533 | typedef struct |
||
534 | { |
||
535 | __IO uint32_t CR1; |
||
536 | __IO uint32_t CR2; |
||
537 | __IO uint32_t SR; |
||
538 | __IO uint32_t DR; |
||
539 | __IO uint32_t CRCPR; |
||
540 | __IO uint32_t RXCRCR; |
||
541 | __IO uint32_t TXCRCR; |
||
542 | __IO uint32_t I2SCFGR; |
||
543 | __IO uint32_t I2SPR; |
||
544 | } SPI_TypeDef; |
||
545 | |||
546 | /** |
||
547 | * @brief TIM Timers |
||
548 | */ |
||
549 | typedef struct |
||
550 | { |
||
551 | __IO uint32_t CR1; /*!< TIM control register 1, Address offset: 0x00 */ |
||
552 | __IO uint32_t CR2; /*!< TIM control register 2, Address offset: 0x04 */ |
||
553 | __IO uint32_t SMCR; /*!< TIM slave Mode Control register, Address offset: 0x08 */ |
||
554 | __IO uint32_t DIER; /*!< TIM DMA/interrupt enable register, Address offset: 0x0C */ |
||
555 | __IO uint32_t SR; /*!< TIM status register, Address offset: 0x10 */ |
||
556 | __IO uint32_t EGR; /*!< TIM event generation register, Address offset: 0x14 */ |
||
557 | __IO uint32_t CCMR1; /*!< TIM capture/compare mode register 1, Address offset: 0x18 */ |
||
558 | __IO uint32_t CCMR2; /*!< TIM capture/compare mode register 2, Address offset: 0x1C */ |
||
559 | __IO uint32_t CCER; /*!< TIM capture/compare enable register, Address offset: 0x20 */ |
||
560 | __IO uint32_t CNT; /*!< TIM counter register, Address offset: 0x24 */ |
||
561 | __IO uint32_t PSC; /*!< TIM prescaler register, Address offset: 0x28 */ |
||
562 | __IO uint32_t ARR; /*!< TIM auto-reload register, Address offset: 0x2C */ |
||
563 | __IO uint32_t RCR; /*!< TIM repetition counter register, Address offset: 0x30 */ |
||
564 | __IO uint32_t CCR1; /*!< TIM capture/compare register 1, Address offset: 0x34 */ |
||
565 | __IO uint32_t CCR2; /*!< TIM capture/compare register 2, Address offset: 0x38 */ |
||
566 | __IO uint32_t CCR3; /*!< TIM capture/compare register 3, Address offset: 0x3C */ |
||
567 | __IO uint32_t CCR4; /*!< TIM capture/compare register 4, Address offset: 0x40 */ |
||
568 | __IO uint32_t BDTR; /*!< TIM break and dead-time register, Address offset: 0x44 */ |
||
569 | __IO uint32_t DCR; /*!< TIM DMA control register, Address offset: 0x48 */ |
||
570 | __IO uint32_t DMAR; /*!< TIM DMA address for full transfer register, Address offset: 0x4C */ |
||
571 | __IO uint32_t OR; /*!< TIM option register, Address offset: 0x50 */ |
||
572 | }TIM_TypeDef; |
||
573 | |||
574 | |||
575 | /** |
||
576 | * @brief Universal Synchronous Asynchronous Receiver Transmitter |
||
577 | */ |
||
578 | |||
579 | typedef struct |
||
580 | { |
||
581 | __IO uint32_t SR; /*!< USART Status register, Address offset: 0x00 */ |
||
582 | __IO uint32_t DR; /*!< USART Data register, Address offset: 0x04 */ |
||
583 | __IO uint32_t BRR; /*!< USART Baud rate register, Address offset: 0x08 */ |
||
584 | __IO uint32_t CR1; /*!< USART Control register 1, Address offset: 0x0C */ |
||
585 | __IO uint32_t CR2; /*!< USART Control register 2, Address offset: 0x10 */ |
||
586 | __IO uint32_t CR3; /*!< USART Control register 3, Address offset: 0x14 */ |
||
587 | __IO uint32_t GTPR; /*!< USART Guard time and prescaler register, Address offset: 0x18 */ |
||
588 | } USART_TypeDef; |
||
589 | |||
590 | |||
591 | /** |
||
592 | * @brief __USB_OTG_Core_register |
||
593 | */ |
||
594 | |||
595 | typedef struct |
||
596 | { |
||
597 | __IO uint32_t GOTGCTL; /*!< USB_OTG Control and Status Register Address offset: 000h */ |
||
598 | __IO uint32_t GOTGINT; /*!< USB_OTG Interrupt Register Address offset: 004h */ |
||
599 | __IO uint32_t GAHBCFG; /*!< Core AHB Configuration Register Address offset: 008h */ |
||
600 | __IO uint32_t GUSBCFG; /*!< Core USB Configuration Register Address offset: 00Ch */ |
||
601 | __IO uint32_t GRSTCTL; /*!< Core Reset Register Address offset: 010h */ |
||
602 | __IO uint32_t GINTSTS; /*!< Core Interrupt Register Address offset: 014h */ |
||
603 | __IO uint32_t GINTMSK; /*!< Core Interrupt Mask Register Address offset: 018h */ |
||
604 | __IO uint32_t GRXSTSR; /*!< Receive Sts Q Read Register Address offset: 01Ch */ |
||
605 | __IO uint32_t GRXSTSP; /*!< Receive Sts Q Read & POP Register Address offset: 020h */ |
||
606 | __IO uint32_t GRXFSIZ; /*!< Receive FIFO Size Register Address offset: 024h */ |
||
607 | __IO uint32_t DIEPTXF0_HNPTXFSIZ; /*!< EP0 / Non Periodic Tx FIFO Size Register Address offset: 028h */ |
||
608 | __IO uint32_t HNPTXSTS; /*!< Non Periodic Tx FIFO/Queue Sts reg Address offset: 02Ch */ |
||
609 | uint32_t Reserved30[2]; /*!< Reserved 030h*/ |
||
610 | __IO uint32_t GCCFG; /*!< General Purpose IO Register Address offset: 038h */ |
||
611 | __IO uint32_t CID; /*!< User ID Register Address offset: 03Ch */ |
||
612 | uint32_t Reserved40[48]; /*!< Reserved 040h-0FFh */ |
||
613 | __IO uint32_t HPTXFSIZ; /*!< Host Periodic Tx FIFO Size Reg Address offset: 100h */ |
||
614 | __IO uint32_t DIEPTXF[0x0F]; /*!< dev Periodic Transmit FIFO Address offset: 0x104 */ |
||
615 | } USB_OTG_GlobalTypeDef; |
||
616 | |||
617 | /** |
||
618 | * @brief __device_Registers |
||
619 | */ |
||
620 | |||
621 | typedef struct |
||
622 | { |
||
623 | __IO uint32_t DCFG; /*!< dev Configuration Register Address offset: 800h*/ |
||
624 | __IO uint32_t DCTL; /*!< dev Control Register Address offset: 804h*/ |
||
625 | __IO uint32_t DSTS; /*!< dev Status Register (RO) Address offset: 808h*/ |
||
626 | uint32_t Reserved0C; /*!< Reserved 80Ch*/ |
||
627 | __IO uint32_t DIEPMSK; /*!< dev IN Endpoint Mask Address offset: 810h*/ |
||
628 | __IO uint32_t DOEPMSK; /*!< dev OUT Endpoint Mask Address offset: 814h*/ |
||
629 | __IO uint32_t DAINT; /*!< dev All Endpoints Itr Reg Address offset: 818h*/ |
||
630 | __IO uint32_t DAINTMSK; /*!< dev All Endpoints Itr Mask Address offset: 81Ch*/ |
||
631 | uint32_t Reserved20; /*!< Reserved 820h*/ |
||
632 | uint32_t Reserved9; /*!< Reserved 824h*/ |
||
633 | __IO uint32_t DVBUSDIS; /*!< dev VBUS discharge Register Address offset: 828h*/ |
||
634 | __IO uint32_t DVBUSPULSE; /*!< dev VBUS Pulse Register Address offset: 82Ch*/ |
||
635 | __IO uint32_t DTHRCTL; /*!< dev thr Address offset: 830h*/ |
||
636 | __IO uint32_t DIEPEMPMSK; /*!< dev empty msk Address offset: 834h*/ |
||
637 | __IO uint32_t DEACHINT; /*!< dedicated EP interrupt Address offset: 838h*/ |
||
638 | __IO uint32_t DEACHMSK; /*!< dedicated EP msk Address offset: 83Ch*/ |
||
639 | uint32_t Reserved40; /*!< dedicated EP mask Address offset: 840h*/ |
||
640 | __IO uint32_t DINEP1MSK; /*!< dedicated EP mask Address offset: 844h*/ |
||
641 | uint32_t Reserved44[15]; /*!< Reserved 844-87Ch*/ |
||
642 | __IO uint32_t DOUTEP1MSK; /*!< dedicated EP msk Address offset: 884h*/ |
||
643 | } USB_OTG_DeviceTypeDef; |
||
644 | |||
645 | /** |
||
646 | * @brief __IN_Endpoint-Specific_Register |
||
647 | */ |
||
648 | |||
649 | typedef struct |
||
650 | { |
||
651 | __IO uint32_t DIEPCTL; /*!< dev IN Endpoint Control Reg 900h + (ep_num * 20h) + 00h*/ |
||
652 | uint32_t Reserved04; /*!< Reserved 900h + (ep_num * 20h) + 04h*/ |
||
653 | __IO uint32_t DIEPINT; /*!< dev IN Endpoint Itr Reg 900h + (ep_num * 20h) + 08h*/ |
||
654 | uint32_t Reserved0C; /*!< Reserved 900h + (ep_num * 20h) + 0Ch*/ |
||
655 | __IO uint32_t DIEPTSIZ; /*!< IN Endpoint Txfer Size 900h + (ep_num * 20h) + 10h*/ |
||
656 | __IO uint32_t DIEPDMA; /*!< IN Endpoint DMA Address Reg 900h + (ep_num * 20h) + 14h*/ |
||
657 | __IO uint32_t DTXFSTS; /*!< IN Endpoint Tx FIFO Status Reg 900h + (ep_num * 20h) + 18h*/ |
||
658 | uint32_t Reserved18; /*!< Reserved 900h+(ep_num*20h)+1Ch-900h+ (ep_num * 20h) + 1Ch*/ |
||
659 | } USB_OTG_INEndpointTypeDef; |
||
660 | |||
661 | /** |
||
662 | * @brief __OUT_Endpoint-Specific_Registers |
||
663 | */ |
||
664 | |||
665 | typedef struct |
||
666 | { |
||
667 | __IO uint32_t DOEPCTL; /*!< dev OUT Endpoint Control Reg B00h + (ep_num * 20h) + 00h*/ |
||
668 | uint32_t Reserved04; /*!< Reserved B00h + (ep_num * 20h) + 04h*/ |
||
669 | __IO uint32_t DOEPINT; /*!< dev OUT Endpoint Itr Reg B00h + (ep_num * 20h) + 08h*/ |
||
670 | uint32_t Reserved0C; /*!< Reserved B00h + (ep_num * 20h) + 0Ch*/ |
||
671 | __IO uint32_t DOEPTSIZ; /*!< dev OUT Endpoint Txfer Size B00h + (ep_num * 20h) + 10h*/ |
||
672 | __IO uint32_t DOEPDMA; /*!< dev OUT Endpoint DMA Address B00h + (ep_num * 20h) + 14h*/ |
||
673 | uint32_t Reserved18[2]; /*!< Reserved B00h + (ep_num * 20h) + 18h - B00h + (ep_num * 20h) + 1Ch*/ |
||
674 | } USB_OTG_OUTEndpointTypeDef; |
||
675 | |||
676 | /** |
||
677 | * @brief __Host_Mode_Register_Structures |
||
678 | */ |
||
679 | |||
680 | typedef struct |
||
681 | { |
||
682 | __IO uint32_t HCFG; /*!< Host Configuration Register 400h*/ |
||
683 | __IO uint32_t HFIR; /*!< Host Frame Interval Register 404h*/ |
||
684 | __IO uint32_t HFNUM; /*!< Host Frame Nbr/Frame Remaining 408h*/ |
||
685 | uint32_t Reserved40C; /*!< Reserved 40Ch*/ |
||
686 | __IO uint32_t HPTXSTS; /*!< Host Periodic Tx FIFO/ Queue Status 410h*/ |
||
687 | __IO uint32_t HAINT; /*!< Host All Channels Interrupt Register 414h*/ |
||
688 | __IO uint32_t HAINTMSK; /*!< Host All Channels Interrupt Mask 418h*/ |
||
689 | } USB_OTG_HostTypeDef; |
||
690 | |||
691 | /** |
||
692 | * @brief __Host_Channel_Specific_Registers |
||
693 | */ |
||
694 | |||
695 | typedef struct |
||
696 | { |
||
697 | __IO uint32_t HCCHAR; |
||
698 | __IO uint32_t HCSPLT; |
||
699 | __IO uint32_t HCINT; |
||
700 | __IO uint32_t HCINTMSK; |
||
701 | __IO uint32_t HCTSIZ; |
||
702 | __IO uint32_t HCDMA; |
||
703 | uint32_t Reserved[2]; |
||
704 | } USB_OTG_HostChannelTypeDef; |
||
705 | |||
706 | /** |
||
707 | * @brief Window WATCHDOG |
||
708 | */ |
||
709 | |||
710 | typedef struct |
||
711 | { |
||
712 | __IO uint32_t CR; /*!< WWDG Control register, Address offset: 0x00 */ |
||
713 | __IO uint32_t CFR; /*!< WWDG Configuration register, Address offset: 0x04 */ |
||
714 | __IO uint32_t SR; /*!< WWDG Status register, Address offset: 0x08 */ |
||
715 | } WWDG_TypeDef; |
||
716 | |||
717 | /** |
||
718 | * @} |
||
719 | */ |
||
720 | |||
721 | /** @addtogroup Peripheral_memory_map |
||
722 | * @{ |
||
723 | */ |
||
724 | |||
725 | |||
9 | mjames | 726 | #define FLASH_BASE 0x08000000UL /*!< FLASH base address in the alias region */ |
727 | #define FLASH_BANK1_END 0x0803FFFFUL /*!< FLASH END address of bank1 */ |
||
728 | #define SRAM_BASE 0x20000000UL /*!< SRAM base address in the alias region */ |
||
729 | #define PERIPH_BASE 0x40000000UL /*!< Peripheral base address in the alias region */ |
||
2 | mjames | 730 | |
9 | mjames | 731 | #define SRAM_BB_BASE 0x22000000UL /*!< SRAM base address in the bit-band region */ |
732 | #define PERIPH_BB_BASE 0x42000000UL /*!< Peripheral base address in the bit-band region */ |
||
2 | mjames | 733 | |
734 | |||
735 | /*!< Peripheral memory map */ |
||
736 | #define APB1PERIPH_BASE PERIPH_BASE |
||
9 | mjames | 737 | #define APB2PERIPH_BASE (PERIPH_BASE + 0x00010000UL) |
738 | #define AHBPERIPH_BASE (PERIPH_BASE + 0x00020000UL) |
||
2 | mjames | 739 | |
9 | mjames | 740 | #define TIM2_BASE (APB1PERIPH_BASE + 0x00000000UL) |
741 | #define TIM3_BASE (APB1PERIPH_BASE + 0x00000400UL) |
||
742 | #define TIM4_BASE (APB1PERIPH_BASE + 0x00000800UL) |
||
743 | #define TIM5_BASE (APB1PERIPH_BASE + 0x00000C00UL) |
||
744 | #define TIM6_BASE (APB1PERIPH_BASE + 0x00001000UL) |
||
745 | #define TIM7_BASE (APB1PERIPH_BASE + 0x00001400UL) |
||
746 | #define RTC_BASE (APB1PERIPH_BASE + 0x00002800UL) |
||
747 | #define WWDG_BASE (APB1PERIPH_BASE + 0x00002C00UL) |
||
748 | #define IWDG_BASE (APB1PERIPH_BASE + 0x00003000UL) |
||
749 | #define SPI2_BASE (APB1PERIPH_BASE + 0x00003800UL) |
||
750 | #define SPI3_BASE (APB1PERIPH_BASE + 0x00003C00UL) |
||
751 | #define USART2_BASE (APB1PERIPH_BASE + 0x00004400UL) |
||
752 | #define USART3_BASE (APB1PERIPH_BASE + 0x00004800UL) |
||
753 | #define UART4_BASE (APB1PERIPH_BASE + 0x00004C00UL) |
||
754 | #define UART5_BASE (APB1PERIPH_BASE + 0x00005000UL) |
||
755 | #define I2C1_BASE (APB1PERIPH_BASE + 0x00005400UL) |
||
756 | #define I2C2_BASE (APB1PERIPH_BASE + 0x00005800UL) |
||
757 | #define CAN1_BASE (APB1PERIPH_BASE + 0x00006400UL) |
||
758 | #define CAN2_BASE (APB1PERIPH_BASE + 0x00006800UL) |
||
759 | #define BKP_BASE (APB1PERIPH_BASE + 0x00006C00UL) |
||
760 | #define PWR_BASE (APB1PERIPH_BASE + 0x00007000UL) |
||
761 | #define DAC_BASE (APB1PERIPH_BASE + 0x00007400UL) |
||
762 | #define AFIO_BASE (APB2PERIPH_BASE + 0x00000000UL) |
||
763 | #define EXTI_BASE (APB2PERIPH_BASE + 0x00000400UL) |
||
764 | #define GPIOA_BASE (APB2PERIPH_BASE + 0x00000800UL) |
||
765 | #define GPIOB_BASE (APB2PERIPH_BASE + 0x00000C00UL) |
||
766 | #define GPIOC_BASE (APB2PERIPH_BASE + 0x00001000UL) |
||
767 | #define GPIOD_BASE (APB2PERIPH_BASE + 0x00001400UL) |
||
768 | #define GPIOE_BASE (APB2PERIPH_BASE + 0x00001800UL) |
||
769 | #define ADC1_BASE (APB2PERIPH_BASE + 0x00002400UL) |
||
770 | #define ADC2_BASE (APB2PERIPH_BASE + 0x00002800UL) |
||
771 | #define TIM1_BASE (APB2PERIPH_BASE + 0x00002C00UL) |
||
772 | #define SPI1_BASE (APB2PERIPH_BASE + 0x00003000UL) |
||
773 | #define USART1_BASE (APB2PERIPH_BASE + 0x00003800UL) |
||
2 | mjames | 774 | |
775 | |||
9 | mjames | 776 | #define DMA1_BASE (AHBPERIPH_BASE + 0x00000000UL) |
777 | #define DMA1_Channel1_BASE (AHBPERIPH_BASE + 0x00000008UL) |
||
778 | #define DMA1_Channel2_BASE (AHBPERIPH_BASE + 0x0000001CUL) |
||
779 | #define DMA1_Channel3_BASE (AHBPERIPH_BASE + 0x00000030UL) |
||
780 | #define DMA1_Channel4_BASE (AHBPERIPH_BASE + 0x00000044UL) |
||
781 | #define DMA1_Channel5_BASE (AHBPERIPH_BASE + 0x00000058UL) |
||
782 | #define DMA1_Channel6_BASE (AHBPERIPH_BASE + 0x0000006CUL) |
||
783 | #define DMA1_Channel7_BASE (AHBPERIPH_BASE + 0x00000080UL) |
||
784 | #define DMA2_BASE (AHBPERIPH_BASE + 0x00000400UL) |
||
785 | #define DMA2_Channel1_BASE (AHBPERIPH_BASE + 0x00000408UL) |
||
786 | #define DMA2_Channel2_BASE (AHBPERIPH_BASE + 0x0000041CUL) |
||
787 | #define DMA2_Channel3_BASE (AHBPERIPH_BASE + 0x00000430UL) |
||
788 | #define DMA2_Channel4_BASE (AHBPERIPH_BASE + 0x00000444UL) |
||
789 | #define DMA2_Channel5_BASE (AHBPERIPH_BASE + 0x00000458UL) |
||
790 | #define RCC_BASE (AHBPERIPH_BASE + 0x00001000UL) |
||
791 | #define CRC_BASE (AHBPERIPH_BASE + 0x00003000UL) |
||
2 | mjames | 792 | |
9 | mjames | 793 | #define FLASH_R_BASE (AHBPERIPH_BASE + 0x00002000UL) /*!< Flash registers base address */ |
794 | #define FLASHSIZE_BASE 0x1FFFF7E0UL /*!< FLASH Size register base address */ |
||
795 | #define UID_BASE 0x1FFFF7E8UL /*!< Unique device ID register base address */ |
||
796 | #define OB_BASE 0x1FFFF800UL /*!< Flash Option Bytes base address */ |
||
2 | mjames | 797 | |
798 | |||
799 | |||
9 | mjames | 800 | #define DBGMCU_BASE 0xE0042000UL /*!< Debug MCU registers base address */ |
2 | mjames | 801 | |
802 | |||
803 | /*!< USB registers base address */ |
||
9 | mjames | 804 | #define USB_OTG_FS_PERIPH_BASE 0x50000000UL |
2 | mjames | 805 | |
9 | mjames | 806 | #define USB_OTG_GLOBAL_BASE 0x00000000UL |
807 | #define USB_OTG_DEVICE_BASE 0x00000800UL |
||
808 | #define USB_OTG_IN_ENDPOINT_BASE 0x00000900UL |
||
809 | #define USB_OTG_OUT_ENDPOINT_BASE 0x00000B00UL |
||
810 | #define USB_OTG_EP_REG_SIZE 0x00000020UL |
||
811 | #define USB_OTG_HOST_BASE 0x00000400UL |
||
812 | #define USB_OTG_HOST_PORT_BASE 0x00000440UL |
||
813 | #define USB_OTG_HOST_CHANNEL_BASE 0x00000500UL |
||
814 | #define USB_OTG_HOST_CHANNEL_SIZE 0x00000020UL |
||
815 | #define USB_OTG_PCGCCTL_BASE 0x00000E00UL |
||
816 | #define USB_OTG_FIFO_BASE 0x00001000UL |
||
817 | #define USB_OTG_FIFO_SIZE 0x00001000UL |
||
2 | mjames | 818 | |
819 | /** |
||
820 | * @} |
||
821 | */ |
||
822 | |||
823 | /** @addtogroup Peripheral_declaration |
||
824 | * @{ |
||
825 | */ |
||
826 | |||
827 | #define TIM2 ((TIM_TypeDef *)TIM2_BASE) |
||
828 | #define TIM3 ((TIM_TypeDef *)TIM3_BASE) |
||
829 | #define TIM4 ((TIM_TypeDef *)TIM4_BASE) |
||
830 | #define TIM5 ((TIM_TypeDef *)TIM5_BASE) |
||
831 | #define TIM6 ((TIM_TypeDef *)TIM6_BASE) |
||
832 | #define TIM7 ((TIM_TypeDef *)TIM7_BASE) |
||
833 | #define RTC ((RTC_TypeDef *)RTC_BASE) |
||
834 | #define WWDG ((WWDG_TypeDef *)WWDG_BASE) |
||
835 | #define IWDG ((IWDG_TypeDef *)IWDG_BASE) |
||
836 | #define SPI2 ((SPI_TypeDef *)SPI2_BASE) |
||
837 | #define SPI3 ((SPI_TypeDef *)SPI3_BASE) |
||
838 | #define USART2 ((USART_TypeDef *)USART2_BASE) |
||
839 | #define USART3 ((USART_TypeDef *)USART3_BASE) |
||
840 | #define UART4 ((USART_TypeDef *)UART4_BASE) |
||
841 | #define UART5 ((USART_TypeDef *)UART5_BASE) |
||
842 | #define I2C1 ((I2C_TypeDef *)I2C1_BASE) |
||
843 | #define I2C2 ((I2C_TypeDef *)I2C2_BASE) |
||
844 | #define CAN1 ((CAN_TypeDef *)CAN1_BASE) |
||
845 | #define CAN2 ((CAN_TypeDef *)CAN2_BASE) |
||
846 | #define BKP ((BKP_TypeDef *)BKP_BASE) |
||
847 | #define PWR ((PWR_TypeDef *)PWR_BASE) |
||
848 | #define DAC1 ((DAC_TypeDef *)DAC_BASE) |
||
849 | #define DAC ((DAC_TypeDef *)DAC_BASE) /* Kept for legacy purpose */ |
||
850 | #define AFIO ((AFIO_TypeDef *)AFIO_BASE) |
||
851 | #define EXTI ((EXTI_TypeDef *)EXTI_BASE) |
||
852 | #define GPIOA ((GPIO_TypeDef *)GPIOA_BASE) |
||
853 | #define GPIOB ((GPIO_TypeDef *)GPIOB_BASE) |
||
854 | #define GPIOC ((GPIO_TypeDef *)GPIOC_BASE) |
||
855 | #define GPIOD ((GPIO_TypeDef *)GPIOD_BASE) |
||
856 | #define GPIOE ((GPIO_TypeDef *)GPIOE_BASE) |
||
857 | #define ADC1 ((ADC_TypeDef *)ADC1_BASE) |
||
858 | #define ADC2 ((ADC_TypeDef *)ADC2_BASE) |
||
859 | #define ADC12_COMMON ((ADC_Common_TypeDef *)ADC1_BASE) |
||
860 | #define TIM1 ((TIM_TypeDef *)TIM1_BASE) |
||
861 | #define SPI1 ((SPI_TypeDef *)SPI1_BASE) |
||
862 | #define USART1 ((USART_TypeDef *)USART1_BASE) |
||
863 | #define DMA1 ((DMA_TypeDef *)DMA1_BASE) |
||
864 | #define DMA2 ((DMA_TypeDef *)DMA2_BASE) |
||
865 | #define DMA1_Channel1 ((DMA_Channel_TypeDef *)DMA1_Channel1_BASE) |
||
866 | #define DMA1_Channel2 ((DMA_Channel_TypeDef *)DMA1_Channel2_BASE) |
||
867 | #define DMA1_Channel3 ((DMA_Channel_TypeDef *)DMA1_Channel3_BASE) |
||
868 | #define DMA1_Channel4 ((DMA_Channel_TypeDef *)DMA1_Channel4_BASE) |
||
869 | #define DMA1_Channel5 ((DMA_Channel_TypeDef *)DMA1_Channel5_BASE) |
||
870 | #define DMA1_Channel6 ((DMA_Channel_TypeDef *)DMA1_Channel6_BASE) |
||
871 | #define DMA1_Channel7 ((DMA_Channel_TypeDef *)DMA1_Channel7_BASE) |
||
872 | #define DMA2_Channel1 ((DMA_Channel_TypeDef *)DMA2_Channel1_BASE) |
||
873 | #define DMA2_Channel2 ((DMA_Channel_TypeDef *)DMA2_Channel2_BASE) |
||
874 | #define DMA2_Channel3 ((DMA_Channel_TypeDef *)DMA2_Channel3_BASE) |
||
875 | #define DMA2_Channel4 ((DMA_Channel_TypeDef *)DMA2_Channel4_BASE) |
||
876 | #define DMA2_Channel5 ((DMA_Channel_TypeDef *)DMA2_Channel5_BASE) |
||
877 | #define RCC ((RCC_TypeDef *)RCC_BASE) |
||
878 | #define CRC ((CRC_TypeDef *)CRC_BASE) |
||
879 | #define FLASH ((FLASH_TypeDef *)FLASH_R_BASE) |
||
880 | #define OB ((OB_TypeDef *)OB_BASE) |
||
881 | #define DBGMCU ((DBGMCU_TypeDef *)DBGMCU_BASE) |
||
882 | |||
883 | #define USB_OTG_FS ((USB_OTG_GlobalTypeDef *)USB_OTG_FS_PERIPH_BASE) |
||
884 | |||
885 | /** |
||
886 | * @} |
||
887 | */ |
||
888 | |||
889 | /** @addtogroup Exported_constants |
||
890 | * @{ |
||
891 | */ |
||
892 | |||
893 | /** @addtogroup Peripheral_Registers_Bits_Definition |
||
894 | * @{ |
||
895 | */ |
||
896 | |||
897 | /******************************************************************************/ |
||
898 | /* Peripheral Registers_Bits_Definition */ |
||
899 | /******************************************************************************/ |
||
900 | |||
901 | /******************************************************************************/ |
||
902 | /* */ |
||
903 | /* CRC calculation unit (CRC) */ |
||
904 | /* */ |
||
905 | /******************************************************************************/ |
||
906 | |||
907 | /******************* Bit definition for CRC_DR register *********************/ |
||
908 | #define CRC_DR_DR_Pos (0U) |
||
9 | mjames | 909 | #define CRC_DR_DR_Msk (0xFFFFFFFFUL << CRC_DR_DR_Pos) /*!< 0xFFFFFFFF */ |
2 | mjames | 910 | #define CRC_DR_DR CRC_DR_DR_Msk /*!< Data register bits */ |
911 | |||
912 | /******************* Bit definition for CRC_IDR register ********************/ |
||
913 | #define CRC_IDR_IDR_Pos (0U) |
||
9 | mjames | 914 | #define CRC_IDR_IDR_Msk (0xFFUL << CRC_IDR_IDR_Pos) /*!< 0x000000FF */ |
2 | mjames | 915 | #define CRC_IDR_IDR CRC_IDR_IDR_Msk /*!< General-purpose 8-bit data register bits */ |
916 | |||
917 | /******************** Bit definition for CRC_CR register ********************/ |
||
918 | #define CRC_CR_RESET_Pos (0U) |
||
9 | mjames | 919 | #define CRC_CR_RESET_Msk (0x1UL << CRC_CR_RESET_Pos) /*!< 0x00000001 */ |
2 | mjames | 920 | #define CRC_CR_RESET CRC_CR_RESET_Msk /*!< RESET bit */ |
921 | |||
922 | /******************************************************************************/ |
||
923 | /* */ |
||
924 | /* Power Control */ |
||
925 | /* */ |
||
926 | /******************************************************************************/ |
||
927 | |||
928 | /******************** Bit definition for PWR_CR register ********************/ |
||
929 | #define PWR_CR_LPDS_Pos (0U) |
||
9 | mjames | 930 | #define PWR_CR_LPDS_Msk (0x1UL << PWR_CR_LPDS_Pos) /*!< 0x00000001 */ |
2 | mjames | 931 | #define PWR_CR_LPDS PWR_CR_LPDS_Msk /*!< Low-Power Deepsleep */ |
932 | #define PWR_CR_PDDS_Pos (1U) |
||
9 | mjames | 933 | #define PWR_CR_PDDS_Msk (0x1UL << PWR_CR_PDDS_Pos) /*!< 0x00000002 */ |
2 | mjames | 934 | #define PWR_CR_PDDS PWR_CR_PDDS_Msk /*!< Power Down Deepsleep */ |
935 | #define PWR_CR_CWUF_Pos (2U) |
||
9 | mjames | 936 | #define PWR_CR_CWUF_Msk (0x1UL << PWR_CR_CWUF_Pos) /*!< 0x00000004 */ |
2 | mjames | 937 | #define PWR_CR_CWUF PWR_CR_CWUF_Msk /*!< Clear Wakeup Flag */ |
938 | #define PWR_CR_CSBF_Pos (3U) |
||
9 | mjames | 939 | #define PWR_CR_CSBF_Msk (0x1UL << PWR_CR_CSBF_Pos) /*!< 0x00000008 */ |
2 | mjames | 940 | #define PWR_CR_CSBF PWR_CR_CSBF_Msk /*!< Clear Standby Flag */ |
941 | #define PWR_CR_PVDE_Pos (4U) |
||
9 | mjames | 942 | #define PWR_CR_PVDE_Msk (0x1UL << PWR_CR_PVDE_Pos) /*!< 0x00000010 */ |
2 | mjames | 943 | #define PWR_CR_PVDE PWR_CR_PVDE_Msk /*!< Power Voltage Detector Enable */ |
944 | |||
945 | #define PWR_CR_PLS_Pos (5U) |
||
9 | mjames | 946 | #define PWR_CR_PLS_Msk (0x7UL << PWR_CR_PLS_Pos) /*!< 0x000000E0 */ |
2 | mjames | 947 | #define PWR_CR_PLS PWR_CR_PLS_Msk /*!< PLS[2:0] bits (PVD Level Selection) */ |
9 | mjames | 948 | #define PWR_CR_PLS_0 (0x1UL << PWR_CR_PLS_Pos) /*!< 0x00000020 */ |
949 | #define PWR_CR_PLS_1 (0x2UL << PWR_CR_PLS_Pos) /*!< 0x00000040 */ |
||
950 | #define PWR_CR_PLS_2 (0x4UL << PWR_CR_PLS_Pos) /*!< 0x00000080 */ |
||
2 | mjames | 951 | |
952 | /*!< PVD level configuration */ |
||
953 | #define PWR_CR_PLS_LEV0 0x00000000U /*!< PVD level 2.2V */ |
||
954 | #define PWR_CR_PLS_LEV1 0x00000020U /*!< PVD level 2.3V */ |
||
955 | #define PWR_CR_PLS_LEV2 0x00000040U /*!< PVD level 2.4V */ |
||
956 | #define PWR_CR_PLS_LEV3 0x00000060U /*!< PVD level 2.5V */ |
||
957 | #define PWR_CR_PLS_LEV4 0x00000080U /*!< PVD level 2.6V */ |
||
958 | #define PWR_CR_PLS_LEV5 0x000000A0U /*!< PVD level 2.7V */ |
||
959 | #define PWR_CR_PLS_LEV6 0x000000C0U /*!< PVD level 2.8V */ |
||
960 | #define PWR_CR_PLS_LEV7 0x000000E0U /*!< PVD level 2.9V */ |
||
961 | |||
962 | /* Legacy defines */ |
||
963 | #define PWR_CR_PLS_2V2 PWR_CR_PLS_LEV0 |
||
964 | #define PWR_CR_PLS_2V3 PWR_CR_PLS_LEV1 |
||
965 | #define PWR_CR_PLS_2V4 PWR_CR_PLS_LEV2 |
||
966 | #define PWR_CR_PLS_2V5 PWR_CR_PLS_LEV3 |
||
967 | #define PWR_CR_PLS_2V6 PWR_CR_PLS_LEV4 |
||
968 | #define PWR_CR_PLS_2V7 PWR_CR_PLS_LEV5 |
||
969 | #define PWR_CR_PLS_2V8 PWR_CR_PLS_LEV6 |
||
970 | #define PWR_CR_PLS_2V9 PWR_CR_PLS_LEV7 |
||
971 | |||
972 | #define PWR_CR_DBP_Pos (8U) |
||
9 | mjames | 973 | #define PWR_CR_DBP_Msk (0x1UL << PWR_CR_DBP_Pos) /*!< 0x00000100 */ |
2 | mjames | 974 | #define PWR_CR_DBP PWR_CR_DBP_Msk /*!< Disable Backup Domain write protection */ |
975 | |||
976 | |||
977 | /******************* Bit definition for PWR_CSR register ********************/ |
||
978 | #define PWR_CSR_WUF_Pos (0U) |
||
9 | mjames | 979 | #define PWR_CSR_WUF_Msk (0x1UL << PWR_CSR_WUF_Pos) /*!< 0x00000001 */ |
2 | mjames | 980 | #define PWR_CSR_WUF PWR_CSR_WUF_Msk /*!< Wakeup Flag */ |
981 | #define PWR_CSR_SBF_Pos (1U) |
||
9 | mjames | 982 | #define PWR_CSR_SBF_Msk (0x1UL << PWR_CSR_SBF_Pos) /*!< 0x00000002 */ |
2 | mjames | 983 | #define PWR_CSR_SBF PWR_CSR_SBF_Msk /*!< Standby Flag */ |
984 | #define PWR_CSR_PVDO_Pos (2U) |
||
9 | mjames | 985 | #define PWR_CSR_PVDO_Msk (0x1UL << PWR_CSR_PVDO_Pos) /*!< 0x00000004 */ |
2 | mjames | 986 | #define PWR_CSR_PVDO PWR_CSR_PVDO_Msk /*!< PVD Output */ |
987 | #define PWR_CSR_EWUP_Pos (8U) |
||
9 | mjames | 988 | #define PWR_CSR_EWUP_Msk (0x1UL << PWR_CSR_EWUP_Pos) /*!< 0x00000100 */ |
2 | mjames | 989 | #define PWR_CSR_EWUP PWR_CSR_EWUP_Msk /*!< Enable WKUP pin */ |
990 | |||
991 | /******************************************************************************/ |
||
992 | /* */ |
||
993 | /* Backup registers */ |
||
994 | /* */ |
||
995 | /******************************************************************************/ |
||
996 | |||
997 | /******************* Bit definition for BKP_DR1 register ********************/ |
||
998 | #define BKP_DR1_D_Pos (0U) |
||
9 | mjames | 999 | #define BKP_DR1_D_Msk (0xFFFFUL << BKP_DR1_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1000 | #define BKP_DR1_D BKP_DR1_D_Msk /*!< Backup data */ |
1001 | |||
1002 | /******************* Bit definition for BKP_DR2 register ********************/ |
||
1003 | #define BKP_DR2_D_Pos (0U) |
||
9 | mjames | 1004 | #define BKP_DR2_D_Msk (0xFFFFUL << BKP_DR2_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1005 | #define BKP_DR2_D BKP_DR2_D_Msk /*!< Backup data */ |
1006 | |||
1007 | /******************* Bit definition for BKP_DR3 register ********************/ |
||
1008 | #define BKP_DR3_D_Pos (0U) |
||
9 | mjames | 1009 | #define BKP_DR3_D_Msk (0xFFFFUL << BKP_DR3_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1010 | #define BKP_DR3_D BKP_DR3_D_Msk /*!< Backup data */ |
1011 | |||
1012 | /******************* Bit definition for BKP_DR4 register ********************/ |
||
1013 | #define BKP_DR4_D_Pos (0U) |
||
9 | mjames | 1014 | #define BKP_DR4_D_Msk (0xFFFFUL << BKP_DR4_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1015 | #define BKP_DR4_D BKP_DR4_D_Msk /*!< Backup data */ |
1016 | |||
1017 | /******************* Bit definition for BKP_DR5 register ********************/ |
||
1018 | #define BKP_DR5_D_Pos (0U) |
||
9 | mjames | 1019 | #define BKP_DR5_D_Msk (0xFFFFUL << BKP_DR5_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1020 | #define BKP_DR5_D BKP_DR5_D_Msk /*!< Backup data */ |
1021 | |||
1022 | /******************* Bit definition for BKP_DR6 register ********************/ |
||
1023 | #define BKP_DR6_D_Pos (0U) |
||
9 | mjames | 1024 | #define BKP_DR6_D_Msk (0xFFFFUL << BKP_DR6_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1025 | #define BKP_DR6_D BKP_DR6_D_Msk /*!< Backup data */ |
1026 | |||
1027 | /******************* Bit definition for BKP_DR7 register ********************/ |
||
1028 | #define BKP_DR7_D_Pos (0U) |
||
9 | mjames | 1029 | #define BKP_DR7_D_Msk (0xFFFFUL << BKP_DR7_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1030 | #define BKP_DR7_D BKP_DR7_D_Msk /*!< Backup data */ |
1031 | |||
1032 | /******************* Bit definition for BKP_DR8 register ********************/ |
||
1033 | #define BKP_DR8_D_Pos (0U) |
||
9 | mjames | 1034 | #define BKP_DR8_D_Msk (0xFFFFUL << BKP_DR8_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1035 | #define BKP_DR8_D BKP_DR8_D_Msk /*!< Backup data */ |
1036 | |||
1037 | /******************* Bit definition for BKP_DR9 register ********************/ |
||
1038 | #define BKP_DR9_D_Pos (0U) |
||
9 | mjames | 1039 | #define BKP_DR9_D_Msk (0xFFFFUL << BKP_DR9_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1040 | #define BKP_DR9_D BKP_DR9_D_Msk /*!< Backup data */ |
1041 | |||
1042 | /******************* Bit definition for BKP_DR10 register *******************/ |
||
1043 | #define BKP_DR10_D_Pos (0U) |
||
9 | mjames | 1044 | #define BKP_DR10_D_Msk (0xFFFFUL << BKP_DR10_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1045 | #define BKP_DR10_D BKP_DR10_D_Msk /*!< Backup data */ |
1046 | |||
1047 | /******************* Bit definition for BKP_DR11 register *******************/ |
||
1048 | #define BKP_DR11_D_Pos (0U) |
||
9 | mjames | 1049 | #define BKP_DR11_D_Msk (0xFFFFUL << BKP_DR11_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1050 | #define BKP_DR11_D BKP_DR11_D_Msk /*!< Backup data */ |
1051 | |||
1052 | /******************* Bit definition for BKP_DR12 register *******************/ |
||
1053 | #define BKP_DR12_D_Pos (0U) |
||
9 | mjames | 1054 | #define BKP_DR12_D_Msk (0xFFFFUL << BKP_DR12_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1055 | #define BKP_DR12_D BKP_DR12_D_Msk /*!< Backup data */ |
1056 | |||
1057 | /******************* Bit definition for BKP_DR13 register *******************/ |
||
1058 | #define BKP_DR13_D_Pos (0U) |
||
9 | mjames | 1059 | #define BKP_DR13_D_Msk (0xFFFFUL << BKP_DR13_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1060 | #define BKP_DR13_D BKP_DR13_D_Msk /*!< Backup data */ |
1061 | |||
1062 | /******************* Bit definition for BKP_DR14 register *******************/ |
||
1063 | #define BKP_DR14_D_Pos (0U) |
||
9 | mjames | 1064 | #define BKP_DR14_D_Msk (0xFFFFUL << BKP_DR14_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1065 | #define BKP_DR14_D BKP_DR14_D_Msk /*!< Backup data */ |
1066 | |||
1067 | /******************* Bit definition for BKP_DR15 register *******************/ |
||
1068 | #define BKP_DR15_D_Pos (0U) |
||
9 | mjames | 1069 | #define BKP_DR15_D_Msk (0xFFFFUL << BKP_DR15_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1070 | #define BKP_DR15_D BKP_DR15_D_Msk /*!< Backup data */ |
1071 | |||
1072 | /******************* Bit definition for BKP_DR16 register *******************/ |
||
1073 | #define BKP_DR16_D_Pos (0U) |
||
9 | mjames | 1074 | #define BKP_DR16_D_Msk (0xFFFFUL << BKP_DR16_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1075 | #define BKP_DR16_D BKP_DR16_D_Msk /*!< Backup data */ |
1076 | |||
1077 | /******************* Bit definition for BKP_DR17 register *******************/ |
||
1078 | #define BKP_DR17_D_Pos (0U) |
||
9 | mjames | 1079 | #define BKP_DR17_D_Msk (0xFFFFUL << BKP_DR17_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1080 | #define BKP_DR17_D BKP_DR17_D_Msk /*!< Backup data */ |
1081 | |||
1082 | /****************** Bit definition for BKP_DR18 register ********************/ |
||
1083 | #define BKP_DR18_D_Pos (0U) |
||
9 | mjames | 1084 | #define BKP_DR18_D_Msk (0xFFFFUL << BKP_DR18_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1085 | #define BKP_DR18_D BKP_DR18_D_Msk /*!< Backup data */ |
1086 | |||
1087 | /******************* Bit definition for BKP_DR19 register *******************/ |
||
1088 | #define BKP_DR19_D_Pos (0U) |
||
9 | mjames | 1089 | #define BKP_DR19_D_Msk (0xFFFFUL << BKP_DR19_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1090 | #define BKP_DR19_D BKP_DR19_D_Msk /*!< Backup data */ |
1091 | |||
1092 | /******************* Bit definition for BKP_DR20 register *******************/ |
||
1093 | #define BKP_DR20_D_Pos (0U) |
||
9 | mjames | 1094 | #define BKP_DR20_D_Msk (0xFFFFUL << BKP_DR20_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1095 | #define BKP_DR20_D BKP_DR20_D_Msk /*!< Backup data */ |
1096 | |||
1097 | /******************* Bit definition for BKP_DR21 register *******************/ |
||
1098 | #define BKP_DR21_D_Pos (0U) |
||
9 | mjames | 1099 | #define BKP_DR21_D_Msk (0xFFFFUL << BKP_DR21_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1100 | #define BKP_DR21_D BKP_DR21_D_Msk /*!< Backup data */ |
1101 | |||
1102 | /******************* Bit definition for BKP_DR22 register *******************/ |
||
1103 | #define BKP_DR22_D_Pos (0U) |
||
9 | mjames | 1104 | #define BKP_DR22_D_Msk (0xFFFFUL << BKP_DR22_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1105 | #define BKP_DR22_D BKP_DR22_D_Msk /*!< Backup data */ |
1106 | |||
1107 | /******************* Bit definition for BKP_DR23 register *******************/ |
||
1108 | #define BKP_DR23_D_Pos (0U) |
||
9 | mjames | 1109 | #define BKP_DR23_D_Msk (0xFFFFUL << BKP_DR23_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1110 | #define BKP_DR23_D BKP_DR23_D_Msk /*!< Backup data */ |
1111 | |||
1112 | /******************* Bit definition for BKP_DR24 register *******************/ |
||
1113 | #define BKP_DR24_D_Pos (0U) |
||
9 | mjames | 1114 | #define BKP_DR24_D_Msk (0xFFFFUL << BKP_DR24_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1115 | #define BKP_DR24_D BKP_DR24_D_Msk /*!< Backup data */ |
1116 | |||
1117 | /******************* Bit definition for BKP_DR25 register *******************/ |
||
1118 | #define BKP_DR25_D_Pos (0U) |
||
9 | mjames | 1119 | #define BKP_DR25_D_Msk (0xFFFFUL << BKP_DR25_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1120 | #define BKP_DR25_D BKP_DR25_D_Msk /*!< Backup data */ |
1121 | |||
1122 | /******************* Bit definition for BKP_DR26 register *******************/ |
||
1123 | #define BKP_DR26_D_Pos (0U) |
||
9 | mjames | 1124 | #define BKP_DR26_D_Msk (0xFFFFUL << BKP_DR26_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1125 | #define BKP_DR26_D BKP_DR26_D_Msk /*!< Backup data */ |
1126 | |||
1127 | /******************* Bit definition for BKP_DR27 register *******************/ |
||
1128 | #define BKP_DR27_D_Pos (0U) |
||
9 | mjames | 1129 | #define BKP_DR27_D_Msk (0xFFFFUL << BKP_DR27_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1130 | #define BKP_DR27_D BKP_DR27_D_Msk /*!< Backup data */ |
1131 | |||
1132 | /******************* Bit definition for BKP_DR28 register *******************/ |
||
1133 | #define BKP_DR28_D_Pos (0U) |
||
9 | mjames | 1134 | #define BKP_DR28_D_Msk (0xFFFFUL << BKP_DR28_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1135 | #define BKP_DR28_D BKP_DR28_D_Msk /*!< Backup data */ |
1136 | |||
1137 | /******************* Bit definition for BKP_DR29 register *******************/ |
||
1138 | #define BKP_DR29_D_Pos (0U) |
||
9 | mjames | 1139 | #define BKP_DR29_D_Msk (0xFFFFUL << BKP_DR29_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1140 | #define BKP_DR29_D BKP_DR29_D_Msk /*!< Backup data */ |
1141 | |||
1142 | /******************* Bit definition for BKP_DR30 register *******************/ |
||
1143 | #define BKP_DR30_D_Pos (0U) |
||
9 | mjames | 1144 | #define BKP_DR30_D_Msk (0xFFFFUL << BKP_DR30_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1145 | #define BKP_DR30_D BKP_DR30_D_Msk /*!< Backup data */ |
1146 | |||
1147 | /******************* Bit definition for BKP_DR31 register *******************/ |
||
1148 | #define BKP_DR31_D_Pos (0U) |
||
9 | mjames | 1149 | #define BKP_DR31_D_Msk (0xFFFFUL << BKP_DR31_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1150 | #define BKP_DR31_D BKP_DR31_D_Msk /*!< Backup data */ |
1151 | |||
1152 | /******************* Bit definition for BKP_DR32 register *******************/ |
||
1153 | #define BKP_DR32_D_Pos (0U) |
||
9 | mjames | 1154 | #define BKP_DR32_D_Msk (0xFFFFUL << BKP_DR32_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1155 | #define BKP_DR32_D BKP_DR32_D_Msk /*!< Backup data */ |
1156 | |||
1157 | /******************* Bit definition for BKP_DR33 register *******************/ |
||
1158 | #define BKP_DR33_D_Pos (0U) |
||
9 | mjames | 1159 | #define BKP_DR33_D_Msk (0xFFFFUL << BKP_DR33_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1160 | #define BKP_DR33_D BKP_DR33_D_Msk /*!< Backup data */ |
1161 | |||
1162 | /******************* Bit definition for BKP_DR34 register *******************/ |
||
1163 | #define BKP_DR34_D_Pos (0U) |
||
9 | mjames | 1164 | #define BKP_DR34_D_Msk (0xFFFFUL << BKP_DR34_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1165 | #define BKP_DR34_D BKP_DR34_D_Msk /*!< Backup data */ |
1166 | |||
1167 | /******************* Bit definition for BKP_DR35 register *******************/ |
||
1168 | #define BKP_DR35_D_Pos (0U) |
||
9 | mjames | 1169 | #define BKP_DR35_D_Msk (0xFFFFUL << BKP_DR35_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1170 | #define BKP_DR35_D BKP_DR35_D_Msk /*!< Backup data */ |
1171 | |||
1172 | /******************* Bit definition for BKP_DR36 register *******************/ |
||
1173 | #define BKP_DR36_D_Pos (0U) |
||
9 | mjames | 1174 | #define BKP_DR36_D_Msk (0xFFFFUL << BKP_DR36_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1175 | #define BKP_DR36_D BKP_DR36_D_Msk /*!< Backup data */ |
1176 | |||
1177 | /******************* Bit definition for BKP_DR37 register *******************/ |
||
1178 | #define BKP_DR37_D_Pos (0U) |
||
9 | mjames | 1179 | #define BKP_DR37_D_Msk (0xFFFFUL << BKP_DR37_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1180 | #define BKP_DR37_D BKP_DR37_D_Msk /*!< Backup data */ |
1181 | |||
1182 | /******************* Bit definition for BKP_DR38 register *******************/ |
||
1183 | #define BKP_DR38_D_Pos (0U) |
||
9 | mjames | 1184 | #define BKP_DR38_D_Msk (0xFFFFUL << BKP_DR38_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1185 | #define BKP_DR38_D BKP_DR38_D_Msk /*!< Backup data */ |
1186 | |||
1187 | /******************* Bit definition for BKP_DR39 register *******************/ |
||
1188 | #define BKP_DR39_D_Pos (0U) |
||
9 | mjames | 1189 | #define BKP_DR39_D_Msk (0xFFFFUL << BKP_DR39_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1190 | #define BKP_DR39_D BKP_DR39_D_Msk /*!< Backup data */ |
1191 | |||
1192 | /******************* Bit definition for BKP_DR40 register *******************/ |
||
1193 | #define BKP_DR40_D_Pos (0U) |
||
9 | mjames | 1194 | #define BKP_DR40_D_Msk (0xFFFFUL << BKP_DR40_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1195 | #define BKP_DR40_D BKP_DR40_D_Msk /*!< Backup data */ |
1196 | |||
1197 | /******************* Bit definition for BKP_DR41 register *******************/ |
||
1198 | #define BKP_DR41_D_Pos (0U) |
||
9 | mjames | 1199 | #define BKP_DR41_D_Msk (0xFFFFUL << BKP_DR41_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1200 | #define BKP_DR41_D BKP_DR41_D_Msk /*!< Backup data */ |
1201 | |||
1202 | /******************* Bit definition for BKP_DR42 register *******************/ |
||
1203 | #define BKP_DR42_D_Pos (0U) |
||
9 | mjames | 1204 | #define BKP_DR42_D_Msk (0xFFFFUL << BKP_DR42_D_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 1205 | #define BKP_DR42_D BKP_DR42_D_Msk /*!< Backup data */ |
1206 | |||
1207 | #define RTC_BKP_NUMBER 42 |
||
1208 | |||
1209 | /****************** Bit definition for BKP_RTCCR register *******************/ |
||
1210 | #define BKP_RTCCR_CAL_Pos (0U) |
||
9 | mjames | 1211 | #define BKP_RTCCR_CAL_Msk (0x7FUL << BKP_RTCCR_CAL_Pos) /*!< 0x0000007F */ |
2 | mjames | 1212 | #define BKP_RTCCR_CAL BKP_RTCCR_CAL_Msk /*!< Calibration value */ |
1213 | #define BKP_RTCCR_CCO_Pos (7U) |
||
9 | mjames | 1214 | #define BKP_RTCCR_CCO_Msk (0x1UL << BKP_RTCCR_CCO_Pos) /*!< 0x00000080 */ |
2 | mjames | 1215 | #define BKP_RTCCR_CCO BKP_RTCCR_CCO_Msk /*!< Calibration Clock Output */ |
1216 | #define BKP_RTCCR_ASOE_Pos (8U) |
||
9 | mjames | 1217 | #define BKP_RTCCR_ASOE_Msk (0x1UL << BKP_RTCCR_ASOE_Pos) /*!< 0x00000100 */ |
2 | mjames | 1218 | #define BKP_RTCCR_ASOE BKP_RTCCR_ASOE_Msk /*!< Alarm or Second Output Enable */ |
1219 | #define BKP_RTCCR_ASOS_Pos (9U) |
||
9 | mjames | 1220 | #define BKP_RTCCR_ASOS_Msk (0x1UL << BKP_RTCCR_ASOS_Pos) /*!< 0x00000200 */ |
2 | mjames | 1221 | #define BKP_RTCCR_ASOS BKP_RTCCR_ASOS_Msk /*!< Alarm or Second Output Selection */ |
1222 | |||
1223 | /******************** Bit definition for BKP_CR register ********************/ |
||
1224 | #define BKP_CR_TPE_Pos (0U) |
||
9 | mjames | 1225 | #define BKP_CR_TPE_Msk (0x1UL << BKP_CR_TPE_Pos) /*!< 0x00000001 */ |
2 | mjames | 1226 | #define BKP_CR_TPE BKP_CR_TPE_Msk /*!< TAMPER pin enable */ |
1227 | #define BKP_CR_TPAL_Pos (1U) |
||
9 | mjames | 1228 | #define BKP_CR_TPAL_Msk (0x1UL << BKP_CR_TPAL_Pos) /*!< 0x00000002 */ |
2 | mjames | 1229 | #define BKP_CR_TPAL BKP_CR_TPAL_Msk /*!< TAMPER pin active level */ |
1230 | |||
1231 | /******************* Bit definition for BKP_CSR register ********************/ |
||
1232 | #define BKP_CSR_CTE_Pos (0U) |
||
9 | mjames | 1233 | #define BKP_CSR_CTE_Msk (0x1UL << BKP_CSR_CTE_Pos) /*!< 0x00000001 */ |
2 | mjames | 1234 | #define BKP_CSR_CTE BKP_CSR_CTE_Msk /*!< Clear Tamper event */ |
1235 | #define BKP_CSR_CTI_Pos (1U) |
||
9 | mjames | 1236 | #define BKP_CSR_CTI_Msk (0x1UL << BKP_CSR_CTI_Pos) /*!< 0x00000002 */ |
2 | mjames | 1237 | #define BKP_CSR_CTI BKP_CSR_CTI_Msk /*!< Clear Tamper Interrupt */ |
1238 | #define BKP_CSR_TPIE_Pos (2U) |
||
9 | mjames | 1239 | #define BKP_CSR_TPIE_Msk (0x1UL << BKP_CSR_TPIE_Pos) /*!< 0x00000004 */ |
2 | mjames | 1240 | #define BKP_CSR_TPIE BKP_CSR_TPIE_Msk /*!< TAMPER Pin interrupt enable */ |
1241 | #define BKP_CSR_TEF_Pos (8U) |
||
9 | mjames | 1242 | #define BKP_CSR_TEF_Msk (0x1UL << BKP_CSR_TEF_Pos) /*!< 0x00000100 */ |
2 | mjames | 1243 | #define BKP_CSR_TEF BKP_CSR_TEF_Msk /*!< Tamper Event Flag */ |
1244 | #define BKP_CSR_TIF_Pos (9U) |
||
9 | mjames | 1245 | #define BKP_CSR_TIF_Msk (0x1UL << BKP_CSR_TIF_Pos) /*!< 0x00000200 */ |
2 | mjames | 1246 | #define BKP_CSR_TIF BKP_CSR_TIF_Msk /*!< Tamper Interrupt Flag */ |
1247 | |||
1248 | /******************************************************************************/ |
||
1249 | /* */ |
||
1250 | /* Reset and Clock Control */ |
||
1251 | /* */ |
||
1252 | /******************************************************************************/ |
||
9 | mjames | 1253 | /* |
1254 | * @brief Specific device feature definitions (not present on all devices in the STM32F1 serie) |
||
1255 | */ |
||
1256 | #define RCC_PLL2_SUPPORT /*!< Support PLL2 */ |
||
1257 | #define RCC_PLLI2S_SUPPORT |
||
2 | mjames | 1258 | |
1259 | /******************** Bit definition for RCC_CR register ********************/ |
||
1260 | #define RCC_CR_HSION_Pos (0U) |
||
9 | mjames | 1261 | #define RCC_CR_HSION_Msk (0x1UL << RCC_CR_HSION_Pos) /*!< 0x00000001 */ |
2 | mjames | 1262 | #define RCC_CR_HSION RCC_CR_HSION_Msk /*!< Internal High Speed clock enable */ |
1263 | #define RCC_CR_HSIRDY_Pos (1U) |
||
9 | mjames | 1264 | #define RCC_CR_HSIRDY_Msk (0x1UL << RCC_CR_HSIRDY_Pos) /*!< 0x00000002 */ |
2 | mjames | 1265 | #define RCC_CR_HSIRDY RCC_CR_HSIRDY_Msk /*!< Internal High Speed clock ready flag */ |
1266 | #define RCC_CR_HSITRIM_Pos (3U) |
||
9 | mjames | 1267 | #define RCC_CR_HSITRIM_Msk (0x1FUL << RCC_CR_HSITRIM_Pos) /*!< 0x000000F8 */ |
2 | mjames | 1268 | #define RCC_CR_HSITRIM RCC_CR_HSITRIM_Msk /*!< Internal High Speed clock trimming */ |
1269 | #define RCC_CR_HSICAL_Pos (8U) |
||
9 | mjames | 1270 | #define RCC_CR_HSICAL_Msk (0xFFUL << RCC_CR_HSICAL_Pos) /*!< 0x0000FF00 */ |
2 | mjames | 1271 | #define RCC_CR_HSICAL RCC_CR_HSICAL_Msk /*!< Internal High Speed clock Calibration */ |
1272 | #define RCC_CR_HSEON_Pos (16U) |
||
9 | mjames | 1273 | #define RCC_CR_HSEON_Msk (0x1UL << RCC_CR_HSEON_Pos) /*!< 0x00010000 */ |
2 | mjames | 1274 | #define RCC_CR_HSEON RCC_CR_HSEON_Msk /*!< External High Speed clock enable */ |
1275 | #define RCC_CR_HSERDY_Pos (17U) |
||
9 | mjames | 1276 | #define RCC_CR_HSERDY_Msk (0x1UL << RCC_CR_HSERDY_Pos) /*!< 0x00020000 */ |
2 | mjames | 1277 | #define RCC_CR_HSERDY RCC_CR_HSERDY_Msk /*!< External High Speed clock ready flag */ |
1278 | #define RCC_CR_HSEBYP_Pos (18U) |
||
9 | mjames | 1279 | #define RCC_CR_HSEBYP_Msk (0x1UL << RCC_CR_HSEBYP_Pos) /*!< 0x00040000 */ |
2 | mjames | 1280 | #define RCC_CR_HSEBYP RCC_CR_HSEBYP_Msk /*!< External High Speed clock Bypass */ |
1281 | #define RCC_CR_CSSON_Pos (19U) |
||
9 | mjames | 1282 | #define RCC_CR_CSSON_Msk (0x1UL << RCC_CR_CSSON_Pos) /*!< 0x00080000 */ |
2 | mjames | 1283 | #define RCC_CR_CSSON RCC_CR_CSSON_Msk /*!< Clock Security System enable */ |
1284 | #define RCC_CR_PLLON_Pos (24U) |
||
9 | mjames | 1285 | #define RCC_CR_PLLON_Msk (0x1UL << RCC_CR_PLLON_Pos) /*!< 0x01000000 */ |
2 | mjames | 1286 | #define RCC_CR_PLLON RCC_CR_PLLON_Msk /*!< PLL enable */ |
1287 | #define RCC_CR_PLLRDY_Pos (25U) |
||
9 | mjames | 1288 | #define RCC_CR_PLLRDY_Msk (0x1UL << RCC_CR_PLLRDY_Pos) /*!< 0x02000000 */ |
2 | mjames | 1289 | #define RCC_CR_PLLRDY RCC_CR_PLLRDY_Msk /*!< PLL clock ready flag */ |
1290 | |||
1291 | #define RCC_CR_PLL2ON_Pos (26U) |
||
9 | mjames | 1292 | #define RCC_CR_PLL2ON_Msk (0x1UL << RCC_CR_PLL2ON_Pos) /*!< 0x04000000 */ |
2 | mjames | 1293 | #define RCC_CR_PLL2ON RCC_CR_PLL2ON_Msk /*!< PLL2 enable */ |
1294 | #define RCC_CR_PLL2RDY_Pos (27U) |
||
9 | mjames | 1295 | #define RCC_CR_PLL2RDY_Msk (0x1UL << RCC_CR_PLL2RDY_Pos) /*!< 0x08000000 */ |
2 | mjames | 1296 | #define RCC_CR_PLL2RDY RCC_CR_PLL2RDY_Msk /*!< PLL2 clock ready flag */ |
1297 | |||
1298 | #define RCC_CR_PLL3ON_Pos (28U) |
||
9 | mjames | 1299 | #define RCC_CR_PLL3ON_Msk (0x1UL << RCC_CR_PLL3ON_Pos) /*!< 0x10000000 */ |
2 | mjames | 1300 | #define RCC_CR_PLL3ON RCC_CR_PLL3ON_Msk /*!< PLL3 enable */ |
1301 | #define RCC_CR_PLL3RDY_Pos (29U) |
||
9 | mjames | 1302 | #define RCC_CR_PLL3RDY_Msk (0x1UL << RCC_CR_PLL3RDY_Pos) /*!< 0x20000000 */ |
2 | mjames | 1303 | #define RCC_CR_PLL3RDY RCC_CR_PLL3RDY_Msk /*!< PLL3 clock ready flag */ |
1304 | |||
1305 | /******************* Bit definition for RCC_CFGR register *******************/ |
||
1306 | /*!< SW configuration */ |
||
1307 | #define RCC_CFGR_SW_Pos (0U) |
||
9 | mjames | 1308 | #define RCC_CFGR_SW_Msk (0x3UL << RCC_CFGR_SW_Pos) /*!< 0x00000003 */ |
2 | mjames | 1309 | #define RCC_CFGR_SW RCC_CFGR_SW_Msk /*!< SW[1:0] bits (System clock Switch) */ |
9 | mjames | 1310 | #define RCC_CFGR_SW_0 (0x1UL << RCC_CFGR_SW_Pos) /*!< 0x00000001 */ |
1311 | #define RCC_CFGR_SW_1 (0x2UL << RCC_CFGR_SW_Pos) /*!< 0x00000002 */ |
||
2 | mjames | 1312 | |
1313 | #define RCC_CFGR_SW_HSI 0x00000000U /*!< HSI selected as system clock */ |
||
1314 | #define RCC_CFGR_SW_HSE 0x00000001U /*!< HSE selected as system clock */ |
||
1315 | #define RCC_CFGR_SW_PLL 0x00000002U /*!< PLL selected as system clock */ |
||
1316 | |||
1317 | /*!< SWS configuration */ |
||
1318 | #define RCC_CFGR_SWS_Pos (2U) |
||
9 | mjames | 1319 | #define RCC_CFGR_SWS_Msk (0x3UL << RCC_CFGR_SWS_Pos) /*!< 0x0000000C */ |
2 | mjames | 1320 | #define RCC_CFGR_SWS RCC_CFGR_SWS_Msk /*!< SWS[1:0] bits (System Clock Switch Status) */ |
9 | mjames | 1321 | #define RCC_CFGR_SWS_0 (0x1UL << RCC_CFGR_SWS_Pos) /*!< 0x00000004 */ |
1322 | #define RCC_CFGR_SWS_1 (0x2UL << RCC_CFGR_SWS_Pos) /*!< 0x00000008 */ |
||
2 | mjames | 1323 | |
1324 | #define RCC_CFGR_SWS_HSI 0x00000000U /*!< HSI oscillator used as system clock */ |
||
1325 | #define RCC_CFGR_SWS_HSE 0x00000004U /*!< HSE oscillator used as system clock */ |
||
1326 | #define RCC_CFGR_SWS_PLL 0x00000008U /*!< PLL used as system clock */ |
||
1327 | |||
1328 | /*!< HPRE configuration */ |
||
1329 | #define RCC_CFGR_HPRE_Pos (4U) |
||
9 | mjames | 1330 | #define RCC_CFGR_HPRE_Msk (0xFUL << RCC_CFGR_HPRE_Pos) /*!< 0x000000F0 */ |
2 | mjames | 1331 | #define RCC_CFGR_HPRE RCC_CFGR_HPRE_Msk /*!< HPRE[3:0] bits (AHB prescaler) */ |
9 | mjames | 1332 | #define RCC_CFGR_HPRE_0 (0x1UL << RCC_CFGR_HPRE_Pos) /*!< 0x00000010 */ |
1333 | #define RCC_CFGR_HPRE_1 (0x2UL << RCC_CFGR_HPRE_Pos) /*!< 0x00000020 */ |
||
1334 | #define RCC_CFGR_HPRE_2 (0x4UL << RCC_CFGR_HPRE_Pos) /*!< 0x00000040 */ |
||
1335 | #define RCC_CFGR_HPRE_3 (0x8UL << RCC_CFGR_HPRE_Pos) /*!< 0x00000080 */ |
||
2 | mjames | 1336 | |
1337 | #define RCC_CFGR_HPRE_DIV1 0x00000000U /*!< SYSCLK not divided */ |
||
1338 | #define RCC_CFGR_HPRE_DIV2 0x00000080U /*!< SYSCLK divided by 2 */ |
||
1339 | #define RCC_CFGR_HPRE_DIV4 0x00000090U /*!< SYSCLK divided by 4 */ |
||
1340 | #define RCC_CFGR_HPRE_DIV8 0x000000A0U /*!< SYSCLK divided by 8 */ |
||
1341 | #define RCC_CFGR_HPRE_DIV16 0x000000B0U /*!< SYSCLK divided by 16 */ |
||
1342 | #define RCC_CFGR_HPRE_DIV64 0x000000C0U /*!< SYSCLK divided by 64 */ |
||
1343 | #define RCC_CFGR_HPRE_DIV128 0x000000D0U /*!< SYSCLK divided by 128 */ |
||
1344 | #define RCC_CFGR_HPRE_DIV256 0x000000E0U /*!< SYSCLK divided by 256 */ |
||
1345 | #define RCC_CFGR_HPRE_DIV512 0x000000F0U /*!< SYSCLK divided by 512 */ |
||
1346 | |||
1347 | /*!< PPRE1 configuration */ |
||
1348 | #define RCC_CFGR_PPRE1_Pos (8U) |
||
9 | mjames | 1349 | #define RCC_CFGR_PPRE1_Msk (0x7UL << RCC_CFGR_PPRE1_Pos) /*!< 0x00000700 */ |
2 | mjames | 1350 | #define RCC_CFGR_PPRE1 RCC_CFGR_PPRE1_Msk /*!< PRE1[2:0] bits (APB1 prescaler) */ |
9 | mjames | 1351 | #define RCC_CFGR_PPRE1_0 (0x1UL << RCC_CFGR_PPRE1_Pos) /*!< 0x00000100 */ |
1352 | #define RCC_CFGR_PPRE1_1 (0x2UL << RCC_CFGR_PPRE1_Pos) /*!< 0x00000200 */ |
||
1353 | #define RCC_CFGR_PPRE1_2 (0x4UL << RCC_CFGR_PPRE1_Pos) /*!< 0x00000400 */ |
||
2 | mjames | 1354 | |
1355 | #define RCC_CFGR_PPRE1_DIV1 0x00000000U /*!< HCLK not divided */ |
||
1356 | #define RCC_CFGR_PPRE1_DIV2 0x00000400U /*!< HCLK divided by 2 */ |
||
1357 | #define RCC_CFGR_PPRE1_DIV4 0x00000500U /*!< HCLK divided by 4 */ |
||
1358 | #define RCC_CFGR_PPRE1_DIV8 0x00000600U /*!< HCLK divided by 8 */ |
||
1359 | #define RCC_CFGR_PPRE1_DIV16 0x00000700U /*!< HCLK divided by 16 */ |
||
1360 | |||
1361 | /*!< PPRE2 configuration */ |
||
1362 | #define RCC_CFGR_PPRE2_Pos (11U) |
||
9 | mjames | 1363 | #define RCC_CFGR_PPRE2_Msk (0x7UL << RCC_CFGR_PPRE2_Pos) /*!< 0x00003800 */ |
2 | mjames | 1364 | #define RCC_CFGR_PPRE2 RCC_CFGR_PPRE2_Msk /*!< PRE2[2:0] bits (APB2 prescaler) */ |
9 | mjames | 1365 | #define RCC_CFGR_PPRE2_0 (0x1UL << RCC_CFGR_PPRE2_Pos) /*!< 0x00000800 */ |
1366 | #define RCC_CFGR_PPRE2_1 (0x2UL << RCC_CFGR_PPRE2_Pos) /*!< 0x00001000 */ |
||
1367 | #define RCC_CFGR_PPRE2_2 (0x4UL << RCC_CFGR_PPRE2_Pos) /*!< 0x00002000 */ |
||
2 | mjames | 1368 | |
1369 | #define RCC_CFGR_PPRE2_DIV1 0x00000000U /*!< HCLK not divided */ |
||
1370 | #define RCC_CFGR_PPRE2_DIV2 0x00002000U /*!< HCLK divided by 2 */ |
||
1371 | #define RCC_CFGR_PPRE2_DIV4 0x00002800U /*!< HCLK divided by 4 */ |
||
1372 | #define RCC_CFGR_PPRE2_DIV8 0x00003000U /*!< HCLK divided by 8 */ |
||
1373 | #define RCC_CFGR_PPRE2_DIV16 0x00003800U /*!< HCLK divided by 16 */ |
||
1374 | |||
1375 | /*!< ADCPPRE configuration */ |
||
1376 | #define RCC_CFGR_ADCPRE_Pos (14U) |
||
9 | mjames | 1377 | #define RCC_CFGR_ADCPRE_Msk (0x3UL << RCC_CFGR_ADCPRE_Pos) /*!< 0x0000C000 */ |
2 | mjames | 1378 | #define RCC_CFGR_ADCPRE RCC_CFGR_ADCPRE_Msk /*!< ADCPRE[1:0] bits (ADC prescaler) */ |
9 | mjames | 1379 | #define RCC_CFGR_ADCPRE_0 (0x1UL << RCC_CFGR_ADCPRE_Pos) /*!< 0x00004000 */ |
1380 | #define RCC_CFGR_ADCPRE_1 (0x2UL << RCC_CFGR_ADCPRE_Pos) /*!< 0x00008000 */ |
||
2 | mjames | 1381 | |
1382 | #define RCC_CFGR_ADCPRE_DIV2 0x00000000U /*!< PCLK2 divided by 2 */ |
||
1383 | #define RCC_CFGR_ADCPRE_DIV4 0x00004000U /*!< PCLK2 divided by 4 */ |
||
1384 | #define RCC_CFGR_ADCPRE_DIV6 0x00008000U /*!< PCLK2 divided by 6 */ |
||
1385 | #define RCC_CFGR_ADCPRE_DIV8 0x0000C000U /*!< PCLK2 divided by 8 */ |
||
1386 | |||
1387 | #define RCC_CFGR_PLLSRC_Pos (16U) |
||
9 | mjames | 1388 | #define RCC_CFGR_PLLSRC_Msk (0x1UL << RCC_CFGR_PLLSRC_Pos) /*!< 0x00010000 */ |
2 | mjames | 1389 | #define RCC_CFGR_PLLSRC RCC_CFGR_PLLSRC_Msk /*!< PLL entry clock source */ |
1390 | |||
1391 | #define RCC_CFGR_PLLXTPRE_Pos (17U) |
||
9 | mjames | 1392 | #define RCC_CFGR_PLLXTPRE_Msk (0x1UL << RCC_CFGR_PLLXTPRE_Pos) /*!< 0x00020000 */ |
2 | mjames | 1393 | #define RCC_CFGR_PLLXTPRE RCC_CFGR_PLLXTPRE_Msk /*!< HSE divider for PLL entry */ |
1394 | |||
1395 | /*!< PLLMUL configuration */ |
||
1396 | #define RCC_CFGR_PLLMULL_Pos (18U) |
||
9 | mjames | 1397 | #define RCC_CFGR_PLLMULL_Msk (0xFUL << RCC_CFGR_PLLMULL_Pos) /*!< 0x003C0000 */ |
2 | mjames | 1398 | #define RCC_CFGR_PLLMULL RCC_CFGR_PLLMULL_Msk /*!< PLLMUL[3:0] bits (PLL multiplication factor) */ |
9 | mjames | 1399 | #define RCC_CFGR_PLLMULL_0 (0x1UL << RCC_CFGR_PLLMULL_Pos) /*!< 0x00040000 */ |
1400 | #define RCC_CFGR_PLLMULL_1 (0x2UL << RCC_CFGR_PLLMULL_Pos) /*!< 0x00080000 */ |
||
1401 | #define RCC_CFGR_PLLMULL_2 (0x4UL << RCC_CFGR_PLLMULL_Pos) /*!< 0x00100000 */ |
||
1402 | #define RCC_CFGR_PLLMULL_3 (0x8UL << RCC_CFGR_PLLMULL_Pos) /*!< 0x00200000 */ |
||
2 | mjames | 1403 | |
1404 | #define RCC_CFGR_PLLXTPRE_PREDIV1 0x00000000U /*!< PREDIV1 clock not divided for PLL entry */ |
||
1405 | #define RCC_CFGR_PLLXTPRE_PREDIV1_DIV2 0x00020000U /*!< PREDIV1 clock divided by 2 for PLL entry */ |
||
1406 | |||
1407 | #define RCC_CFGR_PLLMULL4_Pos (19U) |
||
9 | mjames | 1408 | #define RCC_CFGR_PLLMULL4_Msk (0x1UL << RCC_CFGR_PLLMULL4_Pos) /*!< 0x00080000 */ |
2 | mjames | 1409 | #define RCC_CFGR_PLLMULL4 RCC_CFGR_PLLMULL4_Msk /*!< PLL input clock * 4 */ |
1410 | #define RCC_CFGR_PLLMULL5_Pos (18U) |
||
9 | mjames | 1411 | #define RCC_CFGR_PLLMULL5_Msk (0x3UL << RCC_CFGR_PLLMULL5_Pos) /*!< 0x000C0000 */ |
2 | mjames | 1412 | #define RCC_CFGR_PLLMULL5 RCC_CFGR_PLLMULL5_Msk /*!< PLL input clock * 5 */ |
1413 | #define RCC_CFGR_PLLMULL6_Pos (20U) |
||
9 | mjames | 1414 | #define RCC_CFGR_PLLMULL6_Msk (0x1UL << RCC_CFGR_PLLMULL6_Pos) /*!< 0x00100000 */ |
2 | mjames | 1415 | #define RCC_CFGR_PLLMULL6 RCC_CFGR_PLLMULL6_Msk /*!< PLL input clock * 6 */ |
1416 | #define RCC_CFGR_PLLMULL7_Pos (18U) |
||
9 | mjames | 1417 | #define RCC_CFGR_PLLMULL7_Msk (0x5UL << RCC_CFGR_PLLMULL7_Pos) /*!< 0x00140000 */ |
2 | mjames | 1418 | #define RCC_CFGR_PLLMULL7 RCC_CFGR_PLLMULL7_Msk /*!< PLL input clock * 7 */ |
1419 | #define RCC_CFGR_PLLMULL8_Pos (19U) |
||
9 | mjames | 1420 | #define RCC_CFGR_PLLMULL8_Msk (0x3UL << RCC_CFGR_PLLMULL8_Pos) /*!< 0x00180000 */ |
2 | mjames | 1421 | #define RCC_CFGR_PLLMULL8 RCC_CFGR_PLLMULL8_Msk /*!< PLL input clock * 8 */ |
1422 | #define RCC_CFGR_PLLMULL9_Pos (18U) |
||
9 | mjames | 1423 | #define RCC_CFGR_PLLMULL9_Msk (0x7UL << RCC_CFGR_PLLMULL9_Pos) /*!< 0x001C0000 */ |
2 | mjames | 1424 | #define RCC_CFGR_PLLMULL9 RCC_CFGR_PLLMULL9_Msk /*!< PLL input clock * 9 */ |
1425 | #define RCC_CFGR_PLLMULL6_5 0x00340000U /*!< PLL input clock * 6.5 */ |
||
1426 | |||
1427 | #define RCC_CFGR_OTGFSPRE_Pos (22U) |
||
9 | mjames | 1428 | #define RCC_CFGR_OTGFSPRE_Msk (0x1UL << RCC_CFGR_OTGFSPRE_Pos) /*!< 0x00400000 */ |
2 | mjames | 1429 | #define RCC_CFGR_OTGFSPRE RCC_CFGR_OTGFSPRE_Msk /*!< USB OTG FS prescaler */ |
1430 | |||
1431 | /*!< MCO configuration */ |
||
1432 | #define RCC_CFGR_MCO_Pos (24U) |
||
9 | mjames | 1433 | #define RCC_CFGR_MCO_Msk (0xFUL << RCC_CFGR_MCO_Pos) /*!< 0x0F000000 */ |
2 | mjames | 1434 | #define RCC_CFGR_MCO RCC_CFGR_MCO_Msk /*!< MCO[3:0] bits (Microcontroller Clock Output) */ |
9 | mjames | 1435 | #define RCC_CFGR_MCO_0 (0x1UL << RCC_CFGR_MCO_Pos) /*!< 0x01000000 */ |
1436 | #define RCC_CFGR_MCO_1 (0x2UL << RCC_CFGR_MCO_Pos) /*!< 0x02000000 */ |
||
1437 | #define RCC_CFGR_MCO_2 (0x4UL << RCC_CFGR_MCO_Pos) /*!< 0x04000000 */ |
||
1438 | #define RCC_CFGR_MCO_3 (0x8UL << RCC_CFGR_MCO_Pos) /*!< 0x08000000 */ |
||
2 | mjames | 1439 | |
1440 | #define RCC_CFGR_MCO_NOCLOCK 0x00000000U /*!< No clock */ |
||
1441 | #define RCC_CFGR_MCO_SYSCLK 0x04000000U /*!< System clock selected as MCO source */ |
||
1442 | #define RCC_CFGR_MCO_HSI 0x05000000U /*!< HSI clock selected as MCO source */ |
||
1443 | #define RCC_CFGR_MCO_HSE 0x06000000U /*!< HSE clock selected as MCO source */ |
||
1444 | #define RCC_CFGR_MCO_PLLCLK_DIV2 0x07000000U /*!< PLL clock divided by 2 selected as MCO source */ |
||
1445 | #define RCC_CFGR_MCO_PLL2CLK 0x08000000U /*!< PLL2 clock selected as MCO source*/ |
||
1446 | #define RCC_CFGR_MCO_PLL3CLK_DIV2 0x09000000U /*!< PLL3 clock divided by 2 selected as MCO source*/ |
||
1447 | #define RCC_CFGR_MCO_EXT_HSE 0x0A000000U /*!< XT1 external 3-25 MHz oscillator clock selected as MCO source */ |
||
1448 | #define RCC_CFGR_MCO_PLL3CLK 0x0B000000U /*!< PLL3 clock selected as MCO source */ |
||
1449 | |||
1450 | /* Reference defines */ |
||
1451 | #define RCC_CFGR_MCOSEL RCC_CFGR_MCO |
||
1452 | #define RCC_CFGR_MCOSEL_0 RCC_CFGR_MCO_0 |
||
1453 | #define RCC_CFGR_MCOSEL_1 RCC_CFGR_MCO_1 |
||
1454 | #define RCC_CFGR_MCOSEL_2 RCC_CFGR_MCO_2 |
||
1455 | #define RCC_CFGR_MCOSEL_3 RCC_CFGR_MCO_3 |
||
1456 | #define RCC_CFGR_MCOSEL_NOCLOCK RCC_CFGR_MCO_NOCLOCK |
||
1457 | #define RCC_CFGR_MCOSEL_SYSCLK RCC_CFGR_MCO_SYSCLK |
||
1458 | #define RCC_CFGR_MCOSEL_HSI RCC_CFGR_MCO_HSI |
||
1459 | #define RCC_CFGR_MCOSEL_HSE RCC_CFGR_MCO_HSE |
||
1460 | #define RCC_CFGR_MCOSEL_PLL_DIV2 RCC_CFGR_MCO_PLLCLK_DIV2 |
||
1461 | #define RCC_CFGR_MCOSEL_PLL2 RCC_CFGR_MCO_PLL2CLK |
||
1462 | #define RCC_CFGR_MCOSEL_PLL3_DIV2 RCC_CFGR_MCO_PLL3CLK_DIV2 |
||
1463 | #define RCC_CFGR_MCOSEL_EXT_HSE RCC_CFGR_MCO_EXT_HSE |
||
1464 | #define RCC_CFGR_MCOSEL_PLL3CLK RCC_CFGR_MCO_PLL3CLK |
||
1465 | |||
1466 | /*!<****************** Bit definition for RCC_CIR register ********************/ |
||
1467 | #define RCC_CIR_LSIRDYF_Pos (0U) |
||
9 | mjames | 1468 | #define RCC_CIR_LSIRDYF_Msk (0x1UL << RCC_CIR_LSIRDYF_Pos) /*!< 0x00000001 */ |
2 | mjames | 1469 | #define RCC_CIR_LSIRDYF RCC_CIR_LSIRDYF_Msk /*!< LSI Ready Interrupt flag */ |
1470 | #define RCC_CIR_LSERDYF_Pos (1U) |
||
9 | mjames | 1471 | #define RCC_CIR_LSERDYF_Msk (0x1UL << RCC_CIR_LSERDYF_Pos) /*!< 0x00000002 */ |
2 | mjames | 1472 | #define RCC_CIR_LSERDYF RCC_CIR_LSERDYF_Msk /*!< LSE Ready Interrupt flag */ |
1473 | #define RCC_CIR_HSIRDYF_Pos (2U) |
||
9 | mjames | 1474 | #define RCC_CIR_HSIRDYF_Msk (0x1UL << RCC_CIR_HSIRDYF_Pos) /*!< 0x00000004 */ |
2 | mjames | 1475 | #define RCC_CIR_HSIRDYF RCC_CIR_HSIRDYF_Msk /*!< HSI Ready Interrupt flag */ |
1476 | #define RCC_CIR_HSERDYF_Pos (3U) |
||
9 | mjames | 1477 | #define RCC_CIR_HSERDYF_Msk (0x1UL << RCC_CIR_HSERDYF_Pos) /*!< 0x00000008 */ |
2 | mjames | 1478 | #define RCC_CIR_HSERDYF RCC_CIR_HSERDYF_Msk /*!< HSE Ready Interrupt flag */ |
1479 | #define RCC_CIR_PLLRDYF_Pos (4U) |
||
9 | mjames | 1480 | #define RCC_CIR_PLLRDYF_Msk (0x1UL << RCC_CIR_PLLRDYF_Pos) /*!< 0x00000010 */ |
2 | mjames | 1481 | #define RCC_CIR_PLLRDYF RCC_CIR_PLLRDYF_Msk /*!< PLL Ready Interrupt flag */ |
1482 | #define RCC_CIR_CSSF_Pos (7U) |
||
9 | mjames | 1483 | #define RCC_CIR_CSSF_Msk (0x1UL << RCC_CIR_CSSF_Pos) /*!< 0x00000080 */ |
2 | mjames | 1484 | #define RCC_CIR_CSSF RCC_CIR_CSSF_Msk /*!< Clock Security System Interrupt flag */ |
1485 | #define RCC_CIR_LSIRDYIE_Pos (8U) |
||
9 | mjames | 1486 | #define RCC_CIR_LSIRDYIE_Msk (0x1UL << RCC_CIR_LSIRDYIE_Pos) /*!< 0x00000100 */ |
2 | mjames | 1487 | #define RCC_CIR_LSIRDYIE RCC_CIR_LSIRDYIE_Msk /*!< LSI Ready Interrupt Enable */ |
1488 | #define RCC_CIR_LSERDYIE_Pos (9U) |
||
9 | mjames | 1489 | #define RCC_CIR_LSERDYIE_Msk (0x1UL << RCC_CIR_LSERDYIE_Pos) /*!< 0x00000200 */ |
2 | mjames | 1490 | #define RCC_CIR_LSERDYIE RCC_CIR_LSERDYIE_Msk /*!< LSE Ready Interrupt Enable */ |
1491 | #define RCC_CIR_HSIRDYIE_Pos (10U) |
||
9 | mjames | 1492 | #define RCC_CIR_HSIRDYIE_Msk (0x1UL << RCC_CIR_HSIRDYIE_Pos) /*!< 0x00000400 */ |
2 | mjames | 1493 | #define RCC_CIR_HSIRDYIE RCC_CIR_HSIRDYIE_Msk /*!< HSI Ready Interrupt Enable */ |
1494 | #define RCC_CIR_HSERDYIE_Pos (11U) |
||
9 | mjames | 1495 | #define RCC_CIR_HSERDYIE_Msk (0x1UL << RCC_CIR_HSERDYIE_Pos) /*!< 0x00000800 */ |
2 | mjames | 1496 | #define RCC_CIR_HSERDYIE RCC_CIR_HSERDYIE_Msk /*!< HSE Ready Interrupt Enable */ |
1497 | #define RCC_CIR_PLLRDYIE_Pos (12U) |
||
9 | mjames | 1498 | #define RCC_CIR_PLLRDYIE_Msk (0x1UL << RCC_CIR_PLLRDYIE_Pos) /*!< 0x00001000 */ |
2 | mjames | 1499 | #define RCC_CIR_PLLRDYIE RCC_CIR_PLLRDYIE_Msk /*!< PLL Ready Interrupt Enable */ |
1500 | #define RCC_CIR_LSIRDYC_Pos (16U) |
||
9 | mjames | 1501 | #define RCC_CIR_LSIRDYC_Msk (0x1UL << RCC_CIR_LSIRDYC_Pos) /*!< 0x00010000 */ |
2 | mjames | 1502 | #define RCC_CIR_LSIRDYC RCC_CIR_LSIRDYC_Msk /*!< LSI Ready Interrupt Clear */ |
1503 | #define RCC_CIR_LSERDYC_Pos (17U) |
||
9 | mjames | 1504 | #define RCC_CIR_LSERDYC_Msk (0x1UL << RCC_CIR_LSERDYC_Pos) /*!< 0x00020000 */ |
2 | mjames | 1505 | #define RCC_CIR_LSERDYC RCC_CIR_LSERDYC_Msk /*!< LSE Ready Interrupt Clear */ |
1506 | #define RCC_CIR_HSIRDYC_Pos (18U) |
||
9 | mjames | 1507 | #define RCC_CIR_HSIRDYC_Msk (0x1UL << RCC_CIR_HSIRDYC_Pos) /*!< 0x00040000 */ |
2 | mjames | 1508 | #define RCC_CIR_HSIRDYC RCC_CIR_HSIRDYC_Msk /*!< HSI Ready Interrupt Clear */ |
1509 | #define RCC_CIR_HSERDYC_Pos (19U) |
||
9 | mjames | 1510 | #define RCC_CIR_HSERDYC_Msk (0x1UL << RCC_CIR_HSERDYC_Pos) /*!< 0x00080000 */ |
2 | mjames | 1511 | #define RCC_CIR_HSERDYC RCC_CIR_HSERDYC_Msk /*!< HSE Ready Interrupt Clear */ |
1512 | #define RCC_CIR_PLLRDYC_Pos (20U) |
||
9 | mjames | 1513 | #define RCC_CIR_PLLRDYC_Msk (0x1UL << RCC_CIR_PLLRDYC_Pos) /*!< 0x00100000 */ |
2 | mjames | 1514 | #define RCC_CIR_PLLRDYC RCC_CIR_PLLRDYC_Msk /*!< PLL Ready Interrupt Clear */ |
1515 | #define RCC_CIR_CSSC_Pos (23U) |
||
9 | mjames | 1516 | #define RCC_CIR_CSSC_Msk (0x1UL << RCC_CIR_CSSC_Pos) /*!< 0x00800000 */ |
2 | mjames | 1517 | #define RCC_CIR_CSSC RCC_CIR_CSSC_Msk /*!< Clock Security System Interrupt Clear */ |
1518 | |||
1519 | #define RCC_CIR_PLL2RDYF_Pos (5U) |
||
9 | mjames | 1520 | #define RCC_CIR_PLL2RDYF_Msk (0x1UL << RCC_CIR_PLL2RDYF_Pos) /*!< 0x00000020 */ |
2 | mjames | 1521 | #define RCC_CIR_PLL2RDYF RCC_CIR_PLL2RDYF_Msk /*!< PLL2 Ready Interrupt flag */ |
1522 | #define RCC_CIR_PLL3RDYF_Pos (6U) |
||
9 | mjames | 1523 | #define RCC_CIR_PLL3RDYF_Msk (0x1UL << RCC_CIR_PLL3RDYF_Pos) /*!< 0x00000040 */ |
2 | mjames | 1524 | #define RCC_CIR_PLL3RDYF RCC_CIR_PLL3RDYF_Msk /*!< PLL3 Ready Interrupt flag */ |
1525 | #define RCC_CIR_PLL2RDYIE_Pos (13U) |
||
9 | mjames | 1526 | #define RCC_CIR_PLL2RDYIE_Msk (0x1UL << RCC_CIR_PLL2RDYIE_Pos) /*!< 0x00002000 */ |
2 | mjames | 1527 | #define RCC_CIR_PLL2RDYIE RCC_CIR_PLL2RDYIE_Msk /*!< PLL2 Ready Interrupt Enable */ |
1528 | #define RCC_CIR_PLL3RDYIE_Pos (14U) |
||
9 | mjames | 1529 | #define RCC_CIR_PLL3RDYIE_Msk (0x1UL << RCC_CIR_PLL3RDYIE_Pos) /*!< 0x00004000 */ |
2 | mjames | 1530 | #define RCC_CIR_PLL3RDYIE RCC_CIR_PLL3RDYIE_Msk /*!< PLL3 Ready Interrupt Enable */ |
1531 | #define RCC_CIR_PLL2RDYC_Pos (21U) |
||
9 | mjames | 1532 | #define RCC_CIR_PLL2RDYC_Msk (0x1UL << RCC_CIR_PLL2RDYC_Pos) /*!< 0x00200000 */ |
2 | mjames | 1533 | #define RCC_CIR_PLL2RDYC RCC_CIR_PLL2RDYC_Msk /*!< PLL2 Ready Interrupt Clear */ |
1534 | #define RCC_CIR_PLL3RDYC_Pos (22U) |
||
9 | mjames | 1535 | #define RCC_CIR_PLL3RDYC_Msk (0x1UL << RCC_CIR_PLL3RDYC_Pos) /*!< 0x00400000 */ |
2 | mjames | 1536 | #define RCC_CIR_PLL3RDYC RCC_CIR_PLL3RDYC_Msk /*!< PLL3 Ready Interrupt Clear */ |
1537 | |||
1538 | /***************** Bit definition for RCC_APB2RSTR register *****************/ |
||
1539 | #define RCC_APB2RSTR_AFIORST_Pos (0U) |
||
9 | mjames | 1540 | #define RCC_APB2RSTR_AFIORST_Msk (0x1UL << RCC_APB2RSTR_AFIORST_Pos) /*!< 0x00000001 */ |
2 | mjames | 1541 | #define RCC_APB2RSTR_AFIORST RCC_APB2RSTR_AFIORST_Msk /*!< Alternate Function I/O reset */ |
1542 | #define RCC_APB2RSTR_IOPARST_Pos (2U) |
||
9 | mjames | 1543 | #define RCC_APB2RSTR_IOPARST_Msk (0x1UL << RCC_APB2RSTR_IOPARST_Pos) /*!< 0x00000004 */ |
2 | mjames | 1544 | #define RCC_APB2RSTR_IOPARST RCC_APB2RSTR_IOPARST_Msk /*!< I/O port A reset */ |
1545 | #define RCC_APB2RSTR_IOPBRST_Pos (3U) |
||
9 | mjames | 1546 | #define RCC_APB2RSTR_IOPBRST_Msk (0x1UL << RCC_APB2RSTR_IOPBRST_Pos) /*!< 0x00000008 */ |
2 | mjames | 1547 | #define RCC_APB2RSTR_IOPBRST RCC_APB2RSTR_IOPBRST_Msk /*!< I/O port B reset */ |
1548 | #define RCC_APB2RSTR_IOPCRST_Pos (4U) |
||
9 | mjames | 1549 | #define RCC_APB2RSTR_IOPCRST_Msk (0x1UL << RCC_APB2RSTR_IOPCRST_Pos) /*!< 0x00000010 */ |
2 | mjames | 1550 | #define RCC_APB2RSTR_IOPCRST RCC_APB2RSTR_IOPCRST_Msk /*!< I/O port C reset */ |
1551 | #define RCC_APB2RSTR_IOPDRST_Pos (5U) |
||
9 | mjames | 1552 | #define RCC_APB2RSTR_IOPDRST_Msk (0x1UL << RCC_APB2RSTR_IOPDRST_Pos) /*!< 0x00000020 */ |
2 | mjames | 1553 | #define RCC_APB2RSTR_IOPDRST RCC_APB2RSTR_IOPDRST_Msk /*!< I/O port D reset */ |
1554 | #define RCC_APB2RSTR_ADC1RST_Pos (9U) |
||
9 | mjames | 1555 | #define RCC_APB2RSTR_ADC1RST_Msk (0x1UL << RCC_APB2RSTR_ADC1RST_Pos) /*!< 0x00000200 */ |
2 | mjames | 1556 | #define RCC_APB2RSTR_ADC1RST RCC_APB2RSTR_ADC1RST_Msk /*!< ADC 1 interface reset */ |
1557 | |||
1558 | #define RCC_APB2RSTR_ADC2RST_Pos (10U) |
||
9 | mjames | 1559 | #define RCC_APB2RSTR_ADC2RST_Msk (0x1UL << RCC_APB2RSTR_ADC2RST_Pos) /*!< 0x00000400 */ |
2 | mjames | 1560 | #define RCC_APB2RSTR_ADC2RST RCC_APB2RSTR_ADC2RST_Msk /*!< ADC 2 interface reset */ |
1561 | |||
1562 | #define RCC_APB2RSTR_TIM1RST_Pos (11U) |
||
9 | mjames | 1563 | #define RCC_APB2RSTR_TIM1RST_Msk (0x1UL << RCC_APB2RSTR_TIM1RST_Pos) /*!< 0x00000800 */ |
2 | mjames | 1564 | #define RCC_APB2RSTR_TIM1RST RCC_APB2RSTR_TIM1RST_Msk /*!< TIM1 Timer reset */ |
1565 | #define RCC_APB2RSTR_SPI1RST_Pos (12U) |
||
9 | mjames | 1566 | #define RCC_APB2RSTR_SPI1RST_Msk (0x1UL << RCC_APB2RSTR_SPI1RST_Pos) /*!< 0x00001000 */ |
2 | mjames | 1567 | #define RCC_APB2RSTR_SPI1RST RCC_APB2RSTR_SPI1RST_Msk /*!< SPI 1 reset */ |
1568 | #define RCC_APB2RSTR_USART1RST_Pos (14U) |
||
9 | mjames | 1569 | #define RCC_APB2RSTR_USART1RST_Msk (0x1UL << RCC_APB2RSTR_USART1RST_Pos) /*!< 0x00004000 */ |
2 | mjames | 1570 | #define RCC_APB2RSTR_USART1RST RCC_APB2RSTR_USART1RST_Msk /*!< USART1 reset */ |
1571 | |||
1572 | |||
1573 | #define RCC_APB2RSTR_IOPERST_Pos (6U) |
||
9 | mjames | 1574 | #define RCC_APB2RSTR_IOPERST_Msk (0x1UL << RCC_APB2RSTR_IOPERST_Pos) /*!< 0x00000040 */ |
2 | mjames | 1575 | #define RCC_APB2RSTR_IOPERST RCC_APB2RSTR_IOPERST_Msk /*!< I/O port E reset */ |
1576 | |||
1577 | |||
1578 | |||
1579 | |||
1580 | /***************** Bit definition for RCC_APB1RSTR register *****************/ |
||
1581 | #define RCC_APB1RSTR_TIM2RST_Pos (0U) |
||
9 | mjames | 1582 | #define RCC_APB1RSTR_TIM2RST_Msk (0x1UL << RCC_APB1RSTR_TIM2RST_Pos) /*!< 0x00000001 */ |
2 | mjames | 1583 | #define RCC_APB1RSTR_TIM2RST RCC_APB1RSTR_TIM2RST_Msk /*!< Timer 2 reset */ |
1584 | #define RCC_APB1RSTR_TIM3RST_Pos (1U) |
||
9 | mjames | 1585 | #define RCC_APB1RSTR_TIM3RST_Msk (0x1UL << RCC_APB1RSTR_TIM3RST_Pos) /*!< 0x00000002 */ |
2 | mjames | 1586 | #define RCC_APB1RSTR_TIM3RST RCC_APB1RSTR_TIM3RST_Msk /*!< Timer 3 reset */ |
1587 | #define RCC_APB1RSTR_WWDGRST_Pos (11U) |
||
9 | mjames | 1588 | #define RCC_APB1RSTR_WWDGRST_Msk (0x1UL << RCC_APB1RSTR_WWDGRST_Pos) /*!< 0x00000800 */ |
2 | mjames | 1589 | #define RCC_APB1RSTR_WWDGRST RCC_APB1RSTR_WWDGRST_Msk /*!< Window Watchdog reset */ |
1590 | #define RCC_APB1RSTR_USART2RST_Pos (17U) |
||
9 | mjames | 1591 | #define RCC_APB1RSTR_USART2RST_Msk (0x1UL << RCC_APB1RSTR_USART2RST_Pos) /*!< 0x00020000 */ |
2 | mjames | 1592 | #define RCC_APB1RSTR_USART2RST RCC_APB1RSTR_USART2RST_Msk /*!< USART 2 reset */ |
1593 | #define RCC_APB1RSTR_I2C1RST_Pos (21U) |
||
9 | mjames | 1594 | #define RCC_APB1RSTR_I2C1RST_Msk (0x1UL << RCC_APB1RSTR_I2C1RST_Pos) /*!< 0x00200000 */ |
2 | mjames | 1595 | #define RCC_APB1RSTR_I2C1RST RCC_APB1RSTR_I2C1RST_Msk /*!< I2C 1 reset */ |
1596 | |||
1597 | #define RCC_APB1RSTR_CAN1RST_Pos (25U) |
||
9 | mjames | 1598 | #define RCC_APB1RSTR_CAN1RST_Msk (0x1UL << RCC_APB1RSTR_CAN1RST_Pos) /*!< 0x02000000 */ |
2 | mjames | 1599 | #define RCC_APB1RSTR_CAN1RST RCC_APB1RSTR_CAN1RST_Msk /*!< CAN1 reset */ |
1600 | |||
1601 | #define RCC_APB1RSTR_BKPRST_Pos (27U) |
||
9 | mjames | 1602 | #define RCC_APB1RSTR_BKPRST_Msk (0x1UL << RCC_APB1RSTR_BKPRST_Pos) /*!< 0x08000000 */ |
2 | mjames | 1603 | #define RCC_APB1RSTR_BKPRST RCC_APB1RSTR_BKPRST_Msk /*!< Backup interface reset */ |
1604 | #define RCC_APB1RSTR_PWRRST_Pos (28U) |
||
9 | mjames | 1605 | #define RCC_APB1RSTR_PWRRST_Msk (0x1UL << RCC_APB1RSTR_PWRRST_Pos) /*!< 0x10000000 */ |
2 | mjames | 1606 | #define RCC_APB1RSTR_PWRRST RCC_APB1RSTR_PWRRST_Msk /*!< Power interface reset */ |
1607 | |||
1608 | #define RCC_APB1RSTR_TIM4RST_Pos (2U) |
||
9 | mjames | 1609 | #define RCC_APB1RSTR_TIM4RST_Msk (0x1UL << RCC_APB1RSTR_TIM4RST_Pos) /*!< 0x00000004 */ |
2 | mjames | 1610 | #define RCC_APB1RSTR_TIM4RST RCC_APB1RSTR_TIM4RST_Msk /*!< Timer 4 reset */ |
1611 | #define RCC_APB1RSTR_SPI2RST_Pos (14U) |
||
9 | mjames | 1612 | #define RCC_APB1RSTR_SPI2RST_Msk (0x1UL << RCC_APB1RSTR_SPI2RST_Pos) /*!< 0x00004000 */ |
2 | mjames | 1613 | #define RCC_APB1RSTR_SPI2RST RCC_APB1RSTR_SPI2RST_Msk /*!< SPI 2 reset */ |
1614 | #define RCC_APB1RSTR_USART3RST_Pos (18U) |
||
9 | mjames | 1615 | #define RCC_APB1RSTR_USART3RST_Msk (0x1UL << RCC_APB1RSTR_USART3RST_Pos) /*!< 0x00040000 */ |
2 | mjames | 1616 | #define RCC_APB1RSTR_USART3RST RCC_APB1RSTR_USART3RST_Msk /*!< USART 3 reset */ |
1617 | #define RCC_APB1RSTR_I2C2RST_Pos (22U) |
||
9 | mjames | 1618 | #define RCC_APB1RSTR_I2C2RST_Msk (0x1UL << RCC_APB1RSTR_I2C2RST_Pos) /*!< 0x00400000 */ |
2 | mjames | 1619 | #define RCC_APB1RSTR_I2C2RST RCC_APB1RSTR_I2C2RST_Msk /*!< I2C 2 reset */ |
1620 | |||
1621 | |||
1622 | #define RCC_APB1RSTR_TIM5RST_Pos (3U) |
||
9 | mjames | 1623 | #define RCC_APB1RSTR_TIM5RST_Msk (0x1UL << RCC_APB1RSTR_TIM5RST_Pos) /*!< 0x00000008 */ |
2 | mjames | 1624 | #define RCC_APB1RSTR_TIM5RST RCC_APB1RSTR_TIM5RST_Msk /*!< Timer 5 reset */ |
1625 | #define RCC_APB1RSTR_TIM6RST_Pos (4U) |
||
9 | mjames | 1626 | #define RCC_APB1RSTR_TIM6RST_Msk (0x1UL << RCC_APB1RSTR_TIM6RST_Pos) /*!< 0x00000010 */ |
2 | mjames | 1627 | #define RCC_APB1RSTR_TIM6RST RCC_APB1RSTR_TIM6RST_Msk /*!< Timer 6 reset */ |
1628 | #define RCC_APB1RSTR_TIM7RST_Pos (5U) |
||
9 | mjames | 1629 | #define RCC_APB1RSTR_TIM7RST_Msk (0x1UL << RCC_APB1RSTR_TIM7RST_Pos) /*!< 0x00000020 */ |
2 | mjames | 1630 | #define RCC_APB1RSTR_TIM7RST RCC_APB1RSTR_TIM7RST_Msk /*!< Timer 7 reset */ |
1631 | #define RCC_APB1RSTR_SPI3RST_Pos (15U) |
||
9 | mjames | 1632 | #define RCC_APB1RSTR_SPI3RST_Msk (0x1UL << RCC_APB1RSTR_SPI3RST_Pos) /*!< 0x00008000 */ |
2 | mjames | 1633 | #define RCC_APB1RSTR_SPI3RST RCC_APB1RSTR_SPI3RST_Msk /*!< SPI 3 reset */ |
1634 | #define RCC_APB1RSTR_UART4RST_Pos (19U) |
||
9 | mjames | 1635 | #define RCC_APB1RSTR_UART4RST_Msk (0x1UL << RCC_APB1RSTR_UART4RST_Pos) /*!< 0x00080000 */ |
2 | mjames | 1636 | #define RCC_APB1RSTR_UART4RST RCC_APB1RSTR_UART4RST_Msk /*!< UART 4 reset */ |
1637 | #define RCC_APB1RSTR_UART5RST_Pos (20U) |
||
9 | mjames | 1638 | #define RCC_APB1RSTR_UART5RST_Msk (0x1UL << RCC_APB1RSTR_UART5RST_Pos) /*!< 0x00100000 */ |
2 | mjames | 1639 | #define RCC_APB1RSTR_UART5RST RCC_APB1RSTR_UART5RST_Msk /*!< UART 5 reset */ |
1640 | |||
1641 | |||
1642 | |||
1643 | #define RCC_APB1RSTR_CAN2RST_Pos (26U) |
||
9 | mjames | 1644 | #define RCC_APB1RSTR_CAN2RST_Msk (0x1UL << RCC_APB1RSTR_CAN2RST_Pos) /*!< 0x04000000 */ |
2 | mjames | 1645 | #define RCC_APB1RSTR_CAN2RST RCC_APB1RSTR_CAN2RST_Msk /*!< CAN2 reset */ |
1646 | |||
1647 | #define RCC_APB1RSTR_DACRST_Pos (29U) |
||
9 | mjames | 1648 | #define RCC_APB1RSTR_DACRST_Msk (0x1UL << RCC_APB1RSTR_DACRST_Pos) /*!< 0x20000000 */ |
2 | mjames | 1649 | #define RCC_APB1RSTR_DACRST RCC_APB1RSTR_DACRST_Msk /*!< DAC interface reset */ |
1650 | |||
1651 | /****************** Bit definition for RCC_AHBENR register ******************/ |
||
1652 | #define RCC_AHBENR_DMA1EN_Pos (0U) |
||
9 | mjames | 1653 | #define RCC_AHBENR_DMA1EN_Msk (0x1UL << RCC_AHBENR_DMA1EN_Pos) /*!< 0x00000001 */ |
2 | mjames | 1654 | #define RCC_AHBENR_DMA1EN RCC_AHBENR_DMA1EN_Msk /*!< DMA1 clock enable */ |
1655 | #define RCC_AHBENR_SRAMEN_Pos (2U) |
||
9 | mjames | 1656 | #define RCC_AHBENR_SRAMEN_Msk (0x1UL << RCC_AHBENR_SRAMEN_Pos) /*!< 0x00000004 */ |
2 | mjames | 1657 | #define RCC_AHBENR_SRAMEN RCC_AHBENR_SRAMEN_Msk /*!< SRAM interface clock enable */ |
1658 | #define RCC_AHBENR_FLITFEN_Pos (4U) |
||
9 | mjames | 1659 | #define RCC_AHBENR_FLITFEN_Msk (0x1UL << RCC_AHBENR_FLITFEN_Pos) /*!< 0x00000010 */ |
2 | mjames | 1660 | #define RCC_AHBENR_FLITFEN RCC_AHBENR_FLITFEN_Msk /*!< FLITF clock enable */ |
1661 | #define RCC_AHBENR_CRCEN_Pos (6U) |
||
9 | mjames | 1662 | #define RCC_AHBENR_CRCEN_Msk (0x1UL << RCC_AHBENR_CRCEN_Pos) /*!< 0x00000040 */ |
2 | mjames | 1663 | #define RCC_AHBENR_CRCEN RCC_AHBENR_CRCEN_Msk /*!< CRC clock enable */ |
1664 | |||
1665 | #define RCC_AHBENR_DMA2EN_Pos (1U) |
||
9 | mjames | 1666 | #define RCC_AHBENR_DMA2EN_Msk (0x1UL << RCC_AHBENR_DMA2EN_Pos) /*!< 0x00000002 */ |
2 | mjames | 1667 | #define RCC_AHBENR_DMA2EN RCC_AHBENR_DMA2EN_Msk /*!< DMA2 clock enable */ |
1668 | |||
1669 | |||
1670 | #define RCC_AHBENR_OTGFSEN_Pos (12U) |
||
9 | mjames | 1671 | #define RCC_AHBENR_OTGFSEN_Msk (0x1UL << RCC_AHBENR_OTGFSEN_Pos) /*!< 0x00001000 */ |
2 | mjames | 1672 | #define RCC_AHBENR_OTGFSEN RCC_AHBENR_OTGFSEN_Msk /*!< USB OTG FS clock enable */ |
1673 | |||
1674 | /****************** Bit definition for RCC_APB2ENR register *****************/ |
||
1675 | #define RCC_APB2ENR_AFIOEN_Pos (0U) |
||
9 | mjames | 1676 | #define RCC_APB2ENR_AFIOEN_Msk (0x1UL << RCC_APB2ENR_AFIOEN_Pos) /*!< 0x00000001 */ |
2 | mjames | 1677 | #define RCC_APB2ENR_AFIOEN RCC_APB2ENR_AFIOEN_Msk /*!< Alternate Function I/O clock enable */ |
1678 | #define RCC_APB2ENR_IOPAEN_Pos (2U) |
||
9 | mjames | 1679 | #define RCC_APB2ENR_IOPAEN_Msk (0x1UL << RCC_APB2ENR_IOPAEN_Pos) /*!< 0x00000004 */ |
2 | mjames | 1680 | #define RCC_APB2ENR_IOPAEN RCC_APB2ENR_IOPAEN_Msk /*!< I/O port A clock enable */ |
1681 | #define RCC_APB2ENR_IOPBEN_Pos (3U) |
||
9 | mjames | 1682 | #define RCC_APB2ENR_IOPBEN_Msk (0x1UL << RCC_APB2ENR_IOPBEN_Pos) /*!< 0x00000008 */ |
2 | mjames | 1683 | #define RCC_APB2ENR_IOPBEN RCC_APB2ENR_IOPBEN_Msk /*!< I/O port B clock enable */ |
1684 | #define RCC_APB2ENR_IOPCEN_Pos (4U) |
||
9 | mjames | 1685 | #define RCC_APB2ENR_IOPCEN_Msk (0x1UL << RCC_APB2ENR_IOPCEN_Pos) /*!< 0x00000010 */ |
2 | mjames | 1686 | #define RCC_APB2ENR_IOPCEN RCC_APB2ENR_IOPCEN_Msk /*!< I/O port C clock enable */ |
1687 | #define RCC_APB2ENR_IOPDEN_Pos (5U) |
||
9 | mjames | 1688 | #define RCC_APB2ENR_IOPDEN_Msk (0x1UL << RCC_APB2ENR_IOPDEN_Pos) /*!< 0x00000020 */ |
2 | mjames | 1689 | #define RCC_APB2ENR_IOPDEN RCC_APB2ENR_IOPDEN_Msk /*!< I/O port D clock enable */ |
1690 | #define RCC_APB2ENR_ADC1EN_Pos (9U) |
||
9 | mjames | 1691 | #define RCC_APB2ENR_ADC1EN_Msk (0x1UL << RCC_APB2ENR_ADC1EN_Pos) /*!< 0x00000200 */ |
2 | mjames | 1692 | #define RCC_APB2ENR_ADC1EN RCC_APB2ENR_ADC1EN_Msk /*!< ADC 1 interface clock enable */ |
1693 | |||
1694 | #define RCC_APB2ENR_ADC2EN_Pos (10U) |
||
9 | mjames | 1695 | #define RCC_APB2ENR_ADC2EN_Msk (0x1UL << RCC_APB2ENR_ADC2EN_Pos) /*!< 0x00000400 */ |
2 | mjames | 1696 | #define RCC_APB2ENR_ADC2EN RCC_APB2ENR_ADC2EN_Msk /*!< ADC 2 interface clock enable */ |
1697 | |||
1698 | #define RCC_APB2ENR_TIM1EN_Pos (11U) |
||
9 | mjames | 1699 | #define RCC_APB2ENR_TIM1EN_Msk (0x1UL << RCC_APB2ENR_TIM1EN_Pos) /*!< 0x00000800 */ |
2 | mjames | 1700 | #define RCC_APB2ENR_TIM1EN RCC_APB2ENR_TIM1EN_Msk /*!< TIM1 Timer clock enable */ |
1701 | #define RCC_APB2ENR_SPI1EN_Pos (12U) |
||
9 | mjames | 1702 | #define RCC_APB2ENR_SPI1EN_Msk (0x1UL << RCC_APB2ENR_SPI1EN_Pos) /*!< 0x00001000 */ |
2 | mjames | 1703 | #define RCC_APB2ENR_SPI1EN RCC_APB2ENR_SPI1EN_Msk /*!< SPI 1 clock enable */ |
1704 | #define RCC_APB2ENR_USART1EN_Pos (14U) |
||
9 | mjames | 1705 | #define RCC_APB2ENR_USART1EN_Msk (0x1UL << RCC_APB2ENR_USART1EN_Pos) /*!< 0x00004000 */ |
2 | mjames | 1706 | #define RCC_APB2ENR_USART1EN RCC_APB2ENR_USART1EN_Msk /*!< USART1 clock enable */ |
1707 | |||
1708 | |||
1709 | #define RCC_APB2ENR_IOPEEN_Pos (6U) |
||
9 | mjames | 1710 | #define RCC_APB2ENR_IOPEEN_Msk (0x1UL << RCC_APB2ENR_IOPEEN_Pos) /*!< 0x00000040 */ |
2 | mjames | 1711 | #define RCC_APB2ENR_IOPEEN RCC_APB2ENR_IOPEEN_Msk /*!< I/O port E clock enable */ |
1712 | |||
1713 | |||
1714 | |||
1715 | |||
1716 | /***************** Bit definition for RCC_APB1ENR register ******************/ |
||
1717 | #define RCC_APB1ENR_TIM2EN_Pos (0U) |
||
9 | mjames | 1718 | #define RCC_APB1ENR_TIM2EN_Msk (0x1UL << RCC_APB1ENR_TIM2EN_Pos) /*!< 0x00000001 */ |
2 | mjames | 1719 | #define RCC_APB1ENR_TIM2EN RCC_APB1ENR_TIM2EN_Msk /*!< Timer 2 clock enabled*/ |
1720 | #define RCC_APB1ENR_TIM3EN_Pos (1U) |
||
9 | mjames | 1721 | #define RCC_APB1ENR_TIM3EN_Msk (0x1UL << RCC_APB1ENR_TIM3EN_Pos) /*!< 0x00000002 */ |
2 | mjames | 1722 | #define RCC_APB1ENR_TIM3EN RCC_APB1ENR_TIM3EN_Msk /*!< Timer 3 clock enable */ |
1723 | #define RCC_APB1ENR_WWDGEN_Pos (11U) |
||
9 | mjames | 1724 | #define RCC_APB1ENR_WWDGEN_Msk (0x1UL << RCC_APB1ENR_WWDGEN_Pos) /*!< 0x00000800 */ |
2 | mjames | 1725 | #define RCC_APB1ENR_WWDGEN RCC_APB1ENR_WWDGEN_Msk /*!< Window Watchdog clock enable */ |
1726 | #define RCC_APB1ENR_USART2EN_Pos (17U) |
||
9 | mjames | 1727 | #define RCC_APB1ENR_USART2EN_Msk (0x1UL << RCC_APB1ENR_USART2EN_Pos) /*!< 0x00020000 */ |
2 | mjames | 1728 | #define RCC_APB1ENR_USART2EN RCC_APB1ENR_USART2EN_Msk /*!< USART 2 clock enable */ |
1729 | #define RCC_APB1ENR_I2C1EN_Pos (21U) |
||
9 | mjames | 1730 | #define RCC_APB1ENR_I2C1EN_Msk (0x1UL << RCC_APB1ENR_I2C1EN_Pos) /*!< 0x00200000 */ |
2 | mjames | 1731 | #define RCC_APB1ENR_I2C1EN RCC_APB1ENR_I2C1EN_Msk /*!< I2C 1 clock enable */ |
1732 | |||
1733 | #define RCC_APB1ENR_CAN1EN_Pos (25U) |
||
9 | mjames | 1734 | #define RCC_APB1ENR_CAN1EN_Msk (0x1UL << RCC_APB1ENR_CAN1EN_Pos) /*!< 0x02000000 */ |
2 | mjames | 1735 | #define RCC_APB1ENR_CAN1EN RCC_APB1ENR_CAN1EN_Msk /*!< CAN1 clock enable */ |
1736 | |||
1737 | #define RCC_APB1ENR_BKPEN_Pos (27U) |
||
9 | mjames | 1738 | #define RCC_APB1ENR_BKPEN_Msk (0x1UL << RCC_APB1ENR_BKPEN_Pos) /*!< 0x08000000 */ |
2 | mjames | 1739 | #define RCC_APB1ENR_BKPEN RCC_APB1ENR_BKPEN_Msk /*!< Backup interface clock enable */ |
1740 | #define RCC_APB1ENR_PWREN_Pos (28U) |
||
9 | mjames | 1741 | #define RCC_APB1ENR_PWREN_Msk (0x1UL << RCC_APB1ENR_PWREN_Pos) /*!< 0x10000000 */ |
2 | mjames | 1742 | #define RCC_APB1ENR_PWREN RCC_APB1ENR_PWREN_Msk /*!< Power interface clock enable */ |
1743 | |||
1744 | #define RCC_APB1ENR_TIM4EN_Pos (2U) |
||
9 | mjames | 1745 | #define RCC_APB1ENR_TIM4EN_Msk (0x1UL << RCC_APB1ENR_TIM4EN_Pos) /*!< 0x00000004 */ |
2 | mjames | 1746 | #define RCC_APB1ENR_TIM4EN RCC_APB1ENR_TIM4EN_Msk /*!< Timer 4 clock enable */ |
1747 | #define RCC_APB1ENR_SPI2EN_Pos (14U) |
||
9 | mjames | 1748 | #define RCC_APB1ENR_SPI2EN_Msk (0x1UL << RCC_APB1ENR_SPI2EN_Pos) /*!< 0x00004000 */ |
2 | mjames | 1749 | #define RCC_APB1ENR_SPI2EN RCC_APB1ENR_SPI2EN_Msk /*!< SPI 2 clock enable */ |
1750 | #define RCC_APB1ENR_USART3EN_Pos (18U) |
||
9 | mjames | 1751 | #define RCC_APB1ENR_USART3EN_Msk (0x1UL << RCC_APB1ENR_USART3EN_Pos) /*!< 0x00040000 */ |
2 | mjames | 1752 | #define RCC_APB1ENR_USART3EN RCC_APB1ENR_USART3EN_Msk /*!< USART 3 clock enable */ |
1753 | #define RCC_APB1ENR_I2C2EN_Pos (22U) |
||
9 | mjames | 1754 | #define RCC_APB1ENR_I2C2EN_Msk (0x1UL << RCC_APB1ENR_I2C2EN_Pos) /*!< 0x00400000 */ |
2 | mjames | 1755 | #define RCC_APB1ENR_I2C2EN RCC_APB1ENR_I2C2EN_Msk /*!< I2C 2 clock enable */ |
1756 | |||
1757 | |||
1758 | #define RCC_APB1ENR_TIM5EN_Pos (3U) |
||
9 | mjames | 1759 | #define RCC_APB1ENR_TIM5EN_Msk (0x1UL << RCC_APB1ENR_TIM5EN_Pos) /*!< 0x00000008 */ |
2 | mjames | 1760 | #define RCC_APB1ENR_TIM5EN RCC_APB1ENR_TIM5EN_Msk /*!< Timer 5 clock enable */ |
1761 | #define RCC_APB1ENR_TIM6EN_Pos (4U) |
||
9 | mjames | 1762 | #define RCC_APB1ENR_TIM6EN_Msk (0x1UL << RCC_APB1ENR_TIM6EN_Pos) /*!< 0x00000010 */ |
2 | mjames | 1763 | #define RCC_APB1ENR_TIM6EN RCC_APB1ENR_TIM6EN_Msk /*!< Timer 6 clock enable */ |
1764 | #define RCC_APB1ENR_TIM7EN_Pos (5U) |
||
9 | mjames | 1765 | #define RCC_APB1ENR_TIM7EN_Msk (0x1UL << RCC_APB1ENR_TIM7EN_Pos) /*!< 0x00000020 */ |
2 | mjames | 1766 | #define RCC_APB1ENR_TIM7EN RCC_APB1ENR_TIM7EN_Msk /*!< Timer 7 clock enable */ |
1767 | #define RCC_APB1ENR_SPI3EN_Pos (15U) |
||
9 | mjames | 1768 | #define RCC_APB1ENR_SPI3EN_Msk (0x1UL << RCC_APB1ENR_SPI3EN_Pos) /*!< 0x00008000 */ |
2 | mjames | 1769 | #define RCC_APB1ENR_SPI3EN RCC_APB1ENR_SPI3EN_Msk /*!< SPI 3 clock enable */ |
1770 | #define RCC_APB1ENR_UART4EN_Pos (19U) |
||
9 | mjames | 1771 | #define RCC_APB1ENR_UART4EN_Msk (0x1UL << RCC_APB1ENR_UART4EN_Pos) /*!< 0x00080000 */ |
2 | mjames | 1772 | #define RCC_APB1ENR_UART4EN RCC_APB1ENR_UART4EN_Msk /*!< UART 4 clock enable */ |
1773 | #define RCC_APB1ENR_UART5EN_Pos (20U) |
||
9 | mjames | 1774 | #define RCC_APB1ENR_UART5EN_Msk (0x1UL << RCC_APB1ENR_UART5EN_Pos) /*!< 0x00100000 */ |
2 | mjames | 1775 | #define RCC_APB1ENR_UART5EN RCC_APB1ENR_UART5EN_Msk /*!< UART 5 clock enable */ |
1776 | |||
1777 | |||
1778 | |||
1779 | #define RCC_APB1ENR_CAN2EN_Pos (26U) |
||
9 | mjames | 1780 | #define RCC_APB1ENR_CAN2EN_Msk (0x1UL << RCC_APB1ENR_CAN2EN_Pos) /*!< 0x04000000 */ |
2 | mjames | 1781 | #define RCC_APB1ENR_CAN2EN RCC_APB1ENR_CAN2EN_Msk /*!< CAN2 clock enable */ |
1782 | |||
1783 | #define RCC_APB1ENR_DACEN_Pos (29U) |
||
9 | mjames | 1784 | #define RCC_APB1ENR_DACEN_Msk (0x1UL << RCC_APB1ENR_DACEN_Pos) /*!< 0x20000000 */ |
2 | mjames | 1785 | #define RCC_APB1ENR_DACEN RCC_APB1ENR_DACEN_Msk /*!< DAC interface clock enable */ |
1786 | |||
1787 | /******************* Bit definition for RCC_BDCR register *******************/ |
||
1788 | #define RCC_BDCR_LSEON_Pos (0U) |
||
9 | mjames | 1789 | #define RCC_BDCR_LSEON_Msk (0x1UL << RCC_BDCR_LSEON_Pos) /*!< 0x00000001 */ |
2 | mjames | 1790 | #define RCC_BDCR_LSEON RCC_BDCR_LSEON_Msk /*!< External Low Speed oscillator enable */ |
1791 | #define RCC_BDCR_LSERDY_Pos (1U) |
||
9 | mjames | 1792 | #define RCC_BDCR_LSERDY_Msk (0x1UL << RCC_BDCR_LSERDY_Pos) /*!< 0x00000002 */ |
2 | mjames | 1793 | #define RCC_BDCR_LSERDY RCC_BDCR_LSERDY_Msk /*!< External Low Speed oscillator Ready */ |
1794 | #define RCC_BDCR_LSEBYP_Pos (2U) |
||
9 | mjames | 1795 | #define RCC_BDCR_LSEBYP_Msk (0x1UL << RCC_BDCR_LSEBYP_Pos) /*!< 0x00000004 */ |
2 | mjames | 1796 | #define RCC_BDCR_LSEBYP RCC_BDCR_LSEBYP_Msk /*!< External Low Speed oscillator Bypass */ |
1797 | |||
1798 | #define RCC_BDCR_RTCSEL_Pos (8U) |
||
9 | mjames | 1799 | #define RCC_BDCR_RTCSEL_Msk (0x3UL << RCC_BDCR_RTCSEL_Pos) /*!< 0x00000300 */ |
2 | mjames | 1800 | #define RCC_BDCR_RTCSEL RCC_BDCR_RTCSEL_Msk /*!< RTCSEL[1:0] bits (RTC clock source selection) */ |
9 | mjames | 1801 | #define RCC_BDCR_RTCSEL_0 (0x1UL << RCC_BDCR_RTCSEL_Pos) /*!< 0x00000100 */ |
1802 | #define RCC_BDCR_RTCSEL_1 (0x2UL << RCC_BDCR_RTCSEL_Pos) /*!< 0x00000200 */ |
||
2 | mjames | 1803 | |
1804 | /*!< RTC congiguration */ |
||
1805 | #define RCC_BDCR_RTCSEL_NOCLOCK 0x00000000U /*!< No clock */ |
||
1806 | #define RCC_BDCR_RTCSEL_LSE 0x00000100U /*!< LSE oscillator clock used as RTC clock */ |
||
1807 | #define RCC_BDCR_RTCSEL_LSI 0x00000200U /*!< LSI oscillator clock used as RTC clock */ |
||
1808 | #define RCC_BDCR_RTCSEL_HSE 0x00000300U /*!< HSE oscillator clock divided by 128 used as RTC clock */ |
||
1809 | |||
1810 | #define RCC_BDCR_RTCEN_Pos (15U) |
||
9 | mjames | 1811 | #define RCC_BDCR_RTCEN_Msk (0x1UL << RCC_BDCR_RTCEN_Pos) /*!< 0x00008000 */ |
2 | mjames | 1812 | #define RCC_BDCR_RTCEN RCC_BDCR_RTCEN_Msk /*!< RTC clock enable */ |
1813 | #define RCC_BDCR_BDRST_Pos (16U) |
||
9 | mjames | 1814 | #define RCC_BDCR_BDRST_Msk (0x1UL << RCC_BDCR_BDRST_Pos) /*!< 0x00010000 */ |
2 | mjames | 1815 | #define RCC_BDCR_BDRST RCC_BDCR_BDRST_Msk /*!< Backup domain software reset */ |
1816 | |||
1817 | /******************* Bit definition for RCC_CSR register ********************/ |
||
1818 | #define RCC_CSR_LSION_Pos (0U) |
||
9 | mjames | 1819 | #define RCC_CSR_LSION_Msk (0x1UL << RCC_CSR_LSION_Pos) /*!< 0x00000001 */ |
2 | mjames | 1820 | #define RCC_CSR_LSION RCC_CSR_LSION_Msk /*!< Internal Low Speed oscillator enable */ |
1821 | #define RCC_CSR_LSIRDY_Pos (1U) |
||
9 | mjames | 1822 | #define RCC_CSR_LSIRDY_Msk (0x1UL << RCC_CSR_LSIRDY_Pos) /*!< 0x00000002 */ |
2 | mjames | 1823 | #define RCC_CSR_LSIRDY RCC_CSR_LSIRDY_Msk /*!< Internal Low Speed oscillator Ready */ |
1824 | #define RCC_CSR_RMVF_Pos (24U) |
||
9 | mjames | 1825 | #define RCC_CSR_RMVF_Msk (0x1UL << RCC_CSR_RMVF_Pos) /*!< 0x01000000 */ |
2 | mjames | 1826 | #define RCC_CSR_RMVF RCC_CSR_RMVF_Msk /*!< Remove reset flag */ |
1827 | #define RCC_CSR_PINRSTF_Pos (26U) |
||
9 | mjames | 1828 | #define RCC_CSR_PINRSTF_Msk (0x1UL << RCC_CSR_PINRSTF_Pos) /*!< 0x04000000 */ |
2 | mjames | 1829 | #define RCC_CSR_PINRSTF RCC_CSR_PINRSTF_Msk /*!< PIN reset flag */ |
1830 | #define RCC_CSR_PORRSTF_Pos (27U) |
||
9 | mjames | 1831 | #define RCC_CSR_PORRSTF_Msk (0x1UL << RCC_CSR_PORRSTF_Pos) /*!< 0x08000000 */ |
2 | mjames | 1832 | #define RCC_CSR_PORRSTF RCC_CSR_PORRSTF_Msk /*!< POR/PDR reset flag */ |
1833 | #define RCC_CSR_SFTRSTF_Pos (28U) |
||
9 | mjames | 1834 | #define RCC_CSR_SFTRSTF_Msk (0x1UL << RCC_CSR_SFTRSTF_Pos) /*!< 0x10000000 */ |
2 | mjames | 1835 | #define RCC_CSR_SFTRSTF RCC_CSR_SFTRSTF_Msk /*!< Software Reset flag */ |
1836 | #define RCC_CSR_IWDGRSTF_Pos (29U) |
||
9 | mjames | 1837 | #define RCC_CSR_IWDGRSTF_Msk (0x1UL << RCC_CSR_IWDGRSTF_Pos) /*!< 0x20000000 */ |
2 | mjames | 1838 | #define RCC_CSR_IWDGRSTF RCC_CSR_IWDGRSTF_Msk /*!< Independent Watchdog reset flag */ |
1839 | #define RCC_CSR_WWDGRSTF_Pos (30U) |
||
9 | mjames | 1840 | #define RCC_CSR_WWDGRSTF_Msk (0x1UL << RCC_CSR_WWDGRSTF_Pos) /*!< 0x40000000 */ |
2 | mjames | 1841 | #define RCC_CSR_WWDGRSTF RCC_CSR_WWDGRSTF_Msk /*!< Window watchdog reset flag */ |
1842 | #define RCC_CSR_LPWRRSTF_Pos (31U) |
||
9 | mjames | 1843 | #define RCC_CSR_LPWRRSTF_Msk (0x1UL << RCC_CSR_LPWRRSTF_Pos) /*!< 0x80000000 */ |
2 | mjames | 1844 | #define RCC_CSR_LPWRRSTF RCC_CSR_LPWRRSTF_Msk /*!< Low-Power reset flag */ |
1845 | |||
1846 | /******************* Bit definition for RCC_AHBRSTR register ****************/ |
||
1847 | #define RCC_AHBRSTR_OTGFSRST_Pos (12U) |
||
9 | mjames | 1848 | #define RCC_AHBRSTR_OTGFSRST_Msk (0x1UL << RCC_AHBRSTR_OTGFSRST_Pos) /*!< 0x00001000 */ |
2 | mjames | 1849 | #define RCC_AHBRSTR_OTGFSRST RCC_AHBRSTR_OTGFSRST_Msk /*!< USB OTG FS reset */ |
1850 | |||
1851 | /******************* Bit definition for RCC_CFGR2 register ******************/ |
||
1852 | /*!< PREDIV1 configuration */ |
||
1853 | #define RCC_CFGR2_PREDIV1_Pos (0U) |
||
9 | mjames | 1854 | #define RCC_CFGR2_PREDIV1_Msk (0xFUL << RCC_CFGR2_PREDIV1_Pos) /*!< 0x0000000F */ |
2 | mjames | 1855 | #define RCC_CFGR2_PREDIV1 RCC_CFGR2_PREDIV1_Msk /*!< PREDIV1[3:0] bits */ |
9 | mjames | 1856 | #define RCC_CFGR2_PREDIV1_0 (0x1UL << RCC_CFGR2_PREDIV1_Pos) /*!< 0x00000001 */ |
1857 | #define RCC_CFGR2_PREDIV1_1 (0x2UL << RCC_CFGR2_PREDIV1_Pos) /*!< 0x00000002 */ |
||
1858 | #define RCC_CFGR2_PREDIV1_2 (0x4UL << RCC_CFGR2_PREDIV1_Pos) /*!< 0x00000004 */ |
||
1859 | #define RCC_CFGR2_PREDIV1_3 (0x8UL << RCC_CFGR2_PREDIV1_Pos) /*!< 0x00000008 */ |
||
2 | mjames | 1860 | |
1861 | #define RCC_CFGR2_PREDIV1_DIV1 0x00000000U /*!< PREDIV1 input clock not divided */ |
||
1862 | #define RCC_CFGR2_PREDIV1_DIV2_Pos (0U) |
||
9 | mjames | 1863 | #define RCC_CFGR2_PREDIV1_DIV2_Msk (0x1UL << RCC_CFGR2_PREDIV1_DIV2_Pos) /*!< 0x00000001 */ |
2 | mjames | 1864 | #define RCC_CFGR2_PREDIV1_DIV2 RCC_CFGR2_PREDIV1_DIV2_Msk /*!< PREDIV1 input clock divided by 2 */ |
1865 | #define RCC_CFGR2_PREDIV1_DIV3_Pos (1U) |
||
9 | mjames | 1866 | #define RCC_CFGR2_PREDIV1_DIV3_Msk (0x1UL << RCC_CFGR2_PREDIV1_DIV3_Pos) /*!< 0x00000002 */ |
2 | mjames | 1867 | #define RCC_CFGR2_PREDIV1_DIV3 RCC_CFGR2_PREDIV1_DIV3_Msk /*!< PREDIV1 input clock divided by 3 */ |
1868 | #define RCC_CFGR2_PREDIV1_DIV4_Pos (0U) |
||
9 | mjames | 1869 | #define RCC_CFGR2_PREDIV1_DIV4_Msk (0x3UL << RCC_CFGR2_PREDIV1_DIV4_Pos) /*!< 0x00000003 */ |
2 | mjames | 1870 | #define RCC_CFGR2_PREDIV1_DIV4 RCC_CFGR2_PREDIV1_DIV4_Msk /*!< PREDIV1 input clock divided by 4 */ |
1871 | #define RCC_CFGR2_PREDIV1_DIV5_Pos (2U) |
||
9 | mjames | 1872 | #define RCC_CFGR2_PREDIV1_DIV5_Msk (0x1UL << RCC_CFGR2_PREDIV1_DIV5_Pos) /*!< 0x00000004 */ |
2 | mjames | 1873 | #define RCC_CFGR2_PREDIV1_DIV5 RCC_CFGR2_PREDIV1_DIV5_Msk /*!< PREDIV1 input clock divided by 5 */ |
1874 | #define RCC_CFGR2_PREDIV1_DIV6_Pos (0U) |
||
9 | mjames | 1875 | #define RCC_CFGR2_PREDIV1_DIV6_Msk (0x5UL << RCC_CFGR2_PREDIV1_DIV6_Pos) /*!< 0x00000005 */ |
2 | mjames | 1876 | #define RCC_CFGR2_PREDIV1_DIV6 RCC_CFGR2_PREDIV1_DIV6_Msk /*!< PREDIV1 input clock divided by 6 */ |
1877 | #define RCC_CFGR2_PREDIV1_DIV7_Pos (1U) |
||
9 | mjames | 1878 | #define RCC_CFGR2_PREDIV1_DIV7_Msk (0x3UL << RCC_CFGR2_PREDIV1_DIV7_Pos) /*!< 0x00000006 */ |
2 | mjames | 1879 | #define RCC_CFGR2_PREDIV1_DIV7 RCC_CFGR2_PREDIV1_DIV7_Msk /*!< PREDIV1 input clock divided by 7 */ |
1880 | #define RCC_CFGR2_PREDIV1_DIV8_Pos (0U) |
||
9 | mjames | 1881 | #define RCC_CFGR2_PREDIV1_DIV8_Msk (0x7UL << RCC_CFGR2_PREDIV1_DIV8_Pos) /*!< 0x00000007 */ |
2 | mjames | 1882 | #define RCC_CFGR2_PREDIV1_DIV8 RCC_CFGR2_PREDIV1_DIV8_Msk /*!< PREDIV1 input clock divided by 8 */ |
1883 | #define RCC_CFGR2_PREDIV1_DIV9_Pos (3U) |
||
9 | mjames | 1884 | #define RCC_CFGR2_PREDIV1_DIV9_Msk (0x1UL << RCC_CFGR2_PREDIV1_DIV9_Pos) /*!< 0x00000008 */ |
2 | mjames | 1885 | #define RCC_CFGR2_PREDIV1_DIV9 RCC_CFGR2_PREDIV1_DIV9_Msk /*!< PREDIV1 input clock divided by 9 */ |
1886 | #define RCC_CFGR2_PREDIV1_DIV10_Pos (0U) |
||
9 | mjames | 1887 | #define RCC_CFGR2_PREDIV1_DIV10_Msk (0x9UL << RCC_CFGR2_PREDIV1_DIV10_Pos) /*!< 0x00000009 */ |
2 | mjames | 1888 | #define RCC_CFGR2_PREDIV1_DIV10 RCC_CFGR2_PREDIV1_DIV10_Msk /*!< PREDIV1 input clock divided by 10 */ |
1889 | #define RCC_CFGR2_PREDIV1_DIV11_Pos (1U) |
||
9 | mjames | 1890 | #define RCC_CFGR2_PREDIV1_DIV11_Msk (0x5UL << RCC_CFGR2_PREDIV1_DIV11_Pos) /*!< 0x0000000A */ |
2 | mjames | 1891 | #define RCC_CFGR2_PREDIV1_DIV11 RCC_CFGR2_PREDIV1_DIV11_Msk /*!< PREDIV1 input clock divided by 11 */ |
1892 | #define RCC_CFGR2_PREDIV1_DIV12_Pos (0U) |
||
9 | mjames | 1893 | #define RCC_CFGR2_PREDIV1_DIV12_Msk (0xBUL << RCC_CFGR2_PREDIV1_DIV12_Pos) /*!< 0x0000000B */ |
2 | mjames | 1894 | #define RCC_CFGR2_PREDIV1_DIV12 RCC_CFGR2_PREDIV1_DIV12_Msk /*!< PREDIV1 input clock divided by 12 */ |
1895 | #define RCC_CFGR2_PREDIV1_DIV13_Pos (2U) |
||
9 | mjames | 1896 | #define RCC_CFGR2_PREDIV1_DIV13_Msk (0x3UL << RCC_CFGR2_PREDIV1_DIV13_Pos) /*!< 0x0000000C */ |
2 | mjames | 1897 | #define RCC_CFGR2_PREDIV1_DIV13 RCC_CFGR2_PREDIV1_DIV13_Msk /*!< PREDIV1 input clock divided by 13 */ |
1898 | #define RCC_CFGR2_PREDIV1_DIV14_Pos (0U) |
||
9 | mjames | 1899 | #define RCC_CFGR2_PREDIV1_DIV14_Msk (0xDUL << RCC_CFGR2_PREDIV1_DIV14_Pos) /*!< 0x0000000D */ |
2 | mjames | 1900 | #define RCC_CFGR2_PREDIV1_DIV14 RCC_CFGR2_PREDIV1_DIV14_Msk /*!< PREDIV1 input clock divided by 14 */ |
1901 | #define RCC_CFGR2_PREDIV1_DIV15_Pos (1U) |
||
9 | mjames | 1902 | #define RCC_CFGR2_PREDIV1_DIV15_Msk (0x7UL << RCC_CFGR2_PREDIV1_DIV15_Pos) /*!< 0x0000000E */ |
2 | mjames | 1903 | #define RCC_CFGR2_PREDIV1_DIV15 RCC_CFGR2_PREDIV1_DIV15_Msk /*!< PREDIV1 input clock divided by 15 */ |
1904 | #define RCC_CFGR2_PREDIV1_DIV16_Pos (0U) |
||
9 | mjames | 1905 | #define RCC_CFGR2_PREDIV1_DIV16_Msk (0xFUL << RCC_CFGR2_PREDIV1_DIV16_Pos) /*!< 0x0000000F */ |
2 | mjames | 1906 | #define RCC_CFGR2_PREDIV1_DIV16 RCC_CFGR2_PREDIV1_DIV16_Msk /*!< PREDIV1 input clock divided by 16 */ |
1907 | |||
1908 | /*!< PREDIV2 configuration */ |
||
1909 | #define RCC_CFGR2_PREDIV2_Pos (4U) |
||
9 | mjames | 1910 | #define RCC_CFGR2_PREDIV2_Msk (0xFUL << RCC_CFGR2_PREDIV2_Pos) /*!< 0x000000F0 */ |
2 | mjames | 1911 | #define RCC_CFGR2_PREDIV2 RCC_CFGR2_PREDIV2_Msk /*!< PREDIV2[3:0] bits */ |
9 | mjames | 1912 | #define RCC_CFGR2_PREDIV2_0 (0x1UL << RCC_CFGR2_PREDIV2_Pos) /*!< 0x00000010 */ |
1913 | #define RCC_CFGR2_PREDIV2_1 (0x2UL << RCC_CFGR2_PREDIV2_Pos) /*!< 0x00000020 */ |
||
1914 | #define RCC_CFGR2_PREDIV2_2 (0x4UL << RCC_CFGR2_PREDIV2_Pos) /*!< 0x00000040 */ |
||
1915 | #define RCC_CFGR2_PREDIV2_3 (0x8UL << RCC_CFGR2_PREDIV2_Pos) /*!< 0x00000080 */ |
||
2 | mjames | 1916 | |
1917 | #define RCC_CFGR2_PREDIV2_DIV1 0x00000000U /*!< PREDIV2 input clock not divided */ |
||
1918 | #define RCC_CFGR2_PREDIV2_DIV2_Pos (4U) |
||
9 | mjames | 1919 | #define RCC_CFGR2_PREDIV2_DIV2_Msk (0x1UL << RCC_CFGR2_PREDIV2_DIV2_Pos) /*!< 0x00000010 */ |
2 | mjames | 1920 | #define RCC_CFGR2_PREDIV2_DIV2 RCC_CFGR2_PREDIV2_DIV2_Msk /*!< PREDIV2 input clock divided by 2 */ |
1921 | #define RCC_CFGR2_PREDIV2_DIV3_Pos (5U) |
||
9 | mjames | 1922 | #define RCC_CFGR2_PREDIV2_DIV3_Msk (0x1UL << RCC_CFGR2_PREDIV2_DIV3_Pos) /*!< 0x00000020 */ |
2 | mjames | 1923 | #define RCC_CFGR2_PREDIV2_DIV3 RCC_CFGR2_PREDIV2_DIV3_Msk /*!< PREDIV2 input clock divided by 3 */ |
1924 | #define RCC_CFGR2_PREDIV2_DIV4_Pos (4U) |
||
9 | mjames | 1925 | #define RCC_CFGR2_PREDIV2_DIV4_Msk (0x3UL << RCC_CFGR2_PREDIV2_DIV4_Pos) /*!< 0x00000030 */ |
2 | mjames | 1926 | #define RCC_CFGR2_PREDIV2_DIV4 RCC_CFGR2_PREDIV2_DIV4_Msk /*!< PREDIV2 input clock divided by 4 */ |
1927 | #define RCC_CFGR2_PREDIV2_DIV5_Pos (6U) |
||
9 | mjames | 1928 | #define RCC_CFGR2_PREDIV2_DIV5_Msk (0x1UL << RCC_CFGR2_PREDIV2_DIV5_Pos) /*!< 0x00000040 */ |
2 | mjames | 1929 | #define RCC_CFGR2_PREDIV2_DIV5 RCC_CFGR2_PREDIV2_DIV5_Msk /*!< PREDIV2 input clock divided by 5 */ |
1930 | #define RCC_CFGR2_PREDIV2_DIV6_Pos (4U) |
||
9 | mjames | 1931 | #define RCC_CFGR2_PREDIV2_DIV6_Msk (0x5UL << RCC_CFGR2_PREDIV2_DIV6_Pos) /*!< 0x00000050 */ |
2 | mjames | 1932 | #define RCC_CFGR2_PREDIV2_DIV6 RCC_CFGR2_PREDIV2_DIV6_Msk /*!< PREDIV2 input clock divided by 6 */ |
1933 | #define RCC_CFGR2_PREDIV2_DIV7_Pos (5U) |
||
9 | mjames | 1934 | #define RCC_CFGR2_PREDIV2_DIV7_Msk (0x3UL << RCC_CFGR2_PREDIV2_DIV7_Pos) /*!< 0x00000060 */ |
2 | mjames | 1935 | #define RCC_CFGR2_PREDIV2_DIV7 RCC_CFGR2_PREDIV2_DIV7_Msk /*!< PREDIV2 input clock divided by 7 */ |
1936 | #define RCC_CFGR2_PREDIV2_DIV8_Pos (4U) |
||
9 | mjames | 1937 | #define RCC_CFGR2_PREDIV2_DIV8_Msk (0x7UL << RCC_CFGR2_PREDIV2_DIV8_Pos) /*!< 0x00000070 */ |
2 | mjames | 1938 | #define RCC_CFGR2_PREDIV2_DIV8 RCC_CFGR2_PREDIV2_DIV8_Msk /*!< PREDIV2 input clock divided by 8 */ |
1939 | #define RCC_CFGR2_PREDIV2_DIV9_Pos (7U) |
||
9 | mjames | 1940 | #define RCC_CFGR2_PREDIV2_DIV9_Msk (0x1UL << RCC_CFGR2_PREDIV2_DIV9_Pos) /*!< 0x00000080 */ |
2 | mjames | 1941 | #define RCC_CFGR2_PREDIV2_DIV9 RCC_CFGR2_PREDIV2_DIV9_Msk /*!< PREDIV2 input clock divided by 9 */ |
1942 | #define RCC_CFGR2_PREDIV2_DIV10_Pos (4U) |
||
9 | mjames | 1943 | #define RCC_CFGR2_PREDIV2_DIV10_Msk (0x9UL << RCC_CFGR2_PREDIV2_DIV10_Pos) /*!< 0x00000090 */ |
2 | mjames | 1944 | #define RCC_CFGR2_PREDIV2_DIV10 RCC_CFGR2_PREDIV2_DIV10_Msk /*!< PREDIV2 input clock divided by 10 */ |
1945 | #define RCC_CFGR2_PREDIV2_DIV11_Pos (5U) |
||
9 | mjames | 1946 | #define RCC_CFGR2_PREDIV2_DIV11_Msk (0x5UL << RCC_CFGR2_PREDIV2_DIV11_Pos) /*!< 0x000000A0 */ |
2 | mjames | 1947 | #define RCC_CFGR2_PREDIV2_DIV11 RCC_CFGR2_PREDIV2_DIV11_Msk /*!< PREDIV2 input clock divided by 11 */ |
1948 | #define RCC_CFGR2_PREDIV2_DIV12_Pos (4U) |
||
9 | mjames | 1949 | #define RCC_CFGR2_PREDIV2_DIV12_Msk (0xBUL << RCC_CFGR2_PREDIV2_DIV12_Pos) /*!< 0x000000B0 */ |
2 | mjames | 1950 | #define RCC_CFGR2_PREDIV2_DIV12 RCC_CFGR2_PREDIV2_DIV12_Msk /*!< PREDIV2 input clock divided by 12 */ |
1951 | #define RCC_CFGR2_PREDIV2_DIV13_Pos (6U) |
||
9 | mjames | 1952 | #define RCC_CFGR2_PREDIV2_DIV13_Msk (0x3UL << RCC_CFGR2_PREDIV2_DIV13_Pos) /*!< 0x000000C0 */ |
2 | mjames | 1953 | #define RCC_CFGR2_PREDIV2_DIV13 RCC_CFGR2_PREDIV2_DIV13_Msk /*!< PREDIV2 input clock divided by 13 */ |
1954 | #define RCC_CFGR2_PREDIV2_DIV14_Pos (4U) |
||
9 | mjames | 1955 | #define RCC_CFGR2_PREDIV2_DIV14_Msk (0xDUL << RCC_CFGR2_PREDIV2_DIV14_Pos) /*!< 0x000000D0 */ |
2 | mjames | 1956 | #define RCC_CFGR2_PREDIV2_DIV14 RCC_CFGR2_PREDIV2_DIV14_Msk /*!< PREDIV2 input clock divided by 14 */ |
1957 | #define RCC_CFGR2_PREDIV2_DIV15_Pos (5U) |
||
9 | mjames | 1958 | #define RCC_CFGR2_PREDIV2_DIV15_Msk (0x7UL << RCC_CFGR2_PREDIV2_DIV15_Pos) /*!< 0x000000E0 */ |
2 | mjames | 1959 | #define RCC_CFGR2_PREDIV2_DIV15 RCC_CFGR2_PREDIV2_DIV15_Msk /*!< PREDIV2 input clock divided by 15 */ |
1960 | #define RCC_CFGR2_PREDIV2_DIV16_Pos (4U) |
||
9 | mjames | 1961 | #define RCC_CFGR2_PREDIV2_DIV16_Msk (0xFUL << RCC_CFGR2_PREDIV2_DIV16_Pos) /*!< 0x000000F0 */ |
2 | mjames | 1962 | #define RCC_CFGR2_PREDIV2_DIV16 RCC_CFGR2_PREDIV2_DIV16_Msk /*!< PREDIV2 input clock divided by 16 */ |
1963 | |||
1964 | /*!< PLL2MUL configuration */ |
||
1965 | #define RCC_CFGR2_PLL2MUL_Pos (8U) |
||
9 | mjames | 1966 | #define RCC_CFGR2_PLL2MUL_Msk (0xFUL << RCC_CFGR2_PLL2MUL_Pos) /*!< 0x00000F00 */ |
2 | mjames | 1967 | #define RCC_CFGR2_PLL2MUL RCC_CFGR2_PLL2MUL_Msk /*!< PLL2MUL[3:0] bits */ |
9 | mjames | 1968 | #define RCC_CFGR2_PLL2MUL_0 (0x1UL << RCC_CFGR2_PLL2MUL_Pos) /*!< 0x00000100 */ |
1969 | #define RCC_CFGR2_PLL2MUL_1 (0x2UL << RCC_CFGR2_PLL2MUL_Pos) /*!< 0x00000200 */ |
||
1970 | #define RCC_CFGR2_PLL2MUL_2 (0x4UL << RCC_CFGR2_PLL2MUL_Pos) /*!< 0x00000400 */ |
||
1971 | #define RCC_CFGR2_PLL2MUL_3 (0x8UL << RCC_CFGR2_PLL2MUL_Pos) /*!< 0x00000800 */ |
||
2 | mjames | 1972 | |
1973 | #define RCC_CFGR2_PLL2MUL8_Pos (9U) |
||
9 | mjames | 1974 | #define RCC_CFGR2_PLL2MUL8_Msk (0x3UL << RCC_CFGR2_PLL2MUL8_Pos) /*!< 0x00000600 */ |
2 | mjames | 1975 | #define RCC_CFGR2_PLL2MUL8 RCC_CFGR2_PLL2MUL8_Msk /*!< PLL2 input clock * 8 */ |
1976 | #define RCC_CFGR2_PLL2MUL9_Pos (8U) |
||
9 | mjames | 1977 | #define RCC_CFGR2_PLL2MUL9_Msk (0x7UL << RCC_CFGR2_PLL2MUL9_Pos) /*!< 0x00000700 */ |
2 | mjames | 1978 | #define RCC_CFGR2_PLL2MUL9 RCC_CFGR2_PLL2MUL9_Msk /*!< PLL2 input clock * 9 */ |
1979 | #define RCC_CFGR2_PLL2MUL10_Pos (11U) |
||
9 | mjames | 1980 | #define RCC_CFGR2_PLL2MUL10_Msk (0x1UL << RCC_CFGR2_PLL2MUL10_Pos) /*!< 0x00000800 */ |
2 | mjames | 1981 | #define RCC_CFGR2_PLL2MUL10 RCC_CFGR2_PLL2MUL10_Msk /*!< PLL2 input clock * 10 */ |
1982 | #define RCC_CFGR2_PLL2MUL11_Pos (8U) |
||
9 | mjames | 1983 | #define RCC_CFGR2_PLL2MUL11_Msk (0x9UL << RCC_CFGR2_PLL2MUL11_Pos) /*!< 0x00000900 */ |
2 | mjames | 1984 | #define RCC_CFGR2_PLL2MUL11 RCC_CFGR2_PLL2MUL11_Msk /*!< PLL2 input clock * 11 */ |
1985 | #define RCC_CFGR2_PLL2MUL12_Pos (9U) |
||
9 | mjames | 1986 | #define RCC_CFGR2_PLL2MUL12_Msk (0x5UL << RCC_CFGR2_PLL2MUL12_Pos) /*!< 0x00000A00 */ |
2 | mjames | 1987 | #define RCC_CFGR2_PLL2MUL12 RCC_CFGR2_PLL2MUL12_Msk /*!< PLL2 input clock * 12 */ |
1988 | #define RCC_CFGR2_PLL2MUL13_Pos (8U) |
||
9 | mjames | 1989 | #define RCC_CFGR2_PLL2MUL13_Msk (0xBUL << RCC_CFGR2_PLL2MUL13_Pos) /*!< 0x00000B00 */ |
2 | mjames | 1990 | #define RCC_CFGR2_PLL2MUL13 RCC_CFGR2_PLL2MUL13_Msk /*!< PLL2 input clock * 13 */ |
1991 | #define RCC_CFGR2_PLL2MUL14_Pos (10U) |
||
9 | mjames | 1992 | #define RCC_CFGR2_PLL2MUL14_Msk (0x3UL << RCC_CFGR2_PLL2MUL14_Pos) /*!< 0x00000C00 */ |
2 | mjames | 1993 | #define RCC_CFGR2_PLL2MUL14 RCC_CFGR2_PLL2MUL14_Msk /*!< PLL2 input clock * 14 */ |
1994 | #define RCC_CFGR2_PLL2MUL16_Pos (9U) |
||
9 | mjames | 1995 | #define RCC_CFGR2_PLL2MUL16_Msk (0x7UL << RCC_CFGR2_PLL2MUL16_Pos) /*!< 0x00000E00 */ |
2 | mjames | 1996 | #define RCC_CFGR2_PLL2MUL16 RCC_CFGR2_PLL2MUL16_Msk /*!< PLL2 input clock * 16 */ |
1997 | #define RCC_CFGR2_PLL2MUL20_Pos (8U) |
||
9 | mjames | 1998 | #define RCC_CFGR2_PLL2MUL20_Msk (0xFUL << RCC_CFGR2_PLL2MUL20_Pos) /*!< 0x00000F00 */ |
2 | mjames | 1999 | #define RCC_CFGR2_PLL2MUL20 RCC_CFGR2_PLL2MUL20_Msk /*!< PLL2 input clock * 20 */ |
2000 | |||
2001 | /*!< PLL3MUL configuration */ |
||
2002 | #define RCC_CFGR2_PLL3MUL_Pos (12U) |
||
9 | mjames | 2003 | #define RCC_CFGR2_PLL3MUL_Msk (0xFUL << RCC_CFGR2_PLL3MUL_Pos) /*!< 0x0000F000 */ |
2 | mjames | 2004 | #define RCC_CFGR2_PLL3MUL RCC_CFGR2_PLL3MUL_Msk /*!< PLL3MUL[3:0] bits */ |
9 | mjames | 2005 | #define RCC_CFGR2_PLL3MUL_0 (0x1UL << RCC_CFGR2_PLL3MUL_Pos) /*!< 0x00001000 */ |
2006 | #define RCC_CFGR2_PLL3MUL_1 (0x2UL << RCC_CFGR2_PLL3MUL_Pos) /*!< 0x00002000 */ |
||
2007 | #define RCC_CFGR2_PLL3MUL_2 (0x4UL << RCC_CFGR2_PLL3MUL_Pos) /*!< 0x00004000 */ |
||
2008 | #define RCC_CFGR2_PLL3MUL_3 (0x8UL << RCC_CFGR2_PLL3MUL_Pos) /*!< 0x00008000 */ |
||
2 | mjames | 2009 | |
2010 | #define RCC_CFGR2_PLL3MUL8_Pos (13U) |
||
9 | mjames | 2011 | #define RCC_CFGR2_PLL3MUL8_Msk (0x3UL << RCC_CFGR2_PLL3MUL8_Pos) /*!< 0x00006000 */ |
2 | mjames | 2012 | #define RCC_CFGR2_PLL3MUL8 RCC_CFGR2_PLL3MUL8_Msk /*!< PLL3 input clock * 8 */ |
2013 | #define RCC_CFGR2_PLL3MUL9_Pos (12U) |
||
9 | mjames | 2014 | #define RCC_CFGR2_PLL3MUL9_Msk (0x7UL << RCC_CFGR2_PLL3MUL9_Pos) /*!< 0x00007000 */ |
2 | mjames | 2015 | #define RCC_CFGR2_PLL3MUL9 RCC_CFGR2_PLL3MUL9_Msk /*!< PLL3 input clock * 9 */ |
2016 | #define RCC_CFGR2_PLL3MUL10_Pos (15U) |
||
9 | mjames | 2017 | #define RCC_CFGR2_PLL3MUL10_Msk (0x1UL << RCC_CFGR2_PLL3MUL10_Pos) /*!< 0x00008000 */ |
2 | mjames | 2018 | #define RCC_CFGR2_PLL3MUL10 RCC_CFGR2_PLL3MUL10_Msk /*!< PLL3 input clock * 10 */ |
2019 | #define RCC_CFGR2_PLL3MUL11_Pos (12U) |
||
9 | mjames | 2020 | #define RCC_CFGR2_PLL3MUL11_Msk (0x9UL << RCC_CFGR2_PLL3MUL11_Pos) /*!< 0x00009000 */ |
2 | mjames | 2021 | #define RCC_CFGR2_PLL3MUL11 RCC_CFGR2_PLL3MUL11_Msk /*!< PLL3 input clock * 11 */ |
2022 | #define RCC_CFGR2_PLL3MUL12_Pos (13U) |
||
9 | mjames | 2023 | #define RCC_CFGR2_PLL3MUL12_Msk (0x5UL << RCC_CFGR2_PLL3MUL12_Pos) /*!< 0x0000A000 */ |
2 | mjames | 2024 | #define RCC_CFGR2_PLL3MUL12 RCC_CFGR2_PLL3MUL12_Msk /*!< PLL3 input clock * 12 */ |
2025 | #define RCC_CFGR2_PLL3MUL13_Pos (12U) |
||
9 | mjames | 2026 | #define RCC_CFGR2_PLL3MUL13_Msk (0xBUL << RCC_CFGR2_PLL3MUL13_Pos) /*!< 0x0000B000 */ |
2 | mjames | 2027 | #define RCC_CFGR2_PLL3MUL13 RCC_CFGR2_PLL3MUL13_Msk /*!< PLL3 input clock * 13 */ |
2028 | #define RCC_CFGR2_PLL3MUL14_Pos (14U) |
||
9 | mjames | 2029 | #define RCC_CFGR2_PLL3MUL14_Msk (0x3UL << RCC_CFGR2_PLL3MUL14_Pos) /*!< 0x0000C000 */ |
2 | mjames | 2030 | #define RCC_CFGR2_PLL3MUL14 RCC_CFGR2_PLL3MUL14_Msk /*!< PLL3 input clock * 14 */ |
2031 | #define RCC_CFGR2_PLL3MUL16_Pos (13U) |
||
9 | mjames | 2032 | #define RCC_CFGR2_PLL3MUL16_Msk (0x7UL << RCC_CFGR2_PLL3MUL16_Pos) /*!< 0x0000E000 */ |
2 | mjames | 2033 | #define RCC_CFGR2_PLL3MUL16 RCC_CFGR2_PLL3MUL16_Msk /*!< PLL3 input clock * 16 */ |
2034 | #define RCC_CFGR2_PLL3MUL20_Pos (12U) |
||
9 | mjames | 2035 | #define RCC_CFGR2_PLL3MUL20_Msk (0xFUL << RCC_CFGR2_PLL3MUL20_Pos) /*!< 0x0000F000 */ |
2 | mjames | 2036 | #define RCC_CFGR2_PLL3MUL20 RCC_CFGR2_PLL3MUL20_Msk /*!< PLL3 input clock * 20 */ |
2037 | |||
2038 | #define RCC_CFGR2_PREDIV1SRC_Pos (16U) |
||
9 | mjames | 2039 | #define RCC_CFGR2_PREDIV1SRC_Msk (0x1UL << RCC_CFGR2_PREDIV1SRC_Pos) /*!< 0x00010000 */ |
2 | mjames | 2040 | #define RCC_CFGR2_PREDIV1SRC RCC_CFGR2_PREDIV1SRC_Msk /*!< PREDIV1 entry clock source */ |
2041 | #define RCC_CFGR2_PREDIV1SRC_PLL2_Pos (16U) |
||
9 | mjames | 2042 | #define RCC_CFGR2_PREDIV1SRC_PLL2_Msk (0x1UL << RCC_CFGR2_PREDIV1SRC_PLL2_Pos) /*!< 0x00010000 */ |
2 | mjames | 2043 | #define RCC_CFGR2_PREDIV1SRC_PLL2 RCC_CFGR2_PREDIV1SRC_PLL2_Msk /*!< PLL2 selected as PREDIV1 entry clock source */ |
2044 | #define RCC_CFGR2_PREDIV1SRC_HSE 0x00000000U /*!< HSE selected as PREDIV1 entry clock source */ |
||
2045 | #define RCC_CFGR2_I2S2SRC_Pos (17U) |
||
9 | mjames | 2046 | #define RCC_CFGR2_I2S2SRC_Msk (0x1UL << RCC_CFGR2_I2S2SRC_Pos) /*!< 0x00020000 */ |
2 | mjames | 2047 | #define RCC_CFGR2_I2S2SRC RCC_CFGR2_I2S2SRC_Msk /*!< I2S2 entry clock source */ |
2048 | #define RCC_CFGR2_I2S3SRC_Pos (18U) |
||
9 | mjames | 2049 | #define RCC_CFGR2_I2S3SRC_Msk (0x1UL << RCC_CFGR2_I2S3SRC_Pos) /*!< 0x00040000 */ |
2 | mjames | 2050 | #define RCC_CFGR2_I2S3SRC RCC_CFGR2_I2S3SRC_Msk /*!< I2S3 clock source */ |
2051 | |||
2052 | |||
2053 | /******************************************************************************/ |
||
2054 | /* */ |
||
2055 | /* General Purpose and Alternate Function I/O */ |
||
2056 | /* */ |
||
2057 | /******************************************************************************/ |
||
2058 | |||
2059 | /******************* Bit definition for GPIO_CRL register *******************/ |
||
2060 | #define GPIO_CRL_MODE_Pos (0U) |
||
9 | mjames | 2061 | #define GPIO_CRL_MODE_Msk (0x33333333UL << GPIO_CRL_MODE_Pos) /*!< 0x33333333 */ |
2 | mjames | 2062 | #define GPIO_CRL_MODE GPIO_CRL_MODE_Msk /*!< Port x mode bits */ |
2063 | |||
2064 | #define GPIO_CRL_MODE0_Pos (0U) |
||
9 | mjames | 2065 | #define GPIO_CRL_MODE0_Msk (0x3UL << GPIO_CRL_MODE0_Pos) /*!< 0x00000003 */ |
2 | mjames | 2066 | #define GPIO_CRL_MODE0 GPIO_CRL_MODE0_Msk /*!< MODE0[1:0] bits (Port x mode bits, pin 0) */ |
9 | mjames | 2067 | #define GPIO_CRL_MODE0_0 (0x1UL << GPIO_CRL_MODE0_Pos) /*!< 0x00000001 */ |
2068 | #define GPIO_CRL_MODE0_1 (0x2UL << GPIO_CRL_MODE0_Pos) /*!< 0x00000002 */ |
||
2 | mjames | 2069 | |
2070 | #define GPIO_CRL_MODE1_Pos (4U) |
||
9 | mjames | 2071 | #define GPIO_CRL_MODE1_Msk (0x3UL << GPIO_CRL_MODE1_Pos) /*!< 0x00000030 */ |
2 | mjames | 2072 | #define GPIO_CRL_MODE1 GPIO_CRL_MODE1_Msk /*!< MODE1[1:0] bits (Port x mode bits, pin 1) */ |
9 | mjames | 2073 | #define GPIO_CRL_MODE1_0 (0x1UL << GPIO_CRL_MODE1_Pos) /*!< 0x00000010 */ |
2074 | #define GPIO_CRL_MODE1_1 (0x2UL << GPIO_CRL_MODE1_Pos) /*!< 0x00000020 */ |
||
2 | mjames | 2075 | |
2076 | #define GPIO_CRL_MODE2_Pos (8U) |
||
9 | mjames | 2077 | #define GPIO_CRL_MODE2_Msk (0x3UL << GPIO_CRL_MODE2_Pos) /*!< 0x00000300 */ |
2 | mjames | 2078 | #define GPIO_CRL_MODE2 GPIO_CRL_MODE2_Msk /*!< MODE2[1:0] bits (Port x mode bits, pin 2) */ |
9 | mjames | 2079 | #define GPIO_CRL_MODE2_0 (0x1UL << GPIO_CRL_MODE2_Pos) /*!< 0x00000100 */ |
2080 | #define GPIO_CRL_MODE2_1 (0x2UL << GPIO_CRL_MODE2_Pos) /*!< 0x00000200 */ |
||
2 | mjames | 2081 | |
2082 | #define GPIO_CRL_MODE3_Pos (12U) |
||
9 | mjames | 2083 | #define GPIO_CRL_MODE3_Msk (0x3UL << GPIO_CRL_MODE3_Pos) /*!< 0x00003000 */ |
2 | mjames | 2084 | #define GPIO_CRL_MODE3 GPIO_CRL_MODE3_Msk /*!< MODE3[1:0] bits (Port x mode bits, pin 3) */ |
9 | mjames | 2085 | #define GPIO_CRL_MODE3_0 (0x1UL << GPIO_CRL_MODE3_Pos) /*!< 0x00001000 */ |
2086 | #define GPIO_CRL_MODE3_1 (0x2UL << GPIO_CRL_MODE3_Pos) /*!< 0x00002000 */ |
||
2 | mjames | 2087 | |
2088 | #define GPIO_CRL_MODE4_Pos (16U) |
||
9 | mjames | 2089 | #define GPIO_CRL_MODE4_Msk (0x3UL << GPIO_CRL_MODE4_Pos) /*!< 0x00030000 */ |
2 | mjames | 2090 | #define GPIO_CRL_MODE4 GPIO_CRL_MODE4_Msk /*!< MODE4[1:0] bits (Port x mode bits, pin 4) */ |
9 | mjames | 2091 | #define GPIO_CRL_MODE4_0 (0x1UL << GPIO_CRL_MODE4_Pos) /*!< 0x00010000 */ |
2092 | #define GPIO_CRL_MODE4_1 (0x2UL << GPIO_CRL_MODE4_Pos) /*!< 0x00020000 */ |
||
2 | mjames | 2093 | |
2094 | #define GPIO_CRL_MODE5_Pos (20U) |
||
9 | mjames | 2095 | #define GPIO_CRL_MODE5_Msk (0x3UL << GPIO_CRL_MODE5_Pos) /*!< 0x00300000 */ |
2 | mjames | 2096 | #define GPIO_CRL_MODE5 GPIO_CRL_MODE5_Msk /*!< MODE5[1:0] bits (Port x mode bits, pin 5) */ |
9 | mjames | 2097 | #define GPIO_CRL_MODE5_0 (0x1UL << GPIO_CRL_MODE5_Pos) /*!< 0x00100000 */ |
2098 | #define GPIO_CRL_MODE5_1 (0x2UL << GPIO_CRL_MODE5_Pos) /*!< 0x00200000 */ |
||
2 | mjames | 2099 | |
2100 | #define GPIO_CRL_MODE6_Pos (24U) |
||
9 | mjames | 2101 | #define GPIO_CRL_MODE6_Msk (0x3UL << GPIO_CRL_MODE6_Pos) /*!< 0x03000000 */ |
2 | mjames | 2102 | #define GPIO_CRL_MODE6 GPIO_CRL_MODE6_Msk /*!< MODE6[1:0] bits (Port x mode bits, pin 6) */ |
9 | mjames | 2103 | #define GPIO_CRL_MODE6_0 (0x1UL << GPIO_CRL_MODE6_Pos) /*!< 0x01000000 */ |
2104 | #define GPIO_CRL_MODE6_1 (0x2UL << GPIO_CRL_MODE6_Pos) /*!< 0x02000000 */ |
||
2 | mjames | 2105 | |
2106 | #define GPIO_CRL_MODE7_Pos (28U) |
||
9 | mjames | 2107 | #define GPIO_CRL_MODE7_Msk (0x3UL << GPIO_CRL_MODE7_Pos) /*!< 0x30000000 */ |
2 | mjames | 2108 | #define GPIO_CRL_MODE7 GPIO_CRL_MODE7_Msk /*!< MODE7[1:0] bits (Port x mode bits, pin 7) */ |
9 | mjames | 2109 | #define GPIO_CRL_MODE7_0 (0x1UL << GPIO_CRL_MODE7_Pos) /*!< 0x10000000 */ |
2110 | #define GPIO_CRL_MODE7_1 (0x2UL << GPIO_CRL_MODE7_Pos) /*!< 0x20000000 */ |
||
2 | mjames | 2111 | |
2112 | #define GPIO_CRL_CNF_Pos (2U) |
||
9 | mjames | 2113 | #define GPIO_CRL_CNF_Msk (0x33333333UL << GPIO_CRL_CNF_Pos) /*!< 0xCCCCCCCC */ |
2 | mjames | 2114 | #define GPIO_CRL_CNF GPIO_CRL_CNF_Msk /*!< Port x configuration bits */ |
2115 | |||
2116 | #define GPIO_CRL_CNF0_Pos (2U) |
||
9 | mjames | 2117 | #define GPIO_CRL_CNF0_Msk (0x3UL << GPIO_CRL_CNF0_Pos) /*!< 0x0000000C */ |
2 | mjames | 2118 | #define GPIO_CRL_CNF0 GPIO_CRL_CNF0_Msk /*!< CNF0[1:0] bits (Port x configuration bits, pin 0) */ |
9 | mjames | 2119 | #define GPIO_CRL_CNF0_0 (0x1UL << GPIO_CRL_CNF0_Pos) /*!< 0x00000004 */ |
2120 | #define GPIO_CRL_CNF0_1 (0x2UL << GPIO_CRL_CNF0_Pos) /*!< 0x00000008 */ |
||
2 | mjames | 2121 | |
2122 | #define GPIO_CRL_CNF1_Pos (6U) |
||
9 | mjames | 2123 | #define GPIO_CRL_CNF1_Msk (0x3UL << GPIO_CRL_CNF1_Pos) /*!< 0x000000C0 */ |
2 | mjames | 2124 | #define GPIO_CRL_CNF1 GPIO_CRL_CNF1_Msk /*!< CNF1[1:0] bits (Port x configuration bits, pin 1) */ |
9 | mjames | 2125 | #define GPIO_CRL_CNF1_0 (0x1UL << GPIO_CRL_CNF1_Pos) /*!< 0x00000040 */ |
2126 | #define GPIO_CRL_CNF1_1 (0x2UL << GPIO_CRL_CNF1_Pos) /*!< 0x00000080 */ |
||
2 | mjames | 2127 | |
2128 | #define GPIO_CRL_CNF2_Pos (10U) |
||
9 | mjames | 2129 | #define GPIO_CRL_CNF2_Msk (0x3UL << GPIO_CRL_CNF2_Pos) /*!< 0x00000C00 */ |
2 | mjames | 2130 | #define GPIO_CRL_CNF2 GPIO_CRL_CNF2_Msk /*!< CNF2[1:0] bits (Port x configuration bits, pin 2) */ |
9 | mjames | 2131 | #define GPIO_CRL_CNF2_0 (0x1UL << GPIO_CRL_CNF2_Pos) /*!< 0x00000400 */ |
2132 | #define GPIO_CRL_CNF2_1 (0x2UL << GPIO_CRL_CNF2_Pos) /*!< 0x00000800 */ |
||
2 | mjames | 2133 | |
2134 | #define GPIO_CRL_CNF3_Pos (14U) |
||
9 | mjames | 2135 | #define GPIO_CRL_CNF3_Msk (0x3UL << GPIO_CRL_CNF3_Pos) /*!< 0x0000C000 */ |
2 | mjames | 2136 | #define GPIO_CRL_CNF3 GPIO_CRL_CNF3_Msk /*!< CNF3[1:0] bits (Port x configuration bits, pin 3) */ |
9 | mjames | 2137 | #define GPIO_CRL_CNF3_0 (0x1UL << GPIO_CRL_CNF3_Pos) /*!< 0x00004000 */ |
2138 | #define GPIO_CRL_CNF3_1 (0x2UL << GPIO_CRL_CNF3_Pos) /*!< 0x00008000 */ |
||
2 | mjames | 2139 | |
2140 | #define GPIO_CRL_CNF4_Pos (18U) |
||
9 | mjames | 2141 | #define GPIO_CRL_CNF4_Msk (0x3UL << GPIO_CRL_CNF4_Pos) /*!< 0x000C0000 */ |
2 | mjames | 2142 | #define GPIO_CRL_CNF4 GPIO_CRL_CNF4_Msk /*!< CNF4[1:0] bits (Port x configuration bits, pin 4) */ |
9 | mjames | 2143 | #define GPIO_CRL_CNF4_0 (0x1UL << GPIO_CRL_CNF4_Pos) /*!< 0x00040000 */ |
2144 | #define GPIO_CRL_CNF4_1 (0x2UL << GPIO_CRL_CNF4_Pos) /*!< 0x00080000 */ |
||
2 | mjames | 2145 | |
2146 | #define GPIO_CRL_CNF5_Pos (22U) |
||
9 | mjames | 2147 | #define GPIO_CRL_CNF5_Msk (0x3UL << GPIO_CRL_CNF5_Pos) /*!< 0x00C00000 */ |
2 | mjames | 2148 | #define GPIO_CRL_CNF5 GPIO_CRL_CNF5_Msk /*!< CNF5[1:0] bits (Port x configuration bits, pin 5) */ |
9 | mjames | 2149 | #define GPIO_CRL_CNF5_0 (0x1UL << GPIO_CRL_CNF5_Pos) /*!< 0x00400000 */ |
2150 | #define GPIO_CRL_CNF5_1 (0x2UL << GPIO_CRL_CNF5_Pos) /*!< 0x00800000 */ |
||
2 | mjames | 2151 | |
2152 | #define GPIO_CRL_CNF6_Pos (26U) |
||
9 | mjames | 2153 | #define GPIO_CRL_CNF6_Msk (0x3UL << GPIO_CRL_CNF6_Pos) /*!< 0x0C000000 */ |
2 | mjames | 2154 | #define GPIO_CRL_CNF6 GPIO_CRL_CNF6_Msk /*!< CNF6[1:0] bits (Port x configuration bits, pin 6) */ |
9 | mjames | 2155 | #define GPIO_CRL_CNF6_0 (0x1UL << GPIO_CRL_CNF6_Pos) /*!< 0x04000000 */ |
2156 | #define GPIO_CRL_CNF6_1 (0x2UL << GPIO_CRL_CNF6_Pos) /*!< 0x08000000 */ |
||
2 | mjames | 2157 | |
2158 | #define GPIO_CRL_CNF7_Pos (30U) |
||
9 | mjames | 2159 | #define GPIO_CRL_CNF7_Msk (0x3UL << GPIO_CRL_CNF7_Pos) /*!< 0xC0000000 */ |
2 | mjames | 2160 | #define GPIO_CRL_CNF7 GPIO_CRL_CNF7_Msk /*!< CNF7[1:0] bits (Port x configuration bits, pin 7) */ |
9 | mjames | 2161 | #define GPIO_CRL_CNF7_0 (0x1UL << GPIO_CRL_CNF7_Pos) /*!< 0x40000000 */ |
2162 | #define GPIO_CRL_CNF7_1 (0x2UL << GPIO_CRL_CNF7_Pos) /*!< 0x80000000 */ |
||
2 | mjames | 2163 | |
2164 | /******************* Bit definition for GPIO_CRH register *******************/ |
||
2165 | #define GPIO_CRH_MODE_Pos (0U) |
||
9 | mjames | 2166 | #define GPIO_CRH_MODE_Msk (0x33333333UL << GPIO_CRH_MODE_Pos) /*!< 0x33333333 */ |
2 | mjames | 2167 | #define GPIO_CRH_MODE GPIO_CRH_MODE_Msk /*!< Port x mode bits */ |
2168 | |||
2169 | #define GPIO_CRH_MODE8_Pos (0U) |
||
9 | mjames | 2170 | #define GPIO_CRH_MODE8_Msk (0x3UL << GPIO_CRH_MODE8_Pos) /*!< 0x00000003 */ |
2 | mjames | 2171 | #define GPIO_CRH_MODE8 GPIO_CRH_MODE8_Msk /*!< MODE8[1:0] bits (Port x mode bits, pin 8) */ |
9 | mjames | 2172 | #define GPIO_CRH_MODE8_0 (0x1UL << GPIO_CRH_MODE8_Pos) /*!< 0x00000001 */ |
2173 | #define GPIO_CRH_MODE8_1 (0x2UL << GPIO_CRH_MODE8_Pos) /*!< 0x00000002 */ |
||
2 | mjames | 2174 | |
2175 | #define GPIO_CRH_MODE9_Pos (4U) |
||
9 | mjames | 2176 | #define GPIO_CRH_MODE9_Msk (0x3UL << GPIO_CRH_MODE9_Pos) /*!< 0x00000030 */ |
2 | mjames | 2177 | #define GPIO_CRH_MODE9 GPIO_CRH_MODE9_Msk /*!< MODE9[1:0] bits (Port x mode bits, pin 9) */ |
9 | mjames | 2178 | #define GPIO_CRH_MODE9_0 (0x1UL << GPIO_CRH_MODE9_Pos) /*!< 0x00000010 */ |
2179 | #define GPIO_CRH_MODE9_1 (0x2UL << GPIO_CRH_MODE9_Pos) /*!< 0x00000020 */ |
||
2 | mjames | 2180 | |
2181 | #define GPIO_CRH_MODE10_Pos (8U) |
||
9 | mjames | 2182 | #define GPIO_CRH_MODE10_Msk (0x3UL << GPIO_CRH_MODE10_Pos) /*!< 0x00000300 */ |
2 | mjames | 2183 | #define GPIO_CRH_MODE10 GPIO_CRH_MODE10_Msk /*!< MODE10[1:0] bits (Port x mode bits, pin 10) */ |
9 | mjames | 2184 | #define GPIO_CRH_MODE10_0 (0x1UL << GPIO_CRH_MODE10_Pos) /*!< 0x00000100 */ |
2185 | #define GPIO_CRH_MODE10_1 (0x2UL << GPIO_CRH_MODE10_Pos) /*!< 0x00000200 */ |
||
2 | mjames | 2186 | |
2187 | #define GPIO_CRH_MODE11_Pos (12U) |
||
9 | mjames | 2188 | #define GPIO_CRH_MODE11_Msk (0x3UL << GPIO_CRH_MODE11_Pos) /*!< 0x00003000 */ |
2 | mjames | 2189 | #define GPIO_CRH_MODE11 GPIO_CRH_MODE11_Msk /*!< MODE11[1:0] bits (Port x mode bits, pin 11) */ |
9 | mjames | 2190 | #define GPIO_CRH_MODE11_0 (0x1UL << GPIO_CRH_MODE11_Pos) /*!< 0x00001000 */ |
2191 | #define GPIO_CRH_MODE11_1 (0x2UL << GPIO_CRH_MODE11_Pos) /*!< 0x00002000 */ |
||
2 | mjames | 2192 | |
2193 | #define GPIO_CRH_MODE12_Pos (16U) |
||
9 | mjames | 2194 | #define GPIO_CRH_MODE12_Msk (0x3UL << GPIO_CRH_MODE12_Pos) /*!< 0x00030000 */ |
2 | mjames | 2195 | #define GPIO_CRH_MODE12 GPIO_CRH_MODE12_Msk /*!< MODE12[1:0] bits (Port x mode bits, pin 12) */ |
9 | mjames | 2196 | #define GPIO_CRH_MODE12_0 (0x1UL << GPIO_CRH_MODE12_Pos) /*!< 0x00010000 */ |
2197 | #define GPIO_CRH_MODE12_1 (0x2UL << GPIO_CRH_MODE12_Pos) /*!< 0x00020000 */ |
||
2 | mjames | 2198 | |
2199 | #define GPIO_CRH_MODE13_Pos (20U) |
||
9 | mjames | 2200 | #define GPIO_CRH_MODE13_Msk (0x3UL << GPIO_CRH_MODE13_Pos) /*!< 0x00300000 */ |
2 | mjames | 2201 | #define GPIO_CRH_MODE13 GPIO_CRH_MODE13_Msk /*!< MODE13[1:0] bits (Port x mode bits, pin 13) */ |
9 | mjames | 2202 | #define GPIO_CRH_MODE13_0 (0x1UL << GPIO_CRH_MODE13_Pos) /*!< 0x00100000 */ |
2203 | #define GPIO_CRH_MODE13_1 (0x2UL << GPIO_CRH_MODE13_Pos) /*!< 0x00200000 */ |
||
2 | mjames | 2204 | |
2205 | #define GPIO_CRH_MODE14_Pos (24U) |
||
9 | mjames | 2206 | #define GPIO_CRH_MODE14_Msk (0x3UL << GPIO_CRH_MODE14_Pos) /*!< 0x03000000 */ |
2 | mjames | 2207 | #define GPIO_CRH_MODE14 GPIO_CRH_MODE14_Msk /*!< MODE14[1:0] bits (Port x mode bits, pin 14) */ |
9 | mjames | 2208 | #define GPIO_CRH_MODE14_0 (0x1UL << GPIO_CRH_MODE14_Pos) /*!< 0x01000000 */ |
2209 | #define GPIO_CRH_MODE14_1 (0x2UL << GPIO_CRH_MODE14_Pos) /*!< 0x02000000 */ |
||
2 | mjames | 2210 | |
2211 | #define GPIO_CRH_MODE15_Pos (28U) |
||
9 | mjames | 2212 | #define GPIO_CRH_MODE15_Msk (0x3UL << GPIO_CRH_MODE15_Pos) /*!< 0x30000000 */ |
2 | mjames | 2213 | #define GPIO_CRH_MODE15 GPIO_CRH_MODE15_Msk /*!< MODE15[1:0] bits (Port x mode bits, pin 15) */ |
9 | mjames | 2214 | #define GPIO_CRH_MODE15_0 (0x1UL << GPIO_CRH_MODE15_Pos) /*!< 0x10000000 */ |
2215 | #define GPIO_CRH_MODE15_1 (0x2UL << GPIO_CRH_MODE15_Pos) /*!< 0x20000000 */ |
||
2 | mjames | 2216 | |
2217 | #define GPIO_CRH_CNF_Pos (2U) |
||
9 | mjames | 2218 | #define GPIO_CRH_CNF_Msk (0x33333333UL << GPIO_CRH_CNF_Pos) /*!< 0xCCCCCCCC */ |
2 | mjames | 2219 | #define GPIO_CRH_CNF GPIO_CRH_CNF_Msk /*!< Port x configuration bits */ |
2220 | |||
2221 | #define GPIO_CRH_CNF8_Pos (2U) |
||
9 | mjames | 2222 | #define GPIO_CRH_CNF8_Msk (0x3UL << GPIO_CRH_CNF8_Pos) /*!< 0x0000000C */ |
2 | mjames | 2223 | #define GPIO_CRH_CNF8 GPIO_CRH_CNF8_Msk /*!< CNF8[1:0] bits (Port x configuration bits, pin 8) */ |
9 | mjames | 2224 | #define GPIO_CRH_CNF8_0 (0x1UL << GPIO_CRH_CNF8_Pos) /*!< 0x00000004 */ |
2225 | #define GPIO_CRH_CNF8_1 (0x2UL << GPIO_CRH_CNF8_Pos) /*!< 0x00000008 */ |
||
2 | mjames | 2226 | |
2227 | #define GPIO_CRH_CNF9_Pos (6U) |
||
9 | mjames | 2228 | #define GPIO_CRH_CNF9_Msk (0x3UL << GPIO_CRH_CNF9_Pos) /*!< 0x000000C0 */ |
2 | mjames | 2229 | #define GPIO_CRH_CNF9 GPIO_CRH_CNF9_Msk /*!< CNF9[1:0] bits (Port x configuration bits, pin 9) */ |
9 | mjames | 2230 | #define GPIO_CRH_CNF9_0 (0x1UL << GPIO_CRH_CNF9_Pos) /*!< 0x00000040 */ |
2231 | #define GPIO_CRH_CNF9_1 (0x2UL << GPIO_CRH_CNF9_Pos) /*!< 0x00000080 */ |
||
2 | mjames | 2232 | |
2233 | #define GPIO_CRH_CNF10_Pos (10U) |
||
9 | mjames | 2234 | #define GPIO_CRH_CNF10_Msk (0x3UL << GPIO_CRH_CNF10_Pos) /*!< 0x00000C00 */ |
2 | mjames | 2235 | #define GPIO_CRH_CNF10 GPIO_CRH_CNF10_Msk /*!< CNF10[1:0] bits (Port x configuration bits, pin 10) */ |
9 | mjames | 2236 | #define GPIO_CRH_CNF10_0 (0x1UL << GPIO_CRH_CNF10_Pos) /*!< 0x00000400 */ |
2237 | #define GPIO_CRH_CNF10_1 (0x2UL << GPIO_CRH_CNF10_Pos) /*!< 0x00000800 */ |
||
2 | mjames | 2238 | |
2239 | #define GPIO_CRH_CNF11_Pos (14U) |
||
9 | mjames | 2240 | #define GPIO_CRH_CNF11_Msk (0x3UL << GPIO_CRH_CNF11_Pos) /*!< 0x0000C000 */ |
2 | mjames | 2241 | #define GPIO_CRH_CNF11 GPIO_CRH_CNF11_Msk /*!< CNF11[1:0] bits (Port x configuration bits, pin 11) */ |
9 | mjames | 2242 | #define GPIO_CRH_CNF11_0 (0x1UL << GPIO_CRH_CNF11_Pos) /*!< 0x00004000 */ |
2243 | #define GPIO_CRH_CNF11_1 (0x2UL << GPIO_CRH_CNF11_Pos) /*!< 0x00008000 */ |
||
2 | mjames | 2244 | |
2245 | #define GPIO_CRH_CNF12_Pos (18U) |
||
9 | mjames | 2246 | #define GPIO_CRH_CNF12_Msk (0x3UL << GPIO_CRH_CNF12_Pos) /*!< 0x000C0000 */ |
2 | mjames | 2247 | #define GPIO_CRH_CNF12 GPIO_CRH_CNF12_Msk /*!< CNF12[1:0] bits (Port x configuration bits, pin 12) */ |
9 | mjames | 2248 | #define GPIO_CRH_CNF12_0 (0x1UL << GPIO_CRH_CNF12_Pos) /*!< 0x00040000 */ |
2249 | #define GPIO_CRH_CNF12_1 (0x2UL << GPIO_CRH_CNF12_Pos) /*!< 0x00080000 */ |
||
2 | mjames | 2250 | |
2251 | #define GPIO_CRH_CNF13_Pos (22U) |
||
9 | mjames | 2252 | #define GPIO_CRH_CNF13_Msk (0x3UL << GPIO_CRH_CNF13_Pos) /*!< 0x00C00000 */ |
2 | mjames | 2253 | #define GPIO_CRH_CNF13 GPIO_CRH_CNF13_Msk /*!< CNF13[1:0] bits (Port x configuration bits, pin 13) */ |
9 | mjames | 2254 | #define GPIO_CRH_CNF13_0 (0x1UL << GPIO_CRH_CNF13_Pos) /*!< 0x00400000 */ |
2255 | #define GPIO_CRH_CNF13_1 (0x2UL << GPIO_CRH_CNF13_Pos) /*!< 0x00800000 */ |
||
2 | mjames | 2256 | |
2257 | #define GPIO_CRH_CNF14_Pos (26U) |
||
9 | mjames | 2258 | #define GPIO_CRH_CNF14_Msk (0x3UL << GPIO_CRH_CNF14_Pos) /*!< 0x0C000000 */ |
2 | mjames | 2259 | #define GPIO_CRH_CNF14 GPIO_CRH_CNF14_Msk /*!< CNF14[1:0] bits (Port x configuration bits, pin 14) */ |
9 | mjames | 2260 | #define GPIO_CRH_CNF14_0 (0x1UL << GPIO_CRH_CNF14_Pos) /*!< 0x04000000 */ |
2261 | #define GPIO_CRH_CNF14_1 (0x2UL << GPIO_CRH_CNF14_Pos) /*!< 0x08000000 */ |
||
2 | mjames | 2262 | |
2263 | #define GPIO_CRH_CNF15_Pos (30U) |
||
9 | mjames | 2264 | #define GPIO_CRH_CNF15_Msk (0x3UL << GPIO_CRH_CNF15_Pos) /*!< 0xC0000000 */ |
2 | mjames | 2265 | #define GPIO_CRH_CNF15 GPIO_CRH_CNF15_Msk /*!< CNF15[1:0] bits (Port x configuration bits, pin 15) */ |
9 | mjames | 2266 | #define GPIO_CRH_CNF15_0 (0x1UL << GPIO_CRH_CNF15_Pos) /*!< 0x40000000 */ |
2267 | #define GPIO_CRH_CNF15_1 (0x2UL << GPIO_CRH_CNF15_Pos) /*!< 0x80000000 */ |
||
2 | mjames | 2268 | |
2269 | /*!<****************** Bit definition for GPIO_IDR register *******************/ |
||
2270 | #define GPIO_IDR_IDR0_Pos (0U) |
||
9 | mjames | 2271 | #define GPIO_IDR_IDR0_Msk (0x1UL << GPIO_IDR_IDR0_Pos) /*!< 0x00000001 */ |
2 | mjames | 2272 | #define GPIO_IDR_IDR0 GPIO_IDR_IDR0_Msk /*!< Port input data, bit 0 */ |
2273 | #define GPIO_IDR_IDR1_Pos (1U) |
||
9 | mjames | 2274 | #define GPIO_IDR_IDR1_Msk (0x1UL << GPIO_IDR_IDR1_Pos) /*!< 0x00000002 */ |
2 | mjames | 2275 | #define GPIO_IDR_IDR1 GPIO_IDR_IDR1_Msk /*!< Port input data, bit 1 */ |
2276 | #define GPIO_IDR_IDR2_Pos (2U) |
||
9 | mjames | 2277 | #define GPIO_IDR_IDR2_Msk (0x1UL << GPIO_IDR_IDR2_Pos) /*!< 0x00000004 */ |
2 | mjames | 2278 | #define GPIO_IDR_IDR2 GPIO_IDR_IDR2_Msk /*!< Port input data, bit 2 */ |
2279 | #define GPIO_IDR_IDR3_Pos (3U) |
||
9 | mjames | 2280 | #define GPIO_IDR_IDR3_Msk (0x1UL << GPIO_IDR_IDR3_Pos) /*!< 0x00000008 */ |
2 | mjames | 2281 | #define GPIO_IDR_IDR3 GPIO_IDR_IDR3_Msk /*!< Port input data, bit 3 */ |
2282 | #define GPIO_IDR_IDR4_Pos (4U) |
||
9 | mjames | 2283 | #define GPIO_IDR_IDR4_Msk (0x1UL << GPIO_IDR_IDR4_Pos) /*!< 0x00000010 */ |
2 | mjames | 2284 | #define GPIO_IDR_IDR4 GPIO_IDR_IDR4_Msk /*!< Port input data, bit 4 */ |
2285 | #define GPIO_IDR_IDR5_Pos (5U) |
||
9 | mjames | 2286 | #define GPIO_IDR_IDR5_Msk (0x1UL << GPIO_IDR_IDR5_Pos) /*!< 0x00000020 */ |
2 | mjames | 2287 | #define GPIO_IDR_IDR5 GPIO_IDR_IDR5_Msk /*!< Port input data, bit 5 */ |
2288 | #define GPIO_IDR_IDR6_Pos (6U) |
||
9 | mjames | 2289 | #define GPIO_IDR_IDR6_Msk (0x1UL << GPIO_IDR_IDR6_Pos) /*!< 0x00000040 */ |
2 | mjames | 2290 | #define GPIO_IDR_IDR6 GPIO_IDR_IDR6_Msk /*!< Port input data, bit 6 */ |
2291 | #define GPIO_IDR_IDR7_Pos (7U) |
||
9 | mjames | 2292 | #define GPIO_IDR_IDR7_Msk (0x1UL << GPIO_IDR_IDR7_Pos) /*!< 0x00000080 */ |
2 | mjames | 2293 | #define GPIO_IDR_IDR7 GPIO_IDR_IDR7_Msk /*!< Port input data, bit 7 */ |
2294 | #define GPIO_IDR_IDR8_Pos (8U) |
||
9 | mjames | 2295 | #define GPIO_IDR_IDR8_Msk (0x1UL << GPIO_IDR_IDR8_Pos) /*!< 0x00000100 */ |
2 | mjames | 2296 | #define GPIO_IDR_IDR8 GPIO_IDR_IDR8_Msk /*!< Port input data, bit 8 */ |
2297 | #define GPIO_IDR_IDR9_Pos (9U) |
||
9 | mjames | 2298 | #define GPIO_IDR_IDR9_Msk (0x1UL << GPIO_IDR_IDR9_Pos) /*!< 0x00000200 */ |
2 | mjames | 2299 | #define GPIO_IDR_IDR9 GPIO_IDR_IDR9_Msk /*!< Port input data, bit 9 */ |
2300 | #define GPIO_IDR_IDR10_Pos (10U) |
||
9 | mjames | 2301 | #define GPIO_IDR_IDR10_Msk (0x1UL << GPIO_IDR_IDR10_Pos) /*!< 0x00000400 */ |
2 | mjames | 2302 | #define GPIO_IDR_IDR10 GPIO_IDR_IDR10_Msk /*!< Port input data, bit 10 */ |
2303 | #define GPIO_IDR_IDR11_Pos (11U) |
||
9 | mjames | 2304 | #define GPIO_IDR_IDR11_Msk (0x1UL << GPIO_IDR_IDR11_Pos) /*!< 0x00000800 */ |
2 | mjames | 2305 | #define GPIO_IDR_IDR11 GPIO_IDR_IDR11_Msk /*!< Port input data, bit 11 */ |
2306 | #define GPIO_IDR_IDR12_Pos (12U) |
||
9 | mjames | 2307 | #define GPIO_IDR_IDR12_Msk (0x1UL << GPIO_IDR_IDR12_Pos) /*!< 0x00001000 */ |
2 | mjames | 2308 | #define GPIO_IDR_IDR12 GPIO_IDR_IDR12_Msk /*!< Port input data, bit 12 */ |
2309 | #define GPIO_IDR_IDR13_Pos (13U) |
||
9 | mjames | 2310 | #define GPIO_IDR_IDR13_Msk (0x1UL << GPIO_IDR_IDR13_Pos) /*!< 0x00002000 */ |
2 | mjames | 2311 | #define GPIO_IDR_IDR13 GPIO_IDR_IDR13_Msk /*!< Port input data, bit 13 */ |
2312 | #define GPIO_IDR_IDR14_Pos (14U) |
||
9 | mjames | 2313 | #define GPIO_IDR_IDR14_Msk (0x1UL << GPIO_IDR_IDR14_Pos) /*!< 0x00004000 */ |
2 | mjames | 2314 | #define GPIO_IDR_IDR14 GPIO_IDR_IDR14_Msk /*!< Port input data, bit 14 */ |
2315 | #define GPIO_IDR_IDR15_Pos (15U) |
||
9 | mjames | 2316 | #define GPIO_IDR_IDR15_Msk (0x1UL << GPIO_IDR_IDR15_Pos) /*!< 0x00008000 */ |
2 | mjames | 2317 | #define GPIO_IDR_IDR15 GPIO_IDR_IDR15_Msk /*!< Port input data, bit 15 */ |
2318 | |||
2319 | /******************* Bit definition for GPIO_ODR register *******************/ |
||
2320 | #define GPIO_ODR_ODR0_Pos (0U) |
||
9 | mjames | 2321 | #define GPIO_ODR_ODR0_Msk (0x1UL << GPIO_ODR_ODR0_Pos) /*!< 0x00000001 */ |
2 | mjames | 2322 | #define GPIO_ODR_ODR0 GPIO_ODR_ODR0_Msk /*!< Port output data, bit 0 */ |
2323 | #define GPIO_ODR_ODR1_Pos (1U) |
||
9 | mjames | 2324 | #define GPIO_ODR_ODR1_Msk (0x1UL << GPIO_ODR_ODR1_Pos) /*!< 0x00000002 */ |
2 | mjames | 2325 | #define GPIO_ODR_ODR1 GPIO_ODR_ODR1_Msk /*!< Port output data, bit 1 */ |
2326 | #define GPIO_ODR_ODR2_Pos (2U) |
||
9 | mjames | 2327 | #define GPIO_ODR_ODR2_Msk (0x1UL << GPIO_ODR_ODR2_Pos) /*!< 0x00000004 */ |
2 | mjames | 2328 | #define GPIO_ODR_ODR2 GPIO_ODR_ODR2_Msk /*!< Port output data, bit 2 */ |
2329 | #define GPIO_ODR_ODR3_Pos (3U) |
||
9 | mjames | 2330 | #define GPIO_ODR_ODR3_Msk (0x1UL << GPIO_ODR_ODR3_Pos) /*!< 0x00000008 */ |
2 | mjames | 2331 | #define GPIO_ODR_ODR3 GPIO_ODR_ODR3_Msk /*!< Port output data, bit 3 */ |
2332 | #define GPIO_ODR_ODR4_Pos (4U) |
||
9 | mjames | 2333 | #define GPIO_ODR_ODR4_Msk (0x1UL << GPIO_ODR_ODR4_Pos) /*!< 0x00000010 */ |
2 | mjames | 2334 | #define GPIO_ODR_ODR4 GPIO_ODR_ODR4_Msk /*!< Port output data, bit 4 */ |
2335 | #define GPIO_ODR_ODR5_Pos (5U) |
||
9 | mjames | 2336 | #define GPIO_ODR_ODR5_Msk (0x1UL << GPIO_ODR_ODR5_Pos) /*!< 0x00000020 */ |
2 | mjames | 2337 | #define GPIO_ODR_ODR5 GPIO_ODR_ODR5_Msk /*!< Port output data, bit 5 */ |
2338 | #define GPIO_ODR_ODR6_Pos (6U) |
||
9 | mjames | 2339 | #define GPIO_ODR_ODR6_Msk (0x1UL << GPIO_ODR_ODR6_Pos) /*!< 0x00000040 */ |
2 | mjames | 2340 | #define GPIO_ODR_ODR6 GPIO_ODR_ODR6_Msk /*!< Port output data, bit 6 */ |
2341 | #define GPIO_ODR_ODR7_Pos (7U) |
||
9 | mjames | 2342 | #define GPIO_ODR_ODR7_Msk (0x1UL << GPIO_ODR_ODR7_Pos) /*!< 0x00000080 */ |
2 | mjames | 2343 | #define GPIO_ODR_ODR7 GPIO_ODR_ODR7_Msk /*!< Port output data, bit 7 */ |
2344 | #define GPIO_ODR_ODR8_Pos (8U) |
||
9 | mjames | 2345 | #define GPIO_ODR_ODR8_Msk (0x1UL << GPIO_ODR_ODR8_Pos) /*!< 0x00000100 */ |
2 | mjames | 2346 | #define GPIO_ODR_ODR8 GPIO_ODR_ODR8_Msk /*!< Port output data, bit 8 */ |
2347 | #define GPIO_ODR_ODR9_Pos (9U) |
||
9 | mjames | 2348 | #define GPIO_ODR_ODR9_Msk (0x1UL << GPIO_ODR_ODR9_Pos) /*!< 0x00000200 */ |
2 | mjames | 2349 | #define GPIO_ODR_ODR9 GPIO_ODR_ODR9_Msk /*!< Port output data, bit 9 */ |
2350 | #define GPIO_ODR_ODR10_Pos (10U) |
||
9 | mjames | 2351 | #define GPIO_ODR_ODR10_Msk (0x1UL << GPIO_ODR_ODR10_Pos) /*!< 0x00000400 */ |
2 | mjames | 2352 | #define GPIO_ODR_ODR10 GPIO_ODR_ODR10_Msk /*!< Port output data, bit 10 */ |
2353 | #define GPIO_ODR_ODR11_Pos (11U) |
||
9 | mjames | 2354 | #define GPIO_ODR_ODR11_Msk (0x1UL << GPIO_ODR_ODR11_Pos) /*!< 0x00000800 */ |
2 | mjames | 2355 | #define GPIO_ODR_ODR11 GPIO_ODR_ODR11_Msk /*!< Port output data, bit 11 */ |
2356 | #define GPIO_ODR_ODR12_Pos (12U) |
||
9 | mjames | 2357 | #define GPIO_ODR_ODR12_Msk (0x1UL << GPIO_ODR_ODR12_Pos) /*!< 0x00001000 */ |
2 | mjames | 2358 | #define GPIO_ODR_ODR12 GPIO_ODR_ODR12_Msk /*!< Port output data, bit 12 */ |
2359 | #define GPIO_ODR_ODR13_Pos (13U) |
||
9 | mjames | 2360 | #define GPIO_ODR_ODR13_Msk (0x1UL << GPIO_ODR_ODR13_Pos) /*!< 0x00002000 */ |
2 | mjames | 2361 | #define GPIO_ODR_ODR13 GPIO_ODR_ODR13_Msk /*!< Port output data, bit 13 */ |
2362 | #define GPIO_ODR_ODR14_Pos (14U) |
||
9 | mjames | 2363 | #define GPIO_ODR_ODR14_Msk (0x1UL << GPIO_ODR_ODR14_Pos) /*!< 0x00004000 */ |
2 | mjames | 2364 | #define GPIO_ODR_ODR14 GPIO_ODR_ODR14_Msk /*!< Port output data, bit 14 */ |
2365 | #define GPIO_ODR_ODR15_Pos (15U) |
||
9 | mjames | 2366 | #define GPIO_ODR_ODR15_Msk (0x1UL << GPIO_ODR_ODR15_Pos) /*!< 0x00008000 */ |
2 | mjames | 2367 | #define GPIO_ODR_ODR15 GPIO_ODR_ODR15_Msk /*!< Port output data, bit 15 */ |
2368 | |||
2369 | /****************** Bit definition for GPIO_BSRR register *******************/ |
||
2370 | #define GPIO_BSRR_BS0_Pos (0U) |
||
9 | mjames | 2371 | #define GPIO_BSRR_BS0_Msk (0x1UL << GPIO_BSRR_BS0_Pos) /*!< 0x00000001 */ |
2 | mjames | 2372 | #define GPIO_BSRR_BS0 GPIO_BSRR_BS0_Msk /*!< Port x Set bit 0 */ |
2373 | #define GPIO_BSRR_BS1_Pos (1U) |
||
9 | mjames | 2374 | #define GPIO_BSRR_BS1_Msk (0x1UL << GPIO_BSRR_BS1_Pos) /*!< 0x00000002 */ |
2 | mjames | 2375 | #define GPIO_BSRR_BS1 GPIO_BSRR_BS1_Msk /*!< Port x Set bit 1 */ |
2376 | #define GPIO_BSRR_BS2_Pos (2U) |
||
9 | mjames | 2377 | #define GPIO_BSRR_BS2_Msk (0x1UL << GPIO_BSRR_BS2_Pos) /*!< 0x00000004 */ |
2 | mjames | 2378 | #define GPIO_BSRR_BS2 GPIO_BSRR_BS2_Msk /*!< Port x Set bit 2 */ |
2379 | #define GPIO_BSRR_BS3_Pos (3U) |
||
9 | mjames | 2380 | #define GPIO_BSRR_BS3_Msk (0x1UL << GPIO_BSRR_BS3_Pos) /*!< 0x00000008 */ |
2 | mjames | 2381 | #define GPIO_BSRR_BS3 GPIO_BSRR_BS3_Msk /*!< Port x Set bit 3 */ |
2382 | #define GPIO_BSRR_BS4_Pos (4U) |
||
9 | mjames | 2383 | #define GPIO_BSRR_BS4_Msk (0x1UL << GPIO_BSRR_BS4_Pos) /*!< 0x00000010 */ |
2 | mjames | 2384 | #define GPIO_BSRR_BS4 GPIO_BSRR_BS4_Msk /*!< Port x Set bit 4 */ |
2385 | #define GPIO_BSRR_BS5_Pos (5U) |
||
9 | mjames | 2386 | #define GPIO_BSRR_BS5_Msk (0x1UL << GPIO_BSRR_BS5_Pos) /*!< 0x00000020 */ |
2 | mjames | 2387 | #define GPIO_BSRR_BS5 GPIO_BSRR_BS5_Msk /*!< Port x Set bit 5 */ |
2388 | #define GPIO_BSRR_BS6_Pos (6U) |
||
9 | mjames | 2389 | #define GPIO_BSRR_BS6_Msk (0x1UL << GPIO_BSRR_BS6_Pos) /*!< 0x00000040 */ |
2 | mjames | 2390 | #define GPIO_BSRR_BS6 GPIO_BSRR_BS6_Msk /*!< Port x Set bit 6 */ |
2391 | #define GPIO_BSRR_BS7_Pos (7U) |
||
9 | mjames | 2392 | #define GPIO_BSRR_BS7_Msk (0x1UL << GPIO_BSRR_BS7_Pos) /*!< 0x00000080 */ |
2 | mjames | 2393 | #define GPIO_BSRR_BS7 GPIO_BSRR_BS7_Msk /*!< Port x Set bit 7 */ |
2394 | #define GPIO_BSRR_BS8_Pos (8U) |
||
9 | mjames | 2395 | #define GPIO_BSRR_BS8_Msk (0x1UL << GPIO_BSRR_BS8_Pos) /*!< 0x00000100 */ |
2 | mjames | 2396 | #define GPIO_BSRR_BS8 GPIO_BSRR_BS8_Msk /*!< Port x Set bit 8 */ |
2397 | #define GPIO_BSRR_BS9_Pos (9U) |
||
9 | mjames | 2398 | #define GPIO_BSRR_BS9_Msk (0x1UL << GPIO_BSRR_BS9_Pos) /*!< 0x00000200 */ |
2 | mjames | 2399 | #define GPIO_BSRR_BS9 GPIO_BSRR_BS9_Msk /*!< Port x Set bit 9 */ |
2400 | #define GPIO_BSRR_BS10_Pos (10U) |
||
9 | mjames | 2401 | #define GPIO_BSRR_BS10_Msk (0x1UL << GPIO_BSRR_BS10_Pos) /*!< 0x00000400 */ |
2 | mjames | 2402 | #define GPIO_BSRR_BS10 GPIO_BSRR_BS10_Msk /*!< Port x Set bit 10 */ |
2403 | #define GPIO_BSRR_BS11_Pos (11U) |
||
9 | mjames | 2404 | #define GPIO_BSRR_BS11_Msk (0x1UL << GPIO_BSRR_BS11_Pos) /*!< 0x00000800 */ |
2 | mjames | 2405 | #define GPIO_BSRR_BS11 GPIO_BSRR_BS11_Msk /*!< Port x Set bit 11 */ |
2406 | #define GPIO_BSRR_BS12_Pos (12U) |
||
9 | mjames | 2407 | #define GPIO_BSRR_BS12_Msk (0x1UL << GPIO_BSRR_BS12_Pos) /*!< 0x00001000 */ |
2 | mjames | 2408 | #define GPIO_BSRR_BS12 GPIO_BSRR_BS12_Msk /*!< Port x Set bit 12 */ |
2409 | #define GPIO_BSRR_BS13_Pos (13U) |
||
9 | mjames | 2410 | #define GPIO_BSRR_BS13_Msk (0x1UL << GPIO_BSRR_BS13_Pos) /*!< 0x00002000 */ |
2 | mjames | 2411 | #define GPIO_BSRR_BS13 GPIO_BSRR_BS13_Msk /*!< Port x Set bit 13 */ |
2412 | #define GPIO_BSRR_BS14_Pos (14U) |
||
9 | mjames | 2413 | #define GPIO_BSRR_BS14_Msk (0x1UL << GPIO_BSRR_BS14_Pos) /*!< 0x00004000 */ |
2 | mjames | 2414 | #define GPIO_BSRR_BS14 GPIO_BSRR_BS14_Msk /*!< Port x Set bit 14 */ |
2415 | #define GPIO_BSRR_BS15_Pos (15U) |
||
9 | mjames | 2416 | #define GPIO_BSRR_BS15_Msk (0x1UL << GPIO_BSRR_BS15_Pos) /*!< 0x00008000 */ |
2 | mjames | 2417 | #define GPIO_BSRR_BS15 GPIO_BSRR_BS15_Msk /*!< Port x Set bit 15 */ |
2418 | |||
2419 | #define GPIO_BSRR_BR0_Pos (16U) |
||
9 | mjames | 2420 | #define GPIO_BSRR_BR0_Msk (0x1UL << GPIO_BSRR_BR0_Pos) /*!< 0x00010000 */ |
2 | mjames | 2421 | #define GPIO_BSRR_BR0 GPIO_BSRR_BR0_Msk /*!< Port x Reset bit 0 */ |
2422 | #define GPIO_BSRR_BR1_Pos (17U) |
||
9 | mjames | 2423 | #define GPIO_BSRR_BR1_Msk (0x1UL << GPIO_BSRR_BR1_Pos) /*!< 0x00020000 */ |
2 | mjames | 2424 | #define GPIO_BSRR_BR1 GPIO_BSRR_BR1_Msk /*!< Port x Reset bit 1 */ |
2425 | #define GPIO_BSRR_BR2_Pos (18U) |
||
9 | mjames | 2426 | #define GPIO_BSRR_BR2_Msk (0x1UL << GPIO_BSRR_BR2_Pos) /*!< 0x00040000 */ |
2 | mjames | 2427 | #define GPIO_BSRR_BR2 GPIO_BSRR_BR2_Msk /*!< Port x Reset bit 2 */ |
2428 | #define GPIO_BSRR_BR3_Pos (19U) |
||
9 | mjames | 2429 | #define GPIO_BSRR_BR3_Msk (0x1UL << GPIO_BSRR_BR3_Pos) /*!< 0x00080000 */ |
2 | mjames | 2430 | #define GPIO_BSRR_BR3 GPIO_BSRR_BR3_Msk /*!< Port x Reset bit 3 */ |
2431 | #define GPIO_BSRR_BR4_Pos (20U) |
||
9 | mjames | 2432 | #define GPIO_BSRR_BR4_Msk (0x1UL << GPIO_BSRR_BR4_Pos) /*!< 0x00100000 */ |
2 | mjames | 2433 | #define GPIO_BSRR_BR4 GPIO_BSRR_BR4_Msk /*!< Port x Reset bit 4 */ |
2434 | #define GPIO_BSRR_BR5_Pos (21U) |
||
9 | mjames | 2435 | #define GPIO_BSRR_BR5_Msk (0x1UL << GPIO_BSRR_BR5_Pos) /*!< 0x00200000 */ |
2 | mjames | 2436 | #define GPIO_BSRR_BR5 GPIO_BSRR_BR5_Msk /*!< Port x Reset bit 5 */ |
2437 | #define GPIO_BSRR_BR6_Pos (22U) |
||
9 | mjames | 2438 | #define GPIO_BSRR_BR6_Msk (0x1UL << GPIO_BSRR_BR6_Pos) /*!< 0x00400000 */ |
2 | mjames | 2439 | #define GPIO_BSRR_BR6 GPIO_BSRR_BR6_Msk /*!< Port x Reset bit 6 */ |
2440 | #define GPIO_BSRR_BR7_Pos (23U) |
||
9 | mjames | 2441 | #define GPIO_BSRR_BR7_Msk (0x1UL << GPIO_BSRR_BR7_Pos) /*!< 0x00800000 */ |
2 | mjames | 2442 | #define GPIO_BSRR_BR7 GPIO_BSRR_BR7_Msk /*!< Port x Reset bit 7 */ |
2443 | #define GPIO_BSRR_BR8_Pos (24U) |
||
9 | mjames | 2444 | #define GPIO_BSRR_BR8_Msk (0x1UL << GPIO_BSRR_BR8_Pos) /*!< 0x01000000 */ |
2 | mjames | 2445 | #define GPIO_BSRR_BR8 GPIO_BSRR_BR8_Msk /*!< Port x Reset bit 8 */ |
2446 | #define GPIO_BSRR_BR9_Pos (25U) |
||
9 | mjames | 2447 | #define GPIO_BSRR_BR9_Msk (0x1UL << GPIO_BSRR_BR9_Pos) /*!< 0x02000000 */ |
2 | mjames | 2448 | #define GPIO_BSRR_BR9 GPIO_BSRR_BR9_Msk /*!< Port x Reset bit 9 */ |
2449 | #define GPIO_BSRR_BR10_Pos (26U) |
||
9 | mjames | 2450 | #define GPIO_BSRR_BR10_Msk (0x1UL << GPIO_BSRR_BR10_Pos) /*!< 0x04000000 */ |
2 | mjames | 2451 | #define GPIO_BSRR_BR10 GPIO_BSRR_BR10_Msk /*!< Port x Reset bit 10 */ |
2452 | #define GPIO_BSRR_BR11_Pos (27U) |
||
9 | mjames | 2453 | #define GPIO_BSRR_BR11_Msk (0x1UL << GPIO_BSRR_BR11_Pos) /*!< 0x08000000 */ |
2 | mjames | 2454 | #define GPIO_BSRR_BR11 GPIO_BSRR_BR11_Msk /*!< Port x Reset bit 11 */ |
2455 | #define GPIO_BSRR_BR12_Pos (28U) |
||
9 | mjames | 2456 | #define GPIO_BSRR_BR12_Msk (0x1UL << GPIO_BSRR_BR12_Pos) /*!< 0x10000000 */ |
2 | mjames | 2457 | #define GPIO_BSRR_BR12 GPIO_BSRR_BR12_Msk /*!< Port x Reset bit 12 */ |
2458 | #define GPIO_BSRR_BR13_Pos (29U) |
||
9 | mjames | 2459 | #define GPIO_BSRR_BR13_Msk (0x1UL << GPIO_BSRR_BR13_Pos) /*!< 0x20000000 */ |
2 | mjames | 2460 | #define GPIO_BSRR_BR13 GPIO_BSRR_BR13_Msk /*!< Port x Reset bit 13 */ |
2461 | #define GPIO_BSRR_BR14_Pos (30U) |
||
9 | mjames | 2462 | #define GPIO_BSRR_BR14_Msk (0x1UL << GPIO_BSRR_BR14_Pos) /*!< 0x40000000 */ |
2 | mjames | 2463 | #define GPIO_BSRR_BR14 GPIO_BSRR_BR14_Msk /*!< Port x Reset bit 14 */ |
2464 | #define GPIO_BSRR_BR15_Pos (31U) |
||
9 | mjames | 2465 | #define GPIO_BSRR_BR15_Msk (0x1UL << GPIO_BSRR_BR15_Pos) /*!< 0x80000000 */ |
2 | mjames | 2466 | #define GPIO_BSRR_BR15 GPIO_BSRR_BR15_Msk /*!< Port x Reset bit 15 */ |
2467 | |||
2468 | /******************* Bit definition for GPIO_BRR register *******************/ |
||
2469 | #define GPIO_BRR_BR0_Pos (0U) |
||
9 | mjames | 2470 | #define GPIO_BRR_BR0_Msk (0x1UL << GPIO_BRR_BR0_Pos) /*!< 0x00000001 */ |
2 | mjames | 2471 | #define GPIO_BRR_BR0 GPIO_BRR_BR0_Msk /*!< Port x Reset bit 0 */ |
2472 | #define GPIO_BRR_BR1_Pos (1U) |
||
9 | mjames | 2473 | #define GPIO_BRR_BR1_Msk (0x1UL << GPIO_BRR_BR1_Pos) /*!< 0x00000002 */ |
2 | mjames | 2474 | #define GPIO_BRR_BR1 GPIO_BRR_BR1_Msk /*!< Port x Reset bit 1 */ |
2475 | #define GPIO_BRR_BR2_Pos (2U) |
||
9 | mjames | 2476 | #define GPIO_BRR_BR2_Msk (0x1UL << GPIO_BRR_BR2_Pos) /*!< 0x00000004 */ |
2 | mjames | 2477 | #define GPIO_BRR_BR2 GPIO_BRR_BR2_Msk /*!< Port x Reset bit 2 */ |
2478 | #define GPIO_BRR_BR3_Pos (3U) |
||
9 | mjames | 2479 | #define GPIO_BRR_BR3_Msk (0x1UL << GPIO_BRR_BR3_Pos) /*!< 0x00000008 */ |
2 | mjames | 2480 | #define GPIO_BRR_BR3 GPIO_BRR_BR3_Msk /*!< Port x Reset bit 3 */ |
2481 | #define GPIO_BRR_BR4_Pos (4U) |
||
9 | mjames | 2482 | #define GPIO_BRR_BR4_Msk (0x1UL << GPIO_BRR_BR4_Pos) /*!< 0x00000010 */ |
2 | mjames | 2483 | #define GPIO_BRR_BR4 GPIO_BRR_BR4_Msk /*!< Port x Reset bit 4 */ |
2484 | #define GPIO_BRR_BR5_Pos (5U) |
||
9 | mjames | 2485 | #define GPIO_BRR_BR5_Msk (0x1UL << GPIO_BRR_BR5_Pos) /*!< 0x00000020 */ |
2 | mjames | 2486 | #define GPIO_BRR_BR5 GPIO_BRR_BR5_Msk /*!< Port x Reset bit 5 */ |
2487 | #define GPIO_BRR_BR6_Pos (6U) |
||
9 | mjames | 2488 | #define GPIO_BRR_BR6_Msk (0x1UL << GPIO_BRR_BR6_Pos) /*!< 0x00000040 */ |
2 | mjames | 2489 | #define GPIO_BRR_BR6 GPIO_BRR_BR6_Msk /*!< Port x Reset bit 6 */ |
2490 | #define GPIO_BRR_BR7_Pos (7U) |
||
9 | mjames | 2491 | #define GPIO_BRR_BR7_Msk (0x1UL << GPIO_BRR_BR7_Pos) /*!< 0x00000080 */ |
2 | mjames | 2492 | #define GPIO_BRR_BR7 GPIO_BRR_BR7_Msk /*!< Port x Reset bit 7 */ |
2493 | #define GPIO_BRR_BR8_Pos (8U) |
||
9 | mjames | 2494 | #define GPIO_BRR_BR8_Msk (0x1UL << GPIO_BRR_BR8_Pos) /*!< 0x00000100 */ |
2 | mjames | 2495 | #define GPIO_BRR_BR8 GPIO_BRR_BR8_Msk /*!< Port x Reset bit 8 */ |
2496 | #define GPIO_BRR_BR9_Pos (9U) |
||
9 | mjames | 2497 | #define GPIO_BRR_BR9_Msk (0x1UL << GPIO_BRR_BR9_Pos) /*!< 0x00000200 */ |
2 | mjames | 2498 | #define GPIO_BRR_BR9 GPIO_BRR_BR9_Msk /*!< Port x Reset bit 9 */ |
2499 | #define GPIO_BRR_BR10_Pos (10U) |
||
9 | mjames | 2500 | #define GPIO_BRR_BR10_Msk (0x1UL << GPIO_BRR_BR10_Pos) /*!< 0x00000400 */ |
2 | mjames | 2501 | #define GPIO_BRR_BR10 GPIO_BRR_BR10_Msk /*!< Port x Reset bit 10 */ |
2502 | #define GPIO_BRR_BR11_Pos (11U) |
||
9 | mjames | 2503 | #define GPIO_BRR_BR11_Msk (0x1UL << GPIO_BRR_BR11_Pos) /*!< 0x00000800 */ |
2 | mjames | 2504 | #define GPIO_BRR_BR11 GPIO_BRR_BR11_Msk /*!< Port x Reset bit 11 */ |
2505 | #define GPIO_BRR_BR12_Pos (12U) |
||
9 | mjames | 2506 | #define GPIO_BRR_BR12_Msk (0x1UL << GPIO_BRR_BR12_Pos) /*!< 0x00001000 */ |
2 | mjames | 2507 | #define GPIO_BRR_BR12 GPIO_BRR_BR12_Msk /*!< Port x Reset bit 12 */ |
2508 | #define GPIO_BRR_BR13_Pos (13U) |
||
9 | mjames | 2509 | #define GPIO_BRR_BR13_Msk (0x1UL << GPIO_BRR_BR13_Pos) /*!< 0x00002000 */ |
2 | mjames | 2510 | #define GPIO_BRR_BR13 GPIO_BRR_BR13_Msk /*!< Port x Reset bit 13 */ |
2511 | #define GPIO_BRR_BR14_Pos (14U) |
||
9 | mjames | 2512 | #define GPIO_BRR_BR14_Msk (0x1UL << GPIO_BRR_BR14_Pos) /*!< 0x00004000 */ |
2 | mjames | 2513 | #define GPIO_BRR_BR14 GPIO_BRR_BR14_Msk /*!< Port x Reset bit 14 */ |
2514 | #define GPIO_BRR_BR15_Pos (15U) |
||
9 | mjames | 2515 | #define GPIO_BRR_BR15_Msk (0x1UL << GPIO_BRR_BR15_Pos) /*!< 0x00008000 */ |
2 | mjames | 2516 | #define GPIO_BRR_BR15 GPIO_BRR_BR15_Msk /*!< Port x Reset bit 15 */ |
2517 | |||
2518 | /****************** Bit definition for GPIO_LCKR register *******************/ |
||
2519 | #define GPIO_LCKR_LCK0_Pos (0U) |
||
9 | mjames | 2520 | #define GPIO_LCKR_LCK0_Msk (0x1UL << GPIO_LCKR_LCK0_Pos) /*!< 0x00000001 */ |
2 | mjames | 2521 | #define GPIO_LCKR_LCK0 GPIO_LCKR_LCK0_Msk /*!< Port x Lock bit 0 */ |
2522 | #define GPIO_LCKR_LCK1_Pos (1U) |
||
9 | mjames | 2523 | #define GPIO_LCKR_LCK1_Msk (0x1UL << GPIO_LCKR_LCK1_Pos) /*!< 0x00000002 */ |
2 | mjames | 2524 | #define GPIO_LCKR_LCK1 GPIO_LCKR_LCK1_Msk /*!< Port x Lock bit 1 */ |
2525 | #define GPIO_LCKR_LCK2_Pos (2U) |
||
9 | mjames | 2526 | #define GPIO_LCKR_LCK2_Msk (0x1UL << GPIO_LCKR_LCK2_Pos) /*!< 0x00000004 */ |
2 | mjames | 2527 | #define GPIO_LCKR_LCK2 GPIO_LCKR_LCK2_Msk /*!< Port x Lock bit 2 */ |
2528 | #define GPIO_LCKR_LCK3_Pos (3U) |
||
9 | mjames | 2529 | #define GPIO_LCKR_LCK3_Msk (0x1UL << GPIO_LCKR_LCK3_Pos) /*!< 0x00000008 */ |
2 | mjames | 2530 | #define GPIO_LCKR_LCK3 GPIO_LCKR_LCK3_Msk /*!< Port x Lock bit 3 */ |
2531 | #define GPIO_LCKR_LCK4_Pos (4U) |
||
9 | mjames | 2532 | #define GPIO_LCKR_LCK4_Msk (0x1UL << GPIO_LCKR_LCK4_Pos) /*!< 0x00000010 */ |
2 | mjames | 2533 | #define GPIO_LCKR_LCK4 GPIO_LCKR_LCK4_Msk /*!< Port x Lock bit 4 */ |
2534 | #define GPIO_LCKR_LCK5_Pos (5U) |
||
9 | mjames | 2535 | #define GPIO_LCKR_LCK5_Msk (0x1UL << GPIO_LCKR_LCK5_Pos) /*!< 0x00000020 */ |
2 | mjames | 2536 | #define GPIO_LCKR_LCK5 GPIO_LCKR_LCK5_Msk /*!< Port x Lock bit 5 */ |
2537 | #define GPIO_LCKR_LCK6_Pos (6U) |
||
9 | mjames | 2538 | #define GPIO_LCKR_LCK6_Msk (0x1UL << GPIO_LCKR_LCK6_Pos) /*!< 0x00000040 */ |
2 | mjames | 2539 | #define GPIO_LCKR_LCK6 GPIO_LCKR_LCK6_Msk /*!< Port x Lock bit 6 */ |
2540 | #define GPIO_LCKR_LCK7_Pos (7U) |
||
9 | mjames | 2541 | #define GPIO_LCKR_LCK7_Msk (0x1UL << GPIO_LCKR_LCK7_Pos) /*!< 0x00000080 */ |
2 | mjames | 2542 | #define GPIO_LCKR_LCK7 GPIO_LCKR_LCK7_Msk /*!< Port x Lock bit 7 */ |
2543 | #define GPIO_LCKR_LCK8_Pos (8U) |
||
9 | mjames | 2544 | #define GPIO_LCKR_LCK8_Msk (0x1UL << GPIO_LCKR_LCK8_Pos) /*!< 0x00000100 */ |
2 | mjames | 2545 | #define GPIO_LCKR_LCK8 GPIO_LCKR_LCK8_Msk /*!< Port x Lock bit 8 */ |
2546 | #define GPIO_LCKR_LCK9_Pos (9U) |
||
9 | mjames | 2547 | #define GPIO_LCKR_LCK9_Msk (0x1UL << GPIO_LCKR_LCK9_Pos) /*!< 0x00000200 */ |
2 | mjames | 2548 | #define GPIO_LCKR_LCK9 GPIO_LCKR_LCK9_Msk /*!< Port x Lock bit 9 */ |
2549 | #define GPIO_LCKR_LCK10_Pos (10U) |
||
9 | mjames | 2550 | #define GPIO_LCKR_LCK10_Msk (0x1UL << GPIO_LCKR_LCK10_Pos) /*!< 0x00000400 */ |
2 | mjames | 2551 | #define GPIO_LCKR_LCK10 GPIO_LCKR_LCK10_Msk /*!< Port x Lock bit 10 */ |
2552 | #define GPIO_LCKR_LCK11_Pos (11U) |
||
9 | mjames | 2553 | #define GPIO_LCKR_LCK11_Msk (0x1UL << GPIO_LCKR_LCK11_Pos) /*!< 0x00000800 */ |
2 | mjames | 2554 | #define GPIO_LCKR_LCK11 GPIO_LCKR_LCK11_Msk /*!< Port x Lock bit 11 */ |
2555 | #define GPIO_LCKR_LCK12_Pos (12U) |
||
9 | mjames | 2556 | #define GPIO_LCKR_LCK12_Msk (0x1UL << GPIO_LCKR_LCK12_Pos) /*!< 0x00001000 */ |
2 | mjames | 2557 | #define GPIO_LCKR_LCK12 GPIO_LCKR_LCK12_Msk /*!< Port x Lock bit 12 */ |
2558 | #define GPIO_LCKR_LCK13_Pos (13U) |
||
9 | mjames | 2559 | #define GPIO_LCKR_LCK13_Msk (0x1UL << GPIO_LCKR_LCK13_Pos) /*!< 0x00002000 */ |
2 | mjames | 2560 | #define GPIO_LCKR_LCK13 GPIO_LCKR_LCK13_Msk /*!< Port x Lock bit 13 */ |
2561 | #define GPIO_LCKR_LCK14_Pos (14U) |
||
9 | mjames | 2562 | #define GPIO_LCKR_LCK14_Msk (0x1UL << GPIO_LCKR_LCK14_Pos) /*!< 0x00004000 */ |
2 | mjames | 2563 | #define GPIO_LCKR_LCK14 GPIO_LCKR_LCK14_Msk /*!< Port x Lock bit 14 */ |
2564 | #define GPIO_LCKR_LCK15_Pos (15U) |
||
9 | mjames | 2565 | #define GPIO_LCKR_LCK15_Msk (0x1UL << GPIO_LCKR_LCK15_Pos) /*!< 0x00008000 */ |
2 | mjames | 2566 | #define GPIO_LCKR_LCK15 GPIO_LCKR_LCK15_Msk /*!< Port x Lock bit 15 */ |
2567 | #define GPIO_LCKR_LCKK_Pos (16U) |
||
9 | mjames | 2568 | #define GPIO_LCKR_LCKK_Msk (0x1UL << GPIO_LCKR_LCKK_Pos) /*!< 0x00010000 */ |
2 | mjames | 2569 | #define GPIO_LCKR_LCKK GPIO_LCKR_LCKK_Msk /*!< Lock key */ |
2570 | |||
2571 | /*----------------------------------------------------------------------------*/ |
||
2572 | |||
2573 | /****************** Bit definition for AFIO_EVCR register *******************/ |
||
2574 | #define AFIO_EVCR_PIN_Pos (0U) |
||
9 | mjames | 2575 | #define AFIO_EVCR_PIN_Msk (0xFUL << AFIO_EVCR_PIN_Pos) /*!< 0x0000000F */ |
2 | mjames | 2576 | #define AFIO_EVCR_PIN AFIO_EVCR_PIN_Msk /*!< PIN[3:0] bits (Pin selection) */ |
9 | mjames | 2577 | #define AFIO_EVCR_PIN_0 (0x1UL << AFIO_EVCR_PIN_Pos) /*!< 0x00000001 */ |
2578 | #define AFIO_EVCR_PIN_1 (0x2UL << AFIO_EVCR_PIN_Pos) /*!< 0x00000002 */ |
||
2579 | #define AFIO_EVCR_PIN_2 (0x4UL << AFIO_EVCR_PIN_Pos) /*!< 0x00000004 */ |
||
2580 | #define AFIO_EVCR_PIN_3 (0x8UL << AFIO_EVCR_PIN_Pos) /*!< 0x00000008 */ |
||
2 | mjames | 2581 | |
2582 | /*!< PIN configuration */ |
||
2583 | #define AFIO_EVCR_PIN_PX0 0x00000000U /*!< Pin 0 selected */ |
||
2584 | #define AFIO_EVCR_PIN_PX1_Pos (0U) |
||
9 | mjames | 2585 | #define AFIO_EVCR_PIN_PX1_Msk (0x1UL << AFIO_EVCR_PIN_PX1_Pos) /*!< 0x00000001 */ |
2 | mjames | 2586 | #define AFIO_EVCR_PIN_PX1 AFIO_EVCR_PIN_PX1_Msk /*!< Pin 1 selected */ |
2587 | #define AFIO_EVCR_PIN_PX2_Pos (1U) |
||
9 | mjames | 2588 | #define AFIO_EVCR_PIN_PX2_Msk (0x1UL << AFIO_EVCR_PIN_PX2_Pos) /*!< 0x00000002 */ |
2 | mjames | 2589 | #define AFIO_EVCR_PIN_PX2 AFIO_EVCR_PIN_PX2_Msk /*!< Pin 2 selected */ |
2590 | #define AFIO_EVCR_PIN_PX3_Pos (0U) |
||
9 | mjames | 2591 | #define AFIO_EVCR_PIN_PX3_Msk (0x3UL << AFIO_EVCR_PIN_PX3_Pos) /*!< 0x00000003 */ |
2 | mjames | 2592 | #define AFIO_EVCR_PIN_PX3 AFIO_EVCR_PIN_PX3_Msk /*!< Pin 3 selected */ |
2593 | #define AFIO_EVCR_PIN_PX4_Pos (2U) |
||
9 | mjames | 2594 | #define AFIO_EVCR_PIN_PX4_Msk (0x1UL << AFIO_EVCR_PIN_PX4_Pos) /*!< 0x00000004 */ |
2 | mjames | 2595 | #define AFIO_EVCR_PIN_PX4 AFIO_EVCR_PIN_PX4_Msk /*!< Pin 4 selected */ |
2596 | #define AFIO_EVCR_PIN_PX5_Pos (0U) |
||
9 | mjames | 2597 | #define AFIO_EVCR_PIN_PX5_Msk (0x5UL << AFIO_EVCR_PIN_PX5_Pos) /*!< 0x00000005 */ |
2 | mjames | 2598 | #define AFIO_EVCR_PIN_PX5 AFIO_EVCR_PIN_PX5_Msk /*!< Pin 5 selected */ |
2599 | #define AFIO_EVCR_PIN_PX6_Pos (1U) |
||
9 | mjames | 2600 | #define AFIO_EVCR_PIN_PX6_Msk (0x3UL << AFIO_EVCR_PIN_PX6_Pos) /*!< 0x00000006 */ |
2 | mjames | 2601 | #define AFIO_EVCR_PIN_PX6 AFIO_EVCR_PIN_PX6_Msk /*!< Pin 6 selected */ |
2602 | #define AFIO_EVCR_PIN_PX7_Pos (0U) |
||
9 | mjames | 2603 | #define AFIO_EVCR_PIN_PX7_Msk (0x7UL << AFIO_EVCR_PIN_PX7_Pos) /*!< 0x00000007 */ |
2 | mjames | 2604 | #define AFIO_EVCR_PIN_PX7 AFIO_EVCR_PIN_PX7_Msk /*!< Pin 7 selected */ |
2605 | #define AFIO_EVCR_PIN_PX8_Pos (3U) |
||
9 | mjames | 2606 | #define AFIO_EVCR_PIN_PX8_Msk (0x1UL << AFIO_EVCR_PIN_PX8_Pos) /*!< 0x00000008 */ |
2 | mjames | 2607 | #define AFIO_EVCR_PIN_PX8 AFIO_EVCR_PIN_PX8_Msk /*!< Pin 8 selected */ |
2608 | #define AFIO_EVCR_PIN_PX9_Pos (0U) |
||
9 | mjames | 2609 | #define AFIO_EVCR_PIN_PX9_Msk (0x9UL << AFIO_EVCR_PIN_PX9_Pos) /*!< 0x00000009 */ |
2 | mjames | 2610 | #define AFIO_EVCR_PIN_PX9 AFIO_EVCR_PIN_PX9_Msk /*!< Pin 9 selected */ |
2611 | #define AFIO_EVCR_PIN_PX10_Pos (1U) |
||
9 | mjames | 2612 | #define AFIO_EVCR_PIN_PX10_Msk (0x5UL << AFIO_EVCR_PIN_PX10_Pos) /*!< 0x0000000A */ |
2 | mjames | 2613 | #define AFIO_EVCR_PIN_PX10 AFIO_EVCR_PIN_PX10_Msk /*!< Pin 10 selected */ |
2614 | #define AFIO_EVCR_PIN_PX11_Pos (0U) |
||
9 | mjames | 2615 | #define AFIO_EVCR_PIN_PX11_Msk (0xBUL << AFIO_EVCR_PIN_PX11_Pos) /*!< 0x0000000B */ |
2 | mjames | 2616 | #define AFIO_EVCR_PIN_PX11 AFIO_EVCR_PIN_PX11_Msk /*!< Pin 11 selected */ |
2617 | #define AFIO_EVCR_PIN_PX12_Pos (2U) |
||
9 | mjames | 2618 | #define AFIO_EVCR_PIN_PX12_Msk (0x3UL << AFIO_EVCR_PIN_PX12_Pos) /*!< 0x0000000C */ |
2 | mjames | 2619 | #define AFIO_EVCR_PIN_PX12 AFIO_EVCR_PIN_PX12_Msk /*!< Pin 12 selected */ |
2620 | #define AFIO_EVCR_PIN_PX13_Pos (0U) |
||
9 | mjames | 2621 | #define AFIO_EVCR_PIN_PX13_Msk (0xDUL << AFIO_EVCR_PIN_PX13_Pos) /*!< 0x0000000D */ |
2 | mjames | 2622 | #define AFIO_EVCR_PIN_PX13 AFIO_EVCR_PIN_PX13_Msk /*!< Pin 13 selected */ |
2623 | #define AFIO_EVCR_PIN_PX14_Pos (1U) |
||
9 | mjames | 2624 | #define AFIO_EVCR_PIN_PX14_Msk (0x7UL << AFIO_EVCR_PIN_PX14_Pos) /*!< 0x0000000E */ |
2 | mjames | 2625 | #define AFIO_EVCR_PIN_PX14 AFIO_EVCR_PIN_PX14_Msk /*!< Pin 14 selected */ |
2626 | #define AFIO_EVCR_PIN_PX15_Pos (0U) |
||
9 | mjames | 2627 | #define AFIO_EVCR_PIN_PX15_Msk (0xFUL << AFIO_EVCR_PIN_PX15_Pos) /*!< 0x0000000F */ |
2 | mjames | 2628 | #define AFIO_EVCR_PIN_PX15 AFIO_EVCR_PIN_PX15_Msk /*!< Pin 15 selected */ |
2629 | |||
2630 | #define AFIO_EVCR_PORT_Pos (4U) |
||
9 | mjames | 2631 | #define AFIO_EVCR_PORT_Msk (0x7UL << AFIO_EVCR_PORT_Pos) /*!< 0x00000070 */ |
2 | mjames | 2632 | #define AFIO_EVCR_PORT AFIO_EVCR_PORT_Msk /*!< PORT[2:0] bits (Port selection) */ |
9 | mjames | 2633 | #define AFIO_EVCR_PORT_0 (0x1UL << AFIO_EVCR_PORT_Pos) /*!< 0x00000010 */ |
2634 | #define AFIO_EVCR_PORT_1 (0x2UL << AFIO_EVCR_PORT_Pos) /*!< 0x00000020 */ |
||
2635 | #define AFIO_EVCR_PORT_2 (0x4UL << AFIO_EVCR_PORT_Pos) /*!< 0x00000040 */ |
||
2 | mjames | 2636 | |
2637 | /*!< PORT configuration */ |
||
2638 | #define AFIO_EVCR_PORT_PA 0x00000000 /*!< Port A selected */ |
||
2639 | #define AFIO_EVCR_PORT_PB_Pos (4U) |
||
9 | mjames | 2640 | #define AFIO_EVCR_PORT_PB_Msk (0x1UL << AFIO_EVCR_PORT_PB_Pos) /*!< 0x00000010 */ |
2 | mjames | 2641 | #define AFIO_EVCR_PORT_PB AFIO_EVCR_PORT_PB_Msk /*!< Port B selected */ |
2642 | #define AFIO_EVCR_PORT_PC_Pos (5U) |
||
9 | mjames | 2643 | #define AFIO_EVCR_PORT_PC_Msk (0x1UL << AFIO_EVCR_PORT_PC_Pos) /*!< 0x00000020 */ |
2 | mjames | 2644 | #define AFIO_EVCR_PORT_PC AFIO_EVCR_PORT_PC_Msk /*!< Port C selected */ |
2645 | #define AFIO_EVCR_PORT_PD_Pos (4U) |
||
9 | mjames | 2646 | #define AFIO_EVCR_PORT_PD_Msk (0x3UL << AFIO_EVCR_PORT_PD_Pos) /*!< 0x00000030 */ |
2 | mjames | 2647 | #define AFIO_EVCR_PORT_PD AFIO_EVCR_PORT_PD_Msk /*!< Port D selected */ |
2648 | #define AFIO_EVCR_PORT_PE_Pos (6U) |
||
9 | mjames | 2649 | #define AFIO_EVCR_PORT_PE_Msk (0x1UL << AFIO_EVCR_PORT_PE_Pos) /*!< 0x00000040 */ |
2 | mjames | 2650 | #define AFIO_EVCR_PORT_PE AFIO_EVCR_PORT_PE_Msk /*!< Port E selected */ |
2651 | |||
2652 | #define AFIO_EVCR_EVOE_Pos (7U) |
||
9 | mjames | 2653 | #define AFIO_EVCR_EVOE_Msk (0x1UL << AFIO_EVCR_EVOE_Pos) /*!< 0x00000080 */ |
2 | mjames | 2654 | #define AFIO_EVCR_EVOE AFIO_EVCR_EVOE_Msk /*!< Event Output Enable */ |
2655 | |||
2656 | /****************** Bit definition for AFIO_MAPR register *******************/ |
||
2657 | #define AFIO_MAPR_SPI1_REMAP_Pos (0U) |
||
9 | mjames | 2658 | #define AFIO_MAPR_SPI1_REMAP_Msk (0x1UL << AFIO_MAPR_SPI1_REMAP_Pos) /*!< 0x00000001 */ |
2 | mjames | 2659 | #define AFIO_MAPR_SPI1_REMAP AFIO_MAPR_SPI1_REMAP_Msk /*!< SPI1 remapping */ |
2660 | #define AFIO_MAPR_I2C1_REMAP_Pos (1U) |
||
9 | mjames | 2661 | #define AFIO_MAPR_I2C1_REMAP_Msk (0x1UL << AFIO_MAPR_I2C1_REMAP_Pos) /*!< 0x00000002 */ |
2 | mjames | 2662 | #define AFIO_MAPR_I2C1_REMAP AFIO_MAPR_I2C1_REMAP_Msk /*!< I2C1 remapping */ |
2663 | #define AFIO_MAPR_USART1_REMAP_Pos (2U) |
||
9 | mjames | 2664 | #define AFIO_MAPR_USART1_REMAP_Msk (0x1UL << AFIO_MAPR_USART1_REMAP_Pos) /*!< 0x00000004 */ |
2 | mjames | 2665 | #define AFIO_MAPR_USART1_REMAP AFIO_MAPR_USART1_REMAP_Msk /*!< USART1 remapping */ |
2666 | #define AFIO_MAPR_USART2_REMAP_Pos (3U) |
||
9 | mjames | 2667 | #define AFIO_MAPR_USART2_REMAP_Msk (0x1UL << AFIO_MAPR_USART2_REMAP_Pos) /*!< 0x00000008 */ |
2 | mjames | 2668 | #define AFIO_MAPR_USART2_REMAP AFIO_MAPR_USART2_REMAP_Msk /*!< USART2 remapping */ |
2669 | |||
2670 | #define AFIO_MAPR_USART3_REMAP_Pos (4U) |
||
9 | mjames | 2671 | #define AFIO_MAPR_USART3_REMAP_Msk (0x3UL << AFIO_MAPR_USART3_REMAP_Pos) /*!< 0x00000030 */ |
2 | mjames | 2672 | #define AFIO_MAPR_USART3_REMAP AFIO_MAPR_USART3_REMAP_Msk /*!< USART3_REMAP[1:0] bits (USART3 remapping) */ |
9 | mjames | 2673 | #define AFIO_MAPR_USART3_REMAP_0 (0x1UL << AFIO_MAPR_USART3_REMAP_Pos) /*!< 0x00000010 */ |
2674 | #define AFIO_MAPR_USART3_REMAP_1 (0x2UL << AFIO_MAPR_USART3_REMAP_Pos) /*!< 0x00000020 */ |
||
2 | mjames | 2675 | |
2676 | /* USART3_REMAP configuration */ |
||
2677 | #define AFIO_MAPR_USART3_REMAP_NOREMAP 0x00000000U /*!< No remap (TX/PB10, RX/PB11, CK/PB12, CTS/PB13, RTS/PB14) */ |
||
2678 | #define AFIO_MAPR_USART3_REMAP_PARTIALREMAP_Pos (4U) |
||
9 | mjames | 2679 | #define AFIO_MAPR_USART3_REMAP_PARTIALREMAP_Msk (0x1UL << AFIO_MAPR_USART3_REMAP_PARTIALREMAP_Pos) /*!< 0x00000010 */ |
2 | mjames | 2680 | #define AFIO_MAPR_USART3_REMAP_PARTIALREMAP AFIO_MAPR_USART3_REMAP_PARTIALREMAP_Msk /*!< Partial remap (TX/PC10, RX/PC11, CK/PC12, CTS/PB13, RTS/PB14) */ |
2681 | #define AFIO_MAPR_USART3_REMAP_FULLREMAP_Pos (4U) |
||
9 | mjames | 2682 | #define AFIO_MAPR_USART3_REMAP_FULLREMAP_Msk (0x3UL << AFIO_MAPR_USART3_REMAP_FULLREMAP_Pos) /*!< 0x00000030 */ |
2 | mjames | 2683 | #define AFIO_MAPR_USART3_REMAP_FULLREMAP AFIO_MAPR_USART3_REMAP_FULLREMAP_Msk /*!< Full remap (TX/PD8, RX/PD9, CK/PD10, CTS/PD11, RTS/PD12) */ |
2684 | |||
2685 | #define AFIO_MAPR_TIM1_REMAP_Pos (6U) |
||
9 | mjames | 2686 | #define AFIO_MAPR_TIM1_REMAP_Msk (0x3UL << AFIO_MAPR_TIM1_REMAP_Pos) /*!< 0x000000C0 */ |
2 | mjames | 2687 | #define AFIO_MAPR_TIM1_REMAP AFIO_MAPR_TIM1_REMAP_Msk /*!< TIM1_REMAP[1:0] bits (TIM1 remapping) */ |
9 | mjames | 2688 | #define AFIO_MAPR_TIM1_REMAP_0 (0x1UL << AFIO_MAPR_TIM1_REMAP_Pos) /*!< 0x00000040 */ |
2689 | #define AFIO_MAPR_TIM1_REMAP_1 (0x2UL << AFIO_MAPR_TIM1_REMAP_Pos) /*!< 0x00000080 */ |
||
2 | mjames | 2690 | |
2691 | /*!< TIM1_REMAP configuration */ |
||
2692 | #define AFIO_MAPR_TIM1_REMAP_NOREMAP 0x00000000U /*!< No remap (ETR/PA12, CH1/PA8, CH2/PA9, CH3/PA10, CH4/PA11, BKIN/PB12, CH1N/PB13, CH2N/PB14, CH3N/PB15) */ |
||
2693 | #define AFIO_MAPR_TIM1_REMAP_PARTIALREMAP_Pos (6U) |
||
9 | mjames | 2694 | #define AFIO_MAPR_TIM1_REMAP_PARTIALREMAP_Msk (0x1UL << AFIO_MAPR_TIM1_REMAP_PARTIALREMAP_Pos) /*!< 0x00000040 */ |
2 | mjames | 2695 | #define AFIO_MAPR_TIM1_REMAP_PARTIALREMAP AFIO_MAPR_TIM1_REMAP_PARTIALREMAP_Msk /*!< Partial remap (ETR/PA12, CH1/PA8, CH2/PA9, CH3/PA10, CH4/PA11, BKIN/PA6, CH1N/PA7, CH2N/PB0, CH3N/PB1) */ |
2696 | #define AFIO_MAPR_TIM1_REMAP_FULLREMAP_Pos (6U) |
||
9 | mjames | 2697 | #define AFIO_MAPR_TIM1_REMAP_FULLREMAP_Msk (0x3UL << AFIO_MAPR_TIM1_REMAP_FULLREMAP_Pos) /*!< 0x000000C0 */ |
2 | mjames | 2698 | #define AFIO_MAPR_TIM1_REMAP_FULLREMAP AFIO_MAPR_TIM1_REMAP_FULLREMAP_Msk /*!< Full remap (ETR/PE7, CH1/PE9, CH2/PE11, CH3/PE13, CH4/PE14, BKIN/PE15, CH1N/PE8, CH2N/PE10, CH3N/PE12) */ |
2699 | |||
2700 | #define AFIO_MAPR_TIM2_REMAP_Pos (8U) |
||
9 | mjames | 2701 | #define AFIO_MAPR_TIM2_REMAP_Msk (0x3UL << AFIO_MAPR_TIM2_REMAP_Pos) /*!< 0x00000300 */ |
2 | mjames | 2702 | #define AFIO_MAPR_TIM2_REMAP AFIO_MAPR_TIM2_REMAP_Msk /*!< TIM2_REMAP[1:0] bits (TIM2 remapping) */ |
9 | mjames | 2703 | #define AFIO_MAPR_TIM2_REMAP_0 (0x1UL << AFIO_MAPR_TIM2_REMAP_Pos) /*!< 0x00000100 */ |
2704 | #define AFIO_MAPR_TIM2_REMAP_1 (0x2UL << AFIO_MAPR_TIM2_REMAP_Pos) /*!< 0x00000200 */ |
||
2 | mjames | 2705 | |
2706 | /*!< TIM2_REMAP configuration */ |
||
2707 | #define AFIO_MAPR_TIM2_REMAP_NOREMAP 0x00000000U /*!< No remap (CH1/ETR/PA0, CH2/PA1, CH3/PA2, CH4/PA3) */ |
||
2708 | #define AFIO_MAPR_TIM2_REMAP_PARTIALREMAP1_Pos (8U) |
||
9 | mjames | 2709 | #define AFIO_MAPR_TIM2_REMAP_PARTIALREMAP1_Msk (0x1UL << AFIO_MAPR_TIM2_REMAP_PARTIALREMAP1_Pos) /*!< 0x00000100 */ |
2 | mjames | 2710 | #define AFIO_MAPR_TIM2_REMAP_PARTIALREMAP1 AFIO_MAPR_TIM2_REMAP_PARTIALREMAP1_Msk /*!< Partial remap (CH1/ETR/PA15, CH2/PB3, CH3/PA2, CH4/PA3) */ |
2711 | #define AFIO_MAPR_TIM2_REMAP_PARTIALREMAP2_Pos (9U) |
||
9 | mjames | 2712 | #define AFIO_MAPR_TIM2_REMAP_PARTIALREMAP2_Msk (0x1UL << AFIO_MAPR_TIM2_REMAP_PARTIALREMAP2_Pos) /*!< 0x00000200 */ |
2 | mjames | 2713 | #define AFIO_MAPR_TIM2_REMAP_PARTIALREMAP2 AFIO_MAPR_TIM2_REMAP_PARTIALREMAP2_Msk /*!< Partial remap (CH1/ETR/PA0, CH2/PA1, CH3/PB10, CH4/PB11) */ |
2714 | #define AFIO_MAPR_TIM2_REMAP_FULLREMAP_Pos (8U) |
||
9 | mjames | 2715 | #define AFIO_MAPR_TIM2_REMAP_FULLREMAP_Msk (0x3UL << AFIO_MAPR_TIM2_REMAP_FULLREMAP_Pos) /*!< 0x00000300 */ |
2 | mjames | 2716 | #define AFIO_MAPR_TIM2_REMAP_FULLREMAP AFIO_MAPR_TIM2_REMAP_FULLREMAP_Msk /*!< Full remap (CH1/ETR/PA15, CH2/PB3, CH3/PB10, CH4/PB11) */ |
2717 | |||
2718 | #define AFIO_MAPR_TIM3_REMAP_Pos (10U) |
||
9 | mjames | 2719 | #define AFIO_MAPR_TIM3_REMAP_Msk (0x3UL << AFIO_MAPR_TIM3_REMAP_Pos) /*!< 0x00000C00 */ |
2 | mjames | 2720 | #define AFIO_MAPR_TIM3_REMAP AFIO_MAPR_TIM3_REMAP_Msk /*!< TIM3_REMAP[1:0] bits (TIM3 remapping) */ |
9 | mjames | 2721 | #define AFIO_MAPR_TIM3_REMAP_0 (0x1UL << AFIO_MAPR_TIM3_REMAP_Pos) /*!< 0x00000400 */ |
2722 | #define AFIO_MAPR_TIM3_REMAP_1 (0x2UL << AFIO_MAPR_TIM3_REMAP_Pos) /*!< 0x00000800 */ |
||
2 | mjames | 2723 | |
2724 | /*!< TIM3_REMAP configuration */ |
||
2725 | #define AFIO_MAPR_TIM3_REMAP_NOREMAP 0x00000000U /*!< No remap (CH1/PA6, CH2/PA7, CH3/PB0, CH4/PB1) */ |
||
2726 | #define AFIO_MAPR_TIM3_REMAP_PARTIALREMAP_Pos (11U) |
||
9 | mjames | 2727 | #define AFIO_MAPR_TIM3_REMAP_PARTIALREMAP_Msk (0x1UL << AFIO_MAPR_TIM3_REMAP_PARTIALREMAP_Pos) /*!< 0x00000800 */ |
2 | mjames | 2728 | #define AFIO_MAPR_TIM3_REMAP_PARTIALREMAP AFIO_MAPR_TIM3_REMAP_PARTIALREMAP_Msk /*!< Partial remap (CH1/PB4, CH2/PB5, CH3/PB0, CH4/PB1) */ |
2729 | #define AFIO_MAPR_TIM3_REMAP_FULLREMAP_Pos (10U) |
||
9 | mjames | 2730 | #define AFIO_MAPR_TIM3_REMAP_FULLREMAP_Msk (0x3UL << AFIO_MAPR_TIM3_REMAP_FULLREMAP_Pos) /*!< 0x00000C00 */ |
2 | mjames | 2731 | #define AFIO_MAPR_TIM3_REMAP_FULLREMAP AFIO_MAPR_TIM3_REMAP_FULLREMAP_Msk /*!< Full remap (CH1/PC6, CH2/PC7, CH3/PC8, CH4/PC9) */ |
2732 | |||
2733 | #define AFIO_MAPR_TIM4_REMAP_Pos (12U) |
||
9 | mjames | 2734 | #define AFIO_MAPR_TIM4_REMAP_Msk (0x1UL << AFIO_MAPR_TIM4_REMAP_Pos) /*!< 0x00001000 */ |
2 | mjames | 2735 | #define AFIO_MAPR_TIM4_REMAP AFIO_MAPR_TIM4_REMAP_Msk /*!< TIM4_REMAP bit (TIM4 remapping) */ |
2736 | |||
2737 | #define AFIO_MAPR_CAN_REMAP_Pos (13U) |
||
9 | mjames | 2738 | #define AFIO_MAPR_CAN_REMAP_Msk (0x3UL << AFIO_MAPR_CAN_REMAP_Pos) /*!< 0x00006000 */ |
2 | mjames | 2739 | #define AFIO_MAPR_CAN_REMAP AFIO_MAPR_CAN_REMAP_Msk /*!< CAN_REMAP[1:0] bits (CAN Alternate function remapping) */ |
9 | mjames | 2740 | #define AFIO_MAPR_CAN_REMAP_0 (0x1UL << AFIO_MAPR_CAN_REMAP_Pos) /*!< 0x00002000 */ |
2741 | #define AFIO_MAPR_CAN_REMAP_1 (0x2UL << AFIO_MAPR_CAN_REMAP_Pos) /*!< 0x00004000 */ |
||
2 | mjames | 2742 | |
2743 | /*!< CAN_REMAP configuration */ |
||
2744 | #define AFIO_MAPR_CAN_REMAP_REMAP1 0x00000000U /*!< CANRX mapped to PA11, CANTX mapped to PA12 */ |
||
2745 | #define AFIO_MAPR_CAN_REMAP_REMAP2_Pos (14U) |
||
9 | mjames | 2746 | #define AFIO_MAPR_CAN_REMAP_REMAP2_Msk (0x1UL << AFIO_MAPR_CAN_REMAP_REMAP2_Pos) /*!< 0x00004000 */ |
2 | mjames | 2747 | #define AFIO_MAPR_CAN_REMAP_REMAP2 AFIO_MAPR_CAN_REMAP_REMAP2_Msk /*!< CANRX mapped to PB8, CANTX mapped to PB9 */ |
2748 | #define AFIO_MAPR_CAN_REMAP_REMAP3_Pos (13U) |
||
9 | mjames | 2749 | #define AFIO_MAPR_CAN_REMAP_REMAP3_Msk (0x3UL << AFIO_MAPR_CAN_REMAP_REMAP3_Pos) /*!< 0x00006000 */ |
2 | mjames | 2750 | #define AFIO_MAPR_CAN_REMAP_REMAP3 AFIO_MAPR_CAN_REMAP_REMAP3_Msk /*!< CANRX mapped to PD0, CANTX mapped to PD1 */ |
2751 | |||
2752 | #define AFIO_MAPR_PD01_REMAP_Pos (15U) |
||
9 | mjames | 2753 | #define AFIO_MAPR_PD01_REMAP_Msk (0x1UL << AFIO_MAPR_PD01_REMAP_Pos) /*!< 0x00008000 */ |
2 | mjames | 2754 | #define AFIO_MAPR_PD01_REMAP AFIO_MAPR_PD01_REMAP_Msk /*!< Port D0/Port D1 mapping on OSC_IN/OSC_OUT */ |
2755 | #define AFIO_MAPR_TIM5CH4_IREMAP_Pos (16U) |
||
9 | mjames | 2756 | #define AFIO_MAPR_TIM5CH4_IREMAP_Msk (0x1UL << AFIO_MAPR_TIM5CH4_IREMAP_Pos) /*!< 0x00010000 */ |
2 | mjames | 2757 | #define AFIO_MAPR_TIM5CH4_IREMAP AFIO_MAPR_TIM5CH4_IREMAP_Msk /*!< TIM5 Channel4 Internal Remap */ |
2758 | |||
2759 | /*!< SWJ_CFG configuration */ |
||
2760 | #define AFIO_MAPR_SWJ_CFG_Pos (24U) |
||
9 | mjames | 2761 | #define AFIO_MAPR_SWJ_CFG_Msk (0x7UL << AFIO_MAPR_SWJ_CFG_Pos) /*!< 0x07000000 */ |
2 | mjames | 2762 | #define AFIO_MAPR_SWJ_CFG AFIO_MAPR_SWJ_CFG_Msk /*!< SWJ_CFG[2:0] bits (Serial Wire JTAG configuration) */ |
9 | mjames | 2763 | #define AFIO_MAPR_SWJ_CFG_0 (0x1UL << AFIO_MAPR_SWJ_CFG_Pos) /*!< 0x01000000 */ |
2764 | #define AFIO_MAPR_SWJ_CFG_1 (0x2UL << AFIO_MAPR_SWJ_CFG_Pos) /*!< 0x02000000 */ |
||
2765 | #define AFIO_MAPR_SWJ_CFG_2 (0x4UL << AFIO_MAPR_SWJ_CFG_Pos) /*!< 0x04000000 */ |
||
2 | mjames | 2766 | |
2767 | #define AFIO_MAPR_SWJ_CFG_RESET 0x00000000U /*!< Full SWJ (JTAG-DP + SW-DP) : Reset State */ |
||
2768 | #define AFIO_MAPR_SWJ_CFG_NOJNTRST_Pos (24U) |
||
9 | mjames | 2769 | #define AFIO_MAPR_SWJ_CFG_NOJNTRST_Msk (0x1UL << AFIO_MAPR_SWJ_CFG_NOJNTRST_Pos) /*!< 0x01000000 */ |
2 | mjames | 2770 | #define AFIO_MAPR_SWJ_CFG_NOJNTRST AFIO_MAPR_SWJ_CFG_NOJNTRST_Msk /*!< Full SWJ (JTAG-DP + SW-DP) but without JNTRST */ |
2771 | #define AFIO_MAPR_SWJ_CFG_JTAGDISABLE_Pos (25U) |
||
9 | mjames | 2772 | #define AFIO_MAPR_SWJ_CFG_JTAGDISABLE_Msk (0x1UL << AFIO_MAPR_SWJ_CFG_JTAGDISABLE_Pos) /*!< 0x02000000 */ |
2 | mjames | 2773 | #define AFIO_MAPR_SWJ_CFG_JTAGDISABLE AFIO_MAPR_SWJ_CFG_JTAGDISABLE_Msk /*!< JTAG-DP Disabled and SW-DP Enabled */ |
2774 | #define AFIO_MAPR_SWJ_CFG_DISABLE_Pos (26U) |
||
9 | mjames | 2775 | #define AFIO_MAPR_SWJ_CFG_DISABLE_Msk (0x1UL << AFIO_MAPR_SWJ_CFG_DISABLE_Pos) /*!< 0x04000000 */ |
2 | mjames | 2776 | #define AFIO_MAPR_SWJ_CFG_DISABLE AFIO_MAPR_SWJ_CFG_DISABLE_Msk /*!< JTAG-DP Disabled and SW-DP Disabled */ |
2777 | |||
2778 | /*!< ETH_REMAP configuration */ |
||
2779 | #define AFIO_MAPR_ETH_REMAP_Pos (21U) |
||
9 | mjames | 2780 | #define AFIO_MAPR_ETH_REMAP_Msk (0x1UL << AFIO_MAPR_ETH_REMAP_Pos) /*!< 0x00200000 */ |
2 | mjames | 2781 | #define AFIO_MAPR_ETH_REMAP AFIO_MAPR_ETH_REMAP_Msk /*!< SPI3_REMAP bit (Ethernet MAC I/O remapping) */ |
2782 | |||
2783 | /*!< CAN2_REMAP configuration */ |
||
2784 | #define AFIO_MAPR_CAN2_REMAP_Pos (22U) |
||
9 | mjames | 2785 | #define AFIO_MAPR_CAN2_REMAP_Msk (0x1UL << AFIO_MAPR_CAN2_REMAP_Pos) /*!< 0x00400000 */ |
2 | mjames | 2786 | #define AFIO_MAPR_CAN2_REMAP AFIO_MAPR_CAN2_REMAP_Msk /*!< CAN2_REMAP bit (CAN2 I/O remapping) */ |
2787 | |||
2788 | /*!< MII_RMII_SEL configuration */ |
||
2789 | #define AFIO_MAPR_MII_RMII_SEL_Pos (23U) |
||
9 | mjames | 2790 | #define AFIO_MAPR_MII_RMII_SEL_Msk (0x1UL << AFIO_MAPR_MII_RMII_SEL_Pos) /*!< 0x00800000 */ |
2 | mjames | 2791 | #define AFIO_MAPR_MII_RMII_SEL AFIO_MAPR_MII_RMII_SEL_Msk /*!< MII_RMII_SEL bit (Ethernet MII or RMII selection) */ |
2792 | |||
2793 | /*!< SPI3_REMAP configuration */ |
||
2794 | #define AFIO_MAPR_SPI3_REMAP_Pos (28U) |
||
9 | mjames | 2795 | #define AFIO_MAPR_SPI3_REMAP_Msk (0x1UL << AFIO_MAPR_SPI3_REMAP_Pos) /*!< 0x10000000 */ |
2 | mjames | 2796 | #define AFIO_MAPR_SPI3_REMAP AFIO_MAPR_SPI3_REMAP_Msk /*!< SPI3_REMAP bit (SPI3 remapping) */ |
2797 | |||
2798 | /*!< TIM2ITR1_IREMAP configuration */ |
||
2799 | #define AFIO_MAPR_TIM2ITR1_IREMAP_Pos (29U) |
||
9 | mjames | 2800 | #define AFIO_MAPR_TIM2ITR1_IREMAP_Msk (0x1UL << AFIO_MAPR_TIM2ITR1_IREMAP_Pos) /*!< 0x20000000 */ |
2 | mjames | 2801 | #define AFIO_MAPR_TIM2ITR1_IREMAP AFIO_MAPR_TIM2ITR1_IREMAP_Msk /*!< TIM2ITR1_IREMAP bit (TIM2 internal trigger 1 remapping) */ |
2802 | |||
2803 | /*!< PTP_PPS_REMAP configuration */ |
||
2804 | #define AFIO_MAPR_PTP_PPS_REMAP_Pos (30U) |
||
9 | mjames | 2805 | #define AFIO_MAPR_PTP_PPS_REMAP_Msk (0x1UL << AFIO_MAPR_PTP_PPS_REMAP_Pos) /*!< 0x40000000 */ |
2 | mjames | 2806 | #define AFIO_MAPR_PTP_PPS_REMAP AFIO_MAPR_PTP_PPS_REMAP_Msk /*!< PTP_PPS_REMAP bit (Ethernet PTP PPS remapping) */ |
2807 | |||
2808 | /***************** Bit definition for AFIO_EXTICR1 register *****************/ |
||
2809 | #define AFIO_EXTICR1_EXTI0_Pos (0U) |
||
9 | mjames | 2810 | #define AFIO_EXTICR1_EXTI0_Msk (0xFUL << AFIO_EXTICR1_EXTI0_Pos) /*!< 0x0000000F */ |
2 | mjames | 2811 | #define AFIO_EXTICR1_EXTI0 AFIO_EXTICR1_EXTI0_Msk /*!< EXTI 0 configuration */ |
2812 | #define AFIO_EXTICR1_EXTI1_Pos (4U) |
||
9 | mjames | 2813 | #define AFIO_EXTICR1_EXTI1_Msk (0xFUL << AFIO_EXTICR1_EXTI1_Pos) /*!< 0x000000F0 */ |
2 | mjames | 2814 | #define AFIO_EXTICR1_EXTI1 AFIO_EXTICR1_EXTI1_Msk /*!< EXTI 1 configuration */ |
2815 | #define AFIO_EXTICR1_EXTI2_Pos (8U) |
||
9 | mjames | 2816 | #define AFIO_EXTICR1_EXTI2_Msk (0xFUL << AFIO_EXTICR1_EXTI2_Pos) /*!< 0x00000F00 */ |
2 | mjames | 2817 | #define AFIO_EXTICR1_EXTI2 AFIO_EXTICR1_EXTI2_Msk /*!< EXTI 2 configuration */ |
2818 | #define AFIO_EXTICR1_EXTI3_Pos (12U) |
||
9 | mjames | 2819 | #define AFIO_EXTICR1_EXTI3_Msk (0xFUL << AFIO_EXTICR1_EXTI3_Pos) /*!< 0x0000F000 */ |
2 | mjames | 2820 | #define AFIO_EXTICR1_EXTI3 AFIO_EXTICR1_EXTI3_Msk /*!< EXTI 3 configuration */ |
2821 | |||
2822 | /*!< EXTI0 configuration */ |
||
2823 | #define AFIO_EXTICR1_EXTI0_PA 0x00000000U /*!< PA[0] pin */ |
||
2824 | #define AFIO_EXTICR1_EXTI0_PB_Pos (0U) |
||
9 | mjames | 2825 | #define AFIO_EXTICR1_EXTI0_PB_Msk (0x1UL << AFIO_EXTICR1_EXTI0_PB_Pos) /*!< 0x00000001 */ |
2 | mjames | 2826 | #define AFIO_EXTICR1_EXTI0_PB AFIO_EXTICR1_EXTI0_PB_Msk /*!< PB[0] pin */ |
2827 | #define AFIO_EXTICR1_EXTI0_PC_Pos (1U) |
||
9 | mjames | 2828 | #define AFIO_EXTICR1_EXTI0_PC_Msk (0x1UL << AFIO_EXTICR1_EXTI0_PC_Pos) /*!< 0x00000002 */ |
2 | mjames | 2829 | #define AFIO_EXTICR1_EXTI0_PC AFIO_EXTICR1_EXTI0_PC_Msk /*!< PC[0] pin */ |
2830 | #define AFIO_EXTICR1_EXTI0_PD_Pos (0U) |
||
9 | mjames | 2831 | #define AFIO_EXTICR1_EXTI0_PD_Msk (0x3UL << AFIO_EXTICR1_EXTI0_PD_Pos) /*!< 0x00000003 */ |
2 | mjames | 2832 | #define AFIO_EXTICR1_EXTI0_PD AFIO_EXTICR1_EXTI0_PD_Msk /*!< PD[0] pin */ |
2833 | #define AFIO_EXTICR1_EXTI0_PE_Pos (2U) |
||
9 | mjames | 2834 | #define AFIO_EXTICR1_EXTI0_PE_Msk (0x1UL << AFIO_EXTICR1_EXTI0_PE_Pos) /*!< 0x00000004 */ |
2 | mjames | 2835 | #define AFIO_EXTICR1_EXTI0_PE AFIO_EXTICR1_EXTI0_PE_Msk /*!< PE[0] pin */ |
2836 | #define AFIO_EXTICR1_EXTI0_PF_Pos (0U) |
||
9 | mjames | 2837 | #define AFIO_EXTICR1_EXTI0_PF_Msk (0x5UL << AFIO_EXTICR1_EXTI0_PF_Pos) /*!< 0x00000005 */ |
2 | mjames | 2838 | #define AFIO_EXTICR1_EXTI0_PF AFIO_EXTICR1_EXTI0_PF_Msk /*!< PF[0] pin */ |
2839 | #define AFIO_EXTICR1_EXTI0_PG_Pos (1U) |
||
9 | mjames | 2840 | #define AFIO_EXTICR1_EXTI0_PG_Msk (0x3UL << AFIO_EXTICR1_EXTI0_PG_Pos) /*!< 0x00000006 */ |
2 | mjames | 2841 | #define AFIO_EXTICR1_EXTI0_PG AFIO_EXTICR1_EXTI0_PG_Msk /*!< PG[0] pin */ |
2842 | |||
2843 | /*!< EXTI1 configuration */ |
||
2844 | #define AFIO_EXTICR1_EXTI1_PA 0x00000000U /*!< PA[1] pin */ |
||
2845 | #define AFIO_EXTICR1_EXTI1_PB_Pos (4U) |
||
9 | mjames | 2846 | #define AFIO_EXTICR1_EXTI1_PB_Msk (0x1UL << AFIO_EXTICR1_EXTI1_PB_Pos) /*!< 0x00000010 */ |
2 | mjames | 2847 | #define AFIO_EXTICR1_EXTI1_PB AFIO_EXTICR1_EXTI1_PB_Msk /*!< PB[1] pin */ |
2848 | #define AFIO_EXTICR1_EXTI1_PC_Pos (5U) |
||
9 | mjames | 2849 | #define AFIO_EXTICR1_EXTI1_PC_Msk (0x1UL << AFIO_EXTICR1_EXTI1_PC_Pos) /*!< 0x00000020 */ |
2 | mjames | 2850 | #define AFIO_EXTICR1_EXTI1_PC AFIO_EXTICR1_EXTI1_PC_Msk /*!< PC[1] pin */ |
2851 | #define AFIO_EXTICR1_EXTI1_PD_Pos (4U) |
||
9 | mjames | 2852 | #define AFIO_EXTICR1_EXTI1_PD_Msk (0x3UL << AFIO_EXTICR1_EXTI1_PD_Pos) /*!< 0x00000030 */ |
2 | mjames | 2853 | #define AFIO_EXTICR1_EXTI1_PD AFIO_EXTICR1_EXTI1_PD_Msk /*!< PD[1] pin */ |
2854 | #define AFIO_EXTICR1_EXTI1_PE_Pos (6U) |
||
9 | mjames | 2855 | #define AFIO_EXTICR1_EXTI1_PE_Msk (0x1UL << AFIO_EXTICR1_EXTI1_PE_Pos) /*!< 0x00000040 */ |
2 | mjames | 2856 | #define AFIO_EXTICR1_EXTI1_PE AFIO_EXTICR1_EXTI1_PE_Msk /*!< PE[1] pin */ |
2857 | #define AFIO_EXTICR1_EXTI1_PF_Pos (4U) |
||
9 | mjames | 2858 | #define AFIO_EXTICR1_EXTI1_PF_Msk (0x5UL << AFIO_EXTICR1_EXTI1_PF_Pos) /*!< 0x00000050 */ |
2 | mjames | 2859 | #define AFIO_EXTICR1_EXTI1_PF AFIO_EXTICR1_EXTI1_PF_Msk /*!< PF[1] pin */ |
2860 | #define AFIO_EXTICR1_EXTI1_PG_Pos (5U) |
||
9 | mjames | 2861 | #define AFIO_EXTICR1_EXTI1_PG_Msk (0x3UL << AFIO_EXTICR1_EXTI1_PG_Pos) /*!< 0x00000060 */ |
2 | mjames | 2862 | #define AFIO_EXTICR1_EXTI1_PG AFIO_EXTICR1_EXTI1_PG_Msk /*!< PG[1] pin */ |
2863 | |||
2864 | /*!< EXTI2 configuration */ |
||
2865 | #define AFIO_EXTICR1_EXTI2_PA 0x00000000U /*!< PA[2] pin */ |
||
2866 | #define AFIO_EXTICR1_EXTI2_PB_Pos (8U) |
||
9 | mjames | 2867 | #define AFIO_EXTICR1_EXTI2_PB_Msk (0x1UL << AFIO_EXTICR1_EXTI2_PB_Pos) /*!< 0x00000100 */ |
2 | mjames | 2868 | #define AFIO_EXTICR1_EXTI2_PB AFIO_EXTICR1_EXTI2_PB_Msk /*!< PB[2] pin */ |
2869 | #define AFIO_EXTICR1_EXTI2_PC_Pos (9U) |
||
9 | mjames | 2870 | #define AFIO_EXTICR1_EXTI2_PC_Msk (0x1UL << AFIO_EXTICR1_EXTI2_PC_Pos) /*!< 0x00000200 */ |
2 | mjames | 2871 | #define AFIO_EXTICR1_EXTI2_PC AFIO_EXTICR1_EXTI2_PC_Msk /*!< PC[2] pin */ |
2872 | #define AFIO_EXTICR1_EXTI2_PD_Pos (8U) |
||
9 | mjames | 2873 | #define AFIO_EXTICR1_EXTI2_PD_Msk (0x3UL << AFIO_EXTICR1_EXTI2_PD_Pos) /*!< 0x00000300 */ |
2 | mjames | 2874 | #define AFIO_EXTICR1_EXTI2_PD AFIO_EXTICR1_EXTI2_PD_Msk /*!< PD[2] pin */ |
2875 | #define AFIO_EXTICR1_EXTI2_PE_Pos (10U) |
||
9 | mjames | 2876 | #define AFIO_EXTICR1_EXTI2_PE_Msk (0x1UL << AFIO_EXTICR1_EXTI2_PE_Pos) /*!< 0x00000400 */ |
2 | mjames | 2877 | #define AFIO_EXTICR1_EXTI2_PE AFIO_EXTICR1_EXTI2_PE_Msk /*!< PE[2] pin */ |
2878 | #define AFIO_EXTICR1_EXTI2_PF_Pos (8U) |
||
9 | mjames | 2879 | #define AFIO_EXTICR1_EXTI2_PF_Msk (0x5UL << AFIO_EXTICR1_EXTI2_PF_Pos) /*!< 0x00000500 */ |
2 | mjames | 2880 | #define AFIO_EXTICR1_EXTI2_PF AFIO_EXTICR1_EXTI2_PF_Msk /*!< PF[2] pin */ |
2881 | #define AFIO_EXTICR1_EXTI2_PG_Pos (9U) |
||
9 | mjames | 2882 | #define AFIO_EXTICR1_EXTI2_PG_Msk (0x3UL << AFIO_EXTICR1_EXTI2_PG_Pos) /*!< 0x00000600 */ |
2 | mjames | 2883 | #define AFIO_EXTICR1_EXTI2_PG AFIO_EXTICR1_EXTI2_PG_Msk /*!< PG[2] pin */ |
2884 | |||
2885 | /*!< EXTI3 configuration */ |
||
2886 | #define AFIO_EXTICR1_EXTI3_PA 0x00000000U /*!< PA[3] pin */ |
||
2887 | #define AFIO_EXTICR1_EXTI3_PB_Pos (12U) |
||
9 | mjames | 2888 | #define AFIO_EXTICR1_EXTI3_PB_Msk (0x1UL << AFIO_EXTICR1_EXTI3_PB_Pos) /*!< 0x00001000 */ |
2 | mjames | 2889 | #define AFIO_EXTICR1_EXTI3_PB AFIO_EXTICR1_EXTI3_PB_Msk /*!< PB[3] pin */ |
2890 | #define AFIO_EXTICR1_EXTI3_PC_Pos (13U) |
||
9 | mjames | 2891 | #define AFIO_EXTICR1_EXTI3_PC_Msk (0x1UL << AFIO_EXTICR1_EXTI3_PC_Pos) /*!< 0x00002000 */ |
2 | mjames | 2892 | #define AFIO_EXTICR1_EXTI3_PC AFIO_EXTICR1_EXTI3_PC_Msk /*!< PC[3] pin */ |
2893 | #define AFIO_EXTICR1_EXTI3_PD_Pos (12U) |
||
9 | mjames | 2894 | #define AFIO_EXTICR1_EXTI3_PD_Msk (0x3UL << AFIO_EXTICR1_EXTI3_PD_Pos) /*!< 0x00003000 */ |
2 | mjames | 2895 | #define AFIO_EXTICR1_EXTI3_PD AFIO_EXTICR1_EXTI3_PD_Msk /*!< PD[3] pin */ |
2896 | #define AFIO_EXTICR1_EXTI3_PE_Pos (14U) |
||
9 | mjames | 2897 | #define AFIO_EXTICR1_EXTI3_PE_Msk (0x1UL << AFIO_EXTICR1_EXTI3_PE_Pos) /*!< 0x00004000 */ |
2 | mjames | 2898 | #define AFIO_EXTICR1_EXTI3_PE AFIO_EXTICR1_EXTI3_PE_Msk /*!< PE[3] pin */ |
2899 | #define AFIO_EXTICR1_EXTI3_PF_Pos (12U) |
||
9 | mjames | 2900 | #define AFIO_EXTICR1_EXTI3_PF_Msk (0x5UL << AFIO_EXTICR1_EXTI3_PF_Pos) /*!< 0x00005000 */ |
2 | mjames | 2901 | #define AFIO_EXTICR1_EXTI3_PF AFIO_EXTICR1_EXTI3_PF_Msk /*!< PF[3] pin */ |
2902 | #define AFIO_EXTICR1_EXTI3_PG_Pos (13U) |
||
9 | mjames | 2903 | #define AFIO_EXTICR1_EXTI3_PG_Msk (0x3UL << AFIO_EXTICR1_EXTI3_PG_Pos) /*!< 0x00006000 */ |
2 | mjames | 2904 | #define AFIO_EXTICR1_EXTI3_PG AFIO_EXTICR1_EXTI3_PG_Msk /*!< PG[3] pin */ |
2905 | |||
2906 | /***************** Bit definition for AFIO_EXTICR2 register *****************/ |
||
2907 | #define AFIO_EXTICR2_EXTI4_Pos (0U) |
||
9 | mjames | 2908 | #define AFIO_EXTICR2_EXTI4_Msk (0xFUL << AFIO_EXTICR2_EXTI4_Pos) /*!< 0x0000000F */ |
2 | mjames | 2909 | #define AFIO_EXTICR2_EXTI4 AFIO_EXTICR2_EXTI4_Msk /*!< EXTI 4 configuration */ |
2910 | #define AFIO_EXTICR2_EXTI5_Pos (4U) |
||
9 | mjames | 2911 | #define AFIO_EXTICR2_EXTI5_Msk (0xFUL << AFIO_EXTICR2_EXTI5_Pos) /*!< 0x000000F0 */ |
2 | mjames | 2912 | #define AFIO_EXTICR2_EXTI5 AFIO_EXTICR2_EXTI5_Msk /*!< EXTI 5 configuration */ |
2913 | #define AFIO_EXTICR2_EXTI6_Pos (8U) |
||
9 | mjames | 2914 | #define AFIO_EXTICR2_EXTI6_Msk (0xFUL << AFIO_EXTICR2_EXTI6_Pos) /*!< 0x00000F00 */ |
2 | mjames | 2915 | #define AFIO_EXTICR2_EXTI6 AFIO_EXTICR2_EXTI6_Msk /*!< EXTI 6 configuration */ |
2916 | #define AFIO_EXTICR2_EXTI7_Pos (12U) |
||
9 | mjames | 2917 | #define AFIO_EXTICR2_EXTI7_Msk (0xFUL << AFIO_EXTICR2_EXTI7_Pos) /*!< 0x0000F000 */ |
2 | mjames | 2918 | #define AFIO_EXTICR2_EXTI7 AFIO_EXTICR2_EXTI7_Msk /*!< EXTI 7 configuration */ |
2919 | |||
2920 | /*!< EXTI4 configuration */ |
||
2921 | #define AFIO_EXTICR2_EXTI4_PA 0x00000000U /*!< PA[4] pin */ |
||
2922 | #define AFIO_EXTICR2_EXTI4_PB_Pos (0U) |
||
9 | mjames | 2923 | #define AFIO_EXTICR2_EXTI4_PB_Msk (0x1UL << AFIO_EXTICR2_EXTI4_PB_Pos) /*!< 0x00000001 */ |
2 | mjames | 2924 | #define AFIO_EXTICR2_EXTI4_PB AFIO_EXTICR2_EXTI4_PB_Msk /*!< PB[4] pin */ |
2925 | #define AFIO_EXTICR2_EXTI4_PC_Pos (1U) |
||
9 | mjames | 2926 | #define AFIO_EXTICR2_EXTI4_PC_Msk (0x1UL << AFIO_EXTICR2_EXTI4_PC_Pos) /*!< 0x00000002 */ |
2 | mjames | 2927 | #define AFIO_EXTICR2_EXTI4_PC AFIO_EXTICR2_EXTI4_PC_Msk /*!< PC[4] pin */ |
2928 | #define AFIO_EXTICR2_EXTI4_PD_Pos (0U) |
||
9 | mjames | 2929 | #define AFIO_EXTICR2_EXTI4_PD_Msk (0x3UL << AFIO_EXTICR2_EXTI4_PD_Pos) /*!< 0x00000003 */ |
2 | mjames | 2930 | #define AFIO_EXTICR2_EXTI4_PD AFIO_EXTICR2_EXTI4_PD_Msk /*!< PD[4] pin */ |
2931 | #define AFIO_EXTICR2_EXTI4_PE_Pos (2U) |
||
9 | mjames | 2932 | #define AFIO_EXTICR2_EXTI4_PE_Msk (0x1UL << AFIO_EXTICR2_EXTI4_PE_Pos) /*!< 0x00000004 */ |
2 | mjames | 2933 | #define AFIO_EXTICR2_EXTI4_PE AFIO_EXTICR2_EXTI4_PE_Msk /*!< PE[4] pin */ |
2934 | #define AFIO_EXTICR2_EXTI4_PF_Pos (0U) |
||
9 | mjames | 2935 | #define AFIO_EXTICR2_EXTI4_PF_Msk (0x5UL << AFIO_EXTICR2_EXTI4_PF_Pos) /*!< 0x00000005 */ |
2 | mjames | 2936 | #define AFIO_EXTICR2_EXTI4_PF AFIO_EXTICR2_EXTI4_PF_Msk /*!< PF[4] pin */ |
2937 | #define AFIO_EXTICR2_EXTI4_PG_Pos (1U) |
||
9 | mjames | 2938 | #define AFIO_EXTICR2_EXTI4_PG_Msk (0x3UL << AFIO_EXTICR2_EXTI4_PG_Pos) /*!< 0x00000006 */ |
2 | mjames | 2939 | #define AFIO_EXTICR2_EXTI4_PG AFIO_EXTICR2_EXTI4_PG_Msk /*!< PG[4] pin */ |
2940 | |||
2941 | /* EXTI5 configuration */ |
||
2942 | #define AFIO_EXTICR2_EXTI5_PA 0x00000000U /*!< PA[5] pin */ |
||
2943 | #define AFIO_EXTICR2_EXTI5_PB_Pos (4U) |
||
9 | mjames | 2944 | #define AFIO_EXTICR2_EXTI5_PB_Msk (0x1UL << AFIO_EXTICR2_EXTI5_PB_Pos) /*!< 0x00000010 */ |
2 | mjames | 2945 | #define AFIO_EXTICR2_EXTI5_PB AFIO_EXTICR2_EXTI5_PB_Msk /*!< PB[5] pin */ |
2946 | #define AFIO_EXTICR2_EXTI5_PC_Pos (5U) |
||
9 | mjames | 2947 | #define AFIO_EXTICR2_EXTI5_PC_Msk (0x1UL << AFIO_EXTICR2_EXTI5_PC_Pos) /*!< 0x00000020 */ |
2 | mjames | 2948 | #define AFIO_EXTICR2_EXTI5_PC AFIO_EXTICR2_EXTI5_PC_Msk /*!< PC[5] pin */ |
2949 | #define AFIO_EXTICR2_EXTI5_PD_Pos (4U) |
||
9 | mjames | 2950 | #define AFIO_EXTICR2_EXTI5_PD_Msk (0x3UL << AFIO_EXTICR2_EXTI5_PD_Pos) /*!< 0x00000030 */ |
2 | mjames | 2951 | #define AFIO_EXTICR2_EXTI5_PD AFIO_EXTICR2_EXTI5_PD_Msk /*!< PD[5] pin */ |
2952 | #define AFIO_EXTICR2_EXTI5_PE_Pos (6U) |
||
9 | mjames | 2953 | #define AFIO_EXTICR2_EXTI5_PE_Msk (0x1UL << AFIO_EXTICR2_EXTI5_PE_Pos) /*!< 0x00000040 */ |
2 | mjames | 2954 | #define AFIO_EXTICR2_EXTI5_PE AFIO_EXTICR2_EXTI5_PE_Msk /*!< PE[5] pin */ |
2955 | #define AFIO_EXTICR2_EXTI5_PF_Pos (4U) |
||
9 | mjames | 2956 | #define AFIO_EXTICR2_EXTI5_PF_Msk (0x5UL << AFIO_EXTICR2_EXTI5_PF_Pos) /*!< 0x00000050 */ |
2 | mjames | 2957 | #define AFIO_EXTICR2_EXTI5_PF AFIO_EXTICR2_EXTI5_PF_Msk /*!< PF[5] pin */ |
2958 | #define AFIO_EXTICR2_EXTI5_PG_Pos (5U) |
||
9 | mjames | 2959 | #define AFIO_EXTICR2_EXTI5_PG_Msk (0x3UL << AFIO_EXTICR2_EXTI5_PG_Pos) /*!< 0x00000060 */ |
2 | mjames | 2960 | #define AFIO_EXTICR2_EXTI5_PG AFIO_EXTICR2_EXTI5_PG_Msk /*!< PG[5] pin */ |
2961 | |||
2962 | /*!< EXTI6 configuration */ |
||
2963 | #define AFIO_EXTICR2_EXTI6_PA 0x00000000U /*!< PA[6] pin */ |
||
2964 | #define AFIO_EXTICR2_EXTI6_PB_Pos (8U) |
||
9 | mjames | 2965 | #define AFIO_EXTICR2_EXTI6_PB_Msk (0x1UL << AFIO_EXTICR2_EXTI6_PB_Pos) /*!< 0x00000100 */ |
2 | mjames | 2966 | #define AFIO_EXTICR2_EXTI6_PB AFIO_EXTICR2_EXTI6_PB_Msk /*!< PB[6] pin */ |
2967 | #define AFIO_EXTICR2_EXTI6_PC_Pos (9U) |
||
9 | mjames | 2968 | #define AFIO_EXTICR2_EXTI6_PC_Msk (0x1UL << AFIO_EXTICR2_EXTI6_PC_Pos) /*!< 0x00000200 */ |
2 | mjames | 2969 | #define AFIO_EXTICR2_EXTI6_PC AFIO_EXTICR2_EXTI6_PC_Msk /*!< PC[6] pin */ |
2970 | #define AFIO_EXTICR2_EXTI6_PD_Pos (8U) |
||
9 | mjames | 2971 | #define AFIO_EXTICR2_EXTI6_PD_Msk (0x3UL << AFIO_EXTICR2_EXTI6_PD_Pos) /*!< 0x00000300 */ |
2 | mjames | 2972 | #define AFIO_EXTICR2_EXTI6_PD AFIO_EXTICR2_EXTI6_PD_Msk /*!< PD[6] pin */ |
2973 | #define AFIO_EXTICR2_EXTI6_PE_Pos (10U) |
||
9 | mjames | 2974 | #define AFIO_EXTICR2_EXTI6_PE_Msk (0x1UL << AFIO_EXTICR2_EXTI6_PE_Pos) /*!< 0x00000400 */ |
2 | mjames | 2975 | #define AFIO_EXTICR2_EXTI6_PE AFIO_EXTICR2_EXTI6_PE_Msk /*!< PE[6] pin */ |
2976 | #define AFIO_EXTICR2_EXTI6_PF_Pos (8U) |
||
9 | mjames | 2977 | #define AFIO_EXTICR2_EXTI6_PF_Msk (0x5UL << AFIO_EXTICR2_EXTI6_PF_Pos) /*!< 0x00000500 */ |
2 | mjames | 2978 | #define AFIO_EXTICR2_EXTI6_PF AFIO_EXTICR2_EXTI6_PF_Msk /*!< PF[6] pin */ |
2979 | #define AFIO_EXTICR2_EXTI6_PG_Pos (9U) |
||
9 | mjames | 2980 | #define AFIO_EXTICR2_EXTI6_PG_Msk (0x3UL << AFIO_EXTICR2_EXTI6_PG_Pos) /*!< 0x00000600 */ |
2 | mjames | 2981 | #define AFIO_EXTICR2_EXTI6_PG AFIO_EXTICR2_EXTI6_PG_Msk /*!< PG[6] pin */ |
2982 | |||
2983 | /*!< EXTI7 configuration */ |
||
2984 | #define AFIO_EXTICR2_EXTI7_PA 0x00000000U /*!< PA[7] pin */ |
||
2985 | #define AFIO_EXTICR2_EXTI7_PB_Pos (12U) |
||
9 | mjames | 2986 | #define AFIO_EXTICR2_EXTI7_PB_Msk (0x1UL << AFIO_EXTICR2_EXTI7_PB_Pos) /*!< 0x00001000 */ |
2 | mjames | 2987 | #define AFIO_EXTICR2_EXTI7_PB AFIO_EXTICR2_EXTI7_PB_Msk /*!< PB[7] pin */ |
2988 | #define AFIO_EXTICR2_EXTI7_PC_Pos (13U) |
||
9 | mjames | 2989 | #define AFIO_EXTICR2_EXTI7_PC_Msk (0x1UL << AFIO_EXTICR2_EXTI7_PC_Pos) /*!< 0x00002000 */ |
2 | mjames | 2990 | #define AFIO_EXTICR2_EXTI7_PC AFIO_EXTICR2_EXTI7_PC_Msk /*!< PC[7] pin */ |
2991 | #define AFIO_EXTICR2_EXTI7_PD_Pos (12U) |
||
9 | mjames | 2992 | #define AFIO_EXTICR2_EXTI7_PD_Msk (0x3UL << AFIO_EXTICR2_EXTI7_PD_Pos) /*!< 0x00003000 */ |
2 | mjames | 2993 | #define AFIO_EXTICR2_EXTI7_PD AFIO_EXTICR2_EXTI7_PD_Msk /*!< PD[7] pin */ |
2994 | #define AFIO_EXTICR2_EXTI7_PE_Pos (14U) |
||
9 | mjames | 2995 | #define AFIO_EXTICR2_EXTI7_PE_Msk (0x1UL << AFIO_EXTICR2_EXTI7_PE_Pos) /*!< 0x00004000 */ |
2 | mjames | 2996 | #define AFIO_EXTICR2_EXTI7_PE AFIO_EXTICR2_EXTI7_PE_Msk /*!< PE[7] pin */ |
2997 | #define AFIO_EXTICR2_EXTI7_PF_Pos (12U) |
||
9 | mjames | 2998 | #define AFIO_EXTICR2_EXTI7_PF_Msk (0x5UL << AFIO_EXTICR2_EXTI7_PF_Pos) /*!< 0x00005000 */ |
2 | mjames | 2999 | #define AFIO_EXTICR2_EXTI7_PF AFIO_EXTICR2_EXTI7_PF_Msk /*!< PF[7] pin */ |
3000 | #define AFIO_EXTICR2_EXTI7_PG_Pos (13U) |
||
9 | mjames | 3001 | #define AFIO_EXTICR2_EXTI7_PG_Msk (0x3UL << AFIO_EXTICR2_EXTI7_PG_Pos) /*!< 0x00006000 */ |
2 | mjames | 3002 | #define AFIO_EXTICR2_EXTI7_PG AFIO_EXTICR2_EXTI7_PG_Msk /*!< PG[7] pin */ |
3003 | |||
3004 | /***************** Bit definition for AFIO_EXTICR3 register *****************/ |
||
3005 | #define AFIO_EXTICR3_EXTI8_Pos (0U) |
||
9 | mjames | 3006 | #define AFIO_EXTICR3_EXTI8_Msk (0xFUL << AFIO_EXTICR3_EXTI8_Pos) /*!< 0x0000000F */ |
2 | mjames | 3007 | #define AFIO_EXTICR3_EXTI8 AFIO_EXTICR3_EXTI8_Msk /*!< EXTI 8 configuration */ |
3008 | #define AFIO_EXTICR3_EXTI9_Pos (4U) |
||
9 | mjames | 3009 | #define AFIO_EXTICR3_EXTI9_Msk (0xFUL << AFIO_EXTICR3_EXTI9_Pos) /*!< 0x000000F0 */ |
2 | mjames | 3010 | #define AFIO_EXTICR3_EXTI9 AFIO_EXTICR3_EXTI9_Msk /*!< EXTI 9 configuration */ |
3011 | #define AFIO_EXTICR3_EXTI10_Pos (8U) |
||
9 | mjames | 3012 | #define AFIO_EXTICR3_EXTI10_Msk (0xFUL << AFIO_EXTICR3_EXTI10_Pos) /*!< 0x00000F00 */ |
2 | mjames | 3013 | #define AFIO_EXTICR3_EXTI10 AFIO_EXTICR3_EXTI10_Msk /*!< EXTI 10 configuration */ |
3014 | #define AFIO_EXTICR3_EXTI11_Pos (12U) |
||
9 | mjames | 3015 | #define AFIO_EXTICR3_EXTI11_Msk (0xFUL << AFIO_EXTICR3_EXTI11_Pos) /*!< 0x0000F000 */ |
2 | mjames | 3016 | #define AFIO_EXTICR3_EXTI11 AFIO_EXTICR3_EXTI11_Msk /*!< EXTI 11 configuration */ |
3017 | |||
3018 | /*!< EXTI8 configuration */ |
||
3019 | #define AFIO_EXTICR3_EXTI8_PA 0x00000000U /*!< PA[8] pin */ |
||
3020 | #define AFIO_EXTICR3_EXTI8_PB_Pos (0U) |
||
9 | mjames | 3021 | #define AFIO_EXTICR3_EXTI8_PB_Msk (0x1UL << AFIO_EXTICR3_EXTI8_PB_Pos) /*!< 0x00000001 */ |
2 | mjames | 3022 | #define AFIO_EXTICR3_EXTI8_PB AFIO_EXTICR3_EXTI8_PB_Msk /*!< PB[8] pin */ |
3023 | #define AFIO_EXTICR3_EXTI8_PC_Pos (1U) |
||
9 | mjames | 3024 | #define AFIO_EXTICR3_EXTI8_PC_Msk (0x1UL << AFIO_EXTICR3_EXTI8_PC_Pos) /*!< 0x00000002 */ |
2 | mjames | 3025 | #define AFIO_EXTICR3_EXTI8_PC AFIO_EXTICR3_EXTI8_PC_Msk /*!< PC[8] pin */ |
3026 | #define AFIO_EXTICR3_EXTI8_PD_Pos (0U) |
||
9 | mjames | 3027 | #define AFIO_EXTICR3_EXTI8_PD_Msk (0x3UL << AFIO_EXTICR3_EXTI8_PD_Pos) /*!< 0x00000003 */ |
2 | mjames | 3028 | #define AFIO_EXTICR3_EXTI8_PD AFIO_EXTICR3_EXTI8_PD_Msk /*!< PD[8] pin */ |
3029 | #define AFIO_EXTICR3_EXTI8_PE_Pos (2U) |
||
9 | mjames | 3030 | #define AFIO_EXTICR3_EXTI8_PE_Msk (0x1UL << AFIO_EXTICR3_EXTI8_PE_Pos) /*!< 0x00000004 */ |
2 | mjames | 3031 | #define AFIO_EXTICR3_EXTI8_PE AFIO_EXTICR3_EXTI8_PE_Msk /*!< PE[8] pin */ |
3032 | #define AFIO_EXTICR3_EXTI8_PF_Pos (0U) |
||
9 | mjames | 3033 | #define AFIO_EXTICR3_EXTI8_PF_Msk (0x5UL << AFIO_EXTICR3_EXTI8_PF_Pos) /*!< 0x00000005 */ |
2 | mjames | 3034 | #define AFIO_EXTICR3_EXTI8_PF AFIO_EXTICR3_EXTI8_PF_Msk /*!< PF[8] pin */ |
3035 | #define AFIO_EXTICR3_EXTI8_PG_Pos (1U) |
||
9 | mjames | 3036 | #define AFIO_EXTICR3_EXTI8_PG_Msk (0x3UL << AFIO_EXTICR3_EXTI8_PG_Pos) /*!< 0x00000006 */ |
2 | mjames | 3037 | #define AFIO_EXTICR3_EXTI8_PG AFIO_EXTICR3_EXTI8_PG_Msk /*!< PG[8] pin */ |
3038 | |||
3039 | /*!< EXTI9 configuration */ |
||
3040 | #define AFIO_EXTICR3_EXTI9_PA 0x00000000U /*!< PA[9] pin */ |
||
3041 | #define AFIO_EXTICR3_EXTI9_PB_Pos (4U) |
||
9 | mjames | 3042 | #define AFIO_EXTICR3_EXTI9_PB_Msk (0x1UL << AFIO_EXTICR3_EXTI9_PB_Pos) /*!< 0x00000010 */ |
2 | mjames | 3043 | #define AFIO_EXTICR3_EXTI9_PB AFIO_EXTICR3_EXTI9_PB_Msk /*!< PB[9] pin */ |
3044 | #define AFIO_EXTICR3_EXTI9_PC_Pos (5U) |
||
9 | mjames | 3045 | #define AFIO_EXTICR3_EXTI9_PC_Msk (0x1UL << AFIO_EXTICR3_EXTI9_PC_Pos) /*!< 0x00000020 */ |
2 | mjames | 3046 | #define AFIO_EXTICR3_EXTI9_PC AFIO_EXTICR3_EXTI9_PC_Msk /*!< PC[9] pin */ |
3047 | #define AFIO_EXTICR3_EXTI9_PD_Pos (4U) |
||
9 | mjames | 3048 | #define AFIO_EXTICR3_EXTI9_PD_Msk (0x3UL << AFIO_EXTICR3_EXTI9_PD_Pos) /*!< 0x00000030 */ |
2 | mjames | 3049 | #define AFIO_EXTICR3_EXTI9_PD AFIO_EXTICR3_EXTI9_PD_Msk /*!< PD[9] pin */ |
3050 | #define AFIO_EXTICR3_EXTI9_PE_Pos (6U) |
||
9 | mjames | 3051 | #define AFIO_EXTICR3_EXTI9_PE_Msk (0x1UL << AFIO_EXTICR3_EXTI9_PE_Pos) /*!< 0x00000040 */ |
2 | mjames | 3052 | #define AFIO_EXTICR3_EXTI9_PE AFIO_EXTICR3_EXTI9_PE_Msk /*!< PE[9] pin */ |
3053 | #define AFIO_EXTICR3_EXTI9_PF_Pos (4U) |
||
9 | mjames | 3054 | #define AFIO_EXTICR3_EXTI9_PF_Msk (0x5UL << AFIO_EXTICR3_EXTI9_PF_Pos) /*!< 0x00000050 */ |
2 | mjames | 3055 | #define AFIO_EXTICR3_EXTI9_PF AFIO_EXTICR3_EXTI9_PF_Msk /*!< PF[9] pin */ |
3056 | #define AFIO_EXTICR3_EXTI9_PG_Pos (5U) |
||
9 | mjames | 3057 | #define AFIO_EXTICR3_EXTI9_PG_Msk (0x3UL << AFIO_EXTICR3_EXTI9_PG_Pos) /*!< 0x00000060 */ |
2 | mjames | 3058 | #define AFIO_EXTICR3_EXTI9_PG AFIO_EXTICR3_EXTI9_PG_Msk /*!< PG[9] pin */ |
3059 | |||
3060 | /*!< EXTI10 configuration */ |
||
3061 | #define AFIO_EXTICR3_EXTI10_PA 0x00000000U /*!< PA[10] pin */ |
||
3062 | #define AFIO_EXTICR3_EXTI10_PB_Pos (8U) |
||
9 | mjames | 3063 | #define AFIO_EXTICR3_EXTI10_PB_Msk (0x1UL << AFIO_EXTICR3_EXTI10_PB_Pos) /*!< 0x00000100 */ |
2 | mjames | 3064 | #define AFIO_EXTICR3_EXTI10_PB AFIO_EXTICR3_EXTI10_PB_Msk /*!< PB[10] pin */ |
3065 | #define AFIO_EXTICR3_EXTI10_PC_Pos (9U) |
||
9 | mjames | 3066 | #define AFIO_EXTICR3_EXTI10_PC_Msk (0x1UL << AFIO_EXTICR3_EXTI10_PC_Pos) /*!< 0x00000200 */ |
2 | mjames | 3067 | #define AFIO_EXTICR3_EXTI10_PC AFIO_EXTICR3_EXTI10_PC_Msk /*!< PC[10] pin */ |
3068 | #define AFIO_EXTICR3_EXTI10_PD_Pos (8U) |
||
9 | mjames | 3069 | #define AFIO_EXTICR3_EXTI10_PD_Msk (0x3UL << AFIO_EXTICR3_EXTI10_PD_Pos) /*!< 0x00000300 */ |
2 | mjames | 3070 | #define AFIO_EXTICR3_EXTI10_PD AFIO_EXTICR3_EXTI10_PD_Msk /*!< PD[10] pin */ |
3071 | #define AFIO_EXTICR3_EXTI10_PE_Pos (10U) |
||
9 | mjames | 3072 | #define AFIO_EXTICR3_EXTI10_PE_Msk (0x1UL << AFIO_EXTICR3_EXTI10_PE_Pos) /*!< 0x00000400 */ |
2 | mjames | 3073 | #define AFIO_EXTICR3_EXTI10_PE AFIO_EXTICR3_EXTI10_PE_Msk /*!< PE[10] pin */ |
3074 | #define AFIO_EXTICR3_EXTI10_PF_Pos (8U) |
||
9 | mjames | 3075 | #define AFIO_EXTICR3_EXTI10_PF_Msk (0x5UL << AFIO_EXTICR3_EXTI10_PF_Pos) /*!< 0x00000500 */ |
2 | mjames | 3076 | #define AFIO_EXTICR3_EXTI10_PF AFIO_EXTICR3_EXTI10_PF_Msk /*!< PF[10] pin */ |
3077 | #define AFIO_EXTICR3_EXTI10_PG_Pos (9U) |
||
9 | mjames | 3078 | #define AFIO_EXTICR3_EXTI10_PG_Msk (0x3UL << AFIO_EXTICR3_EXTI10_PG_Pos) /*!< 0x00000600 */ |
2 | mjames | 3079 | #define AFIO_EXTICR3_EXTI10_PG AFIO_EXTICR3_EXTI10_PG_Msk /*!< PG[10] pin */ |
3080 | |||
3081 | /*!< EXTI11 configuration */ |
||
3082 | #define AFIO_EXTICR3_EXTI11_PA 0x00000000U /*!< PA[11] pin */ |
||
3083 | #define AFIO_EXTICR3_EXTI11_PB_Pos (12U) |
||
9 | mjames | 3084 | #define AFIO_EXTICR3_EXTI11_PB_Msk (0x1UL << AFIO_EXTICR3_EXTI11_PB_Pos) /*!< 0x00001000 */ |
2 | mjames | 3085 | #define AFIO_EXTICR3_EXTI11_PB AFIO_EXTICR3_EXTI11_PB_Msk /*!< PB[11] pin */ |
3086 | #define AFIO_EXTICR3_EXTI11_PC_Pos (13U) |
||
9 | mjames | 3087 | #define AFIO_EXTICR3_EXTI11_PC_Msk (0x1UL << AFIO_EXTICR3_EXTI11_PC_Pos) /*!< 0x00002000 */ |
2 | mjames | 3088 | #define AFIO_EXTICR3_EXTI11_PC AFIO_EXTICR3_EXTI11_PC_Msk /*!< PC[11] pin */ |
3089 | #define AFIO_EXTICR3_EXTI11_PD_Pos (12U) |
||
9 | mjames | 3090 | #define AFIO_EXTICR3_EXTI11_PD_Msk (0x3UL << AFIO_EXTICR3_EXTI11_PD_Pos) /*!< 0x00003000 */ |
2 | mjames | 3091 | #define AFIO_EXTICR3_EXTI11_PD AFIO_EXTICR3_EXTI11_PD_Msk /*!< PD[11] pin */ |
3092 | #define AFIO_EXTICR3_EXTI11_PE_Pos (14U) |
||
9 | mjames | 3093 | #define AFIO_EXTICR3_EXTI11_PE_Msk (0x1UL << AFIO_EXTICR3_EXTI11_PE_Pos) /*!< 0x00004000 */ |
2 | mjames | 3094 | #define AFIO_EXTICR3_EXTI11_PE AFIO_EXTICR3_EXTI11_PE_Msk /*!< PE[11] pin */ |
3095 | #define AFIO_EXTICR3_EXTI11_PF_Pos (12U) |
||
9 | mjames | 3096 | #define AFIO_EXTICR3_EXTI11_PF_Msk (0x5UL << AFIO_EXTICR3_EXTI11_PF_Pos) /*!< 0x00005000 */ |
2 | mjames | 3097 | #define AFIO_EXTICR3_EXTI11_PF AFIO_EXTICR3_EXTI11_PF_Msk /*!< PF[11] pin */ |
3098 | #define AFIO_EXTICR3_EXTI11_PG_Pos (13U) |
||
9 | mjames | 3099 | #define AFIO_EXTICR3_EXTI11_PG_Msk (0x3UL << AFIO_EXTICR3_EXTI11_PG_Pos) /*!< 0x00006000 */ |
2 | mjames | 3100 | #define AFIO_EXTICR3_EXTI11_PG AFIO_EXTICR3_EXTI11_PG_Msk /*!< PG[11] pin */ |
3101 | |||
3102 | /***************** Bit definition for AFIO_EXTICR4 register *****************/ |
||
3103 | #define AFIO_EXTICR4_EXTI12_Pos (0U) |
||
9 | mjames | 3104 | #define AFIO_EXTICR4_EXTI12_Msk (0xFUL << AFIO_EXTICR4_EXTI12_Pos) /*!< 0x0000000F */ |
2 | mjames | 3105 | #define AFIO_EXTICR4_EXTI12 AFIO_EXTICR4_EXTI12_Msk /*!< EXTI 12 configuration */ |
3106 | #define AFIO_EXTICR4_EXTI13_Pos (4U) |
||
9 | mjames | 3107 | #define AFIO_EXTICR4_EXTI13_Msk (0xFUL << AFIO_EXTICR4_EXTI13_Pos) /*!< 0x000000F0 */ |
2 | mjames | 3108 | #define AFIO_EXTICR4_EXTI13 AFIO_EXTICR4_EXTI13_Msk /*!< EXTI 13 configuration */ |
3109 | #define AFIO_EXTICR4_EXTI14_Pos (8U) |
||
9 | mjames | 3110 | #define AFIO_EXTICR4_EXTI14_Msk (0xFUL << AFIO_EXTICR4_EXTI14_Pos) /*!< 0x00000F00 */ |
2 | mjames | 3111 | #define AFIO_EXTICR4_EXTI14 AFIO_EXTICR4_EXTI14_Msk /*!< EXTI 14 configuration */ |
3112 | #define AFIO_EXTICR4_EXTI15_Pos (12U) |
||
9 | mjames | 3113 | #define AFIO_EXTICR4_EXTI15_Msk (0xFUL << AFIO_EXTICR4_EXTI15_Pos) /*!< 0x0000F000 */ |
2 | mjames | 3114 | #define AFIO_EXTICR4_EXTI15 AFIO_EXTICR4_EXTI15_Msk /*!< EXTI 15 configuration */ |
3115 | |||
3116 | /* EXTI12 configuration */ |
||
3117 | #define AFIO_EXTICR4_EXTI12_PA 0x00000000U /*!< PA[12] pin */ |
||
3118 | #define AFIO_EXTICR4_EXTI12_PB_Pos (0U) |
||
9 | mjames | 3119 | #define AFIO_EXTICR4_EXTI12_PB_Msk (0x1UL << AFIO_EXTICR4_EXTI12_PB_Pos) /*!< 0x00000001 */ |
2 | mjames | 3120 | #define AFIO_EXTICR4_EXTI12_PB AFIO_EXTICR4_EXTI12_PB_Msk /*!< PB[12] pin */ |
3121 | #define AFIO_EXTICR4_EXTI12_PC_Pos (1U) |
||
9 | mjames | 3122 | #define AFIO_EXTICR4_EXTI12_PC_Msk (0x1UL << AFIO_EXTICR4_EXTI12_PC_Pos) /*!< 0x00000002 */ |
2 | mjames | 3123 | #define AFIO_EXTICR4_EXTI12_PC AFIO_EXTICR4_EXTI12_PC_Msk /*!< PC[12] pin */ |
3124 | #define AFIO_EXTICR4_EXTI12_PD_Pos (0U) |
||
9 | mjames | 3125 | #define AFIO_EXTICR4_EXTI12_PD_Msk (0x3UL << AFIO_EXTICR4_EXTI12_PD_Pos) /*!< 0x00000003 */ |
2 | mjames | 3126 | #define AFIO_EXTICR4_EXTI12_PD AFIO_EXTICR4_EXTI12_PD_Msk /*!< PD[12] pin */ |
3127 | #define AFIO_EXTICR4_EXTI12_PE_Pos (2U) |
||
9 | mjames | 3128 | #define AFIO_EXTICR4_EXTI12_PE_Msk (0x1UL << AFIO_EXTICR4_EXTI12_PE_Pos) /*!< 0x00000004 */ |
2 | mjames | 3129 | #define AFIO_EXTICR4_EXTI12_PE AFIO_EXTICR4_EXTI12_PE_Msk /*!< PE[12] pin */ |
3130 | #define AFIO_EXTICR4_EXTI12_PF_Pos (0U) |
||
9 | mjames | 3131 | #define AFIO_EXTICR4_EXTI12_PF_Msk (0x5UL << AFIO_EXTICR4_EXTI12_PF_Pos) /*!< 0x00000005 */ |
2 | mjames | 3132 | #define AFIO_EXTICR4_EXTI12_PF AFIO_EXTICR4_EXTI12_PF_Msk /*!< PF[12] pin */ |
3133 | #define AFIO_EXTICR4_EXTI12_PG_Pos (1U) |
||
9 | mjames | 3134 | #define AFIO_EXTICR4_EXTI12_PG_Msk (0x3UL << AFIO_EXTICR4_EXTI12_PG_Pos) /*!< 0x00000006 */ |
2 | mjames | 3135 | #define AFIO_EXTICR4_EXTI12_PG AFIO_EXTICR4_EXTI12_PG_Msk /*!< PG[12] pin */ |
3136 | |||
3137 | /* EXTI13 configuration */ |
||
3138 | #define AFIO_EXTICR4_EXTI13_PA 0x00000000U /*!< PA[13] pin */ |
||
3139 | #define AFIO_EXTICR4_EXTI13_PB_Pos (4U) |
||
9 | mjames | 3140 | #define AFIO_EXTICR4_EXTI13_PB_Msk (0x1UL << AFIO_EXTICR4_EXTI13_PB_Pos) /*!< 0x00000010 */ |
2 | mjames | 3141 | #define AFIO_EXTICR4_EXTI13_PB AFIO_EXTICR4_EXTI13_PB_Msk /*!< PB[13] pin */ |
3142 | #define AFIO_EXTICR4_EXTI13_PC_Pos (5U) |
||
9 | mjames | 3143 | #define AFIO_EXTICR4_EXTI13_PC_Msk (0x1UL << AFIO_EXTICR4_EXTI13_PC_Pos) /*!< 0x00000020 */ |
2 | mjames | 3144 | #define AFIO_EXTICR4_EXTI13_PC AFIO_EXTICR4_EXTI13_PC_Msk /*!< PC[13] pin */ |
3145 | #define AFIO_EXTICR4_EXTI13_PD_Pos (4U) |
||
9 | mjames | 3146 | #define AFIO_EXTICR4_EXTI13_PD_Msk (0x3UL << AFIO_EXTICR4_EXTI13_PD_Pos) /*!< 0x00000030 */ |
2 | mjames | 3147 | #define AFIO_EXTICR4_EXTI13_PD AFIO_EXTICR4_EXTI13_PD_Msk /*!< PD[13] pin */ |
3148 | #define AFIO_EXTICR4_EXTI13_PE_Pos (6U) |
||
9 | mjames | 3149 | #define AFIO_EXTICR4_EXTI13_PE_Msk (0x1UL << AFIO_EXTICR4_EXTI13_PE_Pos) /*!< 0x00000040 */ |
2 | mjames | 3150 | #define AFIO_EXTICR4_EXTI13_PE AFIO_EXTICR4_EXTI13_PE_Msk /*!< PE[13] pin */ |
3151 | #define AFIO_EXTICR4_EXTI13_PF_Pos (4U) |
||
9 | mjames | 3152 | #define AFIO_EXTICR4_EXTI13_PF_Msk (0x5UL << AFIO_EXTICR4_EXTI13_PF_Pos) /*!< 0x00000050 */ |
2 | mjames | 3153 | #define AFIO_EXTICR4_EXTI13_PF AFIO_EXTICR4_EXTI13_PF_Msk /*!< PF[13] pin */ |
3154 | #define AFIO_EXTICR4_EXTI13_PG_Pos (5U) |
||
9 | mjames | 3155 | #define AFIO_EXTICR4_EXTI13_PG_Msk (0x3UL << AFIO_EXTICR4_EXTI13_PG_Pos) /*!< 0x00000060 */ |
2 | mjames | 3156 | #define AFIO_EXTICR4_EXTI13_PG AFIO_EXTICR4_EXTI13_PG_Msk /*!< PG[13] pin */ |
3157 | |||
3158 | /*!< EXTI14 configuration */ |
||
3159 | #define AFIO_EXTICR4_EXTI14_PA 0x00000000U /*!< PA[14] pin */ |
||
3160 | #define AFIO_EXTICR4_EXTI14_PB_Pos (8U) |
||
9 | mjames | 3161 | #define AFIO_EXTICR4_EXTI14_PB_Msk (0x1UL << AFIO_EXTICR4_EXTI14_PB_Pos) /*!< 0x00000100 */ |
2 | mjames | 3162 | #define AFIO_EXTICR4_EXTI14_PB AFIO_EXTICR4_EXTI14_PB_Msk /*!< PB[14] pin */ |
3163 | #define AFIO_EXTICR4_EXTI14_PC_Pos (9U) |
||
9 | mjames | 3164 | #define AFIO_EXTICR4_EXTI14_PC_Msk (0x1UL << AFIO_EXTICR4_EXTI14_PC_Pos) /*!< 0x00000200 */ |
2 | mjames | 3165 | #define AFIO_EXTICR4_EXTI14_PC AFIO_EXTICR4_EXTI14_PC_Msk /*!< PC[14] pin */ |
3166 | #define AFIO_EXTICR4_EXTI14_PD_Pos (8U) |
||
9 | mjames | 3167 | #define AFIO_EXTICR4_EXTI14_PD_Msk (0x3UL << AFIO_EXTICR4_EXTI14_PD_Pos) /*!< 0x00000300 */ |
2 | mjames | 3168 | #define AFIO_EXTICR4_EXTI14_PD AFIO_EXTICR4_EXTI14_PD_Msk /*!< PD[14] pin */ |
3169 | #define AFIO_EXTICR4_EXTI14_PE_Pos (10U) |
||
9 | mjames | 3170 | #define AFIO_EXTICR4_EXTI14_PE_Msk (0x1UL << AFIO_EXTICR4_EXTI14_PE_Pos) /*!< 0x00000400 */ |
2 | mjames | 3171 | #define AFIO_EXTICR4_EXTI14_PE AFIO_EXTICR4_EXTI14_PE_Msk /*!< PE[14] pin */ |
3172 | #define AFIO_EXTICR4_EXTI14_PF_Pos (8U) |
||
9 | mjames | 3173 | #define AFIO_EXTICR4_EXTI14_PF_Msk (0x5UL << AFIO_EXTICR4_EXTI14_PF_Pos) /*!< 0x00000500 */ |
2 | mjames | 3174 | #define AFIO_EXTICR4_EXTI14_PF AFIO_EXTICR4_EXTI14_PF_Msk /*!< PF[14] pin */ |
3175 | #define AFIO_EXTICR4_EXTI14_PG_Pos (9U) |
||
9 | mjames | 3176 | #define AFIO_EXTICR4_EXTI14_PG_Msk (0x3UL << AFIO_EXTICR4_EXTI14_PG_Pos) /*!< 0x00000600 */ |
2 | mjames | 3177 | #define AFIO_EXTICR4_EXTI14_PG AFIO_EXTICR4_EXTI14_PG_Msk /*!< PG[14] pin */ |
3178 | |||
3179 | /*!< EXTI15 configuration */ |
||
3180 | #define AFIO_EXTICR4_EXTI15_PA 0x00000000U /*!< PA[15] pin */ |
||
3181 | #define AFIO_EXTICR4_EXTI15_PB_Pos (12U) |
||
9 | mjames | 3182 | #define AFIO_EXTICR4_EXTI15_PB_Msk (0x1UL << AFIO_EXTICR4_EXTI15_PB_Pos) /*!< 0x00001000 */ |
2 | mjames | 3183 | #define AFIO_EXTICR4_EXTI15_PB AFIO_EXTICR4_EXTI15_PB_Msk /*!< PB[15] pin */ |
3184 | #define AFIO_EXTICR4_EXTI15_PC_Pos (13U) |
||
9 | mjames | 3185 | #define AFIO_EXTICR4_EXTI15_PC_Msk (0x1UL << AFIO_EXTICR4_EXTI15_PC_Pos) /*!< 0x00002000 */ |
2 | mjames | 3186 | #define AFIO_EXTICR4_EXTI15_PC AFIO_EXTICR4_EXTI15_PC_Msk /*!< PC[15] pin */ |
3187 | #define AFIO_EXTICR4_EXTI15_PD_Pos (12U) |
||
9 | mjames | 3188 | #define AFIO_EXTICR4_EXTI15_PD_Msk (0x3UL << AFIO_EXTICR4_EXTI15_PD_Pos) /*!< 0x00003000 */ |
2 | mjames | 3189 | #define AFIO_EXTICR4_EXTI15_PD AFIO_EXTICR4_EXTI15_PD_Msk /*!< PD[15] pin */ |
3190 | #define AFIO_EXTICR4_EXTI15_PE_Pos (14U) |
||
9 | mjames | 3191 | #define AFIO_EXTICR4_EXTI15_PE_Msk (0x1UL << AFIO_EXTICR4_EXTI15_PE_Pos) /*!< 0x00004000 */ |
2 | mjames | 3192 | #define AFIO_EXTICR4_EXTI15_PE AFIO_EXTICR4_EXTI15_PE_Msk /*!< PE[15] pin */ |
3193 | #define AFIO_EXTICR4_EXTI15_PF_Pos (12U) |
||
9 | mjames | 3194 | #define AFIO_EXTICR4_EXTI15_PF_Msk (0x5UL << AFIO_EXTICR4_EXTI15_PF_Pos) /*!< 0x00005000 */ |
2 | mjames | 3195 | #define AFIO_EXTICR4_EXTI15_PF AFIO_EXTICR4_EXTI15_PF_Msk /*!< PF[15] pin */ |
3196 | #define AFIO_EXTICR4_EXTI15_PG_Pos (13U) |
||
9 | mjames | 3197 | #define AFIO_EXTICR4_EXTI15_PG_Msk (0x3UL << AFIO_EXTICR4_EXTI15_PG_Pos) /*!< 0x00006000 */ |
2 | mjames | 3198 | #define AFIO_EXTICR4_EXTI15_PG AFIO_EXTICR4_EXTI15_PG_Msk /*!< PG[15] pin */ |
3199 | |||
3200 | /****************** Bit definition for AFIO_MAPR2 register ******************/ |
||
3201 | |||
3202 | |||
3203 | |||
3204 | /******************************************************************************/ |
||
3205 | /* */ |
||
3206 | /* External Interrupt/Event Controller */ |
||
3207 | /* */ |
||
3208 | /******************************************************************************/ |
||
3209 | |||
3210 | /******************* Bit definition for EXTI_IMR register *******************/ |
||
3211 | #define EXTI_IMR_MR0_Pos (0U) |
||
9 | mjames | 3212 | #define EXTI_IMR_MR0_Msk (0x1UL << EXTI_IMR_MR0_Pos) /*!< 0x00000001 */ |
2 | mjames | 3213 | #define EXTI_IMR_MR0 EXTI_IMR_MR0_Msk /*!< Interrupt Mask on line 0 */ |
3214 | #define EXTI_IMR_MR1_Pos (1U) |
||
9 | mjames | 3215 | #define EXTI_IMR_MR1_Msk (0x1UL << EXTI_IMR_MR1_Pos) /*!< 0x00000002 */ |
2 | mjames | 3216 | #define EXTI_IMR_MR1 EXTI_IMR_MR1_Msk /*!< Interrupt Mask on line 1 */ |
3217 | #define EXTI_IMR_MR2_Pos (2U) |
||
9 | mjames | 3218 | #define EXTI_IMR_MR2_Msk (0x1UL << EXTI_IMR_MR2_Pos) /*!< 0x00000004 */ |
2 | mjames | 3219 | #define EXTI_IMR_MR2 EXTI_IMR_MR2_Msk /*!< Interrupt Mask on line 2 */ |
3220 | #define EXTI_IMR_MR3_Pos (3U) |
||
9 | mjames | 3221 | #define EXTI_IMR_MR3_Msk (0x1UL << EXTI_IMR_MR3_Pos) /*!< 0x00000008 */ |
2 | mjames | 3222 | #define EXTI_IMR_MR3 EXTI_IMR_MR3_Msk /*!< Interrupt Mask on line 3 */ |
3223 | #define EXTI_IMR_MR4_Pos (4U) |
||
9 | mjames | 3224 | #define EXTI_IMR_MR4_Msk (0x1UL << EXTI_IMR_MR4_Pos) /*!< 0x00000010 */ |
2 | mjames | 3225 | #define EXTI_IMR_MR4 EXTI_IMR_MR4_Msk /*!< Interrupt Mask on line 4 */ |
3226 | #define EXTI_IMR_MR5_Pos (5U) |
||
9 | mjames | 3227 | #define EXTI_IMR_MR5_Msk (0x1UL << EXTI_IMR_MR5_Pos) /*!< 0x00000020 */ |
2 | mjames | 3228 | #define EXTI_IMR_MR5 EXTI_IMR_MR5_Msk /*!< Interrupt Mask on line 5 */ |
3229 | #define EXTI_IMR_MR6_Pos (6U) |
||
9 | mjames | 3230 | #define EXTI_IMR_MR6_Msk (0x1UL << EXTI_IMR_MR6_Pos) /*!< 0x00000040 */ |
2 | mjames | 3231 | #define EXTI_IMR_MR6 EXTI_IMR_MR6_Msk /*!< Interrupt Mask on line 6 */ |
3232 | #define EXTI_IMR_MR7_Pos (7U) |
||
9 | mjames | 3233 | #define EXTI_IMR_MR7_Msk (0x1UL << EXTI_IMR_MR7_Pos) /*!< 0x00000080 */ |
2 | mjames | 3234 | #define EXTI_IMR_MR7 EXTI_IMR_MR7_Msk /*!< Interrupt Mask on line 7 */ |
3235 | #define EXTI_IMR_MR8_Pos (8U) |
||
9 | mjames | 3236 | #define EXTI_IMR_MR8_Msk (0x1UL << EXTI_IMR_MR8_Pos) /*!< 0x00000100 */ |
2 | mjames | 3237 | #define EXTI_IMR_MR8 EXTI_IMR_MR8_Msk /*!< Interrupt Mask on line 8 */ |
3238 | #define EXTI_IMR_MR9_Pos (9U) |
||
9 | mjames | 3239 | #define EXTI_IMR_MR9_Msk (0x1UL << EXTI_IMR_MR9_Pos) /*!< 0x00000200 */ |
2 | mjames | 3240 | #define EXTI_IMR_MR9 EXTI_IMR_MR9_Msk /*!< Interrupt Mask on line 9 */ |
3241 | #define EXTI_IMR_MR10_Pos (10U) |
||
9 | mjames | 3242 | #define EXTI_IMR_MR10_Msk (0x1UL << EXTI_IMR_MR10_Pos) /*!< 0x00000400 */ |
2 | mjames | 3243 | #define EXTI_IMR_MR10 EXTI_IMR_MR10_Msk /*!< Interrupt Mask on line 10 */ |
3244 | #define EXTI_IMR_MR11_Pos (11U) |
||
9 | mjames | 3245 | #define EXTI_IMR_MR11_Msk (0x1UL << EXTI_IMR_MR11_Pos) /*!< 0x00000800 */ |
2 | mjames | 3246 | #define EXTI_IMR_MR11 EXTI_IMR_MR11_Msk /*!< Interrupt Mask on line 11 */ |
3247 | #define EXTI_IMR_MR12_Pos (12U) |
||
9 | mjames | 3248 | #define EXTI_IMR_MR12_Msk (0x1UL << EXTI_IMR_MR12_Pos) /*!< 0x00001000 */ |
2 | mjames | 3249 | #define EXTI_IMR_MR12 EXTI_IMR_MR12_Msk /*!< Interrupt Mask on line 12 */ |
3250 | #define EXTI_IMR_MR13_Pos (13U) |
||
9 | mjames | 3251 | #define EXTI_IMR_MR13_Msk (0x1UL << EXTI_IMR_MR13_Pos) /*!< 0x00002000 */ |
2 | mjames | 3252 | #define EXTI_IMR_MR13 EXTI_IMR_MR13_Msk /*!< Interrupt Mask on line 13 */ |
3253 | #define EXTI_IMR_MR14_Pos (14U) |
||
9 | mjames | 3254 | #define EXTI_IMR_MR14_Msk (0x1UL << EXTI_IMR_MR14_Pos) /*!< 0x00004000 */ |
2 | mjames | 3255 | #define EXTI_IMR_MR14 EXTI_IMR_MR14_Msk /*!< Interrupt Mask on line 14 */ |
3256 | #define EXTI_IMR_MR15_Pos (15U) |
||
9 | mjames | 3257 | #define EXTI_IMR_MR15_Msk (0x1UL << EXTI_IMR_MR15_Pos) /*!< 0x00008000 */ |
2 | mjames | 3258 | #define EXTI_IMR_MR15 EXTI_IMR_MR15_Msk /*!< Interrupt Mask on line 15 */ |
3259 | #define EXTI_IMR_MR16_Pos (16U) |
||
9 | mjames | 3260 | #define EXTI_IMR_MR16_Msk (0x1UL << EXTI_IMR_MR16_Pos) /*!< 0x00010000 */ |
2 | mjames | 3261 | #define EXTI_IMR_MR16 EXTI_IMR_MR16_Msk /*!< Interrupt Mask on line 16 */ |
3262 | #define EXTI_IMR_MR17_Pos (17U) |
||
9 | mjames | 3263 | #define EXTI_IMR_MR17_Msk (0x1UL << EXTI_IMR_MR17_Pos) /*!< 0x00020000 */ |
2 | mjames | 3264 | #define EXTI_IMR_MR17 EXTI_IMR_MR17_Msk /*!< Interrupt Mask on line 17 */ |
3265 | #define EXTI_IMR_MR18_Pos (18U) |
||
9 | mjames | 3266 | #define EXTI_IMR_MR18_Msk (0x1UL << EXTI_IMR_MR18_Pos) /*!< 0x00040000 */ |
2 | mjames | 3267 | #define EXTI_IMR_MR18 EXTI_IMR_MR18_Msk /*!< Interrupt Mask on line 18 */ |
3268 | #define EXTI_IMR_MR19_Pos (19U) |
||
9 | mjames | 3269 | #define EXTI_IMR_MR19_Msk (0x1UL << EXTI_IMR_MR19_Pos) /*!< 0x00080000 */ |
2 | mjames | 3270 | #define EXTI_IMR_MR19 EXTI_IMR_MR19_Msk /*!< Interrupt Mask on line 19 */ |
3271 | |||
3272 | /* References Defines */ |
||
3273 | #define EXTI_IMR_IM0 EXTI_IMR_MR0 |
||
3274 | #define EXTI_IMR_IM1 EXTI_IMR_MR1 |
||
3275 | #define EXTI_IMR_IM2 EXTI_IMR_MR2 |
||
3276 | #define EXTI_IMR_IM3 EXTI_IMR_MR3 |
||
3277 | #define EXTI_IMR_IM4 EXTI_IMR_MR4 |
||
3278 | #define EXTI_IMR_IM5 EXTI_IMR_MR5 |
||
3279 | #define EXTI_IMR_IM6 EXTI_IMR_MR6 |
||
3280 | #define EXTI_IMR_IM7 EXTI_IMR_MR7 |
||
3281 | #define EXTI_IMR_IM8 EXTI_IMR_MR8 |
||
3282 | #define EXTI_IMR_IM9 EXTI_IMR_MR9 |
||
3283 | #define EXTI_IMR_IM10 EXTI_IMR_MR10 |
||
3284 | #define EXTI_IMR_IM11 EXTI_IMR_MR11 |
||
3285 | #define EXTI_IMR_IM12 EXTI_IMR_MR12 |
||
3286 | #define EXTI_IMR_IM13 EXTI_IMR_MR13 |
||
3287 | #define EXTI_IMR_IM14 EXTI_IMR_MR14 |
||
3288 | #define EXTI_IMR_IM15 EXTI_IMR_MR15 |
||
3289 | #define EXTI_IMR_IM16 EXTI_IMR_MR16 |
||
3290 | #define EXTI_IMR_IM17 EXTI_IMR_MR17 |
||
3291 | #define EXTI_IMR_IM18 EXTI_IMR_MR18 |
||
3292 | #define EXTI_IMR_IM19 EXTI_IMR_MR19 |
||
3293 | #define EXTI_IMR_IM 0x000FFFFFU /*!< Interrupt Mask All */ |
||
3294 | |||
3295 | /******************* Bit definition for EXTI_EMR register *******************/ |
||
3296 | #define EXTI_EMR_MR0_Pos (0U) |
||
9 | mjames | 3297 | #define EXTI_EMR_MR0_Msk (0x1UL << EXTI_EMR_MR0_Pos) /*!< 0x00000001 */ |
2 | mjames | 3298 | #define EXTI_EMR_MR0 EXTI_EMR_MR0_Msk /*!< Event Mask on line 0 */ |
3299 | #define EXTI_EMR_MR1_Pos (1U) |
||
9 | mjames | 3300 | #define EXTI_EMR_MR1_Msk (0x1UL << EXTI_EMR_MR1_Pos) /*!< 0x00000002 */ |
2 | mjames | 3301 | #define EXTI_EMR_MR1 EXTI_EMR_MR1_Msk /*!< Event Mask on line 1 */ |
3302 | #define EXTI_EMR_MR2_Pos (2U) |
||
9 | mjames | 3303 | #define EXTI_EMR_MR2_Msk (0x1UL << EXTI_EMR_MR2_Pos) /*!< 0x00000004 */ |
2 | mjames | 3304 | #define EXTI_EMR_MR2 EXTI_EMR_MR2_Msk /*!< Event Mask on line 2 */ |
3305 | #define EXTI_EMR_MR3_Pos (3U) |
||
9 | mjames | 3306 | #define EXTI_EMR_MR3_Msk (0x1UL << EXTI_EMR_MR3_Pos) /*!< 0x00000008 */ |
2 | mjames | 3307 | #define EXTI_EMR_MR3 EXTI_EMR_MR3_Msk /*!< Event Mask on line 3 */ |
3308 | #define EXTI_EMR_MR4_Pos (4U) |
||
9 | mjames | 3309 | #define EXTI_EMR_MR4_Msk (0x1UL << EXTI_EMR_MR4_Pos) /*!< 0x00000010 */ |
2 | mjames | 3310 | #define EXTI_EMR_MR4 EXTI_EMR_MR4_Msk /*!< Event Mask on line 4 */ |
3311 | #define EXTI_EMR_MR5_Pos (5U) |
||
9 | mjames | 3312 | #define EXTI_EMR_MR5_Msk (0x1UL << EXTI_EMR_MR5_Pos) /*!< 0x00000020 */ |
2 | mjames | 3313 | #define EXTI_EMR_MR5 EXTI_EMR_MR5_Msk /*!< Event Mask on line 5 */ |
3314 | #define EXTI_EMR_MR6_Pos (6U) |
||
9 | mjames | 3315 | #define EXTI_EMR_MR6_Msk (0x1UL << EXTI_EMR_MR6_Pos) /*!< 0x00000040 */ |
2 | mjames | 3316 | #define EXTI_EMR_MR6 EXTI_EMR_MR6_Msk /*!< Event Mask on line 6 */ |
3317 | #define EXTI_EMR_MR7_Pos (7U) |
||
9 | mjames | 3318 | #define EXTI_EMR_MR7_Msk (0x1UL << EXTI_EMR_MR7_Pos) /*!< 0x00000080 */ |
2 | mjames | 3319 | #define EXTI_EMR_MR7 EXTI_EMR_MR7_Msk /*!< Event Mask on line 7 */ |
3320 | #define EXTI_EMR_MR8_Pos (8U) |
||
9 | mjames | 3321 | #define EXTI_EMR_MR8_Msk (0x1UL << EXTI_EMR_MR8_Pos) /*!< 0x00000100 */ |
2 | mjames | 3322 | #define EXTI_EMR_MR8 EXTI_EMR_MR8_Msk /*!< Event Mask on line 8 */ |
3323 | #define EXTI_EMR_MR9_Pos (9U) |
||
9 | mjames | 3324 | #define EXTI_EMR_MR9_Msk (0x1UL << EXTI_EMR_MR9_Pos) /*!< 0x00000200 */ |
2 | mjames | 3325 | #define EXTI_EMR_MR9 EXTI_EMR_MR9_Msk /*!< Event Mask on line 9 */ |
3326 | #define EXTI_EMR_MR10_Pos (10U) |
||
9 | mjames | 3327 | #define EXTI_EMR_MR10_Msk (0x1UL << EXTI_EMR_MR10_Pos) /*!< 0x00000400 */ |
2 | mjames | 3328 | #define EXTI_EMR_MR10 EXTI_EMR_MR10_Msk /*!< Event Mask on line 10 */ |
3329 | #define EXTI_EMR_MR11_Pos (11U) |
||
9 | mjames | 3330 | #define EXTI_EMR_MR11_Msk (0x1UL << EXTI_EMR_MR11_Pos) /*!< 0x00000800 */ |
2 | mjames | 3331 | #define EXTI_EMR_MR11 EXTI_EMR_MR11_Msk /*!< Event Mask on line 11 */ |
3332 | #define EXTI_EMR_MR12_Pos (12U) |
||
9 | mjames | 3333 | #define EXTI_EMR_MR12_Msk (0x1UL << EXTI_EMR_MR12_Pos) /*!< 0x00001000 */ |
2 | mjames | 3334 | #define EXTI_EMR_MR12 EXTI_EMR_MR12_Msk /*!< Event Mask on line 12 */ |
3335 | #define EXTI_EMR_MR13_Pos (13U) |
||
9 | mjames | 3336 | #define EXTI_EMR_MR13_Msk (0x1UL << EXTI_EMR_MR13_Pos) /*!< 0x00002000 */ |
2 | mjames | 3337 | #define EXTI_EMR_MR13 EXTI_EMR_MR13_Msk /*!< Event Mask on line 13 */ |
3338 | #define EXTI_EMR_MR14_Pos (14U) |
||
9 | mjames | 3339 | #define EXTI_EMR_MR14_Msk (0x1UL << EXTI_EMR_MR14_Pos) /*!< 0x00004000 */ |
2 | mjames | 3340 | #define EXTI_EMR_MR14 EXTI_EMR_MR14_Msk /*!< Event Mask on line 14 */ |
3341 | #define EXTI_EMR_MR15_Pos (15U) |
||
9 | mjames | 3342 | #define EXTI_EMR_MR15_Msk (0x1UL << EXTI_EMR_MR15_Pos) /*!< 0x00008000 */ |
2 | mjames | 3343 | #define EXTI_EMR_MR15 EXTI_EMR_MR15_Msk /*!< Event Mask on line 15 */ |
3344 | #define EXTI_EMR_MR16_Pos (16U) |
||
9 | mjames | 3345 | #define EXTI_EMR_MR16_Msk (0x1UL << EXTI_EMR_MR16_Pos) /*!< 0x00010000 */ |
2 | mjames | 3346 | #define EXTI_EMR_MR16 EXTI_EMR_MR16_Msk /*!< Event Mask on line 16 */ |
3347 | #define EXTI_EMR_MR17_Pos (17U) |
||
9 | mjames | 3348 | #define EXTI_EMR_MR17_Msk (0x1UL << EXTI_EMR_MR17_Pos) /*!< 0x00020000 */ |
2 | mjames | 3349 | #define EXTI_EMR_MR17 EXTI_EMR_MR17_Msk /*!< Event Mask on line 17 */ |
3350 | #define EXTI_EMR_MR18_Pos (18U) |
||
9 | mjames | 3351 | #define EXTI_EMR_MR18_Msk (0x1UL << EXTI_EMR_MR18_Pos) /*!< 0x00040000 */ |
2 | mjames | 3352 | #define EXTI_EMR_MR18 EXTI_EMR_MR18_Msk /*!< Event Mask on line 18 */ |
3353 | #define EXTI_EMR_MR19_Pos (19U) |
||
9 | mjames | 3354 | #define EXTI_EMR_MR19_Msk (0x1UL << EXTI_EMR_MR19_Pos) /*!< 0x00080000 */ |
2 | mjames | 3355 | #define EXTI_EMR_MR19 EXTI_EMR_MR19_Msk /*!< Event Mask on line 19 */ |
3356 | |||
3357 | /* References Defines */ |
||
3358 | #define EXTI_EMR_EM0 EXTI_EMR_MR0 |
||
3359 | #define EXTI_EMR_EM1 EXTI_EMR_MR1 |
||
3360 | #define EXTI_EMR_EM2 EXTI_EMR_MR2 |
||
3361 | #define EXTI_EMR_EM3 EXTI_EMR_MR3 |
||
3362 | #define EXTI_EMR_EM4 EXTI_EMR_MR4 |
||
3363 | #define EXTI_EMR_EM5 EXTI_EMR_MR5 |
||
3364 | #define EXTI_EMR_EM6 EXTI_EMR_MR6 |
||
3365 | #define EXTI_EMR_EM7 EXTI_EMR_MR7 |
||
3366 | #define EXTI_EMR_EM8 EXTI_EMR_MR8 |
||
3367 | #define EXTI_EMR_EM9 EXTI_EMR_MR9 |
||
3368 | #define EXTI_EMR_EM10 EXTI_EMR_MR10 |
||
3369 | #define EXTI_EMR_EM11 EXTI_EMR_MR11 |
||
3370 | #define EXTI_EMR_EM12 EXTI_EMR_MR12 |
||
3371 | #define EXTI_EMR_EM13 EXTI_EMR_MR13 |
||
3372 | #define EXTI_EMR_EM14 EXTI_EMR_MR14 |
||
3373 | #define EXTI_EMR_EM15 EXTI_EMR_MR15 |
||
3374 | #define EXTI_EMR_EM16 EXTI_EMR_MR16 |
||
3375 | #define EXTI_EMR_EM17 EXTI_EMR_MR17 |
||
3376 | #define EXTI_EMR_EM18 EXTI_EMR_MR18 |
||
3377 | #define EXTI_EMR_EM19 EXTI_EMR_MR19 |
||
3378 | |||
3379 | /****************** Bit definition for EXTI_RTSR register *******************/ |
||
3380 | #define EXTI_RTSR_TR0_Pos (0U) |
||
9 | mjames | 3381 | #define EXTI_RTSR_TR0_Msk (0x1UL << EXTI_RTSR_TR0_Pos) /*!< 0x00000001 */ |
2 | mjames | 3382 | #define EXTI_RTSR_TR0 EXTI_RTSR_TR0_Msk /*!< Rising trigger event configuration bit of line 0 */ |
3383 | #define EXTI_RTSR_TR1_Pos (1U) |
||
9 | mjames | 3384 | #define EXTI_RTSR_TR1_Msk (0x1UL << EXTI_RTSR_TR1_Pos) /*!< 0x00000002 */ |
2 | mjames | 3385 | #define EXTI_RTSR_TR1 EXTI_RTSR_TR1_Msk /*!< Rising trigger event configuration bit of line 1 */ |
3386 | #define EXTI_RTSR_TR2_Pos (2U) |
||
9 | mjames | 3387 | #define EXTI_RTSR_TR2_Msk (0x1UL << EXTI_RTSR_TR2_Pos) /*!< 0x00000004 */ |
2 | mjames | 3388 | #define EXTI_RTSR_TR2 EXTI_RTSR_TR2_Msk /*!< Rising trigger event configuration bit of line 2 */ |
3389 | #define EXTI_RTSR_TR3_Pos (3U) |
||
9 | mjames | 3390 | #define EXTI_RTSR_TR3_Msk (0x1UL << EXTI_RTSR_TR3_Pos) /*!< 0x00000008 */ |
2 | mjames | 3391 | #define EXTI_RTSR_TR3 EXTI_RTSR_TR3_Msk /*!< Rising trigger event configuration bit of line 3 */ |
3392 | #define EXTI_RTSR_TR4_Pos (4U) |
||
9 | mjames | 3393 | #define EXTI_RTSR_TR4_Msk (0x1UL << EXTI_RTSR_TR4_Pos) /*!< 0x00000010 */ |
2 | mjames | 3394 | #define EXTI_RTSR_TR4 EXTI_RTSR_TR4_Msk /*!< Rising trigger event configuration bit of line 4 */ |
3395 | #define EXTI_RTSR_TR5_Pos (5U) |
||
9 | mjames | 3396 | #define EXTI_RTSR_TR5_Msk (0x1UL << EXTI_RTSR_TR5_Pos) /*!< 0x00000020 */ |
2 | mjames | 3397 | #define EXTI_RTSR_TR5 EXTI_RTSR_TR5_Msk /*!< Rising trigger event configuration bit of line 5 */ |
3398 | #define EXTI_RTSR_TR6_Pos (6U) |
||
9 | mjames | 3399 | #define EXTI_RTSR_TR6_Msk (0x1UL << EXTI_RTSR_TR6_Pos) /*!< 0x00000040 */ |
2 | mjames | 3400 | #define EXTI_RTSR_TR6 EXTI_RTSR_TR6_Msk /*!< Rising trigger event configuration bit of line 6 */ |
3401 | #define EXTI_RTSR_TR7_Pos (7U) |
||
9 | mjames | 3402 | #define EXTI_RTSR_TR7_Msk (0x1UL << EXTI_RTSR_TR7_Pos) /*!< 0x00000080 */ |
2 | mjames | 3403 | #define EXTI_RTSR_TR7 EXTI_RTSR_TR7_Msk /*!< Rising trigger event configuration bit of line 7 */ |
3404 | #define EXTI_RTSR_TR8_Pos (8U) |
||
9 | mjames | 3405 | #define EXTI_RTSR_TR8_Msk (0x1UL << EXTI_RTSR_TR8_Pos) /*!< 0x00000100 */ |
2 | mjames | 3406 | #define EXTI_RTSR_TR8 EXTI_RTSR_TR8_Msk /*!< Rising trigger event configuration bit of line 8 */ |
3407 | #define EXTI_RTSR_TR9_Pos (9U) |
||
9 | mjames | 3408 | #define EXTI_RTSR_TR9_Msk (0x1UL << EXTI_RTSR_TR9_Pos) /*!< 0x00000200 */ |
2 | mjames | 3409 | #define EXTI_RTSR_TR9 EXTI_RTSR_TR9_Msk /*!< Rising trigger event configuration bit of line 9 */ |
3410 | #define EXTI_RTSR_TR10_Pos (10U) |
||
9 | mjames | 3411 | #define EXTI_RTSR_TR10_Msk (0x1UL << EXTI_RTSR_TR10_Pos) /*!< 0x00000400 */ |
2 | mjames | 3412 | #define EXTI_RTSR_TR10 EXTI_RTSR_TR10_Msk /*!< Rising trigger event configuration bit of line 10 */ |
3413 | #define EXTI_RTSR_TR11_Pos (11U) |
||
9 | mjames | 3414 | #define EXTI_RTSR_TR11_Msk (0x1UL << EXTI_RTSR_TR11_Pos) /*!< 0x00000800 */ |
2 | mjames | 3415 | #define EXTI_RTSR_TR11 EXTI_RTSR_TR11_Msk /*!< Rising trigger event configuration bit of line 11 */ |
3416 | #define EXTI_RTSR_TR12_Pos (12U) |
||
9 | mjames | 3417 | #define EXTI_RTSR_TR12_Msk (0x1UL << EXTI_RTSR_TR12_Pos) /*!< 0x00001000 */ |
2 | mjames | 3418 | #define EXTI_RTSR_TR12 EXTI_RTSR_TR12_Msk /*!< Rising trigger event configuration bit of line 12 */ |
3419 | #define EXTI_RTSR_TR13_Pos (13U) |
||
9 | mjames | 3420 | #define EXTI_RTSR_TR13_Msk (0x1UL << EXTI_RTSR_TR13_Pos) /*!< 0x00002000 */ |
2 | mjames | 3421 | #define EXTI_RTSR_TR13 EXTI_RTSR_TR13_Msk /*!< Rising trigger event configuration bit of line 13 */ |
3422 | #define EXTI_RTSR_TR14_Pos (14U) |
||
9 | mjames | 3423 | #define EXTI_RTSR_TR14_Msk (0x1UL << EXTI_RTSR_TR14_Pos) /*!< 0x00004000 */ |
2 | mjames | 3424 | #define EXTI_RTSR_TR14 EXTI_RTSR_TR14_Msk /*!< Rising trigger event configuration bit of line 14 */ |
3425 | #define EXTI_RTSR_TR15_Pos (15U) |
||
9 | mjames | 3426 | #define EXTI_RTSR_TR15_Msk (0x1UL << EXTI_RTSR_TR15_Pos) /*!< 0x00008000 */ |
2 | mjames | 3427 | #define EXTI_RTSR_TR15 EXTI_RTSR_TR15_Msk /*!< Rising trigger event configuration bit of line 15 */ |
3428 | #define EXTI_RTSR_TR16_Pos (16U) |
||
9 | mjames | 3429 | #define EXTI_RTSR_TR16_Msk (0x1UL << EXTI_RTSR_TR16_Pos) /*!< 0x00010000 */ |
2 | mjames | 3430 | #define EXTI_RTSR_TR16 EXTI_RTSR_TR16_Msk /*!< Rising trigger event configuration bit of line 16 */ |
3431 | #define EXTI_RTSR_TR17_Pos (17U) |
||
9 | mjames | 3432 | #define EXTI_RTSR_TR17_Msk (0x1UL << EXTI_RTSR_TR17_Pos) /*!< 0x00020000 */ |
2 | mjames | 3433 | #define EXTI_RTSR_TR17 EXTI_RTSR_TR17_Msk /*!< Rising trigger event configuration bit of line 17 */ |
3434 | #define EXTI_RTSR_TR18_Pos (18U) |
||
9 | mjames | 3435 | #define EXTI_RTSR_TR18_Msk (0x1UL << EXTI_RTSR_TR18_Pos) /*!< 0x00040000 */ |
2 | mjames | 3436 | #define EXTI_RTSR_TR18 EXTI_RTSR_TR18_Msk /*!< Rising trigger event configuration bit of line 18 */ |
3437 | #define EXTI_RTSR_TR19_Pos (19U) |
||
9 | mjames | 3438 | #define EXTI_RTSR_TR19_Msk (0x1UL << EXTI_RTSR_TR19_Pos) /*!< 0x00080000 */ |
2 | mjames | 3439 | #define EXTI_RTSR_TR19 EXTI_RTSR_TR19_Msk /*!< Rising trigger event configuration bit of line 19 */ |
3440 | |||
3441 | /* References Defines */ |
||
3442 | #define EXTI_RTSR_RT0 EXTI_RTSR_TR0 |
||
3443 | #define EXTI_RTSR_RT1 EXTI_RTSR_TR1 |
||
3444 | #define EXTI_RTSR_RT2 EXTI_RTSR_TR2 |
||
3445 | #define EXTI_RTSR_RT3 EXTI_RTSR_TR3 |
||
3446 | #define EXTI_RTSR_RT4 EXTI_RTSR_TR4 |
||
3447 | #define EXTI_RTSR_RT5 EXTI_RTSR_TR5 |
||
3448 | #define EXTI_RTSR_RT6 EXTI_RTSR_TR6 |
||
3449 | #define EXTI_RTSR_RT7 EXTI_RTSR_TR7 |
||
3450 | #define EXTI_RTSR_RT8 EXTI_RTSR_TR8 |
||
3451 | #define EXTI_RTSR_RT9 EXTI_RTSR_TR9 |
||
3452 | #define EXTI_RTSR_RT10 EXTI_RTSR_TR10 |
||
3453 | #define EXTI_RTSR_RT11 EXTI_RTSR_TR11 |
||
3454 | #define EXTI_RTSR_RT12 EXTI_RTSR_TR12 |
||
3455 | #define EXTI_RTSR_RT13 EXTI_RTSR_TR13 |
||
3456 | #define EXTI_RTSR_RT14 EXTI_RTSR_TR14 |
||
3457 | #define EXTI_RTSR_RT15 EXTI_RTSR_TR15 |
||
3458 | #define EXTI_RTSR_RT16 EXTI_RTSR_TR16 |
||
3459 | #define EXTI_RTSR_RT17 EXTI_RTSR_TR17 |
||
3460 | #define EXTI_RTSR_RT18 EXTI_RTSR_TR18 |
||
3461 | #define EXTI_RTSR_RT19 EXTI_RTSR_TR19 |
||
3462 | |||
3463 | /****************** Bit definition for EXTI_FTSR register *******************/ |
||
3464 | #define EXTI_FTSR_TR0_Pos (0U) |
||
9 | mjames | 3465 | #define EXTI_FTSR_TR0_Msk (0x1UL << EXTI_FTSR_TR0_Pos) /*!< 0x00000001 */ |
2 | mjames | 3466 | #define EXTI_FTSR_TR0 EXTI_FTSR_TR0_Msk /*!< Falling trigger event configuration bit of line 0 */ |
3467 | #define EXTI_FTSR_TR1_Pos (1U) |
||
9 | mjames | 3468 | #define EXTI_FTSR_TR1_Msk (0x1UL << EXTI_FTSR_TR1_Pos) /*!< 0x00000002 */ |
2 | mjames | 3469 | #define EXTI_FTSR_TR1 EXTI_FTSR_TR1_Msk /*!< Falling trigger event configuration bit of line 1 */ |
3470 | #define EXTI_FTSR_TR2_Pos (2U) |
||
9 | mjames | 3471 | #define EXTI_FTSR_TR2_Msk (0x1UL << EXTI_FTSR_TR2_Pos) /*!< 0x00000004 */ |
2 | mjames | 3472 | #define EXTI_FTSR_TR2 EXTI_FTSR_TR2_Msk /*!< Falling trigger event configuration bit of line 2 */ |
3473 | #define EXTI_FTSR_TR3_Pos (3U) |
||
9 | mjames | 3474 | #define EXTI_FTSR_TR3_Msk (0x1UL << EXTI_FTSR_TR3_Pos) /*!< 0x00000008 */ |
2 | mjames | 3475 | #define EXTI_FTSR_TR3 EXTI_FTSR_TR3_Msk /*!< Falling trigger event configuration bit of line 3 */ |
3476 | #define EXTI_FTSR_TR4_Pos (4U) |
||
9 | mjames | 3477 | #define EXTI_FTSR_TR4_Msk (0x1UL << EXTI_FTSR_TR4_Pos) /*!< 0x00000010 */ |
2 | mjames | 3478 | #define EXTI_FTSR_TR4 EXTI_FTSR_TR4_Msk /*!< Falling trigger event configuration bit of line 4 */ |
3479 | #define EXTI_FTSR_TR5_Pos (5U) |
||
9 | mjames | 3480 | #define EXTI_FTSR_TR5_Msk (0x1UL << EXTI_FTSR_TR5_Pos) /*!< 0x00000020 */ |
2 | mjames | 3481 | #define EXTI_FTSR_TR5 EXTI_FTSR_TR5_Msk /*!< Falling trigger event configuration bit of line 5 */ |
3482 | #define EXTI_FTSR_TR6_Pos (6U) |
||
9 | mjames | 3483 | #define EXTI_FTSR_TR6_Msk (0x1UL << EXTI_FTSR_TR6_Pos) /*!< 0x00000040 */ |
2 | mjames | 3484 | #define EXTI_FTSR_TR6 EXTI_FTSR_TR6_Msk /*!< Falling trigger event configuration bit of line 6 */ |
3485 | #define EXTI_FTSR_TR7_Pos (7U) |
||
9 | mjames | 3486 | #define EXTI_FTSR_TR7_Msk (0x1UL << EXTI_FTSR_TR7_Pos) /*!< 0x00000080 */ |
2 | mjames | 3487 | #define EXTI_FTSR_TR7 EXTI_FTSR_TR7_Msk /*!< Falling trigger event configuration bit of line 7 */ |
3488 | #define EXTI_FTSR_TR8_Pos (8U) |
||
9 | mjames | 3489 | #define EXTI_FTSR_TR8_Msk (0x1UL << EXTI_FTSR_TR8_Pos) /*!< 0x00000100 */ |
2 | mjames | 3490 | #define EXTI_FTSR_TR8 EXTI_FTSR_TR8_Msk /*!< Falling trigger event configuration bit of line 8 */ |
3491 | #define EXTI_FTSR_TR9_Pos (9U) |
||
9 | mjames | 3492 | #define EXTI_FTSR_TR9_Msk (0x1UL << EXTI_FTSR_TR9_Pos) /*!< 0x00000200 */ |
2 | mjames | 3493 | #define EXTI_FTSR_TR9 EXTI_FTSR_TR9_Msk /*!< Falling trigger event configuration bit of line 9 */ |
3494 | #define EXTI_FTSR_TR10_Pos (10U) |
||
9 | mjames | 3495 | #define EXTI_FTSR_TR10_Msk (0x1UL << EXTI_FTSR_TR10_Pos) /*!< 0x00000400 */ |
2 | mjames | 3496 | #define EXTI_FTSR_TR10 EXTI_FTSR_TR10_Msk /*!< Falling trigger event configuration bit of line 10 */ |
3497 | #define EXTI_FTSR_TR11_Pos (11U) |
||
9 | mjames | 3498 | #define EXTI_FTSR_TR11_Msk (0x1UL << EXTI_FTSR_TR11_Pos) /*!< 0x00000800 */ |
2 | mjames | 3499 | #define EXTI_FTSR_TR11 EXTI_FTSR_TR11_Msk /*!< Falling trigger event configuration bit of line 11 */ |
3500 | #define EXTI_FTSR_TR12_Pos (12U) |
||
9 | mjames | 3501 | #define EXTI_FTSR_TR12_Msk (0x1UL << EXTI_FTSR_TR12_Pos) /*!< 0x00001000 */ |
2 | mjames | 3502 | #define EXTI_FTSR_TR12 EXTI_FTSR_TR12_Msk /*!< Falling trigger event configuration bit of line 12 */ |
3503 | #define EXTI_FTSR_TR13_Pos (13U) |
||
9 | mjames | 3504 | #define EXTI_FTSR_TR13_Msk (0x1UL << EXTI_FTSR_TR13_Pos) /*!< 0x00002000 */ |
2 | mjames | 3505 | #define EXTI_FTSR_TR13 EXTI_FTSR_TR13_Msk /*!< Falling trigger event configuration bit of line 13 */ |
3506 | #define EXTI_FTSR_TR14_Pos (14U) |
||
9 | mjames | 3507 | #define EXTI_FTSR_TR14_Msk (0x1UL << EXTI_FTSR_TR14_Pos) /*!< 0x00004000 */ |
2 | mjames | 3508 | #define EXTI_FTSR_TR14 EXTI_FTSR_TR14_Msk /*!< Falling trigger event configuration bit of line 14 */ |
3509 | #define EXTI_FTSR_TR15_Pos (15U) |
||
9 | mjames | 3510 | #define EXTI_FTSR_TR15_Msk (0x1UL << EXTI_FTSR_TR15_Pos) /*!< 0x00008000 */ |
2 | mjames | 3511 | #define EXTI_FTSR_TR15 EXTI_FTSR_TR15_Msk /*!< Falling trigger event configuration bit of line 15 */ |
3512 | #define EXTI_FTSR_TR16_Pos (16U) |
||
9 | mjames | 3513 | #define EXTI_FTSR_TR16_Msk (0x1UL << EXTI_FTSR_TR16_Pos) /*!< 0x00010000 */ |
2 | mjames | 3514 | #define EXTI_FTSR_TR16 EXTI_FTSR_TR16_Msk /*!< Falling trigger event configuration bit of line 16 */ |
3515 | #define EXTI_FTSR_TR17_Pos (17U) |
||
9 | mjames | 3516 | #define EXTI_FTSR_TR17_Msk (0x1UL << EXTI_FTSR_TR17_Pos) /*!< 0x00020000 */ |
2 | mjames | 3517 | #define EXTI_FTSR_TR17 EXTI_FTSR_TR17_Msk /*!< Falling trigger event configuration bit of line 17 */ |
3518 | #define EXTI_FTSR_TR18_Pos (18U) |
||
9 | mjames | 3519 | #define EXTI_FTSR_TR18_Msk (0x1UL << EXTI_FTSR_TR18_Pos) /*!< 0x00040000 */ |
2 | mjames | 3520 | #define EXTI_FTSR_TR18 EXTI_FTSR_TR18_Msk /*!< Falling trigger event configuration bit of line 18 */ |
3521 | #define EXTI_FTSR_TR19_Pos (19U) |
||
9 | mjames | 3522 | #define EXTI_FTSR_TR19_Msk (0x1UL << EXTI_FTSR_TR19_Pos) /*!< 0x00080000 */ |
2 | mjames | 3523 | #define EXTI_FTSR_TR19 EXTI_FTSR_TR19_Msk /*!< Falling trigger event configuration bit of line 19 */ |
3524 | |||
3525 | /* References Defines */ |
||
3526 | #define EXTI_FTSR_FT0 EXTI_FTSR_TR0 |
||
3527 | #define EXTI_FTSR_FT1 EXTI_FTSR_TR1 |
||
3528 | #define EXTI_FTSR_FT2 EXTI_FTSR_TR2 |
||
3529 | #define EXTI_FTSR_FT3 EXTI_FTSR_TR3 |
||
3530 | #define EXTI_FTSR_FT4 EXTI_FTSR_TR4 |
||
3531 | #define EXTI_FTSR_FT5 EXTI_FTSR_TR5 |
||
3532 | #define EXTI_FTSR_FT6 EXTI_FTSR_TR6 |
||
3533 | #define EXTI_FTSR_FT7 EXTI_FTSR_TR7 |
||
3534 | #define EXTI_FTSR_FT8 EXTI_FTSR_TR8 |
||
3535 | #define EXTI_FTSR_FT9 EXTI_FTSR_TR9 |
||
3536 | #define EXTI_FTSR_FT10 EXTI_FTSR_TR10 |
||
3537 | #define EXTI_FTSR_FT11 EXTI_FTSR_TR11 |
||
3538 | #define EXTI_FTSR_FT12 EXTI_FTSR_TR12 |
||
3539 | #define EXTI_FTSR_FT13 EXTI_FTSR_TR13 |
||
3540 | #define EXTI_FTSR_FT14 EXTI_FTSR_TR14 |
||
3541 | #define EXTI_FTSR_FT15 EXTI_FTSR_TR15 |
||
3542 | #define EXTI_FTSR_FT16 EXTI_FTSR_TR16 |
||
3543 | #define EXTI_FTSR_FT17 EXTI_FTSR_TR17 |
||
3544 | #define EXTI_FTSR_FT18 EXTI_FTSR_TR18 |
||
3545 | #define EXTI_FTSR_FT19 EXTI_FTSR_TR19 |
||
3546 | |||
3547 | /****************** Bit definition for EXTI_SWIER register ******************/ |
||
3548 | #define EXTI_SWIER_SWIER0_Pos (0U) |
||
9 | mjames | 3549 | #define EXTI_SWIER_SWIER0_Msk (0x1UL << EXTI_SWIER_SWIER0_Pos) /*!< 0x00000001 */ |
2 | mjames | 3550 | #define EXTI_SWIER_SWIER0 EXTI_SWIER_SWIER0_Msk /*!< Software Interrupt on line 0 */ |
3551 | #define EXTI_SWIER_SWIER1_Pos (1U) |
||
9 | mjames | 3552 | #define EXTI_SWIER_SWIER1_Msk (0x1UL << EXTI_SWIER_SWIER1_Pos) /*!< 0x00000002 */ |
2 | mjames | 3553 | #define EXTI_SWIER_SWIER1 EXTI_SWIER_SWIER1_Msk /*!< Software Interrupt on line 1 */ |
3554 | #define EXTI_SWIER_SWIER2_Pos (2U) |
||
9 | mjames | 3555 | #define EXTI_SWIER_SWIER2_Msk (0x1UL << EXTI_SWIER_SWIER2_Pos) /*!< 0x00000004 */ |
2 | mjames | 3556 | #define EXTI_SWIER_SWIER2 EXTI_SWIER_SWIER2_Msk /*!< Software Interrupt on line 2 */ |
3557 | #define EXTI_SWIER_SWIER3_Pos (3U) |
||
9 | mjames | 3558 | #define EXTI_SWIER_SWIER3_Msk (0x1UL << EXTI_SWIER_SWIER3_Pos) /*!< 0x00000008 */ |
2 | mjames | 3559 | #define EXTI_SWIER_SWIER3 EXTI_SWIER_SWIER3_Msk /*!< Software Interrupt on line 3 */ |
3560 | #define EXTI_SWIER_SWIER4_Pos (4U) |
||
9 | mjames | 3561 | #define EXTI_SWIER_SWIER4_Msk (0x1UL << EXTI_SWIER_SWIER4_Pos) /*!< 0x00000010 */ |
2 | mjames | 3562 | #define EXTI_SWIER_SWIER4 EXTI_SWIER_SWIER4_Msk /*!< Software Interrupt on line 4 */ |
3563 | #define EXTI_SWIER_SWIER5_Pos (5U) |
||
9 | mjames | 3564 | #define EXTI_SWIER_SWIER5_Msk (0x1UL << EXTI_SWIER_SWIER5_Pos) /*!< 0x00000020 */ |
2 | mjames | 3565 | #define EXTI_SWIER_SWIER5 EXTI_SWIER_SWIER5_Msk /*!< Software Interrupt on line 5 */ |
3566 | #define EXTI_SWIER_SWIER6_Pos (6U) |
||
9 | mjames | 3567 | #define EXTI_SWIER_SWIER6_Msk (0x1UL << EXTI_SWIER_SWIER6_Pos) /*!< 0x00000040 */ |
2 | mjames | 3568 | #define EXTI_SWIER_SWIER6 EXTI_SWIER_SWIER6_Msk /*!< Software Interrupt on line 6 */ |
3569 | #define EXTI_SWIER_SWIER7_Pos (7U) |
||
9 | mjames | 3570 | #define EXTI_SWIER_SWIER7_Msk (0x1UL << EXTI_SWIER_SWIER7_Pos) /*!< 0x00000080 */ |
2 | mjames | 3571 | #define EXTI_SWIER_SWIER7 EXTI_SWIER_SWIER7_Msk /*!< Software Interrupt on line 7 */ |
3572 | #define EXTI_SWIER_SWIER8_Pos (8U) |
||
9 | mjames | 3573 | #define EXTI_SWIER_SWIER8_Msk (0x1UL << EXTI_SWIER_SWIER8_Pos) /*!< 0x00000100 */ |
2 | mjames | 3574 | #define EXTI_SWIER_SWIER8 EXTI_SWIER_SWIER8_Msk /*!< Software Interrupt on line 8 */ |
3575 | #define EXTI_SWIER_SWIER9_Pos (9U) |
||
9 | mjames | 3576 | #define EXTI_SWIER_SWIER9_Msk (0x1UL << EXTI_SWIER_SWIER9_Pos) /*!< 0x00000200 */ |
2 | mjames | 3577 | #define EXTI_SWIER_SWIER9 EXTI_SWIER_SWIER9_Msk /*!< Software Interrupt on line 9 */ |
3578 | #define EXTI_SWIER_SWIER10_Pos (10U) |
||
9 | mjames | 3579 | #define EXTI_SWIER_SWIER10_Msk (0x1UL << EXTI_SWIER_SWIER10_Pos) /*!< 0x00000400 */ |
2 | mjames | 3580 | #define EXTI_SWIER_SWIER10 EXTI_SWIER_SWIER10_Msk /*!< Software Interrupt on line 10 */ |
3581 | #define EXTI_SWIER_SWIER11_Pos (11U) |
||
9 | mjames | 3582 | #define EXTI_SWIER_SWIER11_Msk (0x1UL << EXTI_SWIER_SWIER11_Pos) /*!< 0x00000800 */ |
2 | mjames | 3583 | #define EXTI_SWIER_SWIER11 EXTI_SWIER_SWIER11_Msk /*!< Software Interrupt on line 11 */ |
3584 | #define EXTI_SWIER_SWIER12_Pos (12U) |
||
9 | mjames | 3585 | #define EXTI_SWIER_SWIER12_Msk (0x1UL << EXTI_SWIER_SWIER12_Pos) /*!< 0x00001000 */ |
2 | mjames | 3586 | #define EXTI_SWIER_SWIER12 EXTI_SWIER_SWIER12_Msk /*!< Software Interrupt on line 12 */ |
3587 | #define EXTI_SWIER_SWIER13_Pos (13U) |
||
9 | mjames | 3588 | #define EXTI_SWIER_SWIER13_Msk (0x1UL << EXTI_SWIER_SWIER13_Pos) /*!< 0x00002000 */ |
2 | mjames | 3589 | #define EXTI_SWIER_SWIER13 EXTI_SWIER_SWIER13_Msk /*!< Software Interrupt on line 13 */ |
3590 | #define EXTI_SWIER_SWIER14_Pos (14U) |
||
9 | mjames | 3591 | #define EXTI_SWIER_SWIER14_Msk (0x1UL << EXTI_SWIER_SWIER14_Pos) /*!< 0x00004000 */ |
2 | mjames | 3592 | #define EXTI_SWIER_SWIER14 EXTI_SWIER_SWIER14_Msk /*!< Software Interrupt on line 14 */ |
3593 | #define EXTI_SWIER_SWIER15_Pos (15U) |
||
9 | mjames | 3594 | #define EXTI_SWIER_SWIER15_Msk (0x1UL << EXTI_SWIER_SWIER15_Pos) /*!< 0x00008000 */ |
2 | mjames | 3595 | #define EXTI_SWIER_SWIER15 EXTI_SWIER_SWIER15_Msk /*!< Software Interrupt on line 15 */ |
3596 | #define EXTI_SWIER_SWIER16_Pos (16U) |
||
9 | mjames | 3597 | #define EXTI_SWIER_SWIER16_Msk (0x1UL << EXTI_SWIER_SWIER16_Pos) /*!< 0x00010000 */ |
2 | mjames | 3598 | #define EXTI_SWIER_SWIER16 EXTI_SWIER_SWIER16_Msk /*!< Software Interrupt on line 16 */ |
3599 | #define EXTI_SWIER_SWIER17_Pos (17U) |
||
9 | mjames | 3600 | #define EXTI_SWIER_SWIER17_Msk (0x1UL << EXTI_SWIER_SWIER17_Pos) /*!< 0x00020000 */ |
2 | mjames | 3601 | #define EXTI_SWIER_SWIER17 EXTI_SWIER_SWIER17_Msk /*!< Software Interrupt on line 17 */ |
3602 | #define EXTI_SWIER_SWIER18_Pos (18U) |
||
9 | mjames | 3603 | #define EXTI_SWIER_SWIER18_Msk (0x1UL << EXTI_SWIER_SWIER18_Pos) /*!< 0x00040000 */ |
2 | mjames | 3604 | #define EXTI_SWIER_SWIER18 EXTI_SWIER_SWIER18_Msk /*!< Software Interrupt on line 18 */ |
3605 | #define EXTI_SWIER_SWIER19_Pos (19U) |
||
9 | mjames | 3606 | #define EXTI_SWIER_SWIER19_Msk (0x1UL << EXTI_SWIER_SWIER19_Pos) /*!< 0x00080000 */ |
2 | mjames | 3607 | #define EXTI_SWIER_SWIER19 EXTI_SWIER_SWIER19_Msk /*!< Software Interrupt on line 19 */ |
3608 | |||
3609 | /* References Defines */ |
||
3610 | #define EXTI_SWIER_SWI0 EXTI_SWIER_SWIER0 |
||
3611 | #define EXTI_SWIER_SWI1 EXTI_SWIER_SWIER1 |
||
3612 | #define EXTI_SWIER_SWI2 EXTI_SWIER_SWIER2 |
||
3613 | #define EXTI_SWIER_SWI3 EXTI_SWIER_SWIER3 |
||
3614 | #define EXTI_SWIER_SWI4 EXTI_SWIER_SWIER4 |
||
3615 | #define EXTI_SWIER_SWI5 EXTI_SWIER_SWIER5 |
||
3616 | #define EXTI_SWIER_SWI6 EXTI_SWIER_SWIER6 |
||
3617 | #define EXTI_SWIER_SWI7 EXTI_SWIER_SWIER7 |
||
3618 | #define EXTI_SWIER_SWI8 EXTI_SWIER_SWIER8 |
||
3619 | #define EXTI_SWIER_SWI9 EXTI_SWIER_SWIER9 |
||
3620 | #define EXTI_SWIER_SWI10 EXTI_SWIER_SWIER10 |
||
3621 | #define EXTI_SWIER_SWI11 EXTI_SWIER_SWIER11 |
||
3622 | #define EXTI_SWIER_SWI12 EXTI_SWIER_SWIER12 |
||
3623 | #define EXTI_SWIER_SWI13 EXTI_SWIER_SWIER13 |
||
3624 | #define EXTI_SWIER_SWI14 EXTI_SWIER_SWIER14 |
||
3625 | #define EXTI_SWIER_SWI15 EXTI_SWIER_SWIER15 |
||
3626 | #define EXTI_SWIER_SWI16 EXTI_SWIER_SWIER16 |
||
3627 | #define EXTI_SWIER_SWI17 EXTI_SWIER_SWIER17 |
||
3628 | #define EXTI_SWIER_SWI18 EXTI_SWIER_SWIER18 |
||
3629 | #define EXTI_SWIER_SWI19 EXTI_SWIER_SWIER19 |
||
3630 | |||
3631 | /******************* Bit definition for EXTI_PR register ********************/ |
||
3632 | #define EXTI_PR_PR0_Pos (0U) |
||
9 | mjames | 3633 | #define EXTI_PR_PR0_Msk (0x1UL << EXTI_PR_PR0_Pos) /*!< 0x00000001 */ |
2 | mjames | 3634 | #define EXTI_PR_PR0 EXTI_PR_PR0_Msk /*!< Pending bit for line 0 */ |
3635 | #define EXTI_PR_PR1_Pos (1U) |
||
9 | mjames | 3636 | #define EXTI_PR_PR1_Msk (0x1UL << EXTI_PR_PR1_Pos) /*!< 0x00000002 */ |
2 | mjames | 3637 | #define EXTI_PR_PR1 EXTI_PR_PR1_Msk /*!< Pending bit for line 1 */ |
3638 | #define EXTI_PR_PR2_Pos (2U) |
||
9 | mjames | 3639 | #define EXTI_PR_PR2_Msk (0x1UL << EXTI_PR_PR2_Pos) /*!< 0x00000004 */ |
2 | mjames | 3640 | #define EXTI_PR_PR2 EXTI_PR_PR2_Msk /*!< Pending bit for line 2 */ |
3641 | #define EXTI_PR_PR3_Pos (3U) |
||
9 | mjames | 3642 | #define EXTI_PR_PR3_Msk (0x1UL << EXTI_PR_PR3_Pos) /*!< 0x00000008 */ |
2 | mjames | 3643 | #define EXTI_PR_PR3 EXTI_PR_PR3_Msk /*!< Pending bit for line 3 */ |
3644 | #define EXTI_PR_PR4_Pos (4U) |
||
9 | mjames | 3645 | #define EXTI_PR_PR4_Msk (0x1UL << EXTI_PR_PR4_Pos) /*!< 0x00000010 */ |
2 | mjames | 3646 | #define EXTI_PR_PR4 EXTI_PR_PR4_Msk /*!< Pending bit for line 4 */ |
3647 | #define EXTI_PR_PR5_Pos (5U) |
||
9 | mjames | 3648 | #define EXTI_PR_PR5_Msk (0x1UL << EXTI_PR_PR5_Pos) /*!< 0x00000020 */ |
2 | mjames | 3649 | #define EXTI_PR_PR5 EXTI_PR_PR5_Msk /*!< Pending bit for line 5 */ |
3650 | #define EXTI_PR_PR6_Pos (6U) |
||
9 | mjames | 3651 | #define EXTI_PR_PR6_Msk (0x1UL << EXTI_PR_PR6_Pos) /*!< 0x00000040 */ |
2 | mjames | 3652 | #define EXTI_PR_PR6 EXTI_PR_PR6_Msk /*!< Pending bit for line 6 */ |
3653 | #define EXTI_PR_PR7_Pos (7U) |
||
9 | mjames | 3654 | #define EXTI_PR_PR7_Msk (0x1UL << EXTI_PR_PR7_Pos) /*!< 0x00000080 */ |
2 | mjames | 3655 | #define EXTI_PR_PR7 EXTI_PR_PR7_Msk /*!< Pending bit for line 7 */ |
3656 | #define EXTI_PR_PR8_Pos (8U) |
||
9 | mjames | 3657 | #define EXTI_PR_PR8_Msk (0x1UL << EXTI_PR_PR8_Pos) /*!< 0x00000100 */ |
2 | mjames | 3658 | #define EXTI_PR_PR8 EXTI_PR_PR8_Msk /*!< Pending bit for line 8 */ |
3659 | #define EXTI_PR_PR9_Pos (9U) |
||
9 | mjames | 3660 | #define EXTI_PR_PR9_Msk (0x1UL << EXTI_PR_PR9_Pos) /*!< 0x00000200 */ |
2 | mjames | 3661 | #define EXTI_PR_PR9 EXTI_PR_PR9_Msk /*!< Pending bit for line 9 */ |
3662 | #define EXTI_PR_PR10_Pos (10U) |
||
9 | mjames | 3663 | #define EXTI_PR_PR10_Msk (0x1UL << EXTI_PR_PR10_Pos) /*!< 0x00000400 */ |
2 | mjames | 3664 | #define EXTI_PR_PR10 EXTI_PR_PR10_Msk /*!< Pending bit for line 10 */ |
3665 | #define EXTI_PR_PR11_Pos (11U) |
||
9 | mjames | 3666 | #define EXTI_PR_PR11_Msk (0x1UL << EXTI_PR_PR11_Pos) /*!< 0x00000800 */ |
2 | mjames | 3667 | #define EXTI_PR_PR11 EXTI_PR_PR11_Msk /*!< Pending bit for line 11 */ |
3668 | #define EXTI_PR_PR12_Pos (12U) |
||
9 | mjames | 3669 | #define EXTI_PR_PR12_Msk (0x1UL << EXTI_PR_PR12_Pos) /*!< 0x00001000 */ |
2 | mjames | 3670 | #define EXTI_PR_PR12 EXTI_PR_PR12_Msk /*!< Pending bit for line 12 */ |
3671 | #define EXTI_PR_PR13_Pos (13U) |
||
9 | mjames | 3672 | #define EXTI_PR_PR13_Msk (0x1UL << EXTI_PR_PR13_Pos) /*!< 0x00002000 */ |
2 | mjames | 3673 | #define EXTI_PR_PR13 EXTI_PR_PR13_Msk /*!< Pending bit for line 13 */ |
3674 | #define EXTI_PR_PR14_Pos (14U) |
||
9 | mjames | 3675 | #define EXTI_PR_PR14_Msk (0x1UL << EXTI_PR_PR14_Pos) /*!< 0x00004000 */ |
2 | mjames | 3676 | #define EXTI_PR_PR14 EXTI_PR_PR14_Msk /*!< Pending bit for line 14 */ |
3677 | #define EXTI_PR_PR15_Pos (15U) |
||
9 | mjames | 3678 | #define EXTI_PR_PR15_Msk (0x1UL << EXTI_PR_PR15_Pos) /*!< 0x00008000 */ |
2 | mjames | 3679 | #define EXTI_PR_PR15 EXTI_PR_PR15_Msk /*!< Pending bit for line 15 */ |
3680 | #define EXTI_PR_PR16_Pos (16U) |
||
9 | mjames | 3681 | #define EXTI_PR_PR16_Msk (0x1UL << EXTI_PR_PR16_Pos) /*!< 0x00010000 */ |
2 | mjames | 3682 | #define EXTI_PR_PR16 EXTI_PR_PR16_Msk /*!< Pending bit for line 16 */ |
3683 | #define EXTI_PR_PR17_Pos (17U) |
||
9 | mjames | 3684 | #define EXTI_PR_PR17_Msk (0x1UL << EXTI_PR_PR17_Pos) /*!< 0x00020000 */ |
2 | mjames | 3685 | #define EXTI_PR_PR17 EXTI_PR_PR17_Msk /*!< Pending bit for line 17 */ |
3686 | #define EXTI_PR_PR18_Pos (18U) |
||
9 | mjames | 3687 | #define EXTI_PR_PR18_Msk (0x1UL << EXTI_PR_PR18_Pos) /*!< 0x00040000 */ |
2 | mjames | 3688 | #define EXTI_PR_PR18 EXTI_PR_PR18_Msk /*!< Pending bit for line 18 */ |
3689 | #define EXTI_PR_PR19_Pos (19U) |
||
9 | mjames | 3690 | #define EXTI_PR_PR19_Msk (0x1UL << EXTI_PR_PR19_Pos) /*!< 0x00080000 */ |
2 | mjames | 3691 | #define EXTI_PR_PR19 EXTI_PR_PR19_Msk /*!< Pending bit for line 19 */ |
3692 | |||
3693 | /* References Defines */ |
||
3694 | #define EXTI_PR_PIF0 EXTI_PR_PR0 |
||
3695 | #define EXTI_PR_PIF1 EXTI_PR_PR1 |
||
3696 | #define EXTI_PR_PIF2 EXTI_PR_PR2 |
||
3697 | #define EXTI_PR_PIF3 EXTI_PR_PR3 |
||
3698 | #define EXTI_PR_PIF4 EXTI_PR_PR4 |
||
3699 | #define EXTI_PR_PIF5 EXTI_PR_PR5 |
||
3700 | #define EXTI_PR_PIF6 EXTI_PR_PR6 |
||
3701 | #define EXTI_PR_PIF7 EXTI_PR_PR7 |
||
3702 | #define EXTI_PR_PIF8 EXTI_PR_PR8 |
||
3703 | #define EXTI_PR_PIF9 EXTI_PR_PR9 |
||
3704 | #define EXTI_PR_PIF10 EXTI_PR_PR10 |
||
3705 | #define EXTI_PR_PIF11 EXTI_PR_PR11 |
||
3706 | #define EXTI_PR_PIF12 EXTI_PR_PR12 |
||
3707 | #define EXTI_PR_PIF13 EXTI_PR_PR13 |
||
3708 | #define EXTI_PR_PIF14 EXTI_PR_PR14 |
||
3709 | #define EXTI_PR_PIF15 EXTI_PR_PR15 |
||
3710 | #define EXTI_PR_PIF16 EXTI_PR_PR16 |
||
3711 | #define EXTI_PR_PIF17 EXTI_PR_PR17 |
||
3712 | #define EXTI_PR_PIF18 EXTI_PR_PR18 |
||
3713 | #define EXTI_PR_PIF19 EXTI_PR_PR19 |
||
3714 | |||
3715 | /******************************************************************************/ |
||
3716 | /* */ |
||
3717 | /* DMA Controller */ |
||
3718 | /* */ |
||
3719 | /******************************************************************************/ |
||
3720 | |||
3721 | /******************* Bit definition for DMA_ISR register ********************/ |
||
3722 | #define DMA_ISR_GIF1_Pos (0U) |
||
9 | mjames | 3723 | #define DMA_ISR_GIF1_Msk (0x1UL << DMA_ISR_GIF1_Pos) /*!< 0x00000001 */ |
2 | mjames | 3724 | #define DMA_ISR_GIF1 DMA_ISR_GIF1_Msk /*!< Channel 1 Global interrupt flag */ |
3725 | #define DMA_ISR_TCIF1_Pos (1U) |
||
9 | mjames | 3726 | #define DMA_ISR_TCIF1_Msk (0x1UL << DMA_ISR_TCIF1_Pos) /*!< 0x00000002 */ |
2 | mjames | 3727 | #define DMA_ISR_TCIF1 DMA_ISR_TCIF1_Msk /*!< Channel 1 Transfer Complete flag */ |
3728 | #define DMA_ISR_HTIF1_Pos (2U) |
||
9 | mjames | 3729 | #define DMA_ISR_HTIF1_Msk (0x1UL << DMA_ISR_HTIF1_Pos) /*!< 0x00000004 */ |
2 | mjames | 3730 | #define DMA_ISR_HTIF1 DMA_ISR_HTIF1_Msk /*!< Channel 1 Half Transfer flag */ |
3731 | #define DMA_ISR_TEIF1_Pos (3U) |
||
9 | mjames | 3732 | #define DMA_ISR_TEIF1_Msk (0x1UL << DMA_ISR_TEIF1_Pos) /*!< 0x00000008 */ |
2 | mjames | 3733 | #define DMA_ISR_TEIF1 DMA_ISR_TEIF1_Msk /*!< Channel 1 Transfer Error flag */ |
3734 | #define DMA_ISR_GIF2_Pos (4U) |
||
9 | mjames | 3735 | #define DMA_ISR_GIF2_Msk (0x1UL << DMA_ISR_GIF2_Pos) /*!< 0x00000010 */ |
2 | mjames | 3736 | #define DMA_ISR_GIF2 DMA_ISR_GIF2_Msk /*!< Channel 2 Global interrupt flag */ |
3737 | #define DMA_ISR_TCIF2_Pos (5U) |
||
9 | mjames | 3738 | #define DMA_ISR_TCIF2_Msk (0x1UL << DMA_ISR_TCIF2_Pos) /*!< 0x00000020 */ |
2 | mjames | 3739 | #define DMA_ISR_TCIF2 DMA_ISR_TCIF2_Msk /*!< Channel 2 Transfer Complete flag */ |
3740 | #define DMA_ISR_HTIF2_Pos (6U) |
||
9 | mjames | 3741 | #define DMA_ISR_HTIF2_Msk (0x1UL << DMA_ISR_HTIF2_Pos) /*!< 0x00000040 */ |
2 | mjames | 3742 | #define DMA_ISR_HTIF2 DMA_ISR_HTIF2_Msk /*!< Channel 2 Half Transfer flag */ |
3743 | #define DMA_ISR_TEIF2_Pos (7U) |
||
9 | mjames | 3744 | #define DMA_ISR_TEIF2_Msk (0x1UL << DMA_ISR_TEIF2_Pos) /*!< 0x00000080 */ |
2 | mjames | 3745 | #define DMA_ISR_TEIF2 DMA_ISR_TEIF2_Msk /*!< Channel 2 Transfer Error flag */ |
3746 | #define DMA_ISR_GIF3_Pos (8U) |
||
9 | mjames | 3747 | #define DMA_ISR_GIF3_Msk (0x1UL << DMA_ISR_GIF3_Pos) /*!< 0x00000100 */ |
2 | mjames | 3748 | #define DMA_ISR_GIF3 DMA_ISR_GIF3_Msk /*!< Channel 3 Global interrupt flag */ |
3749 | #define DMA_ISR_TCIF3_Pos (9U) |
||
9 | mjames | 3750 | #define DMA_ISR_TCIF3_Msk (0x1UL << DMA_ISR_TCIF3_Pos) /*!< 0x00000200 */ |
2 | mjames | 3751 | #define DMA_ISR_TCIF3 DMA_ISR_TCIF3_Msk /*!< Channel 3 Transfer Complete flag */ |
3752 | #define DMA_ISR_HTIF3_Pos (10U) |
||
9 | mjames | 3753 | #define DMA_ISR_HTIF3_Msk (0x1UL << DMA_ISR_HTIF3_Pos) /*!< 0x00000400 */ |
2 | mjames | 3754 | #define DMA_ISR_HTIF3 DMA_ISR_HTIF3_Msk /*!< Channel 3 Half Transfer flag */ |
3755 | #define DMA_ISR_TEIF3_Pos (11U) |
||
9 | mjames | 3756 | #define DMA_ISR_TEIF3_Msk (0x1UL << DMA_ISR_TEIF3_Pos) /*!< 0x00000800 */ |
2 | mjames | 3757 | #define DMA_ISR_TEIF3 DMA_ISR_TEIF3_Msk /*!< Channel 3 Transfer Error flag */ |
3758 | #define DMA_ISR_GIF4_Pos (12U) |
||
9 | mjames | 3759 | #define DMA_ISR_GIF4_Msk (0x1UL << DMA_ISR_GIF4_Pos) /*!< 0x00001000 */ |
2 | mjames | 3760 | #define DMA_ISR_GIF4 DMA_ISR_GIF4_Msk /*!< Channel 4 Global interrupt flag */ |
3761 | #define DMA_ISR_TCIF4_Pos (13U) |
||
9 | mjames | 3762 | #define DMA_ISR_TCIF4_Msk (0x1UL << DMA_ISR_TCIF4_Pos) /*!< 0x00002000 */ |
2 | mjames | 3763 | #define DMA_ISR_TCIF4 DMA_ISR_TCIF4_Msk /*!< Channel 4 Transfer Complete flag */ |
3764 | #define DMA_ISR_HTIF4_Pos (14U) |
||
9 | mjames | 3765 | #define DMA_ISR_HTIF4_Msk (0x1UL << DMA_ISR_HTIF4_Pos) /*!< 0x00004000 */ |
2 | mjames | 3766 | #define DMA_ISR_HTIF4 DMA_ISR_HTIF4_Msk /*!< Channel 4 Half Transfer flag */ |
3767 | #define DMA_ISR_TEIF4_Pos (15U) |
||
9 | mjames | 3768 | #define DMA_ISR_TEIF4_Msk (0x1UL << DMA_ISR_TEIF4_Pos) /*!< 0x00008000 */ |
2 | mjames | 3769 | #define DMA_ISR_TEIF4 DMA_ISR_TEIF4_Msk /*!< Channel 4 Transfer Error flag */ |
3770 | #define DMA_ISR_GIF5_Pos (16U) |
||
9 | mjames | 3771 | #define DMA_ISR_GIF5_Msk (0x1UL << DMA_ISR_GIF5_Pos) /*!< 0x00010000 */ |
2 | mjames | 3772 | #define DMA_ISR_GIF5 DMA_ISR_GIF5_Msk /*!< Channel 5 Global interrupt flag */ |
3773 | #define DMA_ISR_TCIF5_Pos (17U) |
||
9 | mjames | 3774 | #define DMA_ISR_TCIF5_Msk (0x1UL << DMA_ISR_TCIF5_Pos) /*!< 0x00020000 */ |
2 | mjames | 3775 | #define DMA_ISR_TCIF5 DMA_ISR_TCIF5_Msk /*!< Channel 5 Transfer Complete flag */ |
3776 | #define DMA_ISR_HTIF5_Pos (18U) |
||
9 | mjames | 3777 | #define DMA_ISR_HTIF5_Msk (0x1UL << DMA_ISR_HTIF5_Pos) /*!< 0x00040000 */ |
2 | mjames | 3778 | #define DMA_ISR_HTIF5 DMA_ISR_HTIF5_Msk /*!< Channel 5 Half Transfer flag */ |
3779 | #define DMA_ISR_TEIF5_Pos (19U) |
||
9 | mjames | 3780 | #define DMA_ISR_TEIF5_Msk (0x1UL << DMA_ISR_TEIF5_Pos) /*!< 0x00080000 */ |
2 | mjames | 3781 | #define DMA_ISR_TEIF5 DMA_ISR_TEIF5_Msk /*!< Channel 5 Transfer Error flag */ |
3782 | #define DMA_ISR_GIF6_Pos (20U) |
||
9 | mjames | 3783 | #define DMA_ISR_GIF6_Msk (0x1UL << DMA_ISR_GIF6_Pos) /*!< 0x00100000 */ |
2 | mjames | 3784 | #define DMA_ISR_GIF6 DMA_ISR_GIF6_Msk /*!< Channel 6 Global interrupt flag */ |
3785 | #define DMA_ISR_TCIF6_Pos (21U) |
||
9 | mjames | 3786 | #define DMA_ISR_TCIF6_Msk (0x1UL << DMA_ISR_TCIF6_Pos) /*!< 0x00200000 */ |
2 | mjames | 3787 | #define DMA_ISR_TCIF6 DMA_ISR_TCIF6_Msk /*!< Channel 6 Transfer Complete flag */ |
3788 | #define DMA_ISR_HTIF6_Pos (22U) |
||
9 | mjames | 3789 | #define DMA_ISR_HTIF6_Msk (0x1UL << DMA_ISR_HTIF6_Pos) /*!< 0x00400000 */ |
2 | mjames | 3790 | #define DMA_ISR_HTIF6 DMA_ISR_HTIF6_Msk /*!< Channel 6 Half Transfer flag */ |
3791 | #define DMA_ISR_TEIF6_Pos (23U) |
||
9 | mjames | 3792 | #define DMA_ISR_TEIF6_Msk (0x1UL << DMA_ISR_TEIF6_Pos) /*!< 0x00800000 */ |
2 | mjames | 3793 | #define DMA_ISR_TEIF6 DMA_ISR_TEIF6_Msk /*!< Channel 6 Transfer Error flag */ |
3794 | #define DMA_ISR_GIF7_Pos (24U) |
||
9 | mjames | 3795 | #define DMA_ISR_GIF7_Msk (0x1UL << DMA_ISR_GIF7_Pos) /*!< 0x01000000 */ |
2 | mjames | 3796 | #define DMA_ISR_GIF7 DMA_ISR_GIF7_Msk /*!< Channel 7 Global interrupt flag */ |
3797 | #define DMA_ISR_TCIF7_Pos (25U) |
||
9 | mjames | 3798 | #define DMA_ISR_TCIF7_Msk (0x1UL << DMA_ISR_TCIF7_Pos) /*!< 0x02000000 */ |
2 | mjames | 3799 | #define DMA_ISR_TCIF7 DMA_ISR_TCIF7_Msk /*!< Channel 7 Transfer Complete flag */ |
3800 | #define DMA_ISR_HTIF7_Pos (26U) |
||
9 | mjames | 3801 | #define DMA_ISR_HTIF7_Msk (0x1UL << DMA_ISR_HTIF7_Pos) /*!< 0x04000000 */ |
2 | mjames | 3802 | #define DMA_ISR_HTIF7 DMA_ISR_HTIF7_Msk /*!< Channel 7 Half Transfer flag */ |
3803 | #define DMA_ISR_TEIF7_Pos (27U) |
||
9 | mjames | 3804 | #define DMA_ISR_TEIF7_Msk (0x1UL << DMA_ISR_TEIF7_Pos) /*!< 0x08000000 */ |
2 | mjames | 3805 | #define DMA_ISR_TEIF7 DMA_ISR_TEIF7_Msk /*!< Channel 7 Transfer Error flag */ |
3806 | |||
3807 | /******************* Bit definition for DMA_IFCR register *******************/ |
||
3808 | #define DMA_IFCR_CGIF1_Pos (0U) |
||
9 | mjames | 3809 | #define DMA_IFCR_CGIF1_Msk (0x1UL << DMA_IFCR_CGIF1_Pos) /*!< 0x00000001 */ |
2 | mjames | 3810 | #define DMA_IFCR_CGIF1 DMA_IFCR_CGIF1_Msk /*!< Channel 1 Global interrupt clear */ |
3811 | #define DMA_IFCR_CTCIF1_Pos (1U) |
||
9 | mjames | 3812 | #define DMA_IFCR_CTCIF1_Msk (0x1UL << DMA_IFCR_CTCIF1_Pos) /*!< 0x00000002 */ |
2 | mjames | 3813 | #define DMA_IFCR_CTCIF1 DMA_IFCR_CTCIF1_Msk /*!< Channel 1 Transfer Complete clear */ |
3814 | #define DMA_IFCR_CHTIF1_Pos (2U) |
||
9 | mjames | 3815 | #define DMA_IFCR_CHTIF1_Msk (0x1UL << DMA_IFCR_CHTIF1_Pos) /*!< 0x00000004 */ |
2 | mjames | 3816 | #define DMA_IFCR_CHTIF1 DMA_IFCR_CHTIF1_Msk /*!< Channel 1 Half Transfer clear */ |
3817 | #define DMA_IFCR_CTEIF1_Pos (3U) |
||
9 | mjames | 3818 | #define DMA_IFCR_CTEIF1_Msk (0x1UL << DMA_IFCR_CTEIF1_Pos) /*!< 0x00000008 */ |
2 | mjames | 3819 | #define DMA_IFCR_CTEIF1 DMA_IFCR_CTEIF1_Msk /*!< Channel 1 Transfer Error clear */ |
3820 | #define DMA_IFCR_CGIF2_Pos (4U) |
||
9 | mjames | 3821 | #define DMA_IFCR_CGIF2_Msk (0x1UL << DMA_IFCR_CGIF2_Pos) /*!< 0x00000010 */ |
2 | mjames | 3822 | #define DMA_IFCR_CGIF2 DMA_IFCR_CGIF2_Msk /*!< Channel 2 Global interrupt clear */ |
3823 | #define DMA_IFCR_CTCIF2_Pos (5U) |
||
9 | mjames | 3824 | #define DMA_IFCR_CTCIF2_Msk (0x1UL << DMA_IFCR_CTCIF2_Pos) /*!< 0x00000020 */ |
2 | mjames | 3825 | #define DMA_IFCR_CTCIF2 DMA_IFCR_CTCIF2_Msk /*!< Channel 2 Transfer Complete clear */ |
3826 | #define DMA_IFCR_CHTIF2_Pos (6U) |
||
9 | mjames | 3827 | #define DMA_IFCR_CHTIF2_Msk (0x1UL << DMA_IFCR_CHTIF2_Pos) /*!< 0x00000040 */ |
2 | mjames | 3828 | #define DMA_IFCR_CHTIF2 DMA_IFCR_CHTIF2_Msk /*!< Channel 2 Half Transfer clear */ |
3829 | #define DMA_IFCR_CTEIF2_Pos (7U) |
||
9 | mjames | 3830 | #define DMA_IFCR_CTEIF2_Msk (0x1UL << DMA_IFCR_CTEIF2_Pos) /*!< 0x00000080 */ |
2 | mjames | 3831 | #define DMA_IFCR_CTEIF2 DMA_IFCR_CTEIF2_Msk /*!< Channel 2 Transfer Error clear */ |
3832 | #define DMA_IFCR_CGIF3_Pos (8U) |
||
9 | mjames | 3833 | #define DMA_IFCR_CGIF3_Msk (0x1UL << DMA_IFCR_CGIF3_Pos) /*!< 0x00000100 */ |
2 | mjames | 3834 | #define DMA_IFCR_CGIF3 DMA_IFCR_CGIF3_Msk /*!< Channel 3 Global interrupt clear */ |
3835 | #define DMA_IFCR_CTCIF3_Pos (9U) |
||
9 | mjames | 3836 | #define DMA_IFCR_CTCIF3_Msk (0x1UL << DMA_IFCR_CTCIF3_Pos) /*!< 0x00000200 */ |
2 | mjames | 3837 | #define DMA_IFCR_CTCIF3 DMA_IFCR_CTCIF3_Msk /*!< Channel 3 Transfer Complete clear */ |
3838 | #define DMA_IFCR_CHTIF3_Pos (10U) |
||
9 | mjames | 3839 | #define DMA_IFCR_CHTIF3_Msk (0x1UL << DMA_IFCR_CHTIF3_Pos) /*!< 0x00000400 */ |
2 | mjames | 3840 | #define DMA_IFCR_CHTIF3 DMA_IFCR_CHTIF3_Msk /*!< Channel 3 Half Transfer clear */ |
3841 | #define DMA_IFCR_CTEIF3_Pos (11U) |
||
9 | mjames | 3842 | #define DMA_IFCR_CTEIF3_Msk (0x1UL << DMA_IFCR_CTEIF3_Pos) /*!< 0x00000800 */ |
2 | mjames | 3843 | #define DMA_IFCR_CTEIF3 DMA_IFCR_CTEIF3_Msk /*!< Channel 3 Transfer Error clear */ |
3844 | #define DMA_IFCR_CGIF4_Pos (12U) |
||
9 | mjames | 3845 | #define DMA_IFCR_CGIF4_Msk (0x1UL << DMA_IFCR_CGIF4_Pos) /*!< 0x00001000 */ |
2 | mjames | 3846 | #define DMA_IFCR_CGIF4 DMA_IFCR_CGIF4_Msk /*!< Channel 4 Global interrupt clear */ |
3847 | #define DMA_IFCR_CTCIF4_Pos (13U) |
||
9 | mjames | 3848 | #define DMA_IFCR_CTCIF4_Msk (0x1UL << DMA_IFCR_CTCIF4_Pos) /*!< 0x00002000 */ |
2 | mjames | 3849 | #define DMA_IFCR_CTCIF4 DMA_IFCR_CTCIF4_Msk /*!< Channel 4 Transfer Complete clear */ |
3850 | #define DMA_IFCR_CHTIF4_Pos (14U) |
||
9 | mjames | 3851 | #define DMA_IFCR_CHTIF4_Msk (0x1UL << DMA_IFCR_CHTIF4_Pos) /*!< 0x00004000 */ |
2 | mjames | 3852 | #define DMA_IFCR_CHTIF4 DMA_IFCR_CHTIF4_Msk /*!< Channel 4 Half Transfer clear */ |
3853 | #define DMA_IFCR_CTEIF4_Pos (15U) |
||
9 | mjames | 3854 | #define DMA_IFCR_CTEIF4_Msk (0x1UL << DMA_IFCR_CTEIF4_Pos) /*!< 0x00008000 */ |
2 | mjames | 3855 | #define DMA_IFCR_CTEIF4 DMA_IFCR_CTEIF4_Msk /*!< Channel 4 Transfer Error clear */ |
3856 | #define DMA_IFCR_CGIF5_Pos (16U) |
||
9 | mjames | 3857 | #define DMA_IFCR_CGIF5_Msk (0x1UL << DMA_IFCR_CGIF5_Pos) /*!< 0x00010000 */ |
2 | mjames | 3858 | #define DMA_IFCR_CGIF5 DMA_IFCR_CGIF5_Msk /*!< Channel 5 Global interrupt clear */ |
3859 | #define DMA_IFCR_CTCIF5_Pos (17U) |
||
9 | mjames | 3860 | #define DMA_IFCR_CTCIF5_Msk (0x1UL << DMA_IFCR_CTCIF5_Pos) /*!< 0x00020000 */ |
2 | mjames | 3861 | #define DMA_IFCR_CTCIF5 DMA_IFCR_CTCIF5_Msk /*!< Channel 5 Transfer Complete clear */ |
3862 | #define DMA_IFCR_CHTIF5_Pos (18U) |
||
9 | mjames | 3863 | #define DMA_IFCR_CHTIF5_Msk (0x1UL << DMA_IFCR_CHTIF5_Pos) /*!< 0x00040000 */ |
2 | mjames | 3864 | #define DMA_IFCR_CHTIF5 DMA_IFCR_CHTIF5_Msk /*!< Channel 5 Half Transfer clear */ |
3865 | #define DMA_IFCR_CTEIF5_Pos (19U) |
||
9 | mjames | 3866 | #define DMA_IFCR_CTEIF5_Msk (0x1UL << DMA_IFCR_CTEIF5_Pos) /*!< 0x00080000 */ |
2 | mjames | 3867 | #define DMA_IFCR_CTEIF5 DMA_IFCR_CTEIF5_Msk /*!< Channel 5 Transfer Error clear */ |
3868 | #define DMA_IFCR_CGIF6_Pos (20U) |
||
9 | mjames | 3869 | #define DMA_IFCR_CGIF6_Msk (0x1UL << DMA_IFCR_CGIF6_Pos) /*!< 0x00100000 */ |
2 | mjames | 3870 | #define DMA_IFCR_CGIF6 DMA_IFCR_CGIF6_Msk /*!< Channel 6 Global interrupt clear */ |
3871 | #define DMA_IFCR_CTCIF6_Pos (21U) |
||
9 | mjames | 3872 | #define DMA_IFCR_CTCIF6_Msk (0x1UL << DMA_IFCR_CTCIF6_Pos) /*!< 0x00200000 */ |
2 | mjames | 3873 | #define DMA_IFCR_CTCIF6 DMA_IFCR_CTCIF6_Msk /*!< Channel 6 Transfer Complete clear */ |
3874 | #define DMA_IFCR_CHTIF6_Pos (22U) |
||
9 | mjames | 3875 | #define DMA_IFCR_CHTIF6_Msk (0x1UL << DMA_IFCR_CHTIF6_Pos) /*!< 0x00400000 */ |
2 | mjames | 3876 | #define DMA_IFCR_CHTIF6 DMA_IFCR_CHTIF6_Msk /*!< Channel 6 Half Transfer clear */ |
3877 | #define DMA_IFCR_CTEIF6_Pos (23U) |
||
9 | mjames | 3878 | #define DMA_IFCR_CTEIF6_Msk (0x1UL << DMA_IFCR_CTEIF6_Pos) /*!< 0x00800000 */ |
2 | mjames | 3879 | #define DMA_IFCR_CTEIF6 DMA_IFCR_CTEIF6_Msk /*!< Channel 6 Transfer Error clear */ |
3880 | #define DMA_IFCR_CGIF7_Pos (24U) |
||
9 | mjames | 3881 | #define DMA_IFCR_CGIF7_Msk (0x1UL << DMA_IFCR_CGIF7_Pos) /*!< 0x01000000 */ |
2 | mjames | 3882 | #define DMA_IFCR_CGIF7 DMA_IFCR_CGIF7_Msk /*!< Channel 7 Global interrupt clear */ |
3883 | #define DMA_IFCR_CTCIF7_Pos (25U) |
||
9 | mjames | 3884 | #define DMA_IFCR_CTCIF7_Msk (0x1UL << DMA_IFCR_CTCIF7_Pos) /*!< 0x02000000 */ |
2 | mjames | 3885 | #define DMA_IFCR_CTCIF7 DMA_IFCR_CTCIF7_Msk /*!< Channel 7 Transfer Complete clear */ |
3886 | #define DMA_IFCR_CHTIF7_Pos (26U) |
||
9 | mjames | 3887 | #define DMA_IFCR_CHTIF7_Msk (0x1UL << DMA_IFCR_CHTIF7_Pos) /*!< 0x04000000 */ |
2 | mjames | 3888 | #define DMA_IFCR_CHTIF7 DMA_IFCR_CHTIF7_Msk /*!< Channel 7 Half Transfer clear */ |
3889 | #define DMA_IFCR_CTEIF7_Pos (27U) |
||
9 | mjames | 3890 | #define DMA_IFCR_CTEIF7_Msk (0x1UL << DMA_IFCR_CTEIF7_Pos) /*!< 0x08000000 */ |
2 | mjames | 3891 | #define DMA_IFCR_CTEIF7 DMA_IFCR_CTEIF7_Msk /*!< Channel 7 Transfer Error clear */ |
3892 | |||
3893 | /******************* Bit definition for DMA_CCR register *******************/ |
||
3894 | #define DMA_CCR_EN_Pos (0U) |
||
9 | mjames | 3895 | #define DMA_CCR_EN_Msk (0x1UL << DMA_CCR_EN_Pos) /*!< 0x00000001 */ |
2 | mjames | 3896 | #define DMA_CCR_EN DMA_CCR_EN_Msk /*!< Channel enable */ |
3897 | #define DMA_CCR_TCIE_Pos (1U) |
||
9 | mjames | 3898 | #define DMA_CCR_TCIE_Msk (0x1UL << DMA_CCR_TCIE_Pos) /*!< 0x00000002 */ |
2 | mjames | 3899 | #define DMA_CCR_TCIE DMA_CCR_TCIE_Msk /*!< Transfer complete interrupt enable */ |
3900 | #define DMA_CCR_HTIE_Pos (2U) |
||
9 | mjames | 3901 | #define DMA_CCR_HTIE_Msk (0x1UL << DMA_CCR_HTIE_Pos) /*!< 0x00000004 */ |
2 | mjames | 3902 | #define DMA_CCR_HTIE DMA_CCR_HTIE_Msk /*!< Half Transfer interrupt enable */ |
3903 | #define DMA_CCR_TEIE_Pos (3U) |
||
9 | mjames | 3904 | #define DMA_CCR_TEIE_Msk (0x1UL << DMA_CCR_TEIE_Pos) /*!< 0x00000008 */ |
2 | mjames | 3905 | #define DMA_CCR_TEIE DMA_CCR_TEIE_Msk /*!< Transfer error interrupt enable */ |
3906 | #define DMA_CCR_DIR_Pos (4U) |
||
9 | mjames | 3907 | #define DMA_CCR_DIR_Msk (0x1UL << DMA_CCR_DIR_Pos) /*!< 0x00000010 */ |
2 | mjames | 3908 | #define DMA_CCR_DIR DMA_CCR_DIR_Msk /*!< Data transfer direction */ |
3909 | #define DMA_CCR_CIRC_Pos (5U) |
||
9 | mjames | 3910 | #define DMA_CCR_CIRC_Msk (0x1UL << DMA_CCR_CIRC_Pos) /*!< 0x00000020 */ |
2 | mjames | 3911 | #define DMA_CCR_CIRC DMA_CCR_CIRC_Msk /*!< Circular mode */ |
3912 | #define DMA_CCR_PINC_Pos (6U) |
||
9 | mjames | 3913 | #define DMA_CCR_PINC_Msk (0x1UL << DMA_CCR_PINC_Pos) /*!< 0x00000040 */ |
2 | mjames | 3914 | #define DMA_CCR_PINC DMA_CCR_PINC_Msk /*!< Peripheral increment mode */ |
3915 | #define DMA_CCR_MINC_Pos (7U) |
||
9 | mjames | 3916 | #define DMA_CCR_MINC_Msk (0x1UL << DMA_CCR_MINC_Pos) /*!< 0x00000080 */ |
2 | mjames | 3917 | #define DMA_CCR_MINC DMA_CCR_MINC_Msk /*!< Memory increment mode */ |
3918 | |||
3919 | #define DMA_CCR_PSIZE_Pos (8U) |
||
9 | mjames | 3920 | #define DMA_CCR_PSIZE_Msk (0x3UL << DMA_CCR_PSIZE_Pos) /*!< 0x00000300 */ |
2 | mjames | 3921 | #define DMA_CCR_PSIZE DMA_CCR_PSIZE_Msk /*!< PSIZE[1:0] bits (Peripheral size) */ |
9 | mjames | 3922 | #define DMA_CCR_PSIZE_0 (0x1UL << DMA_CCR_PSIZE_Pos) /*!< 0x00000100 */ |
3923 | #define DMA_CCR_PSIZE_1 (0x2UL << DMA_CCR_PSIZE_Pos) /*!< 0x00000200 */ |
||
2 | mjames | 3924 | |
3925 | #define DMA_CCR_MSIZE_Pos (10U) |
||
9 | mjames | 3926 | #define DMA_CCR_MSIZE_Msk (0x3UL << DMA_CCR_MSIZE_Pos) /*!< 0x00000C00 */ |
2 | mjames | 3927 | #define DMA_CCR_MSIZE DMA_CCR_MSIZE_Msk /*!< MSIZE[1:0] bits (Memory size) */ |
9 | mjames | 3928 | #define DMA_CCR_MSIZE_0 (0x1UL << DMA_CCR_MSIZE_Pos) /*!< 0x00000400 */ |
3929 | #define DMA_CCR_MSIZE_1 (0x2UL << DMA_CCR_MSIZE_Pos) /*!< 0x00000800 */ |
||
2 | mjames | 3930 | |
3931 | #define DMA_CCR_PL_Pos (12U) |
||
9 | mjames | 3932 | #define DMA_CCR_PL_Msk (0x3UL << DMA_CCR_PL_Pos) /*!< 0x00003000 */ |
2 | mjames | 3933 | #define DMA_CCR_PL DMA_CCR_PL_Msk /*!< PL[1:0] bits(Channel Priority level) */ |
9 | mjames | 3934 | #define DMA_CCR_PL_0 (0x1UL << DMA_CCR_PL_Pos) /*!< 0x00001000 */ |
3935 | #define DMA_CCR_PL_1 (0x2UL << DMA_CCR_PL_Pos) /*!< 0x00002000 */ |
||
2 | mjames | 3936 | |
3937 | #define DMA_CCR_MEM2MEM_Pos (14U) |
||
9 | mjames | 3938 | #define DMA_CCR_MEM2MEM_Msk (0x1UL << DMA_CCR_MEM2MEM_Pos) /*!< 0x00004000 */ |
2 | mjames | 3939 | #define DMA_CCR_MEM2MEM DMA_CCR_MEM2MEM_Msk /*!< Memory to memory mode */ |
3940 | |||
3941 | /****************** Bit definition for DMA_CNDTR register ******************/ |
||
3942 | #define DMA_CNDTR_NDT_Pos (0U) |
||
9 | mjames | 3943 | #define DMA_CNDTR_NDT_Msk (0xFFFFUL << DMA_CNDTR_NDT_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 3944 | #define DMA_CNDTR_NDT DMA_CNDTR_NDT_Msk /*!< Number of data to Transfer */ |
3945 | |||
3946 | /****************** Bit definition for DMA_CPAR register *******************/ |
||
3947 | #define DMA_CPAR_PA_Pos (0U) |
||
9 | mjames | 3948 | #define DMA_CPAR_PA_Msk (0xFFFFFFFFUL << DMA_CPAR_PA_Pos) /*!< 0xFFFFFFFF */ |
2 | mjames | 3949 | #define DMA_CPAR_PA DMA_CPAR_PA_Msk /*!< Peripheral Address */ |
3950 | |||
3951 | /****************** Bit definition for DMA_CMAR register *******************/ |
||
3952 | #define DMA_CMAR_MA_Pos (0U) |
||
9 | mjames | 3953 | #define DMA_CMAR_MA_Msk (0xFFFFFFFFUL << DMA_CMAR_MA_Pos) /*!< 0xFFFFFFFF */ |
2 | mjames | 3954 | #define DMA_CMAR_MA DMA_CMAR_MA_Msk /*!< Memory Address */ |
3955 | |||
3956 | /******************************************************************************/ |
||
3957 | /* */ |
||
3958 | /* Analog to Digital Converter (ADC) */ |
||
3959 | /* */ |
||
3960 | /******************************************************************************/ |
||
3961 | |||
3962 | /* |
||
3963 | * @brief Specific device feature definitions (not present on all devices in the STM32F1 family) |
||
3964 | */ |
||
3965 | #define ADC_MULTIMODE_SUPPORT /*!< ADC feature available only on specific devices: multimode available on devices with several ADC instances */ |
||
3966 | |||
3967 | /******************** Bit definition for ADC_SR register ********************/ |
||
3968 | #define ADC_SR_AWD_Pos (0U) |
||
9 | mjames | 3969 | #define ADC_SR_AWD_Msk (0x1UL << ADC_SR_AWD_Pos) /*!< 0x00000001 */ |
2 | mjames | 3970 | #define ADC_SR_AWD ADC_SR_AWD_Msk /*!< ADC analog watchdog 1 flag */ |
3971 | #define ADC_SR_EOS_Pos (1U) |
||
9 | mjames | 3972 | #define ADC_SR_EOS_Msk (0x1UL << ADC_SR_EOS_Pos) /*!< 0x00000002 */ |
2 | mjames | 3973 | #define ADC_SR_EOS ADC_SR_EOS_Msk /*!< ADC group regular end of sequence conversions flag */ |
3974 | #define ADC_SR_JEOS_Pos (2U) |
||
9 | mjames | 3975 | #define ADC_SR_JEOS_Msk (0x1UL << ADC_SR_JEOS_Pos) /*!< 0x00000004 */ |
2 | mjames | 3976 | #define ADC_SR_JEOS ADC_SR_JEOS_Msk /*!< ADC group injected end of sequence conversions flag */ |
3977 | #define ADC_SR_JSTRT_Pos (3U) |
||
9 | mjames | 3978 | #define ADC_SR_JSTRT_Msk (0x1UL << ADC_SR_JSTRT_Pos) /*!< 0x00000008 */ |
2 | mjames | 3979 | #define ADC_SR_JSTRT ADC_SR_JSTRT_Msk /*!< ADC group injected conversion start flag */ |
3980 | #define ADC_SR_STRT_Pos (4U) |
||
9 | mjames | 3981 | #define ADC_SR_STRT_Msk (0x1UL << ADC_SR_STRT_Pos) /*!< 0x00000010 */ |
2 | mjames | 3982 | #define ADC_SR_STRT ADC_SR_STRT_Msk /*!< ADC group regular conversion start flag */ |
3983 | |||
3984 | /* Legacy defines */ |
||
3985 | #define ADC_SR_EOC (ADC_SR_EOS) |
||
3986 | #define ADC_SR_JEOC (ADC_SR_JEOS) |
||
3987 | |||
3988 | /******************* Bit definition for ADC_CR1 register ********************/ |
||
3989 | #define ADC_CR1_AWDCH_Pos (0U) |
||
9 | mjames | 3990 | #define ADC_CR1_AWDCH_Msk (0x1FUL << ADC_CR1_AWDCH_Pos) /*!< 0x0000001F */ |
2 | mjames | 3991 | #define ADC_CR1_AWDCH ADC_CR1_AWDCH_Msk /*!< ADC analog watchdog 1 monitored channel selection */ |
9 | mjames | 3992 | #define ADC_CR1_AWDCH_0 (0x01UL << ADC_CR1_AWDCH_Pos) /*!< 0x00000001 */ |
3993 | #define ADC_CR1_AWDCH_1 (0x02UL << ADC_CR1_AWDCH_Pos) /*!< 0x00000002 */ |
||
3994 | #define ADC_CR1_AWDCH_2 (0x04UL << ADC_CR1_AWDCH_Pos) /*!< 0x00000004 */ |
||
3995 | #define ADC_CR1_AWDCH_3 (0x08UL << ADC_CR1_AWDCH_Pos) /*!< 0x00000008 */ |
||
3996 | #define ADC_CR1_AWDCH_4 (0x10UL << ADC_CR1_AWDCH_Pos) /*!< 0x00000010 */ |
||
2 | mjames | 3997 | |
3998 | #define ADC_CR1_EOSIE_Pos (5U) |
||
9 | mjames | 3999 | #define ADC_CR1_EOSIE_Msk (0x1UL << ADC_CR1_EOSIE_Pos) /*!< 0x00000020 */ |
2 | mjames | 4000 | #define ADC_CR1_EOSIE ADC_CR1_EOSIE_Msk /*!< ADC group regular end of sequence conversions interrupt */ |
4001 | #define ADC_CR1_AWDIE_Pos (6U) |
||
9 | mjames | 4002 | #define ADC_CR1_AWDIE_Msk (0x1UL << ADC_CR1_AWDIE_Pos) /*!< 0x00000040 */ |
2 | mjames | 4003 | #define ADC_CR1_AWDIE ADC_CR1_AWDIE_Msk /*!< ADC analog watchdog 1 interrupt */ |
4004 | #define ADC_CR1_JEOSIE_Pos (7U) |
||
9 | mjames | 4005 | #define ADC_CR1_JEOSIE_Msk (0x1UL << ADC_CR1_JEOSIE_Pos) /*!< 0x00000080 */ |
2 | mjames | 4006 | #define ADC_CR1_JEOSIE ADC_CR1_JEOSIE_Msk /*!< ADC group injected end of sequence conversions interrupt */ |
4007 | #define ADC_CR1_SCAN_Pos (8U) |
||
9 | mjames | 4008 | #define ADC_CR1_SCAN_Msk (0x1UL << ADC_CR1_SCAN_Pos) /*!< 0x00000100 */ |
2 | mjames | 4009 | #define ADC_CR1_SCAN ADC_CR1_SCAN_Msk /*!< ADC scan mode */ |
4010 | #define ADC_CR1_AWDSGL_Pos (9U) |
||
9 | mjames | 4011 | #define ADC_CR1_AWDSGL_Msk (0x1UL << ADC_CR1_AWDSGL_Pos) /*!< 0x00000200 */ |
2 | mjames | 4012 | #define ADC_CR1_AWDSGL ADC_CR1_AWDSGL_Msk /*!< ADC analog watchdog 1 monitoring a single channel or all channels */ |
4013 | #define ADC_CR1_JAUTO_Pos (10U) |
||
9 | mjames | 4014 | #define ADC_CR1_JAUTO_Msk (0x1UL << ADC_CR1_JAUTO_Pos) /*!< 0x00000400 */ |
2 | mjames | 4015 | #define ADC_CR1_JAUTO ADC_CR1_JAUTO_Msk /*!< ADC group injected automatic trigger mode */ |
4016 | #define ADC_CR1_DISCEN_Pos (11U) |
||
9 | mjames | 4017 | #define ADC_CR1_DISCEN_Msk (0x1UL << ADC_CR1_DISCEN_Pos) /*!< 0x00000800 */ |
2 | mjames | 4018 | #define ADC_CR1_DISCEN ADC_CR1_DISCEN_Msk /*!< ADC group regular sequencer discontinuous mode */ |
4019 | #define ADC_CR1_JDISCEN_Pos (12U) |
||
9 | mjames | 4020 | #define ADC_CR1_JDISCEN_Msk (0x1UL << ADC_CR1_JDISCEN_Pos) /*!< 0x00001000 */ |
2 | mjames | 4021 | #define ADC_CR1_JDISCEN ADC_CR1_JDISCEN_Msk /*!< ADC group injected sequencer discontinuous mode */ |
4022 | |||
4023 | #define ADC_CR1_DISCNUM_Pos (13U) |
||
9 | mjames | 4024 | #define ADC_CR1_DISCNUM_Msk (0x7UL << ADC_CR1_DISCNUM_Pos) /*!< 0x0000E000 */ |
2 | mjames | 4025 | #define ADC_CR1_DISCNUM ADC_CR1_DISCNUM_Msk /*!< ADC group regular sequencer discontinuous number of ranks */ |
9 | mjames | 4026 | #define ADC_CR1_DISCNUM_0 (0x1UL << ADC_CR1_DISCNUM_Pos) /*!< 0x00002000 */ |
4027 | #define ADC_CR1_DISCNUM_1 (0x2UL << ADC_CR1_DISCNUM_Pos) /*!< 0x00004000 */ |
||
4028 | #define ADC_CR1_DISCNUM_2 (0x4UL << ADC_CR1_DISCNUM_Pos) /*!< 0x00008000 */ |
||
2 | mjames | 4029 | |
4030 | #define ADC_CR1_DUALMOD_Pos (16U) |
||
9 | mjames | 4031 | #define ADC_CR1_DUALMOD_Msk (0xFUL << ADC_CR1_DUALMOD_Pos) /*!< 0x000F0000 */ |
2 | mjames | 4032 | #define ADC_CR1_DUALMOD ADC_CR1_DUALMOD_Msk /*!< ADC multimode mode selection */ |
9 | mjames | 4033 | #define ADC_CR1_DUALMOD_0 (0x1UL << ADC_CR1_DUALMOD_Pos) /*!< 0x00010000 */ |
4034 | #define ADC_CR1_DUALMOD_1 (0x2UL << ADC_CR1_DUALMOD_Pos) /*!< 0x00020000 */ |
||
4035 | #define ADC_CR1_DUALMOD_2 (0x4UL << ADC_CR1_DUALMOD_Pos) /*!< 0x00040000 */ |
||
4036 | #define ADC_CR1_DUALMOD_3 (0x8UL << ADC_CR1_DUALMOD_Pos) /*!< 0x00080000 */ |
||
2 | mjames | 4037 | |
4038 | #define ADC_CR1_JAWDEN_Pos (22U) |
||
9 | mjames | 4039 | #define ADC_CR1_JAWDEN_Msk (0x1UL << ADC_CR1_JAWDEN_Pos) /*!< 0x00400000 */ |
2 | mjames | 4040 | #define ADC_CR1_JAWDEN ADC_CR1_JAWDEN_Msk /*!< ADC analog watchdog 1 enable on scope ADC group injected */ |
4041 | #define ADC_CR1_AWDEN_Pos (23U) |
||
9 | mjames | 4042 | #define ADC_CR1_AWDEN_Msk (0x1UL << ADC_CR1_AWDEN_Pos) /*!< 0x00800000 */ |
2 | mjames | 4043 | #define ADC_CR1_AWDEN ADC_CR1_AWDEN_Msk /*!< ADC analog watchdog 1 enable on scope ADC group regular */ |
4044 | |||
4045 | /* Legacy defines */ |
||
4046 | #define ADC_CR1_EOCIE (ADC_CR1_EOSIE) |
||
4047 | #define ADC_CR1_JEOCIE (ADC_CR1_JEOSIE) |
||
4048 | |||
4049 | /******************* Bit definition for ADC_CR2 register ********************/ |
||
4050 | #define ADC_CR2_ADON_Pos (0U) |
||
9 | mjames | 4051 | #define ADC_CR2_ADON_Msk (0x1UL << ADC_CR2_ADON_Pos) /*!< 0x00000001 */ |
2 | mjames | 4052 | #define ADC_CR2_ADON ADC_CR2_ADON_Msk /*!< ADC enable */ |
4053 | #define ADC_CR2_CONT_Pos (1U) |
||
9 | mjames | 4054 | #define ADC_CR2_CONT_Msk (0x1UL << ADC_CR2_CONT_Pos) /*!< 0x00000002 */ |
2 | mjames | 4055 | #define ADC_CR2_CONT ADC_CR2_CONT_Msk /*!< ADC group regular continuous conversion mode */ |
4056 | #define ADC_CR2_CAL_Pos (2U) |
||
9 | mjames | 4057 | #define ADC_CR2_CAL_Msk (0x1UL << ADC_CR2_CAL_Pos) /*!< 0x00000004 */ |
2 | mjames | 4058 | #define ADC_CR2_CAL ADC_CR2_CAL_Msk /*!< ADC calibration start */ |
4059 | #define ADC_CR2_RSTCAL_Pos (3U) |
||
9 | mjames | 4060 | #define ADC_CR2_RSTCAL_Msk (0x1UL << ADC_CR2_RSTCAL_Pos) /*!< 0x00000008 */ |
2 | mjames | 4061 | #define ADC_CR2_RSTCAL ADC_CR2_RSTCAL_Msk /*!< ADC calibration reset */ |
4062 | #define ADC_CR2_DMA_Pos (8U) |
||
9 | mjames | 4063 | #define ADC_CR2_DMA_Msk (0x1UL << ADC_CR2_DMA_Pos) /*!< 0x00000100 */ |
2 | mjames | 4064 | #define ADC_CR2_DMA ADC_CR2_DMA_Msk /*!< ADC DMA transfer enable */ |
4065 | #define ADC_CR2_ALIGN_Pos (11U) |
||
9 | mjames | 4066 | #define ADC_CR2_ALIGN_Msk (0x1UL << ADC_CR2_ALIGN_Pos) /*!< 0x00000800 */ |
2 | mjames | 4067 | #define ADC_CR2_ALIGN ADC_CR2_ALIGN_Msk /*!< ADC data alignement */ |
4068 | |||
4069 | #define ADC_CR2_JEXTSEL_Pos (12U) |
||
9 | mjames | 4070 | #define ADC_CR2_JEXTSEL_Msk (0x7UL << ADC_CR2_JEXTSEL_Pos) /*!< 0x00007000 */ |
2 | mjames | 4071 | #define ADC_CR2_JEXTSEL ADC_CR2_JEXTSEL_Msk /*!< ADC group injected external trigger source */ |
9 | mjames | 4072 | #define ADC_CR2_JEXTSEL_0 (0x1UL << ADC_CR2_JEXTSEL_Pos) /*!< 0x00001000 */ |
4073 | #define ADC_CR2_JEXTSEL_1 (0x2UL << ADC_CR2_JEXTSEL_Pos) /*!< 0x00002000 */ |
||
4074 | #define ADC_CR2_JEXTSEL_2 (0x4UL << ADC_CR2_JEXTSEL_Pos) /*!< 0x00004000 */ |
||
2 | mjames | 4075 | |
4076 | #define ADC_CR2_JEXTTRIG_Pos (15U) |
||
9 | mjames | 4077 | #define ADC_CR2_JEXTTRIG_Msk (0x1UL << ADC_CR2_JEXTTRIG_Pos) /*!< 0x00008000 */ |
2 | mjames | 4078 | #define ADC_CR2_JEXTTRIG ADC_CR2_JEXTTRIG_Msk /*!< ADC group injected external trigger enable */ |
4079 | |||
4080 | #define ADC_CR2_EXTSEL_Pos (17U) |
||
9 | mjames | 4081 | #define ADC_CR2_EXTSEL_Msk (0x7UL << ADC_CR2_EXTSEL_Pos) /*!< 0x000E0000 */ |
2 | mjames | 4082 | #define ADC_CR2_EXTSEL ADC_CR2_EXTSEL_Msk /*!< ADC group regular external trigger source */ |
9 | mjames | 4083 | #define ADC_CR2_EXTSEL_0 (0x1UL << ADC_CR2_EXTSEL_Pos) /*!< 0x00020000 */ |
4084 | #define ADC_CR2_EXTSEL_1 (0x2UL << ADC_CR2_EXTSEL_Pos) /*!< 0x00040000 */ |
||
4085 | #define ADC_CR2_EXTSEL_2 (0x4UL << ADC_CR2_EXTSEL_Pos) /*!< 0x00080000 */ |
||
2 | mjames | 4086 | |
4087 | #define ADC_CR2_EXTTRIG_Pos (20U) |
||
9 | mjames | 4088 | #define ADC_CR2_EXTTRIG_Msk (0x1UL << ADC_CR2_EXTTRIG_Pos) /*!< 0x00100000 */ |
2 | mjames | 4089 | #define ADC_CR2_EXTTRIG ADC_CR2_EXTTRIG_Msk /*!< ADC group regular external trigger enable */ |
4090 | #define ADC_CR2_JSWSTART_Pos (21U) |
||
9 | mjames | 4091 | #define ADC_CR2_JSWSTART_Msk (0x1UL << ADC_CR2_JSWSTART_Pos) /*!< 0x00200000 */ |
2 | mjames | 4092 | #define ADC_CR2_JSWSTART ADC_CR2_JSWSTART_Msk /*!< ADC group injected conversion start */ |
4093 | #define ADC_CR2_SWSTART_Pos (22U) |
||
9 | mjames | 4094 | #define ADC_CR2_SWSTART_Msk (0x1UL << ADC_CR2_SWSTART_Pos) /*!< 0x00400000 */ |
2 | mjames | 4095 | #define ADC_CR2_SWSTART ADC_CR2_SWSTART_Msk /*!< ADC group regular conversion start */ |
4096 | #define ADC_CR2_TSVREFE_Pos (23U) |
||
9 | mjames | 4097 | #define ADC_CR2_TSVREFE_Msk (0x1UL << ADC_CR2_TSVREFE_Pos) /*!< 0x00800000 */ |
2 | mjames | 4098 | #define ADC_CR2_TSVREFE ADC_CR2_TSVREFE_Msk /*!< ADC internal path to VrefInt and temperature sensor enable */ |
4099 | |||
4100 | /****************** Bit definition for ADC_SMPR1 register *******************/ |
||
4101 | #define ADC_SMPR1_SMP10_Pos (0U) |
||
9 | mjames | 4102 | #define ADC_SMPR1_SMP10_Msk (0x7UL << ADC_SMPR1_SMP10_Pos) /*!< 0x00000007 */ |
2 | mjames | 4103 | #define ADC_SMPR1_SMP10 ADC_SMPR1_SMP10_Msk /*!< ADC channel 10 sampling time selection */ |
9 | mjames | 4104 | #define ADC_SMPR1_SMP10_0 (0x1UL << ADC_SMPR1_SMP10_Pos) /*!< 0x00000001 */ |
4105 | #define ADC_SMPR1_SMP10_1 (0x2UL << ADC_SMPR1_SMP10_Pos) /*!< 0x00000002 */ |
||
4106 | #define ADC_SMPR1_SMP10_2 (0x4UL << ADC_SMPR1_SMP10_Pos) /*!< 0x00000004 */ |
||
2 | mjames | 4107 | |
4108 | #define ADC_SMPR1_SMP11_Pos (3U) |
||
9 | mjames | 4109 | #define ADC_SMPR1_SMP11_Msk (0x7UL << ADC_SMPR1_SMP11_Pos) /*!< 0x00000038 */ |
2 | mjames | 4110 | #define ADC_SMPR1_SMP11 ADC_SMPR1_SMP11_Msk /*!< ADC channel 11 sampling time selection */ |
9 | mjames | 4111 | #define ADC_SMPR1_SMP11_0 (0x1UL << ADC_SMPR1_SMP11_Pos) /*!< 0x00000008 */ |
4112 | #define ADC_SMPR1_SMP11_1 (0x2UL << ADC_SMPR1_SMP11_Pos) /*!< 0x00000010 */ |
||
4113 | #define ADC_SMPR1_SMP11_2 (0x4UL << ADC_SMPR1_SMP11_Pos) /*!< 0x00000020 */ |
||
2 | mjames | 4114 | |
4115 | #define ADC_SMPR1_SMP12_Pos (6U) |
||
9 | mjames | 4116 | #define ADC_SMPR1_SMP12_Msk (0x7UL << ADC_SMPR1_SMP12_Pos) /*!< 0x000001C0 */ |
2 | mjames | 4117 | #define ADC_SMPR1_SMP12 ADC_SMPR1_SMP12_Msk /*!< ADC channel 12 sampling time selection */ |
9 | mjames | 4118 | #define ADC_SMPR1_SMP12_0 (0x1UL << ADC_SMPR1_SMP12_Pos) /*!< 0x00000040 */ |
4119 | #define ADC_SMPR1_SMP12_1 (0x2UL << ADC_SMPR1_SMP12_Pos) /*!< 0x00000080 */ |
||
4120 | #define ADC_SMPR1_SMP12_2 (0x4UL << ADC_SMPR1_SMP12_Pos) /*!< 0x00000100 */ |
||
2 | mjames | 4121 | |
4122 | #define ADC_SMPR1_SMP13_Pos (9U) |
||
9 | mjames | 4123 | #define ADC_SMPR1_SMP13_Msk (0x7UL << ADC_SMPR1_SMP13_Pos) /*!< 0x00000E00 */ |
2 | mjames | 4124 | #define ADC_SMPR1_SMP13 ADC_SMPR1_SMP13_Msk /*!< ADC channel 13 sampling time selection */ |
9 | mjames | 4125 | #define ADC_SMPR1_SMP13_0 (0x1UL << ADC_SMPR1_SMP13_Pos) /*!< 0x00000200 */ |
4126 | #define ADC_SMPR1_SMP13_1 (0x2UL << ADC_SMPR1_SMP13_Pos) /*!< 0x00000400 */ |
||
4127 | #define ADC_SMPR1_SMP13_2 (0x4UL << ADC_SMPR1_SMP13_Pos) /*!< 0x00000800 */ |
||
2 | mjames | 4128 | |
4129 | #define ADC_SMPR1_SMP14_Pos (12U) |
||
9 | mjames | 4130 | #define ADC_SMPR1_SMP14_Msk (0x7UL << ADC_SMPR1_SMP14_Pos) /*!< 0x00007000 */ |
2 | mjames | 4131 | #define ADC_SMPR1_SMP14 ADC_SMPR1_SMP14_Msk /*!< ADC channel 14 sampling time selection */ |
9 | mjames | 4132 | #define ADC_SMPR1_SMP14_0 (0x1UL << ADC_SMPR1_SMP14_Pos) /*!< 0x00001000 */ |
4133 | #define ADC_SMPR1_SMP14_1 (0x2UL << ADC_SMPR1_SMP14_Pos) /*!< 0x00002000 */ |
||
4134 | #define ADC_SMPR1_SMP14_2 (0x4UL << ADC_SMPR1_SMP14_Pos) /*!< 0x00004000 */ |
||
2 | mjames | 4135 | |
4136 | #define ADC_SMPR1_SMP15_Pos (15U) |
||
9 | mjames | 4137 | #define ADC_SMPR1_SMP15_Msk (0x7UL << ADC_SMPR1_SMP15_Pos) /*!< 0x00038000 */ |
2 | mjames | 4138 | #define ADC_SMPR1_SMP15 ADC_SMPR1_SMP15_Msk /*!< ADC channel 15 sampling time selection */ |
9 | mjames | 4139 | #define ADC_SMPR1_SMP15_0 (0x1UL << ADC_SMPR1_SMP15_Pos) /*!< 0x00008000 */ |
4140 | #define ADC_SMPR1_SMP15_1 (0x2UL << ADC_SMPR1_SMP15_Pos) /*!< 0x00010000 */ |
||
4141 | #define ADC_SMPR1_SMP15_2 (0x4UL << ADC_SMPR1_SMP15_Pos) /*!< 0x00020000 */ |
||
2 | mjames | 4142 | |
4143 | #define ADC_SMPR1_SMP16_Pos (18U) |
||
9 | mjames | 4144 | #define ADC_SMPR1_SMP16_Msk (0x7UL << ADC_SMPR1_SMP16_Pos) /*!< 0x001C0000 */ |
2 | mjames | 4145 | #define ADC_SMPR1_SMP16 ADC_SMPR1_SMP16_Msk /*!< ADC channel 16 sampling time selection */ |
9 | mjames | 4146 | #define ADC_SMPR1_SMP16_0 (0x1UL << ADC_SMPR1_SMP16_Pos) /*!< 0x00040000 */ |
4147 | #define ADC_SMPR1_SMP16_1 (0x2UL << ADC_SMPR1_SMP16_Pos) /*!< 0x00080000 */ |
||
4148 | #define ADC_SMPR1_SMP16_2 (0x4UL << ADC_SMPR1_SMP16_Pos) /*!< 0x00100000 */ |
||
2 | mjames | 4149 | |
4150 | #define ADC_SMPR1_SMP17_Pos (21U) |
||
9 | mjames | 4151 | #define ADC_SMPR1_SMP17_Msk (0x7UL << ADC_SMPR1_SMP17_Pos) /*!< 0x00E00000 */ |
2 | mjames | 4152 | #define ADC_SMPR1_SMP17 ADC_SMPR1_SMP17_Msk /*!< ADC channel 17 sampling time selection */ |
9 | mjames | 4153 | #define ADC_SMPR1_SMP17_0 (0x1UL << ADC_SMPR1_SMP17_Pos) /*!< 0x00200000 */ |
4154 | #define ADC_SMPR1_SMP17_1 (0x2UL << ADC_SMPR1_SMP17_Pos) /*!< 0x00400000 */ |
||
4155 | #define ADC_SMPR1_SMP17_2 (0x4UL << ADC_SMPR1_SMP17_Pos) /*!< 0x00800000 */ |
||
2 | mjames | 4156 | |
4157 | /****************** Bit definition for ADC_SMPR2 register *******************/ |
||
4158 | #define ADC_SMPR2_SMP0_Pos (0U) |
||
9 | mjames | 4159 | #define ADC_SMPR2_SMP0_Msk (0x7UL << ADC_SMPR2_SMP0_Pos) /*!< 0x00000007 */ |
2 | mjames | 4160 | #define ADC_SMPR2_SMP0 ADC_SMPR2_SMP0_Msk /*!< ADC channel 0 sampling time selection */ |
9 | mjames | 4161 | #define ADC_SMPR2_SMP0_0 (0x1UL << ADC_SMPR2_SMP0_Pos) /*!< 0x00000001 */ |
4162 | #define ADC_SMPR2_SMP0_1 (0x2UL << ADC_SMPR2_SMP0_Pos) /*!< 0x00000002 */ |
||
4163 | #define ADC_SMPR2_SMP0_2 (0x4UL << ADC_SMPR2_SMP0_Pos) /*!< 0x00000004 */ |
||
2 | mjames | 4164 | |
4165 | #define ADC_SMPR2_SMP1_Pos (3U) |
||
9 | mjames | 4166 | #define ADC_SMPR2_SMP1_Msk (0x7UL << ADC_SMPR2_SMP1_Pos) /*!< 0x00000038 */ |
2 | mjames | 4167 | #define ADC_SMPR2_SMP1 ADC_SMPR2_SMP1_Msk /*!< ADC channel 1 sampling time selection */ |
9 | mjames | 4168 | #define ADC_SMPR2_SMP1_0 (0x1UL << ADC_SMPR2_SMP1_Pos) /*!< 0x00000008 */ |
4169 | #define ADC_SMPR2_SMP1_1 (0x2UL << ADC_SMPR2_SMP1_Pos) /*!< 0x00000010 */ |
||
4170 | #define ADC_SMPR2_SMP1_2 (0x4UL << ADC_SMPR2_SMP1_Pos) /*!< 0x00000020 */ |
||
2 | mjames | 4171 | |
4172 | #define ADC_SMPR2_SMP2_Pos (6U) |
||
9 | mjames | 4173 | #define ADC_SMPR2_SMP2_Msk (0x7UL << ADC_SMPR2_SMP2_Pos) /*!< 0x000001C0 */ |
2 | mjames | 4174 | #define ADC_SMPR2_SMP2 ADC_SMPR2_SMP2_Msk /*!< ADC channel 2 sampling time selection */ |
9 | mjames | 4175 | #define ADC_SMPR2_SMP2_0 (0x1UL << ADC_SMPR2_SMP2_Pos) /*!< 0x00000040 */ |
4176 | #define ADC_SMPR2_SMP2_1 (0x2UL << ADC_SMPR2_SMP2_Pos) /*!< 0x00000080 */ |
||
4177 | #define ADC_SMPR2_SMP2_2 (0x4UL << ADC_SMPR2_SMP2_Pos) /*!< 0x00000100 */ |
||
2 | mjames | 4178 | |
4179 | #define ADC_SMPR2_SMP3_Pos (9U) |
||
9 | mjames | 4180 | #define ADC_SMPR2_SMP3_Msk (0x7UL << ADC_SMPR2_SMP3_Pos) /*!< 0x00000E00 */ |
2 | mjames | 4181 | #define ADC_SMPR2_SMP3 ADC_SMPR2_SMP3_Msk /*!< ADC channel 3 sampling time selection */ |
9 | mjames | 4182 | #define ADC_SMPR2_SMP3_0 (0x1UL << ADC_SMPR2_SMP3_Pos) /*!< 0x00000200 */ |
4183 | #define ADC_SMPR2_SMP3_1 (0x2UL << ADC_SMPR2_SMP3_Pos) /*!< 0x00000400 */ |
||
4184 | #define ADC_SMPR2_SMP3_2 (0x4UL << ADC_SMPR2_SMP3_Pos) /*!< 0x00000800 */ |
||
2 | mjames | 4185 | |
4186 | #define ADC_SMPR2_SMP4_Pos (12U) |
||
9 | mjames | 4187 | #define ADC_SMPR2_SMP4_Msk (0x7UL << ADC_SMPR2_SMP4_Pos) /*!< 0x00007000 */ |
2 | mjames | 4188 | #define ADC_SMPR2_SMP4 ADC_SMPR2_SMP4_Msk /*!< ADC channel 4 sampling time selection */ |
9 | mjames | 4189 | #define ADC_SMPR2_SMP4_0 (0x1UL << ADC_SMPR2_SMP4_Pos) /*!< 0x00001000 */ |
4190 | #define ADC_SMPR2_SMP4_1 (0x2UL << ADC_SMPR2_SMP4_Pos) /*!< 0x00002000 */ |
||
4191 | #define ADC_SMPR2_SMP4_2 (0x4UL << ADC_SMPR2_SMP4_Pos) /*!< 0x00004000 */ |
||
2 | mjames | 4192 | |
4193 | #define ADC_SMPR2_SMP5_Pos (15U) |
||
9 | mjames | 4194 | #define ADC_SMPR2_SMP5_Msk (0x7UL << ADC_SMPR2_SMP5_Pos) /*!< 0x00038000 */ |
2 | mjames | 4195 | #define ADC_SMPR2_SMP5 ADC_SMPR2_SMP5_Msk /*!< ADC channel 5 sampling time selection */ |
9 | mjames | 4196 | #define ADC_SMPR2_SMP5_0 (0x1UL << ADC_SMPR2_SMP5_Pos) /*!< 0x00008000 */ |
4197 | #define ADC_SMPR2_SMP5_1 (0x2UL << ADC_SMPR2_SMP5_Pos) /*!< 0x00010000 */ |
||
4198 | #define ADC_SMPR2_SMP5_2 (0x4UL << ADC_SMPR2_SMP5_Pos) /*!< 0x00020000 */ |
||
2 | mjames | 4199 | |
4200 | #define ADC_SMPR2_SMP6_Pos (18U) |
||
9 | mjames | 4201 | #define ADC_SMPR2_SMP6_Msk (0x7UL << ADC_SMPR2_SMP6_Pos) /*!< 0x001C0000 */ |
2 | mjames | 4202 | #define ADC_SMPR2_SMP6 ADC_SMPR2_SMP6_Msk /*!< ADC channel 6 sampling time selection */ |
9 | mjames | 4203 | #define ADC_SMPR2_SMP6_0 (0x1UL << ADC_SMPR2_SMP6_Pos) /*!< 0x00040000 */ |
4204 | #define ADC_SMPR2_SMP6_1 (0x2UL << ADC_SMPR2_SMP6_Pos) /*!< 0x00080000 */ |
||
4205 | #define ADC_SMPR2_SMP6_2 (0x4UL << ADC_SMPR2_SMP6_Pos) /*!< 0x00100000 */ |
||
2 | mjames | 4206 | |
4207 | #define ADC_SMPR2_SMP7_Pos (21U) |
||
9 | mjames | 4208 | #define ADC_SMPR2_SMP7_Msk (0x7UL << ADC_SMPR2_SMP7_Pos) /*!< 0x00E00000 */ |
2 | mjames | 4209 | #define ADC_SMPR2_SMP7 ADC_SMPR2_SMP7_Msk /*!< ADC channel 7 sampling time selection */ |
9 | mjames | 4210 | #define ADC_SMPR2_SMP7_0 (0x1UL << ADC_SMPR2_SMP7_Pos) /*!< 0x00200000 */ |
4211 | #define ADC_SMPR2_SMP7_1 (0x2UL << ADC_SMPR2_SMP7_Pos) /*!< 0x00400000 */ |
||
4212 | #define ADC_SMPR2_SMP7_2 (0x4UL << ADC_SMPR2_SMP7_Pos) /*!< 0x00800000 */ |
||
2 | mjames | 4213 | |
4214 | #define ADC_SMPR2_SMP8_Pos (24U) |
||
9 | mjames | 4215 | #define ADC_SMPR2_SMP8_Msk (0x7UL << ADC_SMPR2_SMP8_Pos) /*!< 0x07000000 */ |
2 | mjames | 4216 | #define ADC_SMPR2_SMP8 ADC_SMPR2_SMP8_Msk /*!< ADC channel 8 sampling time selection */ |
9 | mjames | 4217 | #define ADC_SMPR2_SMP8_0 (0x1UL << ADC_SMPR2_SMP8_Pos) /*!< 0x01000000 */ |
4218 | #define ADC_SMPR2_SMP8_1 (0x2UL << ADC_SMPR2_SMP8_Pos) /*!< 0x02000000 */ |
||
4219 | #define ADC_SMPR2_SMP8_2 (0x4UL << ADC_SMPR2_SMP8_Pos) /*!< 0x04000000 */ |
||
2 | mjames | 4220 | |
4221 | #define ADC_SMPR2_SMP9_Pos (27U) |
||
9 | mjames | 4222 | #define ADC_SMPR2_SMP9_Msk (0x7UL << ADC_SMPR2_SMP9_Pos) /*!< 0x38000000 */ |
2 | mjames | 4223 | #define ADC_SMPR2_SMP9 ADC_SMPR2_SMP9_Msk /*!< ADC channel 9 sampling time selection */ |
9 | mjames | 4224 | #define ADC_SMPR2_SMP9_0 (0x1UL << ADC_SMPR2_SMP9_Pos) /*!< 0x08000000 */ |
4225 | #define ADC_SMPR2_SMP9_1 (0x2UL << ADC_SMPR2_SMP9_Pos) /*!< 0x10000000 */ |
||
4226 | #define ADC_SMPR2_SMP9_2 (0x4UL << ADC_SMPR2_SMP9_Pos) /*!< 0x20000000 */ |
||
2 | mjames | 4227 | |
4228 | /****************** Bit definition for ADC_JOFR1 register *******************/ |
||
4229 | #define ADC_JOFR1_JOFFSET1_Pos (0U) |
||
9 | mjames | 4230 | #define ADC_JOFR1_JOFFSET1_Msk (0xFFFUL << ADC_JOFR1_JOFFSET1_Pos) /*!< 0x00000FFF */ |
2 | mjames | 4231 | #define ADC_JOFR1_JOFFSET1 ADC_JOFR1_JOFFSET1_Msk /*!< ADC group injected sequencer rank 1 offset value */ |
4232 | |||
4233 | /****************** Bit definition for ADC_JOFR2 register *******************/ |
||
4234 | #define ADC_JOFR2_JOFFSET2_Pos (0U) |
||
9 | mjames | 4235 | #define ADC_JOFR2_JOFFSET2_Msk (0xFFFUL << ADC_JOFR2_JOFFSET2_Pos) /*!< 0x00000FFF */ |
2 | mjames | 4236 | #define ADC_JOFR2_JOFFSET2 ADC_JOFR2_JOFFSET2_Msk /*!< ADC group injected sequencer rank 2 offset value */ |
4237 | |||
4238 | /****************** Bit definition for ADC_JOFR3 register *******************/ |
||
4239 | #define ADC_JOFR3_JOFFSET3_Pos (0U) |
||
9 | mjames | 4240 | #define ADC_JOFR3_JOFFSET3_Msk (0xFFFUL << ADC_JOFR3_JOFFSET3_Pos) /*!< 0x00000FFF */ |
2 | mjames | 4241 | #define ADC_JOFR3_JOFFSET3 ADC_JOFR3_JOFFSET3_Msk /*!< ADC group injected sequencer rank 3 offset value */ |
4242 | |||
4243 | /****************** Bit definition for ADC_JOFR4 register *******************/ |
||
4244 | #define ADC_JOFR4_JOFFSET4_Pos (0U) |
||
9 | mjames | 4245 | #define ADC_JOFR4_JOFFSET4_Msk (0xFFFUL << ADC_JOFR4_JOFFSET4_Pos) /*!< 0x00000FFF */ |
2 | mjames | 4246 | #define ADC_JOFR4_JOFFSET4 ADC_JOFR4_JOFFSET4_Msk /*!< ADC group injected sequencer rank 4 offset value */ |
4247 | |||
4248 | /******************* Bit definition for ADC_HTR register ********************/ |
||
4249 | #define ADC_HTR_HT_Pos (0U) |
||
9 | mjames | 4250 | #define ADC_HTR_HT_Msk (0xFFFUL << ADC_HTR_HT_Pos) /*!< 0x00000FFF */ |
2 | mjames | 4251 | #define ADC_HTR_HT ADC_HTR_HT_Msk /*!< ADC analog watchdog 1 threshold high */ |
4252 | |||
4253 | /******************* Bit definition for ADC_LTR register ********************/ |
||
4254 | #define ADC_LTR_LT_Pos (0U) |
||
9 | mjames | 4255 | #define ADC_LTR_LT_Msk (0xFFFUL << ADC_LTR_LT_Pos) /*!< 0x00000FFF */ |
2 | mjames | 4256 | #define ADC_LTR_LT ADC_LTR_LT_Msk /*!< ADC analog watchdog 1 threshold low */ |
4257 | |||
4258 | /******************* Bit definition for ADC_SQR1 register *******************/ |
||
4259 | #define ADC_SQR1_SQ13_Pos (0U) |
||
9 | mjames | 4260 | #define ADC_SQR1_SQ13_Msk (0x1FUL << ADC_SQR1_SQ13_Pos) /*!< 0x0000001F */ |
2 | mjames | 4261 | #define ADC_SQR1_SQ13 ADC_SQR1_SQ13_Msk /*!< ADC group regular sequencer rank 13 */ |
9 | mjames | 4262 | #define ADC_SQR1_SQ13_0 (0x01UL << ADC_SQR1_SQ13_Pos) /*!< 0x00000001 */ |
4263 | #define ADC_SQR1_SQ13_1 (0x02UL << ADC_SQR1_SQ13_Pos) /*!< 0x00000002 */ |
||
4264 | #define ADC_SQR1_SQ13_2 (0x04UL << ADC_SQR1_SQ13_Pos) /*!< 0x00000004 */ |
||
4265 | #define ADC_SQR1_SQ13_3 (0x08UL << ADC_SQR1_SQ13_Pos) /*!< 0x00000008 */ |
||
4266 | #define ADC_SQR1_SQ13_4 (0x10UL << ADC_SQR1_SQ13_Pos) /*!< 0x00000010 */ |
||
2 | mjames | 4267 | |
4268 | #define ADC_SQR1_SQ14_Pos (5U) |
||
9 | mjames | 4269 | #define ADC_SQR1_SQ14_Msk (0x1FUL << ADC_SQR1_SQ14_Pos) /*!< 0x000003E0 */ |
2 | mjames | 4270 | #define ADC_SQR1_SQ14 ADC_SQR1_SQ14_Msk /*!< ADC group regular sequencer rank 14 */ |
9 | mjames | 4271 | #define ADC_SQR1_SQ14_0 (0x01UL << ADC_SQR1_SQ14_Pos) /*!< 0x00000020 */ |
4272 | #define ADC_SQR1_SQ14_1 (0x02UL << ADC_SQR1_SQ14_Pos) /*!< 0x00000040 */ |
||
4273 | #define ADC_SQR1_SQ14_2 (0x04UL << ADC_SQR1_SQ14_Pos) /*!< 0x00000080 */ |
||
4274 | #define ADC_SQR1_SQ14_3 (0x08UL << ADC_SQR1_SQ14_Pos) /*!< 0x00000100 */ |
||
4275 | #define ADC_SQR1_SQ14_4 (0x10UL << ADC_SQR1_SQ14_Pos) /*!< 0x00000200 */ |
||
2 | mjames | 4276 | |
4277 | #define ADC_SQR1_SQ15_Pos (10U) |
||
9 | mjames | 4278 | #define ADC_SQR1_SQ15_Msk (0x1FUL << ADC_SQR1_SQ15_Pos) /*!< 0x00007C00 */ |
2 | mjames | 4279 | #define ADC_SQR1_SQ15 ADC_SQR1_SQ15_Msk /*!< ADC group regular sequencer rank 15 */ |
9 | mjames | 4280 | #define ADC_SQR1_SQ15_0 (0x01UL << ADC_SQR1_SQ15_Pos) /*!< 0x00000400 */ |
4281 | #define ADC_SQR1_SQ15_1 (0x02UL << ADC_SQR1_SQ15_Pos) /*!< 0x00000800 */ |
||
4282 | #define ADC_SQR1_SQ15_2 (0x04UL << ADC_SQR1_SQ15_Pos) /*!< 0x00001000 */ |
||
4283 | #define ADC_SQR1_SQ15_3 (0x08UL << ADC_SQR1_SQ15_Pos) /*!< 0x00002000 */ |
||
4284 | #define ADC_SQR1_SQ15_4 (0x10UL << ADC_SQR1_SQ15_Pos) /*!< 0x00004000 */ |
||
2 | mjames | 4285 | |
4286 | #define ADC_SQR1_SQ16_Pos (15U) |
||
9 | mjames | 4287 | #define ADC_SQR1_SQ16_Msk (0x1FUL << ADC_SQR1_SQ16_Pos) /*!< 0x000F8000 */ |
2 | mjames | 4288 | #define ADC_SQR1_SQ16 ADC_SQR1_SQ16_Msk /*!< ADC group regular sequencer rank 16 */ |
9 | mjames | 4289 | #define ADC_SQR1_SQ16_0 (0x01UL << ADC_SQR1_SQ16_Pos) /*!< 0x00008000 */ |
4290 | #define ADC_SQR1_SQ16_1 (0x02UL << ADC_SQR1_SQ16_Pos) /*!< 0x00010000 */ |
||
4291 | #define ADC_SQR1_SQ16_2 (0x04UL << ADC_SQR1_SQ16_Pos) /*!< 0x00020000 */ |
||
4292 | #define ADC_SQR1_SQ16_3 (0x08UL << ADC_SQR1_SQ16_Pos) /*!< 0x00040000 */ |
||
4293 | #define ADC_SQR1_SQ16_4 (0x10UL << ADC_SQR1_SQ16_Pos) /*!< 0x00080000 */ |
||
2 | mjames | 4294 | |
4295 | #define ADC_SQR1_L_Pos (20U) |
||
9 | mjames | 4296 | #define ADC_SQR1_L_Msk (0xFUL << ADC_SQR1_L_Pos) /*!< 0x00F00000 */ |
2 | mjames | 4297 | #define ADC_SQR1_L ADC_SQR1_L_Msk /*!< ADC group regular sequencer scan length */ |
9 | mjames | 4298 | #define ADC_SQR1_L_0 (0x1UL << ADC_SQR1_L_Pos) /*!< 0x00100000 */ |
4299 | #define ADC_SQR1_L_1 (0x2UL << ADC_SQR1_L_Pos) /*!< 0x00200000 */ |
||
4300 | #define ADC_SQR1_L_2 (0x4UL << ADC_SQR1_L_Pos) /*!< 0x00400000 */ |
||
4301 | #define ADC_SQR1_L_3 (0x8UL << ADC_SQR1_L_Pos) /*!< 0x00800000 */ |
||
2 | mjames | 4302 | |
4303 | /******************* Bit definition for ADC_SQR2 register *******************/ |
||
4304 | #define ADC_SQR2_SQ7_Pos (0U) |
||
9 | mjames | 4305 | #define ADC_SQR2_SQ7_Msk (0x1FUL << ADC_SQR2_SQ7_Pos) /*!< 0x0000001F */ |
2 | mjames | 4306 | #define ADC_SQR2_SQ7 ADC_SQR2_SQ7_Msk /*!< ADC group regular sequencer rank 7 */ |
9 | mjames | 4307 | #define ADC_SQR2_SQ7_0 (0x01UL << ADC_SQR2_SQ7_Pos) /*!< 0x00000001 */ |
4308 | #define ADC_SQR2_SQ7_1 (0x02UL << ADC_SQR2_SQ7_Pos) /*!< 0x00000002 */ |
||
4309 | #define ADC_SQR2_SQ7_2 (0x04UL << ADC_SQR2_SQ7_Pos) /*!< 0x00000004 */ |
||
4310 | #define ADC_SQR2_SQ7_3 (0x08UL << ADC_SQR2_SQ7_Pos) /*!< 0x00000008 */ |
||
4311 | #define ADC_SQR2_SQ7_4 (0x10UL << ADC_SQR2_SQ7_Pos) /*!< 0x00000010 */ |
||
2 | mjames | 4312 | |
4313 | #define ADC_SQR2_SQ8_Pos (5U) |
||
9 | mjames | 4314 | #define ADC_SQR2_SQ8_Msk (0x1FUL << ADC_SQR2_SQ8_Pos) /*!< 0x000003E0 */ |
2 | mjames | 4315 | #define ADC_SQR2_SQ8 ADC_SQR2_SQ8_Msk /*!< ADC group regular sequencer rank 8 */ |
9 | mjames | 4316 | #define ADC_SQR2_SQ8_0 (0x01UL << ADC_SQR2_SQ8_Pos) /*!< 0x00000020 */ |
4317 | #define ADC_SQR2_SQ8_1 (0x02UL << ADC_SQR2_SQ8_Pos) /*!< 0x00000040 */ |
||
4318 | #define ADC_SQR2_SQ8_2 (0x04UL << ADC_SQR2_SQ8_Pos) /*!< 0x00000080 */ |
||
4319 | #define ADC_SQR2_SQ8_3 (0x08UL << ADC_SQR2_SQ8_Pos) /*!< 0x00000100 */ |
||
4320 | #define ADC_SQR2_SQ8_4 (0x10UL << ADC_SQR2_SQ8_Pos) /*!< 0x00000200 */ |
||
2 | mjames | 4321 | |
4322 | #define ADC_SQR2_SQ9_Pos (10U) |
||
9 | mjames | 4323 | #define ADC_SQR2_SQ9_Msk (0x1FUL << ADC_SQR2_SQ9_Pos) /*!< 0x00007C00 */ |
2 | mjames | 4324 | #define ADC_SQR2_SQ9 ADC_SQR2_SQ9_Msk /*!< ADC group regular sequencer rank 9 */ |
9 | mjames | 4325 | #define ADC_SQR2_SQ9_0 (0x01UL << ADC_SQR2_SQ9_Pos) /*!< 0x00000400 */ |
4326 | #define ADC_SQR2_SQ9_1 (0x02UL << ADC_SQR2_SQ9_Pos) /*!< 0x00000800 */ |
||
4327 | #define ADC_SQR2_SQ9_2 (0x04UL << ADC_SQR2_SQ9_Pos) /*!< 0x00001000 */ |
||
4328 | #define ADC_SQR2_SQ9_3 (0x08UL << ADC_SQR2_SQ9_Pos) /*!< 0x00002000 */ |
||
4329 | #define ADC_SQR2_SQ9_4 (0x10UL << ADC_SQR2_SQ9_Pos) /*!< 0x00004000 */ |
||
2 | mjames | 4330 | |
4331 | #define ADC_SQR2_SQ10_Pos (15U) |
||
9 | mjames | 4332 | #define ADC_SQR2_SQ10_Msk (0x1FUL << ADC_SQR2_SQ10_Pos) /*!< 0x000F8000 */ |
2 | mjames | 4333 | #define ADC_SQR2_SQ10 ADC_SQR2_SQ10_Msk /*!< ADC group regular sequencer rank 10 */ |
9 | mjames | 4334 | #define ADC_SQR2_SQ10_0 (0x01UL << ADC_SQR2_SQ10_Pos) /*!< 0x00008000 */ |
4335 | #define ADC_SQR2_SQ10_1 (0x02UL << ADC_SQR2_SQ10_Pos) /*!< 0x00010000 */ |
||
4336 | #define ADC_SQR2_SQ10_2 (0x04UL << ADC_SQR2_SQ10_Pos) /*!< 0x00020000 */ |
||
4337 | #define ADC_SQR2_SQ10_3 (0x08UL << ADC_SQR2_SQ10_Pos) /*!< 0x00040000 */ |
||
4338 | #define ADC_SQR2_SQ10_4 (0x10UL << ADC_SQR2_SQ10_Pos) /*!< 0x00080000 */ |
||
2 | mjames | 4339 | |
4340 | #define ADC_SQR2_SQ11_Pos (20U) |
||
9 | mjames | 4341 | #define ADC_SQR2_SQ11_Msk (0x1FUL << ADC_SQR2_SQ11_Pos) /*!< 0x01F00000 */ |
2 | mjames | 4342 | #define ADC_SQR2_SQ11 ADC_SQR2_SQ11_Msk /*!< ADC group regular sequencer rank 1 */ |
9 | mjames | 4343 | #define ADC_SQR2_SQ11_0 (0x01UL << ADC_SQR2_SQ11_Pos) /*!< 0x00100000 */ |
4344 | #define ADC_SQR2_SQ11_1 (0x02UL << ADC_SQR2_SQ11_Pos) /*!< 0x00200000 */ |
||
4345 | #define ADC_SQR2_SQ11_2 (0x04UL << ADC_SQR2_SQ11_Pos) /*!< 0x00400000 */ |
||
4346 | #define ADC_SQR2_SQ11_3 (0x08UL << ADC_SQR2_SQ11_Pos) /*!< 0x00800000 */ |
||
4347 | #define ADC_SQR2_SQ11_4 (0x10UL << ADC_SQR2_SQ11_Pos) /*!< 0x01000000 */ |
||
2 | mjames | 4348 | |
4349 | #define ADC_SQR2_SQ12_Pos (25U) |
||
9 | mjames | 4350 | #define ADC_SQR2_SQ12_Msk (0x1FUL << ADC_SQR2_SQ12_Pos) /*!< 0x3E000000 */ |
2 | mjames | 4351 | #define ADC_SQR2_SQ12 ADC_SQR2_SQ12_Msk /*!< ADC group regular sequencer rank 12 */ |
9 | mjames | 4352 | #define ADC_SQR2_SQ12_0 (0x01UL << ADC_SQR2_SQ12_Pos) /*!< 0x02000000 */ |
4353 | #define ADC_SQR2_SQ12_1 (0x02UL << ADC_SQR2_SQ12_Pos) /*!< 0x04000000 */ |
||
4354 | #define ADC_SQR2_SQ12_2 (0x04UL << ADC_SQR2_SQ12_Pos) /*!< 0x08000000 */ |
||
4355 | #define ADC_SQR2_SQ12_3 (0x08UL << ADC_SQR2_SQ12_Pos) /*!< 0x10000000 */ |
||
4356 | #define ADC_SQR2_SQ12_4 (0x10UL << ADC_SQR2_SQ12_Pos) /*!< 0x20000000 */ |
||
2 | mjames | 4357 | |
4358 | /******************* Bit definition for ADC_SQR3 register *******************/ |
||
4359 | #define ADC_SQR3_SQ1_Pos (0U) |
||
9 | mjames | 4360 | #define ADC_SQR3_SQ1_Msk (0x1FUL << ADC_SQR3_SQ1_Pos) /*!< 0x0000001F */ |
2 | mjames | 4361 | #define ADC_SQR3_SQ1 ADC_SQR3_SQ1_Msk /*!< ADC group regular sequencer rank 1 */ |
9 | mjames | 4362 | #define ADC_SQR3_SQ1_0 (0x01UL << ADC_SQR3_SQ1_Pos) /*!< 0x00000001 */ |
4363 | #define ADC_SQR3_SQ1_1 (0x02UL << ADC_SQR3_SQ1_Pos) /*!< 0x00000002 */ |
||
4364 | #define ADC_SQR3_SQ1_2 (0x04UL << ADC_SQR3_SQ1_Pos) /*!< 0x00000004 */ |
||
4365 | #define ADC_SQR3_SQ1_3 (0x08UL << ADC_SQR3_SQ1_Pos) /*!< 0x00000008 */ |
||
4366 | #define ADC_SQR3_SQ1_4 (0x10UL << ADC_SQR3_SQ1_Pos) /*!< 0x00000010 */ |
||
2 | mjames | 4367 | |
4368 | #define ADC_SQR3_SQ2_Pos (5U) |
||
9 | mjames | 4369 | #define ADC_SQR3_SQ2_Msk (0x1FUL << ADC_SQR3_SQ2_Pos) /*!< 0x000003E0 */ |
2 | mjames | 4370 | #define ADC_SQR3_SQ2 ADC_SQR3_SQ2_Msk /*!< ADC group regular sequencer rank 2 */ |
9 | mjames | 4371 | #define ADC_SQR3_SQ2_0 (0x01UL << ADC_SQR3_SQ2_Pos) /*!< 0x00000020 */ |
4372 | #define ADC_SQR3_SQ2_1 (0x02UL << ADC_SQR3_SQ2_Pos) /*!< 0x00000040 */ |
||
4373 | #define ADC_SQR3_SQ2_2 (0x04UL << ADC_SQR3_SQ2_Pos) /*!< 0x00000080 */ |
||
4374 | #define ADC_SQR3_SQ2_3 (0x08UL << ADC_SQR3_SQ2_Pos) /*!< 0x00000100 */ |
||
4375 | #define ADC_SQR3_SQ2_4 (0x10UL << ADC_SQR3_SQ2_Pos) /*!< 0x00000200 */ |
||
2 | mjames | 4376 | |
4377 | #define ADC_SQR3_SQ3_Pos (10U) |
||
9 | mjames | 4378 | #define ADC_SQR3_SQ3_Msk (0x1FUL << ADC_SQR3_SQ3_Pos) /*!< 0x00007C00 */ |
2 | mjames | 4379 | #define ADC_SQR3_SQ3 ADC_SQR3_SQ3_Msk /*!< ADC group regular sequencer rank 3 */ |
9 | mjames | 4380 | #define ADC_SQR3_SQ3_0 (0x01UL << ADC_SQR3_SQ3_Pos) /*!< 0x00000400 */ |
4381 | #define ADC_SQR3_SQ3_1 (0x02UL << ADC_SQR3_SQ3_Pos) /*!< 0x00000800 */ |
||
4382 | #define ADC_SQR3_SQ3_2 (0x04UL << ADC_SQR3_SQ3_Pos) /*!< 0x00001000 */ |
||
4383 | #define ADC_SQR3_SQ3_3 (0x08UL << ADC_SQR3_SQ3_Pos) /*!< 0x00002000 */ |
||
4384 | #define ADC_SQR3_SQ3_4 (0x10UL << ADC_SQR3_SQ3_Pos) /*!< 0x00004000 */ |
||
2 | mjames | 4385 | |
4386 | #define ADC_SQR3_SQ4_Pos (15U) |
||
9 | mjames | 4387 | #define ADC_SQR3_SQ4_Msk (0x1FUL << ADC_SQR3_SQ4_Pos) /*!< 0x000F8000 */ |
2 | mjames | 4388 | #define ADC_SQR3_SQ4 ADC_SQR3_SQ4_Msk /*!< ADC group regular sequencer rank 4 */ |
9 | mjames | 4389 | #define ADC_SQR3_SQ4_0 (0x01UL << ADC_SQR3_SQ4_Pos) /*!< 0x00008000 */ |
4390 | #define ADC_SQR3_SQ4_1 (0x02UL << ADC_SQR3_SQ4_Pos) /*!< 0x00010000 */ |
||
4391 | #define ADC_SQR3_SQ4_2 (0x04UL << ADC_SQR3_SQ4_Pos) /*!< 0x00020000 */ |
||
4392 | #define ADC_SQR3_SQ4_3 (0x08UL << ADC_SQR3_SQ4_Pos) /*!< 0x00040000 */ |
||
4393 | #define ADC_SQR3_SQ4_4 (0x10UL << ADC_SQR3_SQ4_Pos) /*!< 0x00080000 */ |
||
2 | mjames | 4394 | |
4395 | #define ADC_SQR3_SQ5_Pos (20U) |
||
9 | mjames | 4396 | #define ADC_SQR3_SQ5_Msk (0x1FUL << ADC_SQR3_SQ5_Pos) /*!< 0x01F00000 */ |
2 | mjames | 4397 | #define ADC_SQR3_SQ5 ADC_SQR3_SQ5_Msk /*!< ADC group regular sequencer rank 5 */ |
9 | mjames | 4398 | #define ADC_SQR3_SQ5_0 (0x01UL << ADC_SQR3_SQ5_Pos) /*!< 0x00100000 */ |
4399 | #define ADC_SQR3_SQ5_1 (0x02UL << ADC_SQR3_SQ5_Pos) /*!< 0x00200000 */ |
||
4400 | #define ADC_SQR3_SQ5_2 (0x04UL << ADC_SQR3_SQ5_Pos) /*!< 0x00400000 */ |
||
4401 | #define ADC_SQR3_SQ5_3 (0x08UL << ADC_SQR3_SQ5_Pos) /*!< 0x00800000 */ |
||
4402 | #define ADC_SQR3_SQ5_4 (0x10UL << ADC_SQR3_SQ5_Pos) /*!< 0x01000000 */ |
||
2 | mjames | 4403 | |
4404 | #define ADC_SQR3_SQ6_Pos (25U) |
||
9 | mjames | 4405 | #define ADC_SQR3_SQ6_Msk (0x1FUL << ADC_SQR3_SQ6_Pos) /*!< 0x3E000000 */ |
2 | mjames | 4406 | #define ADC_SQR3_SQ6 ADC_SQR3_SQ6_Msk /*!< ADC group regular sequencer rank 6 */ |
9 | mjames | 4407 | #define ADC_SQR3_SQ6_0 (0x01UL << ADC_SQR3_SQ6_Pos) /*!< 0x02000000 */ |
4408 | #define ADC_SQR3_SQ6_1 (0x02UL << ADC_SQR3_SQ6_Pos) /*!< 0x04000000 */ |
||
4409 | #define ADC_SQR3_SQ6_2 (0x04UL << ADC_SQR3_SQ6_Pos) /*!< 0x08000000 */ |
||
4410 | #define ADC_SQR3_SQ6_3 (0x08UL << ADC_SQR3_SQ6_Pos) /*!< 0x10000000 */ |
||
4411 | #define ADC_SQR3_SQ6_4 (0x10UL << ADC_SQR3_SQ6_Pos) /*!< 0x20000000 */ |
||
2 | mjames | 4412 | |
4413 | /******************* Bit definition for ADC_JSQR register *******************/ |
||
4414 | #define ADC_JSQR_JSQ1_Pos (0U) |
||
9 | mjames | 4415 | #define ADC_JSQR_JSQ1_Msk (0x1FUL << ADC_JSQR_JSQ1_Pos) /*!< 0x0000001F */ |
2 | mjames | 4416 | #define ADC_JSQR_JSQ1 ADC_JSQR_JSQ1_Msk /*!< ADC group injected sequencer rank 1 */ |
9 | mjames | 4417 | #define ADC_JSQR_JSQ1_0 (0x01UL << ADC_JSQR_JSQ1_Pos) /*!< 0x00000001 */ |
4418 | #define ADC_JSQR_JSQ1_1 (0x02UL << ADC_JSQR_JSQ1_Pos) /*!< 0x00000002 */ |
||
4419 | #define ADC_JSQR_JSQ1_2 (0x04UL << ADC_JSQR_JSQ1_Pos) /*!< 0x00000004 */ |
||
4420 | #define ADC_JSQR_JSQ1_3 (0x08UL << ADC_JSQR_JSQ1_Pos) /*!< 0x00000008 */ |
||
4421 | #define ADC_JSQR_JSQ1_4 (0x10UL << ADC_JSQR_JSQ1_Pos) /*!< 0x00000010 */ |
||
2 | mjames | 4422 | |
4423 | #define ADC_JSQR_JSQ2_Pos (5U) |
||
9 | mjames | 4424 | #define ADC_JSQR_JSQ2_Msk (0x1FUL << ADC_JSQR_JSQ2_Pos) /*!< 0x000003E0 */ |
2 | mjames | 4425 | #define ADC_JSQR_JSQ2 ADC_JSQR_JSQ2_Msk /*!< ADC group injected sequencer rank 2 */ |
9 | mjames | 4426 | #define ADC_JSQR_JSQ2_0 (0x01UL << ADC_JSQR_JSQ2_Pos) /*!< 0x00000020 */ |
4427 | #define ADC_JSQR_JSQ2_1 (0x02UL << ADC_JSQR_JSQ2_Pos) /*!< 0x00000040 */ |
||
4428 | #define ADC_JSQR_JSQ2_2 (0x04UL << ADC_JSQR_JSQ2_Pos) /*!< 0x00000080 */ |
||
4429 | #define ADC_JSQR_JSQ2_3 (0x08UL << ADC_JSQR_JSQ2_Pos) /*!< 0x00000100 */ |
||
4430 | #define ADC_JSQR_JSQ2_4 (0x10UL << ADC_JSQR_JSQ2_Pos) /*!< 0x00000200 */ |
||
2 | mjames | 4431 | |
4432 | #define ADC_JSQR_JSQ3_Pos (10U) |
||
9 | mjames | 4433 | #define ADC_JSQR_JSQ3_Msk (0x1FUL << ADC_JSQR_JSQ3_Pos) /*!< 0x00007C00 */ |
2 | mjames | 4434 | #define ADC_JSQR_JSQ3 ADC_JSQR_JSQ3_Msk /*!< ADC group injected sequencer rank 3 */ |
9 | mjames | 4435 | #define ADC_JSQR_JSQ3_0 (0x01UL << ADC_JSQR_JSQ3_Pos) /*!< 0x00000400 */ |
4436 | #define ADC_JSQR_JSQ3_1 (0x02UL << ADC_JSQR_JSQ3_Pos) /*!< 0x00000800 */ |
||
4437 | #define ADC_JSQR_JSQ3_2 (0x04UL << ADC_JSQR_JSQ3_Pos) /*!< 0x00001000 */ |
||
4438 | #define ADC_JSQR_JSQ3_3 (0x08UL << ADC_JSQR_JSQ3_Pos) /*!< 0x00002000 */ |
||
4439 | #define ADC_JSQR_JSQ3_4 (0x10UL << ADC_JSQR_JSQ3_Pos) /*!< 0x00004000 */ |
||
2 | mjames | 4440 | |
4441 | #define ADC_JSQR_JSQ4_Pos (15U) |
||
9 | mjames | 4442 | #define ADC_JSQR_JSQ4_Msk (0x1FUL << ADC_JSQR_JSQ4_Pos) /*!< 0x000F8000 */ |
2 | mjames | 4443 | #define ADC_JSQR_JSQ4 ADC_JSQR_JSQ4_Msk /*!< ADC group injected sequencer rank 4 */ |
9 | mjames | 4444 | #define ADC_JSQR_JSQ4_0 (0x01UL << ADC_JSQR_JSQ4_Pos) /*!< 0x00008000 */ |
4445 | #define ADC_JSQR_JSQ4_1 (0x02UL << ADC_JSQR_JSQ4_Pos) /*!< 0x00010000 */ |
||
4446 | #define ADC_JSQR_JSQ4_2 (0x04UL << ADC_JSQR_JSQ4_Pos) /*!< 0x00020000 */ |
||
4447 | #define ADC_JSQR_JSQ4_3 (0x08UL << ADC_JSQR_JSQ4_Pos) /*!< 0x00040000 */ |
||
4448 | #define ADC_JSQR_JSQ4_4 (0x10UL << ADC_JSQR_JSQ4_Pos) /*!< 0x00080000 */ |
||
2 | mjames | 4449 | |
4450 | #define ADC_JSQR_JL_Pos (20U) |
||
9 | mjames | 4451 | #define ADC_JSQR_JL_Msk (0x3UL << ADC_JSQR_JL_Pos) /*!< 0x00300000 */ |
2 | mjames | 4452 | #define ADC_JSQR_JL ADC_JSQR_JL_Msk /*!< ADC group injected sequencer scan length */ |
9 | mjames | 4453 | #define ADC_JSQR_JL_0 (0x1UL << ADC_JSQR_JL_Pos) /*!< 0x00100000 */ |
4454 | #define ADC_JSQR_JL_1 (0x2UL << ADC_JSQR_JL_Pos) /*!< 0x00200000 */ |
||
2 | mjames | 4455 | |
4456 | /******************* Bit definition for ADC_JDR1 register *******************/ |
||
4457 | #define ADC_JDR1_JDATA_Pos (0U) |
||
9 | mjames | 4458 | #define ADC_JDR1_JDATA_Msk (0xFFFFUL << ADC_JDR1_JDATA_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 4459 | #define ADC_JDR1_JDATA ADC_JDR1_JDATA_Msk /*!< ADC group injected sequencer rank 1 conversion data */ |
4460 | |||
4461 | /******************* Bit definition for ADC_JDR2 register *******************/ |
||
4462 | #define ADC_JDR2_JDATA_Pos (0U) |
||
9 | mjames | 4463 | #define ADC_JDR2_JDATA_Msk (0xFFFFUL << ADC_JDR2_JDATA_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 4464 | #define ADC_JDR2_JDATA ADC_JDR2_JDATA_Msk /*!< ADC group injected sequencer rank 2 conversion data */ |
4465 | |||
4466 | /******************* Bit definition for ADC_JDR3 register *******************/ |
||
4467 | #define ADC_JDR3_JDATA_Pos (0U) |
||
9 | mjames | 4468 | #define ADC_JDR3_JDATA_Msk (0xFFFFUL << ADC_JDR3_JDATA_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 4469 | #define ADC_JDR3_JDATA ADC_JDR3_JDATA_Msk /*!< ADC group injected sequencer rank 3 conversion data */ |
4470 | |||
4471 | /******************* Bit definition for ADC_JDR4 register *******************/ |
||
4472 | #define ADC_JDR4_JDATA_Pos (0U) |
||
9 | mjames | 4473 | #define ADC_JDR4_JDATA_Msk (0xFFFFUL << ADC_JDR4_JDATA_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 4474 | #define ADC_JDR4_JDATA ADC_JDR4_JDATA_Msk /*!< ADC group injected sequencer rank 4 conversion data */ |
4475 | |||
4476 | /******************** Bit definition for ADC_DR register ********************/ |
||
4477 | #define ADC_DR_DATA_Pos (0U) |
||
9 | mjames | 4478 | #define ADC_DR_DATA_Msk (0xFFFFUL << ADC_DR_DATA_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 4479 | #define ADC_DR_DATA ADC_DR_DATA_Msk /*!< ADC group regular conversion data */ |
4480 | #define ADC_DR_ADC2DATA_Pos (16U) |
||
9 | mjames | 4481 | #define ADC_DR_ADC2DATA_Msk (0xFFFFUL << ADC_DR_ADC2DATA_Pos) /*!< 0xFFFF0000 */ |
2 | mjames | 4482 | #define ADC_DR_ADC2DATA ADC_DR_ADC2DATA_Msk /*!< ADC group regular conversion data for ADC slave, in multimode */ |
4483 | /******************************************************************************/ |
||
4484 | /* */ |
||
4485 | /* Digital to Analog Converter */ |
||
4486 | /* */ |
||
4487 | /******************************************************************************/ |
||
4488 | |||
4489 | /******************** Bit definition for DAC_CR register ********************/ |
||
4490 | #define DAC_CR_EN1_Pos (0U) |
||
9 | mjames | 4491 | #define DAC_CR_EN1_Msk (0x1UL << DAC_CR_EN1_Pos) /*!< 0x00000001 */ |
2 | mjames | 4492 | #define DAC_CR_EN1 DAC_CR_EN1_Msk /*!< DAC channel1 enable */ |
4493 | #define DAC_CR_BOFF1_Pos (1U) |
||
9 | mjames | 4494 | #define DAC_CR_BOFF1_Msk (0x1UL << DAC_CR_BOFF1_Pos) /*!< 0x00000002 */ |
2 | mjames | 4495 | #define DAC_CR_BOFF1 DAC_CR_BOFF1_Msk /*!< DAC channel1 output buffer disable */ |
4496 | #define DAC_CR_TEN1_Pos (2U) |
||
9 | mjames | 4497 | #define DAC_CR_TEN1_Msk (0x1UL << DAC_CR_TEN1_Pos) /*!< 0x00000004 */ |
2 | mjames | 4498 | #define DAC_CR_TEN1 DAC_CR_TEN1_Msk /*!< DAC channel1 Trigger enable */ |
4499 | |||
4500 | #define DAC_CR_TSEL1_Pos (3U) |
||
9 | mjames | 4501 | #define DAC_CR_TSEL1_Msk (0x7UL << DAC_CR_TSEL1_Pos) /*!< 0x00000038 */ |
2 | mjames | 4502 | #define DAC_CR_TSEL1 DAC_CR_TSEL1_Msk /*!< TSEL1[2:0] (DAC channel1 Trigger selection) */ |
9 | mjames | 4503 | #define DAC_CR_TSEL1_0 (0x1UL << DAC_CR_TSEL1_Pos) /*!< 0x00000008 */ |
4504 | #define DAC_CR_TSEL1_1 (0x2UL << DAC_CR_TSEL1_Pos) /*!< 0x00000010 */ |
||
4505 | #define DAC_CR_TSEL1_2 (0x4UL << DAC_CR_TSEL1_Pos) /*!< 0x00000020 */ |
||
2 | mjames | 4506 | |
4507 | #define DAC_CR_WAVE1_Pos (6U) |
||
9 | mjames | 4508 | #define DAC_CR_WAVE1_Msk (0x3UL << DAC_CR_WAVE1_Pos) /*!< 0x000000C0 */ |
2 | mjames | 4509 | #define DAC_CR_WAVE1 DAC_CR_WAVE1_Msk /*!< WAVE1[1:0] (DAC channel1 noise/triangle wave generation enable) */ |
9 | mjames | 4510 | #define DAC_CR_WAVE1_0 (0x1UL << DAC_CR_WAVE1_Pos) /*!< 0x00000040 */ |
4511 | #define DAC_CR_WAVE1_1 (0x2UL << DAC_CR_WAVE1_Pos) /*!< 0x00000080 */ |
||
2 | mjames | 4512 | |
4513 | #define DAC_CR_MAMP1_Pos (8U) |
||
9 | mjames | 4514 | #define DAC_CR_MAMP1_Msk (0xFUL << DAC_CR_MAMP1_Pos) /*!< 0x00000F00 */ |
2 | mjames | 4515 | #define DAC_CR_MAMP1 DAC_CR_MAMP1_Msk /*!< MAMP1[3:0] (DAC channel1 Mask/Amplitude selector) */ |
9 | mjames | 4516 | #define DAC_CR_MAMP1_0 (0x1UL << DAC_CR_MAMP1_Pos) /*!< 0x00000100 */ |
4517 | #define DAC_CR_MAMP1_1 (0x2UL << DAC_CR_MAMP1_Pos) /*!< 0x00000200 */ |
||
4518 | #define DAC_CR_MAMP1_2 (0x4UL << DAC_CR_MAMP1_Pos) /*!< 0x00000400 */ |
||
4519 | #define DAC_CR_MAMP1_3 (0x8UL << DAC_CR_MAMP1_Pos) /*!< 0x00000800 */ |
||
2 | mjames | 4520 | |
4521 | #define DAC_CR_DMAEN1_Pos (12U) |
||
9 | mjames | 4522 | #define DAC_CR_DMAEN1_Msk (0x1UL << DAC_CR_DMAEN1_Pos) /*!< 0x00001000 */ |
2 | mjames | 4523 | #define DAC_CR_DMAEN1 DAC_CR_DMAEN1_Msk /*!< DAC channel1 DMA enable */ |
4524 | #define DAC_CR_EN2_Pos (16U) |
||
9 | mjames | 4525 | #define DAC_CR_EN2_Msk (0x1UL << DAC_CR_EN2_Pos) /*!< 0x00010000 */ |
2 | mjames | 4526 | #define DAC_CR_EN2 DAC_CR_EN2_Msk /*!< DAC channel2 enable */ |
4527 | #define DAC_CR_BOFF2_Pos (17U) |
||
9 | mjames | 4528 | #define DAC_CR_BOFF2_Msk (0x1UL << DAC_CR_BOFF2_Pos) /*!< 0x00020000 */ |
2 | mjames | 4529 | #define DAC_CR_BOFF2 DAC_CR_BOFF2_Msk /*!< DAC channel2 output buffer disable */ |
4530 | #define DAC_CR_TEN2_Pos (18U) |
||
9 | mjames | 4531 | #define DAC_CR_TEN2_Msk (0x1UL << DAC_CR_TEN2_Pos) /*!< 0x00040000 */ |
2 | mjames | 4532 | #define DAC_CR_TEN2 DAC_CR_TEN2_Msk /*!< DAC channel2 Trigger enable */ |
4533 | |||
4534 | #define DAC_CR_TSEL2_Pos (19U) |
||
9 | mjames | 4535 | #define DAC_CR_TSEL2_Msk (0x7UL << DAC_CR_TSEL2_Pos) /*!< 0x00380000 */ |
2 | mjames | 4536 | #define DAC_CR_TSEL2 DAC_CR_TSEL2_Msk /*!< TSEL2[2:0] (DAC channel2 Trigger selection) */ |
9 | mjames | 4537 | #define DAC_CR_TSEL2_0 (0x1UL << DAC_CR_TSEL2_Pos) /*!< 0x00080000 */ |
4538 | #define DAC_CR_TSEL2_1 (0x2UL << DAC_CR_TSEL2_Pos) /*!< 0x00100000 */ |
||
4539 | #define DAC_CR_TSEL2_2 (0x4UL << DAC_CR_TSEL2_Pos) /*!< 0x00200000 */ |
||
2 | mjames | 4540 | |
4541 | #define DAC_CR_WAVE2_Pos (22U) |
||
9 | mjames | 4542 | #define DAC_CR_WAVE2_Msk (0x3UL << DAC_CR_WAVE2_Pos) /*!< 0x00C00000 */ |
2 | mjames | 4543 | #define DAC_CR_WAVE2 DAC_CR_WAVE2_Msk /*!< WAVE2[1:0] (DAC channel2 noise/triangle wave generation enable) */ |
9 | mjames | 4544 | #define DAC_CR_WAVE2_0 (0x1UL << DAC_CR_WAVE2_Pos) /*!< 0x00400000 */ |
4545 | #define DAC_CR_WAVE2_1 (0x2UL << DAC_CR_WAVE2_Pos) /*!< 0x00800000 */ |
||
2 | mjames | 4546 | |
4547 | #define DAC_CR_MAMP2_Pos (24U) |
||
9 | mjames | 4548 | #define DAC_CR_MAMP2_Msk (0xFUL << DAC_CR_MAMP2_Pos) /*!< 0x0F000000 */ |
2 | mjames | 4549 | #define DAC_CR_MAMP2 DAC_CR_MAMP2_Msk /*!< MAMP2[3:0] (DAC channel2 Mask/Amplitude selector) */ |
9 | mjames | 4550 | #define DAC_CR_MAMP2_0 (0x1UL << DAC_CR_MAMP2_Pos) /*!< 0x01000000 */ |
4551 | #define DAC_CR_MAMP2_1 (0x2UL << DAC_CR_MAMP2_Pos) /*!< 0x02000000 */ |
||
4552 | #define DAC_CR_MAMP2_2 (0x4UL << DAC_CR_MAMP2_Pos) /*!< 0x04000000 */ |
||
4553 | #define DAC_CR_MAMP2_3 (0x8UL << DAC_CR_MAMP2_Pos) /*!< 0x08000000 */ |
||
2 | mjames | 4554 | |
4555 | #define DAC_CR_DMAEN2_Pos (28U) |
||
9 | mjames | 4556 | #define DAC_CR_DMAEN2_Msk (0x1UL << DAC_CR_DMAEN2_Pos) /*!< 0x10000000 */ |
2 | mjames | 4557 | #define DAC_CR_DMAEN2 DAC_CR_DMAEN2_Msk /*!< DAC channel2 DMA enabled */ |
4558 | |||
4559 | |||
4560 | /***************** Bit definition for DAC_SWTRIGR register ******************/ |
||
4561 | #define DAC_SWTRIGR_SWTRIG1_Pos (0U) |
||
9 | mjames | 4562 | #define DAC_SWTRIGR_SWTRIG1_Msk (0x1UL << DAC_SWTRIGR_SWTRIG1_Pos) /*!< 0x00000001 */ |
2 | mjames | 4563 | #define DAC_SWTRIGR_SWTRIG1 DAC_SWTRIGR_SWTRIG1_Msk /*!< DAC channel1 software trigger */ |
4564 | #define DAC_SWTRIGR_SWTRIG2_Pos (1U) |
||
9 | mjames | 4565 | #define DAC_SWTRIGR_SWTRIG2_Msk (0x1UL << DAC_SWTRIGR_SWTRIG2_Pos) /*!< 0x00000002 */ |
2 | mjames | 4566 | #define DAC_SWTRIGR_SWTRIG2 DAC_SWTRIGR_SWTRIG2_Msk /*!< DAC channel2 software trigger */ |
4567 | |||
4568 | /***************** Bit definition for DAC_DHR12R1 register ******************/ |
||
4569 | #define DAC_DHR12R1_DACC1DHR_Pos (0U) |
||
9 | mjames | 4570 | #define DAC_DHR12R1_DACC1DHR_Msk (0xFFFUL << DAC_DHR12R1_DACC1DHR_Pos) /*!< 0x00000FFF */ |
2 | mjames | 4571 | #define DAC_DHR12R1_DACC1DHR DAC_DHR12R1_DACC1DHR_Msk /*!< DAC channel1 12-bit Right aligned data */ |
4572 | |||
4573 | /***************** Bit definition for DAC_DHR12L1 register ******************/ |
||
4574 | #define DAC_DHR12L1_DACC1DHR_Pos (4U) |
||
9 | mjames | 4575 | #define DAC_DHR12L1_DACC1DHR_Msk (0xFFFUL << DAC_DHR12L1_DACC1DHR_Pos) /*!< 0x0000FFF0 */ |
2 | mjames | 4576 | #define DAC_DHR12L1_DACC1DHR DAC_DHR12L1_DACC1DHR_Msk /*!< DAC channel1 12-bit Left aligned data */ |
4577 | |||
4578 | /****************** Bit definition for DAC_DHR8R1 register ******************/ |
||
4579 | #define DAC_DHR8R1_DACC1DHR_Pos (0U) |
||
9 | mjames | 4580 | #define DAC_DHR8R1_DACC1DHR_Msk (0xFFUL << DAC_DHR8R1_DACC1DHR_Pos) /*!< 0x000000FF */ |
2 | mjames | 4581 | #define DAC_DHR8R1_DACC1DHR DAC_DHR8R1_DACC1DHR_Msk /*!< DAC channel1 8-bit Right aligned data */ |
4582 | |||
4583 | /***************** Bit definition for DAC_DHR12R2 register ******************/ |
||
4584 | #define DAC_DHR12R2_DACC2DHR_Pos (0U) |
||
9 | mjames | 4585 | #define DAC_DHR12R2_DACC2DHR_Msk (0xFFFUL << DAC_DHR12R2_DACC2DHR_Pos) /*!< 0x00000FFF */ |
2 | mjames | 4586 | #define DAC_DHR12R2_DACC2DHR DAC_DHR12R2_DACC2DHR_Msk /*!< DAC channel2 12-bit Right aligned data */ |
4587 | |||
4588 | /***************** Bit definition for DAC_DHR12L2 register ******************/ |
||
4589 | #define DAC_DHR12L2_DACC2DHR_Pos (4U) |
||
9 | mjames | 4590 | #define DAC_DHR12L2_DACC2DHR_Msk (0xFFFUL << DAC_DHR12L2_DACC2DHR_Pos) /*!< 0x0000FFF0 */ |
2 | mjames | 4591 | #define DAC_DHR12L2_DACC2DHR DAC_DHR12L2_DACC2DHR_Msk /*!< DAC channel2 12-bit Left aligned data */ |
4592 | |||
4593 | /****************** Bit definition for DAC_DHR8R2 register ******************/ |
||
4594 | #define DAC_DHR8R2_DACC2DHR_Pos (0U) |
||
9 | mjames | 4595 | #define DAC_DHR8R2_DACC2DHR_Msk (0xFFUL << DAC_DHR8R2_DACC2DHR_Pos) /*!< 0x000000FF */ |
2 | mjames | 4596 | #define DAC_DHR8R2_DACC2DHR DAC_DHR8R2_DACC2DHR_Msk /*!< DAC channel2 8-bit Right aligned data */ |
4597 | |||
4598 | /***************** Bit definition for DAC_DHR12RD register ******************/ |
||
4599 | #define DAC_DHR12RD_DACC1DHR_Pos (0U) |
||
9 | mjames | 4600 | #define DAC_DHR12RD_DACC1DHR_Msk (0xFFFUL << DAC_DHR12RD_DACC1DHR_Pos) /*!< 0x00000FFF */ |
2 | mjames | 4601 | #define DAC_DHR12RD_DACC1DHR DAC_DHR12RD_DACC1DHR_Msk /*!< DAC channel1 12-bit Right aligned data */ |
4602 | #define DAC_DHR12RD_DACC2DHR_Pos (16U) |
||
9 | mjames | 4603 | #define DAC_DHR12RD_DACC2DHR_Msk (0xFFFUL << DAC_DHR12RD_DACC2DHR_Pos) /*!< 0x0FFF0000 */ |
2 | mjames | 4604 | #define DAC_DHR12RD_DACC2DHR DAC_DHR12RD_DACC2DHR_Msk /*!< DAC channel2 12-bit Right aligned data */ |
4605 | |||
4606 | /***************** Bit definition for DAC_DHR12LD register ******************/ |
||
4607 | #define DAC_DHR12LD_DACC1DHR_Pos (4U) |
||
9 | mjames | 4608 | #define DAC_DHR12LD_DACC1DHR_Msk (0xFFFUL << DAC_DHR12LD_DACC1DHR_Pos) /*!< 0x0000FFF0 */ |
2 | mjames | 4609 | #define DAC_DHR12LD_DACC1DHR DAC_DHR12LD_DACC1DHR_Msk /*!< DAC channel1 12-bit Left aligned data */ |
4610 | #define DAC_DHR12LD_DACC2DHR_Pos (20U) |
||
9 | mjames | 4611 | #define DAC_DHR12LD_DACC2DHR_Msk (0xFFFUL << DAC_DHR12LD_DACC2DHR_Pos) /*!< 0xFFF00000 */ |
2 | mjames | 4612 | #define DAC_DHR12LD_DACC2DHR DAC_DHR12LD_DACC2DHR_Msk /*!< DAC channel2 12-bit Left aligned data */ |
4613 | |||
4614 | /****************** Bit definition for DAC_DHR8RD register ******************/ |
||
4615 | #define DAC_DHR8RD_DACC1DHR_Pos (0U) |
||
9 | mjames | 4616 | #define DAC_DHR8RD_DACC1DHR_Msk (0xFFUL << DAC_DHR8RD_DACC1DHR_Pos) /*!< 0x000000FF */ |
2 | mjames | 4617 | #define DAC_DHR8RD_DACC1DHR DAC_DHR8RD_DACC1DHR_Msk /*!< DAC channel1 8-bit Right aligned data */ |
4618 | #define DAC_DHR8RD_DACC2DHR_Pos (8U) |
||
9 | mjames | 4619 | #define DAC_DHR8RD_DACC2DHR_Msk (0xFFUL << DAC_DHR8RD_DACC2DHR_Pos) /*!< 0x0000FF00 */ |
2 | mjames | 4620 | #define DAC_DHR8RD_DACC2DHR DAC_DHR8RD_DACC2DHR_Msk /*!< DAC channel2 8-bit Right aligned data */ |
4621 | |||
4622 | /******************* Bit definition for DAC_DOR1 register *******************/ |
||
4623 | #define DAC_DOR1_DACC1DOR_Pos (0U) |
||
9 | mjames | 4624 | #define DAC_DOR1_DACC1DOR_Msk (0xFFFUL << DAC_DOR1_DACC1DOR_Pos) /*!< 0x00000FFF */ |
2 | mjames | 4625 | #define DAC_DOR1_DACC1DOR DAC_DOR1_DACC1DOR_Msk /*!< DAC channel1 data output */ |
4626 | |||
4627 | /******************* Bit definition for DAC_DOR2 register *******************/ |
||
4628 | #define DAC_DOR2_DACC2DOR_Pos (0U) |
||
9 | mjames | 4629 | #define DAC_DOR2_DACC2DOR_Msk (0xFFFUL << DAC_DOR2_DACC2DOR_Pos) /*!< 0x00000FFF */ |
2 | mjames | 4630 | #define DAC_DOR2_DACC2DOR DAC_DOR2_DACC2DOR_Msk /*!< DAC channel2 data output */ |
4631 | |||
4632 | |||
4633 | |||
4634 | /*****************************************************************************/ |
||
4635 | /* */ |
||
4636 | /* Timers (TIM) */ |
||
4637 | /* */ |
||
4638 | /*****************************************************************************/ |
||
4639 | /******************* Bit definition for TIM_CR1 register *******************/ |
||
4640 | #define TIM_CR1_CEN_Pos (0U) |
||
9 | mjames | 4641 | #define TIM_CR1_CEN_Msk (0x1UL << TIM_CR1_CEN_Pos) /*!< 0x00000001 */ |
2 | mjames | 4642 | #define TIM_CR1_CEN TIM_CR1_CEN_Msk /*!<Counter enable */ |
4643 | #define TIM_CR1_UDIS_Pos (1U) |
||
9 | mjames | 4644 | #define TIM_CR1_UDIS_Msk (0x1UL << TIM_CR1_UDIS_Pos) /*!< 0x00000002 */ |
2 | mjames | 4645 | #define TIM_CR1_UDIS TIM_CR1_UDIS_Msk /*!<Update disable */ |
4646 | #define TIM_CR1_URS_Pos (2U) |
||
9 | mjames | 4647 | #define TIM_CR1_URS_Msk (0x1UL << TIM_CR1_URS_Pos) /*!< 0x00000004 */ |
2 | mjames | 4648 | #define TIM_CR1_URS TIM_CR1_URS_Msk /*!<Update request source */ |
4649 | #define TIM_CR1_OPM_Pos (3U) |
||
9 | mjames | 4650 | #define TIM_CR1_OPM_Msk (0x1UL << TIM_CR1_OPM_Pos) /*!< 0x00000008 */ |
2 | mjames | 4651 | #define TIM_CR1_OPM TIM_CR1_OPM_Msk /*!<One pulse mode */ |
4652 | #define TIM_CR1_DIR_Pos (4U) |
||
9 | mjames | 4653 | #define TIM_CR1_DIR_Msk (0x1UL << TIM_CR1_DIR_Pos) /*!< 0x00000010 */ |
2 | mjames | 4654 | #define TIM_CR1_DIR TIM_CR1_DIR_Msk /*!<Direction */ |
4655 | |||
4656 | #define TIM_CR1_CMS_Pos (5U) |
||
9 | mjames | 4657 | #define TIM_CR1_CMS_Msk (0x3UL << TIM_CR1_CMS_Pos) /*!< 0x00000060 */ |
2 | mjames | 4658 | #define TIM_CR1_CMS TIM_CR1_CMS_Msk /*!<CMS[1:0] bits (Center-aligned mode selection) */ |
9 | mjames | 4659 | #define TIM_CR1_CMS_0 (0x1UL << TIM_CR1_CMS_Pos) /*!< 0x00000020 */ |
4660 | #define TIM_CR1_CMS_1 (0x2UL << TIM_CR1_CMS_Pos) /*!< 0x00000040 */ |
||
2 | mjames | 4661 | |
4662 | #define TIM_CR1_ARPE_Pos (7U) |
||
9 | mjames | 4663 | #define TIM_CR1_ARPE_Msk (0x1UL << TIM_CR1_ARPE_Pos) /*!< 0x00000080 */ |
2 | mjames | 4664 | #define TIM_CR1_ARPE TIM_CR1_ARPE_Msk /*!<Auto-reload preload enable */ |
4665 | |||
4666 | #define TIM_CR1_CKD_Pos (8U) |
||
9 | mjames | 4667 | #define TIM_CR1_CKD_Msk (0x3UL << TIM_CR1_CKD_Pos) /*!< 0x00000300 */ |
2 | mjames | 4668 | #define TIM_CR1_CKD TIM_CR1_CKD_Msk /*!<CKD[1:0] bits (clock division) */ |
9 | mjames | 4669 | #define TIM_CR1_CKD_0 (0x1UL << TIM_CR1_CKD_Pos) /*!< 0x00000100 */ |
4670 | #define TIM_CR1_CKD_1 (0x2UL << TIM_CR1_CKD_Pos) /*!< 0x00000200 */ |
||
2 | mjames | 4671 | |
4672 | /******************* Bit definition for TIM_CR2 register *******************/ |
||
4673 | #define TIM_CR2_CCPC_Pos (0U) |
||
9 | mjames | 4674 | #define TIM_CR2_CCPC_Msk (0x1UL << TIM_CR2_CCPC_Pos) /*!< 0x00000001 */ |
2 | mjames | 4675 | #define TIM_CR2_CCPC TIM_CR2_CCPC_Msk /*!<Capture/Compare Preloaded Control */ |
4676 | #define TIM_CR2_CCUS_Pos (2U) |
||
9 | mjames | 4677 | #define TIM_CR2_CCUS_Msk (0x1UL << TIM_CR2_CCUS_Pos) /*!< 0x00000004 */ |
2 | mjames | 4678 | #define TIM_CR2_CCUS TIM_CR2_CCUS_Msk /*!<Capture/Compare Control Update Selection */ |
4679 | #define TIM_CR2_CCDS_Pos (3U) |
||
9 | mjames | 4680 | #define TIM_CR2_CCDS_Msk (0x1UL << TIM_CR2_CCDS_Pos) /*!< 0x00000008 */ |
2 | mjames | 4681 | #define TIM_CR2_CCDS TIM_CR2_CCDS_Msk /*!<Capture/Compare DMA Selection */ |
4682 | |||
4683 | #define TIM_CR2_MMS_Pos (4U) |
||
9 | mjames | 4684 | #define TIM_CR2_MMS_Msk (0x7UL << TIM_CR2_MMS_Pos) /*!< 0x00000070 */ |
2 | mjames | 4685 | #define TIM_CR2_MMS TIM_CR2_MMS_Msk /*!<MMS[2:0] bits (Master Mode Selection) */ |
9 | mjames | 4686 | #define TIM_CR2_MMS_0 (0x1UL << TIM_CR2_MMS_Pos) /*!< 0x00000010 */ |
4687 | #define TIM_CR2_MMS_1 (0x2UL << TIM_CR2_MMS_Pos) /*!< 0x00000020 */ |
||
4688 | #define TIM_CR2_MMS_2 (0x4UL << TIM_CR2_MMS_Pos) /*!< 0x00000040 */ |
||
2 | mjames | 4689 | |
4690 | #define TIM_CR2_TI1S_Pos (7U) |
||
9 | mjames | 4691 | #define TIM_CR2_TI1S_Msk (0x1UL << TIM_CR2_TI1S_Pos) /*!< 0x00000080 */ |
2 | mjames | 4692 | #define TIM_CR2_TI1S TIM_CR2_TI1S_Msk /*!<TI1 Selection */ |
4693 | #define TIM_CR2_OIS1_Pos (8U) |
||
9 | mjames | 4694 | #define TIM_CR2_OIS1_Msk (0x1UL << TIM_CR2_OIS1_Pos) /*!< 0x00000100 */ |
2 | mjames | 4695 | #define TIM_CR2_OIS1 TIM_CR2_OIS1_Msk /*!<Output Idle state 1 (OC1 output) */ |
4696 | #define TIM_CR2_OIS1N_Pos (9U) |
||
9 | mjames | 4697 | #define TIM_CR2_OIS1N_Msk (0x1UL << TIM_CR2_OIS1N_Pos) /*!< 0x00000200 */ |
2 | mjames | 4698 | #define TIM_CR2_OIS1N TIM_CR2_OIS1N_Msk /*!<Output Idle state 1 (OC1N output) */ |
4699 | #define TIM_CR2_OIS2_Pos (10U) |
||
9 | mjames | 4700 | #define TIM_CR2_OIS2_Msk (0x1UL << TIM_CR2_OIS2_Pos) /*!< 0x00000400 */ |
2 | mjames | 4701 | #define TIM_CR2_OIS2 TIM_CR2_OIS2_Msk /*!<Output Idle state 2 (OC2 output) */ |
4702 | #define TIM_CR2_OIS2N_Pos (11U) |
||
9 | mjames | 4703 | #define TIM_CR2_OIS2N_Msk (0x1UL << TIM_CR2_OIS2N_Pos) /*!< 0x00000800 */ |
2 | mjames | 4704 | #define TIM_CR2_OIS2N TIM_CR2_OIS2N_Msk /*!<Output Idle state 2 (OC2N output) */ |
4705 | #define TIM_CR2_OIS3_Pos (12U) |
||
9 | mjames | 4706 | #define TIM_CR2_OIS3_Msk (0x1UL << TIM_CR2_OIS3_Pos) /*!< 0x00001000 */ |
2 | mjames | 4707 | #define TIM_CR2_OIS3 TIM_CR2_OIS3_Msk /*!<Output Idle state 3 (OC3 output) */ |
4708 | #define TIM_CR2_OIS3N_Pos (13U) |
||
9 | mjames | 4709 | #define TIM_CR2_OIS3N_Msk (0x1UL << TIM_CR2_OIS3N_Pos) /*!< 0x00002000 */ |
2 | mjames | 4710 | #define TIM_CR2_OIS3N TIM_CR2_OIS3N_Msk /*!<Output Idle state 3 (OC3N output) */ |
4711 | #define TIM_CR2_OIS4_Pos (14U) |
||
9 | mjames | 4712 | #define TIM_CR2_OIS4_Msk (0x1UL << TIM_CR2_OIS4_Pos) /*!< 0x00004000 */ |
2 | mjames | 4713 | #define TIM_CR2_OIS4 TIM_CR2_OIS4_Msk /*!<Output Idle state 4 (OC4 output) */ |
4714 | |||
4715 | /******************* Bit definition for TIM_SMCR register ******************/ |
||
4716 | #define TIM_SMCR_SMS_Pos (0U) |
||
9 | mjames | 4717 | #define TIM_SMCR_SMS_Msk (0x7UL << TIM_SMCR_SMS_Pos) /*!< 0x00000007 */ |
2 | mjames | 4718 | #define TIM_SMCR_SMS TIM_SMCR_SMS_Msk /*!<SMS[2:0] bits (Slave mode selection) */ |
9 | mjames | 4719 | #define TIM_SMCR_SMS_0 (0x1UL << TIM_SMCR_SMS_Pos) /*!< 0x00000001 */ |
4720 | #define TIM_SMCR_SMS_1 (0x2UL << TIM_SMCR_SMS_Pos) /*!< 0x00000002 */ |
||
4721 | #define TIM_SMCR_SMS_2 (0x4UL << TIM_SMCR_SMS_Pos) /*!< 0x00000004 */ |
||
2 | mjames | 4722 | |
4723 | #define TIM_SMCR_TS_Pos (4U) |
||
9 | mjames | 4724 | #define TIM_SMCR_TS_Msk (0x7UL << TIM_SMCR_TS_Pos) /*!< 0x00000070 */ |
2 | mjames | 4725 | #define TIM_SMCR_TS TIM_SMCR_TS_Msk /*!<TS[2:0] bits (Trigger selection) */ |
9 | mjames | 4726 | #define TIM_SMCR_TS_0 (0x1UL << TIM_SMCR_TS_Pos) /*!< 0x00000010 */ |
4727 | #define TIM_SMCR_TS_1 (0x2UL << TIM_SMCR_TS_Pos) /*!< 0x00000020 */ |
||
4728 | #define TIM_SMCR_TS_2 (0x4UL << TIM_SMCR_TS_Pos) /*!< 0x00000040 */ |
||
2 | mjames | 4729 | |
4730 | #define TIM_SMCR_MSM_Pos (7U) |
||
9 | mjames | 4731 | #define TIM_SMCR_MSM_Msk (0x1UL << TIM_SMCR_MSM_Pos) /*!< 0x00000080 */ |
2 | mjames | 4732 | #define TIM_SMCR_MSM TIM_SMCR_MSM_Msk /*!<Master/slave mode */ |
4733 | |||
4734 | #define TIM_SMCR_ETF_Pos (8U) |
||
9 | mjames | 4735 | #define TIM_SMCR_ETF_Msk (0xFUL << TIM_SMCR_ETF_Pos) /*!< 0x00000F00 */ |
2 | mjames | 4736 | #define TIM_SMCR_ETF TIM_SMCR_ETF_Msk /*!<ETF[3:0] bits (External trigger filter) */ |
9 | mjames | 4737 | #define TIM_SMCR_ETF_0 (0x1UL << TIM_SMCR_ETF_Pos) /*!< 0x00000100 */ |
4738 | #define TIM_SMCR_ETF_1 (0x2UL << TIM_SMCR_ETF_Pos) /*!< 0x00000200 */ |
||
4739 | #define TIM_SMCR_ETF_2 (0x4UL << TIM_SMCR_ETF_Pos) /*!< 0x00000400 */ |
||
4740 | #define TIM_SMCR_ETF_3 (0x8UL << TIM_SMCR_ETF_Pos) /*!< 0x00000800 */ |
||
2 | mjames | 4741 | |
4742 | #define TIM_SMCR_ETPS_Pos (12U) |
||
9 | mjames | 4743 | #define TIM_SMCR_ETPS_Msk (0x3UL << TIM_SMCR_ETPS_Pos) /*!< 0x00003000 */ |
2 | mjames | 4744 | #define TIM_SMCR_ETPS TIM_SMCR_ETPS_Msk /*!<ETPS[1:0] bits (External trigger prescaler) */ |
9 | mjames | 4745 | #define TIM_SMCR_ETPS_0 (0x1UL << TIM_SMCR_ETPS_Pos) /*!< 0x00001000 */ |
4746 | #define TIM_SMCR_ETPS_1 (0x2UL << TIM_SMCR_ETPS_Pos) /*!< 0x00002000 */ |
||
2 | mjames | 4747 | |
4748 | #define TIM_SMCR_ECE_Pos (14U) |
||
9 | mjames | 4749 | #define TIM_SMCR_ECE_Msk (0x1UL << TIM_SMCR_ECE_Pos) /*!< 0x00004000 */ |
2 | mjames | 4750 | #define TIM_SMCR_ECE TIM_SMCR_ECE_Msk /*!<External clock enable */ |
4751 | #define TIM_SMCR_ETP_Pos (15U) |
||
9 | mjames | 4752 | #define TIM_SMCR_ETP_Msk (0x1UL << TIM_SMCR_ETP_Pos) /*!< 0x00008000 */ |
2 | mjames | 4753 | #define TIM_SMCR_ETP TIM_SMCR_ETP_Msk /*!<External trigger polarity */ |
4754 | |||
4755 | /******************* Bit definition for TIM_DIER register ******************/ |
||
4756 | #define TIM_DIER_UIE_Pos (0U) |
||
9 | mjames | 4757 | #define TIM_DIER_UIE_Msk (0x1UL << TIM_DIER_UIE_Pos) /*!< 0x00000001 */ |
2 | mjames | 4758 | #define TIM_DIER_UIE TIM_DIER_UIE_Msk /*!<Update interrupt enable */ |
4759 | #define TIM_DIER_CC1IE_Pos (1U) |
||
9 | mjames | 4760 | #define TIM_DIER_CC1IE_Msk (0x1UL << TIM_DIER_CC1IE_Pos) /*!< 0x00000002 */ |
2 | mjames | 4761 | #define TIM_DIER_CC1IE TIM_DIER_CC1IE_Msk /*!<Capture/Compare 1 interrupt enable */ |
4762 | #define TIM_DIER_CC2IE_Pos (2U) |
||
9 | mjames | 4763 | #define TIM_DIER_CC2IE_Msk (0x1UL << TIM_DIER_CC2IE_Pos) /*!< 0x00000004 */ |
2 | mjames | 4764 | #define TIM_DIER_CC2IE TIM_DIER_CC2IE_Msk /*!<Capture/Compare 2 interrupt enable */ |
4765 | #define TIM_DIER_CC3IE_Pos (3U) |
||
9 | mjames | 4766 | #define TIM_DIER_CC3IE_Msk (0x1UL << TIM_DIER_CC3IE_Pos) /*!< 0x00000008 */ |
2 | mjames | 4767 | #define TIM_DIER_CC3IE TIM_DIER_CC3IE_Msk /*!<Capture/Compare 3 interrupt enable */ |
4768 | #define TIM_DIER_CC4IE_Pos (4U) |
||
9 | mjames | 4769 | #define TIM_DIER_CC4IE_Msk (0x1UL << TIM_DIER_CC4IE_Pos) /*!< 0x00000010 */ |
2 | mjames | 4770 | #define TIM_DIER_CC4IE TIM_DIER_CC4IE_Msk /*!<Capture/Compare 4 interrupt enable */ |
4771 | #define TIM_DIER_COMIE_Pos (5U) |
||
9 | mjames | 4772 | #define TIM_DIER_COMIE_Msk (0x1UL << TIM_DIER_COMIE_Pos) /*!< 0x00000020 */ |
2 | mjames | 4773 | #define TIM_DIER_COMIE TIM_DIER_COMIE_Msk /*!<COM interrupt enable */ |
4774 | #define TIM_DIER_TIE_Pos (6U) |
||
9 | mjames | 4775 | #define TIM_DIER_TIE_Msk (0x1UL << TIM_DIER_TIE_Pos) /*!< 0x00000040 */ |
2 | mjames | 4776 | #define TIM_DIER_TIE TIM_DIER_TIE_Msk /*!<Trigger interrupt enable */ |
4777 | #define TIM_DIER_BIE_Pos (7U) |
||
9 | mjames | 4778 | #define TIM_DIER_BIE_Msk (0x1UL << TIM_DIER_BIE_Pos) /*!< 0x00000080 */ |
2 | mjames | 4779 | #define TIM_DIER_BIE TIM_DIER_BIE_Msk /*!<Break interrupt enable */ |
4780 | #define TIM_DIER_UDE_Pos (8U) |
||
9 | mjames | 4781 | #define TIM_DIER_UDE_Msk (0x1UL << TIM_DIER_UDE_Pos) /*!< 0x00000100 */ |
2 | mjames | 4782 | #define TIM_DIER_UDE TIM_DIER_UDE_Msk /*!<Update DMA request enable */ |
4783 | #define TIM_DIER_CC1DE_Pos (9U) |
||
9 | mjames | 4784 | #define TIM_DIER_CC1DE_Msk (0x1UL << TIM_DIER_CC1DE_Pos) /*!< 0x00000200 */ |
2 | mjames | 4785 | #define TIM_DIER_CC1DE TIM_DIER_CC1DE_Msk /*!<Capture/Compare 1 DMA request enable */ |
4786 | #define TIM_DIER_CC2DE_Pos (10U) |
||
9 | mjames | 4787 | #define TIM_DIER_CC2DE_Msk (0x1UL << TIM_DIER_CC2DE_Pos) /*!< 0x00000400 */ |
2 | mjames | 4788 | #define TIM_DIER_CC2DE TIM_DIER_CC2DE_Msk /*!<Capture/Compare 2 DMA request enable */ |
4789 | #define TIM_DIER_CC3DE_Pos (11U) |
||
9 | mjames | 4790 | #define TIM_DIER_CC3DE_Msk (0x1UL << TIM_DIER_CC3DE_Pos) /*!< 0x00000800 */ |
2 | mjames | 4791 | #define TIM_DIER_CC3DE TIM_DIER_CC3DE_Msk /*!<Capture/Compare 3 DMA request enable */ |
4792 | #define TIM_DIER_CC4DE_Pos (12U) |
||
9 | mjames | 4793 | #define TIM_DIER_CC4DE_Msk (0x1UL << TIM_DIER_CC4DE_Pos) /*!< 0x00001000 */ |
2 | mjames | 4794 | #define TIM_DIER_CC4DE TIM_DIER_CC4DE_Msk /*!<Capture/Compare 4 DMA request enable */ |
4795 | #define TIM_DIER_COMDE_Pos (13U) |
||
9 | mjames | 4796 | #define TIM_DIER_COMDE_Msk (0x1UL << TIM_DIER_COMDE_Pos) /*!< 0x00002000 */ |
2 | mjames | 4797 | #define TIM_DIER_COMDE TIM_DIER_COMDE_Msk /*!<COM DMA request enable */ |
4798 | #define TIM_DIER_TDE_Pos (14U) |
||
9 | mjames | 4799 | #define TIM_DIER_TDE_Msk (0x1UL << TIM_DIER_TDE_Pos) /*!< 0x00004000 */ |
2 | mjames | 4800 | #define TIM_DIER_TDE TIM_DIER_TDE_Msk /*!<Trigger DMA request enable */ |
4801 | |||
4802 | /******************** Bit definition for TIM_SR register *******************/ |
||
4803 | #define TIM_SR_UIF_Pos (0U) |
||
9 | mjames | 4804 | #define TIM_SR_UIF_Msk (0x1UL << TIM_SR_UIF_Pos) /*!< 0x00000001 */ |
2 | mjames | 4805 | #define TIM_SR_UIF TIM_SR_UIF_Msk /*!<Update interrupt Flag */ |
4806 | #define TIM_SR_CC1IF_Pos (1U) |
||
9 | mjames | 4807 | #define TIM_SR_CC1IF_Msk (0x1UL << TIM_SR_CC1IF_Pos) /*!< 0x00000002 */ |
2 | mjames | 4808 | #define TIM_SR_CC1IF TIM_SR_CC1IF_Msk /*!<Capture/Compare 1 interrupt Flag */ |
4809 | #define TIM_SR_CC2IF_Pos (2U) |
||
9 | mjames | 4810 | #define TIM_SR_CC2IF_Msk (0x1UL << TIM_SR_CC2IF_Pos) /*!< 0x00000004 */ |
2 | mjames | 4811 | #define TIM_SR_CC2IF TIM_SR_CC2IF_Msk /*!<Capture/Compare 2 interrupt Flag */ |
4812 | #define TIM_SR_CC3IF_Pos (3U) |
||
9 | mjames | 4813 | #define TIM_SR_CC3IF_Msk (0x1UL << TIM_SR_CC3IF_Pos) /*!< 0x00000008 */ |
2 | mjames | 4814 | #define TIM_SR_CC3IF TIM_SR_CC3IF_Msk /*!<Capture/Compare 3 interrupt Flag */ |
4815 | #define TIM_SR_CC4IF_Pos (4U) |
||
9 | mjames | 4816 | #define TIM_SR_CC4IF_Msk (0x1UL << TIM_SR_CC4IF_Pos) /*!< 0x00000010 */ |
2 | mjames | 4817 | #define TIM_SR_CC4IF TIM_SR_CC4IF_Msk /*!<Capture/Compare 4 interrupt Flag */ |
4818 | #define TIM_SR_COMIF_Pos (5U) |
||
9 | mjames | 4819 | #define TIM_SR_COMIF_Msk (0x1UL << TIM_SR_COMIF_Pos) /*!< 0x00000020 */ |
2 | mjames | 4820 | #define TIM_SR_COMIF TIM_SR_COMIF_Msk /*!<COM interrupt Flag */ |
4821 | #define TIM_SR_TIF_Pos (6U) |
||
9 | mjames | 4822 | #define TIM_SR_TIF_Msk (0x1UL << TIM_SR_TIF_Pos) /*!< 0x00000040 */ |
2 | mjames | 4823 | #define TIM_SR_TIF TIM_SR_TIF_Msk /*!<Trigger interrupt Flag */ |
4824 | #define TIM_SR_BIF_Pos (7U) |
||
9 | mjames | 4825 | #define TIM_SR_BIF_Msk (0x1UL << TIM_SR_BIF_Pos) /*!< 0x00000080 */ |
2 | mjames | 4826 | #define TIM_SR_BIF TIM_SR_BIF_Msk /*!<Break interrupt Flag */ |
4827 | #define TIM_SR_CC1OF_Pos (9U) |
||
9 | mjames | 4828 | #define TIM_SR_CC1OF_Msk (0x1UL << TIM_SR_CC1OF_Pos) /*!< 0x00000200 */ |
2 | mjames | 4829 | #define TIM_SR_CC1OF TIM_SR_CC1OF_Msk /*!<Capture/Compare 1 Overcapture Flag */ |
4830 | #define TIM_SR_CC2OF_Pos (10U) |
||
9 | mjames | 4831 | #define TIM_SR_CC2OF_Msk (0x1UL << TIM_SR_CC2OF_Pos) /*!< 0x00000400 */ |
2 | mjames | 4832 | #define TIM_SR_CC2OF TIM_SR_CC2OF_Msk /*!<Capture/Compare 2 Overcapture Flag */ |
4833 | #define TIM_SR_CC3OF_Pos (11U) |
||
9 | mjames | 4834 | #define TIM_SR_CC3OF_Msk (0x1UL << TIM_SR_CC3OF_Pos) /*!< 0x00000800 */ |
2 | mjames | 4835 | #define TIM_SR_CC3OF TIM_SR_CC3OF_Msk /*!<Capture/Compare 3 Overcapture Flag */ |
4836 | #define TIM_SR_CC4OF_Pos (12U) |
||
9 | mjames | 4837 | #define TIM_SR_CC4OF_Msk (0x1UL << TIM_SR_CC4OF_Pos) /*!< 0x00001000 */ |
2 | mjames | 4838 | #define TIM_SR_CC4OF TIM_SR_CC4OF_Msk /*!<Capture/Compare 4 Overcapture Flag */ |
4839 | |||
4840 | /******************* Bit definition for TIM_EGR register *******************/ |
||
4841 | #define TIM_EGR_UG_Pos (0U) |
||
9 | mjames | 4842 | #define TIM_EGR_UG_Msk (0x1UL << TIM_EGR_UG_Pos) /*!< 0x00000001 */ |
2 | mjames | 4843 | #define TIM_EGR_UG TIM_EGR_UG_Msk /*!<Update Generation */ |
4844 | #define TIM_EGR_CC1G_Pos (1U) |
||
9 | mjames | 4845 | #define TIM_EGR_CC1G_Msk (0x1UL << TIM_EGR_CC1G_Pos) /*!< 0x00000002 */ |
2 | mjames | 4846 | #define TIM_EGR_CC1G TIM_EGR_CC1G_Msk /*!<Capture/Compare 1 Generation */ |
4847 | #define TIM_EGR_CC2G_Pos (2U) |
||
9 | mjames | 4848 | #define TIM_EGR_CC2G_Msk (0x1UL << TIM_EGR_CC2G_Pos) /*!< 0x00000004 */ |
2 | mjames | 4849 | #define TIM_EGR_CC2G TIM_EGR_CC2G_Msk /*!<Capture/Compare 2 Generation */ |
4850 | #define TIM_EGR_CC3G_Pos (3U) |
||
9 | mjames | 4851 | #define TIM_EGR_CC3G_Msk (0x1UL << TIM_EGR_CC3G_Pos) /*!< 0x00000008 */ |
2 | mjames | 4852 | #define TIM_EGR_CC3G TIM_EGR_CC3G_Msk /*!<Capture/Compare 3 Generation */ |
4853 | #define TIM_EGR_CC4G_Pos (4U) |
||
9 | mjames | 4854 | #define TIM_EGR_CC4G_Msk (0x1UL << TIM_EGR_CC4G_Pos) /*!< 0x00000010 */ |
2 | mjames | 4855 | #define TIM_EGR_CC4G TIM_EGR_CC4G_Msk /*!<Capture/Compare 4 Generation */ |
4856 | #define TIM_EGR_COMG_Pos (5U) |
||
9 | mjames | 4857 | #define TIM_EGR_COMG_Msk (0x1UL << TIM_EGR_COMG_Pos) /*!< 0x00000020 */ |
2 | mjames | 4858 | #define TIM_EGR_COMG TIM_EGR_COMG_Msk /*!<Capture/Compare Control Update Generation */ |
4859 | #define TIM_EGR_TG_Pos (6U) |
||
9 | mjames | 4860 | #define TIM_EGR_TG_Msk (0x1UL << TIM_EGR_TG_Pos) /*!< 0x00000040 */ |
2 | mjames | 4861 | #define TIM_EGR_TG TIM_EGR_TG_Msk /*!<Trigger Generation */ |
4862 | #define TIM_EGR_BG_Pos (7U) |
||
9 | mjames | 4863 | #define TIM_EGR_BG_Msk (0x1UL << TIM_EGR_BG_Pos) /*!< 0x00000080 */ |
2 | mjames | 4864 | #define TIM_EGR_BG TIM_EGR_BG_Msk /*!<Break Generation */ |
4865 | |||
4866 | /****************** Bit definition for TIM_CCMR1 register ******************/ |
||
4867 | #define TIM_CCMR1_CC1S_Pos (0U) |
||
9 | mjames | 4868 | #define TIM_CCMR1_CC1S_Msk (0x3UL << TIM_CCMR1_CC1S_Pos) /*!< 0x00000003 */ |
2 | mjames | 4869 | #define TIM_CCMR1_CC1S TIM_CCMR1_CC1S_Msk /*!<CC1S[1:0] bits (Capture/Compare 1 Selection) */ |
9 | mjames | 4870 | #define TIM_CCMR1_CC1S_0 (0x1UL << TIM_CCMR1_CC1S_Pos) /*!< 0x00000001 */ |
4871 | #define TIM_CCMR1_CC1S_1 (0x2UL << TIM_CCMR1_CC1S_Pos) /*!< 0x00000002 */ |
||
2 | mjames | 4872 | |
4873 | #define TIM_CCMR1_OC1FE_Pos (2U) |
||
9 | mjames | 4874 | #define TIM_CCMR1_OC1FE_Msk (0x1UL << TIM_CCMR1_OC1FE_Pos) /*!< 0x00000004 */ |
2 | mjames | 4875 | #define TIM_CCMR1_OC1FE TIM_CCMR1_OC1FE_Msk /*!<Output Compare 1 Fast enable */ |
4876 | #define TIM_CCMR1_OC1PE_Pos (3U) |
||
9 | mjames | 4877 | #define TIM_CCMR1_OC1PE_Msk (0x1UL << TIM_CCMR1_OC1PE_Pos) /*!< 0x00000008 */ |
2 | mjames | 4878 | #define TIM_CCMR1_OC1PE TIM_CCMR1_OC1PE_Msk /*!<Output Compare 1 Preload enable */ |
4879 | |||
4880 | #define TIM_CCMR1_OC1M_Pos (4U) |
||
9 | mjames | 4881 | #define TIM_CCMR1_OC1M_Msk (0x7UL << TIM_CCMR1_OC1M_Pos) /*!< 0x00000070 */ |
2 | mjames | 4882 | #define TIM_CCMR1_OC1M TIM_CCMR1_OC1M_Msk /*!<OC1M[2:0] bits (Output Compare 1 Mode) */ |
9 | mjames | 4883 | #define TIM_CCMR1_OC1M_0 (0x1UL << TIM_CCMR1_OC1M_Pos) /*!< 0x00000010 */ |
4884 | #define TIM_CCMR1_OC1M_1 (0x2UL << TIM_CCMR1_OC1M_Pos) /*!< 0x00000020 */ |
||
4885 | #define TIM_CCMR1_OC1M_2 (0x4UL << TIM_CCMR1_OC1M_Pos) /*!< 0x00000040 */ |
||
2 | mjames | 4886 | |
4887 | #define TIM_CCMR1_OC1CE_Pos (7U) |
||
9 | mjames | 4888 | #define TIM_CCMR1_OC1CE_Msk (0x1UL << TIM_CCMR1_OC1CE_Pos) /*!< 0x00000080 */ |
2 | mjames | 4889 | #define TIM_CCMR1_OC1CE TIM_CCMR1_OC1CE_Msk /*!<Output Compare 1Clear Enable */ |
4890 | |||
4891 | #define TIM_CCMR1_CC2S_Pos (8U) |
||
9 | mjames | 4892 | #define TIM_CCMR1_CC2S_Msk (0x3UL << TIM_CCMR1_CC2S_Pos) /*!< 0x00000300 */ |
2 | mjames | 4893 | #define TIM_CCMR1_CC2S TIM_CCMR1_CC2S_Msk /*!<CC2S[1:0] bits (Capture/Compare 2 Selection) */ |
9 | mjames | 4894 | #define TIM_CCMR1_CC2S_0 (0x1UL << TIM_CCMR1_CC2S_Pos) /*!< 0x00000100 */ |
4895 | #define TIM_CCMR1_CC2S_1 (0x2UL << TIM_CCMR1_CC2S_Pos) /*!< 0x00000200 */ |
||
2 | mjames | 4896 | |
4897 | #define TIM_CCMR1_OC2FE_Pos (10U) |
||
9 | mjames | 4898 | #define TIM_CCMR1_OC2FE_Msk (0x1UL << TIM_CCMR1_OC2FE_Pos) /*!< 0x00000400 */ |
2 | mjames | 4899 | #define TIM_CCMR1_OC2FE TIM_CCMR1_OC2FE_Msk /*!<Output Compare 2 Fast enable */ |
4900 | #define TIM_CCMR1_OC2PE_Pos (11U) |
||
9 | mjames | 4901 | #define TIM_CCMR1_OC2PE_Msk (0x1UL << TIM_CCMR1_OC2PE_Pos) /*!< 0x00000800 */ |
2 | mjames | 4902 | #define TIM_CCMR1_OC2PE TIM_CCMR1_OC2PE_Msk /*!<Output Compare 2 Preload enable */ |
4903 | |||
4904 | #define TIM_CCMR1_OC2M_Pos (12U) |
||
9 | mjames | 4905 | #define TIM_CCMR1_OC2M_Msk (0x7UL << TIM_CCMR1_OC2M_Pos) /*!< 0x00007000 */ |
2 | mjames | 4906 | #define TIM_CCMR1_OC2M TIM_CCMR1_OC2M_Msk /*!<OC2M[2:0] bits (Output Compare 2 Mode) */ |
9 | mjames | 4907 | #define TIM_CCMR1_OC2M_0 (0x1UL << TIM_CCMR1_OC2M_Pos) /*!< 0x00001000 */ |
4908 | #define TIM_CCMR1_OC2M_1 (0x2UL << TIM_CCMR1_OC2M_Pos) /*!< 0x00002000 */ |
||
4909 | #define TIM_CCMR1_OC2M_2 (0x4UL << TIM_CCMR1_OC2M_Pos) /*!< 0x00004000 */ |
||
2 | mjames | 4910 | |
4911 | #define TIM_CCMR1_OC2CE_Pos (15U) |
||
9 | mjames | 4912 | #define TIM_CCMR1_OC2CE_Msk (0x1UL << TIM_CCMR1_OC2CE_Pos) /*!< 0x00008000 */ |
2 | mjames | 4913 | #define TIM_CCMR1_OC2CE TIM_CCMR1_OC2CE_Msk /*!<Output Compare 2 Clear Enable */ |
4914 | |||
4915 | /*---------------------------------------------------------------------------*/ |
||
4916 | |||
4917 | #define TIM_CCMR1_IC1PSC_Pos (2U) |
||
9 | mjames | 4918 | #define TIM_CCMR1_IC1PSC_Msk (0x3UL << TIM_CCMR1_IC1PSC_Pos) /*!< 0x0000000C */ |
2 | mjames | 4919 | #define TIM_CCMR1_IC1PSC TIM_CCMR1_IC1PSC_Msk /*!<IC1PSC[1:0] bits (Input Capture 1 Prescaler) */ |
9 | mjames | 4920 | #define TIM_CCMR1_IC1PSC_0 (0x1UL << TIM_CCMR1_IC1PSC_Pos) /*!< 0x00000004 */ |
4921 | #define TIM_CCMR1_IC1PSC_1 (0x2UL << TIM_CCMR1_IC1PSC_Pos) /*!< 0x00000008 */ |
||
2 | mjames | 4922 | |
4923 | #define TIM_CCMR1_IC1F_Pos (4U) |
||
9 | mjames | 4924 | #define TIM_CCMR1_IC1F_Msk (0xFUL << TIM_CCMR1_IC1F_Pos) /*!< 0x000000F0 */ |
2 | mjames | 4925 | #define TIM_CCMR1_IC1F TIM_CCMR1_IC1F_Msk /*!<IC1F[3:0] bits (Input Capture 1 Filter) */ |
9 | mjames | 4926 | #define TIM_CCMR1_IC1F_0 (0x1UL << TIM_CCMR1_IC1F_Pos) /*!< 0x00000010 */ |
4927 | #define TIM_CCMR1_IC1F_1 (0x2UL << TIM_CCMR1_IC1F_Pos) /*!< 0x00000020 */ |
||
4928 | #define TIM_CCMR1_IC1F_2 (0x4UL << TIM_CCMR1_IC1F_Pos) /*!< 0x00000040 */ |
||
4929 | #define TIM_CCMR1_IC1F_3 (0x8UL << TIM_CCMR1_IC1F_Pos) /*!< 0x00000080 */ |
||
2 | mjames | 4930 | |
4931 | #define TIM_CCMR1_IC2PSC_Pos (10U) |
||
9 | mjames | 4932 | #define TIM_CCMR1_IC2PSC_Msk (0x3UL << TIM_CCMR1_IC2PSC_Pos) /*!< 0x00000C00 */ |
2 | mjames | 4933 | #define TIM_CCMR1_IC2PSC TIM_CCMR1_IC2PSC_Msk /*!<IC2PSC[1:0] bits (Input Capture 2 Prescaler) */ |
9 | mjames | 4934 | #define TIM_CCMR1_IC2PSC_0 (0x1UL << TIM_CCMR1_IC2PSC_Pos) /*!< 0x00000400 */ |
4935 | #define TIM_CCMR1_IC2PSC_1 (0x2UL << TIM_CCMR1_IC2PSC_Pos) /*!< 0x00000800 */ |
||
2 | mjames | 4936 | |
4937 | #define TIM_CCMR1_IC2F_Pos (12U) |
||
9 | mjames | 4938 | #define TIM_CCMR1_IC2F_Msk (0xFUL << TIM_CCMR1_IC2F_Pos) /*!< 0x0000F000 */ |
2 | mjames | 4939 | #define TIM_CCMR1_IC2F TIM_CCMR1_IC2F_Msk /*!<IC2F[3:0] bits (Input Capture 2 Filter) */ |
9 | mjames | 4940 | #define TIM_CCMR1_IC2F_0 (0x1UL << TIM_CCMR1_IC2F_Pos) /*!< 0x00001000 */ |
4941 | #define TIM_CCMR1_IC2F_1 (0x2UL << TIM_CCMR1_IC2F_Pos) /*!< 0x00002000 */ |
||
4942 | #define TIM_CCMR1_IC2F_2 (0x4UL << TIM_CCMR1_IC2F_Pos) /*!< 0x00004000 */ |
||
4943 | #define TIM_CCMR1_IC2F_3 (0x8UL << TIM_CCMR1_IC2F_Pos) /*!< 0x00008000 */ |
||
2 | mjames | 4944 | |
4945 | /****************** Bit definition for TIM_CCMR2 register ******************/ |
||
4946 | #define TIM_CCMR2_CC3S_Pos (0U) |
||
9 | mjames | 4947 | #define TIM_CCMR2_CC3S_Msk (0x3UL << TIM_CCMR2_CC3S_Pos) /*!< 0x00000003 */ |
2 | mjames | 4948 | #define TIM_CCMR2_CC3S TIM_CCMR2_CC3S_Msk /*!<CC3S[1:0] bits (Capture/Compare 3 Selection) */ |
9 | mjames | 4949 | #define TIM_CCMR2_CC3S_0 (0x1UL << TIM_CCMR2_CC3S_Pos) /*!< 0x00000001 */ |
4950 | #define TIM_CCMR2_CC3S_1 (0x2UL << TIM_CCMR2_CC3S_Pos) /*!< 0x00000002 */ |
||
2 | mjames | 4951 | |
4952 | #define TIM_CCMR2_OC3FE_Pos (2U) |
||
9 | mjames | 4953 | #define TIM_CCMR2_OC3FE_Msk (0x1UL << TIM_CCMR2_OC3FE_Pos) /*!< 0x00000004 */ |
2 | mjames | 4954 | #define TIM_CCMR2_OC3FE TIM_CCMR2_OC3FE_Msk /*!<Output Compare 3 Fast enable */ |
4955 | #define TIM_CCMR2_OC3PE_Pos (3U) |
||
9 | mjames | 4956 | #define TIM_CCMR2_OC3PE_Msk (0x1UL << TIM_CCMR2_OC3PE_Pos) /*!< 0x00000008 */ |
2 | mjames | 4957 | #define TIM_CCMR2_OC3PE TIM_CCMR2_OC3PE_Msk /*!<Output Compare 3 Preload enable */ |
4958 | |||
4959 | #define TIM_CCMR2_OC3M_Pos (4U) |
||
9 | mjames | 4960 | #define TIM_CCMR2_OC3M_Msk (0x7UL << TIM_CCMR2_OC3M_Pos) /*!< 0x00000070 */ |
2 | mjames | 4961 | #define TIM_CCMR2_OC3M TIM_CCMR2_OC3M_Msk /*!<OC3M[2:0] bits (Output Compare 3 Mode) */ |
9 | mjames | 4962 | #define TIM_CCMR2_OC3M_0 (0x1UL << TIM_CCMR2_OC3M_Pos) /*!< 0x00000010 */ |
4963 | #define TIM_CCMR2_OC3M_1 (0x2UL << TIM_CCMR2_OC3M_Pos) /*!< 0x00000020 */ |
||
4964 | #define TIM_CCMR2_OC3M_2 (0x4UL << TIM_CCMR2_OC3M_Pos) /*!< 0x00000040 */ |
||
2 | mjames | 4965 | |
4966 | #define TIM_CCMR2_OC3CE_Pos (7U) |
||
9 | mjames | 4967 | #define TIM_CCMR2_OC3CE_Msk (0x1UL << TIM_CCMR2_OC3CE_Pos) /*!< 0x00000080 */ |
2 | mjames | 4968 | #define TIM_CCMR2_OC3CE TIM_CCMR2_OC3CE_Msk /*!<Output Compare 3 Clear Enable */ |
4969 | |||
4970 | #define TIM_CCMR2_CC4S_Pos (8U) |
||
9 | mjames | 4971 | #define TIM_CCMR2_CC4S_Msk (0x3UL << TIM_CCMR2_CC4S_Pos) /*!< 0x00000300 */ |
2 | mjames | 4972 | #define TIM_CCMR2_CC4S TIM_CCMR2_CC4S_Msk /*!<CC4S[1:0] bits (Capture/Compare 4 Selection) */ |
9 | mjames | 4973 | #define TIM_CCMR2_CC4S_0 (0x1UL << TIM_CCMR2_CC4S_Pos) /*!< 0x00000100 */ |
4974 | #define TIM_CCMR2_CC4S_1 (0x2UL << TIM_CCMR2_CC4S_Pos) /*!< 0x00000200 */ |
||
2 | mjames | 4975 | |
4976 | #define TIM_CCMR2_OC4FE_Pos (10U) |
||
9 | mjames | 4977 | #define TIM_CCMR2_OC4FE_Msk (0x1UL << TIM_CCMR2_OC4FE_Pos) /*!< 0x00000400 */ |
2 | mjames | 4978 | #define TIM_CCMR2_OC4FE TIM_CCMR2_OC4FE_Msk /*!<Output Compare 4 Fast enable */ |
4979 | #define TIM_CCMR2_OC4PE_Pos (11U) |
||
9 | mjames | 4980 | #define TIM_CCMR2_OC4PE_Msk (0x1UL << TIM_CCMR2_OC4PE_Pos) /*!< 0x00000800 */ |
2 | mjames | 4981 | #define TIM_CCMR2_OC4PE TIM_CCMR2_OC4PE_Msk /*!<Output Compare 4 Preload enable */ |
4982 | |||
4983 | #define TIM_CCMR2_OC4M_Pos (12U) |
||
9 | mjames | 4984 | #define TIM_CCMR2_OC4M_Msk (0x7UL << TIM_CCMR2_OC4M_Pos) /*!< 0x00007000 */ |
2 | mjames | 4985 | #define TIM_CCMR2_OC4M TIM_CCMR2_OC4M_Msk /*!<OC4M[2:0] bits (Output Compare 4 Mode) */ |
9 | mjames | 4986 | #define TIM_CCMR2_OC4M_0 (0x1UL << TIM_CCMR2_OC4M_Pos) /*!< 0x00001000 */ |
4987 | #define TIM_CCMR2_OC4M_1 (0x2UL << TIM_CCMR2_OC4M_Pos) /*!< 0x00002000 */ |
||
4988 | #define TIM_CCMR2_OC4M_2 (0x4UL << TIM_CCMR2_OC4M_Pos) /*!< 0x00004000 */ |
||
2 | mjames | 4989 | |
4990 | #define TIM_CCMR2_OC4CE_Pos (15U) |
||
9 | mjames | 4991 | #define TIM_CCMR2_OC4CE_Msk (0x1UL << TIM_CCMR2_OC4CE_Pos) /*!< 0x00008000 */ |
2 | mjames | 4992 | #define TIM_CCMR2_OC4CE TIM_CCMR2_OC4CE_Msk /*!<Output Compare 4 Clear Enable */ |
4993 | |||
4994 | /*---------------------------------------------------------------------------*/ |
||
4995 | |||
4996 | #define TIM_CCMR2_IC3PSC_Pos (2U) |
||
9 | mjames | 4997 | #define TIM_CCMR2_IC3PSC_Msk (0x3UL << TIM_CCMR2_IC3PSC_Pos) /*!< 0x0000000C */ |
2 | mjames | 4998 | #define TIM_CCMR2_IC3PSC TIM_CCMR2_IC3PSC_Msk /*!<IC3PSC[1:0] bits (Input Capture 3 Prescaler) */ |
9 | mjames | 4999 | #define TIM_CCMR2_IC3PSC_0 (0x1UL << TIM_CCMR2_IC3PSC_Pos) /*!< 0x00000004 */ |
5000 | #define TIM_CCMR2_IC3PSC_1 (0x2UL << TIM_CCMR2_IC3PSC_Pos) /*!< 0x00000008 */ |
||
2 | mjames | 5001 | |
5002 | #define TIM_CCMR2_IC3F_Pos (4U) |
||
9 | mjames | 5003 | #define TIM_CCMR2_IC3F_Msk (0xFUL << TIM_CCMR2_IC3F_Pos) /*!< 0x000000F0 */ |
2 | mjames | 5004 | #define TIM_CCMR2_IC3F TIM_CCMR2_IC3F_Msk /*!<IC3F[3:0] bits (Input Capture 3 Filter) */ |
9 | mjames | 5005 | #define TIM_CCMR2_IC3F_0 (0x1UL << TIM_CCMR2_IC3F_Pos) /*!< 0x00000010 */ |
5006 | #define TIM_CCMR2_IC3F_1 (0x2UL << TIM_CCMR2_IC3F_Pos) /*!< 0x00000020 */ |
||
5007 | #define TIM_CCMR2_IC3F_2 (0x4UL << TIM_CCMR2_IC3F_Pos) /*!< 0x00000040 */ |
||
5008 | #define TIM_CCMR2_IC3F_3 (0x8UL << TIM_CCMR2_IC3F_Pos) /*!< 0x00000080 */ |
||
2 | mjames | 5009 | |
5010 | #define TIM_CCMR2_IC4PSC_Pos (10U) |
||
9 | mjames | 5011 | #define TIM_CCMR2_IC4PSC_Msk (0x3UL << TIM_CCMR2_IC4PSC_Pos) /*!< 0x00000C00 */ |
2 | mjames | 5012 | #define TIM_CCMR2_IC4PSC TIM_CCMR2_IC4PSC_Msk /*!<IC4PSC[1:0] bits (Input Capture 4 Prescaler) */ |
9 | mjames | 5013 | #define TIM_CCMR2_IC4PSC_0 (0x1UL << TIM_CCMR2_IC4PSC_Pos) /*!< 0x00000400 */ |
5014 | #define TIM_CCMR2_IC4PSC_1 (0x2UL << TIM_CCMR2_IC4PSC_Pos) /*!< 0x00000800 */ |
||
2 | mjames | 5015 | |
5016 | #define TIM_CCMR2_IC4F_Pos (12U) |
||
9 | mjames | 5017 | #define TIM_CCMR2_IC4F_Msk (0xFUL << TIM_CCMR2_IC4F_Pos) /*!< 0x0000F000 */ |
2 | mjames | 5018 | #define TIM_CCMR2_IC4F TIM_CCMR2_IC4F_Msk /*!<IC4F[3:0] bits (Input Capture 4 Filter) */ |
9 | mjames | 5019 | #define TIM_CCMR2_IC4F_0 (0x1UL << TIM_CCMR2_IC4F_Pos) /*!< 0x00001000 */ |
5020 | #define TIM_CCMR2_IC4F_1 (0x2UL << TIM_CCMR2_IC4F_Pos) /*!< 0x00002000 */ |
||
5021 | #define TIM_CCMR2_IC4F_2 (0x4UL << TIM_CCMR2_IC4F_Pos) /*!< 0x00004000 */ |
||
5022 | #define TIM_CCMR2_IC4F_3 (0x8UL << TIM_CCMR2_IC4F_Pos) /*!< 0x00008000 */ |
||
2 | mjames | 5023 | |
5024 | /******************* Bit definition for TIM_CCER register ******************/ |
||
5025 | #define TIM_CCER_CC1E_Pos (0U) |
||
9 | mjames | 5026 | #define TIM_CCER_CC1E_Msk (0x1UL << TIM_CCER_CC1E_Pos) /*!< 0x00000001 */ |
2 | mjames | 5027 | #define TIM_CCER_CC1E TIM_CCER_CC1E_Msk /*!<Capture/Compare 1 output enable */ |
5028 | #define TIM_CCER_CC1P_Pos (1U) |
||
9 | mjames | 5029 | #define TIM_CCER_CC1P_Msk (0x1UL << TIM_CCER_CC1P_Pos) /*!< 0x00000002 */ |
2 | mjames | 5030 | #define TIM_CCER_CC1P TIM_CCER_CC1P_Msk /*!<Capture/Compare 1 output Polarity */ |
5031 | #define TIM_CCER_CC1NE_Pos (2U) |
||
9 | mjames | 5032 | #define TIM_CCER_CC1NE_Msk (0x1UL << TIM_CCER_CC1NE_Pos) /*!< 0x00000004 */ |
2 | mjames | 5033 | #define TIM_CCER_CC1NE TIM_CCER_CC1NE_Msk /*!<Capture/Compare 1 Complementary output enable */ |
5034 | #define TIM_CCER_CC1NP_Pos (3U) |
||
9 | mjames | 5035 | #define TIM_CCER_CC1NP_Msk (0x1UL << TIM_CCER_CC1NP_Pos) /*!< 0x00000008 */ |
2 | mjames | 5036 | #define TIM_CCER_CC1NP TIM_CCER_CC1NP_Msk /*!<Capture/Compare 1 Complementary output Polarity */ |
5037 | #define TIM_CCER_CC2E_Pos (4U) |
||
9 | mjames | 5038 | #define TIM_CCER_CC2E_Msk (0x1UL << TIM_CCER_CC2E_Pos) /*!< 0x00000010 */ |
2 | mjames | 5039 | #define TIM_CCER_CC2E TIM_CCER_CC2E_Msk /*!<Capture/Compare 2 output enable */ |
5040 | #define TIM_CCER_CC2P_Pos (5U) |
||
9 | mjames | 5041 | #define TIM_CCER_CC2P_Msk (0x1UL << TIM_CCER_CC2P_Pos) /*!< 0x00000020 */ |
2 | mjames | 5042 | #define TIM_CCER_CC2P TIM_CCER_CC2P_Msk /*!<Capture/Compare 2 output Polarity */ |
5043 | #define TIM_CCER_CC2NE_Pos (6U) |
||
9 | mjames | 5044 | #define TIM_CCER_CC2NE_Msk (0x1UL << TIM_CCER_CC2NE_Pos) /*!< 0x00000040 */ |
2 | mjames | 5045 | #define TIM_CCER_CC2NE TIM_CCER_CC2NE_Msk /*!<Capture/Compare 2 Complementary output enable */ |
5046 | #define TIM_CCER_CC2NP_Pos (7U) |
||
9 | mjames | 5047 | #define TIM_CCER_CC2NP_Msk (0x1UL << TIM_CCER_CC2NP_Pos) /*!< 0x00000080 */ |
2 | mjames | 5048 | #define TIM_CCER_CC2NP TIM_CCER_CC2NP_Msk /*!<Capture/Compare 2 Complementary output Polarity */ |
5049 | #define TIM_CCER_CC3E_Pos (8U) |
||
9 | mjames | 5050 | #define TIM_CCER_CC3E_Msk (0x1UL << TIM_CCER_CC3E_Pos) /*!< 0x00000100 */ |
2 | mjames | 5051 | #define TIM_CCER_CC3E TIM_CCER_CC3E_Msk /*!<Capture/Compare 3 output enable */ |
5052 | #define TIM_CCER_CC3P_Pos (9U) |
||
9 | mjames | 5053 | #define TIM_CCER_CC3P_Msk (0x1UL << TIM_CCER_CC3P_Pos) /*!< 0x00000200 */ |
2 | mjames | 5054 | #define TIM_CCER_CC3P TIM_CCER_CC3P_Msk /*!<Capture/Compare 3 output Polarity */ |
5055 | #define TIM_CCER_CC3NE_Pos (10U) |
||
9 | mjames | 5056 | #define TIM_CCER_CC3NE_Msk (0x1UL << TIM_CCER_CC3NE_Pos) /*!< 0x00000400 */ |
2 | mjames | 5057 | #define TIM_CCER_CC3NE TIM_CCER_CC3NE_Msk /*!<Capture/Compare 3 Complementary output enable */ |
5058 | #define TIM_CCER_CC3NP_Pos (11U) |
||
9 | mjames | 5059 | #define TIM_CCER_CC3NP_Msk (0x1UL << TIM_CCER_CC3NP_Pos) /*!< 0x00000800 */ |
2 | mjames | 5060 | #define TIM_CCER_CC3NP TIM_CCER_CC3NP_Msk /*!<Capture/Compare 3 Complementary output Polarity */ |
5061 | #define TIM_CCER_CC4E_Pos (12U) |
||
9 | mjames | 5062 | #define TIM_CCER_CC4E_Msk (0x1UL << TIM_CCER_CC4E_Pos) /*!< 0x00001000 */ |
2 | mjames | 5063 | #define TIM_CCER_CC4E TIM_CCER_CC4E_Msk /*!<Capture/Compare 4 output enable */ |
5064 | #define TIM_CCER_CC4P_Pos (13U) |
||
9 | mjames | 5065 | #define TIM_CCER_CC4P_Msk (0x1UL << TIM_CCER_CC4P_Pos) /*!< 0x00002000 */ |
2 | mjames | 5066 | #define TIM_CCER_CC4P TIM_CCER_CC4P_Msk /*!<Capture/Compare 4 output Polarity */ |
5067 | |||
5068 | /******************* Bit definition for TIM_CNT register *******************/ |
||
5069 | #define TIM_CNT_CNT_Pos (0U) |
||
9 | mjames | 5070 | #define TIM_CNT_CNT_Msk (0xFFFFFFFFUL << TIM_CNT_CNT_Pos) /*!< 0xFFFFFFFF */ |
2 | mjames | 5071 | #define TIM_CNT_CNT TIM_CNT_CNT_Msk /*!<Counter Value */ |
5072 | |||
5073 | /******************* Bit definition for TIM_PSC register *******************/ |
||
5074 | #define TIM_PSC_PSC_Pos (0U) |
||
9 | mjames | 5075 | #define TIM_PSC_PSC_Msk (0xFFFFUL << TIM_PSC_PSC_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 5076 | #define TIM_PSC_PSC TIM_PSC_PSC_Msk /*!<Prescaler Value */ |
5077 | |||
5078 | /******************* Bit definition for TIM_ARR register *******************/ |
||
5079 | #define TIM_ARR_ARR_Pos (0U) |
||
9 | mjames | 5080 | #define TIM_ARR_ARR_Msk (0xFFFFFFFFUL << TIM_ARR_ARR_Pos) /*!< 0xFFFFFFFF */ |
2 | mjames | 5081 | #define TIM_ARR_ARR TIM_ARR_ARR_Msk /*!<actual auto-reload Value */ |
5082 | |||
5083 | /******************* Bit definition for TIM_RCR register *******************/ |
||
5084 | #define TIM_RCR_REP_Pos (0U) |
||
9 | mjames | 5085 | #define TIM_RCR_REP_Msk (0xFFUL << TIM_RCR_REP_Pos) /*!< 0x000000FF */ |
2 | mjames | 5086 | #define TIM_RCR_REP TIM_RCR_REP_Msk /*!<Repetition Counter Value */ |
5087 | |||
5088 | /******************* Bit definition for TIM_CCR1 register ******************/ |
||
5089 | #define TIM_CCR1_CCR1_Pos (0U) |
||
9 | mjames | 5090 | #define TIM_CCR1_CCR1_Msk (0xFFFFUL << TIM_CCR1_CCR1_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 5091 | #define TIM_CCR1_CCR1 TIM_CCR1_CCR1_Msk /*!<Capture/Compare 1 Value */ |
5092 | |||
5093 | /******************* Bit definition for TIM_CCR2 register ******************/ |
||
5094 | #define TIM_CCR2_CCR2_Pos (0U) |
||
9 | mjames | 5095 | #define TIM_CCR2_CCR2_Msk (0xFFFFUL << TIM_CCR2_CCR2_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 5096 | #define TIM_CCR2_CCR2 TIM_CCR2_CCR2_Msk /*!<Capture/Compare 2 Value */ |
5097 | |||
5098 | /******************* Bit definition for TIM_CCR3 register ******************/ |
||
5099 | #define TIM_CCR3_CCR3_Pos (0U) |
||
9 | mjames | 5100 | #define TIM_CCR3_CCR3_Msk (0xFFFFUL << TIM_CCR3_CCR3_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 5101 | #define TIM_CCR3_CCR3 TIM_CCR3_CCR3_Msk /*!<Capture/Compare 3 Value */ |
5102 | |||
5103 | /******************* Bit definition for TIM_CCR4 register ******************/ |
||
5104 | #define TIM_CCR4_CCR4_Pos (0U) |
||
9 | mjames | 5105 | #define TIM_CCR4_CCR4_Msk (0xFFFFUL << TIM_CCR4_CCR4_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 5106 | #define TIM_CCR4_CCR4 TIM_CCR4_CCR4_Msk /*!<Capture/Compare 4 Value */ |
5107 | |||
5108 | /******************* Bit definition for TIM_BDTR register ******************/ |
||
5109 | #define TIM_BDTR_DTG_Pos (0U) |
||
9 | mjames | 5110 | #define TIM_BDTR_DTG_Msk (0xFFUL << TIM_BDTR_DTG_Pos) /*!< 0x000000FF */ |
2 | mjames | 5111 | #define TIM_BDTR_DTG TIM_BDTR_DTG_Msk /*!<DTG[0:7] bits (Dead-Time Generator set-up) */ |
9 | mjames | 5112 | #define TIM_BDTR_DTG_0 (0x01UL << TIM_BDTR_DTG_Pos) /*!< 0x00000001 */ |
5113 | #define TIM_BDTR_DTG_1 (0x02UL << TIM_BDTR_DTG_Pos) /*!< 0x00000002 */ |
||
5114 | #define TIM_BDTR_DTG_2 (0x04UL << TIM_BDTR_DTG_Pos) /*!< 0x00000004 */ |
||
5115 | #define TIM_BDTR_DTG_3 (0x08UL << TIM_BDTR_DTG_Pos) /*!< 0x00000008 */ |
||
5116 | #define TIM_BDTR_DTG_4 (0x10UL << TIM_BDTR_DTG_Pos) /*!< 0x00000010 */ |
||
5117 | #define TIM_BDTR_DTG_5 (0x20UL << TIM_BDTR_DTG_Pos) /*!< 0x00000020 */ |
||
5118 | #define TIM_BDTR_DTG_6 (0x40UL << TIM_BDTR_DTG_Pos) /*!< 0x00000040 */ |
||
5119 | #define TIM_BDTR_DTG_7 (0x80UL << TIM_BDTR_DTG_Pos) /*!< 0x00000080 */ |
||
2 | mjames | 5120 | |
5121 | #define TIM_BDTR_LOCK_Pos (8U) |
||
9 | mjames | 5122 | #define TIM_BDTR_LOCK_Msk (0x3UL << TIM_BDTR_LOCK_Pos) /*!< 0x00000300 */ |
2 | mjames | 5123 | #define TIM_BDTR_LOCK TIM_BDTR_LOCK_Msk /*!<LOCK[1:0] bits (Lock Configuration) */ |
9 | mjames | 5124 | #define TIM_BDTR_LOCK_0 (0x1UL << TIM_BDTR_LOCK_Pos) /*!< 0x00000100 */ |
5125 | #define TIM_BDTR_LOCK_1 (0x2UL << TIM_BDTR_LOCK_Pos) /*!< 0x00000200 */ |
||
2 | mjames | 5126 | |
5127 | #define TIM_BDTR_OSSI_Pos (10U) |
||
9 | mjames | 5128 | #define TIM_BDTR_OSSI_Msk (0x1UL << TIM_BDTR_OSSI_Pos) /*!< 0x00000400 */ |
2 | mjames | 5129 | #define TIM_BDTR_OSSI TIM_BDTR_OSSI_Msk /*!<Off-State Selection for Idle mode */ |
5130 | #define TIM_BDTR_OSSR_Pos (11U) |
||
9 | mjames | 5131 | #define TIM_BDTR_OSSR_Msk (0x1UL << TIM_BDTR_OSSR_Pos) /*!< 0x00000800 */ |
2 | mjames | 5132 | #define TIM_BDTR_OSSR TIM_BDTR_OSSR_Msk /*!<Off-State Selection for Run mode */ |
5133 | #define TIM_BDTR_BKE_Pos (12U) |
||
9 | mjames | 5134 | #define TIM_BDTR_BKE_Msk (0x1UL << TIM_BDTR_BKE_Pos) /*!< 0x00001000 */ |
2 | mjames | 5135 | #define TIM_BDTR_BKE TIM_BDTR_BKE_Msk /*!<Break enable */ |
5136 | #define TIM_BDTR_BKP_Pos (13U) |
||
9 | mjames | 5137 | #define TIM_BDTR_BKP_Msk (0x1UL << TIM_BDTR_BKP_Pos) /*!< 0x00002000 */ |
2 | mjames | 5138 | #define TIM_BDTR_BKP TIM_BDTR_BKP_Msk /*!<Break Polarity */ |
5139 | #define TIM_BDTR_AOE_Pos (14U) |
||
9 | mjames | 5140 | #define TIM_BDTR_AOE_Msk (0x1UL << TIM_BDTR_AOE_Pos) /*!< 0x00004000 */ |
2 | mjames | 5141 | #define TIM_BDTR_AOE TIM_BDTR_AOE_Msk /*!<Automatic Output enable */ |
5142 | #define TIM_BDTR_MOE_Pos (15U) |
||
9 | mjames | 5143 | #define TIM_BDTR_MOE_Msk (0x1UL << TIM_BDTR_MOE_Pos) /*!< 0x00008000 */ |
2 | mjames | 5144 | #define TIM_BDTR_MOE TIM_BDTR_MOE_Msk /*!<Main Output enable */ |
5145 | |||
5146 | /******************* Bit definition for TIM_DCR register *******************/ |
||
5147 | #define TIM_DCR_DBA_Pos (0U) |
||
9 | mjames | 5148 | #define TIM_DCR_DBA_Msk (0x1FUL << TIM_DCR_DBA_Pos) /*!< 0x0000001F */ |
2 | mjames | 5149 | #define TIM_DCR_DBA TIM_DCR_DBA_Msk /*!<DBA[4:0] bits (DMA Base Address) */ |
9 | mjames | 5150 | #define TIM_DCR_DBA_0 (0x01UL << TIM_DCR_DBA_Pos) /*!< 0x00000001 */ |
5151 | #define TIM_DCR_DBA_1 (0x02UL << TIM_DCR_DBA_Pos) /*!< 0x00000002 */ |
||
5152 | #define TIM_DCR_DBA_2 (0x04UL << TIM_DCR_DBA_Pos) /*!< 0x00000004 */ |
||
5153 | #define TIM_DCR_DBA_3 (0x08UL << TIM_DCR_DBA_Pos) /*!< 0x00000008 */ |
||
5154 | #define TIM_DCR_DBA_4 (0x10UL << TIM_DCR_DBA_Pos) /*!< 0x00000010 */ |
||
2 | mjames | 5155 | |
5156 | #define TIM_DCR_DBL_Pos (8U) |
||
9 | mjames | 5157 | #define TIM_DCR_DBL_Msk (0x1FUL << TIM_DCR_DBL_Pos) /*!< 0x00001F00 */ |
2 | mjames | 5158 | #define TIM_DCR_DBL TIM_DCR_DBL_Msk /*!<DBL[4:0] bits (DMA Burst Length) */ |
9 | mjames | 5159 | #define TIM_DCR_DBL_0 (0x01UL << TIM_DCR_DBL_Pos) /*!< 0x00000100 */ |
5160 | #define TIM_DCR_DBL_1 (0x02UL << TIM_DCR_DBL_Pos) /*!< 0x00000200 */ |
||
5161 | #define TIM_DCR_DBL_2 (0x04UL << TIM_DCR_DBL_Pos) /*!< 0x00000400 */ |
||
5162 | #define TIM_DCR_DBL_3 (0x08UL << TIM_DCR_DBL_Pos) /*!< 0x00000800 */ |
||
5163 | #define TIM_DCR_DBL_4 (0x10UL << TIM_DCR_DBL_Pos) /*!< 0x00001000 */ |
||
2 | mjames | 5164 | |
5165 | /******************* Bit definition for TIM_DMAR register ******************/ |
||
5166 | #define TIM_DMAR_DMAB_Pos (0U) |
||
9 | mjames | 5167 | #define TIM_DMAR_DMAB_Msk (0xFFFFUL << TIM_DMAR_DMAB_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 5168 | #define TIM_DMAR_DMAB TIM_DMAR_DMAB_Msk /*!<DMA register for burst accesses */ |
5169 | |||
5170 | /******************************************************************************/ |
||
5171 | /* */ |
||
5172 | /* Real-Time Clock */ |
||
5173 | /* */ |
||
5174 | /******************************************************************************/ |
||
5175 | |||
5176 | /******************* Bit definition for RTC_CRH register ********************/ |
||
5177 | #define RTC_CRH_SECIE_Pos (0U) |
||
9 | mjames | 5178 | #define RTC_CRH_SECIE_Msk (0x1UL << RTC_CRH_SECIE_Pos) /*!< 0x00000001 */ |
2 | mjames | 5179 | #define RTC_CRH_SECIE RTC_CRH_SECIE_Msk /*!< Second Interrupt Enable */ |
5180 | #define RTC_CRH_ALRIE_Pos (1U) |
||
9 | mjames | 5181 | #define RTC_CRH_ALRIE_Msk (0x1UL << RTC_CRH_ALRIE_Pos) /*!< 0x00000002 */ |
2 | mjames | 5182 | #define RTC_CRH_ALRIE RTC_CRH_ALRIE_Msk /*!< Alarm Interrupt Enable */ |
5183 | #define RTC_CRH_OWIE_Pos (2U) |
||
9 | mjames | 5184 | #define RTC_CRH_OWIE_Msk (0x1UL << RTC_CRH_OWIE_Pos) /*!< 0x00000004 */ |
2 | mjames | 5185 | #define RTC_CRH_OWIE RTC_CRH_OWIE_Msk /*!< OverfloW Interrupt Enable */ |
5186 | |||
5187 | /******************* Bit definition for RTC_CRL register ********************/ |
||
5188 | #define RTC_CRL_SECF_Pos (0U) |
||
9 | mjames | 5189 | #define RTC_CRL_SECF_Msk (0x1UL << RTC_CRL_SECF_Pos) /*!< 0x00000001 */ |
2 | mjames | 5190 | #define RTC_CRL_SECF RTC_CRL_SECF_Msk /*!< Second Flag */ |
5191 | #define RTC_CRL_ALRF_Pos (1U) |
||
9 | mjames | 5192 | #define RTC_CRL_ALRF_Msk (0x1UL << RTC_CRL_ALRF_Pos) /*!< 0x00000002 */ |
2 | mjames | 5193 | #define RTC_CRL_ALRF RTC_CRL_ALRF_Msk /*!< Alarm Flag */ |
5194 | #define RTC_CRL_OWF_Pos (2U) |
||
9 | mjames | 5195 | #define RTC_CRL_OWF_Msk (0x1UL << RTC_CRL_OWF_Pos) /*!< 0x00000004 */ |
2 | mjames | 5196 | #define RTC_CRL_OWF RTC_CRL_OWF_Msk /*!< OverfloW Flag */ |
5197 | #define RTC_CRL_RSF_Pos (3U) |
||
9 | mjames | 5198 | #define RTC_CRL_RSF_Msk (0x1UL << RTC_CRL_RSF_Pos) /*!< 0x00000008 */ |
2 | mjames | 5199 | #define RTC_CRL_RSF RTC_CRL_RSF_Msk /*!< Registers Synchronized Flag */ |
5200 | #define RTC_CRL_CNF_Pos (4U) |
||
9 | mjames | 5201 | #define RTC_CRL_CNF_Msk (0x1UL << RTC_CRL_CNF_Pos) /*!< 0x00000010 */ |
2 | mjames | 5202 | #define RTC_CRL_CNF RTC_CRL_CNF_Msk /*!< Configuration Flag */ |
5203 | #define RTC_CRL_RTOFF_Pos (5U) |
||
9 | mjames | 5204 | #define RTC_CRL_RTOFF_Msk (0x1UL << RTC_CRL_RTOFF_Pos) /*!< 0x00000020 */ |
2 | mjames | 5205 | #define RTC_CRL_RTOFF RTC_CRL_RTOFF_Msk /*!< RTC operation OFF */ |
5206 | |||
5207 | /******************* Bit definition for RTC_PRLH register *******************/ |
||
5208 | #define RTC_PRLH_PRL_Pos (0U) |
||
9 | mjames | 5209 | #define RTC_PRLH_PRL_Msk (0xFUL << RTC_PRLH_PRL_Pos) /*!< 0x0000000F */ |
2 | mjames | 5210 | #define RTC_PRLH_PRL RTC_PRLH_PRL_Msk /*!< RTC Prescaler Reload Value High */ |
5211 | |||
5212 | /******************* Bit definition for RTC_PRLL register *******************/ |
||
5213 | #define RTC_PRLL_PRL_Pos (0U) |
||
9 | mjames | 5214 | #define RTC_PRLL_PRL_Msk (0xFFFFUL << RTC_PRLL_PRL_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 5215 | #define RTC_PRLL_PRL RTC_PRLL_PRL_Msk /*!< RTC Prescaler Reload Value Low */ |
5216 | |||
5217 | /******************* Bit definition for RTC_DIVH register *******************/ |
||
5218 | #define RTC_DIVH_RTC_DIV_Pos (0U) |
||
9 | mjames | 5219 | #define RTC_DIVH_RTC_DIV_Msk (0xFUL << RTC_DIVH_RTC_DIV_Pos) /*!< 0x0000000F */ |
2 | mjames | 5220 | #define RTC_DIVH_RTC_DIV RTC_DIVH_RTC_DIV_Msk /*!< RTC Clock Divider High */ |
5221 | |||
5222 | /******************* Bit definition for RTC_DIVL register *******************/ |
||
5223 | #define RTC_DIVL_RTC_DIV_Pos (0U) |
||
9 | mjames | 5224 | #define RTC_DIVL_RTC_DIV_Msk (0xFFFFUL << RTC_DIVL_RTC_DIV_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 5225 | #define RTC_DIVL_RTC_DIV RTC_DIVL_RTC_DIV_Msk /*!< RTC Clock Divider Low */ |
5226 | |||
5227 | /******************* Bit definition for RTC_CNTH register *******************/ |
||
5228 | #define RTC_CNTH_RTC_CNT_Pos (0U) |
||
9 | mjames | 5229 | #define RTC_CNTH_RTC_CNT_Msk (0xFFFFUL << RTC_CNTH_RTC_CNT_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 5230 | #define RTC_CNTH_RTC_CNT RTC_CNTH_RTC_CNT_Msk /*!< RTC Counter High */ |
5231 | |||
5232 | /******************* Bit definition for RTC_CNTL register *******************/ |
||
5233 | #define RTC_CNTL_RTC_CNT_Pos (0U) |
||
9 | mjames | 5234 | #define RTC_CNTL_RTC_CNT_Msk (0xFFFFUL << RTC_CNTL_RTC_CNT_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 5235 | #define RTC_CNTL_RTC_CNT RTC_CNTL_RTC_CNT_Msk /*!< RTC Counter Low */ |
5236 | |||
5237 | /******************* Bit definition for RTC_ALRH register *******************/ |
||
5238 | #define RTC_ALRH_RTC_ALR_Pos (0U) |
||
9 | mjames | 5239 | #define RTC_ALRH_RTC_ALR_Msk (0xFFFFUL << RTC_ALRH_RTC_ALR_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 5240 | #define RTC_ALRH_RTC_ALR RTC_ALRH_RTC_ALR_Msk /*!< RTC Alarm High */ |
5241 | |||
5242 | /******************* Bit definition for RTC_ALRL register *******************/ |
||
5243 | #define RTC_ALRL_RTC_ALR_Pos (0U) |
||
9 | mjames | 5244 | #define RTC_ALRL_RTC_ALR_Msk (0xFFFFUL << RTC_ALRL_RTC_ALR_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 5245 | #define RTC_ALRL_RTC_ALR RTC_ALRL_RTC_ALR_Msk /*!< RTC Alarm Low */ |
5246 | |||
5247 | /******************************************************************************/ |
||
5248 | /* */ |
||
5249 | /* Independent WATCHDOG (IWDG) */ |
||
5250 | /* */ |
||
5251 | /******************************************************************************/ |
||
5252 | |||
5253 | /******************* Bit definition for IWDG_KR register ********************/ |
||
5254 | #define IWDG_KR_KEY_Pos (0U) |
||
9 | mjames | 5255 | #define IWDG_KR_KEY_Msk (0xFFFFUL << IWDG_KR_KEY_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 5256 | #define IWDG_KR_KEY IWDG_KR_KEY_Msk /*!< Key value (write only, read 0000h) */ |
5257 | |||
5258 | /******************* Bit definition for IWDG_PR register ********************/ |
||
5259 | #define IWDG_PR_PR_Pos (0U) |
||
9 | mjames | 5260 | #define IWDG_PR_PR_Msk (0x7UL << IWDG_PR_PR_Pos) /*!< 0x00000007 */ |
2 | mjames | 5261 | #define IWDG_PR_PR IWDG_PR_PR_Msk /*!< PR[2:0] (Prescaler divider) */ |
9 | mjames | 5262 | #define IWDG_PR_PR_0 (0x1UL << IWDG_PR_PR_Pos) /*!< 0x00000001 */ |
5263 | #define IWDG_PR_PR_1 (0x2UL << IWDG_PR_PR_Pos) /*!< 0x00000002 */ |
||
5264 | #define IWDG_PR_PR_2 (0x4UL << IWDG_PR_PR_Pos) /*!< 0x00000004 */ |
||
2 | mjames | 5265 | |
5266 | /******************* Bit definition for IWDG_RLR register *******************/ |
||
5267 | #define IWDG_RLR_RL_Pos (0U) |
||
9 | mjames | 5268 | #define IWDG_RLR_RL_Msk (0xFFFUL << IWDG_RLR_RL_Pos) /*!< 0x00000FFF */ |
2 | mjames | 5269 | #define IWDG_RLR_RL IWDG_RLR_RL_Msk /*!< Watchdog counter reload value */ |
5270 | |||
5271 | /******************* Bit definition for IWDG_SR register ********************/ |
||
5272 | #define IWDG_SR_PVU_Pos (0U) |
||
9 | mjames | 5273 | #define IWDG_SR_PVU_Msk (0x1UL << IWDG_SR_PVU_Pos) /*!< 0x00000001 */ |
2 | mjames | 5274 | #define IWDG_SR_PVU IWDG_SR_PVU_Msk /*!< Watchdog prescaler value update */ |
5275 | #define IWDG_SR_RVU_Pos (1U) |
||
9 | mjames | 5276 | #define IWDG_SR_RVU_Msk (0x1UL << IWDG_SR_RVU_Pos) /*!< 0x00000002 */ |
2 | mjames | 5277 | #define IWDG_SR_RVU IWDG_SR_RVU_Msk /*!< Watchdog counter reload value update */ |
5278 | |||
5279 | /******************************************************************************/ |
||
5280 | /* */ |
||
5281 | /* Window WATCHDOG (WWDG) */ |
||
5282 | /* */ |
||
5283 | /******************************************************************************/ |
||
5284 | |||
5285 | /******************* Bit definition for WWDG_CR register ********************/ |
||
5286 | #define WWDG_CR_T_Pos (0U) |
||
9 | mjames | 5287 | #define WWDG_CR_T_Msk (0x7FUL << WWDG_CR_T_Pos) /*!< 0x0000007F */ |
2 | mjames | 5288 | #define WWDG_CR_T WWDG_CR_T_Msk /*!< T[6:0] bits (7-Bit counter (MSB to LSB)) */ |
9 | mjames | 5289 | #define WWDG_CR_T_0 (0x01UL << WWDG_CR_T_Pos) /*!< 0x00000001 */ |
5290 | #define WWDG_CR_T_1 (0x02UL << WWDG_CR_T_Pos) /*!< 0x00000002 */ |
||
5291 | #define WWDG_CR_T_2 (0x04UL << WWDG_CR_T_Pos) /*!< 0x00000004 */ |
||
5292 | #define WWDG_CR_T_3 (0x08UL << WWDG_CR_T_Pos) /*!< 0x00000008 */ |
||
5293 | #define WWDG_CR_T_4 (0x10UL << WWDG_CR_T_Pos) /*!< 0x00000010 */ |
||
5294 | #define WWDG_CR_T_5 (0x20UL << WWDG_CR_T_Pos) /*!< 0x00000020 */ |
||
5295 | #define WWDG_CR_T_6 (0x40UL << WWDG_CR_T_Pos) /*!< 0x00000040 */ |
||
2 | mjames | 5296 | |
5297 | /* Legacy defines */ |
||
5298 | #define WWDG_CR_T0 WWDG_CR_T_0 |
||
5299 | #define WWDG_CR_T1 WWDG_CR_T_1 |
||
5300 | #define WWDG_CR_T2 WWDG_CR_T_2 |
||
5301 | #define WWDG_CR_T3 WWDG_CR_T_3 |
||
5302 | #define WWDG_CR_T4 WWDG_CR_T_4 |
||
5303 | #define WWDG_CR_T5 WWDG_CR_T_5 |
||
5304 | #define WWDG_CR_T6 WWDG_CR_T_6 |
||
5305 | |||
5306 | #define WWDG_CR_WDGA_Pos (7U) |
||
9 | mjames | 5307 | #define WWDG_CR_WDGA_Msk (0x1UL << WWDG_CR_WDGA_Pos) /*!< 0x00000080 */ |
2 | mjames | 5308 | #define WWDG_CR_WDGA WWDG_CR_WDGA_Msk /*!< Activation bit */ |
5309 | |||
5310 | /******************* Bit definition for WWDG_CFR register *******************/ |
||
5311 | #define WWDG_CFR_W_Pos (0U) |
||
9 | mjames | 5312 | #define WWDG_CFR_W_Msk (0x7FUL << WWDG_CFR_W_Pos) /*!< 0x0000007F */ |
2 | mjames | 5313 | #define WWDG_CFR_W WWDG_CFR_W_Msk /*!< W[6:0] bits (7-bit window value) */ |
9 | mjames | 5314 | #define WWDG_CFR_W_0 (0x01UL << WWDG_CFR_W_Pos) /*!< 0x00000001 */ |
5315 | #define WWDG_CFR_W_1 (0x02UL << WWDG_CFR_W_Pos) /*!< 0x00000002 */ |
||
5316 | #define WWDG_CFR_W_2 (0x04UL << WWDG_CFR_W_Pos) /*!< 0x00000004 */ |
||
5317 | #define WWDG_CFR_W_3 (0x08UL << WWDG_CFR_W_Pos) /*!< 0x00000008 */ |
||
5318 | #define WWDG_CFR_W_4 (0x10UL << WWDG_CFR_W_Pos) /*!< 0x00000010 */ |
||
5319 | #define WWDG_CFR_W_5 (0x20UL << WWDG_CFR_W_Pos) /*!< 0x00000020 */ |
||
5320 | #define WWDG_CFR_W_6 (0x40UL << WWDG_CFR_W_Pos) /*!< 0x00000040 */ |
||
2 | mjames | 5321 | |
5322 | /* Legacy defines */ |
||
5323 | #define WWDG_CFR_W0 WWDG_CFR_W_0 |
||
5324 | #define WWDG_CFR_W1 WWDG_CFR_W_1 |
||
5325 | #define WWDG_CFR_W2 WWDG_CFR_W_2 |
||
5326 | #define WWDG_CFR_W3 WWDG_CFR_W_3 |
||
5327 | #define WWDG_CFR_W4 WWDG_CFR_W_4 |
||
5328 | #define WWDG_CFR_W5 WWDG_CFR_W_5 |
||
5329 | #define WWDG_CFR_W6 WWDG_CFR_W_6 |
||
5330 | |||
5331 | #define WWDG_CFR_WDGTB_Pos (7U) |
||
9 | mjames | 5332 | #define WWDG_CFR_WDGTB_Msk (0x3UL << WWDG_CFR_WDGTB_Pos) /*!< 0x00000180 */ |
2 | mjames | 5333 | #define WWDG_CFR_WDGTB WWDG_CFR_WDGTB_Msk /*!< WDGTB[1:0] bits (Timer Base) */ |
9 | mjames | 5334 | #define WWDG_CFR_WDGTB_0 (0x1UL << WWDG_CFR_WDGTB_Pos) /*!< 0x00000080 */ |
5335 | #define WWDG_CFR_WDGTB_1 (0x2UL << WWDG_CFR_WDGTB_Pos) /*!< 0x00000100 */ |
||
2 | mjames | 5336 | |
5337 | /* Legacy defines */ |
||
5338 | #define WWDG_CFR_WDGTB0 WWDG_CFR_WDGTB_0 |
||
5339 | #define WWDG_CFR_WDGTB1 WWDG_CFR_WDGTB_1 |
||
5340 | |||
5341 | #define WWDG_CFR_EWI_Pos (9U) |
||
9 | mjames | 5342 | #define WWDG_CFR_EWI_Msk (0x1UL << WWDG_CFR_EWI_Pos) /*!< 0x00000200 */ |
2 | mjames | 5343 | #define WWDG_CFR_EWI WWDG_CFR_EWI_Msk /*!< Early Wakeup Interrupt */ |
5344 | |||
5345 | /******************* Bit definition for WWDG_SR register ********************/ |
||
5346 | #define WWDG_SR_EWIF_Pos (0U) |
||
9 | mjames | 5347 | #define WWDG_SR_EWIF_Msk (0x1UL << WWDG_SR_EWIF_Pos) /*!< 0x00000001 */ |
2 | mjames | 5348 | #define WWDG_SR_EWIF WWDG_SR_EWIF_Msk /*!< Early Wakeup Interrupt Flag */ |
5349 | |||
5350 | |||
5351 | /******************************************************************************/ |
||
5352 | /* */ |
||
5353 | /* Controller Area Network */ |
||
5354 | /* */ |
||
5355 | /******************************************************************************/ |
||
5356 | |||
5357 | /*!< CAN control and status registers */ |
||
5358 | /******************* Bit definition for CAN_MCR register ********************/ |
||
5359 | #define CAN_MCR_INRQ_Pos (0U) |
||
9 | mjames | 5360 | #define CAN_MCR_INRQ_Msk (0x1UL << CAN_MCR_INRQ_Pos) /*!< 0x00000001 */ |
2 | mjames | 5361 | #define CAN_MCR_INRQ CAN_MCR_INRQ_Msk /*!< Initialization Request */ |
5362 | #define CAN_MCR_SLEEP_Pos (1U) |
||
9 | mjames | 5363 | #define CAN_MCR_SLEEP_Msk (0x1UL << CAN_MCR_SLEEP_Pos) /*!< 0x00000002 */ |
2 | mjames | 5364 | #define CAN_MCR_SLEEP CAN_MCR_SLEEP_Msk /*!< Sleep Mode Request */ |
5365 | #define CAN_MCR_TXFP_Pos (2U) |
||
9 | mjames | 5366 | #define CAN_MCR_TXFP_Msk (0x1UL << CAN_MCR_TXFP_Pos) /*!< 0x00000004 */ |
2 | mjames | 5367 | #define CAN_MCR_TXFP CAN_MCR_TXFP_Msk /*!< Transmit FIFO Priority */ |
5368 | #define CAN_MCR_RFLM_Pos (3U) |
||
9 | mjames | 5369 | #define CAN_MCR_RFLM_Msk (0x1UL << CAN_MCR_RFLM_Pos) /*!< 0x00000008 */ |
2 | mjames | 5370 | #define CAN_MCR_RFLM CAN_MCR_RFLM_Msk /*!< Receive FIFO Locked Mode */ |
5371 | #define CAN_MCR_NART_Pos (4U) |
||
9 | mjames | 5372 | #define CAN_MCR_NART_Msk (0x1UL << CAN_MCR_NART_Pos) /*!< 0x00000010 */ |
2 | mjames | 5373 | #define CAN_MCR_NART CAN_MCR_NART_Msk /*!< No Automatic Retransmission */ |
5374 | #define CAN_MCR_AWUM_Pos (5U) |
||
9 | mjames | 5375 | #define CAN_MCR_AWUM_Msk (0x1UL << CAN_MCR_AWUM_Pos) /*!< 0x00000020 */ |
2 | mjames | 5376 | #define CAN_MCR_AWUM CAN_MCR_AWUM_Msk /*!< Automatic Wakeup Mode */ |
5377 | #define CAN_MCR_ABOM_Pos (6U) |
||
9 | mjames | 5378 | #define CAN_MCR_ABOM_Msk (0x1UL << CAN_MCR_ABOM_Pos) /*!< 0x00000040 */ |
2 | mjames | 5379 | #define CAN_MCR_ABOM CAN_MCR_ABOM_Msk /*!< Automatic Bus-Off Management */ |
5380 | #define CAN_MCR_TTCM_Pos (7U) |
||
9 | mjames | 5381 | #define CAN_MCR_TTCM_Msk (0x1UL << CAN_MCR_TTCM_Pos) /*!< 0x00000080 */ |
2 | mjames | 5382 | #define CAN_MCR_TTCM CAN_MCR_TTCM_Msk /*!< Time Triggered Communication Mode */ |
5383 | #define CAN_MCR_RESET_Pos (15U) |
||
9 | mjames | 5384 | #define CAN_MCR_RESET_Msk (0x1UL << CAN_MCR_RESET_Pos) /*!< 0x00008000 */ |
2 | mjames | 5385 | #define CAN_MCR_RESET CAN_MCR_RESET_Msk /*!< CAN software master reset */ |
5386 | #define CAN_MCR_DBF_Pos (16U) |
||
9 | mjames | 5387 | #define CAN_MCR_DBF_Msk (0x1UL << CAN_MCR_DBF_Pos) /*!< 0x00010000 */ |
2 | mjames | 5388 | #define CAN_MCR_DBF CAN_MCR_DBF_Msk /*!< CAN Debug freeze */ |
5389 | |||
5390 | /******************* Bit definition for CAN_MSR register ********************/ |
||
5391 | #define CAN_MSR_INAK_Pos (0U) |
||
9 | mjames | 5392 | #define CAN_MSR_INAK_Msk (0x1UL << CAN_MSR_INAK_Pos) /*!< 0x00000001 */ |
2 | mjames | 5393 | #define CAN_MSR_INAK CAN_MSR_INAK_Msk /*!< Initialization Acknowledge */ |
5394 | #define CAN_MSR_SLAK_Pos (1U) |
||
9 | mjames | 5395 | #define CAN_MSR_SLAK_Msk (0x1UL << CAN_MSR_SLAK_Pos) /*!< 0x00000002 */ |
2 | mjames | 5396 | #define CAN_MSR_SLAK CAN_MSR_SLAK_Msk /*!< Sleep Acknowledge */ |
5397 | #define CAN_MSR_ERRI_Pos (2U) |
||
9 | mjames | 5398 | #define CAN_MSR_ERRI_Msk (0x1UL << CAN_MSR_ERRI_Pos) /*!< 0x00000004 */ |
2 | mjames | 5399 | #define CAN_MSR_ERRI CAN_MSR_ERRI_Msk /*!< Error Interrupt */ |
5400 | #define CAN_MSR_WKUI_Pos (3U) |
||
9 | mjames | 5401 | #define CAN_MSR_WKUI_Msk (0x1UL << CAN_MSR_WKUI_Pos) /*!< 0x00000008 */ |
2 | mjames | 5402 | #define CAN_MSR_WKUI CAN_MSR_WKUI_Msk /*!< Wakeup Interrupt */ |
5403 | #define CAN_MSR_SLAKI_Pos (4U) |
||
9 | mjames | 5404 | #define CAN_MSR_SLAKI_Msk (0x1UL << CAN_MSR_SLAKI_Pos) /*!< 0x00000010 */ |
2 | mjames | 5405 | #define CAN_MSR_SLAKI CAN_MSR_SLAKI_Msk /*!< Sleep Acknowledge Interrupt */ |
5406 | #define CAN_MSR_TXM_Pos (8U) |
||
9 | mjames | 5407 | #define CAN_MSR_TXM_Msk (0x1UL << CAN_MSR_TXM_Pos) /*!< 0x00000100 */ |
2 | mjames | 5408 | #define CAN_MSR_TXM CAN_MSR_TXM_Msk /*!< Transmit Mode */ |
5409 | #define CAN_MSR_RXM_Pos (9U) |
||
9 | mjames | 5410 | #define CAN_MSR_RXM_Msk (0x1UL << CAN_MSR_RXM_Pos) /*!< 0x00000200 */ |
2 | mjames | 5411 | #define CAN_MSR_RXM CAN_MSR_RXM_Msk /*!< Receive Mode */ |
5412 | #define CAN_MSR_SAMP_Pos (10U) |
||
9 | mjames | 5413 | #define CAN_MSR_SAMP_Msk (0x1UL << CAN_MSR_SAMP_Pos) /*!< 0x00000400 */ |
2 | mjames | 5414 | #define CAN_MSR_SAMP CAN_MSR_SAMP_Msk /*!< Last Sample Point */ |
5415 | #define CAN_MSR_RX_Pos (11U) |
||
9 | mjames | 5416 | #define CAN_MSR_RX_Msk (0x1UL << CAN_MSR_RX_Pos) /*!< 0x00000800 */ |
2 | mjames | 5417 | #define CAN_MSR_RX CAN_MSR_RX_Msk /*!< CAN Rx Signal */ |
5418 | |||
5419 | /******************* Bit definition for CAN_TSR register ********************/ |
||
5420 | #define CAN_TSR_RQCP0_Pos (0U) |
||
9 | mjames | 5421 | #define CAN_TSR_RQCP0_Msk (0x1UL << CAN_TSR_RQCP0_Pos) /*!< 0x00000001 */ |
2 | mjames | 5422 | #define CAN_TSR_RQCP0 CAN_TSR_RQCP0_Msk /*!< Request Completed Mailbox0 */ |
5423 | #define CAN_TSR_TXOK0_Pos (1U) |
||
9 | mjames | 5424 | #define CAN_TSR_TXOK0_Msk (0x1UL << CAN_TSR_TXOK0_Pos) /*!< 0x00000002 */ |
2 | mjames | 5425 | #define CAN_TSR_TXOK0 CAN_TSR_TXOK0_Msk /*!< Transmission OK of Mailbox0 */ |
5426 | #define CAN_TSR_ALST0_Pos (2U) |
||
9 | mjames | 5427 | #define CAN_TSR_ALST0_Msk (0x1UL << CAN_TSR_ALST0_Pos) /*!< 0x00000004 */ |
2 | mjames | 5428 | #define CAN_TSR_ALST0 CAN_TSR_ALST0_Msk /*!< Arbitration Lost for Mailbox0 */ |
5429 | #define CAN_TSR_TERR0_Pos (3U) |
||
9 | mjames | 5430 | #define CAN_TSR_TERR0_Msk (0x1UL << CAN_TSR_TERR0_Pos) /*!< 0x00000008 */ |
2 | mjames | 5431 | #define CAN_TSR_TERR0 CAN_TSR_TERR0_Msk /*!< Transmission Error of Mailbox0 */ |
5432 | #define CAN_TSR_ABRQ0_Pos (7U) |
||
9 | mjames | 5433 | #define CAN_TSR_ABRQ0_Msk (0x1UL << CAN_TSR_ABRQ0_Pos) /*!< 0x00000080 */ |
2 | mjames | 5434 | #define CAN_TSR_ABRQ0 CAN_TSR_ABRQ0_Msk /*!< Abort Request for Mailbox0 */ |
5435 | #define CAN_TSR_RQCP1_Pos (8U) |
||
9 | mjames | 5436 | #define CAN_TSR_RQCP1_Msk (0x1UL << CAN_TSR_RQCP1_Pos) /*!< 0x00000100 */ |
2 | mjames | 5437 | #define CAN_TSR_RQCP1 CAN_TSR_RQCP1_Msk /*!< Request Completed Mailbox1 */ |
5438 | #define CAN_TSR_TXOK1_Pos (9U) |
||
9 | mjames | 5439 | #define CAN_TSR_TXOK1_Msk (0x1UL << CAN_TSR_TXOK1_Pos) /*!< 0x00000200 */ |
2 | mjames | 5440 | #define CAN_TSR_TXOK1 CAN_TSR_TXOK1_Msk /*!< Transmission OK of Mailbox1 */ |
5441 | #define CAN_TSR_ALST1_Pos (10U) |
||
9 | mjames | 5442 | #define CAN_TSR_ALST1_Msk (0x1UL << CAN_TSR_ALST1_Pos) /*!< 0x00000400 */ |
2 | mjames | 5443 | #define CAN_TSR_ALST1 CAN_TSR_ALST1_Msk /*!< Arbitration Lost for Mailbox1 */ |
5444 | #define CAN_TSR_TERR1_Pos (11U) |
||
9 | mjames | 5445 | #define CAN_TSR_TERR1_Msk (0x1UL << CAN_TSR_TERR1_Pos) /*!< 0x00000800 */ |
2 | mjames | 5446 | #define CAN_TSR_TERR1 CAN_TSR_TERR1_Msk /*!< Transmission Error of Mailbox1 */ |
5447 | #define CAN_TSR_ABRQ1_Pos (15U) |
||
9 | mjames | 5448 | #define CAN_TSR_ABRQ1_Msk (0x1UL << CAN_TSR_ABRQ1_Pos) /*!< 0x00008000 */ |
2 | mjames | 5449 | #define CAN_TSR_ABRQ1 CAN_TSR_ABRQ1_Msk /*!< Abort Request for Mailbox 1 */ |
5450 | #define CAN_TSR_RQCP2_Pos (16U) |
||
9 | mjames | 5451 | #define CAN_TSR_RQCP2_Msk (0x1UL << CAN_TSR_RQCP2_Pos) /*!< 0x00010000 */ |
2 | mjames | 5452 | #define CAN_TSR_RQCP2 CAN_TSR_RQCP2_Msk /*!< Request Completed Mailbox2 */ |
5453 | #define CAN_TSR_TXOK2_Pos (17U) |
||
9 | mjames | 5454 | #define CAN_TSR_TXOK2_Msk (0x1UL << CAN_TSR_TXOK2_Pos) /*!< 0x00020000 */ |
2 | mjames | 5455 | #define CAN_TSR_TXOK2 CAN_TSR_TXOK2_Msk /*!< Transmission OK of Mailbox 2 */ |
5456 | #define CAN_TSR_ALST2_Pos (18U) |
||
9 | mjames | 5457 | #define CAN_TSR_ALST2_Msk (0x1UL << CAN_TSR_ALST2_Pos) /*!< 0x00040000 */ |
2 | mjames | 5458 | #define CAN_TSR_ALST2 CAN_TSR_ALST2_Msk /*!< Arbitration Lost for mailbox 2 */ |
5459 | #define CAN_TSR_TERR2_Pos (19U) |
||
9 | mjames | 5460 | #define CAN_TSR_TERR2_Msk (0x1UL << CAN_TSR_TERR2_Pos) /*!< 0x00080000 */ |
2 | mjames | 5461 | #define CAN_TSR_TERR2 CAN_TSR_TERR2_Msk /*!< Transmission Error of Mailbox 2 */ |
5462 | #define CAN_TSR_ABRQ2_Pos (23U) |
||
9 | mjames | 5463 | #define CAN_TSR_ABRQ2_Msk (0x1UL << CAN_TSR_ABRQ2_Pos) /*!< 0x00800000 */ |
2 | mjames | 5464 | #define CAN_TSR_ABRQ2 CAN_TSR_ABRQ2_Msk /*!< Abort Request for Mailbox 2 */ |
5465 | #define CAN_TSR_CODE_Pos (24U) |
||
9 | mjames | 5466 | #define CAN_TSR_CODE_Msk (0x3UL << CAN_TSR_CODE_Pos) /*!< 0x03000000 */ |
2 | mjames | 5467 | #define CAN_TSR_CODE CAN_TSR_CODE_Msk /*!< Mailbox Code */ |
5468 | |||
5469 | #define CAN_TSR_TME_Pos (26U) |
||
9 | mjames | 5470 | #define CAN_TSR_TME_Msk (0x7UL << CAN_TSR_TME_Pos) /*!< 0x1C000000 */ |
2 | mjames | 5471 | #define CAN_TSR_TME CAN_TSR_TME_Msk /*!< TME[2:0] bits */ |
5472 | #define CAN_TSR_TME0_Pos (26U) |
||
9 | mjames | 5473 | #define CAN_TSR_TME0_Msk (0x1UL << CAN_TSR_TME0_Pos) /*!< 0x04000000 */ |
2 | mjames | 5474 | #define CAN_TSR_TME0 CAN_TSR_TME0_Msk /*!< Transmit Mailbox 0 Empty */ |
5475 | #define CAN_TSR_TME1_Pos (27U) |
||
9 | mjames | 5476 | #define CAN_TSR_TME1_Msk (0x1UL << CAN_TSR_TME1_Pos) /*!< 0x08000000 */ |
2 | mjames | 5477 | #define CAN_TSR_TME1 CAN_TSR_TME1_Msk /*!< Transmit Mailbox 1 Empty */ |
5478 | #define CAN_TSR_TME2_Pos (28U) |
||
9 | mjames | 5479 | #define CAN_TSR_TME2_Msk (0x1UL << CAN_TSR_TME2_Pos) /*!< 0x10000000 */ |
2 | mjames | 5480 | #define CAN_TSR_TME2 CAN_TSR_TME2_Msk /*!< Transmit Mailbox 2 Empty */ |
5481 | |||
5482 | #define CAN_TSR_LOW_Pos (29U) |
||
9 | mjames | 5483 | #define CAN_TSR_LOW_Msk (0x7UL << CAN_TSR_LOW_Pos) /*!< 0xE0000000 */ |
2 | mjames | 5484 | #define CAN_TSR_LOW CAN_TSR_LOW_Msk /*!< LOW[2:0] bits */ |
5485 | #define CAN_TSR_LOW0_Pos (29U) |
||
9 | mjames | 5486 | #define CAN_TSR_LOW0_Msk (0x1UL << CAN_TSR_LOW0_Pos) /*!< 0x20000000 */ |
2 | mjames | 5487 | #define CAN_TSR_LOW0 CAN_TSR_LOW0_Msk /*!< Lowest Priority Flag for Mailbox 0 */ |
5488 | #define CAN_TSR_LOW1_Pos (30U) |
||
9 | mjames | 5489 | #define CAN_TSR_LOW1_Msk (0x1UL << CAN_TSR_LOW1_Pos) /*!< 0x40000000 */ |
2 | mjames | 5490 | #define CAN_TSR_LOW1 CAN_TSR_LOW1_Msk /*!< Lowest Priority Flag for Mailbox 1 */ |
5491 | #define CAN_TSR_LOW2_Pos (31U) |
||
9 | mjames | 5492 | #define CAN_TSR_LOW2_Msk (0x1UL << CAN_TSR_LOW2_Pos) /*!< 0x80000000 */ |
2 | mjames | 5493 | #define CAN_TSR_LOW2 CAN_TSR_LOW2_Msk /*!< Lowest Priority Flag for Mailbox 2 */ |
5494 | |||
5495 | /******************* Bit definition for CAN_RF0R register *******************/ |
||
5496 | #define CAN_RF0R_FMP0_Pos (0U) |
||
9 | mjames | 5497 | #define CAN_RF0R_FMP0_Msk (0x3UL << CAN_RF0R_FMP0_Pos) /*!< 0x00000003 */ |
2 | mjames | 5498 | #define CAN_RF0R_FMP0 CAN_RF0R_FMP0_Msk /*!< FIFO 0 Message Pending */ |
5499 | #define CAN_RF0R_FULL0_Pos (3U) |
||
9 | mjames | 5500 | #define CAN_RF0R_FULL0_Msk (0x1UL << CAN_RF0R_FULL0_Pos) /*!< 0x00000008 */ |
2 | mjames | 5501 | #define CAN_RF0R_FULL0 CAN_RF0R_FULL0_Msk /*!< FIFO 0 Full */ |
5502 | #define CAN_RF0R_FOVR0_Pos (4U) |
||
9 | mjames | 5503 | #define CAN_RF0R_FOVR0_Msk (0x1UL << CAN_RF0R_FOVR0_Pos) /*!< 0x00000010 */ |
2 | mjames | 5504 | #define CAN_RF0R_FOVR0 CAN_RF0R_FOVR0_Msk /*!< FIFO 0 Overrun */ |
5505 | #define CAN_RF0R_RFOM0_Pos (5U) |
||
9 | mjames | 5506 | #define CAN_RF0R_RFOM0_Msk (0x1UL << CAN_RF0R_RFOM0_Pos) /*!< 0x00000020 */ |
2 | mjames | 5507 | #define CAN_RF0R_RFOM0 CAN_RF0R_RFOM0_Msk /*!< Release FIFO 0 Output Mailbox */ |
5508 | |||
5509 | /******************* Bit definition for CAN_RF1R register *******************/ |
||
5510 | #define CAN_RF1R_FMP1_Pos (0U) |
||
9 | mjames | 5511 | #define CAN_RF1R_FMP1_Msk (0x3UL << CAN_RF1R_FMP1_Pos) /*!< 0x00000003 */ |
2 | mjames | 5512 | #define CAN_RF1R_FMP1 CAN_RF1R_FMP1_Msk /*!< FIFO 1 Message Pending */ |
5513 | #define CAN_RF1R_FULL1_Pos (3U) |
||
9 | mjames | 5514 | #define CAN_RF1R_FULL1_Msk (0x1UL << CAN_RF1R_FULL1_Pos) /*!< 0x00000008 */ |
2 | mjames | 5515 | #define CAN_RF1R_FULL1 CAN_RF1R_FULL1_Msk /*!< FIFO 1 Full */ |
5516 | #define CAN_RF1R_FOVR1_Pos (4U) |
||
9 | mjames | 5517 | #define CAN_RF1R_FOVR1_Msk (0x1UL << CAN_RF1R_FOVR1_Pos) /*!< 0x00000010 */ |
2 | mjames | 5518 | #define CAN_RF1R_FOVR1 CAN_RF1R_FOVR1_Msk /*!< FIFO 1 Overrun */ |
5519 | #define CAN_RF1R_RFOM1_Pos (5U) |
||
9 | mjames | 5520 | #define CAN_RF1R_RFOM1_Msk (0x1UL << CAN_RF1R_RFOM1_Pos) /*!< 0x00000020 */ |
2 | mjames | 5521 | #define CAN_RF1R_RFOM1 CAN_RF1R_RFOM1_Msk /*!< Release FIFO 1 Output Mailbox */ |
5522 | |||
5523 | /******************** Bit definition for CAN_IER register *******************/ |
||
5524 | #define CAN_IER_TMEIE_Pos (0U) |
||
9 | mjames | 5525 | #define CAN_IER_TMEIE_Msk (0x1UL << CAN_IER_TMEIE_Pos) /*!< 0x00000001 */ |
2 | mjames | 5526 | #define CAN_IER_TMEIE CAN_IER_TMEIE_Msk /*!< Transmit Mailbox Empty Interrupt Enable */ |
5527 | #define CAN_IER_FMPIE0_Pos (1U) |
||
9 | mjames | 5528 | #define CAN_IER_FMPIE0_Msk (0x1UL << CAN_IER_FMPIE0_Pos) /*!< 0x00000002 */ |
2 | mjames | 5529 | #define CAN_IER_FMPIE0 CAN_IER_FMPIE0_Msk /*!< FIFO Message Pending Interrupt Enable */ |
5530 | #define CAN_IER_FFIE0_Pos (2U) |
||
9 | mjames | 5531 | #define CAN_IER_FFIE0_Msk (0x1UL << CAN_IER_FFIE0_Pos) /*!< 0x00000004 */ |
2 | mjames | 5532 | #define CAN_IER_FFIE0 CAN_IER_FFIE0_Msk /*!< FIFO Full Interrupt Enable */ |
5533 | #define CAN_IER_FOVIE0_Pos (3U) |
||
9 | mjames | 5534 | #define CAN_IER_FOVIE0_Msk (0x1UL << CAN_IER_FOVIE0_Pos) /*!< 0x00000008 */ |
2 | mjames | 5535 | #define CAN_IER_FOVIE0 CAN_IER_FOVIE0_Msk /*!< FIFO Overrun Interrupt Enable */ |
5536 | #define CAN_IER_FMPIE1_Pos (4U) |
||
9 | mjames | 5537 | #define CAN_IER_FMPIE1_Msk (0x1UL << CAN_IER_FMPIE1_Pos) /*!< 0x00000010 */ |
2 | mjames | 5538 | #define CAN_IER_FMPIE1 CAN_IER_FMPIE1_Msk /*!< FIFO Message Pending Interrupt Enable */ |
5539 | #define CAN_IER_FFIE1_Pos (5U) |
||
9 | mjames | 5540 | #define CAN_IER_FFIE1_Msk (0x1UL << CAN_IER_FFIE1_Pos) /*!< 0x00000020 */ |
2 | mjames | 5541 | #define CAN_IER_FFIE1 CAN_IER_FFIE1_Msk /*!< FIFO Full Interrupt Enable */ |
5542 | #define CAN_IER_FOVIE1_Pos (6U) |
||
9 | mjames | 5543 | #define CAN_IER_FOVIE1_Msk (0x1UL << CAN_IER_FOVIE1_Pos) /*!< 0x00000040 */ |
2 | mjames | 5544 | #define CAN_IER_FOVIE1 CAN_IER_FOVIE1_Msk /*!< FIFO Overrun Interrupt Enable */ |
5545 | #define CAN_IER_EWGIE_Pos (8U) |
||
9 | mjames | 5546 | #define CAN_IER_EWGIE_Msk (0x1UL << CAN_IER_EWGIE_Pos) /*!< 0x00000100 */ |
2 | mjames | 5547 | #define CAN_IER_EWGIE CAN_IER_EWGIE_Msk /*!< Error Warning Interrupt Enable */ |
5548 | #define CAN_IER_EPVIE_Pos (9U) |
||
9 | mjames | 5549 | #define CAN_IER_EPVIE_Msk (0x1UL << CAN_IER_EPVIE_Pos) /*!< 0x00000200 */ |
2 | mjames | 5550 | #define CAN_IER_EPVIE CAN_IER_EPVIE_Msk /*!< Error Passive Interrupt Enable */ |
5551 | #define CAN_IER_BOFIE_Pos (10U) |
||
9 | mjames | 5552 | #define CAN_IER_BOFIE_Msk (0x1UL << CAN_IER_BOFIE_Pos) /*!< 0x00000400 */ |
2 | mjames | 5553 | #define CAN_IER_BOFIE CAN_IER_BOFIE_Msk /*!< Bus-Off Interrupt Enable */ |
5554 | #define CAN_IER_LECIE_Pos (11U) |
||
9 | mjames | 5555 | #define CAN_IER_LECIE_Msk (0x1UL << CAN_IER_LECIE_Pos) /*!< 0x00000800 */ |
2 | mjames | 5556 | #define CAN_IER_LECIE CAN_IER_LECIE_Msk /*!< Last Error Code Interrupt Enable */ |
5557 | #define CAN_IER_ERRIE_Pos (15U) |
||
9 | mjames | 5558 | #define CAN_IER_ERRIE_Msk (0x1UL << CAN_IER_ERRIE_Pos) /*!< 0x00008000 */ |
2 | mjames | 5559 | #define CAN_IER_ERRIE CAN_IER_ERRIE_Msk /*!< Error Interrupt Enable */ |
5560 | #define CAN_IER_WKUIE_Pos (16U) |
||
9 | mjames | 5561 | #define CAN_IER_WKUIE_Msk (0x1UL << CAN_IER_WKUIE_Pos) /*!< 0x00010000 */ |
2 | mjames | 5562 | #define CAN_IER_WKUIE CAN_IER_WKUIE_Msk /*!< Wakeup Interrupt Enable */ |
5563 | #define CAN_IER_SLKIE_Pos (17U) |
||
9 | mjames | 5564 | #define CAN_IER_SLKIE_Msk (0x1UL << CAN_IER_SLKIE_Pos) /*!< 0x00020000 */ |
2 | mjames | 5565 | #define CAN_IER_SLKIE CAN_IER_SLKIE_Msk /*!< Sleep Interrupt Enable */ |
5566 | |||
5567 | /******************** Bit definition for CAN_ESR register *******************/ |
||
5568 | #define CAN_ESR_EWGF_Pos (0U) |
||
9 | mjames | 5569 | #define CAN_ESR_EWGF_Msk (0x1UL << CAN_ESR_EWGF_Pos) /*!< 0x00000001 */ |
2 | mjames | 5570 | #define CAN_ESR_EWGF CAN_ESR_EWGF_Msk /*!< Error Warning Flag */ |
5571 | #define CAN_ESR_EPVF_Pos (1U) |
||
9 | mjames | 5572 | #define CAN_ESR_EPVF_Msk (0x1UL << CAN_ESR_EPVF_Pos) /*!< 0x00000002 */ |
2 | mjames | 5573 | #define CAN_ESR_EPVF CAN_ESR_EPVF_Msk /*!< Error Passive Flag */ |
5574 | #define CAN_ESR_BOFF_Pos (2U) |
||
9 | mjames | 5575 | #define CAN_ESR_BOFF_Msk (0x1UL << CAN_ESR_BOFF_Pos) /*!< 0x00000004 */ |
2 | mjames | 5576 | #define CAN_ESR_BOFF CAN_ESR_BOFF_Msk /*!< Bus-Off Flag */ |
5577 | |||
5578 | #define CAN_ESR_LEC_Pos (4U) |
||
9 | mjames | 5579 | #define CAN_ESR_LEC_Msk (0x7UL << CAN_ESR_LEC_Pos) /*!< 0x00000070 */ |
2 | mjames | 5580 | #define CAN_ESR_LEC CAN_ESR_LEC_Msk /*!< LEC[2:0] bits (Last Error Code) */ |
9 | mjames | 5581 | #define CAN_ESR_LEC_0 (0x1UL << CAN_ESR_LEC_Pos) /*!< 0x00000010 */ |
5582 | #define CAN_ESR_LEC_1 (0x2UL << CAN_ESR_LEC_Pos) /*!< 0x00000020 */ |
||
5583 | #define CAN_ESR_LEC_2 (0x4UL << CAN_ESR_LEC_Pos) /*!< 0x00000040 */ |
||
2 | mjames | 5584 | |
5585 | #define CAN_ESR_TEC_Pos (16U) |
||
9 | mjames | 5586 | #define CAN_ESR_TEC_Msk (0xFFUL << CAN_ESR_TEC_Pos) /*!< 0x00FF0000 */ |
2 | mjames | 5587 | #define CAN_ESR_TEC CAN_ESR_TEC_Msk /*!< Least significant byte of the 9-bit Transmit Error Counter */ |
5588 | #define CAN_ESR_REC_Pos (24U) |
||
9 | mjames | 5589 | #define CAN_ESR_REC_Msk (0xFFUL << CAN_ESR_REC_Pos) /*!< 0xFF000000 */ |
2 | mjames | 5590 | #define CAN_ESR_REC CAN_ESR_REC_Msk /*!< Receive Error Counter */ |
5591 | |||
5592 | /******************* Bit definition for CAN_BTR register ********************/ |
||
5593 | #define CAN_BTR_BRP_Pos (0U) |
||
9 | mjames | 5594 | #define CAN_BTR_BRP_Msk (0x3FFUL << CAN_BTR_BRP_Pos) /*!< 0x000003FF */ |
2 | mjames | 5595 | #define CAN_BTR_BRP CAN_BTR_BRP_Msk /*!<Baud Rate Prescaler */ |
5596 | #define CAN_BTR_TS1_Pos (16U) |
||
9 | mjames | 5597 | #define CAN_BTR_TS1_Msk (0xFUL << CAN_BTR_TS1_Pos) /*!< 0x000F0000 */ |
2 | mjames | 5598 | #define CAN_BTR_TS1 CAN_BTR_TS1_Msk /*!<Time Segment 1 */ |
9 | mjames | 5599 | #define CAN_BTR_TS1_0 (0x1UL << CAN_BTR_TS1_Pos) /*!< 0x00010000 */ |
5600 | #define CAN_BTR_TS1_1 (0x2UL << CAN_BTR_TS1_Pos) /*!< 0x00020000 */ |
||
5601 | #define CAN_BTR_TS1_2 (0x4UL << CAN_BTR_TS1_Pos) /*!< 0x00040000 */ |
||
5602 | #define CAN_BTR_TS1_3 (0x8UL << CAN_BTR_TS1_Pos) /*!< 0x00080000 */ |
||
2 | mjames | 5603 | #define CAN_BTR_TS2_Pos (20U) |
9 | mjames | 5604 | #define CAN_BTR_TS2_Msk (0x7UL << CAN_BTR_TS2_Pos) /*!< 0x00700000 */ |
2 | mjames | 5605 | #define CAN_BTR_TS2 CAN_BTR_TS2_Msk /*!<Time Segment 2 */ |
9 | mjames | 5606 | #define CAN_BTR_TS2_0 (0x1UL << CAN_BTR_TS2_Pos) /*!< 0x00100000 */ |
5607 | #define CAN_BTR_TS2_1 (0x2UL << CAN_BTR_TS2_Pos) /*!< 0x00200000 */ |
||
5608 | #define CAN_BTR_TS2_2 (0x4UL << CAN_BTR_TS2_Pos) /*!< 0x00400000 */ |
||
2 | mjames | 5609 | #define CAN_BTR_SJW_Pos (24U) |
9 | mjames | 5610 | #define CAN_BTR_SJW_Msk (0x3UL << CAN_BTR_SJW_Pos) /*!< 0x03000000 */ |
2 | mjames | 5611 | #define CAN_BTR_SJW CAN_BTR_SJW_Msk /*!<Resynchronization Jump Width */ |
9 | mjames | 5612 | #define CAN_BTR_SJW_0 (0x1UL << CAN_BTR_SJW_Pos) /*!< 0x01000000 */ |
5613 | #define CAN_BTR_SJW_1 (0x2UL << CAN_BTR_SJW_Pos) /*!< 0x02000000 */ |
||
2 | mjames | 5614 | #define CAN_BTR_LBKM_Pos (30U) |
9 | mjames | 5615 | #define CAN_BTR_LBKM_Msk (0x1UL << CAN_BTR_LBKM_Pos) /*!< 0x40000000 */ |
2 | mjames | 5616 | #define CAN_BTR_LBKM CAN_BTR_LBKM_Msk /*!<Loop Back Mode (Debug) */ |
5617 | #define CAN_BTR_SILM_Pos (31U) |
||
9 | mjames | 5618 | #define CAN_BTR_SILM_Msk (0x1UL << CAN_BTR_SILM_Pos) /*!< 0x80000000 */ |
2 | mjames | 5619 | #define CAN_BTR_SILM CAN_BTR_SILM_Msk /*!<Silent Mode */ |
5620 | |||
5621 | /*!< Mailbox registers */ |
||
5622 | /****************** Bit definition for CAN_TI0R register ********************/ |
||
5623 | #define CAN_TI0R_TXRQ_Pos (0U) |
||
9 | mjames | 5624 | #define CAN_TI0R_TXRQ_Msk (0x1UL << CAN_TI0R_TXRQ_Pos) /*!< 0x00000001 */ |
2 | mjames | 5625 | #define CAN_TI0R_TXRQ CAN_TI0R_TXRQ_Msk /*!< Transmit Mailbox Request */ |
5626 | #define CAN_TI0R_RTR_Pos (1U) |
||
9 | mjames | 5627 | #define CAN_TI0R_RTR_Msk (0x1UL << CAN_TI0R_RTR_Pos) /*!< 0x00000002 */ |
2 | mjames | 5628 | #define CAN_TI0R_RTR CAN_TI0R_RTR_Msk /*!< Remote Transmission Request */ |
5629 | #define CAN_TI0R_IDE_Pos (2U) |
||
9 | mjames | 5630 | #define CAN_TI0R_IDE_Msk (0x1UL << CAN_TI0R_IDE_Pos) /*!< 0x00000004 */ |
2 | mjames | 5631 | #define CAN_TI0R_IDE CAN_TI0R_IDE_Msk /*!< Identifier Extension */ |
5632 | #define CAN_TI0R_EXID_Pos (3U) |
||
9 | mjames | 5633 | #define CAN_TI0R_EXID_Msk (0x3FFFFUL << CAN_TI0R_EXID_Pos) /*!< 0x001FFFF8 */ |
2 | mjames | 5634 | #define CAN_TI0R_EXID CAN_TI0R_EXID_Msk /*!< Extended Identifier */ |
5635 | #define CAN_TI0R_STID_Pos (21U) |
||
9 | mjames | 5636 | #define CAN_TI0R_STID_Msk (0x7FFUL << CAN_TI0R_STID_Pos) /*!< 0xFFE00000 */ |
2 | mjames | 5637 | #define CAN_TI0R_STID CAN_TI0R_STID_Msk /*!< Standard Identifier or Extended Identifier */ |
5638 | |||
5639 | /****************** Bit definition for CAN_TDT0R register *******************/ |
||
5640 | #define CAN_TDT0R_DLC_Pos (0U) |
||
9 | mjames | 5641 | #define CAN_TDT0R_DLC_Msk (0xFUL << CAN_TDT0R_DLC_Pos) /*!< 0x0000000F */ |
2 | mjames | 5642 | #define CAN_TDT0R_DLC CAN_TDT0R_DLC_Msk /*!< Data Length Code */ |
5643 | #define CAN_TDT0R_TGT_Pos (8U) |
||
9 | mjames | 5644 | #define CAN_TDT0R_TGT_Msk (0x1UL << CAN_TDT0R_TGT_Pos) /*!< 0x00000100 */ |
2 | mjames | 5645 | #define CAN_TDT0R_TGT CAN_TDT0R_TGT_Msk /*!< Transmit Global Time */ |
5646 | #define CAN_TDT0R_TIME_Pos (16U) |
||
9 | mjames | 5647 | #define CAN_TDT0R_TIME_Msk (0xFFFFUL << CAN_TDT0R_TIME_Pos) /*!< 0xFFFF0000 */ |
2 | mjames | 5648 | #define CAN_TDT0R_TIME CAN_TDT0R_TIME_Msk /*!< Message Time Stamp */ |
5649 | |||
5650 | /****************** Bit definition for CAN_TDL0R register *******************/ |
||
5651 | #define CAN_TDL0R_DATA0_Pos (0U) |
||
9 | mjames | 5652 | #define CAN_TDL0R_DATA0_Msk (0xFFUL << CAN_TDL0R_DATA0_Pos) /*!< 0x000000FF */ |
2 | mjames | 5653 | #define CAN_TDL0R_DATA0 CAN_TDL0R_DATA0_Msk /*!< Data byte 0 */ |
5654 | #define CAN_TDL0R_DATA1_Pos (8U) |
||
9 | mjames | 5655 | #define CAN_TDL0R_DATA1_Msk (0xFFUL << CAN_TDL0R_DATA1_Pos) /*!< 0x0000FF00 */ |
2 | mjames | 5656 | #define CAN_TDL0R_DATA1 CAN_TDL0R_DATA1_Msk /*!< Data byte 1 */ |
5657 | #define CAN_TDL0R_DATA2_Pos (16U) |
||
9 | mjames | 5658 | #define CAN_TDL0R_DATA2_Msk (0xFFUL << CAN_TDL0R_DATA2_Pos) /*!< 0x00FF0000 */ |
2 | mjames | 5659 | #define CAN_TDL0R_DATA2 CAN_TDL0R_DATA2_Msk /*!< Data byte 2 */ |
5660 | #define CAN_TDL0R_DATA3_Pos (24U) |
||
9 | mjames | 5661 | #define CAN_TDL0R_DATA3_Msk (0xFFUL << CAN_TDL0R_DATA3_Pos) /*!< 0xFF000000 */ |
2 | mjames | 5662 | #define CAN_TDL0R_DATA3 CAN_TDL0R_DATA3_Msk /*!< Data byte 3 */ |
5663 | |||
5664 | /****************** Bit definition for CAN_TDH0R register *******************/ |
||
5665 | #define CAN_TDH0R_DATA4_Pos (0U) |
||
9 | mjames | 5666 | #define CAN_TDH0R_DATA4_Msk (0xFFUL << CAN_TDH0R_DATA4_Pos) /*!< 0x000000FF */ |
2 | mjames | 5667 | #define CAN_TDH0R_DATA4 CAN_TDH0R_DATA4_Msk /*!< Data byte 4 */ |
5668 | #define CAN_TDH0R_DATA5_Pos (8U) |
||
9 | mjames | 5669 | #define CAN_TDH0R_DATA5_Msk (0xFFUL << CAN_TDH0R_DATA5_Pos) /*!< 0x0000FF00 */ |
2 | mjames | 5670 | #define CAN_TDH0R_DATA5 CAN_TDH0R_DATA5_Msk /*!< Data byte 5 */ |
5671 | #define CAN_TDH0R_DATA6_Pos (16U) |
||
9 | mjames | 5672 | #define CAN_TDH0R_DATA6_Msk (0xFFUL << CAN_TDH0R_DATA6_Pos) /*!< 0x00FF0000 */ |
2 | mjames | 5673 | #define CAN_TDH0R_DATA6 CAN_TDH0R_DATA6_Msk /*!< Data byte 6 */ |
5674 | #define CAN_TDH0R_DATA7_Pos (24U) |
||
9 | mjames | 5675 | #define CAN_TDH0R_DATA7_Msk (0xFFUL << CAN_TDH0R_DATA7_Pos) /*!< 0xFF000000 */ |
2 | mjames | 5676 | #define CAN_TDH0R_DATA7 CAN_TDH0R_DATA7_Msk /*!< Data byte 7 */ |
5677 | |||
5678 | /******************* Bit definition for CAN_TI1R register *******************/ |
||
5679 | #define CAN_TI1R_TXRQ_Pos (0U) |
||
9 | mjames | 5680 | #define CAN_TI1R_TXRQ_Msk (0x1UL << CAN_TI1R_TXRQ_Pos) /*!< 0x00000001 */ |
2 | mjames | 5681 | #define CAN_TI1R_TXRQ CAN_TI1R_TXRQ_Msk /*!< Transmit Mailbox Request */ |
5682 | #define CAN_TI1R_RTR_Pos (1U) |
||
9 | mjames | 5683 | #define CAN_TI1R_RTR_Msk (0x1UL << CAN_TI1R_RTR_Pos) /*!< 0x00000002 */ |
2 | mjames | 5684 | #define CAN_TI1R_RTR CAN_TI1R_RTR_Msk /*!< Remote Transmission Request */ |
5685 | #define CAN_TI1R_IDE_Pos (2U) |
||
9 | mjames | 5686 | #define CAN_TI1R_IDE_Msk (0x1UL << CAN_TI1R_IDE_Pos) /*!< 0x00000004 */ |
2 | mjames | 5687 | #define CAN_TI1R_IDE CAN_TI1R_IDE_Msk /*!< Identifier Extension */ |
5688 | #define CAN_TI1R_EXID_Pos (3U) |
||
9 | mjames | 5689 | #define CAN_TI1R_EXID_Msk (0x3FFFFUL << CAN_TI1R_EXID_Pos) /*!< 0x001FFFF8 */ |
2 | mjames | 5690 | #define CAN_TI1R_EXID CAN_TI1R_EXID_Msk /*!< Extended Identifier */ |
5691 | #define CAN_TI1R_STID_Pos (21U) |
||
9 | mjames | 5692 | #define CAN_TI1R_STID_Msk (0x7FFUL << CAN_TI1R_STID_Pos) /*!< 0xFFE00000 */ |
2 | mjames | 5693 | #define CAN_TI1R_STID CAN_TI1R_STID_Msk /*!< Standard Identifier or Extended Identifier */ |
5694 | |||
5695 | /******************* Bit definition for CAN_TDT1R register ******************/ |
||
5696 | #define CAN_TDT1R_DLC_Pos (0U) |
||
9 | mjames | 5697 | #define CAN_TDT1R_DLC_Msk (0xFUL << CAN_TDT1R_DLC_Pos) /*!< 0x0000000F */ |
2 | mjames | 5698 | #define CAN_TDT1R_DLC CAN_TDT1R_DLC_Msk /*!< Data Length Code */ |
5699 | #define CAN_TDT1R_TGT_Pos (8U) |
||
9 | mjames | 5700 | #define CAN_TDT1R_TGT_Msk (0x1UL << CAN_TDT1R_TGT_Pos) /*!< 0x00000100 */ |
2 | mjames | 5701 | #define CAN_TDT1R_TGT CAN_TDT1R_TGT_Msk /*!< Transmit Global Time */ |
5702 | #define CAN_TDT1R_TIME_Pos (16U) |
||
9 | mjames | 5703 | #define CAN_TDT1R_TIME_Msk (0xFFFFUL << CAN_TDT1R_TIME_Pos) /*!< 0xFFFF0000 */ |
2 | mjames | 5704 | #define CAN_TDT1R_TIME CAN_TDT1R_TIME_Msk /*!< Message Time Stamp */ |
5705 | |||
5706 | /******************* Bit definition for CAN_TDL1R register ******************/ |
||
5707 | #define CAN_TDL1R_DATA0_Pos (0U) |
||
9 | mjames | 5708 | #define CAN_TDL1R_DATA0_Msk (0xFFUL << CAN_TDL1R_DATA0_Pos) /*!< 0x000000FF */ |
2 | mjames | 5709 | #define CAN_TDL1R_DATA0 CAN_TDL1R_DATA0_Msk /*!< Data byte 0 */ |
5710 | #define CAN_TDL1R_DATA1_Pos (8U) |
||
9 | mjames | 5711 | #define CAN_TDL1R_DATA1_Msk (0xFFUL << CAN_TDL1R_DATA1_Pos) /*!< 0x0000FF00 */ |
2 | mjames | 5712 | #define CAN_TDL1R_DATA1 CAN_TDL1R_DATA1_Msk /*!< Data byte 1 */ |
5713 | #define CAN_TDL1R_DATA2_Pos (16U) |
||
9 | mjames | 5714 | #define CAN_TDL1R_DATA2_Msk (0xFFUL << CAN_TDL1R_DATA2_Pos) /*!< 0x00FF0000 */ |
2 | mjames | 5715 | #define CAN_TDL1R_DATA2 CAN_TDL1R_DATA2_Msk /*!< Data byte 2 */ |
5716 | #define CAN_TDL1R_DATA3_Pos (24U) |
||
9 | mjames | 5717 | #define CAN_TDL1R_DATA3_Msk (0xFFUL << CAN_TDL1R_DATA3_Pos) /*!< 0xFF000000 */ |
2 | mjames | 5718 | #define CAN_TDL1R_DATA3 CAN_TDL1R_DATA3_Msk /*!< Data byte 3 */ |
5719 | |||
5720 | /******************* Bit definition for CAN_TDH1R register ******************/ |
||
5721 | #define CAN_TDH1R_DATA4_Pos (0U) |
||
9 | mjames | 5722 | #define CAN_TDH1R_DATA4_Msk (0xFFUL << CAN_TDH1R_DATA4_Pos) /*!< 0x000000FF */ |
2 | mjames | 5723 | #define CAN_TDH1R_DATA4 CAN_TDH1R_DATA4_Msk /*!< Data byte 4 */ |
5724 | #define CAN_TDH1R_DATA5_Pos (8U) |
||
9 | mjames | 5725 | #define CAN_TDH1R_DATA5_Msk (0xFFUL << CAN_TDH1R_DATA5_Pos) /*!< 0x0000FF00 */ |
2 | mjames | 5726 | #define CAN_TDH1R_DATA5 CAN_TDH1R_DATA5_Msk /*!< Data byte 5 */ |
5727 | #define CAN_TDH1R_DATA6_Pos (16U) |
||
9 | mjames | 5728 | #define CAN_TDH1R_DATA6_Msk (0xFFUL << CAN_TDH1R_DATA6_Pos) /*!< 0x00FF0000 */ |
2 | mjames | 5729 | #define CAN_TDH1R_DATA6 CAN_TDH1R_DATA6_Msk /*!< Data byte 6 */ |
5730 | #define CAN_TDH1R_DATA7_Pos (24U) |
||
9 | mjames | 5731 | #define CAN_TDH1R_DATA7_Msk (0xFFUL << CAN_TDH1R_DATA7_Pos) /*!< 0xFF000000 */ |
2 | mjames | 5732 | #define CAN_TDH1R_DATA7 CAN_TDH1R_DATA7_Msk /*!< Data byte 7 */ |
5733 | |||
5734 | /******************* Bit definition for CAN_TI2R register *******************/ |
||
5735 | #define CAN_TI2R_TXRQ_Pos (0U) |
||
9 | mjames | 5736 | #define CAN_TI2R_TXRQ_Msk (0x1UL << CAN_TI2R_TXRQ_Pos) /*!< 0x00000001 */ |
2 | mjames | 5737 | #define CAN_TI2R_TXRQ CAN_TI2R_TXRQ_Msk /*!< Transmit Mailbox Request */ |
5738 | #define CAN_TI2R_RTR_Pos (1U) |
||
9 | mjames | 5739 | #define CAN_TI2R_RTR_Msk (0x1UL << CAN_TI2R_RTR_Pos) /*!< 0x00000002 */ |
2 | mjames | 5740 | #define CAN_TI2R_RTR CAN_TI2R_RTR_Msk /*!< Remote Transmission Request */ |
5741 | #define CAN_TI2R_IDE_Pos (2U) |
||
9 | mjames | 5742 | #define CAN_TI2R_IDE_Msk (0x1UL << CAN_TI2R_IDE_Pos) /*!< 0x00000004 */ |
2 | mjames | 5743 | #define CAN_TI2R_IDE CAN_TI2R_IDE_Msk /*!< Identifier Extension */ |
5744 | #define CAN_TI2R_EXID_Pos (3U) |
||
9 | mjames | 5745 | #define CAN_TI2R_EXID_Msk (0x3FFFFUL << CAN_TI2R_EXID_Pos) /*!< 0x001FFFF8 */ |
2 | mjames | 5746 | #define CAN_TI2R_EXID CAN_TI2R_EXID_Msk /*!< Extended identifier */ |
5747 | #define CAN_TI2R_STID_Pos (21U) |
||
9 | mjames | 5748 | #define CAN_TI2R_STID_Msk (0x7FFUL << CAN_TI2R_STID_Pos) /*!< 0xFFE00000 */ |
2 | mjames | 5749 | #define CAN_TI2R_STID CAN_TI2R_STID_Msk /*!< Standard Identifier or Extended Identifier */ |
5750 | |||
5751 | /******************* Bit definition for CAN_TDT2R register ******************/ |
||
5752 | #define CAN_TDT2R_DLC_Pos (0U) |
||
9 | mjames | 5753 | #define CAN_TDT2R_DLC_Msk (0xFUL << CAN_TDT2R_DLC_Pos) /*!< 0x0000000F */ |
2 | mjames | 5754 | #define CAN_TDT2R_DLC CAN_TDT2R_DLC_Msk /*!< Data Length Code */ |
5755 | #define CAN_TDT2R_TGT_Pos (8U) |
||
9 | mjames | 5756 | #define CAN_TDT2R_TGT_Msk (0x1UL << CAN_TDT2R_TGT_Pos) /*!< 0x00000100 */ |
2 | mjames | 5757 | #define CAN_TDT2R_TGT CAN_TDT2R_TGT_Msk /*!< Transmit Global Time */ |
5758 | #define CAN_TDT2R_TIME_Pos (16U) |
||
9 | mjames | 5759 | #define CAN_TDT2R_TIME_Msk (0xFFFFUL << CAN_TDT2R_TIME_Pos) /*!< 0xFFFF0000 */ |
2 | mjames | 5760 | #define CAN_TDT2R_TIME CAN_TDT2R_TIME_Msk /*!< Message Time Stamp */ |
5761 | |||
5762 | /******************* Bit definition for CAN_TDL2R register ******************/ |
||
5763 | #define CAN_TDL2R_DATA0_Pos (0U) |
||
9 | mjames | 5764 | #define CAN_TDL2R_DATA0_Msk (0xFFUL << CAN_TDL2R_DATA0_Pos) /*!< 0x000000FF */ |
2 | mjames | 5765 | #define CAN_TDL2R_DATA0 CAN_TDL2R_DATA0_Msk /*!< Data byte 0 */ |
5766 | #define CAN_TDL2R_DATA1_Pos (8U) |
||
9 | mjames | 5767 | #define CAN_TDL2R_DATA1_Msk (0xFFUL << CAN_TDL2R_DATA1_Pos) /*!< 0x0000FF00 */ |
2 | mjames | 5768 | #define CAN_TDL2R_DATA1 CAN_TDL2R_DATA1_Msk /*!< Data byte 1 */ |
5769 | #define CAN_TDL2R_DATA2_Pos (16U) |
||
9 | mjames | 5770 | #define CAN_TDL2R_DATA2_Msk (0xFFUL << CAN_TDL2R_DATA2_Pos) /*!< 0x00FF0000 */ |
2 | mjames | 5771 | #define CAN_TDL2R_DATA2 CAN_TDL2R_DATA2_Msk /*!< Data byte 2 */ |
5772 | #define CAN_TDL2R_DATA3_Pos (24U) |
||
9 | mjames | 5773 | #define CAN_TDL2R_DATA3_Msk (0xFFUL << CAN_TDL2R_DATA3_Pos) /*!< 0xFF000000 */ |
2 | mjames | 5774 | #define CAN_TDL2R_DATA3 CAN_TDL2R_DATA3_Msk /*!< Data byte 3 */ |
5775 | |||
5776 | /******************* Bit definition for CAN_TDH2R register ******************/ |
||
5777 | #define CAN_TDH2R_DATA4_Pos (0U) |
||
9 | mjames | 5778 | #define CAN_TDH2R_DATA4_Msk (0xFFUL << CAN_TDH2R_DATA4_Pos) /*!< 0x000000FF */ |
2 | mjames | 5779 | #define CAN_TDH2R_DATA4 CAN_TDH2R_DATA4_Msk /*!< Data byte 4 */ |
5780 | #define CAN_TDH2R_DATA5_Pos (8U) |
||
9 | mjames | 5781 | #define CAN_TDH2R_DATA5_Msk (0xFFUL << CAN_TDH2R_DATA5_Pos) /*!< 0x0000FF00 */ |
2 | mjames | 5782 | #define CAN_TDH2R_DATA5 CAN_TDH2R_DATA5_Msk /*!< Data byte 5 */ |
5783 | #define CAN_TDH2R_DATA6_Pos (16U) |
||
9 | mjames | 5784 | #define CAN_TDH2R_DATA6_Msk (0xFFUL << CAN_TDH2R_DATA6_Pos) /*!< 0x00FF0000 */ |
2 | mjames | 5785 | #define CAN_TDH2R_DATA6 CAN_TDH2R_DATA6_Msk /*!< Data byte 6 */ |
5786 | #define CAN_TDH2R_DATA7_Pos (24U) |
||
9 | mjames | 5787 | #define CAN_TDH2R_DATA7_Msk (0xFFUL << CAN_TDH2R_DATA7_Pos) /*!< 0xFF000000 */ |
2 | mjames | 5788 | #define CAN_TDH2R_DATA7 CAN_TDH2R_DATA7_Msk /*!< Data byte 7 */ |
5789 | |||
5790 | /******************* Bit definition for CAN_RI0R register *******************/ |
||
5791 | #define CAN_RI0R_RTR_Pos (1U) |
||
9 | mjames | 5792 | #define CAN_RI0R_RTR_Msk (0x1UL << CAN_RI0R_RTR_Pos) /*!< 0x00000002 */ |
2 | mjames | 5793 | #define CAN_RI0R_RTR CAN_RI0R_RTR_Msk /*!< Remote Transmission Request */ |
5794 | #define CAN_RI0R_IDE_Pos (2U) |
||
9 | mjames | 5795 | #define CAN_RI0R_IDE_Msk (0x1UL << CAN_RI0R_IDE_Pos) /*!< 0x00000004 */ |
2 | mjames | 5796 | #define CAN_RI0R_IDE CAN_RI0R_IDE_Msk /*!< Identifier Extension */ |
5797 | #define CAN_RI0R_EXID_Pos (3U) |
||
9 | mjames | 5798 | #define CAN_RI0R_EXID_Msk (0x3FFFFUL << CAN_RI0R_EXID_Pos) /*!< 0x001FFFF8 */ |
2 | mjames | 5799 | #define CAN_RI0R_EXID CAN_RI0R_EXID_Msk /*!< Extended Identifier */ |
5800 | #define CAN_RI0R_STID_Pos (21U) |
||
9 | mjames | 5801 | #define CAN_RI0R_STID_Msk (0x7FFUL << CAN_RI0R_STID_Pos) /*!< 0xFFE00000 */ |
2 | mjames | 5802 | #define CAN_RI0R_STID CAN_RI0R_STID_Msk /*!< Standard Identifier or Extended Identifier */ |
5803 | |||
5804 | /******************* Bit definition for CAN_RDT0R register ******************/ |
||
5805 | #define CAN_RDT0R_DLC_Pos (0U) |
||
9 | mjames | 5806 | #define CAN_RDT0R_DLC_Msk (0xFUL << CAN_RDT0R_DLC_Pos) /*!< 0x0000000F */ |
2 | mjames | 5807 | #define CAN_RDT0R_DLC CAN_RDT0R_DLC_Msk /*!< Data Length Code */ |
5808 | #define CAN_RDT0R_FMI_Pos (8U) |
||
9 | mjames | 5809 | #define CAN_RDT0R_FMI_Msk (0xFFUL << CAN_RDT0R_FMI_Pos) /*!< 0x0000FF00 */ |
2 | mjames | 5810 | #define CAN_RDT0R_FMI CAN_RDT0R_FMI_Msk /*!< Filter Match Index */ |
5811 | #define CAN_RDT0R_TIME_Pos (16U) |
||
9 | mjames | 5812 | #define CAN_RDT0R_TIME_Msk (0xFFFFUL << CAN_RDT0R_TIME_Pos) /*!< 0xFFFF0000 */ |
2 | mjames | 5813 | #define CAN_RDT0R_TIME CAN_RDT0R_TIME_Msk /*!< Message Time Stamp */ |
5814 | |||
5815 | /******************* Bit definition for CAN_RDL0R register ******************/ |
||
5816 | #define CAN_RDL0R_DATA0_Pos (0U) |
||
9 | mjames | 5817 | #define CAN_RDL0R_DATA0_Msk (0xFFUL << CAN_RDL0R_DATA0_Pos) /*!< 0x000000FF */ |
2 | mjames | 5818 | #define CAN_RDL0R_DATA0 CAN_RDL0R_DATA0_Msk /*!< Data byte 0 */ |
5819 | #define CAN_RDL0R_DATA1_Pos (8U) |
||
9 | mjames | 5820 | #define CAN_RDL0R_DATA1_Msk (0xFFUL << CAN_RDL0R_DATA1_Pos) /*!< 0x0000FF00 */ |
2 | mjames | 5821 | #define CAN_RDL0R_DATA1 CAN_RDL0R_DATA1_Msk /*!< Data byte 1 */ |
5822 | #define CAN_RDL0R_DATA2_Pos (16U) |
||
9 | mjames | 5823 | #define CAN_RDL0R_DATA2_Msk (0xFFUL << CAN_RDL0R_DATA2_Pos) /*!< 0x00FF0000 */ |
2 | mjames | 5824 | #define CAN_RDL0R_DATA2 CAN_RDL0R_DATA2_Msk /*!< Data byte 2 */ |
5825 | #define CAN_RDL0R_DATA3_Pos (24U) |
||
9 | mjames | 5826 | #define CAN_RDL0R_DATA3_Msk (0xFFUL << CAN_RDL0R_DATA3_Pos) /*!< 0xFF000000 */ |
2 | mjames | 5827 | #define CAN_RDL0R_DATA3 CAN_RDL0R_DATA3_Msk /*!< Data byte 3 */ |
5828 | |||
5829 | /******************* Bit definition for CAN_RDH0R register ******************/ |
||
5830 | #define CAN_RDH0R_DATA4_Pos (0U) |
||
9 | mjames | 5831 | #define CAN_RDH0R_DATA4_Msk (0xFFUL << CAN_RDH0R_DATA4_Pos) /*!< 0x000000FF */ |
2 | mjames | 5832 | #define CAN_RDH0R_DATA4 CAN_RDH0R_DATA4_Msk /*!< Data byte 4 */ |
5833 | #define CAN_RDH0R_DATA5_Pos (8U) |
||
9 | mjames | 5834 | #define CAN_RDH0R_DATA5_Msk (0xFFUL << CAN_RDH0R_DATA5_Pos) /*!< 0x0000FF00 */ |
2 | mjames | 5835 | #define CAN_RDH0R_DATA5 CAN_RDH0R_DATA5_Msk /*!< Data byte 5 */ |
5836 | #define CAN_RDH0R_DATA6_Pos (16U) |
||
9 | mjames | 5837 | #define CAN_RDH0R_DATA6_Msk (0xFFUL << CAN_RDH0R_DATA6_Pos) /*!< 0x00FF0000 */ |
2 | mjames | 5838 | #define CAN_RDH0R_DATA6 CAN_RDH0R_DATA6_Msk /*!< Data byte 6 */ |
5839 | #define CAN_RDH0R_DATA7_Pos (24U) |
||
9 | mjames | 5840 | #define CAN_RDH0R_DATA7_Msk (0xFFUL << CAN_RDH0R_DATA7_Pos) /*!< 0xFF000000 */ |
2 | mjames | 5841 | #define CAN_RDH0R_DATA7 CAN_RDH0R_DATA7_Msk /*!< Data byte 7 */ |
5842 | |||
5843 | /******************* Bit definition for CAN_RI1R register *******************/ |
||
5844 | #define CAN_RI1R_RTR_Pos (1U) |
||
9 | mjames | 5845 | #define CAN_RI1R_RTR_Msk (0x1UL << CAN_RI1R_RTR_Pos) /*!< 0x00000002 */ |
2 | mjames | 5846 | #define CAN_RI1R_RTR CAN_RI1R_RTR_Msk /*!< Remote Transmission Request */ |
5847 | #define CAN_RI1R_IDE_Pos (2U) |
||
9 | mjames | 5848 | #define CAN_RI1R_IDE_Msk (0x1UL << CAN_RI1R_IDE_Pos) /*!< 0x00000004 */ |
2 | mjames | 5849 | #define CAN_RI1R_IDE CAN_RI1R_IDE_Msk /*!< Identifier Extension */ |
5850 | #define CAN_RI1R_EXID_Pos (3U) |
||
9 | mjames | 5851 | #define CAN_RI1R_EXID_Msk (0x3FFFFUL << CAN_RI1R_EXID_Pos) /*!< 0x001FFFF8 */ |
2 | mjames | 5852 | #define CAN_RI1R_EXID CAN_RI1R_EXID_Msk /*!< Extended identifier */ |
5853 | #define CAN_RI1R_STID_Pos (21U) |
||
9 | mjames | 5854 | #define CAN_RI1R_STID_Msk (0x7FFUL << CAN_RI1R_STID_Pos) /*!< 0xFFE00000 */ |
2 | mjames | 5855 | #define CAN_RI1R_STID CAN_RI1R_STID_Msk /*!< Standard Identifier or Extended Identifier */ |
5856 | |||
5857 | /******************* Bit definition for CAN_RDT1R register ******************/ |
||
5858 | #define CAN_RDT1R_DLC_Pos (0U) |
||
9 | mjames | 5859 | #define CAN_RDT1R_DLC_Msk (0xFUL << CAN_RDT1R_DLC_Pos) /*!< 0x0000000F */ |
2 | mjames | 5860 | #define CAN_RDT1R_DLC CAN_RDT1R_DLC_Msk /*!< Data Length Code */ |
5861 | #define CAN_RDT1R_FMI_Pos (8U) |
||
9 | mjames | 5862 | #define CAN_RDT1R_FMI_Msk (0xFFUL << CAN_RDT1R_FMI_Pos) /*!< 0x0000FF00 */ |
2 | mjames | 5863 | #define CAN_RDT1R_FMI CAN_RDT1R_FMI_Msk /*!< Filter Match Index */ |
5864 | #define CAN_RDT1R_TIME_Pos (16U) |
||
9 | mjames | 5865 | #define CAN_RDT1R_TIME_Msk (0xFFFFUL << CAN_RDT1R_TIME_Pos) /*!< 0xFFFF0000 */ |
2 | mjames | 5866 | #define CAN_RDT1R_TIME CAN_RDT1R_TIME_Msk /*!< Message Time Stamp */ |
5867 | |||
5868 | /******************* Bit definition for CAN_RDL1R register ******************/ |
||
5869 | #define CAN_RDL1R_DATA0_Pos (0U) |
||
9 | mjames | 5870 | #define CAN_RDL1R_DATA0_Msk (0xFFUL << CAN_RDL1R_DATA0_Pos) /*!< 0x000000FF */ |
2 | mjames | 5871 | #define CAN_RDL1R_DATA0 CAN_RDL1R_DATA0_Msk /*!< Data byte 0 */ |
5872 | #define CAN_RDL1R_DATA1_Pos (8U) |
||
9 | mjames | 5873 | #define CAN_RDL1R_DATA1_Msk (0xFFUL << CAN_RDL1R_DATA1_Pos) /*!< 0x0000FF00 */ |
2 | mjames | 5874 | #define CAN_RDL1R_DATA1 CAN_RDL1R_DATA1_Msk /*!< Data byte 1 */ |
5875 | #define CAN_RDL1R_DATA2_Pos (16U) |
||
9 | mjames | 5876 | #define CAN_RDL1R_DATA2_Msk (0xFFUL << CAN_RDL1R_DATA2_Pos) /*!< 0x00FF0000 */ |
2 | mjames | 5877 | #define CAN_RDL1R_DATA2 CAN_RDL1R_DATA2_Msk /*!< Data byte 2 */ |
5878 | #define CAN_RDL1R_DATA3_Pos (24U) |
||
9 | mjames | 5879 | #define CAN_RDL1R_DATA3_Msk (0xFFUL << CAN_RDL1R_DATA3_Pos) /*!< 0xFF000000 */ |
2 | mjames | 5880 | #define CAN_RDL1R_DATA3 CAN_RDL1R_DATA3_Msk /*!< Data byte 3 */ |
5881 | |||
5882 | /******************* Bit definition for CAN_RDH1R register ******************/ |
||
5883 | #define CAN_RDH1R_DATA4_Pos (0U) |
||
9 | mjames | 5884 | #define CAN_RDH1R_DATA4_Msk (0xFFUL << CAN_RDH1R_DATA4_Pos) /*!< 0x000000FF */ |
2 | mjames | 5885 | #define CAN_RDH1R_DATA4 CAN_RDH1R_DATA4_Msk /*!< Data byte 4 */ |
5886 | #define CAN_RDH1R_DATA5_Pos (8U) |
||
9 | mjames | 5887 | #define CAN_RDH1R_DATA5_Msk (0xFFUL << CAN_RDH1R_DATA5_Pos) /*!< 0x0000FF00 */ |
2 | mjames | 5888 | #define CAN_RDH1R_DATA5 CAN_RDH1R_DATA5_Msk /*!< Data byte 5 */ |
5889 | #define CAN_RDH1R_DATA6_Pos (16U) |
||
9 | mjames | 5890 | #define CAN_RDH1R_DATA6_Msk (0xFFUL << CAN_RDH1R_DATA6_Pos) /*!< 0x00FF0000 */ |
2 | mjames | 5891 | #define CAN_RDH1R_DATA6 CAN_RDH1R_DATA6_Msk /*!< Data byte 6 */ |
5892 | #define CAN_RDH1R_DATA7_Pos (24U) |
||
9 | mjames | 5893 | #define CAN_RDH1R_DATA7_Msk (0xFFUL << CAN_RDH1R_DATA7_Pos) /*!< 0xFF000000 */ |
2 | mjames | 5894 | #define CAN_RDH1R_DATA7 CAN_RDH1R_DATA7_Msk /*!< Data byte 7 */ |
5895 | |||
5896 | /*!< CAN filter registers */ |
||
5897 | /******************* Bit definition for CAN_FMR register ********************/ |
||
5898 | #define CAN_FMR_FINIT_Pos (0U) |
||
9 | mjames | 5899 | #define CAN_FMR_FINIT_Msk (0x1UL << CAN_FMR_FINIT_Pos) /*!< 0x00000001 */ |
2 | mjames | 5900 | #define CAN_FMR_FINIT CAN_FMR_FINIT_Msk /*!< Filter Init Mode */ |
5901 | #define CAN_FMR_CAN2SB_Pos (8U) |
||
9 | mjames | 5902 | #define CAN_FMR_CAN2SB_Msk (0x3FUL << CAN_FMR_CAN2SB_Pos) /*!< 0x00003F00 */ |
2 | mjames | 5903 | #define CAN_FMR_CAN2SB CAN_FMR_CAN2SB_Msk /*!< CAN2 start bank */ |
5904 | |||
5905 | /******************* Bit definition for CAN_FM1R register *******************/ |
||
5906 | #define CAN_FM1R_FBM_Pos (0U) |
||
9 | mjames | 5907 | #define CAN_FM1R_FBM_Msk (0x3FFFUL << CAN_FM1R_FBM_Pos) /*!< 0x00003FFF */ |
2 | mjames | 5908 | #define CAN_FM1R_FBM CAN_FM1R_FBM_Msk /*!< Filter Mode */ |
5909 | #define CAN_FM1R_FBM0_Pos (0U) |
||
9 | mjames | 5910 | #define CAN_FM1R_FBM0_Msk (0x1UL << CAN_FM1R_FBM0_Pos) /*!< 0x00000001 */ |
2 | mjames | 5911 | #define CAN_FM1R_FBM0 CAN_FM1R_FBM0_Msk /*!< Filter Init Mode for filter 0 */ |
5912 | #define CAN_FM1R_FBM1_Pos (1U) |
||
9 | mjames | 5913 | #define CAN_FM1R_FBM1_Msk (0x1UL << CAN_FM1R_FBM1_Pos) /*!< 0x00000002 */ |
2 | mjames | 5914 | #define CAN_FM1R_FBM1 CAN_FM1R_FBM1_Msk /*!< Filter Init Mode for filter 1 */ |
5915 | #define CAN_FM1R_FBM2_Pos (2U) |
||
9 | mjames | 5916 | #define CAN_FM1R_FBM2_Msk (0x1UL << CAN_FM1R_FBM2_Pos) /*!< 0x00000004 */ |
2 | mjames | 5917 | #define CAN_FM1R_FBM2 CAN_FM1R_FBM2_Msk /*!< Filter Init Mode for filter 2 */ |
5918 | #define CAN_FM1R_FBM3_Pos (3U) |
||
9 | mjames | 5919 | #define CAN_FM1R_FBM3_Msk (0x1UL << CAN_FM1R_FBM3_Pos) /*!< 0x00000008 */ |
2 | mjames | 5920 | #define CAN_FM1R_FBM3 CAN_FM1R_FBM3_Msk /*!< Filter Init Mode for filter 3 */ |
5921 | #define CAN_FM1R_FBM4_Pos (4U) |
||
9 | mjames | 5922 | #define CAN_FM1R_FBM4_Msk (0x1UL << CAN_FM1R_FBM4_Pos) /*!< 0x00000010 */ |
2 | mjames | 5923 | #define CAN_FM1R_FBM4 CAN_FM1R_FBM4_Msk /*!< Filter Init Mode for filter 4 */ |
5924 | #define CAN_FM1R_FBM5_Pos (5U) |
||
9 | mjames | 5925 | #define CAN_FM1R_FBM5_Msk (0x1UL << CAN_FM1R_FBM5_Pos) /*!< 0x00000020 */ |
2 | mjames | 5926 | #define CAN_FM1R_FBM5 CAN_FM1R_FBM5_Msk /*!< Filter Init Mode for filter 5 */ |
5927 | #define CAN_FM1R_FBM6_Pos (6U) |
||
9 | mjames | 5928 | #define CAN_FM1R_FBM6_Msk (0x1UL << CAN_FM1R_FBM6_Pos) /*!< 0x00000040 */ |
2 | mjames | 5929 | #define CAN_FM1R_FBM6 CAN_FM1R_FBM6_Msk /*!< Filter Init Mode for filter 6 */ |
5930 | #define CAN_FM1R_FBM7_Pos (7U) |
||
9 | mjames | 5931 | #define CAN_FM1R_FBM7_Msk (0x1UL << CAN_FM1R_FBM7_Pos) /*!< 0x00000080 */ |
2 | mjames | 5932 | #define CAN_FM1R_FBM7 CAN_FM1R_FBM7_Msk /*!< Filter Init Mode for filter 7 */ |
5933 | #define CAN_FM1R_FBM8_Pos (8U) |
||
9 | mjames | 5934 | #define CAN_FM1R_FBM8_Msk (0x1UL << CAN_FM1R_FBM8_Pos) /*!< 0x00000100 */ |
2 | mjames | 5935 | #define CAN_FM1R_FBM8 CAN_FM1R_FBM8_Msk /*!< Filter Init Mode for filter 8 */ |
5936 | #define CAN_FM1R_FBM9_Pos (9U) |
||
9 | mjames | 5937 | #define CAN_FM1R_FBM9_Msk (0x1UL << CAN_FM1R_FBM9_Pos) /*!< 0x00000200 */ |
2 | mjames | 5938 | #define CAN_FM1R_FBM9 CAN_FM1R_FBM9_Msk /*!< Filter Init Mode for filter 9 */ |
5939 | #define CAN_FM1R_FBM10_Pos (10U) |
||
9 | mjames | 5940 | #define CAN_FM1R_FBM10_Msk (0x1UL << CAN_FM1R_FBM10_Pos) /*!< 0x00000400 */ |
2 | mjames | 5941 | #define CAN_FM1R_FBM10 CAN_FM1R_FBM10_Msk /*!< Filter Init Mode for filter 10 */ |
5942 | #define CAN_FM1R_FBM11_Pos (11U) |
||
9 | mjames | 5943 | #define CAN_FM1R_FBM11_Msk (0x1UL << CAN_FM1R_FBM11_Pos) /*!< 0x00000800 */ |
2 | mjames | 5944 | #define CAN_FM1R_FBM11 CAN_FM1R_FBM11_Msk /*!< Filter Init Mode for filter 11 */ |
5945 | #define CAN_FM1R_FBM12_Pos (12U) |
||
9 | mjames | 5946 | #define CAN_FM1R_FBM12_Msk (0x1UL << CAN_FM1R_FBM12_Pos) /*!< 0x00001000 */ |
2 | mjames | 5947 | #define CAN_FM1R_FBM12 CAN_FM1R_FBM12_Msk /*!< Filter Init Mode for filter 12 */ |
5948 | #define CAN_FM1R_FBM13_Pos (13U) |
||
9 | mjames | 5949 | #define CAN_FM1R_FBM13_Msk (0x1UL << CAN_FM1R_FBM13_Pos) /*!< 0x00002000 */ |
2 | mjames | 5950 | #define CAN_FM1R_FBM13 CAN_FM1R_FBM13_Msk /*!< Filter Init Mode for filter 13 */ |
5951 | #define CAN_FM1R_FBM14_Pos (14U) |
||
9 | mjames | 5952 | #define CAN_FM1R_FBM14_Msk (0x1UL << CAN_FM1R_FBM14_Pos) /*!< 0x00004000 */ |
2 | mjames | 5953 | #define CAN_FM1R_FBM14 CAN_FM1R_FBM14_Msk /*!< Filter Init Mode for filter 14 */ |
5954 | #define CAN_FM1R_FBM15_Pos (15U) |
||
9 | mjames | 5955 | #define CAN_FM1R_FBM15_Msk (0x1UL << CAN_FM1R_FBM15_Pos) /*!< 0x00008000 */ |
2 | mjames | 5956 | #define CAN_FM1R_FBM15 CAN_FM1R_FBM15_Msk /*!< Filter Init Mode for filter 15 */ |
5957 | #define CAN_FM1R_FBM16_Pos (16U) |
||
9 | mjames | 5958 | #define CAN_FM1R_FBM16_Msk (0x1UL << CAN_FM1R_FBM16_Pos) /*!< 0x00010000 */ |
2 | mjames | 5959 | #define CAN_FM1R_FBM16 CAN_FM1R_FBM16_Msk /*!< Filter Init Mode for filter 16 */ |
5960 | #define CAN_FM1R_FBM17_Pos (17U) |
||
9 | mjames | 5961 | #define CAN_FM1R_FBM17_Msk (0x1UL << CAN_FM1R_FBM17_Pos) /*!< 0x00020000 */ |
2 | mjames | 5962 | #define CAN_FM1R_FBM17 CAN_FM1R_FBM17_Msk /*!< Filter Init Mode for filter 17 */ |
5963 | #define CAN_FM1R_FBM18_Pos (18U) |
||
9 | mjames | 5964 | #define CAN_FM1R_FBM18_Msk (0x1UL << CAN_FM1R_FBM18_Pos) /*!< 0x00040000 */ |
2 | mjames | 5965 | #define CAN_FM1R_FBM18 CAN_FM1R_FBM18_Msk /*!< Filter Init Mode for filter 18 */ |
5966 | #define CAN_FM1R_FBM19_Pos (19U) |
||
9 | mjames | 5967 | #define CAN_FM1R_FBM19_Msk (0x1UL << CAN_FM1R_FBM19_Pos) /*!< 0x00080000 */ |
2 | mjames | 5968 | #define CAN_FM1R_FBM19 CAN_FM1R_FBM19_Msk /*!< Filter Init Mode for filter 19 */ |
5969 | #define CAN_FM1R_FBM20_Pos (20U) |
||
9 | mjames | 5970 | #define CAN_FM1R_FBM20_Msk (0x1UL << CAN_FM1R_FBM20_Pos) /*!< 0x00100000 */ |
2 | mjames | 5971 | #define CAN_FM1R_FBM20 CAN_FM1R_FBM20_Msk /*!< Filter Init Mode for filter 20 */ |
5972 | #define CAN_FM1R_FBM21_Pos (21U) |
||
9 | mjames | 5973 | #define CAN_FM1R_FBM21_Msk (0x1UL << CAN_FM1R_FBM21_Pos) /*!< 0x00200000 */ |
2 | mjames | 5974 | #define CAN_FM1R_FBM21 CAN_FM1R_FBM21_Msk /*!< Filter Init Mode for filter 21 */ |
5975 | #define CAN_FM1R_FBM22_Pos (22U) |
||
9 | mjames | 5976 | #define CAN_FM1R_FBM22_Msk (0x1UL << CAN_FM1R_FBM22_Pos) /*!< 0x00400000 */ |
2 | mjames | 5977 | #define CAN_FM1R_FBM22 CAN_FM1R_FBM22_Msk /*!< Filter Init Mode for filter 22 */ |
5978 | #define CAN_FM1R_FBM23_Pos (23U) |
||
9 | mjames | 5979 | #define CAN_FM1R_FBM23_Msk (0x1UL << CAN_FM1R_FBM23_Pos) /*!< 0x00800000 */ |
2 | mjames | 5980 | #define CAN_FM1R_FBM23 CAN_FM1R_FBM23_Msk /*!< Filter Init Mode for filter 23 */ |
5981 | #define CAN_FM1R_FBM24_Pos (24U) |
||
9 | mjames | 5982 | #define CAN_FM1R_FBM24_Msk (0x1UL << CAN_FM1R_FBM24_Pos) /*!< 0x01000000 */ |
2 | mjames | 5983 | #define CAN_FM1R_FBM24 CAN_FM1R_FBM24_Msk /*!< Filter Init Mode for filter 24 */ |
5984 | #define CAN_FM1R_FBM25_Pos (25U) |
||
9 | mjames | 5985 | #define CAN_FM1R_FBM25_Msk (0x1UL << CAN_FM1R_FBM25_Pos) /*!< 0x02000000 */ |
2 | mjames | 5986 | #define CAN_FM1R_FBM25 CAN_FM1R_FBM25_Msk /*!< Filter Init Mode for filter 25 */ |
5987 | #define CAN_FM1R_FBM26_Pos (26U) |
||
9 | mjames | 5988 | #define CAN_FM1R_FBM26_Msk (0x1UL << CAN_FM1R_FBM26_Pos) /*!< 0x04000000 */ |
2 | mjames | 5989 | #define CAN_FM1R_FBM26 CAN_FM1R_FBM26_Msk /*!< Filter Init Mode for filter 26 */ |
5990 | #define CAN_FM1R_FBM27_Pos (27U) |
||
9 | mjames | 5991 | #define CAN_FM1R_FBM27_Msk (0x1UL << CAN_FM1R_FBM27_Pos) /*!< 0x08000000 */ |
2 | mjames | 5992 | #define CAN_FM1R_FBM27 CAN_FM1R_FBM27_Msk /*!< Filter Init Mode for filter 27 */ |
5993 | |||
5994 | /******************* Bit definition for CAN_FS1R register *******************/ |
||
5995 | #define CAN_FS1R_FSC_Pos (0U) |
||
9 | mjames | 5996 | #define CAN_FS1R_FSC_Msk (0x3FFFUL << CAN_FS1R_FSC_Pos) /*!< 0x00003FFF */ |
2 | mjames | 5997 | #define CAN_FS1R_FSC CAN_FS1R_FSC_Msk /*!< Filter Scale Configuration */ |
5998 | #define CAN_FS1R_FSC0_Pos (0U) |
||
9 | mjames | 5999 | #define CAN_FS1R_FSC0_Msk (0x1UL << CAN_FS1R_FSC0_Pos) /*!< 0x00000001 */ |
2 | mjames | 6000 | #define CAN_FS1R_FSC0 CAN_FS1R_FSC0_Msk /*!< Filter Scale Configuration for filter 0 */ |
6001 | #define CAN_FS1R_FSC1_Pos (1U) |
||
9 | mjames | 6002 | #define CAN_FS1R_FSC1_Msk (0x1UL << CAN_FS1R_FSC1_Pos) /*!< 0x00000002 */ |
2 | mjames | 6003 | #define CAN_FS1R_FSC1 CAN_FS1R_FSC1_Msk /*!< Filter Scale Configuration for filter 1 */ |
6004 | #define CAN_FS1R_FSC2_Pos (2U) |
||
9 | mjames | 6005 | #define CAN_FS1R_FSC2_Msk (0x1UL << CAN_FS1R_FSC2_Pos) /*!< 0x00000004 */ |
2 | mjames | 6006 | #define CAN_FS1R_FSC2 CAN_FS1R_FSC2_Msk /*!< Filter Scale Configuration for filter 2 */ |
6007 | #define CAN_FS1R_FSC3_Pos (3U) |
||
9 | mjames | 6008 | #define CAN_FS1R_FSC3_Msk (0x1UL << CAN_FS1R_FSC3_Pos) /*!< 0x00000008 */ |
2 | mjames | 6009 | #define CAN_FS1R_FSC3 CAN_FS1R_FSC3_Msk /*!< Filter Scale Configuration for filter 3 */ |
6010 | #define CAN_FS1R_FSC4_Pos (4U) |
||
9 | mjames | 6011 | #define CAN_FS1R_FSC4_Msk (0x1UL << CAN_FS1R_FSC4_Pos) /*!< 0x00000010 */ |
2 | mjames | 6012 | #define CAN_FS1R_FSC4 CAN_FS1R_FSC4_Msk /*!< Filter Scale Configuration for filter 4 */ |
6013 | #define CAN_FS1R_FSC5_Pos (5U) |
||
9 | mjames | 6014 | #define CAN_FS1R_FSC5_Msk (0x1UL << CAN_FS1R_FSC5_Pos) /*!< 0x00000020 */ |
2 | mjames | 6015 | #define CAN_FS1R_FSC5 CAN_FS1R_FSC5_Msk /*!< Filter Scale Configuration for filter 5 */ |
6016 | #define CAN_FS1R_FSC6_Pos (6U) |
||
9 | mjames | 6017 | #define CAN_FS1R_FSC6_Msk (0x1UL << CAN_FS1R_FSC6_Pos) /*!< 0x00000040 */ |
2 | mjames | 6018 | #define CAN_FS1R_FSC6 CAN_FS1R_FSC6_Msk /*!< Filter Scale Configuration for filter 6 */ |
6019 | #define CAN_FS1R_FSC7_Pos (7U) |
||
9 | mjames | 6020 | #define CAN_FS1R_FSC7_Msk (0x1UL << CAN_FS1R_FSC7_Pos) /*!< 0x00000080 */ |
2 | mjames | 6021 | #define CAN_FS1R_FSC7 CAN_FS1R_FSC7_Msk /*!< Filter Scale Configuration for filter 7 */ |
6022 | #define CAN_FS1R_FSC8_Pos (8U) |
||
9 | mjames | 6023 | #define CAN_FS1R_FSC8_Msk (0x1UL << CAN_FS1R_FSC8_Pos) /*!< 0x00000100 */ |
2 | mjames | 6024 | #define CAN_FS1R_FSC8 CAN_FS1R_FSC8_Msk /*!< Filter Scale Configuration for filter 8 */ |
6025 | #define CAN_FS1R_FSC9_Pos (9U) |
||
9 | mjames | 6026 | #define CAN_FS1R_FSC9_Msk (0x1UL << CAN_FS1R_FSC9_Pos) /*!< 0x00000200 */ |
2 | mjames | 6027 | #define CAN_FS1R_FSC9 CAN_FS1R_FSC9_Msk /*!< Filter Scale Configuration for filter 9 */ |
6028 | #define CAN_FS1R_FSC10_Pos (10U) |
||
9 | mjames | 6029 | #define CAN_FS1R_FSC10_Msk (0x1UL << CAN_FS1R_FSC10_Pos) /*!< 0x00000400 */ |
2 | mjames | 6030 | #define CAN_FS1R_FSC10 CAN_FS1R_FSC10_Msk /*!< Filter Scale Configuration for filter 10 */ |
6031 | #define CAN_FS1R_FSC11_Pos (11U) |
||
9 | mjames | 6032 | #define CAN_FS1R_FSC11_Msk (0x1UL << CAN_FS1R_FSC11_Pos) /*!< 0x00000800 */ |
2 | mjames | 6033 | #define CAN_FS1R_FSC11 CAN_FS1R_FSC11_Msk /*!< Filter Scale Configuration for filter 11 */ |
6034 | #define CAN_FS1R_FSC12_Pos (12U) |
||
9 | mjames | 6035 | #define CAN_FS1R_FSC12_Msk (0x1UL << CAN_FS1R_FSC12_Pos) /*!< 0x00001000 */ |
2 | mjames | 6036 | #define CAN_FS1R_FSC12 CAN_FS1R_FSC12_Msk /*!< Filter Scale Configuration for filter 12 */ |
6037 | #define CAN_FS1R_FSC13_Pos (13U) |
||
9 | mjames | 6038 | #define CAN_FS1R_FSC13_Msk (0x1UL << CAN_FS1R_FSC13_Pos) /*!< 0x00002000 */ |
2 | mjames | 6039 | #define CAN_FS1R_FSC13 CAN_FS1R_FSC13_Msk /*!< Filter Scale Configuration for filter 13 */ |
6040 | #define CAN_FS1R_FSC14_Pos (14U) |
||
9 | mjames | 6041 | #define CAN_FS1R_FSC14_Msk (0x1UL << CAN_FS1R_FSC14_Pos) /*!< 0x00004000 */ |
2 | mjames | 6042 | #define CAN_FS1R_FSC14 CAN_FS1R_FSC14_Msk /*!< Filter Scale Configuration for filter 14 */ |
6043 | #define CAN_FS1R_FSC15_Pos (15U) |
||
9 | mjames | 6044 | #define CAN_FS1R_FSC15_Msk (0x1UL << CAN_FS1R_FSC15_Pos) /*!< 0x00008000 */ |
2 | mjames | 6045 | #define CAN_FS1R_FSC15 CAN_FS1R_FSC15_Msk /*!< Filter Scale Configuration for filter 15 */ |
6046 | #define CAN_FS1R_FSC16_Pos (16U) |
||
9 | mjames | 6047 | #define CAN_FS1R_FSC16_Msk (0x1UL << CAN_FS1R_FSC16_Pos) /*!< 0x00010000 */ |
2 | mjames | 6048 | #define CAN_FS1R_FSC16 CAN_FS1R_FSC16_Msk /*!< Filter Scale Configuration for filter 16 */ |
6049 | #define CAN_FS1R_FSC17_Pos (17U) |
||
9 | mjames | 6050 | #define CAN_FS1R_FSC17_Msk (0x1UL << CAN_FS1R_FSC17_Pos) /*!< 0x00020000 */ |
2 | mjames | 6051 | #define CAN_FS1R_FSC17 CAN_FS1R_FSC17_Msk /*!< Filter Scale Configuration for filter 17 */ |
6052 | #define CAN_FS1R_FSC18_Pos (18U) |
||
9 | mjames | 6053 | #define CAN_FS1R_FSC18_Msk (0x1UL << CAN_FS1R_FSC18_Pos) /*!< 0x00040000 */ |
2 | mjames | 6054 | #define CAN_FS1R_FSC18 CAN_FS1R_FSC18_Msk /*!< Filter Scale Configuration for filter 18 */ |
6055 | #define CAN_FS1R_FSC19_Pos (19U) |
||
9 | mjames | 6056 | #define CAN_FS1R_FSC19_Msk (0x1UL << CAN_FS1R_FSC19_Pos) /*!< 0x00080000 */ |
2 | mjames | 6057 | #define CAN_FS1R_FSC19 CAN_FS1R_FSC19_Msk /*!< Filter Scale Configuration for filter 19 */ |
6058 | #define CAN_FS1R_FSC20_Pos (20U) |
||
9 | mjames | 6059 | #define CAN_FS1R_FSC20_Msk (0x1UL << CAN_FS1R_FSC20_Pos) /*!< 0x00100000 */ |
2 | mjames | 6060 | #define CAN_FS1R_FSC20 CAN_FS1R_FSC20_Msk /*!< Filter Scale Configuration for filter 20 */ |
6061 | #define CAN_FS1R_FSC21_Pos (21U) |
||
9 | mjames | 6062 | #define CAN_FS1R_FSC21_Msk (0x1UL << CAN_FS1R_FSC21_Pos) /*!< 0x00200000 */ |
2 | mjames | 6063 | #define CAN_FS1R_FSC21 CAN_FS1R_FSC21_Msk /*!< Filter Scale Configuration for filter 21 */ |
6064 | #define CAN_FS1R_FSC22_Pos (22U) |
||
9 | mjames | 6065 | #define CAN_FS1R_FSC22_Msk (0x1UL << CAN_FS1R_FSC22_Pos) /*!< 0x00400000 */ |
2 | mjames | 6066 | #define CAN_FS1R_FSC22 CAN_FS1R_FSC22_Msk /*!< Filter Scale Configuration for filter 22 */ |
6067 | #define CAN_FS1R_FSC23_Pos (23U) |
||
9 | mjames | 6068 | #define CAN_FS1R_FSC23_Msk (0x1UL << CAN_FS1R_FSC23_Pos) /*!< 0x00800000 */ |
2 | mjames | 6069 | #define CAN_FS1R_FSC23 CAN_FS1R_FSC23_Msk /*!< Filter Scale Configuration for filter 23 */ |
6070 | #define CAN_FS1R_FSC24_Pos (24U) |
||
9 | mjames | 6071 | #define CAN_FS1R_FSC24_Msk (0x1UL << CAN_FS1R_FSC24_Pos) /*!< 0x01000000 */ |
2 | mjames | 6072 | #define CAN_FS1R_FSC24 CAN_FS1R_FSC24_Msk /*!< Filter Scale Configuration for filter 24 */ |
6073 | #define CAN_FS1R_FSC25_Pos (25U) |
||
9 | mjames | 6074 | #define CAN_FS1R_FSC25_Msk (0x1UL << CAN_FS1R_FSC25_Pos) /*!< 0x02000000 */ |
2 | mjames | 6075 | #define CAN_FS1R_FSC25 CAN_FS1R_FSC25_Msk /*!< Filter Scale Configuration for filter 25 */ |
6076 | #define CAN_FS1R_FSC26_Pos (26U) |
||
9 | mjames | 6077 | #define CAN_FS1R_FSC26_Msk (0x1UL << CAN_FS1R_FSC26_Pos) /*!< 0x04000000 */ |
2 | mjames | 6078 | #define CAN_FS1R_FSC26 CAN_FS1R_FSC26_Msk /*!< Filter Scale Configuration for filter 26 */ |
6079 | #define CAN_FS1R_FSC27_Pos (27U) |
||
9 | mjames | 6080 | #define CAN_FS1R_FSC27_Msk (0x1UL << CAN_FS1R_FSC27_Pos) /*!< 0x08000000 */ |
2 | mjames | 6081 | #define CAN_FS1R_FSC27 CAN_FS1R_FSC27_Msk /*!< Filter Scale Configuration for filter 27 */ |
6082 | |||
6083 | /****************** Bit definition for CAN_FFA1R register *******************/ |
||
6084 | #define CAN_FFA1R_FFA_Pos (0U) |
||
9 | mjames | 6085 | #define CAN_FFA1R_FFA_Msk (0x3FFFUL << CAN_FFA1R_FFA_Pos) /*!< 0x00003FFF */ |
2 | mjames | 6086 | #define CAN_FFA1R_FFA CAN_FFA1R_FFA_Msk /*!< Filter FIFO Assignment */ |
6087 | #define CAN_FFA1R_FFA0_Pos (0U) |
||
9 | mjames | 6088 | #define CAN_FFA1R_FFA0_Msk (0x1UL << CAN_FFA1R_FFA0_Pos) /*!< 0x00000001 */ |
2 | mjames | 6089 | #define CAN_FFA1R_FFA0 CAN_FFA1R_FFA0_Msk /*!< Filter FIFO Assignment for filter 0 */ |
6090 | #define CAN_FFA1R_FFA1_Pos (1U) |
||
9 | mjames | 6091 | #define CAN_FFA1R_FFA1_Msk (0x1UL << CAN_FFA1R_FFA1_Pos) /*!< 0x00000002 */ |
2 | mjames | 6092 | #define CAN_FFA1R_FFA1 CAN_FFA1R_FFA1_Msk /*!< Filter FIFO Assignment for filter 1 */ |
6093 | #define CAN_FFA1R_FFA2_Pos (2U) |
||
9 | mjames | 6094 | #define CAN_FFA1R_FFA2_Msk (0x1UL << CAN_FFA1R_FFA2_Pos) /*!< 0x00000004 */ |
2 | mjames | 6095 | #define CAN_FFA1R_FFA2 CAN_FFA1R_FFA2_Msk /*!< Filter FIFO Assignment for filter 2 */ |
6096 | #define CAN_FFA1R_FFA3_Pos (3U) |
||
9 | mjames | 6097 | #define CAN_FFA1R_FFA3_Msk (0x1UL << CAN_FFA1R_FFA3_Pos) /*!< 0x00000008 */ |
2 | mjames | 6098 | #define CAN_FFA1R_FFA3 CAN_FFA1R_FFA3_Msk /*!< Filter FIFO Assignment for filter 3 */ |
6099 | #define CAN_FFA1R_FFA4_Pos (4U) |
||
9 | mjames | 6100 | #define CAN_FFA1R_FFA4_Msk (0x1UL << CAN_FFA1R_FFA4_Pos) /*!< 0x00000010 */ |
2 | mjames | 6101 | #define CAN_FFA1R_FFA4 CAN_FFA1R_FFA4_Msk /*!< Filter FIFO Assignment for filter 4 */ |
6102 | #define CAN_FFA1R_FFA5_Pos (5U) |
||
9 | mjames | 6103 | #define CAN_FFA1R_FFA5_Msk (0x1UL << CAN_FFA1R_FFA5_Pos) /*!< 0x00000020 */ |
2 | mjames | 6104 | #define CAN_FFA1R_FFA5 CAN_FFA1R_FFA5_Msk /*!< Filter FIFO Assignment for filter 5 */ |
6105 | #define CAN_FFA1R_FFA6_Pos (6U) |
||
9 | mjames | 6106 | #define CAN_FFA1R_FFA6_Msk (0x1UL << CAN_FFA1R_FFA6_Pos) /*!< 0x00000040 */ |
2 | mjames | 6107 | #define CAN_FFA1R_FFA6 CAN_FFA1R_FFA6_Msk /*!< Filter FIFO Assignment for filter 6 */ |
6108 | #define CAN_FFA1R_FFA7_Pos (7U) |
||
9 | mjames | 6109 | #define CAN_FFA1R_FFA7_Msk (0x1UL << CAN_FFA1R_FFA7_Pos) /*!< 0x00000080 */ |
2 | mjames | 6110 | #define CAN_FFA1R_FFA7 CAN_FFA1R_FFA7_Msk /*!< Filter FIFO Assignment for filter 7 */ |
6111 | #define CAN_FFA1R_FFA8_Pos (8U) |
||
9 | mjames | 6112 | #define CAN_FFA1R_FFA8_Msk (0x1UL << CAN_FFA1R_FFA8_Pos) /*!< 0x00000100 */ |
2 | mjames | 6113 | #define CAN_FFA1R_FFA8 CAN_FFA1R_FFA8_Msk /*!< Filter FIFO Assignment for filter 8 */ |
6114 | #define CAN_FFA1R_FFA9_Pos (9U) |
||
9 | mjames | 6115 | #define CAN_FFA1R_FFA9_Msk (0x1UL << CAN_FFA1R_FFA9_Pos) /*!< 0x00000200 */ |
2 | mjames | 6116 | #define CAN_FFA1R_FFA9 CAN_FFA1R_FFA9_Msk /*!< Filter FIFO Assignment for filter 9 */ |
6117 | #define CAN_FFA1R_FFA10_Pos (10U) |
||
9 | mjames | 6118 | #define CAN_FFA1R_FFA10_Msk (0x1UL << CAN_FFA1R_FFA10_Pos) /*!< 0x00000400 */ |
2 | mjames | 6119 | #define CAN_FFA1R_FFA10 CAN_FFA1R_FFA10_Msk /*!< Filter FIFO Assignment for filter 10 */ |
6120 | #define CAN_FFA1R_FFA11_Pos (11U) |
||
9 | mjames | 6121 | #define CAN_FFA1R_FFA11_Msk (0x1UL << CAN_FFA1R_FFA11_Pos) /*!< 0x00000800 */ |
2 | mjames | 6122 | #define CAN_FFA1R_FFA11 CAN_FFA1R_FFA11_Msk /*!< Filter FIFO Assignment for filter 11 */ |
6123 | #define CAN_FFA1R_FFA12_Pos (12U) |
||
9 | mjames | 6124 | #define CAN_FFA1R_FFA12_Msk (0x1UL << CAN_FFA1R_FFA12_Pos) /*!< 0x00001000 */ |
2 | mjames | 6125 | #define CAN_FFA1R_FFA12 CAN_FFA1R_FFA12_Msk /*!< Filter FIFO Assignment for filter 12 */ |
6126 | #define CAN_FFA1R_FFA13_Pos (13U) |
||
9 | mjames | 6127 | #define CAN_FFA1R_FFA13_Msk (0x1UL << CAN_FFA1R_FFA13_Pos) /*!< 0x00002000 */ |
2 | mjames | 6128 | #define CAN_FFA1R_FFA13 CAN_FFA1R_FFA13_Msk /*!< Filter FIFO Assignment for filter 13 */ |
6129 | #define CAN_FFA1_FFA14_Pos (14U) |
||
9 | mjames | 6130 | #define CAN_FFA1_FFA14_Msk (0x1UL << CAN_FFA1_FFA14_Pos) /*!< 0x00004000 */ |
2 | mjames | 6131 | #define CAN_FFA1_FFA14 CAN_FFA1_FFA14_Msk /*!< Filter FIFO Assignment for filter 14 */ |
6132 | #define CAN_FFA1_FFA15_Pos (15U) |
||
9 | mjames | 6133 | #define CAN_FFA1_FFA15_Msk (0x1UL << CAN_FFA1_FFA15_Pos) /*!< 0x00008000 */ |
2 | mjames | 6134 | #define CAN_FFA1_FFA15 CAN_FFA1_FFA15_Msk /*!< Filter FIFO Assignment for filter 15 */ |
6135 | #define CAN_FFA1_FFA16_Pos (16U) |
||
9 | mjames | 6136 | #define CAN_FFA1_FFA16_Msk (0x1UL << CAN_FFA1_FFA16_Pos) /*!< 0x00010000 */ |
2 | mjames | 6137 | #define CAN_FFA1_FFA16 CAN_FFA1_FFA16_Msk /*!< Filter FIFO Assignment for filter 16 */ |
6138 | #define CAN_FFA1_FFA17_Pos (17U) |
||
9 | mjames | 6139 | #define CAN_FFA1_FFA17_Msk (0x1UL << CAN_FFA1_FFA17_Pos) /*!< 0x00020000 */ |
2 | mjames | 6140 | #define CAN_FFA1_FFA17 CAN_FFA1_FFA17_Msk /*!< Filter FIFO Assignment for filter 17 */ |
6141 | #define CAN_FFA1_FFA18_Pos (18U) |
||
9 | mjames | 6142 | #define CAN_FFA1_FFA18_Msk (0x1UL << CAN_FFA1_FFA18_Pos) /*!< 0x00040000 */ |
2 | mjames | 6143 | #define CAN_FFA1_FFA18 CAN_FFA1_FFA18_Msk /*!< Filter FIFO Assignment for filter 18 */ |
6144 | #define CAN_FFA1_FFA19_Pos (19U) |
||
9 | mjames | 6145 | #define CAN_FFA1_FFA19_Msk (0x1UL << CAN_FFA1_FFA19_Pos) /*!< 0x00080000 */ |
2 | mjames | 6146 | #define CAN_FFA1_FFA19 CAN_FFA1_FFA19_Msk /*!< Filter FIFO Assignment for filter 19 */ |
6147 | #define CAN_FFA1_FFA20_Pos (20U) |
||
9 | mjames | 6148 | #define CAN_FFA1_FFA20_Msk (0x1UL << CAN_FFA1_FFA20_Pos) /*!< 0x00100000 */ |
2 | mjames | 6149 | #define CAN_FFA1_FFA20 CAN_FFA1_FFA20_Msk /*!< Filter FIFO Assignment for filter 20 */ |
6150 | #define CAN_FFA1_FFA21_Pos (21U) |
||
9 | mjames | 6151 | #define CAN_FFA1_FFA21_Msk (0x1UL << CAN_FFA1_FFA21_Pos) /*!< 0x00200000 */ |
2 | mjames | 6152 | #define CAN_FFA1_FFA21 CAN_FFA1_FFA21_Msk /*!< Filter FIFO Assignment for filter 21 */ |
6153 | #define CAN_FFA1_FFA22_Pos (22U) |
||
9 | mjames | 6154 | #define CAN_FFA1_FFA22_Msk (0x1UL << CAN_FFA1_FFA22_Pos) /*!< 0x00400000 */ |
2 | mjames | 6155 | #define CAN_FFA1_FFA22 CAN_FFA1_FFA22_Msk /*!< Filter FIFO Assignment for filter 22 */ |
6156 | #define CAN_FFA1_FFA23_Pos (23U) |
||
9 | mjames | 6157 | #define CAN_FFA1_FFA23_Msk (0x1UL << CAN_FFA1_FFA23_Pos) /*!< 0x00800000 */ |
2 | mjames | 6158 | #define CAN_FFA1_FFA23 CAN_FFA1_FFA23_Msk /*!< Filter FIFO Assignment for filter 23 */ |
6159 | #define CAN_FFA1_FFA24_Pos (24U) |
||
9 | mjames | 6160 | #define CAN_FFA1_FFA24_Msk (0x1UL << CAN_FFA1_FFA24_Pos) /*!< 0x01000000 */ |
2 | mjames | 6161 | #define CAN_FFA1_FFA24 CAN_FFA1_FFA24_Msk /*!< Filter FIFO Assignment for filter 24 */ |
6162 | #define CAN_FFA1_FFA25_Pos (25U) |
||
9 | mjames | 6163 | #define CAN_FFA1_FFA25_Msk (0x1UL << CAN_FFA1_FFA25_Pos) /*!< 0x02000000 */ |
2 | mjames | 6164 | #define CAN_FFA1_FFA25 CAN_FFA1_FFA25_Msk /*!< Filter FIFO Assignment for filter 25 */ |
6165 | #define CAN_FFA1_FFA26_Pos (26U) |
||
9 | mjames | 6166 | #define CAN_FFA1_FFA26_Msk (0x1UL << CAN_FFA1_FFA26_Pos) /*!< 0x04000000 */ |
2 | mjames | 6167 | #define CAN_FFA1_FFA26 CAN_FFA1_FFA26_Msk /*!< Filter FIFO Assignment for filter 26 */ |
6168 | #define CAN_FFA1_FFA27_Pos (27U) |
||
9 | mjames | 6169 | #define CAN_FFA1_FFA27_Msk (0x1UL << CAN_FFA1_FFA27_Pos) /*!< 0x08000000 */ |
2 | mjames | 6170 | #define CAN_FFA1_FFA27 CAN_FFA1_FFA27_Msk /*!< Filter FIFO Assignment for filter 27 */ |
6171 | |||
6172 | /******************* Bit definition for CAN_FA1R register *******************/ |
||
6173 | #define CAN_FA1R_FACT_Pos (0U) |
||
9 | mjames | 6174 | #define CAN_FA1R_FACT_Msk (0x3FFFUL << CAN_FA1R_FACT_Pos) /*!< 0x00003FFF */ |
2 | mjames | 6175 | #define CAN_FA1R_FACT CAN_FA1R_FACT_Msk /*!< Filter Active */ |
6176 | #define CAN_FA1R_FACT0_Pos (0U) |
||
9 | mjames | 6177 | #define CAN_FA1R_FACT0_Msk (0x1UL << CAN_FA1R_FACT0_Pos) /*!< 0x00000001 */ |
2 | mjames | 6178 | #define CAN_FA1R_FACT0 CAN_FA1R_FACT0_Msk /*!< Filter 0 Active */ |
6179 | #define CAN_FA1R_FACT1_Pos (1U) |
||
9 | mjames | 6180 | #define CAN_FA1R_FACT1_Msk (0x1UL << CAN_FA1R_FACT1_Pos) /*!< 0x00000002 */ |
2 | mjames | 6181 | #define CAN_FA1R_FACT1 CAN_FA1R_FACT1_Msk /*!< Filter 1 Active */ |
6182 | #define CAN_FA1R_FACT2_Pos (2U) |
||
9 | mjames | 6183 | #define CAN_FA1R_FACT2_Msk (0x1UL << CAN_FA1R_FACT2_Pos) /*!< 0x00000004 */ |
2 | mjames | 6184 | #define CAN_FA1R_FACT2 CAN_FA1R_FACT2_Msk /*!< Filter 2 Active */ |
6185 | #define CAN_FA1R_FACT3_Pos (3U) |
||
9 | mjames | 6186 | #define CAN_FA1R_FACT3_Msk (0x1UL << CAN_FA1R_FACT3_Pos) /*!< 0x00000008 */ |
2 | mjames | 6187 | #define CAN_FA1R_FACT3 CAN_FA1R_FACT3_Msk /*!< Filter 3 Active */ |
6188 | #define CAN_FA1R_FACT4_Pos (4U) |
||
9 | mjames | 6189 | #define CAN_FA1R_FACT4_Msk (0x1UL << CAN_FA1R_FACT4_Pos) /*!< 0x00000010 */ |
2 | mjames | 6190 | #define CAN_FA1R_FACT4 CAN_FA1R_FACT4_Msk /*!< Filter 4 Active */ |
6191 | #define CAN_FA1R_FACT5_Pos (5U) |
||
9 | mjames | 6192 | #define CAN_FA1R_FACT5_Msk (0x1UL << CAN_FA1R_FACT5_Pos) /*!< 0x00000020 */ |
2 | mjames | 6193 | #define CAN_FA1R_FACT5 CAN_FA1R_FACT5_Msk /*!< Filter 5 Active */ |
6194 | #define CAN_FA1R_FACT6_Pos (6U) |
||
9 | mjames | 6195 | #define CAN_FA1R_FACT6_Msk (0x1UL << CAN_FA1R_FACT6_Pos) /*!< 0x00000040 */ |
2 | mjames | 6196 | #define CAN_FA1R_FACT6 CAN_FA1R_FACT6_Msk /*!< Filter 6 Active */ |
6197 | #define CAN_FA1R_FACT7_Pos (7U) |
||
9 | mjames | 6198 | #define CAN_FA1R_FACT7_Msk (0x1UL << CAN_FA1R_FACT7_Pos) /*!< 0x00000080 */ |
2 | mjames | 6199 | #define CAN_FA1R_FACT7 CAN_FA1R_FACT7_Msk /*!< Filter 7 Active */ |
6200 | #define CAN_FA1R_FACT8_Pos (8U) |
||
9 | mjames | 6201 | #define CAN_FA1R_FACT8_Msk (0x1UL << CAN_FA1R_FACT8_Pos) /*!< 0x00000100 */ |
2 | mjames | 6202 | #define CAN_FA1R_FACT8 CAN_FA1R_FACT8_Msk /*!< Filter 8 Active */ |
6203 | #define CAN_FA1R_FACT9_Pos (9U) |
||
9 | mjames | 6204 | #define CAN_FA1R_FACT9_Msk (0x1UL << CAN_FA1R_FACT9_Pos) /*!< 0x00000200 */ |
2 | mjames | 6205 | #define CAN_FA1R_FACT9 CAN_FA1R_FACT9_Msk /*!< Filter 9 Active */ |
6206 | #define CAN_FA1R_FACT10_Pos (10U) |
||
9 | mjames | 6207 | #define CAN_FA1R_FACT10_Msk (0x1UL << CAN_FA1R_FACT10_Pos) /*!< 0x00000400 */ |
2 | mjames | 6208 | #define CAN_FA1R_FACT10 CAN_FA1R_FACT10_Msk /*!< Filter 10 Active */ |
6209 | #define CAN_FA1R_FACT11_Pos (11U) |
||
9 | mjames | 6210 | #define CAN_FA1R_FACT11_Msk (0x1UL << CAN_FA1R_FACT11_Pos) /*!< 0x00000800 */ |
2 | mjames | 6211 | #define CAN_FA1R_FACT11 CAN_FA1R_FACT11_Msk /*!< Filter 11 Active */ |
6212 | #define CAN_FA1R_FACT12_Pos (12U) |
||
9 | mjames | 6213 | #define CAN_FA1R_FACT12_Msk (0x1UL << CAN_FA1R_FACT12_Pos) /*!< 0x00001000 */ |
2 | mjames | 6214 | #define CAN_FA1R_FACT12 CAN_FA1R_FACT12_Msk /*!< Filter 12 Active */ |
6215 | #define CAN_FA1R_FACT13_Pos (13U) |
||
9 | mjames | 6216 | #define CAN_FA1R_FACT13_Msk (0x1UL << CAN_FA1R_FACT13_Pos) /*!< 0x00002000 */ |
2 | mjames | 6217 | #define CAN_FA1R_FACT13 CAN_FA1R_FACT13_Msk /*!< Filter 13 Active */ |
6218 | #define CAN_FA1R_FACT14_Pos (14U) |
||
9 | mjames | 6219 | #define CAN_FA1R_FACT14_Msk (0x1UL << CAN_FA1R_FACT14_Pos) /*!< 0x00004000 */ |
2 | mjames | 6220 | #define CAN_FA1R_FACT14 CAN_FA1R_FACT14_Msk /*!< Filter 14 Active */ |
6221 | #define CAN_FA1R_FACT15_Pos (15U) |
||
9 | mjames | 6222 | #define CAN_FA1R_FACT15_Msk (0x1UL << CAN_FA1R_FACT15_Pos) /*!< 0x00008000 */ |
2 | mjames | 6223 | #define CAN_FA1R_FACT15 CAN_FA1R_FACT15_Msk /*!< Filter 15 Active */ |
6224 | #define CAN_FA1R_FACT16_Pos (16U) |
||
9 | mjames | 6225 | #define CAN_FA1R_FACT16_Msk (0x1UL << CAN_FA1R_FACT16_Pos) /*!< 0x00010000 */ |
2 | mjames | 6226 | #define CAN_FA1R_FACT16 CAN_FA1R_FACT16_Msk /*!< Filter 16 Active */ |
6227 | #define CAN_FA1R_FACT17_Pos (17U) |
||
9 | mjames | 6228 | #define CAN_FA1R_FACT17_Msk (0x1UL << CAN_FA1R_FACT17_Pos) /*!< 0x00020000 */ |
2 | mjames | 6229 | #define CAN_FA1R_FACT17 CAN_FA1R_FACT17_Msk /*!< Filter 17 Active */ |
6230 | #define CAN_FA1R_FACT18_Pos (18U) |
||
9 | mjames | 6231 | #define CAN_FA1R_FACT18_Msk (0x1UL << CAN_FA1R_FACT18_Pos) /*!< 0x00040000 */ |
2 | mjames | 6232 | #define CAN_FA1R_FACT18 CAN_FA1R_FACT18_Msk /*!< Filter 18 Active */ |
6233 | #define CAN_FA1R_FACT19_Pos (19U) |
||
9 | mjames | 6234 | #define CAN_FA1R_FACT19_Msk (0x1UL << CAN_FA1R_FACT19_Pos) /*!< 0x00080000 */ |
2 | mjames | 6235 | #define CAN_FA1R_FACT19 CAN_FA1R_FACT19_Msk /*!< Filter 19 Active */ |
6236 | #define CAN_FA1R_FACT20_Pos (20U) |
||
9 | mjames | 6237 | #define CAN_FA1R_FACT20_Msk (0x1UL << CAN_FA1R_FACT20_Pos) /*!< 0x00100000 */ |
2 | mjames | 6238 | #define CAN_FA1R_FACT20 CAN_FA1R_FACT20_Msk /*!< Filter 20 Active */ |
6239 | #define CAN_FA1R_FACT21_Pos (21U) |
||
9 | mjames | 6240 | #define CAN_FA1R_FACT21_Msk (0x1UL << CAN_FA1R_FACT21_Pos) /*!< 0x00200000 */ |
2 | mjames | 6241 | #define CAN_FA1R_FACT21 CAN_FA1R_FACT21_Msk /*!< Filter 21 Active */ |
6242 | #define CAN_FA1R_FACT22_Pos (22U) |
||
9 | mjames | 6243 | #define CAN_FA1R_FACT22_Msk (0x1UL << CAN_FA1R_FACT22_Pos) /*!< 0x00400000 */ |
2 | mjames | 6244 | #define CAN_FA1R_FACT22 CAN_FA1R_FACT22_Msk /*!< Filter 22 Active */ |
6245 | #define CAN_FA1R_FACT23_Pos (23U) |
||
9 | mjames | 6246 | #define CAN_FA1R_FACT23_Msk (0x1UL << CAN_FA1R_FACT23_Pos) /*!< 0x00800000 */ |
2 | mjames | 6247 | #define CAN_FA1R_FACT23 CAN_FA1R_FACT23_Msk /*!< Filter 23 Active */ |
6248 | #define CAN_FA1R_FACT24_Pos (24U) |
||
9 | mjames | 6249 | #define CAN_FA1R_FACT24_Msk (0x1UL << CAN_FA1R_FACT24_Pos) /*!< 0x01000000 */ |
2 | mjames | 6250 | #define CAN_FA1R_FACT24 CAN_FA1R_FACT24_Msk /*!< Filter 24 Active */ |
6251 | #define CAN_FA1R_FACT25_Pos (25U) |
||
9 | mjames | 6252 | #define CAN_FA1R_FACT25_Msk (0x1UL << CAN_FA1R_FACT25_Pos) /*!< 0x02000000 */ |
2 | mjames | 6253 | #define CAN_FA1R_FACT25 CAN_FA1R_FACT25_Msk /*!< Filter 25 Active */ |
6254 | #define CAN_FA1R_FACT26_Pos (26U) |
||
9 | mjames | 6255 | #define CAN_FA1R_FACT26_Msk (0x1UL << CAN_FA1R_FACT26_Pos) /*!< 0x04000000 */ |
2 | mjames | 6256 | #define CAN_FA1R_FACT26 CAN_FA1R_FACT26_Msk /*!< Filter 26 Active */ |
6257 | #define CAN_FA1R_FACT27_Pos (27U) |
||
9 | mjames | 6258 | #define CAN_FA1R_FACT27_Msk (0x1UL << CAN_FA1R_FACT27_Pos) /*!< 0x08000000 */ |
2 | mjames | 6259 | #define CAN_FA1R_FACT27 CAN_FA1R_FACT27_Msk /*!< Filter 27 Active */ |
6260 | |||
6261 | /******************* Bit definition for CAN_F0R1 register *******************/ |
||
6262 | #define CAN_F0R1_FB0_Pos (0U) |
||
9 | mjames | 6263 | #define CAN_F0R1_FB0_Msk (0x1UL << CAN_F0R1_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 6264 | #define CAN_F0R1_FB0 CAN_F0R1_FB0_Msk /*!< Filter bit 0 */ |
6265 | #define CAN_F0R1_FB1_Pos (1U) |
||
9 | mjames | 6266 | #define CAN_F0R1_FB1_Msk (0x1UL << CAN_F0R1_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 6267 | #define CAN_F0R1_FB1 CAN_F0R1_FB1_Msk /*!< Filter bit 1 */ |
6268 | #define CAN_F0R1_FB2_Pos (2U) |
||
9 | mjames | 6269 | #define CAN_F0R1_FB2_Msk (0x1UL << CAN_F0R1_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 6270 | #define CAN_F0R1_FB2 CAN_F0R1_FB2_Msk /*!< Filter bit 2 */ |
6271 | #define CAN_F0R1_FB3_Pos (3U) |
||
9 | mjames | 6272 | #define CAN_F0R1_FB3_Msk (0x1UL << CAN_F0R1_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 6273 | #define CAN_F0R1_FB3 CAN_F0R1_FB3_Msk /*!< Filter bit 3 */ |
6274 | #define CAN_F0R1_FB4_Pos (4U) |
||
9 | mjames | 6275 | #define CAN_F0R1_FB4_Msk (0x1UL << CAN_F0R1_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 6276 | #define CAN_F0R1_FB4 CAN_F0R1_FB4_Msk /*!< Filter bit 4 */ |
6277 | #define CAN_F0R1_FB5_Pos (5U) |
||
9 | mjames | 6278 | #define CAN_F0R1_FB5_Msk (0x1UL << CAN_F0R1_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 6279 | #define CAN_F0R1_FB5 CAN_F0R1_FB5_Msk /*!< Filter bit 5 */ |
6280 | #define CAN_F0R1_FB6_Pos (6U) |
||
9 | mjames | 6281 | #define CAN_F0R1_FB6_Msk (0x1UL << CAN_F0R1_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 6282 | #define CAN_F0R1_FB6 CAN_F0R1_FB6_Msk /*!< Filter bit 6 */ |
6283 | #define CAN_F0R1_FB7_Pos (7U) |
||
9 | mjames | 6284 | #define CAN_F0R1_FB7_Msk (0x1UL << CAN_F0R1_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 6285 | #define CAN_F0R1_FB7 CAN_F0R1_FB7_Msk /*!< Filter bit 7 */ |
6286 | #define CAN_F0R1_FB8_Pos (8U) |
||
9 | mjames | 6287 | #define CAN_F0R1_FB8_Msk (0x1UL << CAN_F0R1_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 6288 | #define CAN_F0R1_FB8 CAN_F0R1_FB8_Msk /*!< Filter bit 8 */ |
6289 | #define CAN_F0R1_FB9_Pos (9U) |
||
9 | mjames | 6290 | #define CAN_F0R1_FB9_Msk (0x1UL << CAN_F0R1_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 6291 | #define CAN_F0R1_FB9 CAN_F0R1_FB9_Msk /*!< Filter bit 9 */ |
6292 | #define CAN_F0R1_FB10_Pos (10U) |
||
9 | mjames | 6293 | #define CAN_F0R1_FB10_Msk (0x1UL << CAN_F0R1_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 6294 | #define CAN_F0R1_FB10 CAN_F0R1_FB10_Msk /*!< Filter bit 10 */ |
6295 | #define CAN_F0R1_FB11_Pos (11U) |
||
9 | mjames | 6296 | #define CAN_F0R1_FB11_Msk (0x1UL << CAN_F0R1_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 6297 | #define CAN_F0R1_FB11 CAN_F0R1_FB11_Msk /*!< Filter bit 11 */ |
6298 | #define CAN_F0R1_FB12_Pos (12U) |
||
9 | mjames | 6299 | #define CAN_F0R1_FB12_Msk (0x1UL << CAN_F0R1_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 6300 | #define CAN_F0R1_FB12 CAN_F0R1_FB12_Msk /*!< Filter bit 12 */ |
6301 | #define CAN_F0R1_FB13_Pos (13U) |
||
9 | mjames | 6302 | #define CAN_F0R1_FB13_Msk (0x1UL << CAN_F0R1_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 6303 | #define CAN_F0R1_FB13 CAN_F0R1_FB13_Msk /*!< Filter bit 13 */ |
6304 | #define CAN_F0R1_FB14_Pos (14U) |
||
9 | mjames | 6305 | #define CAN_F0R1_FB14_Msk (0x1UL << CAN_F0R1_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 6306 | #define CAN_F0R1_FB14 CAN_F0R1_FB14_Msk /*!< Filter bit 14 */ |
6307 | #define CAN_F0R1_FB15_Pos (15U) |
||
9 | mjames | 6308 | #define CAN_F0R1_FB15_Msk (0x1UL << CAN_F0R1_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 6309 | #define CAN_F0R1_FB15 CAN_F0R1_FB15_Msk /*!< Filter bit 15 */ |
6310 | #define CAN_F0R1_FB16_Pos (16U) |
||
9 | mjames | 6311 | #define CAN_F0R1_FB16_Msk (0x1UL << CAN_F0R1_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 6312 | #define CAN_F0R1_FB16 CAN_F0R1_FB16_Msk /*!< Filter bit 16 */ |
6313 | #define CAN_F0R1_FB17_Pos (17U) |
||
9 | mjames | 6314 | #define CAN_F0R1_FB17_Msk (0x1UL << CAN_F0R1_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 6315 | #define CAN_F0R1_FB17 CAN_F0R1_FB17_Msk /*!< Filter bit 17 */ |
6316 | #define CAN_F0R1_FB18_Pos (18U) |
||
9 | mjames | 6317 | #define CAN_F0R1_FB18_Msk (0x1UL << CAN_F0R1_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 6318 | #define CAN_F0R1_FB18 CAN_F0R1_FB18_Msk /*!< Filter bit 18 */ |
6319 | #define CAN_F0R1_FB19_Pos (19U) |
||
9 | mjames | 6320 | #define CAN_F0R1_FB19_Msk (0x1UL << CAN_F0R1_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 6321 | #define CAN_F0R1_FB19 CAN_F0R1_FB19_Msk /*!< Filter bit 19 */ |
6322 | #define CAN_F0R1_FB20_Pos (20U) |
||
9 | mjames | 6323 | #define CAN_F0R1_FB20_Msk (0x1UL << CAN_F0R1_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 6324 | #define CAN_F0R1_FB20 CAN_F0R1_FB20_Msk /*!< Filter bit 20 */ |
6325 | #define CAN_F0R1_FB21_Pos (21U) |
||
9 | mjames | 6326 | #define CAN_F0R1_FB21_Msk (0x1UL << CAN_F0R1_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 6327 | #define CAN_F0R1_FB21 CAN_F0R1_FB21_Msk /*!< Filter bit 21 */ |
6328 | #define CAN_F0R1_FB22_Pos (22U) |
||
9 | mjames | 6329 | #define CAN_F0R1_FB22_Msk (0x1UL << CAN_F0R1_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 6330 | #define CAN_F0R1_FB22 CAN_F0R1_FB22_Msk /*!< Filter bit 22 */ |
6331 | #define CAN_F0R1_FB23_Pos (23U) |
||
9 | mjames | 6332 | #define CAN_F0R1_FB23_Msk (0x1UL << CAN_F0R1_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 6333 | #define CAN_F0R1_FB23 CAN_F0R1_FB23_Msk /*!< Filter bit 23 */ |
6334 | #define CAN_F0R1_FB24_Pos (24U) |
||
9 | mjames | 6335 | #define CAN_F0R1_FB24_Msk (0x1UL << CAN_F0R1_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 6336 | #define CAN_F0R1_FB24 CAN_F0R1_FB24_Msk /*!< Filter bit 24 */ |
6337 | #define CAN_F0R1_FB25_Pos (25U) |
||
9 | mjames | 6338 | #define CAN_F0R1_FB25_Msk (0x1UL << CAN_F0R1_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 6339 | #define CAN_F0R1_FB25 CAN_F0R1_FB25_Msk /*!< Filter bit 25 */ |
6340 | #define CAN_F0R1_FB26_Pos (26U) |
||
9 | mjames | 6341 | #define CAN_F0R1_FB26_Msk (0x1UL << CAN_F0R1_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 6342 | #define CAN_F0R1_FB26 CAN_F0R1_FB26_Msk /*!< Filter bit 26 */ |
6343 | #define CAN_F0R1_FB27_Pos (27U) |
||
9 | mjames | 6344 | #define CAN_F0R1_FB27_Msk (0x1UL << CAN_F0R1_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 6345 | #define CAN_F0R1_FB27 CAN_F0R1_FB27_Msk /*!< Filter bit 27 */ |
6346 | #define CAN_F0R1_FB28_Pos (28U) |
||
9 | mjames | 6347 | #define CAN_F0R1_FB28_Msk (0x1UL << CAN_F0R1_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 6348 | #define CAN_F0R1_FB28 CAN_F0R1_FB28_Msk /*!< Filter bit 28 */ |
6349 | #define CAN_F0R1_FB29_Pos (29U) |
||
9 | mjames | 6350 | #define CAN_F0R1_FB29_Msk (0x1UL << CAN_F0R1_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 6351 | #define CAN_F0R1_FB29 CAN_F0R1_FB29_Msk /*!< Filter bit 29 */ |
6352 | #define CAN_F0R1_FB30_Pos (30U) |
||
9 | mjames | 6353 | #define CAN_F0R1_FB30_Msk (0x1UL << CAN_F0R1_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 6354 | #define CAN_F0R1_FB30 CAN_F0R1_FB30_Msk /*!< Filter bit 30 */ |
6355 | #define CAN_F0R1_FB31_Pos (31U) |
||
9 | mjames | 6356 | #define CAN_F0R1_FB31_Msk (0x1UL << CAN_F0R1_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 6357 | #define CAN_F0R1_FB31 CAN_F0R1_FB31_Msk /*!< Filter bit 31 */ |
6358 | |||
6359 | /******************* Bit definition for CAN_F1R1 register *******************/ |
||
6360 | #define CAN_F1R1_FB0_Pos (0U) |
||
9 | mjames | 6361 | #define CAN_F1R1_FB0_Msk (0x1UL << CAN_F1R1_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 6362 | #define CAN_F1R1_FB0 CAN_F1R1_FB0_Msk /*!< Filter bit 0 */ |
6363 | #define CAN_F1R1_FB1_Pos (1U) |
||
9 | mjames | 6364 | #define CAN_F1R1_FB1_Msk (0x1UL << CAN_F1R1_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 6365 | #define CAN_F1R1_FB1 CAN_F1R1_FB1_Msk /*!< Filter bit 1 */ |
6366 | #define CAN_F1R1_FB2_Pos (2U) |
||
9 | mjames | 6367 | #define CAN_F1R1_FB2_Msk (0x1UL << CAN_F1R1_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 6368 | #define CAN_F1R1_FB2 CAN_F1R1_FB2_Msk /*!< Filter bit 2 */ |
6369 | #define CAN_F1R1_FB3_Pos (3U) |
||
9 | mjames | 6370 | #define CAN_F1R1_FB3_Msk (0x1UL << CAN_F1R1_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 6371 | #define CAN_F1R1_FB3 CAN_F1R1_FB3_Msk /*!< Filter bit 3 */ |
6372 | #define CAN_F1R1_FB4_Pos (4U) |
||
9 | mjames | 6373 | #define CAN_F1R1_FB4_Msk (0x1UL << CAN_F1R1_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 6374 | #define CAN_F1R1_FB4 CAN_F1R1_FB4_Msk /*!< Filter bit 4 */ |
6375 | #define CAN_F1R1_FB5_Pos (5U) |
||
9 | mjames | 6376 | #define CAN_F1R1_FB5_Msk (0x1UL << CAN_F1R1_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 6377 | #define CAN_F1R1_FB5 CAN_F1R1_FB5_Msk /*!< Filter bit 5 */ |
6378 | #define CAN_F1R1_FB6_Pos (6U) |
||
9 | mjames | 6379 | #define CAN_F1R1_FB6_Msk (0x1UL << CAN_F1R1_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 6380 | #define CAN_F1R1_FB6 CAN_F1R1_FB6_Msk /*!< Filter bit 6 */ |
6381 | #define CAN_F1R1_FB7_Pos (7U) |
||
9 | mjames | 6382 | #define CAN_F1R1_FB7_Msk (0x1UL << CAN_F1R1_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 6383 | #define CAN_F1R1_FB7 CAN_F1R1_FB7_Msk /*!< Filter bit 7 */ |
6384 | #define CAN_F1R1_FB8_Pos (8U) |
||
9 | mjames | 6385 | #define CAN_F1R1_FB8_Msk (0x1UL << CAN_F1R1_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 6386 | #define CAN_F1R1_FB8 CAN_F1R1_FB8_Msk /*!< Filter bit 8 */ |
6387 | #define CAN_F1R1_FB9_Pos (9U) |
||
9 | mjames | 6388 | #define CAN_F1R1_FB9_Msk (0x1UL << CAN_F1R1_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 6389 | #define CAN_F1R1_FB9 CAN_F1R1_FB9_Msk /*!< Filter bit 9 */ |
6390 | #define CAN_F1R1_FB10_Pos (10U) |
||
9 | mjames | 6391 | #define CAN_F1R1_FB10_Msk (0x1UL << CAN_F1R1_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 6392 | #define CAN_F1R1_FB10 CAN_F1R1_FB10_Msk /*!< Filter bit 10 */ |
6393 | #define CAN_F1R1_FB11_Pos (11U) |
||
9 | mjames | 6394 | #define CAN_F1R1_FB11_Msk (0x1UL << CAN_F1R1_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 6395 | #define CAN_F1R1_FB11 CAN_F1R1_FB11_Msk /*!< Filter bit 11 */ |
6396 | #define CAN_F1R1_FB12_Pos (12U) |
||
9 | mjames | 6397 | #define CAN_F1R1_FB12_Msk (0x1UL << CAN_F1R1_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 6398 | #define CAN_F1R1_FB12 CAN_F1R1_FB12_Msk /*!< Filter bit 12 */ |
6399 | #define CAN_F1R1_FB13_Pos (13U) |
||
9 | mjames | 6400 | #define CAN_F1R1_FB13_Msk (0x1UL << CAN_F1R1_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 6401 | #define CAN_F1R1_FB13 CAN_F1R1_FB13_Msk /*!< Filter bit 13 */ |
6402 | #define CAN_F1R1_FB14_Pos (14U) |
||
9 | mjames | 6403 | #define CAN_F1R1_FB14_Msk (0x1UL << CAN_F1R1_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 6404 | #define CAN_F1R1_FB14 CAN_F1R1_FB14_Msk /*!< Filter bit 14 */ |
6405 | #define CAN_F1R1_FB15_Pos (15U) |
||
9 | mjames | 6406 | #define CAN_F1R1_FB15_Msk (0x1UL << CAN_F1R1_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 6407 | #define CAN_F1R1_FB15 CAN_F1R1_FB15_Msk /*!< Filter bit 15 */ |
6408 | #define CAN_F1R1_FB16_Pos (16U) |
||
9 | mjames | 6409 | #define CAN_F1R1_FB16_Msk (0x1UL << CAN_F1R1_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 6410 | #define CAN_F1R1_FB16 CAN_F1R1_FB16_Msk /*!< Filter bit 16 */ |
6411 | #define CAN_F1R1_FB17_Pos (17U) |
||
9 | mjames | 6412 | #define CAN_F1R1_FB17_Msk (0x1UL << CAN_F1R1_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 6413 | #define CAN_F1R1_FB17 CAN_F1R1_FB17_Msk /*!< Filter bit 17 */ |
6414 | #define CAN_F1R1_FB18_Pos (18U) |
||
9 | mjames | 6415 | #define CAN_F1R1_FB18_Msk (0x1UL << CAN_F1R1_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 6416 | #define CAN_F1R1_FB18 CAN_F1R1_FB18_Msk /*!< Filter bit 18 */ |
6417 | #define CAN_F1R1_FB19_Pos (19U) |
||
9 | mjames | 6418 | #define CAN_F1R1_FB19_Msk (0x1UL << CAN_F1R1_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 6419 | #define CAN_F1R1_FB19 CAN_F1R1_FB19_Msk /*!< Filter bit 19 */ |
6420 | #define CAN_F1R1_FB20_Pos (20U) |
||
9 | mjames | 6421 | #define CAN_F1R1_FB20_Msk (0x1UL << CAN_F1R1_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 6422 | #define CAN_F1R1_FB20 CAN_F1R1_FB20_Msk /*!< Filter bit 20 */ |
6423 | #define CAN_F1R1_FB21_Pos (21U) |
||
9 | mjames | 6424 | #define CAN_F1R1_FB21_Msk (0x1UL << CAN_F1R1_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 6425 | #define CAN_F1R1_FB21 CAN_F1R1_FB21_Msk /*!< Filter bit 21 */ |
6426 | #define CAN_F1R1_FB22_Pos (22U) |
||
9 | mjames | 6427 | #define CAN_F1R1_FB22_Msk (0x1UL << CAN_F1R1_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 6428 | #define CAN_F1R1_FB22 CAN_F1R1_FB22_Msk /*!< Filter bit 22 */ |
6429 | #define CAN_F1R1_FB23_Pos (23U) |
||
9 | mjames | 6430 | #define CAN_F1R1_FB23_Msk (0x1UL << CAN_F1R1_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 6431 | #define CAN_F1R1_FB23 CAN_F1R1_FB23_Msk /*!< Filter bit 23 */ |
6432 | #define CAN_F1R1_FB24_Pos (24U) |
||
9 | mjames | 6433 | #define CAN_F1R1_FB24_Msk (0x1UL << CAN_F1R1_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 6434 | #define CAN_F1R1_FB24 CAN_F1R1_FB24_Msk /*!< Filter bit 24 */ |
6435 | #define CAN_F1R1_FB25_Pos (25U) |
||
9 | mjames | 6436 | #define CAN_F1R1_FB25_Msk (0x1UL << CAN_F1R1_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 6437 | #define CAN_F1R1_FB25 CAN_F1R1_FB25_Msk /*!< Filter bit 25 */ |
6438 | #define CAN_F1R1_FB26_Pos (26U) |
||
9 | mjames | 6439 | #define CAN_F1R1_FB26_Msk (0x1UL << CAN_F1R1_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 6440 | #define CAN_F1R1_FB26 CAN_F1R1_FB26_Msk /*!< Filter bit 26 */ |
6441 | #define CAN_F1R1_FB27_Pos (27U) |
||
9 | mjames | 6442 | #define CAN_F1R1_FB27_Msk (0x1UL << CAN_F1R1_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 6443 | #define CAN_F1R1_FB27 CAN_F1R1_FB27_Msk /*!< Filter bit 27 */ |
6444 | #define CAN_F1R1_FB28_Pos (28U) |
||
9 | mjames | 6445 | #define CAN_F1R1_FB28_Msk (0x1UL << CAN_F1R1_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 6446 | #define CAN_F1R1_FB28 CAN_F1R1_FB28_Msk /*!< Filter bit 28 */ |
6447 | #define CAN_F1R1_FB29_Pos (29U) |
||
9 | mjames | 6448 | #define CAN_F1R1_FB29_Msk (0x1UL << CAN_F1R1_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 6449 | #define CAN_F1R1_FB29 CAN_F1R1_FB29_Msk /*!< Filter bit 29 */ |
6450 | #define CAN_F1R1_FB30_Pos (30U) |
||
9 | mjames | 6451 | #define CAN_F1R1_FB30_Msk (0x1UL << CAN_F1R1_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 6452 | #define CAN_F1R1_FB30 CAN_F1R1_FB30_Msk /*!< Filter bit 30 */ |
6453 | #define CAN_F1R1_FB31_Pos (31U) |
||
9 | mjames | 6454 | #define CAN_F1R1_FB31_Msk (0x1UL << CAN_F1R1_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 6455 | #define CAN_F1R1_FB31 CAN_F1R1_FB31_Msk /*!< Filter bit 31 */ |
6456 | |||
6457 | /******************* Bit definition for CAN_F2R1 register *******************/ |
||
6458 | #define CAN_F2R1_FB0_Pos (0U) |
||
9 | mjames | 6459 | #define CAN_F2R1_FB0_Msk (0x1UL << CAN_F2R1_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 6460 | #define CAN_F2R1_FB0 CAN_F2R1_FB0_Msk /*!< Filter bit 0 */ |
6461 | #define CAN_F2R1_FB1_Pos (1U) |
||
9 | mjames | 6462 | #define CAN_F2R1_FB1_Msk (0x1UL << CAN_F2R1_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 6463 | #define CAN_F2R1_FB1 CAN_F2R1_FB1_Msk /*!< Filter bit 1 */ |
6464 | #define CAN_F2R1_FB2_Pos (2U) |
||
9 | mjames | 6465 | #define CAN_F2R1_FB2_Msk (0x1UL << CAN_F2R1_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 6466 | #define CAN_F2R1_FB2 CAN_F2R1_FB2_Msk /*!< Filter bit 2 */ |
6467 | #define CAN_F2R1_FB3_Pos (3U) |
||
9 | mjames | 6468 | #define CAN_F2R1_FB3_Msk (0x1UL << CAN_F2R1_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 6469 | #define CAN_F2R1_FB3 CAN_F2R1_FB3_Msk /*!< Filter bit 3 */ |
6470 | #define CAN_F2R1_FB4_Pos (4U) |
||
9 | mjames | 6471 | #define CAN_F2R1_FB4_Msk (0x1UL << CAN_F2R1_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 6472 | #define CAN_F2R1_FB4 CAN_F2R1_FB4_Msk /*!< Filter bit 4 */ |
6473 | #define CAN_F2R1_FB5_Pos (5U) |
||
9 | mjames | 6474 | #define CAN_F2R1_FB5_Msk (0x1UL << CAN_F2R1_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 6475 | #define CAN_F2R1_FB5 CAN_F2R1_FB5_Msk /*!< Filter bit 5 */ |
6476 | #define CAN_F2R1_FB6_Pos (6U) |
||
9 | mjames | 6477 | #define CAN_F2R1_FB6_Msk (0x1UL << CAN_F2R1_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 6478 | #define CAN_F2R1_FB6 CAN_F2R1_FB6_Msk /*!< Filter bit 6 */ |
6479 | #define CAN_F2R1_FB7_Pos (7U) |
||
9 | mjames | 6480 | #define CAN_F2R1_FB7_Msk (0x1UL << CAN_F2R1_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 6481 | #define CAN_F2R1_FB7 CAN_F2R1_FB7_Msk /*!< Filter bit 7 */ |
6482 | #define CAN_F2R1_FB8_Pos (8U) |
||
9 | mjames | 6483 | #define CAN_F2R1_FB8_Msk (0x1UL << CAN_F2R1_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 6484 | #define CAN_F2R1_FB8 CAN_F2R1_FB8_Msk /*!< Filter bit 8 */ |
6485 | #define CAN_F2R1_FB9_Pos (9U) |
||
9 | mjames | 6486 | #define CAN_F2R1_FB9_Msk (0x1UL << CAN_F2R1_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 6487 | #define CAN_F2R1_FB9 CAN_F2R1_FB9_Msk /*!< Filter bit 9 */ |
6488 | #define CAN_F2R1_FB10_Pos (10U) |
||
9 | mjames | 6489 | #define CAN_F2R1_FB10_Msk (0x1UL << CAN_F2R1_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 6490 | #define CAN_F2R1_FB10 CAN_F2R1_FB10_Msk /*!< Filter bit 10 */ |
6491 | #define CAN_F2R1_FB11_Pos (11U) |
||
9 | mjames | 6492 | #define CAN_F2R1_FB11_Msk (0x1UL << CAN_F2R1_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 6493 | #define CAN_F2R1_FB11 CAN_F2R1_FB11_Msk /*!< Filter bit 11 */ |
6494 | #define CAN_F2R1_FB12_Pos (12U) |
||
9 | mjames | 6495 | #define CAN_F2R1_FB12_Msk (0x1UL << CAN_F2R1_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 6496 | #define CAN_F2R1_FB12 CAN_F2R1_FB12_Msk /*!< Filter bit 12 */ |
6497 | #define CAN_F2R1_FB13_Pos (13U) |
||
9 | mjames | 6498 | #define CAN_F2R1_FB13_Msk (0x1UL << CAN_F2R1_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 6499 | #define CAN_F2R1_FB13 CAN_F2R1_FB13_Msk /*!< Filter bit 13 */ |
6500 | #define CAN_F2R1_FB14_Pos (14U) |
||
9 | mjames | 6501 | #define CAN_F2R1_FB14_Msk (0x1UL << CAN_F2R1_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 6502 | #define CAN_F2R1_FB14 CAN_F2R1_FB14_Msk /*!< Filter bit 14 */ |
6503 | #define CAN_F2R1_FB15_Pos (15U) |
||
9 | mjames | 6504 | #define CAN_F2R1_FB15_Msk (0x1UL << CAN_F2R1_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 6505 | #define CAN_F2R1_FB15 CAN_F2R1_FB15_Msk /*!< Filter bit 15 */ |
6506 | #define CAN_F2R1_FB16_Pos (16U) |
||
9 | mjames | 6507 | #define CAN_F2R1_FB16_Msk (0x1UL << CAN_F2R1_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 6508 | #define CAN_F2R1_FB16 CAN_F2R1_FB16_Msk /*!< Filter bit 16 */ |
6509 | #define CAN_F2R1_FB17_Pos (17U) |
||
9 | mjames | 6510 | #define CAN_F2R1_FB17_Msk (0x1UL << CAN_F2R1_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 6511 | #define CAN_F2R1_FB17 CAN_F2R1_FB17_Msk /*!< Filter bit 17 */ |
6512 | #define CAN_F2R1_FB18_Pos (18U) |
||
9 | mjames | 6513 | #define CAN_F2R1_FB18_Msk (0x1UL << CAN_F2R1_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 6514 | #define CAN_F2R1_FB18 CAN_F2R1_FB18_Msk /*!< Filter bit 18 */ |
6515 | #define CAN_F2R1_FB19_Pos (19U) |
||
9 | mjames | 6516 | #define CAN_F2R1_FB19_Msk (0x1UL << CAN_F2R1_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 6517 | #define CAN_F2R1_FB19 CAN_F2R1_FB19_Msk /*!< Filter bit 19 */ |
6518 | #define CAN_F2R1_FB20_Pos (20U) |
||
9 | mjames | 6519 | #define CAN_F2R1_FB20_Msk (0x1UL << CAN_F2R1_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 6520 | #define CAN_F2R1_FB20 CAN_F2R1_FB20_Msk /*!< Filter bit 20 */ |
6521 | #define CAN_F2R1_FB21_Pos (21U) |
||
9 | mjames | 6522 | #define CAN_F2R1_FB21_Msk (0x1UL << CAN_F2R1_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 6523 | #define CAN_F2R1_FB21 CAN_F2R1_FB21_Msk /*!< Filter bit 21 */ |
6524 | #define CAN_F2R1_FB22_Pos (22U) |
||
9 | mjames | 6525 | #define CAN_F2R1_FB22_Msk (0x1UL << CAN_F2R1_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 6526 | #define CAN_F2R1_FB22 CAN_F2R1_FB22_Msk /*!< Filter bit 22 */ |
6527 | #define CAN_F2R1_FB23_Pos (23U) |
||
9 | mjames | 6528 | #define CAN_F2R1_FB23_Msk (0x1UL << CAN_F2R1_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 6529 | #define CAN_F2R1_FB23 CAN_F2R1_FB23_Msk /*!< Filter bit 23 */ |
6530 | #define CAN_F2R1_FB24_Pos (24U) |
||
9 | mjames | 6531 | #define CAN_F2R1_FB24_Msk (0x1UL << CAN_F2R1_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 6532 | #define CAN_F2R1_FB24 CAN_F2R1_FB24_Msk /*!< Filter bit 24 */ |
6533 | #define CAN_F2R1_FB25_Pos (25U) |
||
9 | mjames | 6534 | #define CAN_F2R1_FB25_Msk (0x1UL << CAN_F2R1_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 6535 | #define CAN_F2R1_FB25 CAN_F2R1_FB25_Msk /*!< Filter bit 25 */ |
6536 | #define CAN_F2R1_FB26_Pos (26U) |
||
9 | mjames | 6537 | #define CAN_F2R1_FB26_Msk (0x1UL << CAN_F2R1_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 6538 | #define CAN_F2R1_FB26 CAN_F2R1_FB26_Msk /*!< Filter bit 26 */ |
6539 | #define CAN_F2R1_FB27_Pos (27U) |
||
9 | mjames | 6540 | #define CAN_F2R1_FB27_Msk (0x1UL << CAN_F2R1_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 6541 | #define CAN_F2R1_FB27 CAN_F2R1_FB27_Msk /*!< Filter bit 27 */ |
6542 | #define CAN_F2R1_FB28_Pos (28U) |
||
9 | mjames | 6543 | #define CAN_F2R1_FB28_Msk (0x1UL << CAN_F2R1_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 6544 | #define CAN_F2R1_FB28 CAN_F2R1_FB28_Msk /*!< Filter bit 28 */ |
6545 | #define CAN_F2R1_FB29_Pos (29U) |
||
9 | mjames | 6546 | #define CAN_F2R1_FB29_Msk (0x1UL << CAN_F2R1_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 6547 | #define CAN_F2R1_FB29 CAN_F2R1_FB29_Msk /*!< Filter bit 29 */ |
6548 | #define CAN_F2R1_FB30_Pos (30U) |
||
9 | mjames | 6549 | #define CAN_F2R1_FB30_Msk (0x1UL << CAN_F2R1_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 6550 | #define CAN_F2R1_FB30 CAN_F2R1_FB30_Msk /*!< Filter bit 30 */ |
6551 | #define CAN_F2R1_FB31_Pos (31U) |
||
9 | mjames | 6552 | #define CAN_F2R1_FB31_Msk (0x1UL << CAN_F2R1_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 6553 | #define CAN_F2R1_FB31 CAN_F2R1_FB31_Msk /*!< Filter bit 31 */ |
6554 | |||
6555 | /******************* Bit definition for CAN_F3R1 register *******************/ |
||
6556 | #define CAN_F3R1_FB0_Pos (0U) |
||
9 | mjames | 6557 | #define CAN_F3R1_FB0_Msk (0x1UL << CAN_F3R1_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 6558 | #define CAN_F3R1_FB0 CAN_F3R1_FB0_Msk /*!< Filter bit 0 */ |
6559 | #define CAN_F3R1_FB1_Pos (1U) |
||
9 | mjames | 6560 | #define CAN_F3R1_FB1_Msk (0x1UL << CAN_F3R1_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 6561 | #define CAN_F3R1_FB1 CAN_F3R1_FB1_Msk /*!< Filter bit 1 */ |
6562 | #define CAN_F3R1_FB2_Pos (2U) |
||
9 | mjames | 6563 | #define CAN_F3R1_FB2_Msk (0x1UL << CAN_F3R1_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 6564 | #define CAN_F3R1_FB2 CAN_F3R1_FB2_Msk /*!< Filter bit 2 */ |
6565 | #define CAN_F3R1_FB3_Pos (3U) |
||
9 | mjames | 6566 | #define CAN_F3R1_FB3_Msk (0x1UL << CAN_F3R1_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 6567 | #define CAN_F3R1_FB3 CAN_F3R1_FB3_Msk /*!< Filter bit 3 */ |
6568 | #define CAN_F3R1_FB4_Pos (4U) |
||
9 | mjames | 6569 | #define CAN_F3R1_FB4_Msk (0x1UL << CAN_F3R1_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 6570 | #define CAN_F3R1_FB4 CAN_F3R1_FB4_Msk /*!< Filter bit 4 */ |
6571 | #define CAN_F3R1_FB5_Pos (5U) |
||
9 | mjames | 6572 | #define CAN_F3R1_FB5_Msk (0x1UL << CAN_F3R1_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 6573 | #define CAN_F3R1_FB5 CAN_F3R1_FB5_Msk /*!< Filter bit 5 */ |
6574 | #define CAN_F3R1_FB6_Pos (6U) |
||
9 | mjames | 6575 | #define CAN_F3R1_FB6_Msk (0x1UL << CAN_F3R1_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 6576 | #define CAN_F3R1_FB6 CAN_F3R1_FB6_Msk /*!< Filter bit 6 */ |
6577 | #define CAN_F3R1_FB7_Pos (7U) |
||
9 | mjames | 6578 | #define CAN_F3R1_FB7_Msk (0x1UL << CAN_F3R1_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 6579 | #define CAN_F3R1_FB7 CAN_F3R1_FB7_Msk /*!< Filter bit 7 */ |
6580 | #define CAN_F3R1_FB8_Pos (8U) |
||
9 | mjames | 6581 | #define CAN_F3R1_FB8_Msk (0x1UL << CAN_F3R1_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 6582 | #define CAN_F3R1_FB8 CAN_F3R1_FB8_Msk /*!< Filter bit 8 */ |
6583 | #define CAN_F3R1_FB9_Pos (9U) |
||
9 | mjames | 6584 | #define CAN_F3R1_FB9_Msk (0x1UL << CAN_F3R1_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 6585 | #define CAN_F3R1_FB9 CAN_F3R1_FB9_Msk /*!< Filter bit 9 */ |
6586 | #define CAN_F3R1_FB10_Pos (10U) |
||
9 | mjames | 6587 | #define CAN_F3R1_FB10_Msk (0x1UL << CAN_F3R1_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 6588 | #define CAN_F3R1_FB10 CAN_F3R1_FB10_Msk /*!< Filter bit 10 */ |
6589 | #define CAN_F3R1_FB11_Pos (11U) |
||
9 | mjames | 6590 | #define CAN_F3R1_FB11_Msk (0x1UL << CAN_F3R1_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 6591 | #define CAN_F3R1_FB11 CAN_F3R1_FB11_Msk /*!< Filter bit 11 */ |
6592 | #define CAN_F3R1_FB12_Pos (12U) |
||
9 | mjames | 6593 | #define CAN_F3R1_FB12_Msk (0x1UL << CAN_F3R1_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 6594 | #define CAN_F3R1_FB12 CAN_F3R1_FB12_Msk /*!< Filter bit 12 */ |
6595 | #define CAN_F3R1_FB13_Pos (13U) |
||
9 | mjames | 6596 | #define CAN_F3R1_FB13_Msk (0x1UL << CAN_F3R1_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 6597 | #define CAN_F3R1_FB13 CAN_F3R1_FB13_Msk /*!< Filter bit 13 */ |
6598 | #define CAN_F3R1_FB14_Pos (14U) |
||
9 | mjames | 6599 | #define CAN_F3R1_FB14_Msk (0x1UL << CAN_F3R1_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 6600 | #define CAN_F3R1_FB14 CAN_F3R1_FB14_Msk /*!< Filter bit 14 */ |
6601 | #define CAN_F3R1_FB15_Pos (15U) |
||
9 | mjames | 6602 | #define CAN_F3R1_FB15_Msk (0x1UL << CAN_F3R1_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 6603 | #define CAN_F3R1_FB15 CAN_F3R1_FB15_Msk /*!< Filter bit 15 */ |
6604 | #define CAN_F3R1_FB16_Pos (16U) |
||
9 | mjames | 6605 | #define CAN_F3R1_FB16_Msk (0x1UL << CAN_F3R1_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 6606 | #define CAN_F3R1_FB16 CAN_F3R1_FB16_Msk /*!< Filter bit 16 */ |
6607 | #define CAN_F3R1_FB17_Pos (17U) |
||
9 | mjames | 6608 | #define CAN_F3R1_FB17_Msk (0x1UL << CAN_F3R1_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 6609 | #define CAN_F3R1_FB17 CAN_F3R1_FB17_Msk /*!< Filter bit 17 */ |
6610 | #define CAN_F3R1_FB18_Pos (18U) |
||
9 | mjames | 6611 | #define CAN_F3R1_FB18_Msk (0x1UL << CAN_F3R1_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 6612 | #define CAN_F3R1_FB18 CAN_F3R1_FB18_Msk /*!< Filter bit 18 */ |
6613 | #define CAN_F3R1_FB19_Pos (19U) |
||
9 | mjames | 6614 | #define CAN_F3R1_FB19_Msk (0x1UL << CAN_F3R1_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 6615 | #define CAN_F3R1_FB19 CAN_F3R1_FB19_Msk /*!< Filter bit 19 */ |
6616 | #define CAN_F3R1_FB20_Pos (20U) |
||
9 | mjames | 6617 | #define CAN_F3R1_FB20_Msk (0x1UL << CAN_F3R1_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 6618 | #define CAN_F3R1_FB20 CAN_F3R1_FB20_Msk /*!< Filter bit 20 */ |
6619 | #define CAN_F3R1_FB21_Pos (21U) |
||
9 | mjames | 6620 | #define CAN_F3R1_FB21_Msk (0x1UL << CAN_F3R1_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 6621 | #define CAN_F3R1_FB21 CAN_F3R1_FB21_Msk /*!< Filter bit 21 */ |
6622 | #define CAN_F3R1_FB22_Pos (22U) |
||
9 | mjames | 6623 | #define CAN_F3R1_FB22_Msk (0x1UL << CAN_F3R1_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 6624 | #define CAN_F3R1_FB22 CAN_F3R1_FB22_Msk /*!< Filter bit 22 */ |
6625 | #define CAN_F3R1_FB23_Pos (23U) |
||
9 | mjames | 6626 | #define CAN_F3R1_FB23_Msk (0x1UL << CAN_F3R1_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 6627 | #define CAN_F3R1_FB23 CAN_F3R1_FB23_Msk /*!< Filter bit 23 */ |
6628 | #define CAN_F3R1_FB24_Pos (24U) |
||
9 | mjames | 6629 | #define CAN_F3R1_FB24_Msk (0x1UL << CAN_F3R1_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 6630 | #define CAN_F3R1_FB24 CAN_F3R1_FB24_Msk /*!< Filter bit 24 */ |
6631 | #define CAN_F3R1_FB25_Pos (25U) |
||
9 | mjames | 6632 | #define CAN_F3R1_FB25_Msk (0x1UL << CAN_F3R1_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 6633 | #define CAN_F3R1_FB25 CAN_F3R1_FB25_Msk /*!< Filter bit 25 */ |
6634 | #define CAN_F3R1_FB26_Pos (26U) |
||
9 | mjames | 6635 | #define CAN_F3R1_FB26_Msk (0x1UL << CAN_F3R1_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 6636 | #define CAN_F3R1_FB26 CAN_F3R1_FB26_Msk /*!< Filter bit 26 */ |
6637 | #define CAN_F3R1_FB27_Pos (27U) |
||
9 | mjames | 6638 | #define CAN_F3R1_FB27_Msk (0x1UL << CAN_F3R1_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 6639 | #define CAN_F3R1_FB27 CAN_F3R1_FB27_Msk /*!< Filter bit 27 */ |
6640 | #define CAN_F3R1_FB28_Pos (28U) |
||
9 | mjames | 6641 | #define CAN_F3R1_FB28_Msk (0x1UL << CAN_F3R1_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 6642 | #define CAN_F3R1_FB28 CAN_F3R1_FB28_Msk /*!< Filter bit 28 */ |
6643 | #define CAN_F3R1_FB29_Pos (29U) |
||
9 | mjames | 6644 | #define CAN_F3R1_FB29_Msk (0x1UL << CAN_F3R1_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 6645 | #define CAN_F3R1_FB29 CAN_F3R1_FB29_Msk /*!< Filter bit 29 */ |
6646 | #define CAN_F3R1_FB30_Pos (30U) |
||
9 | mjames | 6647 | #define CAN_F3R1_FB30_Msk (0x1UL << CAN_F3R1_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 6648 | #define CAN_F3R1_FB30 CAN_F3R1_FB30_Msk /*!< Filter bit 30 */ |
6649 | #define CAN_F3R1_FB31_Pos (31U) |
||
9 | mjames | 6650 | #define CAN_F3R1_FB31_Msk (0x1UL << CAN_F3R1_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 6651 | #define CAN_F3R1_FB31 CAN_F3R1_FB31_Msk /*!< Filter bit 31 */ |
6652 | |||
6653 | /******************* Bit definition for CAN_F4R1 register *******************/ |
||
6654 | #define CAN_F4R1_FB0_Pos (0U) |
||
9 | mjames | 6655 | #define CAN_F4R1_FB0_Msk (0x1UL << CAN_F4R1_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 6656 | #define CAN_F4R1_FB0 CAN_F4R1_FB0_Msk /*!< Filter bit 0 */ |
6657 | #define CAN_F4R1_FB1_Pos (1U) |
||
9 | mjames | 6658 | #define CAN_F4R1_FB1_Msk (0x1UL << CAN_F4R1_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 6659 | #define CAN_F4R1_FB1 CAN_F4R1_FB1_Msk /*!< Filter bit 1 */ |
6660 | #define CAN_F4R1_FB2_Pos (2U) |
||
9 | mjames | 6661 | #define CAN_F4R1_FB2_Msk (0x1UL << CAN_F4R1_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 6662 | #define CAN_F4R1_FB2 CAN_F4R1_FB2_Msk /*!< Filter bit 2 */ |
6663 | #define CAN_F4R1_FB3_Pos (3U) |
||
9 | mjames | 6664 | #define CAN_F4R1_FB3_Msk (0x1UL << CAN_F4R1_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 6665 | #define CAN_F4R1_FB3 CAN_F4R1_FB3_Msk /*!< Filter bit 3 */ |
6666 | #define CAN_F4R1_FB4_Pos (4U) |
||
9 | mjames | 6667 | #define CAN_F4R1_FB4_Msk (0x1UL << CAN_F4R1_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 6668 | #define CAN_F4R1_FB4 CAN_F4R1_FB4_Msk /*!< Filter bit 4 */ |
6669 | #define CAN_F4R1_FB5_Pos (5U) |
||
9 | mjames | 6670 | #define CAN_F4R1_FB5_Msk (0x1UL << CAN_F4R1_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 6671 | #define CAN_F4R1_FB5 CAN_F4R1_FB5_Msk /*!< Filter bit 5 */ |
6672 | #define CAN_F4R1_FB6_Pos (6U) |
||
9 | mjames | 6673 | #define CAN_F4R1_FB6_Msk (0x1UL << CAN_F4R1_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 6674 | #define CAN_F4R1_FB6 CAN_F4R1_FB6_Msk /*!< Filter bit 6 */ |
6675 | #define CAN_F4R1_FB7_Pos (7U) |
||
9 | mjames | 6676 | #define CAN_F4R1_FB7_Msk (0x1UL << CAN_F4R1_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 6677 | #define CAN_F4R1_FB7 CAN_F4R1_FB7_Msk /*!< Filter bit 7 */ |
6678 | #define CAN_F4R1_FB8_Pos (8U) |
||
9 | mjames | 6679 | #define CAN_F4R1_FB8_Msk (0x1UL << CAN_F4R1_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 6680 | #define CAN_F4R1_FB8 CAN_F4R1_FB8_Msk /*!< Filter bit 8 */ |
6681 | #define CAN_F4R1_FB9_Pos (9U) |
||
9 | mjames | 6682 | #define CAN_F4R1_FB9_Msk (0x1UL << CAN_F4R1_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 6683 | #define CAN_F4R1_FB9 CAN_F4R1_FB9_Msk /*!< Filter bit 9 */ |
6684 | #define CAN_F4R1_FB10_Pos (10U) |
||
9 | mjames | 6685 | #define CAN_F4R1_FB10_Msk (0x1UL << CAN_F4R1_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 6686 | #define CAN_F4R1_FB10 CAN_F4R1_FB10_Msk /*!< Filter bit 10 */ |
6687 | #define CAN_F4R1_FB11_Pos (11U) |
||
9 | mjames | 6688 | #define CAN_F4R1_FB11_Msk (0x1UL << CAN_F4R1_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 6689 | #define CAN_F4R1_FB11 CAN_F4R1_FB11_Msk /*!< Filter bit 11 */ |
6690 | #define CAN_F4R1_FB12_Pos (12U) |
||
9 | mjames | 6691 | #define CAN_F4R1_FB12_Msk (0x1UL << CAN_F4R1_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 6692 | #define CAN_F4R1_FB12 CAN_F4R1_FB12_Msk /*!< Filter bit 12 */ |
6693 | #define CAN_F4R1_FB13_Pos (13U) |
||
9 | mjames | 6694 | #define CAN_F4R1_FB13_Msk (0x1UL << CAN_F4R1_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 6695 | #define CAN_F4R1_FB13 CAN_F4R1_FB13_Msk /*!< Filter bit 13 */ |
6696 | #define CAN_F4R1_FB14_Pos (14U) |
||
9 | mjames | 6697 | #define CAN_F4R1_FB14_Msk (0x1UL << CAN_F4R1_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 6698 | #define CAN_F4R1_FB14 CAN_F4R1_FB14_Msk /*!< Filter bit 14 */ |
6699 | #define CAN_F4R1_FB15_Pos (15U) |
||
9 | mjames | 6700 | #define CAN_F4R1_FB15_Msk (0x1UL << CAN_F4R1_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 6701 | #define CAN_F4R1_FB15 CAN_F4R1_FB15_Msk /*!< Filter bit 15 */ |
6702 | #define CAN_F4R1_FB16_Pos (16U) |
||
9 | mjames | 6703 | #define CAN_F4R1_FB16_Msk (0x1UL << CAN_F4R1_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 6704 | #define CAN_F4R1_FB16 CAN_F4R1_FB16_Msk /*!< Filter bit 16 */ |
6705 | #define CAN_F4R1_FB17_Pos (17U) |
||
9 | mjames | 6706 | #define CAN_F4R1_FB17_Msk (0x1UL << CAN_F4R1_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 6707 | #define CAN_F4R1_FB17 CAN_F4R1_FB17_Msk /*!< Filter bit 17 */ |
6708 | #define CAN_F4R1_FB18_Pos (18U) |
||
9 | mjames | 6709 | #define CAN_F4R1_FB18_Msk (0x1UL << CAN_F4R1_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 6710 | #define CAN_F4R1_FB18 CAN_F4R1_FB18_Msk /*!< Filter bit 18 */ |
6711 | #define CAN_F4R1_FB19_Pos (19U) |
||
9 | mjames | 6712 | #define CAN_F4R1_FB19_Msk (0x1UL << CAN_F4R1_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 6713 | #define CAN_F4R1_FB19 CAN_F4R1_FB19_Msk /*!< Filter bit 19 */ |
6714 | #define CAN_F4R1_FB20_Pos (20U) |
||
9 | mjames | 6715 | #define CAN_F4R1_FB20_Msk (0x1UL << CAN_F4R1_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 6716 | #define CAN_F4R1_FB20 CAN_F4R1_FB20_Msk /*!< Filter bit 20 */ |
6717 | #define CAN_F4R1_FB21_Pos (21U) |
||
9 | mjames | 6718 | #define CAN_F4R1_FB21_Msk (0x1UL << CAN_F4R1_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 6719 | #define CAN_F4R1_FB21 CAN_F4R1_FB21_Msk /*!< Filter bit 21 */ |
6720 | #define CAN_F4R1_FB22_Pos (22U) |
||
9 | mjames | 6721 | #define CAN_F4R1_FB22_Msk (0x1UL << CAN_F4R1_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 6722 | #define CAN_F4R1_FB22 CAN_F4R1_FB22_Msk /*!< Filter bit 22 */ |
6723 | #define CAN_F4R1_FB23_Pos (23U) |
||
9 | mjames | 6724 | #define CAN_F4R1_FB23_Msk (0x1UL << CAN_F4R1_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 6725 | #define CAN_F4R1_FB23 CAN_F4R1_FB23_Msk /*!< Filter bit 23 */ |
6726 | #define CAN_F4R1_FB24_Pos (24U) |
||
9 | mjames | 6727 | #define CAN_F4R1_FB24_Msk (0x1UL << CAN_F4R1_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 6728 | #define CAN_F4R1_FB24 CAN_F4R1_FB24_Msk /*!< Filter bit 24 */ |
6729 | #define CAN_F4R1_FB25_Pos (25U) |
||
9 | mjames | 6730 | #define CAN_F4R1_FB25_Msk (0x1UL << CAN_F4R1_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 6731 | #define CAN_F4R1_FB25 CAN_F4R1_FB25_Msk /*!< Filter bit 25 */ |
6732 | #define CAN_F4R1_FB26_Pos (26U) |
||
9 | mjames | 6733 | #define CAN_F4R1_FB26_Msk (0x1UL << CAN_F4R1_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 6734 | #define CAN_F4R1_FB26 CAN_F4R1_FB26_Msk /*!< Filter bit 26 */ |
6735 | #define CAN_F4R1_FB27_Pos (27U) |
||
9 | mjames | 6736 | #define CAN_F4R1_FB27_Msk (0x1UL << CAN_F4R1_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 6737 | #define CAN_F4R1_FB27 CAN_F4R1_FB27_Msk /*!< Filter bit 27 */ |
6738 | #define CAN_F4R1_FB28_Pos (28U) |
||
9 | mjames | 6739 | #define CAN_F4R1_FB28_Msk (0x1UL << CAN_F4R1_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 6740 | #define CAN_F4R1_FB28 CAN_F4R1_FB28_Msk /*!< Filter bit 28 */ |
6741 | #define CAN_F4R1_FB29_Pos (29U) |
||
9 | mjames | 6742 | #define CAN_F4R1_FB29_Msk (0x1UL << CAN_F4R1_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 6743 | #define CAN_F4R1_FB29 CAN_F4R1_FB29_Msk /*!< Filter bit 29 */ |
6744 | #define CAN_F4R1_FB30_Pos (30U) |
||
9 | mjames | 6745 | #define CAN_F4R1_FB30_Msk (0x1UL << CAN_F4R1_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 6746 | #define CAN_F4R1_FB30 CAN_F4R1_FB30_Msk /*!< Filter bit 30 */ |
6747 | #define CAN_F4R1_FB31_Pos (31U) |
||
9 | mjames | 6748 | #define CAN_F4R1_FB31_Msk (0x1UL << CAN_F4R1_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 6749 | #define CAN_F4R1_FB31 CAN_F4R1_FB31_Msk /*!< Filter bit 31 */ |
6750 | |||
6751 | /******************* Bit definition for CAN_F5R1 register *******************/ |
||
6752 | #define CAN_F5R1_FB0_Pos (0U) |
||
9 | mjames | 6753 | #define CAN_F5R1_FB0_Msk (0x1UL << CAN_F5R1_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 6754 | #define CAN_F5R1_FB0 CAN_F5R1_FB0_Msk /*!< Filter bit 0 */ |
6755 | #define CAN_F5R1_FB1_Pos (1U) |
||
9 | mjames | 6756 | #define CAN_F5R1_FB1_Msk (0x1UL << CAN_F5R1_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 6757 | #define CAN_F5R1_FB1 CAN_F5R1_FB1_Msk /*!< Filter bit 1 */ |
6758 | #define CAN_F5R1_FB2_Pos (2U) |
||
9 | mjames | 6759 | #define CAN_F5R1_FB2_Msk (0x1UL << CAN_F5R1_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 6760 | #define CAN_F5R1_FB2 CAN_F5R1_FB2_Msk /*!< Filter bit 2 */ |
6761 | #define CAN_F5R1_FB3_Pos (3U) |
||
9 | mjames | 6762 | #define CAN_F5R1_FB3_Msk (0x1UL << CAN_F5R1_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 6763 | #define CAN_F5R1_FB3 CAN_F5R1_FB3_Msk /*!< Filter bit 3 */ |
6764 | #define CAN_F5R1_FB4_Pos (4U) |
||
9 | mjames | 6765 | #define CAN_F5R1_FB4_Msk (0x1UL << CAN_F5R1_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 6766 | #define CAN_F5R1_FB4 CAN_F5R1_FB4_Msk /*!< Filter bit 4 */ |
6767 | #define CAN_F5R1_FB5_Pos (5U) |
||
9 | mjames | 6768 | #define CAN_F5R1_FB5_Msk (0x1UL << CAN_F5R1_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 6769 | #define CAN_F5R1_FB5 CAN_F5R1_FB5_Msk /*!< Filter bit 5 */ |
6770 | #define CAN_F5R1_FB6_Pos (6U) |
||
9 | mjames | 6771 | #define CAN_F5R1_FB6_Msk (0x1UL << CAN_F5R1_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 6772 | #define CAN_F5R1_FB6 CAN_F5R1_FB6_Msk /*!< Filter bit 6 */ |
6773 | #define CAN_F5R1_FB7_Pos (7U) |
||
9 | mjames | 6774 | #define CAN_F5R1_FB7_Msk (0x1UL << CAN_F5R1_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 6775 | #define CAN_F5R1_FB7 CAN_F5R1_FB7_Msk /*!< Filter bit 7 */ |
6776 | #define CAN_F5R1_FB8_Pos (8U) |
||
9 | mjames | 6777 | #define CAN_F5R1_FB8_Msk (0x1UL << CAN_F5R1_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 6778 | #define CAN_F5R1_FB8 CAN_F5R1_FB8_Msk /*!< Filter bit 8 */ |
6779 | #define CAN_F5R1_FB9_Pos (9U) |
||
9 | mjames | 6780 | #define CAN_F5R1_FB9_Msk (0x1UL << CAN_F5R1_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 6781 | #define CAN_F5R1_FB9 CAN_F5R1_FB9_Msk /*!< Filter bit 9 */ |
6782 | #define CAN_F5R1_FB10_Pos (10U) |
||
9 | mjames | 6783 | #define CAN_F5R1_FB10_Msk (0x1UL << CAN_F5R1_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 6784 | #define CAN_F5R1_FB10 CAN_F5R1_FB10_Msk /*!< Filter bit 10 */ |
6785 | #define CAN_F5R1_FB11_Pos (11U) |
||
9 | mjames | 6786 | #define CAN_F5R1_FB11_Msk (0x1UL << CAN_F5R1_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 6787 | #define CAN_F5R1_FB11 CAN_F5R1_FB11_Msk /*!< Filter bit 11 */ |
6788 | #define CAN_F5R1_FB12_Pos (12U) |
||
9 | mjames | 6789 | #define CAN_F5R1_FB12_Msk (0x1UL << CAN_F5R1_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 6790 | #define CAN_F5R1_FB12 CAN_F5R1_FB12_Msk /*!< Filter bit 12 */ |
6791 | #define CAN_F5R1_FB13_Pos (13U) |
||
9 | mjames | 6792 | #define CAN_F5R1_FB13_Msk (0x1UL << CAN_F5R1_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 6793 | #define CAN_F5R1_FB13 CAN_F5R1_FB13_Msk /*!< Filter bit 13 */ |
6794 | #define CAN_F5R1_FB14_Pos (14U) |
||
9 | mjames | 6795 | #define CAN_F5R1_FB14_Msk (0x1UL << CAN_F5R1_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 6796 | #define CAN_F5R1_FB14 CAN_F5R1_FB14_Msk /*!< Filter bit 14 */ |
6797 | #define CAN_F5R1_FB15_Pos (15U) |
||
9 | mjames | 6798 | #define CAN_F5R1_FB15_Msk (0x1UL << CAN_F5R1_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 6799 | #define CAN_F5R1_FB15 CAN_F5R1_FB15_Msk /*!< Filter bit 15 */ |
6800 | #define CAN_F5R1_FB16_Pos (16U) |
||
9 | mjames | 6801 | #define CAN_F5R1_FB16_Msk (0x1UL << CAN_F5R1_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 6802 | #define CAN_F5R1_FB16 CAN_F5R1_FB16_Msk /*!< Filter bit 16 */ |
6803 | #define CAN_F5R1_FB17_Pos (17U) |
||
9 | mjames | 6804 | #define CAN_F5R1_FB17_Msk (0x1UL << CAN_F5R1_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 6805 | #define CAN_F5R1_FB17 CAN_F5R1_FB17_Msk /*!< Filter bit 17 */ |
6806 | #define CAN_F5R1_FB18_Pos (18U) |
||
9 | mjames | 6807 | #define CAN_F5R1_FB18_Msk (0x1UL << CAN_F5R1_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 6808 | #define CAN_F5R1_FB18 CAN_F5R1_FB18_Msk /*!< Filter bit 18 */ |
6809 | #define CAN_F5R1_FB19_Pos (19U) |
||
9 | mjames | 6810 | #define CAN_F5R1_FB19_Msk (0x1UL << CAN_F5R1_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 6811 | #define CAN_F5R1_FB19 CAN_F5R1_FB19_Msk /*!< Filter bit 19 */ |
6812 | #define CAN_F5R1_FB20_Pos (20U) |
||
9 | mjames | 6813 | #define CAN_F5R1_FB20_Msk (0x1UL << CAN_F5R1_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 6814 | #define CAN_F5R1_FB20 CAN_F5R1_FB20_Msk /*!< Filter bit 20 */ |
6815 | #define CAN_F5R1_FB21_Pos (21U) |
||
9 | mjames | 6816 | #define CAN_F5R1_FB21_Msk (0x1UL << CAN_F5R1_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 6817 | #define CAN_F5R1_FB21 CAN_F5R1_FB21_Msk /*!< Filter bit 21 */ |
6818 | #define CAN_F5R1_FB22_Pos (22U) |
||
9 | mjames | 6819 | #define CAN_F5R1_FB22_Msk (0x1UL << CAN_F5R1_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 6820 | #define CAN_F5R1_FB22 CAN_F5R1_FB22_Msk /*!< Filter bit 22 */ |
6821 | #define CAN_F5R1_FB23_Pos (23U) |
||
9 | mjames | 6822 | #define CAN_F5R1_FB23_Msk (0x1UL << CAN_F5R1_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 6823 | #define CAN_F5R1_FB23 CAN_F5R1_FB23_Msk /*!< Filter bit 23 */ |
6824 | #define CAN_F5R1_FB24_Pos (24U) |
||
9 | mjames | 6825 | #define CAN_F5R1_FB24_Msk (0x1UL << CAN_F5R1_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 6826 | #define CAN_F5R1_FB24 CAN_F5R1_FB24_Msk /*!< Filter bit 24 */ |
6827 | #define CAN_F5R1_FB25_Pos (25U) |
||
9 | mjames | 6828 | #define CAN_F5R1_FB25_Msk (0x1UL << CAN_F5R1_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 6829 | #define CAN_F5R1_FB25 CAN_F5R1_FB25_Msk /*!< Filter bit 25 */ |
6830 | #define CAN_F5R1_FB26_Pos (26U) |
||
9 | mjames | 6831 | #define CAN_F5R1_FB26_Msk (0x1UL << CAN_F5R1_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 6832 | #define CAN_F5R1_FB26 CAN_F5R1_FB26_Msk /*!< Filter bit 26 */ |
6833 | #define CAN_F5R1_FB27_Pos (27U) |
||
9 | mjames | 6834 | #define CAN_F5R1_FB27_Msk (0x1UL << CAN_F5R1_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 6835 | #define CAN_F5R1_FB27 CAN_F5R1_FB27_Msk /*!< Filter bit 27 */ |
6836 | #define CAN_F5R1_FB28_Pos (28U) |
||
9 | mjames | 6837 | #define CAN_F5R1_FB28_Msk (0x1UL << CAN_F5R1_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 6838 | #define CAN_F5R1_FB28 CAN_F5R1_FB28_Msk /*!< Filter bit 28 */ |
6839 | #define CAN_F5R1_FB29_Pos (29U) |
||
9 | mjames | 6840 | #define CAN_F5R1_FB29_Msk (0x1UL << CAN_F5R1_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 6841 | #define CAN_F5R1_FB29 CAN_F5R1_FB29_Msk /*!< Filter bit 29 */ |
6842 | #define CAN_F5R1_FB30_Pos (30U) |
||
9 | mjames | 6843 | #define CAN_F5R1_FB30_Msk (0x1UL << CAN_F5R1_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 6844 | #define CAN_F5R1_FB30 CAN_F5R1_FB30_Msk /*!< Filter bit 30 */ |
6845 | #define CAN_F5R1_FB31_Pos (31U) |
||
9 | mjames | 6846 | #define CAN_F5R1_FB31_Msk (0x1UL << CAN_F5R1_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 6847 | #define CAN_F5R1_FB31 CAN_F5R1_FB31_Msk /*!< Filter bit 31 */ |
6848 | |||
6849 | /******************* Bit definition for CAN_F6R1 register *******************/ |
||
6850 | #define CAN_F6R1_FB0_Pos (0U) |
||
9 | mjames | 6851 | #define CAN_F6R1_FB0_Msk (0x1UL << CAN_F6R1_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 6852 | #define CAN_F6R1_FB0 CAN_F6R1_FB0_Msk /*!< Filter bit 0 */ |
6853 | #define CAN_F6R1_FB1_Pos (1U) |
||
9 | mjames | 6854 | #define CAN_F6R1_FB1_Msk (0x1UL << CAN_F6R1_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 6855 | #define CAN_F6R1_FB1 CAN_F6R1_FB1_Msk /*!< Filter bit 1 */ |
6856 | #define CAN_F6R1_FB2_Pos (2U) |
||
9 | mjames | 6857 | #define CAN_F6R1_FB2_Msk (0x1UL << CAN_F6R1_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 6858 | #define CAN_F6R1_FB2 CAN_F6R1_FB2_Msk /*!< Filter bit 2 */ |
6859 | #define CAN_F6R1_FB3_Pos (3U) |
||
9 | mjames | 6860 | #define CAN_F6R1_FB3_Msk (0x1UL << CAN_F6R1_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 6861 | #define CAN_F6R1_FB3 CAN_F6R1_FB3_Msk /*!< Filter bit 3 */ |
6862 | #define CAN_F6R1_FB4_Pos (4U) |
||
9 | mjames | 6863 | #define CAN_F6R1_FB4_Msk (0x1UL << CAN_F6R1_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 6864 | #define CAN_F6R1_FB4 CAN_F6R1_FB4_Msk /*!< Filter bit 4 */ |
6865 | #define CAN_F6R1_FB5_Pos (5U) |
||
9 | mjames | 6866 | #define CAN_F6R1_FB5_Msk (0x1UL << CAN_F6R1_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 6867 | #define CAN_F6R1_FB5 CAN_F6R1_FB5_Msk /*!< Filter bit 5 */ |
6868 | #define CAN_F6R1_FB6_Pos (6U) |
||
9 | mjames | 6869 | #define CAN_F6R1_FB6_Msk (0x1UL << CAN_F6R1_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 6870 | #define CAN_F6R1_FB6 CAN_F6R1_FB6_Msk /*!< Filter bit 6 */ |
6871 | #define CAN_F6R1_FB7_Pos (7U) |
||
9 | mjames | 6872 | #define CAN_F6R1_FB7_Msk (0x1UL << CAN_F6R1_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 6873 | #define CAN_F6R1_FB7 CAN_F6R1_FB7_Msk /*!< Filter bit 7 */ |
6874 | #define CAN_F6R1_FB8_Pos (8U) |
||
9 | mjames | 6875 | #define CAN_F6R1_FB8_Msk (0x1UL << CAN_F6R1_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 6876 | #define CAN_F6R1_FB8 CAN_F6R1_FB8_Msk /*!< Filter bit 8 */ |
6877 | #define CAN_F6R1_FB9_Pos (9U) |
||
9 | mjames | 6878 | #define CAN_F6R1_FB9_Msk (0x1UL << CAN_F6R1_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 6879 | #define CAN_F6R1_FB9 CAN_F6R1_FB9_Msk /*!< Filter bit 9 */ |
6880 | #define CAN_F6R1_FB10_Pos (10U) |
||
9 | mjames | 6881 | #define CAN_F6R1_FB10_Msk (0x1UL << CAN_F6R1_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 6882 | #define CAN_F6R1_FB10 CAN_F6R1_FB10_Msk /*!< Filter bit 10 */ |
6883 | #define CAN_F6R1_FB11_Pos (11U) |
||
9 | mjames | 6884 | #define CAN_F6R1_FB11_Msk (0x1UL << CAN_F6R1_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 6885 | #define CAN_F6R1_FB11 CAN_F6R1_FB11_Msk /*!< Filter bit 11 */ |
6886 | #define CAN_F6R1_FB12_Pos (12U) |
||
9 | mjames | 6887 | #define CAN_F6R1_FB12_Msk (0x1UL << CAN_F6R1_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 6888 | #define CAN_F6R1_FB12 CAN_F6R1_FB12_Msk /*!< Filter bit 12 */ |
6889 | #define CAN_F6R1_FB13_Pos (13U) |
||
9 | mjames | 6890 | #define CAN_F6R1_FB13_Msk (0x1UL << CAN_F6R1_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 6891 | #define CAN_F6R1_FB13 CAN_F6R1_FB13_Msk /*!< Filter bit 13 */ |
6892 | #define CAN_F6R1_FB14_Pos (14U) |
||
9 | mjames | 6893 | #define CAN_F6R1_FB14_Msk (0x1UL << CAN_F6R1_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 6894 | #define CAN_F6R1_FB14 CAN_F6R1_FB14_Msk /*!< Filter bit 14 */ |
6895 | #define CAN_F6R1_FB15_Pos (15U) |
||
9 | mjames | 6896 | #define CAN_F6R1_FB15_Msk (0x1UL << CAN_F6R1_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 6897 | #define CAN_F6R1_FB15 CAN_F6R1_FB15_Msk /*!< Filter bit 15 */ |
6898 | #define CAN_F6R1_FB16_Pos (16U) |
||
9 | mjames | 6899 | #define CAN_F6R1_FB16_Msk (0x1UL << CAN_F6R1_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 6900 | #define CAN_F6R1_FB16 CAN_F6R1_FB16_Msk /*!< Filter bit 16 */ |
6901 | #define CAN_F6R1_FB17_Pos (17U) |
||
9 | mjames | 6902 | #define CAN_F6R1_FB17_Msk (0x1UL << CAN_F6R1_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 6903 | #define CAN_F6R1_FB17 CAN_F6R1_FB17_Msk /*!< Filter bit 17 */ |
6904 | #define CAN_F6R1_FB18_Pos (18U) |
||
9 | mjames | 6905 | #define CAN_F6R1_FB18_Msk (0x1UL << CAN_F6R1_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 6906 | #define CAN_F6R1_FB18 CAN_F6R1_FB18_Msk /*!< Filter bit 18 */ |
6907 | #define CAN_F6R1_FB19_Pos (19U) |
||
9 | mjames | 6908 | #define CAN_F6R1_FB19_Msk (0x1UL << CAN_F6R1_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 6909 | #define CAN_F6R1_FB19 CAN_F6R1_FB19_Msk /*!< Filter bit 19 */ |
6910 | #define CAN_F6R1_FB20_Pos (20U) |
||
9 | mjames | 6911 | #define CAN_F6R1_FB20_Msk (0x1UL << CAN_F6R1_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 6912 | #define CAN_F6R1_FB20 CAN_F6R1_FB20_Msk /*!< Filter bit 20 */ |
6913 | #define CAN_F6R1_FB21_Pos (21U) |
||
9 | mjames | 6914 | #define CAN_F6R1_FB21_Msk (0x1UL << CAN_F6R1_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 6915 | #define CAN_F6R1_FB21 CAN_F6R1_FB21_Msk /*!< Filter bit 21 */ |
6916 | #define CAN_F6R1_FB22_Pos (22U) |
||
9 | mjames | 6917 | #define CAN_F6R1_FB22_Msk (0x1UL << CAN_F6R1_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 6918 | #define CAN_F6R1_FB22 CAN_F6R1_FB22_Msk /*!< Filter bit 22 */ |
6919 | #define CAN_F6R1_FB23_Pos (23U) |
||
9 | mjames | 6920 | #define CAN_F6R1_FB23_Msk (0x1UL << CAN_F6R1_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 6921 | #define CAN_F6R1_FB23 CAN_F6R1_FB23_Msk /*!< Filter bit 23 */ |
6922 | #define CAN_F6R1_FB24_Pos (24U) |
||
9 | mjames | 6923 | #define CAN_F6R1_FB24_Msk (0x1UL << CAN_F6R1_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 6924 | #define CAN_F6R1_FB24 CAN_F6R1_FB24_Msk /*!< Filter bit 24 */ |
6925 | #define CAN_F6R1_FB25_Pos (25U) |
||
9 | mjames | 6926 | #define CAN_F6R1_FB25_Msk (0x1UL << CAN_F6R1_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 6927 | #define CAN_F6R1_FB25 CAN_F6R1_FB25_Msk /*!< Filter bit 25 */ |
6928 | #define CAN_F6R1_FB26_Pos (26U) |
||
9 | mjames | 6929 | #define CAN_F6R1_FB26_Msk (0x1UL << CAN_F6R1_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 6930 | #define CAN_F6R1_FB26 CAN_F6R1_FB26_Msk /*!< Filter bit 26 */ |
6931 | #define CAN_F6R1_FB27_Pos (27U) |
||
9 | mjames | 6932 | #define CAN_F6R1_FB27_Msk (0x1UL << CAN_F6R1_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 6933 | #define CAN_F6R1_FB27 CAN_F6R1_FB27_Msk /*!< Filter bit 27 */ |
6934 | #define CAN_F6R1_FB28_Pos (28U) |
||
9 | mjames | 6935 | #define CAN_F6R1_FB28_Msk (0x1UL << CAN_F6R1_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 6936 | #define CAN_F6R1_FB28 CAN_F6R1_FB28_Msk /*!< Filter bit 28 */ |
6937 | #define CAN_F6R1_FB29_Pos (29U) |
||
9 | mjames | 6938 | #define CAN_F6R1_FB29_Msk (0x1UL << CAN_F6R1_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 6939 | #define CAN_F6R1_FB29 CAN_F6R1_FB29_Msk /*!< Filter bit 29 */ |
6940 | #define CAN_F6R1_FB30_Pos (30U) |
||
9 | mjames | 6941 | #define CAN_F6R1_FB30_Msk (0x1UL << CAN_F6R1_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 6942 | #define CAN_F6R1_FB30 CAN_F6R1_FB30_Msk /*!< Filter bit 30 */ |
6943 | #define CAN_F6R1_FB31_Pos (31U) |
||
9 | mjames | 6944 | #define CAN_F6R1_FB31_Msk (0x1UL << CAN_F6R1_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 6945 | #define CAN_F6R1_FB31 CAN_F6R1_FB31_Msk /*!< Filter bit 31 */ |
6946 | |||
6947 | /******************* Bit definition for CAN_F7R1 register *******************/ |
||
6948 | #define CAN_F7R1_FB0_Pos (0U) |
||
9 | mjames | 6949 | #define CAN_F7R1_FB0_Msk (0x1UL << CAN_F7R1_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 6950 | #define CAN_F7R1_FB0 CAN_F7R1_FB0_Msk /*!< Filter bit 0 */ |
6951 | #define CAN_F7R1_FB1_Pos (1U) |
||
9 | mjames | 6952 | #define CAN_F7R1_FB1_Msk (0x1UL << CAN_F7R1_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 6953 | #define CAN_F7R1_FB1 CAN_F7R1_FB1_Msk /*!< Filter bit 1 */ |
6954 | #define CAN_F7R1_FB2_Pos (2U) |
||
9 | mjames | 6955 | #define CAN_F7R1_FB2_Msk (0x1UL << CAN_F7R1_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 6956 | #define CAN_F7R1_FB2 CAN_F7R1_FB2_Msk /*!< Filter bit 2 */ |
6957 | #define CAN_F7R1_FB3_Pos (3U) |
||
9 | mjames | 6958 | #define CAN_F7R1_FB3_Msk (0x1UL << CAN_F7R1_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 6959 | #define CAN_F7R1_FB3 CAN_F7R1_FB3_Msk /*!< Filter bit 3 */ |
6960 | #define CAN_F7R1_FB4_Pos (4U) |
||
9 | mjames | 6961 | #define CAN_F7R1_FB4_Msk (0x1UL << CAN_F7R1_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 6962 | #define CAN_F7R1_FB4 CAN_F7R1_FB4_Msk /*!< Filter bit 4 */ |
6963 | #define CAN_F7R1_FB5_Pos (5U) |
||
9 | mjames | 6964 | #define CAN_F7R1_FB5_Msk (0x1UL << CAN_F7R1_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 6965 | #define CAN_F7R1_FB5 CAN_F7R1_FB5_Msk /*!< Filter bit 5 */ |
6966 | #define CAN_F7R1_FB6_Pos (6U) |
||
9 | mjames | 6967 | #define CAN_F7R1_FB6_Msk (0x1UL << CAN_F7R1_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 6968 | #define CAN_F7R1_FB6 CAN_F7R1_FB6_Msk /*!< Filter bit 6 */ |
6969 | #define CAN_F7R1_FB7_Pos (7U) |
||
9 | mjames | 6970 | #define CAN_F7R1_FB7_Msk (0x1UL << CAN_F7R1_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 6971 | #define CAN_F7R1_FB7 CAN_F7R1_FB7_Msk /*!< Filter bit 7 */ |
6972 | #define CAN_F7R1_FB8_Pos (8U) |
||
9 | mjames | 6973 | #define CAN_F7R1_FB8_Msk (0x1UL << CAN_F7R1_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 6974 | #define CAN_F7R1_FB8 CAN_F7R1_FB8_Msk /*!< Filter bit 8 */ |
6975 | #define CAN_F7R1_FB9_Pos (9U) |
||
9 | mjames | 6976 | #define CAN_F7R1_FB9_Msk (0x1UL << CAN_F7R1_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 6977 | #define CAN_F7R1_FB9 CAN_F7R1_FB9_Msk /*!< Filter bit 9 */ |
6978 | #define CAN_F7R1_FB10_Pos (10U) |
||
9 | mjames | 6979 | #define CAN_F7R1_FB10_Msk (0x1UL << CAN_F7R1_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 6980 | #define CAN_F7R1_FB10 CAN_F7R1_FB10_Msk /*!< Filter bit 10 */ |
6981 | #define CAN_F7R1_FB11_Pos (11U) |
||
9 | mjames | 6982 | #define CAN_F7R1_FB11_Msk (0x1UL << CAN_F7R1_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 6983 | #define CAN_F7R1_FB11 CAN_F7R1_FB11_Msk /*!< Filter bit 11 */ |
6984 | #define CAN_F7R1_FB12_Pos (12U) |
||
9 | mjames | 6985 | #define CAN_F7R1_FB12_Msk (0x1UL << CAN_F7R1_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 6986 | #define CAN_F7R1_FB12 CAN_F7R1_FB12_Msk /*!< Filter bit 12 */ |
6987 | #define CAN_F7R1_FB13_Pos (13U) |
||
9 | mjames | 6988 | #define CAN_F7R1_FB13_Msk (0x1UL << CAN_F7R1_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 6989 | #define CAN_F7R1_FB13 CAN_F7R1_FB13_Msk /*!< Filter bit 13 */ |
6990 | #define CAN_F7R1_FB14_Pos (14U) |
||
9 | mjames | 6991 | #define CAN_F7R1_FB14_Msk (0x1UL << CAN_F7R1_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 6992 | #define CAN_F7R1_FB14 CAN_F7R1_FB14_Msk /*!< Filter bit 14 */ |
6993 | #define CAN_F7R1_FB15_Pos (15U) |
||
9 | mjames | 6994 | #define CAN_F7R1_FB15_Msk (0x1UL << CAN_F7R1_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 6995 | #define CAN_F7R1_FB15 CAN_F7R1_FB15_Msk /*!< Filter bit 15 */ |
6996 | #define CAN_F7R1_FB16_Pos (16U) |
||
9 | mjames | 6997 | #define CAN_F7R1_FB16_Msk (0x1UL << CAN_F7R1_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 6998 | #define CAN_F7R1_FB16 CAN_F7R1_FB16_Msk /*!< Filter bit 16 */ |
6999 | #define CAN_F7R1_FB17_Pos (17U) |
||
9 | mjames | 7000 | #define CAN_F7R1_FB17_Msk (0x1UL << CAN_F7R1_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 7001 | #define CAN_F7R1_FB17 CAN_F7R1_FB17_Msk /*!< Filter bit 17 */ |
7002 | #define CAN_F7R1_FB18_Pos (18U) |
||
9 | mjames | 7003 | #define CAN_F7R1_FB18_Msk (0x1UL << CAN_F7R1_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 7004 | #define CAN_F7R1_FB18 CAN_F7R1_FB18_Msk /*!< Filter bit 18 */ |
7005 | #define CAN_F7R1_FB19_Pos (19U) |
||
9 | mjames | 7006 | #define CAN_F7R1_FB19_Msk (0x1UL << CAN_F7R1_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 7007 | #define CAN_F7R1_FB19 CAN_F7R1_FB19_Msk /*!< Filter bit 19 */ |
7008 | #define CAN_F7R1_FB20_Pos (20U) |
||
9 | mjames | 7009 | #define CAN_F7R1_FB20_Msk (0x1UL << CAN_F7R1_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 7010 | #define CAN_F7R1_FB20 CAN_F7R1_FB20_Msk /*!< Filter bit 20 */ |
7011 | #define CAN_F7R1_FB21_Pos (21U) |
||
9 | mjames | 7012 | #define CAN_F7R1_FB21_Msk (0x1UL << CAN_F7R1_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 7013 | #define CAN_F7R1_FB21 CAN_F7R1_FB21_Msk /*!< Filter bit 21 */ |
7014 | #define CAN_F7R1_FB22_Pos (22U) |
||
9 | mjames | 7015 | #define CAN_F7R1_FB22_Msk (0x1UL << CAN_F7R1_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 7016 | #define CAN_F7R1_FB22 CAN_F7R1_FB22_Msk /*!< Filter bit 22 */ |
7017 | #define CAN_F7R1_FB23_Pos (23U) |
||
9 | mjames | 7018 | #define CAN_F7R1_FB23_Msk (0x1UL << CAN_F7R1_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 7019 | #define CAN_F7R1_FB23 CAN_F7R1_FB23_Msk /*!< Filter bit 23 */ |
7020 | #define CAN_F7R1_FB24_Pos (24U) |
||
9 | mjames | 7021 | #define CAN_F7R1_FB24_Msk (0x1UL << CAN_F7R1_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 7022 | #define CAN_F7R1_FB24 CAN_F7R1_FB24_Msk /*!< Filter bit 24 */ |
7023 | #define CAN_F7R1_FB25_Pos (25U) |
||
9 | mjames | 7024 | #define CAN_F7R1_FB25_Msk (0x1UL << CAN_F7R1_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 7025 | #define CAN_F7R1_FB25 CAN_F7R1_FB25_Msk /*!< Filter bit 25 */ |
7026 | #define CAN_F7R1_FB26_Pos (26U) |
||
9 | mjames | 7027 | #define CAN_F7R1_FB26_Msk (0x1UL << CAN_F7R1_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 7028 | #define CAN_F7R1_FB26 CAN_F7R1_FB26_Msk /*!< Filter bit 26 */ |
7029 | #define CAN_F7R1_FB27_Pos (27U) |
||
9 | mjames | 7030 | #define CAN_F7R1_FB27_Msk (0x1UL << CAN_F7R1_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 7031 | #define CAN_F7R1_FB27 CAN_F7R1_FB27_Msk /*!< Filter bit 27 */ |
7032 | #define CAN_F7R1_FB28_Pos (28U) |
||
9 | mjames | 7033 | #define CAN_F7R1_FB28_Msk (0x1UL << CAN_F7R1_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 7034 | #define CAN_F7R1_FB28 CAN_F7R1_FB28_Msk /*!< Filter bit 28 */ |
7035 | #define CAN_F7R1_FB29_Pos (29U) |
||
9 | mjames | 7036 | #define CAN_F7R1_FB29_Msk (0x1UL << CAN_F7R1_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 7037 | #define CAN_F7R1_FB29 CAN_F7R1_FB29_Msk /*!< Filter bit 29 */ |
7038 | #define CAN_F7R1_FB30_Pos (30U) |
||
9 | mjames | 7039 | #define CAN_F7R1_FB30_Msk (0x1UL << CAN_F7R1_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 7040 | #define CAN_F7R1_FB30 CAN_F7R1_FB30_Msk /*!< Filter bit 30 */ |
7041 | #define CAN_F7R1_FB31_Pos (31U) |
||
9 | mjames | 7042 | #define CAN_F7R1_FB31_Msk (0x1UL << CAN_F7R1_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 7043 | #define CAN_F7R1_FB31 CAN_F7R1_FB31_Msk /*!< Filter bit 31 */ |
7044 | |||
7045 | /******************* Bit definition for CAN_F8R1 register *******************/ |
||
7046 | #define CAN_F8R1_FB0_Pos (0U) |
||
9 | mjames | 7047 | #define CAN_F8R1_FB0_Msk (0x1UL << CAN_F8R1_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 7048 | #define CAN_F8R1_FB0 CAN_F8R1_FB0_Msk /*!< Filter bit 0 */ |
7049 | #define CAN_F8R1_FB1_Pos (1U) |
||
9 | mjames | 7050 | #define CAN_F8R1_FB1_Msk (0x1UL << CAN_F8R1_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 7051 | #define CAN_F8R1_FB1 CAN_F8R1_FB1_Msk /*!< Filter bit 1 */ |
7052 | #define CAN_F8R1_FB2_Pos (2U) |
||
9 | mjames | 7053 | #define CAN_F8R1_FB2_Msk (0x1UL << CAN_F8R1_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 7054 | #define CAN_F8R1_FB2 CAN_F8R1_FB2_Msk /*!< Filter bit 2 */ |
7055 | #define CAN_F8R1_FB3_Pos (3U) |
||
9 | mjames | 7056 | #define CAN_F8R1_FB3_Msk (0x1UL << CAN_F8R1_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 7057 | #define CAN_F8R1_FB3 CAN_F8R1_FB3_Msk /*!< Filter bit 3 */ |
7058 | #define CAN_F8R1_FB4_Pos (4U) |
||
9 | mjames | 7059 | #define CAN_F8R1_FB4_Msk (0x1UL << CAN_F8R1_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 7060 | #define CAN_F8R1_FB4 CAN_F8R1_FB4_Msk /*!< Filter bit 4 */ |
7061 | #define CAN_F8R1_FB5_Pos (5U) |
||
9 | mjames | 7062 | #define CAN_F8R1_FB5_Msk (0x1UL << CAN_F8R1_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 7063 | #define CAN_F8R1_FB5 CAN_F8R1_FB5_Msk /*!< Filter bit 5 */ |
7064 | #define CAN_F8R1_FB6_Pos (6U) |
||
9 | mjames | 7065 | #define CAN_F8R1_FB6_Msk (0x1UL << CAN_F8R1_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 7066 | #define CAN_F8R1_FB6 CAN_F8R1_FB6_Msk /*!< Filter bit 6 */ |
7067 | #define CAN_F8R1_FB7_Pos (7U) |
||
9 | mjames | 7068 | #define CAN_F8R1_FB7_Msk (0x1UL << CAN_F8R1_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 7069 | #define CAN_F8R1_FB7 CAN_F8R1_FB7_Msk /*!< Filter bit 7 */ |
7070 | #define CAN_F8R1_FB8_Pos (8U) |
||
9 | mjames | 7071 | #define CAN_F8R1_FB8_Msk (0x1UL << CAN_F8R1_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 7072 | #define CAN_F8R1_FB8 CAN_F8R1_FB8_Msk /*!< Filter bit 8 */ |
7073 | #define CAN_F8R1_FB9_Pos (9U) |
||
9 | mjames | 7074 | #define CAN_F8R1_FB9_Msk (0x1UL << CAN_F8R1_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 7075 | #define CAN_F8R1_FB9 CAN_F8R1_FB9_Msk /*!< Filter bit 9 */ |
7076 | #define CAN_F8R1_FB10_Pos (10U) |
||
9 | mjames | 7077 | #define CAN_F8R1_FB10_Msk (0x1UL << CAN_F8R1_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 7078 | #define CAN_F8R1_FB10 CAN_F8R1_FB10_Msk /*!< Filter bit 10 */ |
7079 | #define CAN_F8R1_FB11_Pos (11U) |
||
9 | mjames | 7080 | #define CAN_F8R1_FB11_Msk (0x1UL << CAN_F8R1_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 7081 | #define CAN_F8R1_FB11 CAN_F8R1_FB11_Msk /*!< Filter bit 11 */ |
7082 | #define CAN_F8R1_FB12_Pos (12U) |
||
9 | mjames | 7083 | #define CAN_F8R1_FB12_Msk (0x1UL << CAN_F8R1_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 7084 | #define CAN_F8R1_FB12 CAN_F8R1_FB12_Msk /*!< Filter bit 12 */ |
7085 | #define CAN_F8R1_FB13_Pos (13U) |
||
9 | mjames | 7086 | #define CAN_F8R1_FB13_Msk (0x1UL << CAN_F8R1_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 7087 | #define CAN_F8R1_FB13 CAN_F8R1_FB13_Msk /*!< Filter bit 13 */ |
7088 | #define CAN_F8R1_FB14_Pos (14U) |
||
9 | mjames | 7089 | #define CAN_F8R1_FB14_Msk (0x1UL << CAN_F8R1_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 7090 | #define CAN_F8R1_FB14 CAN_F8R1_FB14_Msk /*!< Filter bit 14 */ |
7091 | #define CAN_F8R1_FB15_Pos (15U) |
||
9 | mjames | 7092 | #define CAN_F8R1_FB15_Msk (0x1UL << CAN_F8R1_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 7093 | #define CAN_F8R1_FB15 CAN_F8R1_FB15_Msk /*!< Filter bit 15 */ |
7094 | #define CAN_F8R1_FB16_Pos (16U) |
||
9 | mjames | 7095 | #define CAN_F8R1_FB16_Msk (0x1UL << CAN_F8R1_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 7096 | #define CAN_F8R1_FB16 CAN_F8R1_FB16_Msk /*!< Filter bit 16 */ |
7097 | #define CAN_F8R1_FB17_Pos (17U) |
||
9 | mjames | 7098 | #define CAN_F8R1_FB17_Msk (0x1UL << CAN_F8R1_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 7099 | #define CAN_F8R1_FB17 CAN_F8R1_FB17_Msk /*!< Filter bit 17 */ |
7100 | #define CAN_F8R1_FB18_Pos (18U) |
||
9 | mjames | 7101 | #define CAN_F8R1_FB18_Msk (0x1UL << CAN_F8R1_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 7102 | #define CAN_F8R1_FB18 CAN_F8R1_FB18_Msk /*!< Filter bit 18 */ |
7103 | #define CAN_F8R1_FB19_Pos (19U) |
||
9 | mjames | 7104 | #define CAN_F8R1_FB19_Msk (0x1UL << CAN_F8R1_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 7105 | #define CAN_F8R1_FB19 CAN_F8R1_FB19_Msk /*!< Filter bit 19 */ |
7106 | #define CAN_F8R1_FB20_Pos (20U) |
||
9 | mjames | 7107 | #define CAN_F8R1_FB20_Msk (0x1UL << CAN_F8R1_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 7108 | #define CAN_F8R1_FB20 CAN_F8R1_FB20_Msk /*!< Filter bit 20 */ |
7109 | #define CAN_F8R1_FB21_Pos (21U) |
||
9 | mjames | 7110 | #define CAN_F8R1_FB21_Msk (0x1UL << CAN_F8R1_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 7111 | #define CAN_F8R1_FB21 CAN_F8R1_FB21_Msk /*!< Filter bit 21 */ |
7112 | #define CAN_F8R1_FB22_Pos (22U) |
||
9 | mjames | 7113 | #define CAN_F8R1_FB22_Msk (0x1UL << CAN_F8R1_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 7114 | #define CAN_F8R1_FB22 CAN_F8R1_FB22_Msk /*!< Filter bit 22 */ |
7115 | #define CAN_F8R1_FB23_Pos (23U) |
||
9 | mjames | 7116 | #define CAN_F8R1_FB23_Msk (0x1UL << CAN_F8R1_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 7117 | #define CAN_F8R1_FB23 CAN_F8R1_FB23_Msk /*!< Filter bit 23 */ |
7118 | #define CAN_F8R1_FB24_Pos (24U) |
||
9 | mjames | 7119 | #define CAN_F8R1_FB24_Msk (0x1UL << CAN_F8R1_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 7120 | #define CAN_F8R1_FB24 CAN_F8R1_FB24_Msk /*!< Filter bit 24 */ |
7121 | #define CAN_F8R1_FB25_Pos (25U) |
||
9 | mjames | 7122 | #define CAN_F8R1_FB25_Msk (0x1UL << CAN_F8R1_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 7123 | #define CAN_F8R1_FB25 CAN_F8R1_FB25_Msk /*!< Filter bit 25 */ |
7124 | #define CAN_F8R1_FB26_Pos (26U) |
||
9 | mjames | 7125 | #define CAN_F8R1_FB26_Msk (0x1UL << CAN_F8R1_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 7126 | #define CAN_F8R1_FB26 CAN_F8R1_FB26_Msk /*!< Filter bit 26 */ |
7127 | #define CAN_F8R1_FB27_Pos (27U) |
||
9 | mjames | 7128 | #define CAN_F8R1_FB27_Msk (0x1UL << CAN_F8R1_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 7129 | #define CAN_F8R1_FB27 CAN_F8R1_FB27_Msk /*!< Filter bit 27 */ |
7130 | #define CAN_F8R1_FB28_Pos (28U) |
||
9 | mjames | 7131 | #define CAN_F8R1_FB28_Msk (0x1UL << CAN_F8R1_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 7132 | #define CAN_F8R1_FB28 CAN_F8R1_FB28_Msk /*!< Filter bit 28 */ |
7133 | #define CAN_F8R1_FB29_Pos (29U) |
||
9 | mjames | 7134 | #define CAN_F8R1_FB29_Msk (0x1UL << CAN_F8R1_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 7135 | #define CAN_F8R1_FB29 CAN_F8R1_FB29_Msk /*!< Filter bit 29 */ |
7136 | #define CAN_F8R1_FB30_Pos (30U) |
||
9 | mjames | 7137 | #define CAN_F8R1_FB30_Msk (0x1UL << CAN_F8R1_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 7138 | #define CAN_F8R1_FB30 CAN_F8R1_FB30_Msk /*!< Filter bit 30 */ |
7139 | #define CAN_F8R1_FB31_Pos (31U) |
||
9 | mjames | 7140 | #define CAN_F8R1_FB31_Msk (0x1UL << CAN_F8R1_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 7141 | #define CAN_F8R1_FB31 CAN_F8R1_FB31_Msk /*!< Filter bit 31 */ |
7142 | |||
7143 | /******************* Bit definition for CAN_F9R1 register *******************/ |
||
7144 | #define CAN_F9R1_FB0_Pos (0U) |
||
9 | mjames | 7145 | #define CAN_F9R1_FB0_Msk (0x1UL << CAN_F9R1_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 7146 | #define CAN_F9R1_FB0 CAN_F9R1_FB0_Msk /*!< Filter bit 0 */ |
7147 | #define CAN_F9R1_FB1_Pos (1U) |
||
9 | mjames | 7148 | #define CAN_F9R1_FB1_Msk (0x1UL << CAN_F9R1_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 7149 | #define CAN_F9R1_FB1 CAN_F9R1_FB1_Msk /*!< Filter bit 1 */ |
7150 | #define CAN_F9R1_FB2_Pos (2U) |
||
9 | mjames | 7151 | #define CAN_F9R1_FB2_Msk (0x1UL << CAN_F9R1_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 7152 | #define CAN_F9R1_FB2 CAN_F9R1_FB2_Msk /*!< Filter bit 2 */ |
7153 | #define CAN_F9R1_FB3_Pos (3U) |
||
9 | mjames | 7154 | #define CAN_F9R1_FB3_Msk (0x1UL << CAN_F9R1_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 7155 | #define CAN_F9R1_FB3 CAN_F9R1_FB3_Msk /*!< Filter bit 3 */ |
7156 | #define CAN_F9R1_FB4_Pos (4U) |
||
9 | mjames | 7157 | #define CAN_F9R1_FB4_Msk (0x1UL << CAN_F9R1_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 7158 | #define CAN_F9R1_FB4 CAN_F9R1_FB4_Msk /*!< Filter bit 4 */ |
7159 | #define CAN_F9R1_FB5_Pos (5U) |
||
9 | mjames | 7160 | #define CAN_F9R1_FB5_Msk (0x1UL << CAN_F9R1_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 7161 | #define CAN_F9R1_FB5 CAN_F9R1_FB5_Msk /*!< Filter bit 5 */ |
7162 | #define CAN_F9R1_FB6_Pos (6U) |
||
9 | mjames | 7163 | #define CAN_F9R1_FB6_Msk (0x1UL << CAN_F9R1_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 7164 | #define CAN_F9R1_FB6 CAN_F9R1_FB6_Msk /*!< Filter bit 6 */ |
7165 | #define CAN_F9R1_FB7_Pos (7U) |
||
9 | mjames | 7166 | #define CAN_F9R1_FB7_Msk (0x1UL << CAN_F9R1_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 7167 | #define CAN_F9R1_FB7 CAN_F9R1_FB7_Msk /*!< Filter bit 7 */ |
7168 | #define CAN_F9R1_FB8_Pos (8U) |
||
9 | mjames | 7169 | #define CAN_F9R1_FB8_Msk (0x1UL << CAN_F9R1_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 7170 | #define CAN_F9R1_FB8 CAN_F9R1_FB8_Msk /*!< Filter bit 8 */ |
7171 | #define CAN_F9R1_FB9_Pos (9U) |
||
9 | mjames | 7172 | #define CAN_F9R1_FB9_Msk (0x1UL << CAN_F9R1_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 7173 | #define CAN_F9R1_FB9 CAN_F9R1_FB9_Msk /*!< Filter bit 9 */ |
7174 | #define CAN_F9R1_FB10_Pos (10U) |
||
9 | mjames | 7175 | #define CAN_F9R1_FB10_Msk (0x1UL << CAN_F9R1_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 7176 | #define CAN_F9R1_FB10 CAN_F9R1_FB10_Msk /*!< Filter bit 10 */ |
7177 | #define CAN_F9R1_FB11_Pos (11U) |
||
9 | mjames | 7178 | #define CAN_F9R1_FB11_Msk (0x1UL << CAN_F9R1_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 7179 | #define CAN_F9R1_FB11 CAN_F9R1_FB11_Msk /*!< Filter bit 11 */ |
7180 | #define CAN_F9R1_FB12_Pos (12U) |
||
9 | mjames | 7181 | #define CAN_F9R1_FB12_Msk (0x1UL << CAN_F9R1_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 7182 | #define CAN_F9R1_FB12 CAN_F9R1_FB12_Msk /*!< Filter bit 12 */ |
7183 | #define CAN_F9R1_FB13_Pos (13U) |
||
9 | mjames | 7184 | #define CAN_F9R1_FB13_Msk (0x1UL << CAN_F9R1_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 7185 | #define CAN_F9R1_FB13 CAN_F9R1_FB13_Msk /*!< Filter bit 13 */ |
7186 | #define CAN_F9R1_FB14_Pos (14U) |
||
9 | mjames | 7187 | #define CAN_F9R1_FB14_Msk (0x1UL << CAN_F9R1_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 7188 | #define CAN_F9R1_FB14 CAN_F9R1_FB14_Msk /*!< Filter bit 14 */ |
7189 | #define CAN_F9R1_FB15_Pos (15U) |
||
9 | mjames | 7190 | #define CAN_F9R1_FB15_Msk (0x1UL << CAN_F9R1_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 7191 | #define CAN_F9R1_FB15 CAN_F9R1_FB15_Msk /*!< Filter bit 15 */ |
7192 | #define CAN_F9R1_FB16_Pos (16U) |
||
9 | mjames | 7193 | #define CAN_F9R1_FB16_Msk (0x1UL << CAN_F9R1_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 7194 | #define CAN_F9R1_FB16 CAN_F9R1_FB16_Msk /*!< Filter bit 16 */ |
7195 | #define CAN_F9R1_FB17_Pos (17U) |
||
9 | mjames | 7196 | #define CAN_F9R1_FB17_Msk (0x1UL << CAN_F9R1_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 7197 | #define CAN_F9R1_FB17 CAN_F9R1_FB17_Msk /*!< Filter bit 17 */ |
7198 | #define CAN_F9R1_FB18_Pos (18U) |
||
9 | mjames | 7199 | #define CAN_F9R1_FB18_Msk (0x1UL << CAN_F9R1_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 7200 | #define CAN_F9R1_FB18 CAN_F9R1_FB18_Msk /*!< Filter bit 18 */ |
7201 | #define CAN_F9R1_FB19_Pos (19U) |
||
9 | mjames | 7202 | #define CAN_F9R1_FB19_Msk (0x1UL << CAN_F9R1_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 7203 | #define CAN_F9R1_FB19 CAN_F9R1_FB19_Msk /*!< Filter bit 19 */ |
7204 | #define CAN_F9R1_FB20_Pos (20U) |
||
9 | mjames | 7205 | #define CAN_F9R1_FB20_Msk (0x1UL << CAN_F9R1_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 7206 | #define CAN_F9R1_FB20 CAN_F9R1_FB20_Msk /*!< Filter bit 20 */ |
7207 | #define CAN_F9R1_FB21_Pos (21U) |
||
9 | mjames | 7208 | #define CAN_F9R1_FB21_Msk (0x1UL << CAN_F9R1_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 7209 | #define CAN_F9R1_FB21 CAN_F9R1_FB21_Msk /*!< Filter bit 21 */ |
7210 | #define CAN_F9R1_FB22_Pos (22U) |
||
9 | mjames | 7211 | #define CAN_F9R1_FB22_Msk (0x1UL << CAN_F9R1_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 7212 | #define CAN_F9R1_FB22 CAN_F9R1_FB22_Msk /*!< Filter bit 22 */ |
7213 | #define CAN_F9R1_FB23_Pos (23U) |
||
9 | mjames | 7214 | #define CAN_F9R1_FB23_Msk (0x1UL << CAN_F9R1_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 7215 | #define CAN_F9R1_FB23 CAN_F9R1_FB23_Msk /*!< Filter bit 23 */ |
7216 | #define CAN_F9R1_FB24_Pos (24U) |
||
9 | mjames | 7217 | #define CAN_F9R1_FB24_Msk (0x1UL << CAN_F9R1_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 7218 | #define CAN_F9R1_FB24 CAN_F9R1_FB24_Msk /*!< Filter bit 24 */ |
7219 | #define CAN_F9R1_FB25_Pos (25U) |
||
9 | mjames | 7220 | #define CAN_F9R1_FB25_Msk (0x1UL << CAN_F9R1_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 7221 | #define CAN_F9R1_FB25 CAN_F9R1_FB25_Msk /*!< Filter bit 25 */ |
7222 | #define CAN_F9R1_FB26_Pos (26U) |
||
9 | mjames | 7223 | #define CAN_F9R1_FB26_Msk (0x1UL << CAN_F9R1_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 7224 | #define CAN_F9R1_FB26 CAN_F9R1_FB26_Msk /*!< Filter bit 26 */ |
7225 | #define CAN_F9R1_FB27_Pos (27U) |
||
9 | mjames | 7226 | #define CAN_F9R1_FB27_Msk (0x1UL << CAN_F9R1_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 7227 | #define CAN_F9R1_FB27 CAN_F9R1_FB27_Msk /*!< Filter bit 27 */ |
7228 | #define CAN_F9R1_FB28_Pos (28U) |
||
9 | mjames | 7229 | #define CAN_F9R1_FB28_Msk (0x1UL << CAN_F9R1_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 7230 | #define CAN_F9R1_FB28 CAN_F9R1_FB28_Msk /*!< Filter bit 28 */ |
7231 | #define CAN_F9R1_FB29_Pos (29U) |
||
9 | mjames | 7232 | #define CAN_F9R1_FB29_Msk (0x1UL << CAN_F9R1_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 7233 | #define CAN_F9R1_FB29 CAN_F9R1_FB29_Msk /*!< Filter bit 29 */ |
7234 | #define CAN_F9R1_FB30_Pos (30U) |
||
9 | mjames | 7235 | #define CAN_F9R1_FB30_Msk (0x1UL << CAN_F9R1_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 7236 | #define CAN_F9R1_FB30 CAN_F9R1_FB30_Msk /*!< Filter bit 30 */ |
7237 | #define CAN_F9R1_FB31_Pos (31U) |
||
9 | mjames | 7238 | #define CAN_F9R1_FB31_Msk (0x1UL << CAN_F9R1_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 7239 | #define CAN_F9R1_FB31 CAN_F9R1_FB31_Msk /*!< Filter bit 31 */ |
7240 | |||
7241 | /******************* Bit definition for CAN_F10R1 register ******************/ |
||
7242 | #define CAN_F10R1_FB0_Pos (0U) |
||
9 | mjames | 7243 | #define CAN_F10R1_FB0_Msk (0x1UL << CAN_F10R1_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 7244 | #define CAN_F10R1_FB0 CAN_F10R1_FB0_Msk /*!< Filter bit 0 */ |
7245 | #define CAN_F10R1_FB1_Pos (1U) |
||
9 | mjames | 7246 | #define CAN_F10R1_FB1_Msk (0x1UL << CAN_F10R1_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 7247 | #define CAN_F10R1_FB1 CAN_F10R1_FB1_Msk /*!< Filter bit 1 */ |
7248 | #define CAN_F10R1_FB2_Pos (2U) |
||
9 | mjames | 7249 | #define CAN_F10R1_FB2_Msk (0x1UL << CAN_F10R1_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 7250 | #define CAN_F10R1_FB2 CAN_F10R1_FB2_Msk /*!< Filter bit 2 */ |
7251 | #define CAN_F10R1_FB3_Pos (3U) |
||
9 | mjames | 7252 | #define CAN_F10R1_FB3_Msk (0x1UL << CAN_F10R1_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 7253 | #define CAN_F10R1_FB3 CAN_F10R1_FB3_Msk /*!< Filter bit 3 */ |
7254 | #define CAN_F10R1_FB4_Pos (4U) |
||
9 | mjames | 7255 | #define CAN_F10R1_FB4_Msk (0x1UL << CAN_F10R1_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 7256 | #define CAN_F10R1_FB4 CAN_F10R1_FB4_Msk /*!< Filter bit 4 */ |
7257 | #define CAN_F10R1_FB5_Pos (5U) |
||
9 | mjames | 7258 | #define CAN_F10R1_FB5_Msk (0x1UL << CAN_F10R1_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 7259 | #define CAN_F10R1_FB5 CAN_F10R1_FB5_Msk /*!< Filter bit 5 */ |
7260 | #define CAN_F10R1_FB6_Pos (6U) |
||
9 | mjames | 7261 | #define CAN_F10R1_FB6_Msk (0x1UL << CAN_F10R1_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 7262 | #define CAN_F10R1_FB6 CAN_F10R1_FB6_Msk /*!< Filter bit 6 */ |
7263 | #define CAN_F10R1_FB7_Pos (7U) |
||
9 | mjames | 7264 | #define CAN_F10R1_FB7_Msk (0x1UL << CAN_F10R1_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 7265 | #define CAN_F10R1_FB7 CAN_F10R1_FB7_Msk /*!< Filter bit 7 */ |
7266 | #define CAN_F10R1_FB8_Pos (8U) |
||
9 | mjames | 7267 | #define CAN_F10R1_FB8_Msk (0x1UL << CAN_F10R1_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 7268 | #define CAN_F10R1_FB8 CAN_F10R1_FB8_Msk /*!< Filter bit 8 */ |
7269 | #define CAN_F10R1_FB9_Pos (9U) |
||
9 | mjames | 7270 | #define CAN_F10R1_FB9_Msk (0x1UL << CAN_F10R1_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 7271 | #define CAN_F10R1_FB9 CAN_F10R1_FB9_Msk /*!< Filter bit 9 */ |
7272 | #define CAN_F10R1_FB10_Pos (10U) |
||
9 | mjames | 7273 | #define CAN_F10R1_FB10_Msk (0x1UL << CAN_F10R1_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 7274 | #define CAN_F10R1_FB10 CAN_F10R1_FB10_Msk /*!< Filter bit 10 */ |
7275 | #define CAN_F10R1_FB11_Pos (11U) |
||
9 | mjames | 7276 | #define CAN_F10R1_FB11_Msk (0x1UL << CAN_F10R1_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 7277 | #define CAN_F10R1_FB11 CAN_F10R1_FB11_Msk /*!< Filter bit 11 */ |
7278 | #define CAN_F10R1_FB12_Pos (12U) |
||
9 | mjames | 7279 | #define CAN_F10R1_FB12_Msk (0x1UL << CAN_F10R1_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 7280 | #define CAN_F10R1_FB12 CAN_F10R1_FB12_Msk /*!< Filter bit 12 */ |
7281 | #define CAN_F10R1_FB13_Pos (13U) |
||
9 | mjames | 7282 | #define CAN_F10R1_FB13_Msk (0x1UL << CAN_F10R1_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 7283 | #define CAN_F10R1_FB13 CAN_F10R1_FB13_Msk /*!< Filter bit 13 */ |
7284 | #define CAN_F10R1_FB14_Pos (14U) |
||
9 | mjames | 7285 | #define CAN_F10R1_FB14_Msk (0x1UL << CAN_F10R1_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 7286 | #define CAN_F10R1_FB14 CAN_F10R1_FB14_Msk /*!< Filter bit 14 */ |
7287 | #define CAN_F10R1_FB15_Pos (15U) |
||
9 | mjames | 7288 | #define CAN_F10R1_FB15_Msk (0x1UL << CAN_F10R1_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 7289 | #define CAN_F10R1_FB15 CAN_F10R1_FB15_Msk /*!< Filter bit 15 */ |
7290 | #define CAN_F10R1_FB16_Pos (16U) |
||
9 | mjames | 7291 | #define CAN_F10R1_FB16_Msk (0x1UL << CAN_F10R1_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 7292 | #define CAN_F10R1_FB16 CAN_F10R1_FB16_Msk /*!< Filter bit 16 */ |
7293 | #define CAN_F10R1_FB17_Pos (17U) |
||
9 | mjames | 7294 | #define CAN_F10R1_FB17_Msk (0x1UL << CAN_F10R1_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 7295 | #define CAN_F10R1_FB17 CAN_F10R1_FB17_Msk /*!< Filter bit 17 */ |
7296 | #define CAN_F10R1_FB18_Pos (18U) |
||
9 | mjames | 7297 | #define CAN_F10R1_FB18_Msk (0x1UL << CAN_F10R1_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 7298 | #define CAN_F10R1_FB18 CAN_F10R1_FB18_Msk /*!< Filter bit 18 */ |
7299 | #define CAN_F10R1_FB19_Pos (19U) |
||
9 | mjames | 7300 | #define CAN_F10R1_FB19_Msk (0x1UL << CAN_F10R1_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 7301 | #define CAN_F10R1_FB19 CAN_F10R1_FB19_Msk /*!< Filter bit 19 */ |
7302 | #define CAN_F10R1_FB20_Pos (20U) |
||
9 | mjames | 7303 | #define CAN_F10R1_FB20_Msk (0x1UL << CAN_F10R1_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 7304 | #define CAN_F10R1_FB20 CAN_F10R1_FB20_Msk /*!< Filter bit 20 */ |
7305 | #define CAN_F10R1_FB21_Pos (21U) |
||
9 | mjames | 7306 | #define CAN_F10R1_FB21_Msk (0x1UL << CAN_F10R1_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 7307 | #define CAN_F10R1_FB21 CAN_F10R1_FB21_Msk /*!< Filter bit 21 */ |
7308 | #define CAN_F10R1_FB22_Pos (22U) |
||
9 | mjames | 7309 | #define CAN_F10R1_FB22_Msk (0x1UL << CAN_F10R1_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 7310 | #define CAN_F10R1_FB22 CAN_F10R1_FB22_Msk /*!< Filter bit 22 */ |
7311 | #define CAN_F10R1_FB23_Pos (23U) |
||
9 | mjames | 7312 | #define CAN_F10R1_FB23_Msk (0x1UL << CAN_F10R1_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 7313 | #define CAN_F10R1_FB23 CAN_F10R1_FB23_Msk /*!< Filter bit 23 */ |
7314 | #define CAN_F10R1_FB24_Pos (24U) |
||
9 | mjames | 7315 | #define CAN_F10R1_FB24_Msk (0x1UL << CAN_F10R1_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 7316 | #define CAN_F10R1_FB24 CAN_F10R1_FB24_Msk /*!< Filter bit 24 */ |
7317 | #define CAN_F10R1_FB25_Pos (25U) |
||
9 | mjames | 7318 | #define CAN_F10R1_FB25_Msk (0x1UL << CAN_F10R1_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 7319 | #define CAN_F10R1_FB25 CAN_F10R1_FB25_Msk /*!< Filter bit 25 */ |
7320 | #define CAN_F10R1_FB26_Pos (26U) |
||
9 | mjames | 7321 | #define CAN_F10R1_FB26_Msk (0x1UL << CAN_F10R1_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 7322 | #define CAN_F10R1_FB26 CAN_F10R1_FB26_Msk /*!< Filter bit 26 */ |
7323 | #define CAN_F10R1_FB27_Pos (27U) |
||
9 | mjames | 7324 | #define CAN_F10R1_FB27_Msk (0x1UL << CAN_F10R1_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 7325 | #define CAN_F10R1_FB27 CAN_F10R1_FB27_Msk /*!< Filter bit 27 */ |
7326 | #define CAN_F10R1_FB28_Pos (28U) |
||
9 | mjames | 7327 | #define CAN_F10R1_FB28_Msk (0x1UL << CAN_F10R1_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 7328 | #define CAN_F10R1_FB28 CAN_F10R1_FB28_Msk /*!< Filter bit 28 */ |
7329 | #define CAN_F10R1_FB29_Pos (29U) |
||
9 | mjames | 7330 | #define CAN_F10R1_FB29_Msk (0x1UL << CAN_F10R1_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 7331 | #define CAN_F10R1_FB29 CAN_F10R1_FB29_Msk /*!< Filter bit 29 */ |
7332 | #define CAN_F10R1_FB30_Pos (30U) |
||
9 | mjames | 7333 | #define CAN_F10R1_FB30_Msk (0x1UL << CAN_F10R1_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 7334 | #define CAN_F10R1_FB30 CAN_F10R1_FB30_Msk /*!< Filter bit 30 */ |
7335 | #define CAN_F10R1_FB31_Pos (31U) |
||
9 | mjames | 7336 | #define CAN_F10R1_FB31_Msk (0x1UL << CAN_F10R1_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 7337 | #define CAN_F10R1_FB31 CAN_F10R1_FB31_Msk /*!< Filter bit 31 */ |
7338 | |||
7339 | /******************* Bit definition for CAN_F11R1 register ******************/ |
||
7340 | #define CAN_F11R1_FB0_Pos (0U) |
||
9 | mjames | 7341 | #define CAN_F11R1_FB0_Msk (0x1UL << CAN_F11R1_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 7342 | #define CAN_F11R1_FB0 CAN_F11R1_FB0_Msk /*!< Filter bit 0 */ |
7343 | #define CAN_F11R1_FB1_Pos (1U) |
||
9 | mjames | 7344 | #define CAN_F11R1_FB1_Msk (0x1UL << CAN_F11R1_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 7345 | #define CAN_F11R1_FB1 CAN_F11R1_FB1_Msk /*!< Filter bit 1 */ |
7346 | #define CAN_F11R1_FB2_Pos (2U) |
||
9 | mjames | 7347 | #define CAN_F11R1_FB2_Msk (0x1UL << CAN_F11R1_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 7348 | #define CAN_F11R1_FB2 CAN_F11R1_FB2_Msk /*!< Filter bit 2 */ |
7349 | #define CAN_F11R1_FB3_Pos (3U) |
||
9 | mjames | 7350 | #define CAN_F11R1_FB3_Msk (0x1UL << CAN_F11R1_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 7351 | #define CAN_F11R1_FB3 CAN_F11R1_FB3_Msk /*!< Filter bit 3 */ |
7352 | #define CAN_F11R1_FB4_Pos (4U) |
||
9 | mjames | 7353 | #define CAN_F11R1_FB4_Msk (0x1UL << CAN_F11R1_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 7354 | #define CAN_F11R1_FB4 CAN_F11R1_FB4_Msk /*!< Filter bit 4 */ |
7355 | #define CAN_F11R1_FB5_Pos (5U) |
||
9 | mjames | 7356 | #define CAN_F11R1_FB5_Msk (0x1UL << CAN_F11R1_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 7357 | #define CAN_F11R1_FB5 CAN_F11R1_FB5_Msk /*!< Filter bit 5 */ |
7358 | #define CAN_F11R1_FB6_Pos (6U) |
||
9 | mjames | 7359 | #define CAN_F11R1_FB6_Msk (0x1UL << CAN_F11R1_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 7360 | #define CAN_F11R1_FB6 CAN_F11R1_FB6_Msk /*!< Filter bit 6 */ |
7361 | #define CAN_F11R1_FB7_Pos (7U) |
||
9 | mjames | 7362 | #define CAN_F11R1_FB7_Msk (0x1UL << CAN_F11R1_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 7363 | #define CAN_F11R1_FB7 CAN_F11R1_FB7_Msk /*!< Filter bit 7 */ |
7364 | #define CAN_F11R1_FB8_Pos (8U) |
||
9 | mjames | 7365 | #define CAN_F11R1_FB8_Msk (0x1UL << CAN_F11R1_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 7366 | #define CAN_F11R1_FB8 CAN_F11R1_FB8_Msk /*!< Filter bit 8 */ |
7367 | #define CAN_F11R1_FB9_Pos (9U) |
||
9 | mjames | 7368 | #define CAN_F11R1_FB9_Msk (0x1UL << CAN_F11R1_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 7369 | #define CAN_F11R1_FB9 CAN_F11R1_FB9_Msk /*!< Filter bit 9 */ |
7370 | #define CAN_F11R1_FB10_Pos (10U) |
||
9 | mjames | 7371 | #define CAN_F11R1_FB10_Msk (0x1UL << CAN_F11R1_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 7372 | #define CAN_F11R1_FB10 CAN_F11R1_FB10_Msk /*!< Filter bit 10 */ |
7373 | #define CAN_F11R1_FB11_Pos (11U) |
||
9 | mjames | 7374 | #define CAN_F11R1_FB11_Msk (0x1UL << CAN_F11R1_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 7375 | #define CAN_F11R1_FB11 CAN_F11R1_FB11_Msk /*!< Filter bit 11 */ |
7376 | #define CAN_F11R1_FB12_Pos (12U) |
||
9 | mjames | 7377 | #define CAN_F11R1_FB12_Msk (0x1UL << CAN_F11R1_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 7378 | #define CAN_F11R1_FB12 CAN_F11R1_FB12_Msk /*!< Filter bit 12 */ |
7379 | #define CAN_F11R1_FB13_Pos (13U) |
||
9 | mjames | 7380 | #define CAN_F11R1_FB13_Msk (0x1UL << CAN_F11R1_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 7381 | #define CAN_F11R1_FB13 CAN_F11R1_FB13_Msk /*!< Filter bit 13 */ |
7382 | #define CAN_F11R1_FB14_Pos (14U) |
||
9 | mjames | 7383 | #define CAN_F11R1_FB14_Msk (0x1UL << CAN_F11R1_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 7384 | #define CAN_F11R1_FB14 CAN_F11R1_FB14_Msk /*!< Filter bit 14 */ |
7385 | #define CAN_F11R1_FB15_Pos (15U) |
||
9 | mjames | 7386 | #define CAN_F11R1_FB15_Msk (0x1UL << CAN_F11R1_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 7387 | #define CAN_F11R1_FB15 CAN_F11R1_FB15_Msk /*!< Filter bit 15 */ |
7388 | #define CAN_F11R1_FB16_Pos (16U) |
||
9 | mjames | 7389 | #define CAN_F11R1_FB16_Msk (0x1UL << CAN_F11R1_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 7390 | #define CAN_F11R1_FB16 CAN_F11R1_FB16_Msk /*!< Filter bit 16 */ |
7391 | #define CAN_F11R1_FB17_Pos (17U) |
||
9 | mjames | 7392 | #define CAN_F11R1_FB17_Msk (0x1UL << CAN_F11R1_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 7393 | #define CAN_F11R1_FB17 CAN_F11R1_FB17_Msk /*!< Filter bit 17 */ |
7394 | #define CAN_F11R1_FB18_Pos (18U) |
||
9 | mjames | 7395 | #define CAN_F11R1_FB18_Msk (0x1UL << CAN_F11R1_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 7396 | #define CAN_F11R1_FB18 CAN_F11R1_FB18_Msk /*!< Filter bit 18 */ |
7397 | #define CAN_F11R1_FB19_Pos (19U) |
||
9 | mjames | 7398 | #define CAN_F11R1_FB19_Msk (0x1UL << CAN_F11R1_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 7399 | #define CAN_F11R1_FB19 CAN_F11R1_FB19_Msk /*!< Filter bit 19 */ |
7400 | #define CAN_F11R1_FB20_Pos (20U) |
||
9 | mjames | 7401 | #define CAN_F11R1_FB20_Msk (0x1UL << CAN_F11R1_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 7402 | #define CAN_F11R1_FB20 CAN_F11R1_FB20_Msk /*!< Filter bit 20 */ |
7403 | #define CAN_F11R1_FB21_Pos (21U) |
||
9 | mjames | 7404 | #define CAN_F11R1_FB21_Msk (0x1UL << CAN_F11R1_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 7405 | #define CAN_F11R1_FB21 CAN_F11R1_FB21_Msk /*!< Filter bit 21 */ |
7406 | #define CAN_F11R1_FB22_Pos (22U) |
||
9 | mjames | 7407 | #define CAN_F11R1_FB22_Msk (0x1UL << CAN_F11R1_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 7408 | #define CAN_F11R1_FB22 CAN_F11R1_FB22_Msk /*!< Filter bit 22 */ |
7409 | #define CAN_F11R1_FB23_Pos (23U) |
||
9 | mjames | 7410 | #define CAN_F11R1_FB23_Msk (0x1UL << CAN_F11R1_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 7411 | #define CAN_F11R1_FB23 CAN_F11R1_FB23_Msk /*!< Filter bit 23 */ |
7412 | #define CAN_F11R1_FB24_Pos (24U) |
||
9 | mjames | 7413 | #define CAN_F11R1_FB24_Msk (0x1UL << CAN_F11R1_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 7414 | #define CAN_F11R1_FB24 CAN_F11R1_FB24_Msk /*!< Filter bit 24 */ |
7415 | #define CAN_F11R1_FB25_Pos (25U) |
||
9 | mjames | 7416 | #define CAN_F11R1_FB25_Msk (0x1UL << CAN_F11R1_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 7417 | #define CAN_F11R1_FB25 CAN_F11R1_FB25_Msk /*!< Filter bit 25 */ |
7418 | #define CAN_F11R1_FB26_Pos (26U) |
||
9 | mjames | 7419 | #define CAN_F11R1_FB26_Msk (0x1UL << CAN_F11R1_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 7420 | #define CAN_F11R1_FB26 CAN_F11R1_FB26_Msk /*!< Filter bit 26 */ |
7421 | #define CAN_F11R1_FB27_Pos (27U) |
||
9 | mjames | 7422 | #define CAN_F11R1_FB27_Msk (0x1UL << CAN_F11R1_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 7423 | #define CAN_F11R1_FB27 CAN_F11R1_FB27_Msk /*!< Filter bit 27 */ |
7424 | #define CAN_F11R1_FB28_Pos (28U) |
||
9 | mjames | 7425 | #define CAN_F11R1_FB28_Msk (0x1UL << CAN_F11R1_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 7426 | #define CAN_F11R1_FB28 CAN_F11R1_FB28_Msk /*!< Filter bit 28 */ |
7427 | #define CAN_F11R1_FB29_Pos (29U) |
||
9 | mjames | 7428 | #define CAN_F11R1_FB29_Msk (0x1UL << CAN_F11R1_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 7429 | #define CAN_F11R1_FB29 CAN_F11R1_FB29_Msk /*!< Filter bit 29 */ |
7430 | #define CAN_F11R1_FB30_Pos (30U) |
||
9 | mjames | 7431 | #define CAN_F11R1_FB30_Msk (0x1UL << CAN_F11R1_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 7432 | #define CAN_F11R1_FB30 CAN_F11R1_FB30_Msk /*!< Filter bit 30 */ |
7433 | #define CAN_F11R1_FB31_Pos (31U) |
||
9 | mjames | 7434 | #define CAN_F11R1_FB31_Msk (0x1UL << CAN_F11R1_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 7435 | #define CAN_F11R1_FB31 CAN_F11R1_FB31_Msk /*!< Filter bit 31 */ |
7436 | |||
7437 | /******************* Bit definition for CAN_F12R1 register ******************/ |
||
7438 | #define CAN_F12R1_FB0_Pos (0U) |
||
9 | mjames | 7439 | #define CAN_F12R1_FB0_Msk (0x1UL << CAN_F12R1_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 7440 | #define CAN_F12R1_FB0 CAN_F12R1_FB0_Msk /*!< Filter bit 0 */ |
7441 | #define CAN_F12R1_FB1_Pos (1U) |
||
9 | mjames | 7442 | #define CAN_F12R1_FB1_Msk (0x1UL << CAN_F12R1_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 7443 | #define CAN_F12R1_FB1 CAN_F12R1_FB1_Msk /*!< Filter bit 1 */ |
7444 | #define CAN_F12R1_FB2_Pos (2U) |
||
9 | mjames | 7445 | #define CAN_F12R1_FB2_Msk (0x1UL << CAN_F12R1_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 7446 | #define CAN_F12R1_FB2 CAN_F12R1_FB2_Msk /*!< Filter bit 2 */ |
7447 | #define CAN_F12R1_FB3_Pos (3U) |
||
9 | mjames | 7448 | #define CAN_F12R1_FB3_Msk (0x1UL << CAN_F12R1_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 7449 | #define CAN_F12R1_FB3 CAN_F12R1_FB3_Msk /*!< Filter bit 3 */ |
7450 | #define CAN_F12R1_FB4_Pos (4U) |
||
9 | mjames | 7451 | #define CAN_F12R1_FB4_Msk (0x1UL << CAN_F12R1_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 7452 | #define CAN_F12R1_FB4 CAN_F12R1_FB4_Msk /*!< Filter bit 4 */ |
7453 | #define CAN_F12R1_FB5_Pos (5U) |
||
9 | mjames | 7454 | #define CAN_F12R1_FB5_Msk (0x1UL << CAN_F12R1_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 7455 | #define CAN_F12R1_FB5 CAN_F12R1_FB5_Msk /*!< Filter bit 5 */ |
7456 | #define CAN_F12R1_FB6_Pos (6U) |
||
9 | mjames | 7457 | #define CAN_F12R1_FB6_Msk (0x1UL << CAN_F12R1_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 7458 | #define CAN_F12R1_FB6 CAN_F12R1_FB6_Msk /*!< Filter bit 6 */ |
7459 | #define CAN_F12R1_FB7_Pos (7U) |
||
9 | mjames | 7460 | #define CAN_F12R1_FB7_Msk (0x1UL << CAN_F12R1_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 7461 | #define CAN_F12R1_FB7 CAN_F12R1_FB7_Msk /*!< Filter bit 7 */ |
7462 | #define CAN_F12R1_FB8_Pos (8U) |
||
9 | mjames | 7463 | #define CAN_F12R1_FB8_Msk (0x1UL << CAN_F12R1_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 7464 | #define CAN_F12R1_FB8 CAN_F12R1_FB8_Msk /*!< Filter bit 8 */ |
7465 | #define CAN_F12R1_FB9_Pos (9U) |
||
9 | mjames | 7466 | #define CAN_F12R1_FB9_Msk (0x1UL << CAN_F12R1_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 7467 | #define CAN_F12R1_FB9 CAN_F12R1_FB9_Msk /*!< Filter bit 9 */ |
7468 | #define CAN_F12R1_FB10_Pos (10U) |
||
9 | mjames | 7469 | #define CAN_F12R1_FB10_Msk (0x1UL << CAN_F12R1_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 7470 | #define CAN_F12R1_FB10 CAN_F12R1_FB10_Msk /*!< Filter bit 10 */ |
7471 | #define CAN_F12R1_FB11_Pos (11U) |
||
9 | mjames | 7472 | #define CAN_F12R1_FB11_Msk (0x1UL << CAN_F12R1_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 7473 | #define CAN_F12R1_FB11 CAN_F12R1_FB11_Msk /*!< Filter bit 11 */ |
7474 | #define CAN_F12R1_FB12_Pos (12U) |
||
9 | mjames | 7475 | #define CAN_F12R1_FB12_Msk (0x1UL << CAN_F12R1_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 7476 | #define CAN_F12R1_FB12 CAN_F12R1_FB12_Msk /*!< Filter bit 12 */ |
7477 | #define CAN_F12R1_FB13_Pos (13U) |
||
9 | mjames | 7478 | #define CAN_F12R1_FB13_Msk (0x1UL << CAN_F12R1_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 7479 | #define CAN_F12R1_FB13 CAN_F12R1_FB13_Msk /*!< Filter bit 13 */ |
7480 | #define CAN_F12R1_FB14_Pos (14U) |
||
9 | mjames | 7481 | #define CAN_F12R1_FB14_Msk (0x1UL << CAN_F12R1_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 7482 | #define CAN_F12R1_FB14 CAN_F12R1_FB14_Msk /*!< Filter bit 14 */ |
7483 | #define CAN_F12R1_FB15_Pos (15U) |
||
9 | mjames | 7484 | #define CAN_F12R1_FB15_Msk (0x1UL << CAN_F12R1_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 7485 | #define CAN_F12R1_FB15 CAN_F12R1_FB15_Msk /*!< Filter bit 15 */ |
7486 | #define CAN_F12R1_FB16_Pos (16U) |
||
9 | mjames | 7487 | #define CAN_F12R1_FB16_Msk (0x1UL << CAN_F12R1_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 7488 | #define CAN_F12R1_FB16 CAN_F12R1_FB16_Msk /*!< Filter bit 16 */ |
7489 | #define CAN_F12R1_FB17_Pos (17U) |
||
9 | mjames | 7490 | #define CAN_F12R1_FB17_Msk (0x1UL << CAN_F12R1_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 7491 | #define CAN_F12R1_FB17 CAN_F12R1_FB17_Msk /*!< Filter bit 17 */ |
7492 | #define CAN_F12R1_FB18_Pos (18U) |
||
9 | mjames | 7493 | #define CAN_F12R1_FB18_Msk (0x1UL << CAN_F12R1_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 7494 | #define CAN_F12R1_FB18 CAN_F12R1_FB18_Msk /*!< Filter bit 18 */ |
7495 | #define CAN_F12R1_FB19_Pos (19U) |
||
9 | mjames | 7496 | #define CAN_F12R1_FB19_Msk (0x1UL << CAN_F12R1_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 7497 | #define CAN_F12R1_FB19 CAN_F12R1_FB19_Msk /*!< Filter bit 19 */ |
7498 | #define CAN_F12R1_FB20_Pos (20U) |
||
9 | mjames | 7499 | #define CAN_F12R1_FB20_Msk (0x1UL << CAN_F12R1_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 7500 | #define CAN_F12R1_FB20 CAN_F12R1_FB20_Msk /*!< Filter bit 20 */ |
7501 | #define CAN_F12R1_FB21_Pos (21U) |
||
9 | mjames | 7502 | #define CAN_F12R1_FB21_Msk (0x1UL << CAN_F12R1_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 7503 | #define CAN_F12R1_FB21 CAN_F12R1_FB21_Msk /*!< Filter bit 21 */ |
7504 | #define CAN_F12R1_FB22_Pos (22U) |
||
9 | mjames | 7505 | #define CAN_F12R1_FB22_Msk (0x1UL << CAN_F12R1_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 7506 | #define CAN_F12R1_FB22 CAN_F12R1_FB22_Msk /*!< Filter bit 22 */ |
7507 | #define CAN_F12R1_FB23_Pos (23U) |
||
9 | mjames | 7508 | #define CAN_F12R1_FB23_Msk (0x1UL << CAN_F12R1_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 7509 | #define CAN_F12R1_FB23 CAN_F12R1_FB23_Msk /*!< Filter bit 23 */ |
7510 | #define CAN_F12R1_FB24_Pos (24U) |
||
9 | mjames | 7511 | #define CAN_F12R1_FB24_Msk (0x1UL << CAN_F12R1_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 7512 | #define CAN_F12R1_FB24 CAN_F12R1_FB24_Msk /*!< Filter bit 24 */ |
7513 | #define CAN_F12R1_FB25_Pos (25U) |
||
9 | mjames | 7514 | #define CAN_F12R1_FB25_Msk (0x1UL << CAN_F12R1_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 7515 | #define CAN_F12R1_FB25 CAN_F12R1_FB25_Msk /*!< Filter bit 25 */ |
7516 | #define CAN_F12R1_FB26_Pos (26U) |
||
9 | mjames | 7517 | #define CAN_F12R1_FB26_Msk (0x1UL << CAN_F12R1_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 7518 | #define CAN_F12R1_FB26 CAN_F12R1_FB26_Msk /*!< Filter bit 26 */ |
7519 | #define CAN_F12R1_FB27_Pos (27U) |
||
9 | mjames | 7520 | #define CAN_F12R1_FB27_Msk (0x1UL << CAN_F12R1_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 7521 | #define CAN_F12R1_FB27 CAN_F12R1_FB27_Msk /*!< Filter bit 27 */ |
7522 | #define CAN_F12R1_FB28_Pos (28U) |
||
9 | mjames | 7523 | #define CAN_F12R1_FB28_Msk (0x1UL << CAN_F12R1_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 7524 | #define CAN_F12R1_FB28 CAN_F12R1_FB28_Msk /*!< Filter bit 28 */ |
7525 | #define CAN_F12R1_FB29_Pos (29U) |
||
9 | mjames | 7526 | #define CAN_F12R1_FB29_Msk (0x1UL << CAN_F12R1_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 7527 | #define CAN_F12R1_FB29 CAN_F12R1_FB29_Msk /*!< Filter bit 29 */ |
7528 | #define CAN_F12R1_FB30_Pos (30U) |
||
9 | mjames | 7529 | #define CAN_F12R1_FB30_Msk (0x1UL << CAN_F12R1_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 7530 | #define CAN_F12R1_FB30 CAN_F12R1_FB30_Msk /*!< Filter bit 30 */ |
7531 | #define CAN_F12R1_FB31_Pos (31U) |
||
9 | mjames | 7532 | #define CAN_F12R1_FB31_Msk (0x1UL << CAN_F12R1_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 7533 | #define CAN_F12R1_FB31 CAN_F12R1_FB31_Msk /*!< Filter bit 31 */ |
7534 | |||
7535 | /******************* Bit definition for CAN_F13R1 register ******************/ |
||
7536 | #define CAN_F13R1_FB0_Pos (0U) |
||
9 | mjames | 7537 | #define CAN_F13R1_FB0_Msk (0x1UL << CAN_F13R1_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 7538 | #define CAN_F13R1_FB0 CAN_F13R1_FB0_Msk /*!< Filter bit 0 */ |
7539 | #define CAN_F13R1_FB1_Pos (1U) |
||
9 | mjames | 7540 | #define CAN_F13R1_FB1_Msk (0x1UL << CAN_F13R1_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 7541 | #define CAN_F13R1_FB1 CAN_F13R1_FB1_Msk /*!< Filter bit 1 */ |
7542 | #define CAN_F13R1_FB2_Pos (2U) |
||
9 | mjames | 7543 | #define CAN_F13R1_FB2_Msk (0x1UL << CAN_F13R1_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 7544 | #define CAN_F13R1_FB2 CAN_F13R1_FB2_Msk /*!< Filter bit 2 */ |
7545 | #define CAN_F13R1_FB3_Pos (3U) |
||
9 | mjames | 7546 | #define CAN_F13R1_FB3_Msk (0x1UL << CAN_F13R1_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 7547 | #define CAN_F13R1_FB3 CAN_F13R1_FB3_Msk /*!< Filter bit 3 */ |
7548 | #define CAN_F13R1_FB4_Pos (4U) |
||
9 | mjames | 7549 | #define CAN_F13R1_FB4_Msk (0x1UL << CAN_F13R1_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 7550 | #define CAN_F13R1_FB4 CAN_F13R1_FB4_Msk /*!< Filter bit 4 */ |
7551 | #define CAN_F13R1_FB5_Pos (5U) |
||
9 | mjames | 7552 | #define CAN_F13R1_FB5_Msk (0x1UL << CAN_F13R1_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 7553 | #define CAN_F13R1_FB5 CAN_F13R1_FB5_Msk /*!< Filter bit 5 */ |
7554 | #define CAN_F13R1_FB6_Pos (6U) |
||
9 | mjames | 7555 | #define CAN_F13R1_FB6_Msk (0x1UL << CAN_F13R1_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 7556 | #define CAN_F13R1_FB6 CAN_F13R1_FB6_Msk /*!< Filter bit 6 */ |
7557 | #define CAN_F13R1_FB7_Pos (7U) |
||
9 | mjames | 7558 | #define CAN_F13R1_FB7_Msk (0x1UL << CAN_F13R1_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 7559 | #define CAN_F13R1_FB7 CAN_F13R1_FB7_Msk /*!< Filter bit 7 */ |
7560 | #define CAN_F13R1_FB8_Pos (8U) |
||
9 | mjames | 7561 | #define CAN_F13R1_FB8_Msk (0x1UL << CAN_F13R1_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 7562 | #define CAN_F13R1_FB8 CAN_F13R1_FB8_Msk /*!< Filter bit 8 */ |
7563 | #define CAN_F13R1_FB9_Pos (9U) |
||
9 | mjames | 7564 | #define CAN_F13R1_FB9_Msk (0x1UL << CAN_F13R1_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 7565 | #define CAN_F13R1_FB9 CAN_F13R1_FB9_Msk /*!< Filter bit 9 */ |
7566 | #define CAN_F13R1_FB10_Pos (10U) |
||
9 | mjames | 7567 | #define CAN_F13R1_FB10_Msk (0x1UL << CAN_F13R1_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 7568 | #define CAN_F13R1_FB10 CAN_F13R1_FB10_Msk /*!< Filter bit 10 */ |
7569 | #define CAN_F13R1_FB11_Pos (11U) |
||
9 | mjames | 7570 | #define CAN_F13R1_FB11_Msk (0x1UL << CAN_F13R1_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 7571 | #define CAN_F13R1_FB11 CAN_F13R1_FB11_Msk /*!< Filter bit 11 */ |
7572 | #define CAN_F13R1_FB12_Pos (12U) |
||
9 | mjames | 7573 | #define CAN_F13R1_FB12_Msk (0x1UL << CAN_F13R1_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 7574 | #define CAN_F13R1_FB12 CAN_F13R1_FB12_Msk /*!< Filter bit 12 */ |
7575 | #define CAN_F13R1_FB13_Pos (13U) |
||
9 | mjames | 7576 | #define CAN_F13R1_FB13_Msk (0x1UL << CAN_F13R1_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 7577 | #define CAN_F13R1_FB13 CAN_F13R1_FB13_Msk /*!< Filter bit 13 */ |
7578 | #define CAN_F13R1_FB14_Pos (14U) |
||
9 | mjames | 7579 | #define CAN_F13R1_FB14_Msk (0x1UL << CAN_F13R1_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 7580 | #define CAN_F13R1_FB14 CAN_F13R1_FB14_Msk /*!< Filter bit 14 */ |
7581 | #define CAN_F13R1_FB15_Pos (15U) |
||
9 | mjames | 7582 | #define CAN_F13R1_FB15_Msk (0x1UL << CAN_F13R1_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 7583 | #define CAN_F13R1_FB15 CAN_F13R1_FB15_Msk /*!< Filter bit 15 */ |
7584 | #define CAN_F13R1_FB16_Pos (16U) |
||
9 | mjames | 7585 | #define CAN_F13R1_FB16_Msk (0x1UL << CAN_F13R1_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 7586 | #define CAN_F13R1_FB16 CAN_F13R1_FB16_Msk /*!< Filter bit 16 */ |
7587 | #define CAN_F13R1_FB17_Pos (17U) |
||
9 | mjames | 7588 | #define CAN_F13R1_FB17_Msk (0x1UL << CAN_F13R1_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 7589 | #define CAN_F13R1_FB17 CAN_F13R1_FB17_Msk /*!< Filter bit 17 */ |
7590 | #define CAN_F13R1_FB18_Pos (18U) |
||
9 | mjames | 7591 | #define CAN_F13R1_FB18_Msk (0x1UL << CAN_F13R1_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 7592 | #define CAN_F13R1_FB18 CAN_F13R1_FB18_Msk /*!< Filter bit 18 */ |
7593 | #define CAN_F13R1_FB19_Pos (19U) |
||
9 | mjames | 7594 | #define CAN_F13R1_FB19_Msk (0x1UL << CAN_F13R1_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 7595 | #define CAN_F13R1_FB19 CAN_F13R1_FB19_Msk /*!< Filter bit 19 */ |
7596 | #define CAN_F13R1_FB20_Pos (20U) |
||
9 | mjames | 7597 | #define CAN_F13R1_FB20_Msk (0x1UL << CAN_F13R1_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 7598 | #define CAN_F13R1_FB20 CAN_F13R1_FB20_Msk /*!< Filter bit 20 */ |
7599 | #define CAN_F13R1_FB21_Pos (21U) |
||
9 | mjames | 7600 | #define CAN_F13R1_FB21_Msk (0x1UL << CAN_F13R1_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 7601 | #define CAN_F13R1_FB21 CAN_F13R1_FB21_Msk /*!< Filter bit 21 */ |
7602 | #define CAN_F13R1_FB22_Pos (22U) |
||
9 | mjames | 7603 | #define CAN_F13R1_FB22_Msk (0x1UL << CAN_F13R1_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 7604 | #define CAN_F13R1_FB22 CAN_F13R1_FB22_Msk /*!< Filter bit 22 */ |
7605 | #define CAN_F13R1_FB23_Pos (23U) |
||
9 | mjames | 7606 | #define CAN_F13R1_FB23_Msk (0x1UL << CAN_F13R1_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 7607 | #define CAN_F13R1_FB23 CAN_F13R1_FB23_Msk /*!< Filter bit 23 */ |
7608 | #define CAN_F13R1_FB24_Pos (24U) |
||
9 | mjames | 7609 | #define CAN_F13R1_FB24_Msk (0x1UL << CAN_F13R1_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 7610 | #define CAN_F13R1_FB24 CAN_F13R1_FB24_Msk /*!< Filter bit 24 */ |
7611 | #define CAN_F13R1_FB25_Pos (25U) |
||
9 | mjames | 7612 | #define CAN_F13R1_FB25_Msk (0x1UL << CAN_F13R1_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 7613 | #define CAN_F13R1_FB25 CAN_F13R1_FB25_Msk /*!< Filter bit 25 */ |
7614 | #define CAN_F13R1_FB26_Pos (26U) |
||
9 | mjames | 7615 | #define CAN_F13R1_FB26_Msk (0x1UL << CAN_F13R1_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 7616 | #define CAN_F13R1_FB26 CAN_F13R1_FB26_Msk /*!< Filter bit 26 */ |
7617 | #define CAN_F13R1_FB27_Pos (27U) |
||
9 | mjames | 7618 | #define CAN_F13R1_FB27_Msk (0x1UL << CAN_F13R1_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 7619 | #define CAN_F13R1_FB27 CAN_F13R1_FB27_Msk /*!< Filter bit 27 */ |
7620 | #define CAN_F13R1_FB28_Pos (28U) |
||
9 | mjames | 7621 | #define CAN_F13R1_FB28_Msk (0x1UL << CAN_F13R1_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 7622 | #define CAN_F13R1_FB28 CAN_F13R1_FB28_Msk /*!< Filter bit 28 */ |
7623 | #define CAN_F13R1_FB29_Pos (29U) |
||
9 | mjames | 7624 | #define CAN_F13R1_FB29_Msk (0x1UL << CAN_F13R1_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 7625 | #define CAN_F13R1_FB29 CAN_F13R1_FB29_Msk /*!< Filter bit 29 */ |
7626 | #define CAN_F13R1_FB30_Pos (30U) |
||
9 | mjames | 7627 | #define CAN_F13R1_FB30_Msk (0x1UL << CAN_F13R1_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 7628 | #define CAN_F13R1_FB30 CAN_F13R1_FB30_Msk /*!< Filter bit 30 */ |
7629 | #define CAN_F13R1_FB31_Pos (31U) |
||
9 | mjames | 7630 | #define CAN_F13R1_FB31_Msk (0x1UL << CAN_F13R1_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 7631 | #define CAN_F13R1_FB31 CAN_F13R1_FB31_Msk /*!< Filter bit 31 */ |
7632 | |||
7633 | /******************* Bit definition for CAN_F14R1 register ******************/ |
||
7634 | #define CAN_F14R1_FB0_Pos (0U) |
||
9 | mjames | 7635 | #define CAN_F14R1_FB0_Msk (0x1UL << CAN_F14R1_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 7636 | #define CAN_F14R1_FB0 CAN_F14R1_FB0_Msk /*!< Filter bit 0 */ |
7637 | #define CAN_F14R1_FB1_Pos (1U) |
||
9 | mjames | 7638 | #define CAN_F14R1_FB1_Msk (0x1UL << CAN_F14R1_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 7639 | #define CAN_F14R1_FB1 CAN_F14R1_FB1_Msk /*!< Filter bit 1 */ |
7640 | #define CAN_F14R1_FB2_Pos (2U) |
||
9 | mjames | 7641 | #define CAN_F14R1_FB2_Msk (0x1UL << CAN_F14R1_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 7642 | #define CAN_F14R1_FB2 CAN_F14R1_FB2_Msk /*!< Filter bit 2 */ |
7643 | #define CAN_F14R1_FB3_Pos (3U) |
||
9 | mjames | 7644 | #define CAN_F14R1_FB3_Msk (0x1UL << CAN_F14R1_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 7645 | #define CAN_F14R1_FB3 CAN_F14R1_FB3_Msk /*!< Filter bit 3 */ |
7646 | #define CAN_F14R1_FB4_Pos (4U) |
||
9 | mjames | 7647 | #define CAN_F14R1_FB4_Msk (0x1UL << CAN_F14R1_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 7648 | #define CAN_F14R1_FB4 CAN_F14R1_FB4_Msk /*!< Filter bit 4 */ |
7649 | #define CAN_F14R1_FB5_Pos (5U) |
||
9 | mjames | 7650 | #define CAN_F14R1_FB5_Msk (0x1UL << CAN_F14R1_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 7651 | #define CAN_F14R1_FB5 CAN_F14R1_FB5_Msk /*!< Filter bit 5 */ |
7652 | #define CAN_F14R1_FB6_Pos (6U) |
||
9 | mjames | 7653 | #define CAN_F14R1_FB6_Msk (0x1UL << CAN_F14R1_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 7654 | #define CAN_F14R1_FB6 CAN_F14R1_FB6_Msk /*!< Filter bit 6 */ |
7655 | #define CAN_F14R1_FB7_Pos (7U) |
||
9 | mjames | 7656 | #define CAN_F14R1_FB7_Msk (0x1UL << CAN_F14R1_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 7657 | #define CAN_F14R1_FB7 CAN_F14R1_FB7_Msk /*!< Filter bit 7 */ |
7658 | #define CAN_F14R1_FB8_Pos (8U) |
||
9 | mjames | 7659 | #define CAN_F14R1_FB8_Msk (0x1UL << CAN_F14R1_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 7660 | #define CAN_F14R1_FB8 CAN_F14R1_FB8_Msk /*!< Filter bit 8 */ |
7661 | #define CAN_F14R1_FB9_Pos (9U) |
||
9 | mjames | 7662 | #define CAN_F14R1_FB9_Msk (0x1UL << CAN_F14R1_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 7663 | #define CAN_F14R1_FB9 CAN_F14R1_FB9_Msk /*!< Filter bit 9 */ |
7664 | #define CAN_F14R1_FB10_Pos (10U) |
||
9 | mjames | 7665 | #define CAN_F14R1_FB10_Msk (0x1UL << CAN_F14R1_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 7666 | #define CAN_F14R1_FB10 CAN_F14R1_FB10_Msk /*!< Filter bit 10 */ |
7667 | #define CAN_F14R1_FB11_Pos (11U) |
||
9 | mjames | 7668 | #define CAN_F14R1_FB11_Msk (0x1UL << CAN_F14R1_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 7669 | #define CAN_F14R1_FB11 CAN_F14R1_FB11_Msk /*!< Filter bit 11 */ |
7670 | #define CAN_F14R1_FB12_Pos (12U) |
||
9 | mjames | 7671 | #define CAN_F14R1_FB12_Msk (0x1UL << CAN_F14R1_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 7672 | #define CAN_F14R1_FB12 CAN_F14R1_FB12_Msk /*!< Filter bit 12 */ |
7673 | #define CAN_F14R1_FB13_Pos (13U) |
||
9 | mjames | 7674 | #define CAN_F14R1_FB13_Msk (0x1UL << CAN_F14R1_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 7675 | #define CAN_F14R1_FB13 CAN_F14R1_FB13_Msk /*!< Filter bit 13 */ |
7676 | #define CAN_F14R1_FB14_Pos (14U) |
||
9 | mjames | 7677 | #define CAN_F14R1_FB14_Msk (0x1UL << CAN_F14R1_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 7678 | #define CAN_F14R1_FB14 CAN_F14R1_FB14_Msk /*!< Filter bit 14 */ |
7679 | #define CAN_F14R1_FB15_Pos (15U) |
||
9 | mjames | 7680 | #define CAN_F14R1_FB15_Msk (0x1UL << CAN_F14R1_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 7681 | #define CAN_F14R1_FB15 CAN_F14R1_FB15_Msk /*!< Filter bit 15 */ |
7682 | #define CAN_F14R1_FB16_Pos (16U) |
||
9 | mjames | 7683 | #define CAN_F14R1_FB16_Msk (0x1UL << CAN_F14R1_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 7684 | #define CAN_F14R1_FB16 CAN_F14R1_FB16_Msk /*!< Filter bit 16 */ |
7685 | #define CAN_F14R1_FB17_Pos (17U) |
||
9 | mjames | 7686 | #define CAN_F14R1_FB17_Msk (0x1UL << CAN_F14R1_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 7687 | #define CAN_F14R1_FB17 CAN_F14R1_FB17_Msk /*!< Filter bit 17 */ |
7688 | #define CAN_F14R1_FB18_Pos (18U) |
||
9 | mjames | 7689 | #define CAN_F14R1_FB18_Msk (0x1UL << CAN_F14R1_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 7690 | #define CAN_F14R1_FB18 CAN_F14R1_FB18_Msk /*!< Filter bit 18 */ |
7691 | #define CAN_F14R1_FB19_Pos (19U) |
||
9 | mjames | 7692 | #define CAN_F14R1_FB19_Msk (0x1UL << CAN_F14R1_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 7693 | #define CAN_F14R1_FB19 CAN_F14R1_FB19_Msk /*!< Filter bit 19 */ |
7694 | #define CAN_F14R1_FB20_Pos (20U) |
||
9 | mjames | 7695 | #define CAN_F14R1_FB20_Msk (0x1UL << CAN_F14R1_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 7696 | #define CAN_F14R1_FB20 CAN_F14R1_FB20_Msk /*!< Filter bit 20 */ |
7697 | #define CAN_F14R1_FB21_Pos (21U) |
||
9 | mjames | 7698 | #define CAN_F14R1_FB21_Msk (0x1UL << CAN_F14R1_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 7699 | #define CAN_F14R1_FB21 CAN_F14R1_FB21_Msk /*!< Filter bit 21 */ |
7700 | #define CAN_F14R1_FB22_Pos (22U) |
||
9 | mjames | 7701 | #define CAN_F14R1_FB22_Msk (0x1UL << CAN_F14R1_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 7702 | #define CAN_F14R1_FB22 CAN_F14R1_FB22_Msk /*!< Filter bit 22 */ |
7703 | #define CAN_F14R1_FB23_Pos (23U) |
||
9 | mjames | 7704 | #define CAN_F14R1_FB23_Msk (0x1UL << CAN_F14R1_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 7705 | #define CAN_F14R1_FB23 CAN_F14R1_FB23_Msk /*!< Filter bit 23 */ |
7706 | #define CAN_F14R1_FB24_Pos (24U) |
||
9 | mjames | 7707 | #define CAN_F14R1_FB24_Msk (0x1UL << CAN_F14R1_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 7708 | #define CAN_F14R1_FB24 CAN_F14R1_FB24_Msk /*!< Filter bit 24 */ |
7709 | #define CAN_F14R1_FB25_Pos (25U) |
||
9 | mjames | 7710 | #define CAN_F14R1_FB25_Msk (0x1UL << CAN_F14R1_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 7711 | #define CAN_F14R1_FB25 CAN_F14R1_FB25_Msk /*!< Filter bit 25 */ |
7712 | #define CAN_F14R1_FB26_Pos (26U) |
||
9 | mjames | 7713 | #define CAN_F14R1_FB26_Msk (0x1UL << CAN_F14R1_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 7714 | #define CAN_F14R1_FB26 CAN_F14R1_FB26_Msk /*!< Filter bit 26 */ |
7715 | #define CAN_F14R1_FB27_Pos (27U) |
||
9 | mjames | 7716 | #define CAN_F14R1_FB27_Msk (0x1UL << CAN_F14R1_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 7717 | #define CAN_F14R1_FB27 CAN_F14R1_FB27_Msk /*!< Filter bit 27 */ |
7718 | #define CAN_F14R1_FB28_Pos (28U) |
||
9 | mjames | 7719 | #define CAN_F14R1_FB28_Msk (0x1UL << CAN_F14R1_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 7720 | #define CAN_F14R1_FB28 CAN_F14R1_FB28_Msk /*!< Filter bit 28 */ |
7721 | #define CAN_F14R1_FB29_Pos (29U) |
||
9 | mjames | 7722 | #define CAN_F14R1_FB29_Msk (0x1UL << CAN_F14R1_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 7723 | #define CAN_F14R1_FB29 CAN_F14R1_FB29_Msk /*!< Filter bit 29 */ |
7724 | #define CAN_F14R1_FB30_Pos (30U) |
||
9 | mjames | 7725 | #define CAN_F14R1_FB30_Msk (0x1UL << CAN_F14R1_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 7726 | #define CAN_F14R1_FB30 CAN_F14R1_FB30_Msk /*!< Filter bit 30 */ |
7727 | #define CAN_F14R1_FB31_Pos (31U) |
||
9 | mjames | 7728 | #define CAN_F14R1_FB31_Msk (0x1UL << CAN_F14R1_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 7729 | #define CAN_F14R1_FB31 CAN_F14R1_FB31_Msk /*!< Filter bit 31 */ |
7730 | |||
7731 | /******************* Bit definition for CAN_F15R1 register ******************/ |
||
7732 | #define CAN_F15R1_FB0_Pos (0U) |
||
9 | mjames | 7733 | #define CAN_F15R1_FB0_Msk (0x1UL << CAN_F15R1_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 7734 | #define CAN_F15R1_FB0 CAN_F15R1_FB0_Msk /*!< Filter bit 0 */ |
7735 | #define CAN_F15R1_FB1_Pos (1U) |
||
9 | mjames | 7736 | #define CAN_F15R1_FB1_Msk (0x1UL << CAN_F15R1_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 7737 | #define CAN_F15R1_FB1 CAN_F15R1_FB1_Msk /*!< Filter bit 1 */ |
7738 | #define CAN_F15R1_FB2_Pos (2U) |
||
9 | mjames | 7739 | #define CAN_F15R1_FB2_Msk (0x1UL << CAN_F15R1_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 7740 | #define CAN_F15R1_FB2 CAN_F15R1_FB2_Msk /*!< Filter bit 2 */ |
7741 | #define CAN_F15R1_FB3_Pos (3U) |
||
9 | mjames | 7742 | #define CAN_F15R1_FB3_Msk (0x1UL << CAN_F15R1_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 7743 | #define CAN_F15R1_FB3 CAN_F15R1_FB3_Msk /*!< Filter bit 3 */ |
7744 | #define CAN_F15R1_FB4_Pos (4U) |
||
9 | mjames | 7745 | #define CAN_F15R1_FB4_Msk (0x1UL << CAN_F15R1_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 7746 | #define CAN_F15R1_FB4 CAN_F15R1_FB4_Msk /*!< Filter bit 4 */ |
7747 | #define CAN_F15R1_FB5_Pos (5U) |
||
9 | mjames | 7748 | #define CAN_F15R1_FB5_Msk (0x1UL << CAN_F15R1_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 7749 | #define CAN_F15R1_FB5 CAN_F15R1_FB5_Msk /*!< Filter bit 5 */ |
7750 | #define CAN_F15R1_FB6_Pos (6U) |
||
9 | mjames | 7751 | #define CAN_F15R1_FB6_Msk (0x1UL << CAN_F15R1_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 7752 | #define CAN_F15R1_FB6 CAN_F15R1_FB6_Msk /*!< Filter bit 6 */ |
7753 | #define CAN_F15R1_FB7_Pos (7U) |
||
9 | mjames | 7754 | #define CAN_F15R1_FB7_Msk (0x1UL << CAN_F15R1_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 7755 | #define CAN_F15R1_FB7 CAN_F15R1_FB7_Msk /*!< Filter bit 7 */ |
7756 | #define CAN_F15R1_FB8_Pos (8U) |
||
9 | mjames | 7757 | #define CAN_F15R1_FB8_Msk (0x1UL << CAN_F15R1_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 7758 | #define CAN_F15R1_FB8 CAN_F15R1_FB8_Msk /*!< Filter bit 8 */ |
7759 | #define CAN_F15R1_FB9_Pos (9U) |
||
9 | mjames | 7760 | #define CAN_F15R1_FB9_Msk (0x1UL << CAN_F15R1_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 7761 | #define CAN_F15R1_FB9 CAN_F15R1_FB9_Msk /*!< Filter bit 9 */ |
7762 | #define CAN_F15R1_FB10_Pos (10U) |
||
9 | mjames | 7763 | #define CAN_F15R1_FB10_Msk (0x1UL << CAN_F15R1_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 7764 | #define CAN_F15R1_FB10 CAN_F15R1_FB10_Msk /*!< Filter bit 10 */ |
7765 | #define CAN_F15R1_FB11_Pos (11U) |
||
9 | mjames | 7766 | #define CAN_F15R1_FB11_Msk (0x1UL << CAN_F15R1_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 7767 | #define CAN_F15R1_FB11 CAN_F15R1_FB11_Msk /*!< Filter bit 11 */ |
7768 | #define CAN_F15R1_FB12_Pos (12U) |
||
9 | mjames | 7769 | #define CAN_F15R1_FB12_Msk (0x1UL << CAN_F15R1_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 7770 | #define CAN_F15R1_FB12 CAN_F15R1_FB12_Msk /*!< Filter bit 12 */ |
7771 | #define CAN_F15R1_FB13_Pos (13U) |
||
9 | mjames | 7772 | #define CAN_F15R1_FB13_Msk (0x1UL << CAN_F15R1_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 7773 | #define CAN_F15R1_FB13 CAN_F15R1_FB13_Msk /*!< Filter bit 13 */ |
7774 | #define CAN_F15R1_FB14_Pos (14U) |
||
9 | mjames | 7775 | #define CAN_F15R1_FB14_Msk (0x1UL << CAN_F15R1_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 7776 | #define CAN_F15R1_FB14 CAN_F15R1_FB14_Msk /*!< Filter bit 14 */ |
7777 | #define CAN_F15R1_FB15_Pos (15U) |
||
9 | mjames | 7778 | #define CAN_F15R1_FB15_Msk (0x1UL << CAN_F15R1_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 7779 | #define CAN_F15R1_FB15 CAN_F15R1_FB15_Msk /*!< Filter bit 15 */ |
7780 | #define CAN_F15R1_FB16_Pos (16U) |
||
9 | mjames | 7781 | #define CAN_F15R1_FB16_Msk (0x1UL << CAN_F15R1_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 7782 | #define CAN_F15R1_FB16 CAN_F15R1_FB16_Msk /*!< Filter bit 16 */ |
7783 | #define CAN_F15R1_FB17_Pos (17U) |
||
9 | mjames | 7784 | #define CAN_F15R1_FB17_Msk (0x1UL << CAN_F15R1_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 7785 | #define CAN_F15R1_FB17 CAN_F15R1_FB17_Msk /*!< Filter bit 17 */ |
7786 | #define CAN_F15R1_FB18_Pos (18U) |
||
9 | mjames | 7787 | #define CAN_F15R1_FB18_Msk (0x1UL << CAN_F15R1_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 7788 | #define CAN_F15R1_FB18 CAN_F15R1_FB18_Msk /*!< Filter bit 18 */ |
7789 | #define CAN_F15R1_FB19_Pos (19U) |
||
9 | mjames | 7790 | #define CAN_F15R1_FB19_Msk (0x1UL << CAN_F15R1_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 7791 | #define CAN_F15R1_FB19 CAN_F15R1_FB19_Msk /*!< Filter bit 19 */ |
7792 | #define CAN_F15R1_FB20_Pos (20U) |
||
9 | mjames | 7793 | #define CAN_F15R1_FB20_Msk (0x1UL << CAN_F15R1_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 7794 | #define CAN_F15R1_FB20 CAN_F15R1_FB20_Msk /*!< Filter bit 20 */ |
7795 | #define CAN_F15R1_FB21_Pos (21U) |
||
9 | mjames | 7796 | #define CAN_F15R1_FB21_Msk (0x1UL << CAN_F15R1_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 7797 | #define CAN_F15R1_FB21 CAN_F15R1_FB21_Msk /*!< Filter bit 21 */ |
7798 | #define CAN_F15R1_FB22_Pos (22U) |
||
9 | mjames | 7799 | #define CAN_F15R1_FB22_Msk (0x1UL << CAN_F15R1_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 7800 | #define CAN_F15R1_FB22 CAN_F15R1_FB22_Msk /*!< Filter bit 22 */ |
7801 | #define CAN_F15R1_FB23_Pos (23U) |
||
9 | mjames | 7802 | #define CAN_F15R1_FB23_Msk (0x1UL << CAN_F15R1_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 7803 | #define CAN_F15R1_FB23 CAN_F15R1_FB23_Msk /*!< Filter bit 23 */ |
7804 | #define CAN_F15R1_FB24_Pos (24U) |
||
9 | mjames | 7805 | #define CAN_F15R1_FB24_Msk (0x1UL << CAN_F15R1_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 7806 | #define CAN_F15R1_FB24 CAN_F15R1_FB24_Msk /*!< Filter bit 24 */ |
7807 | #define CAN_F15R1_FB25_Pos (25U) |
||
9 | mjames | 7808 | #define CAN_F15R1_FB25_Msk (0x1UL << CAN_F15R1_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 7809 | #define CAN_F15R1_FB25 CAN_F15R1_FB25_Msk /*!< Filter bit 25 */ |
7810 | #define CAN_F15R1_FB26_Pos (26U) |
||
9 | mjames | 7811 | #define CAN_F15R1_FB26_Msk (0x1UL << CAN_F15R1_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 7812 | #define CAN_F15R1_FB26 CAN_F15R1_FB26_Msk /*!< Filter bit 26 */ |
7813 | #define CAN_F15R1_FB27_Pos (27U) |
||
9 | mjames | 7814 | #define CAN_F15R1_FB27_Msk (0x1UL << CAN_F15R1_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 7815 | #define CAN_F15R1_FB27 CAN_F15R1_FB27_Msk /*!< Filter bit 27 */ |
7816 | #define CAN_F15R1_FB28_Pos (28U) |
||
9 | mjames | 7817 | #define CAN_F15R1_FB28_Msk (0x1UL << CAN_F15R1_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 7818 | #define CAN_F15R1_FB28 CAN_F15R1_FB28_Msk /*!< Filter bit 28 */ |
7819 | #define CAN_F15R1_FB29_Pos (29U) |
||
9 | mjames | 7820 | #define CAN_F15R1_FB29_Msk (0x1UL << CAN_F15R1_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 7821 | #define CAN_F15R1_FB29 CAN_F15R1_FB29_Msk /*!< Filter bit 29 */ |
7822 | #define CAN_F15R1_FB30_Pos (30U) |
||
9 | mjames | 7823 | #define CAN_F15R1_FB30_Msk (0x1UL << CAN_F15R1_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 7824 | #define CAN_F15R1_FB30 CAN_F15R1_FB30_Msk /*!< Filter bit 30 */ |
7825 | #define CAN_F15R1_FB31_Pos (31U) |
||
9 | mjames | 7826 | #define CAN_F15R1_FB31_Msk (0x1UL << CAN_F15R1_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 7827 | #define CAN_F15R1_FB31 CAN_F15R1_FB31_Msk /*!< Filter bit 31 */ |
7828 | |||
7829 | /******************* Bit definition for CAN_F16R1 register ******************/ |
||
7830 | #define CAN_F16R1_FB0_Pos (0U) |
||
9 | mjames | 7831 | #define CAN_F16R1_FB0_Msk (0x1UL << CAN_F16R1_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 7832 | #define CAN_F16R1_FB0 CAN_F16R1_FB0_Msk /*!< Filter bit 0 */ |
7833 | #define CAN_F16R1_FB1_Pos (1U) |
||
9 | mjames | 7834 | #define CAN_F16R1_FB1_Msk (0x1UL << CAN_F16R1_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 7835 | #define CAN_F16R1_FB1 CAN_F16R1_FB1_Msk /*!< Filter bit 1 */ |
7836 | #define CAN_F16R1_FB2_Pos (2U) |
||
9 | mjames | 7837 | #define CAN_F16R1_FB2_Msk (0x1UL << CAN_F16R1_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 7838 | #define CAN_F16R1_FB2 CAN_F16R1_FB2_Msk /*!< Filter bit 2 */ |
7839 | #define CAN_F16R1_FB3_Pos (3U) |
||
9 | mjames | 7840 | #define CAN_F16R1_FB3_Msk (0x1UL << CAN_F16R1_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 7841 | #define CAN_F16R1_FB3 CAN_F16R1_FB3_Msk /*!< Filter bit 3 */ |
7842 | #define CAN_F16R1_FB4_Pos (4U) |
||
9 | mjames | 7843 | #define CAN_F16R1_FB4_Msk (0x1UL << CAN_F16R1_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 7844 | #define CAN_F16R1_FB4 CAN_F16R1_FB4_Msk /*!< Filter bit 4 */ |
7845 | #define CAN_F16R1_FB5_Pos (5U) |
||
9 | mjames | 7846 | #define CAN_F16R1_FB5_Msk (0x1UL << CAN_F16R1_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 7847 | #define CAN_F16R1_FB5 CAN_F16R1_FB5_Msk /*!< Filter bit 5 */ |
7848 | #define CAN_F16R1_FB6_Pos (6U) |
||
9 | mjames | 7849 | #define CAN_F16R1_FB6_Msk (0x1UL << CAN_F16R1_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 7850 | #define CAN_F16R1_FB6 CAN_F16R1_FB6_Msk /*!< Filter bit 6 */ |
7851 | #define CAN_F16R1_FB7_Pos (7U) |
||
9 | mjames | 7852 | #define CAN_F16R1_FB7_Msk (0x1UL << CAN_F16R1_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 7853 | #define CAN_F16R1_FB7 CAN_F16R1_FB7_Msk /*!< Filter bit 7 */ |
7854 | #define CAN_F16R1_FB8_Pos (8U) |
||
9 | mjames | 7855 | #define CAN_F16R1_FB8_Msk (0x1UL << CAN_F16R1_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 7856 | #define CAN_F16R1_FB8 CAN_F16R1_FB8_Msk /*!< Filter bit 8 */ |
7857 | #define CAN_F16R1_FB9_Pos (9U) |
||
9 | mjames | 7858 | #define CAN_F16R1_FB9_Msk (0x1UL << CAN_F16R1_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 7859 | #define CAN_F16R1_FB9 CAN_F16R1_FB9_Msk /*!< Filter bit 9 */ |
7860 | #define CAN_F16R1_FB10_Pos (10U) |
||
9 | mjames | 7861 | #define CAN_F16R1_FB10_Msk (0x1UL << CAN_F16R1_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 7862 | #define CAN_F16R1_FB10 CAN_F16R1_FB10_Msk /*!< Filter bit 10 */ |
7863 | #define CAN_F16R1_FB11_Pos (11U) |
||
9 | mjames | 7864 | #define CAN_F16R1_FB11_Msk (0x1UL << CAN_F16R1_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 7865 | #define CAN_F16R1_FB11 CAN_F16R1_FB11_Msk /*!< Filter bit 11 */ |
7866 | #define CAN_F16R1_FB12_Pos (12U) |
||
9 | mjames | 7867 | #define CAN_F16R1_FB12_Msk (0x1UL << CAN_F16R1_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 7868 | #define CAN_F16R1_FB12 CAN_F16R1_FB12_Msk /*!< Filter bit 12 */ |
7869 | #define CAN_F16R1_FB13_Pos (13U) |
||
9 | mjames | 7870 | #define CAN_F16R1_FB13_Msk (0x1UL << CAN_F16R1_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 7871 | #define CAN_F16R1_FB13 CAN_F16R1_FB13_Msk /*!< Filter bit 13 */ |
7872 | #define CAN_F16R1_FB14_Pos (14U) |
||
9 | mjames | 7873 | #define CAN_F16R1_FB14_Msk (0x1UL << CAN_F16R1_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 7874 | #define CAN_F16R1_FB14 CAN_F16R1_FB14_Msk /*!< Filter bit 14 */ |
7875 | #define CAN_F16R1_FB15_Pos (15U) |
||
9 | mjames | 7876 | #define CAN_F16R1_FB15_Msk (0x1UL << CAN_F16R1_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 7877 | #define CAN_F16R1_FB15 CAN_F16R1_FB15_Msk /*!< Filter bit 15 */ |
7878 | #define CAN_F16R1_FB16_Pos (16U) |
||
9 | mjames | 7879 | #define CAN_F16R1_FB16_Msk (0x1UL << CAN_F16R1_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 7880 | #define CAN_F16R1_FB16 CAN_F16R1_FB16_Msk /*!< Filter bit 16 */ |
7881 | #define CAN_F16R1_FB17_Pos (17U) |
||
9 | mjames | 7882 | #define CAN_F16R1_FB17_Msk (0x1UL << CAN_F16R1_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 7883 | #define CAN_F16R1_FB17 CAN_F16R1_FB17_Msk /*!< Filter bit 17 */ |
7884 | #define CAN_F16R1_FB18_Pos (18U) |
||
9 | mjames | 7885 | #define CAN_F16R1_FB18_Msk (0x1UL << CAN_F16R1_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 7886 | #define CAN_F16R1_FB18 CAN_F16R1_FB18_Msk /*!< Filter bit 18 */ |
7887 | #define CAN_F16R1_FB19_Pos (19U) |
||
9 | mjames | 7888 | #define CAN_F16R1_FB19_Msk (0x1UL << CAN_F16R1_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 7889 | #define CAN_F16R1_FB19 CAN_F16R1_FB19_Msk /*!< Filter bit 19 */ |
7890 | #define CAN_F16R1_FB20_Pos (20U) |
||
9 | mjames | 7891 | #define CAN_F16R1_FB20_Msk (0x1UL << CAN_F16R1_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 7892 | #define CAN_F16R1_FB20 CAN_F16R1_FB20_Msk /*!< Filter bit 20 */ |
7893 | #define CAN_F16R1_FB21_Pos (21U) |
||
9 | mjames | 7894 | #define CAN_F16R1_FB21_Msk (0x1UL << CAN_F16R1_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 7895 | #define CAN_F16R1_FB21 CAN_F16R1_FB21_Msk /*!< Filter bit 21 */ |
7896 | #define CAN_F16R1_FB22_Pos (22U) |
||
9 | mjames | 7897 | #define CAN_F16R1_FB22_Msk (0x1UL << CAN_F16R1_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 7898 | #define CAN_F16R1_FB22 CAN_F16R1_FB22_Msk /*!< Filter bit 22 */ |
7899 | #define CAN_F16R1_FB23_Pos (23U) |
||
9 | mjames | 7900 | #define CAN_F16R1_FB23_Msk (0x1UL << CAN_F16R1_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 7901 | #define CAN_F16R1_FB23 CAN_F16R1_FB23_Msk /*!< Filter bit 23 */ |
7902 | #define CAN_F16R1_FB24_Pos (24U) |
||
9 | mjames | 7903 | #define CAN_F16R1_FB24_Msk (0x1UL << CAN_F16R1_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 7904 | #define CAN_F16R1_FB24 CAN_F16R1_FB24_Msk /*!< Filter bit 24 */ |
7905 | #define CAN_F16R1_FB25_Pos (25U) |
||
9 | mjames | 7906 | #define CAN_F16R1_FB25_Msk (0x1UL << CAN_F16R1_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 7907 | #define CAN_F16R1_FB25 CAN_F16R1_FB25_Msk /*!< Filter bit 25 */ |
7908 | #define CAN_F16R1_FB26_Pos (26U) |
||
9 | mjames | 7909 | #define CAN_F16R1_FB26_Msk (0x1UL << CAN_F16R1_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 7910 | #define CAN_F16R1_FB26 CAN_F16R1_FB26_Msk /*!< Filter bit 26 */ |
7911 | #define CAN_F16R1_FB27_Pos (27U) |
||
9 | mjames | 7912 | #define CAN_F16R1_FB27_Msk (0x1UL << CAN_F16R1_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 7913 | #define CAN_F16R1_FB27 CAN_F16R1_FB27_Msk /*!< Filter bit 27 */ |
7914 | #define CAN_F16R1_FB28_Pos (28U) |
||
9 | mjames | 7915 | #define CAN_F16R1_FB28_Msk (0x1UL << CAN_F16R1_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 7916 | #define CAN_F16R1_FB28 CAN_F16R1_FB28_Msk /*!< Filter bit 28 */ |
7917 | #define CAN_F16R1_FB29_Pos (29U) |
||
9 | mjames | 7918 | #define CAN_F16R1_FB29_Msk (0x1UL << CAN_F16R1_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 7919 | #define CAN_F16R1_FB29 CAN_F16R1_FB29_Msk /*!< Filter bit 29 */ |
7920 | #define CAN_F16R1_FB30_Pos (30U) |
||
9 | mjames | 7921 | #define CAN_F16R1_FB30_Msk (0x1UL << CAN_F16R1_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 7922 | #define CAN_F16R1_FB30 CAN_F16R1_FB30_Msk /*!< Filter bit 30 */ |
7923 | #define CAN_F16R1_FB31_Pos (31U) |
||
9 | mjames | 7924 | #define CAN_F16R1_FB31_Msk (0x1UL << CAN_F16R1_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 7925 | #define CAN_F16R1_FB31 CAN_F16R1_FB31_Msk /*!< Filter bit 31 */ |
7926 | |||
7927 | /******************* Bit definition for CAN_F17R1 register ******************/ |
||
7928 | #define CAN_F17R1_FB0_Pos (0U) |
||
9 | mjames | 7929 | #define CAN_F17R1_FB0_Msk (0x1UL << CAN_F17R1_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 7930 | #define CAN_F17R1_FB0 CAN_F17R1_FB0_Msk /*!< Filter bit 0 */ |
7931 | #define CAN_F17R1_FB1_Pos (1U) |
||
9 | mjames | 7932 | #define CAN_F17R1_FB1_Msk (0x1UL << CAN_F17R1_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 7933 | #define CAN_F17R1_FB1 CAN_F17R1_FB1_Msk /*!< Filter bit 1 */ |
7934 | #define CAN_F17R1_FB2_Pos (2U) |
||
9 | mjames | 7935 | #define CAN_F17R1_FB2_Msk (0x1UL << CAN_F17R1_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 7936 | #define CAN_F17R1_FB2 CAN_F17R1_FB2_Msk /*!< Filter bit 2 */ |
7937 | #define CAN_F17R1_FB3_Pos (3U) |
||
9 | mjames | 7938 | #define CAN_F17R1_FB3_Msk (0x1UL << CAN_F17R1_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 7939 | #define CAN_F17R1_FB3 CAN_F17R1_FB3_Msk /*!< Filter bit 3 */ |
7940 | #define CAN_F17R1_FB4_Pos (4U) |
||
9 | mjames | 7941 | #define CAN_F17R1_FB4_Msk (0x1UL << CAN_F17R1_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 7942 | #define CAN_F17R1_FB4 CAN_F17R1_FB4_Msk /*!< Filter bit 4 */ |
7943 | #define CAN_F17R1_FB5_Pos (5U) |
||
9 | mjames | 7944 | #define CAN_F17R1_FB5_Msk (0x1UL << CAN_F17R1_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 7945 | #define CAN_F17R1_FB5 CAN_F17R1_FB5_Msk /*!< Filter bit 5 */ |
7946 | #define CAN_F17R1_FB6_Pos (6U) |
||
9 | mjames | 7947 | #define CAN_F17R1_FB6_Msk (0x1UL << CAN_F17R1_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 7948 | #define CAN_F17R1_FB6 CAN_F17R1_FB6_Msk /*!< Filter bit 6 */ |
7949 | #define CAN_F17R1_FB7_Pos (7U) |
||
9 | mjames | 7950 | #define CAN_F17R1_FB7_Msk (0x1UL << CAN_F17R1_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 7951 | #define CAN_F17R1_FB7 CAN_F17R1_FB7_Msk /*!< Filter bit 7 */ |
7952 | #define CAN_F17R1_FB8_Pos (8U) |
||
9 | mjames | 7953 | #define CAN_F17R1_FB8_Msk (0x1UL << CAN_F17R1_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 7954 | #define CAN_F17R1_FB8 CAN_F17R1_FB8_Msk /*!< Filter bit 8 */ |
7955 | #define CAN_F17R1_FB9_Pos (9U) |
||
9 | mjames | 7956 | #define CAN_F17R1_FB9_Msk (0x1UL << CAN_F17R1_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 7957 | #define CAN_F17R1_FB9 CAN_F17R1_FB9_Msk /*!< Filter bit 9 */ |
7958 | #define CAN_F17R1_FB10_Pos (10U) |
||
9 | mjames | 7959 | #define CAN_F17R1_FB10_Msk (0x1UL << CAN_F17R1_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 7960 | #define CAN_F17R1_FB10 CAN_F17R1_FB10_Msk /*!< Filter bit 10 */ |
7961 | #define CAN_F17R1_FB11_Pos (11U) |
||
9 | mjames | 7962 | #define CAN_F17R1_FB11_Msk (0x1UL << CAN_F17R1_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 7963 | #define CAN_F17R1_FB11 CAN_F17R1_FB11_Msk /*!< Filter bit 11 */ |
7964 | #define CAN_F17R1_FB12_Pos (12U) |
||
9 | mjames | 7965 | #define CAN_F17R1_FB12_Msk (0x1UL << CAN_F17R1_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 7966 | #define CAN_F17R1_FB12 CAN_F17R1_FB12_Msk /*!< Filter bit 12 */ |
7967 | #define CAN_F17R1_FB13_Pos (13U) |
||
9 | mjames | 7968 | #define CAN_F17R1_FB13_Msk (0x1UL << CAN_F17R1_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 7969 | #define CAN_F17R1_FB13 CAN_F17R1_FB13_Msk /*!< Filter bit 13 */ |
7970 | #define CAN_F17R1_FB14_Pos (14U) |
||
9 | mjames | 7971 | #define CAN_F17R1_FB14_Msk (0x1UL << CAN_F17R1_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 7972 | #define CAN_F17R1_FB14 CAN_F17R1_FB14_Msk /*!< Filter bit 14 */ |
7973 | #define CAN_F17R1_FB15_Pos (15U) |
||
9 | mjames | 7974 | #define CAN_F17R1_FB15_Msk (0x1UL << CAN_F17R1_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 7975 | #define CAN_F17R1_FB15 CAN_F17R1_FB15_Msk /*!< Filter bit 15 */ |
7976 | #define CAN_F17R1_FB16_Pos (16U) |
||
9 | mjames | 7977 | #define CAN_F17R1_FB16_Msk (0x1UL << CAN_F17R1_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 7978 | #define CAN_F17R1_FB16 CAN_F17R1_FB16_Msk /*!< Filter bit 16 */ |
7979 | #define CAN_F17R1_FB17_Pos (17U) |
||
9 | mjames | 7980 | #define CAN_F17R1_FB17_Msk (0x1UL << CAN_F17R1_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 7981 | #define CAN_F17R1_FB17 CAN_F17R1_FB17_Msk /*!< Filter bit 17 */ |
7982 | #define CAN_F17R1_FB18_Pos (18U) |
||
9 | mjames | 7983 | #define CAN_F17R1_FB18_Msk (0x1UL << CAN_F17R1_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 7984 | #define CAN_F17R1_FB18 CAN_F17R1_FB18_Msk /*!< Filter bit 18 */ |
7985 | #define CAN_F17R1_FB19_Pos (19U) |
||
9 | mjames | 7986 | #define CAN_F17R1_FB19_Msk (0x1UL << CAN_F17R1_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 7987 | #define CAN_F17R1_FB19 CAN_F17R1_FB19_Msk /*!< Filter bit 19 */ |
7988 | #define CAN_F17R1_FB20_Pos (20U) |
||
9 | mjames | 7989 | #define CAN_F17R1_FB20_Msk (0x1UL << CAN_F17R1_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 7990 | #define CAN_F17R1_FB20 CAN_F17R1_FB20_Msk /*!< Filter bit 20 */ |
7991 | #define CAN_F17R1_FB21_Pos (21U) |
||
9 | mjames | 7992 | #define CAN_F17R1_FB21_Msk (0x1UL << CAN_F17R1_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 7993 | #define CAN_F17R1_FB21 CAN_F17R1_FB21_Msk /*!< Filter bit 21 */ |
7994 | #define CAN_F17R1_FB22_Pos (22U) |
||
9 | mjames | 7995 | #define CAN_F17R1_FB22_Msk (0x1UL << CAN_F17R1_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 7996 | #define CAN_F17R1_FB22 CAN_F17R1_FB22_Msk /*!< Filter bit 22 */ |
7997 | #define CAN_F17R1_FB23_Pos (23U) |
||
9 | mjames | 7998 | #define CAN_F17R1_FB23_Msk (0x1UL << CAN_F17R1_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 7999 | #define CAN_F17R1_FB23 CAN_F17R1_FB23_Msk /*!< Filter bit 23 */ |
8000 | #define CAN_F17R1_FB24_Pos (24U) |
||
9 | mjames | 8001 | #define CAN_F17R1_FB24_Msk (0x1UL << CAN_F17R1_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 8002 | #define CAN_F17R1_FB24 CAN_F17R1_FB24_Msk /*!< Filter bit 24 */ |
8003 | #define CAN_F17R1_FB25_Pos (25U) |
||
9 | mjames | 8004 | #define CAN_F17R1_FB25_Msk (0x1UL << CAN_F17R1_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 8005 | #define CAN_F17R1_FB25 CAN_F17R1_FB25_Msk /*!< Filter bit 25 */ |
8006 | #define CAN_F17R1_FB26_Pos (26U) |
||
9 | mjames | 8007 | #define CAN_F17R1_FB26_Msk (0x1UL << CAN_F17R1_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 8008 | #define CAN_F17R1_FB26 CAN_F17R1_FB26_Msk /*!< Filter bit 26 */ |
8009 | #define CAN_F17R1_FB27_Pos (27U) |
||
9 | mjames | 8010 | #define CAN_F17R1_FB27_Msk (0x1UL << CAN_F17R1_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 8011 | #define CAN_F17R1_FB27 CAN_F17R1_FB27_Msk /*!< Filter bit 27 */ |
8012 | #define CAN_F17R1_FB28_Pos (28U) |
||
9 | mjames | 8013 | #define CAN_F17R1_FB28_Msk (0x1UL << CAN_F17R1_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 8014 | #define CAN_F17R1_FB28 CAN_F17R1_FB28_Msk /*!< Filter bit 28 */ |
8015 | #define CAN_F17R1_FB29_Pos (29U) |
||
9 | mjames | 8016 | #define CAN_F17R1_FB29_Msk (0x1UL << CAN_F17R1_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 8017 | #define CAN_F17R1_FB29 CAN_F17R1_FB29_Msk /*!< Filter bit 29 */ |
8018 | #define CAN_F17R1_FB30_Pos (30U) |
||
9 | mjames | 8019 | #define CAN_F17R1_FB30_Msk (0x1UL << CAN_F17R1_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 8020 | #define CAN_F17R1_FB30 CAN_F17R1_FB30_Msk /*!< Filter bit 30 */ |
8021 | #define CAN_F17R1_FB31_Pos (31U) |
||
9 | mjames | 8022 | #define CAN_F17R1_FB31_Msk (0x1UL << CAN_F17R1_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 8023 | #define CAN_F17R1_FB31 CAN_F17R1_FB31_Msk /*!< Filter bit 31 */ |
8024 | |||
8025 | /******************* Bit definition for CAN_F18R1 register ******************/ |
||
8026 | #define CAN_F18R1_FB0_Pos (0U) |
||
9 | mjames | 8027 | #define CAN_F18R1_FB0_Msk (0x1UL << CAN_F18R1_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 8028 | #define CAN_F18R1_FB0 CAN_F18R1_FB0_Msk /*!< Filter bit 0 */ |
8029 | #define CAN_F18R1_FB1_Pos (1U) |
||
9 | mjames | 8030 | #define CAN_F18R1_FB1_Msk (0x1UL << CAN_F18R1_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 8031 | #define CAN_F18R1_FB1 CAN_F18R1_FB1_Msk /*!< Filter bit 1 */ |
8032 | #define CAN_F18R1_FB2_Pos (2U) |
||
9 | mjames | 8033 | #define CAN_F18R1_FB2_Msk (0x1UL << CAN_F18R1_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 8034 | #define CAN_F18R1_FB2 CAN_F18R1_FB2_Msk /*!< Filter bit 2 */ |
8035 | #define CAN_F18R1_FB3_Pos (3U) |
||
9 | mjames | 8036 | #define CAN_F18R1_FB3_Msk (0x1UL << CAN_F18R1_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 8037 | #define CAN_F18R1_FB3 CAN_F18R1_FB3_Msk /*!< Filter bit 3 */ |
8038 | #define CAN_F18R1_FB4_Pos (4U) |
||
9 | mjames | 8039 | #define CAN_F18R1_FB4_Msk (0x1UL << CAN_F18R1_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 8040 | #define CAN_F18R1_FB4 CAN_F18R1_FB4_Msk /*!< Filter bit 4 */ |
8041 | #define CAN_F18R1_FB5_Pos (5U) |
||
9 | mjames | 8042 | #define CAN_F18R1_FB5_Msk (0x1UL << CAN_F18R1_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 8043 | #define CAN_F18R1_FB5 CAN_F18R1_FB5_Msk /*!< Filter bit 5 */ |
8044 | #define CAN_F18R1_FB6_Pos (6U) |
||
9 | mjames | 8045 | #define CAN_F18R1_FB6_Msk (0x1UL << CAN_F18R1_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 8046 | #define CAN_F18R1_FB6 CAN_F18R1_FB6_Msk /*!< Filter bit 6 */ |
8047 | #define CAN_F18R1_FB7_Pos (7U) |
||
9 | mjames | 8048 | #define CAN_F18R1_FB7_Msk (0x1UL << CAN_F18R1_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 8049 | #define CAN_F18R1_FB7 CAN_F18R1_FB7_Msk /*!< Filter bit 7 */ |
8050 | #define CAN_F18R1_FB8_Pos (8U) |
||
9 | mjames | 8051 | #define CAN_F18R1_FB8_Msk (0x1UL << CAN_F18R1_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 8052 | #define CAN_F18R1_FB8 CAN_F18R1_FB8_Msk /*!< Filter bit 8 */ |
8053 | #define CAN_F18R1_FB9_Pos (9U) |
||
9 | mjames | 8054 | #define CAN_F18R1_FB9_Msk (0x1UL << CAN_F18R1_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 8055 | #define CAN_F18R1_FB9 CAN_F18R1_FB9_Msk /*!< Filter bit 9 */ |
8056 | #define CAN_F18R1_FB10_Pos (10U) |
||
9 | mjames | 8057 | #define CAN_F18R1_FB10_Msk (0x1UL << CAN_F18R1_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 8058 | #define CAN_F18R1_FB10 CAN_F18R1_FB10_Msk /*!< Filter bit 10 */ |
8059 | #define CAN_F18R1_FB11_Pos (11U) |
||
9 | mjames | 8060 | #define CAN_F18R1_FB11_Msk (0x1UL << CAN_F18R1_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 8061 | #define CAN_F18R1_FB11 CAN_F18R1_FB11_Msk /*!< Filter bit 11 */ |
8062 | #define CAN_F18R1_FB12_Pos (12U) |
||
9 | mjames | 8063 | #define CAN_F18R1_FB12_Msk (0x1UL << CAN_F18R1_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 8064 | #define CAN_F18R1_FB12 CAN_F18R1_FB12_Msk /*!< Filter bit 12 */ |
8065 | #define CAN_F18R1_FB13_Pos (13U) |
||
9 | mjames | 8066 | #define CAN_F18R1_FB13_Msk (0x1UL << CAN_F18R1_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 8067 | #define CAN_F18R1_FB13 CAN_F18R1_FB13_Msk /*!< Filter bit 13 */ |
8068 | #define CAN_F18R1_FB14_Pos (14U) |
||
9 | mjames | 8069 | #define CAN_F18R1_FB14_Msk (0x1UL << CAN_F18R1_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 8070 | #define CAN_F18R1_FB14 CAN_F18R1_FB14_Msk /*!< Filter bit 14 */ |
8071 | #define CAN_F18R1_FB15_Pos (15U) |
||
9 | mjames | 8072 | #define CAN_F18R1_FB15_Msk (0x1UL << CAN_F18R1_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 8073 | #define CAN_F18R1_FB15 CAN_F18R1_FB15_Msk /*!< Filter bit 15 */ |
8074 | #define CAN_F18R1_FB16_Pos (16U) |
||
9 | mjames | 8075 | #define CAN_F18R1_FB16_Msk (0x1UL << CAN_F18R1_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 8076 | #define CAN_F18R1_FB16 CAN_F18R1_FB16_Msk /*!< Filter bit 16 */ |
8077 | #define CAN_F18R1_FB17_Pos (17U) |
||
9 | mjames | 8078 | #define CAN_F18R1_FB17_Msk (0x1UL << CAN_F18R1_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 8079 | #define CAN_F18R1_FB17 CAN_F18R1_FB17_Msk /*!< Filter bit 17 */ |
8080 | #define CAN_F18R1_FB18_Pos (18U) |
||
9 | mjames | 8081 | #define CAN_F18R1_FB18_Msk (0x1UL << CAN_F18R1_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 8082 | #define CAN_F18R1_FB18 CAN_F18R1_FB18_Msk /*!< Filter bit 18 */ |
8083 | #define CAN_F18R1_FB19_Pos (19U) |
||
9 | mjames | 8084 | #define CAN_F18R1_FB19_Msk (0x1UL << CAN_F18R1_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 8085 | #define CAN_F18R1_FB19 CAN_F18R1_FB19_Msk /*!< Filter bit 19 */ |
8086 | #define CAN_F18R1_FB20_Pos (20U) |
||
9 | mjames | 8087 | #define CAN_F18R1_FB20_Msk (0x1UL << CAN_F18R1_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 8088 | #define CAN_F18R1_FB20 CAN_F18R1_FB20_Msk /*!< Filter bit 20 */ |
8089 | #define CAN_F18R1_FB21_Pos (21U) |
||
9 | mjames | 8090 | #define CAN_F18R1_FB21_Msk (0x1UL << CAN_F18R1_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 8091 | #define CAN_F18R1_FB21 CAN_F18R1_FB21_Msk /*!< Filter bit 21 */ |
8092 | #define CAN_F18R1_FB22_Pos (22U) |
||
9 | mjames | 8093 | #define CAN_F18R1_FB22_Msk (0x1UL << CAN_F18R1_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 8094 | #define CAN_F18R1_FB22 CAN_F18R1_FB22_Msk /*!< Filter bit 22 */ |
8095 | #define CAN_F18R1_FB23_Pos (23U) |
||
9 | mjames | 8096 | #define CAN_F18R1_FB23_Msk (0x1UL << CAN_F18R1_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 8097 | #define CAN_F18R1_FB23 CAN_F18R1_FB23_Msk /*!< Filter bit 23 */ |
8098 | #define CAN_F18R1_FB24_Pos (24U) |
||
9 | mjames | 8099 | #define CAN_F18R1_FB24_Msk (0x1UL << CAN_F18R1_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 8100 | #define CAN_F18R1_FB24 CAN_F18R1_FB24_Msk /*!< Filter bit 24 */ |
8101 | #define CAN_F18R1_FB25_Pos (25U) |
||
9 | mjames | 8102 | #define CAN_F18R1_FB25_Msk (0x1UL << CAN_F18R1_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 8103 | #define CAN_F18R1_FB25 CAN_F18R1_FB25_Msk /*!< Filter bit 25 */ |
8104 | #define CAN_F18R1_FB26_Pos (26U) |
||
9 | mjames | 8105 | #define CAN_F18R1_FB26_Msk (0x1UL << CAN_F18R1_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 8106 | #define CAN_F18R1_FB26 CAN_F18R1_FB26_Msk /*!< Filter bit 26 */ |
8107 | #define CAN_F18R1_FB27_Pos (27U) |
||
9 | mjames | 8108 | #define CAN_F18R1_FB27_Msk (0x1UL << CAN_F18R1_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 8109 | #define CAN_F18R1_FB27 CAN_F18R1_FB27_Msk /*!< Filter bit 27 */ |
8110 | #define CAN_F18R1_FB28_Pos (28U) |
||
9 | mjames | 8111 | #define CAN_F18R1_FB28_Msk (0x1UL << CAN_F18R1_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 8112 | #define CAN_F18R1_FB28 CAN_F18R1_FB28_Msk /*!< Filter bit 28 */ |
8113 | #define CAN_F18R1_FB29_Pos (29U) |
||
9 | mjames | 8114 | #define CAN_F18R1_FB29_Msk (0x1UL << CAN_F18R1_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 8115 | #define CAN_F18R1_FB29 CAN_F18R1_FB29_Msk /*!< Filter bit 29 */ |
8116 | #define CAN_F18R1_FB30_Pos (30U) |
||
9 | mjames | 8117 | #define CAN_F18R1_FB30_Msk (0x1UL << CAN_F18R1_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 8118 | #define CAN_F18R1_FB30 CAN_F18R1_FB30_Msk /*!< Filter bit 30 */ |
8119 | #define CAN_F18R1_FB31_Pos (31U) |
||
9 | mjames | 8120 | #define CAN_F18R1_FB31_Msk (0x1UL << CAN_F18R1_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 8121 | #define CAN_F18R1_FB31 CAN_F18R1_FB31_Msk /*!< Filter bit 31 */ |
8122 | |||
8123 | /******************* Bit definition for CAN_F19R1 register ******************/ |
||
8124 | #define CAN_F19R1_FB0_Pos (0U) |
||
9 | mjames | 8125 | #define CAN_F19R1_FB0_Msk (0x1UL << CAN_F19R1_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 8126 | #define CAN_F19R1_FB0 CAN_F19R1_FB0_Msk /*!< Filter bit 0 */ |
8127 | #define CAN_F19R1_FB1_Pos (1U) |
||
9 | mjames | 8128 | #define CAN_F19R1_FB1_Msk (0x1UL << CAN_F19R1_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 8129 | #define CAN_F19R1_FB1 CAN_F19R1_FB1_Msk /*!< Filter bit 1 */ |
8130 | #define CAN_F19R1_FB2_Pos (2U) |
||
9 | mjames | 8131 | #define CAN_F19R1_FB2_Msk (0x1UL << CAN_F19R1_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 8132 | #define CAN_F19R1_FB2 CAN_F19R1_FB2_Msk /*!< Filter bit 2 */ |
8133 | #define CAN_F19R1_FB3_Pos (3U) |
||
9 | mjames | 8134 | #define CAN_F19R1_FB3_Msk (0x1UL << CAN_F19R1_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 8135 | #define CAN_F19R1_FB3 CAN_F19R1_FB3_Msk /*!< Filter bit 3 */ |
8136 | #define CAN_F19R1_FB4_Pos (4U) |
||
9 | mjames | 8137 | #define CAN_F19R1_FB4_Msk (0x1UL << CAN_F19R1_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 8138 | #define CAN_F19R1_FB4 CAN_F19R1_FB4_Msk /*!< Filter bit 4 */ |
8139 | #define CAN_F19R1_FB5_Pos (5U) |
||
9 | mjames | 8140 | #define CAN_F19R1_FB5_Msk (0x1UL << CAN_F19R1_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 8141 | #define CAN_F19R1_FB5 CAN_F19R1_FB5_Msk /*!< Filter bit 5 */ |
8142 | #define CAN_F19R1_FB6_Pos (6U) |
||
9 | mjames | 8143 | #define CAN_F19R1_FB6_Msk (0x1UL << CAN_F19R1_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 8144 | #define CAN_F19R1_FB6 CAN_F19R1_FB6_Msk /*!< Filter bit 6 */ |
8145 | #define CAN_F19R1_FB7_Pos (7U) |
||
9 | mjames | 8146 | #define CAN_F19R1_FB7_Msk (0x1UL << CAN_F19R1_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 8147 | #define CAN_F19R1_FB7 CAN_F19R1_FB7_Msk /*!< Filter bit 7 */ |
8148 | #define CAN_F19R1_FB8_Pos (8U) |
||
9 | mjames | 8149 | #define CAN_F19R1_FB8_Msk (0x1UL << CAN_F19R1_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 8150 | #define CAN_F19R1_FB8 CAN_F19R1_FB8_Msk /*!< Filter bit 8 */ |
8151 | #define CAN_F19R1_FB9_Pos (9U) |
||
9 | mjames | 8152 | #define CAN_F19R1_FB9_Msk (0x1UL << CAN_F19R1_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 8153 | #define CAN_F19R1_FB9 CAN_F19R1_FB9_Msk /*!< Filter bit 9 */ |
8154 | #define CAN_F19R1_FB10_Pos (10U) |
||
9 | mjames | 8155 | #define CAN_F19R1_FB10_Msk (0x1UL << CAN_F19R1_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 8156 | #define CAN_F19R1_FB10 CAN_F19R1_FB10_Msk /*!< Filter bit 10 */ |
8157 | #define CAN_F19R1_FB11_Pos (11U) |
||
9 | mjames | 8158 | #define CAN_F19R1_FB11_Msk (0x1UL << CAN_F19R1_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 8159 | #define CAN_F19R1_FB11 CAN_F19R1_FB11_Msk /*!< Filter bit 11 */ |
8160 | #define CAN_F19R1_FB12_Pos (12U) |
||
9 | mjames | 8161 | #define CAN_F19R1_FB12_Msk (0x1UL << CAN_F19R1_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 8162 | #define CAN_F19R1_FB12 CAN_F19R1_FB12_Msk /*!< Filter bit 12 */ |
8163 | #define CAN_F19R1_FB13_Pos (13U) |
||
9 | mjames | 8164 | #define CAN_F19R1_FB13_Msk (0x1UL << CAN_F19R1_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 8165 | #define CAN_F19R1_FB13 CAN_F19R1_FB13_Msk /*!< Filter bit 13 */ |
8166 | #define CAN_F19R1_FB14_Pos (14U) |
||
9 | mjames | 8167 | #define CAN_F19R1_FB14_Msk (0x1UL << CAN_F19R1_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 8168 | #define CAN_F19R1_FB14 CAN_F19R1_FB14_Msk /*!< Filter bit 14 */ |
8169 | #define CAN_F19R1_FB15_Pos (15U) |
||
9 | mjames | 8170 | #define CAN_F19R1_FB15_Msk (0x1UL << CAN_F19R1_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 8171 | #define CAN_F19R1_FB15 CAN_F19R1_FB15_Msk /*!< Filter bit 15 */ |
8172 | #define CAN_F19R1_FB16_Pos (16U) |
||
9 | mjames | 8173 | #define CAN_F19R1_FB16_Msk (0x1UL << CAN_F19R1_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 8174 | #define CAN_F19R1_FB16 CAN_F19R1_FB16_Msk /*!< Filter bit 16 */ |
8175 | #define CAN_F19R1_FB17_Pos (17U) |
||
9 | mjames | 8176 | #define CAN_F19R1_FB17_Msk (0x1UL << CAN_F19R1_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 8177 | #define CAN_F19R1_FB17 CAN_F19R1_FB17_Msk /*!< Filter bit 17 */ |
8178 | #define CAN_F19R1_FB18_Pos (18U) |
||
9 | mjames | 8179 | #define CAN_F19R1_FB18_Msk (0x1UL << CAN_F19R1_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 8180 | #define CAN_F19R1_FB18 CAN_F19R1_FB18_Msk /*!< Filter bit 18 */ |
8181 | #define CAN_F19R1_FB19_Pos (19U) |
||
9 | mjames | 8182 | #define CAN_F19R1_FB19_Msk (0x1UL << CAN_F19R1_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 8183 | #define CAN_F19R1_FB19 CAN_F19R1_FB19_Msk /*!< Filter bit 19 */ |
8184 | #define CAN_F19R1_FB20_Pos (20U) |
||
9 | mjames | 8185 | #define CAN_F19R1_FB20_Msk (0x1UL << CAN_F19R1_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 8186 | #define CAN_F19R1_FB20 CAN_F19R1_FB20_Msk /*!< Filter bit 20 */ |
8187 | #define CAN_F19R1_FB21_Pos (21U) |
||
9 | mjames | 8188 | #define CAN_F19R1_FB21_Msk (0x1UL << CAN_F19R1_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 8189 | #define CAN_F19R1_FB21 CAN_F19R1_FB21_Msk /*!< Filter bit 21 */ |
8190 | #define CAN_F19R1_FB22_Pos (22U) |
||
9 | mjames | 8191 | #define CAN_F19R1_FB22_Msk (0x1UL << CAN_F19R1_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 8192 | #define CAN_F19R1_FB22 CAN_F19R1_FB22_Msk /*!< Filter bit 22 */ |
8193 | #define CAN_F19R1_FB23_Pos (23U) |
||
9 | mjames | 8194 | #define CAN_F19R1_FB23_Msk (0x1UL << CAN_F19R1_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 8195 | #define CAN_F19R1_FB23 CAN_F19R1_FB23_Msk /*!< Filter bit 23 */ |
8196 | #define CAN_F19R1_FB24_Pos (24U) |
||
9 | mjames | 8197 | #define CAN_F19R1_FB24_Msk (0x1UL << CAN_F19R1_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 8198 | #define CAN_F19R1_FB24 CAN_F19R1_FB24_Msk /*!< Filter bit 24 */ |
8199 | #define CAN_F19R1_FB25_Pos (25U) |
||
9 | mjames | 8200 | #define CAN_F19R1_FB25_Msk (0x1UL << CAN_F19R1_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 8201 | #define CAN_F19R1_FB25 CAN_F19R1_FB25_Msk /*!< Filter bit 25 */ |
8202 | #define CAN_F19R1_FB26_Pos (26U) |
||
9 | mjames | 8203 | #define CAN_F19R1_FB26_Msk (0x1UL << CAN_F19R1_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 8204 | #define CAN_F19R1_FB26 CAN_F19R1_FB26_Msk /*!< Filter bit 26 */ |
8205 | #define CAN_F19R1_FB27_Pos (27U) |
||
9 | mjames | 8206 | #define CAN_F19R1_FB27_Msk (0x1UL << CAN_F19R1_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 8207 | #define CAN_F19R1_FB27 CAN_F19R1_FB27_Msk /*!< Filter bit 27 */ |
8208 | #define CAN_F19R1_FB28_Pos (28U) |
||
9 | mjames | 8209 | #define CAN_F19R1_FB28_Msk (0x1UL << CAN_F19R1_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 8210 | #define CAN_F19R1_FB28 CAN_F19R1_FB28_Msk /*!< Filter bit 28 */ |
8211 | #define CAN_F19R1_FB29_Pos (29U) |
||
9 | mjames | 8212 | #define CAN_F19R1_FB29_Msk (0x1UL << CAN_F19R1_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 8213 | #define CAN_F19R1_FB29 CAN_F19R1_FB29_Msk /*!< Filter bit 29 */ |
8214 | #define CAN_F19R1_FB30_Pos (30U) |
||
9 | mjames | 8215 | #define CAN_F19R1_FB30_Msk (0x1UL << CAN_F19R1_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 8216 | #define CAN_F19R1_FB30 CAN_F19R1_FB30_Msk /*!< Filter bit 30 */ |
8217 | #define CAN_F19R1_FB31_Pos (31U) |
||
9 | mjames | 8218 | #define CAN_F19R1_FB31_Msk (0x1UL << CAN_F19R1_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 8219 | #define CAN_F19R1_FB31 CAN_F19R1_FB31_Msk /*!< Filter bit 31 */ |
8220 | |||
8221 | /******************* Bit definition for CAN_F20R1 register ******************/ |
||
8222 | #define CAN_F20R1_FB0_Pos (0U) |
||
9 | mjames | 8223 | #define CAN_F20R1_FB0_Msk (0x1UL << CAN_F20R1_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 8224 | #define CAN_F20R1_FB0 CAN_F20R1_FB0_Msk /*!< Filter bit 0 */ |
8225 | #define CAN_F20R1_FB1_Pos (1U) |
||
9 | mjames | 8226 | #define CAN_F20R1_FB1_Msk (0x1UL << CAN_F20R1_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 8227 | #define CAN_F20R1_FB1 CAN_F20R1_FB1_Msk /*!< Filter bit 1 */ |
8228 | #define CAN_F20R1_FB2_Pos (2U) |
||
9 | mjames | 8229 | #define CAN_F20R1_FB2_Msk (0x1UL << CAN_F20R1_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 8230 | #define CAN_F20R1_FB2 CAN_F20R1_FB2_Msk /*!< Filter bit 2 */ |
8231 | #define CAN_F20R1_FB3_Pos (3U) |
||
9 | mjames | 8232 | #define CAN_F20R1_FB3_Msk (0x1UL << CAN_F20R1_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 8233 | #define CAN_F20R1_FB3 CAN_F20R1_FB3_Msk /*!< Filter bit 3 */ |
8234 | #define CAN_F20R1_FB4_Pos (4U) |
||
9 | mjames | 8235 | #define CAN_F20R1_FB4_Msk (0x1UL << CAN_F20R1_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 8236 | #define CAN_F20R1_FB4 CAN_F20R1_FB4_Msk /*!< Filter bit 4 */ |
8237 | #define CAN_F20R1_FB5_Pos (5U) |
||
9 | mjames | 8238 | #define CAN_F20R1_FB5_Msk (0x1UL << CAN_F20R1_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 8239 | #define CAN_F20R1_FB5 CAN_F20R1_FB5_Msk /*!< Filter bit 5 */ |
8240 | #define CAN_F20R1_FB6_Pos (6U) |
||
9 | mjames | 8241 | #define CAN_F20R1_FB6_Msk (0x1UL << CAN_F20R1_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 8242 | #define CAN_F20R1_FB6 CAN_F20R1_FB6_Msk /*!< Filter bit 6 */ |
8243 | #define CAN_F20R1_FB7_Pos (7U) |
||
9 | mjames | 8244 | #define CAN_F20R1_FB7_Msk (0x1UL << CAN_F20R1_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 8245 | #define CAN_F20R1_FB7 CAN_F20R1_FB7_Msk /*!< Filter bit 7 */ |
8246 | #define CAN_F20R1_FB8_Pos (8U) |
||
9 | mjames | 8247 | #define CAN_F20R1_FB8_Msk (0x1UL << CAN_F20R1_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 8248 | #define CAN_F20R1_FB8 CAN_F20R1_FB8_Msk /*!< Filter bit 8 */ |
8249 | #define CAN_F20R1_FB9_Pos (9U) |
||
9 | mjames | 8250 | #define CAN_F20R1_FB9_Msk (0x1UL << CAN_F20R1_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 8251 | #define CAN_F20R1_FB9 CAN_F20R1_FB9_Msk /*!< Filter bit 9 */ |
8252 | #define CAN_F20R1_FB10_Pos (10U) |
||
9 | mjames | 8253 | #define CAN_F20R1_FB10_Msk (0x1UL << CAN_F20R1_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 8254 | #define CAN_F20R1_FB10 CAN_F20R1_FB10_Msk /*!< Filter bit 10 */ |
8255 | #define CAN_F20R1_FB11_Pos (11U) |
||
9 | mjames | 8256 | #define CAN_F20R1_FB11_Msk (0x1UL << CAN_F20R1_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 8257 | #define CAN_F20R1_FB11 CAN_F20R1_FB11_Msk /*!< Filter bit 11 */ |
8258 | #define CAN_F20R1_FB12_Pos (12U) |
||
9 | mjames | 8259 | #define CAN_F20R1_FB12_Msk (0x1UL << CAN_F20R1_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 8260 | #define CAN_F20R1_FB12 CAN_F20R1_FB12_Msk /*!< Filter bit 12 */ |
8261 | #define CAN_F20R1_FB13_Pos (13U) |
||
9 | mjames | 8262 | #define CAN_F20R1_FB13_Msk (0x1UL << CAN_F20R1_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 8263 | #define CAN_F20R1_FB13 CAN_F20R1_FB13_Msk /*!< Filter bit 13 */ |
8264 | #define CAN_F20R1_FB14_Pos (14U) |
||
9 | mjames | 8265 | #define CAN_F20R1_FB14_Msk (0x1UL << CAN_F20R1_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 8266 | #define CAN_F20R1_FB14 CAN_F20R1_FB14_Msk /*!< Filter bit 14 */ |
8267 | #define CAN_F20R1_FB15_Pos (15U) |
||
9 | mjames | 8268 | #define CAN_F20R1_FB15_Msk (0x1UL << CAN_F20R1_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 8269 | #define CAN_F20R1_FB15 CAN_F20R1_FB15_Msk /*!< Filter bit 15 */ |
8270 | #define CAN_F20R1_FB16_Pos (16U) |
||
9 | mjames | 8271 | #define CAN_F20R1_FB16_Msk (0x1UL << CAN_F20R1_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 8272 | #define CAN_F20R1_FB16 CAN_F20R1_FB16_Msk /*!< Filter bit 16 */ |
8273 | #define CAN_F20R1_FB17_Pos (17U) |
||
9 | mjames | 8274 | #define CAN_F20R1_FB17_Msk (0x1UL << CAN_F20R1_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 8275 | #define CAN_F20R1_FB17 CAN_F20R1_FB17_Msk /*!< Filter bit 17 */ |
8276 | #define CAN_F20R1_FB18_Pos (18U) |
||
9 | mjames | 8277 | #define CAN_F20R1_FB18_Msk (0x1UL << CAN_F20R1_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 8278 | #define CAN_F20R1_FB18 CAN_F20R1_FB18_Msk /*!< Filter bit 18 */ |
8279 | #define CAN_F20R1_FB19_Pos (19U) |
||
9 | mjames | 8280 | #define CAN_F20R1_FB19_Msk (0x1UL << CAN_F20R1_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 8281 | #define CAN_F20R1_FB19 CAN_F20R1_FB19_Msk /*!< Filter bit 19 */ |
8282 | #define CAN_F20R1_FB20_Pos (20U) |
||
9 | mjames | 8283 | #define CAN_F20R1_FB20_Msk (0x1UL << CAN_F20R1_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 8284 | #define CAN_F20R1_FB20 CAN_F20R1_FB20_Msk /*!< Filter bit 20 */ |
8285 | #define CAN_F20R1_FB21_Pos (21U) |
||
9 | mjames | 8286 | #define CAN_F20R1_FB21_Msk (0x1UL << CAN_F20R1_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 8287 | #define CAN_F20R1_FB21 CAN_F20R1_FB21_Msk /*!< Filter bit 21 */ |
8288 | #define CAN_F20R1_FB22_Pos (22U) |
||
9 | mjames | 8289 | #define CAN_F20R1_FB22_Msk (0x1UL << CAN_F20R1_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 8290 | #define CAN_F20R1_FB22 CAN_F20R1_FB22_Msk /*!< Filter bit 22 */ |
8291 | #define CAN_F20R1_FB23_Pos (23U) |
||
9 | mjames | 8292 | #define CAN_F20R1_FB23_Msk (0x1UL << CAN_F20R1_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 8293 | #define CAN_F20R1_FB23 CAN_F20R1_FB23_Msk /*!< Filter bit 23 */ |
8294 | #define CAN_F20R1_FB24_Pos (24U) |
||
9 | mjames | 8295 | #define CAN_F20R1_FB24_Msk (0x1UL << CAN_F20R1_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 8296 | #define CAN_F20R1_FB24 CAN_F20R1_FB24_Msk /*!< Filter bit 24 */ |
8297 | #define CAN_F20R1_FB25_Pos (25U) |
||
9 | mjames | 8298 | #define CAN_F20R1_FB25_Msk (0x1UL << CAN_F20R1_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 8299 | #define CAN_F20R1_FB25 CAN_F20R1_FB25_Msk /*!< Filter bit 25 */ |
8300 | #define CAN_F20R1_FB26_Pos (26U) |
||
9 | mjames | 8301 | #define CAN_F20R1_FB26_Msk (0x1UL << CAN_F20R1_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 8302 | #define CAN_F20R1_FB26 CAN_F20R1_FB26_Msk /*!< Filter bit 26 */ |
8303 | #define CAN_F20R1_FB27_Pos (27U) |
||
9 | mjames | 8304 | #define CAN_F20R1_FB27_Msk (0x1UL << CAN_F20R1_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 8305 | #define CAN_F20R1_FB27 CAN_F20R1_FB27_Msk /*!< Filter bit 27 */ |
8306 | #define CAN_F20R1_FB28_Pos (28U) |
||
9 | mjames | 8307 | #define CAN_F20R1_FB28_Msk (0x1UL << CAN_F20R1_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 8308 | #define CAN_F20R1_FB28 CAN_F20R1_FB28_Msk /*!< Filter bit 28 */ |
8309 | #define CAN_F20R1_FB29_Pos (29U) |
||
9 | mjames | 8310 | #define CAN_F20R1_FB29_Msk (0x1UL << CAN_F20R1_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 8311 | #define CAN_F20R1_FB29 CAN_F20R1_FB29_Msk /*!< Filter bit 29 */ |
8312 | #define CAN_F20R1_FB30_Pos (30U) |
||
9 | mjames | 8313 | #define CAN_F20R1_FB30_Msk (0x1UL << CAN_F20R1_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 8314 | #define CAN_F20R1_FB30 CAN_F20R1_FB30_Msk /*!< Filter bit 30 */ |
8315 | #define CAN_F20R1_FB31_Pos (31U) |
||
9 | mjames | 8316 | #define CAN_F20R1_FB31_Msk (0x1UL << CAN_F20R1_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 8317 | #define CAN_F20R1_FB31 CAN_F20R1_FB31_Msk /*!< Filter bit 31 */ |
8318 | |||
8319 | /******************* Bit definition for CAN_F21R1 register ******************/ |
||
8320 | #define CAN_F21R1_FB0_Pos (0U) |
||
9 | mjames | 8321 | #define CAN_F21R1_FB0_Msk (0x1UL << CAN_F21R1_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 8322 | #define CAN_F21R1_FB0 CAN_F21R1_FB0_Msk /*!< Filter bit 0 */ |
8323 | #define CAN_F21R1_FB1_Pos (1U) |
||
9 | mjames | 8324 | #define CAN_F21R1_FB1_Msk (0x1UL << CAN_F21R1_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 8325 | #define CAN_F21R1_FB1 CAN_F21R1_FB1_Msk /*!< Filter bit 1 */ |
8326 | #define CAN_F21R1_FB2_Pos (2U) |
||
9 | mjames | 8327 | #define CAN_F21R1_FB2_Msk (0x1UL << CAN_F21R1_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 8328 | #define CAN_F21R1_FB2 CAN_F21R1_FB2_Msk /*!< Filter bit 2 */ |
8329 | #define CAN_F21R1_FB3_Pos (3U) |
||
9 | mjames | 8330 | #define CAN_F21R1_FB3_Msk (0x1UL << CAN_F21R1_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 8331 | #define CAN_F21R1_FB3 CAN_F21R1_FB3_Msk /*!< Filter bit 3 */ |
8332 | #define CAN_F21R1_FB4_Pos (4U) |
||
9 | mjames | 8333 | #define CAN_F21R1_FB4_Msk (0x1UL << CAN_F21R1_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 8334 | #define CAN_F21R1_FB4 CAN_F21R1_FB4_Msk /*!< Filter bit 4 */ |
8335 | #define CAN_F21R1_FB5_Pos (5U) |
||
9 | mjames | 8336 | #define CAN_F21R1_FB5_Msk (0x1UL << CAN_F21R1_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 8337 | #define CAN_F21R1_FB5 CAN_F21R1_FB5_Msk /*!< Filter bit 5 */ |
8338 | #define CAN_F21R1_FB6_Pos (6U) |
||
9 | mjames | 8339 | #define CAN_F21R1_FB6_Msk (0x1UL << CAN_F21R1_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 8340 | #define CAN_F21R1_FB6 CAN_F21R1_FB6_Msk /*!< Filter bit 6 */ |
8341 | #define CAN_F21R1_FB7_Pos (7U) |
||
9 | mjames | 8342 | #define CAN_F21R1_FB7_Msk (0x1UL << CAN_F21R1_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 8343 | #define CAN_F21R1_FB7 CAN_F21R1_FB7_Msk /*!< Filter bit 7 */ |
8344 | #define CAN_F21R1_FB8_Pos (8U) |
||
9 | mjames | 8345 | #define CAN_F21R1_FB8_Msk (0x1UL << CAN_F21R1_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 8346 | #define CAN_F21R1_FB8 CAN_F21R1_FB8_Msk /*!< Filter bit 8 */ |
8347 | #define CAN_F21R1_FB9_Pos (9U) |
||
9 | mjames | 8348 | #define CAN_F21R1_FB9_Msk (0x1UL << CAN_F21R1_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 8349 | #define CAN_F21R1_FB9 CAN_F21R1_FB9_Msk /*!< Filter bit 9 */ |
8350 | #define CAN_F21R1_FB10_Pos (10U) |
||
9 | mjames | 8351 | #define CAN_F21R1_FB10_Msk (0x1UL << CAN_F21R1_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 8352 | #define CAN_F21R1_FB10 CAN_F21R1_FB10_Msk /*!< Filter bit 10 */ |
8353 | #define CAN_F21R1_FB11_Pos (11U) |
||
9 | mjames | 8354 | #define CAN_F21R1_FB11_Msk (0x1UL << CAN_F21R1_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 8355 | #define CAN_F21R1_FB11 CAN_F21R1_FB11_Msk /*!< Filter bit 11 */ |
8356 | #define CAN_F21R1_FB12_Pos (12U) |
||
9 | mjames | 8357 | #define CAN_F21R1_FB12_Msk (0x1UL << CAN_F21R1_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 8358 | #define CAN_F21R1_FB12 CAN_F21R1_FB12_Msk /*!< Filter bit 12 */ |
8359 | #define CAN_F21R1_FB13_Pos (13U) |
||
9 | mjames | 8360 | #define CAN_F21R1_FB13_Msk (0x1UL << CAN_F21R1_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 8361 | #define CAN_F21R1_FB13 CAN_F21R1_FB13_Msk /*!< Filter bit 13 */ |
8362 | #define CAN_F21R1_FB14_Pos (14U) |
||
9 | mjames | 8363 | #define CAN_F21R1_FB14_Msk (0x1UL << CAN_F21R1_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 8364 | #define CAN_F21R1_FB14 CAN_F21R1_FB14_Msk /*!< Filter bit 14 */ |
8365 | #define CAN_F21R1_FB15_Pos (15U) |
||
9 | mjames | 8366 | #define CAN_F21R1_FB15_Msk (0x1UL << CAN_F21R1_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 8367 | #define CAN_F21R1_FB15 CAN_F21R1_FB15_Msk /*!< Filter bit 15 */ |
8368 | #define CAN_F21R1_FB16_Pos (16U) |
||
9 | mjames | 8369 | #define CAN_F21R1_FB16_Msk (0x1UL << CAN_F21R1_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 8370 | #define CAN_F21R1_FB16 CAN_F21R1_FB16_Msk /*!< Filter bit 16 */ |
8371 | #define CAN_F21R1_FB17_Pos (17U) |
||
9 | mjames | 8372 | #define CAN_F21R1_FB17_Msk (0x1UL << CAN_F21R1_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 8373 | #define CAN_F21R1_FB17 CAN_F21R1_FB17_Msk /*!< Filter bit 17 */ |
8374 | #define CAN_F21R1_FB18_Pos (18U) |
||
9 | mjames | 8375 | #define CAN_F21R1_FB18_Msk (0x1UL << CAN_F21R1_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 8376 | #define CAN_F21R1_FB18 CAN_F21R1_FB18_Msk /*!< Filter bit 18 */ |
8377 | #define CAN_F21R1_FB19_Pos (19U) |
||
9 | mjames | 8378 | #define CAN_F21R1_FB19_Msk (0x1UL << CAN_F21R1_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 8379 | #define CAN_F21R1_FB19 CAN_F21R1_FB19_Msk /*!< Filter bit 19 */ |
8380 | #define CAN_F21R1_FB20_Pos (20U) |
||
9 | mjames | 8381 | #define CAN_F21R1_FB20_Msk (0x1UL << CAN_F21R1_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 8382 | #define CAN_F21R1_FB20 CAN_F21R1_FB20_Msk /*!< Filter bit 20 */ |
8383 | #define CAN_F21R1_FB21_Pos (21U) |
||
9 | mjames | 8384 | #define CAN_F21R1_FB21_Msk (0x1UL << CAN_F21R1_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 8385 | #define CAN_F21R1_FB21 CAN_F21R1_FB21_Msk /*!< Filter bit 21 */ |
8386 | #define CAN_F21R1_FB22_Pos (22U) |
||
9 | mjames | 8387 | #define CAN_F21R1_FB22_Msk (0x1UL << CAN_F21R1_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 8388 | #define CAN_F21R1_FB22 CAN_F21R1_FB22_Msk /*!< Filter bit 22 */ |
8389 | #define CAN_F21R1_FB23_Pos (23U) |
||
9 | mjames | 8390 | #define CAN_F21R1_FB23_Msk (0x1UL << CAN_F21R1_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 8391 | #define CAN_F21R1_FB23 CAN_F21R1_FB23_Msk /*!< Filter bit 23 */ |
8392 | #define CAN_F21R1_FB24_Pos (24U) |
||
9 | mjames | 8393 | #define CAN_F21R1_FB24_Msk (0x1UL << CAN_F21R1_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 8394 | #define CAN_F21R1_FB24 CAN_F21R1_FB24_Msk /*!< Filter bit 24 */ |
8395 | #define CAN_F21R1_FB25_Pos (25U) |
||
9 | mjames | 8396 | #define CAN_F21R1_FB25_Msk (0x1UL << CAN_F21R1_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 8397 | #define CAN_F21R1_FB25 CAN_F21R1_FB25_Msk /*!< Filter bit 25 */ |
8398 | #define CAN_F21R1_FB26_Pos (26U) |
||
9 | mjames | 8399 | #define CAN_F21R1_FB26_Msk (0x1UL << CAN_F21R1_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 8400 | #define CAN_F21R1_FB26 CAN_F21R1_FB26_Msk /*!< Filter bit 26 */ |
8401 | #define CAN_F21R1_FB27_Pos (27U) |
||
9 | mjames | 8402 | #define CAN_F21R1_FB27_Msk (0x1UL << CAN_F21R1_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 8403 | #define CAN_F21R1_FB27 CAN_F21R1_FB27_Msk /*!< Filter bit 27 */ |
8404 | #define CAN_F21R1_FB28_Pos (28U) |
||
9 | mjames | 8405 | #define CAN_F21R1_FB28_Msk (0x1UL << CAN_F21R1_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 8406 | #define CAN_F21R1_FB28 CAN_F21R1_FB28_Msk /*!< Filter bit 28 */ |
8407 | #define CAN_F21R1_FB29_Pos (29U) |
||
9 | mjames | 8408 | #define CAN_F21R1_FB29_Msk (0x1UL << CAN_F21R1_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 8409 | #define CAN_F21R1_FB29 CAN_F21R1_FB29_Msk /*!< Filter bit 29 */ |
8410 | #define CAN_F21R1_FB30_Pos (30U) |
||
9 | mjames | 8411 | #define CAN_F21R1_FB30_Msk (0x1UL << CAN_F21R1_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 8412 | #define CAN_F21R1_FB30 CAN_F21R1_FB30_Msk /*!< Filter bit 30 */ |
8413 | #define CAN_F21R1_FB31_Pos (31U) |
||
9 | mjames | 8414 | #define CAN_F21R1_FB31_Msk (0x1UL << CAN_F21R1_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 8415 | #define CAN_F21R1_FB31 CAN_F21R1_FB31_Msk /*!< Filter bit 31 */ |
8416 | |||
8417 | /******************* Bit definition for CAN_F22R1 register ******************/ |
||
8418 | #define CAN_F22R1_FB0_Pos (0U) |
||
9 | mjames | 8419 | #define CAN_F22R1_FB0_Msk (0x1UL << CAN_F22R1_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 8420 | #define CAN_F22R1_FB0 CAN_F22R1_FB0_Msk /*!< Filter bit 0 */ |
8421 | #define CAN_F22R1_FB1_Pos (1U) |
||
9 | mjames | 8422 | #define CAN_F22R1_FB1_Msk (0x1UL << CAN_F22R1_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 8423 | #define CAN_F22R1_FB1 CAN_F22R1_FB1_Msk /*!< Filter bit 1 */ |
8424 | #define CAN_F22R1_FB2_Pos (2U) |
||
9 | mjames | 8425 | #define CAN_F22R1_FB2_Msk (0x1UL << CAN_F22R1_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 8426 | #define CAN_F22R1_FB2 CAN_F22R1_FB2_Msk /*!< Filter bit 2 */ |
8427 | #define CAN_F22R1_FB3_Pos (3U) |
||
9 | mjames | 8428 | #define CAN_F22R1_FB3_Msk (0x1UL << CAN_F22R1_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 8429 | #define CAN_F22R1_FB3 CAN_F22R1_FB3_Msk /*!< Filter bit 3 */ |
8430 | #define CAN_F22R1_FB4_Pos (4U) |
||
9 | mjames | 8431 | #define CAN_F22R1_FB4_Msk (0x1UL << CAN_F22R1_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 8432 | #define CAN_F22R1_FB4 CAN_F22R1_FB4_Msk /*!< Filter bit 4 */ |
8433 | #define CAN_F22R1_FB5_Pos (5U) |
||
9 | mjames | 8434 | #define CAN_F22R1_FB5_Msk (0x1UL << CAN_F22R1_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 8435 | #define CAN_F22R1_FB5 CAN_F22R1_FB5_Msk /*!< Filter bit 5 */ |
8436 | #define CAN_F22R1_FB6_Pos (6U) |
||
9 | mjames | 8437 | #define CAN_F22R1_FB6_Msk (0x1UL << CAN_F22R1_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 8438 | #define CAN_F22R1_FB6 CAN_F22R1_FB6_Msk /*!< Filter bit 6 */ |
8439 | #define CAN_F22R1_FB7_Pos (7U) |
||
9 | mjames | 8440 | #define CAN_F22R1_FB7_Msk (0x1UL << CAN_F22R1_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 8441 | #define CAN_F22R1_FB7 CAN_F22R1_FB7_Msk /*!< Filter bit 7 */ |
8442 | #define CAN_F22R1_FB8_Pos (8U) |
||
9 | mjames | 8443 | #define CAN_F22R1_FB8_Msk (0x1UL << CAN_F22R1_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 8444 | #define CAN_F22R1_FB8 CAN_F22R1_FB8_Msk /*!< Filter bit 8 */ |
8445 | #define CAN_F22R1_FB9_Pos (9U) |
||
9 | mjames | 8446 | #define CAN_F22R1_FB9_Msk (0x1UL << CAN_F22R1_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 8447 | #define CAN_F22R1_FB9 CAN_F22R1_FB9_Msk /*!< Filter bit 9 */ |
8448 | #define CAN_F22R1_FB10_Pos (10U) |
||
9 | mjames | 8449 | #define CAN_F22R1_FB10_Msk (0x1UL << CAN_F22R1_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 8450 | #define CAN_F22R1_FB10 CAN_F22R1_FB10_Msk /*!< Filter bit 10 */ |
8451 | #define CAN_F22R1_FB11_Pos (11U) |
||
9 | mjames | 8452 | #define CAN_F22R1_FB11_Msk (0x1UL << CAN_F22R1_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 8453 | #define CAN_F22R1_FB11 CAN_F22R1_FB11_Msk /*!< Filter bit 11 */ |
8454 | #define CAN_F22R1_FB12_Pos (12U) |
||
9 | mjames | 8455 | #define CAN_F22R1_FB12_Msk (0x1UL << CAN_F22R1_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 8456 | #define CAN_F22R1_FB12 CAN_F22R1_FB12_Msk /*!< Filter bit 12 */ |
8457 | #define CAN_F22R1_FB13_Pos (13U) |
||
9 | mjames | 8458 | #define CAN_F22R1_FB13_Msk (0x1UL << CAN_F22R1_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 8459 | #define CAN_F22R1_FB13 CAN_F22R1_FB13_Msk /*!< Filter bit 13 */ |
8460 | #define CAN_F22R1_FB14_Pos (14U) |
||
9 | mjames | 8461 | #define CAN_F22R1_FB14_Msk (0x1UL << CAN_F22R1_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 8462 | #define CAN_F22R1_FB14 CAN_F22R1_FB14_Msk /*!< Filter bit 14 */ |
8463 | #define CAN_F22R1_FB15_Pos (15U) |
||
9 | mjames | 8464 | #define CAN_F22R1_FB15_Msk (0x1UL << CAN_F22R1_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 8465 | #define CAN_F22R1_FB15 CAN_F22R1_FB15_Msk /*!< Filter bit 15 */ |
8466 | #define CAN_F22R1_FB16_Pos (16U) |
||
9 | mjames | 8467 | #define CAN_F22R1_FB16_Msk (0x1UL << CAN_F22R1_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 8468 | #define CAN_F22R1_FB16 CAN_F22R1_FB16_Msk /*!< Filter bit 16 */ |
8469 | #define CAN_F22R1_FB17_Pos (17U) |
||
9 | mjames | 8470 | #define CAN_F22R1_FB17_Msk (0x1UL << CAN_F22R1_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 8471 | #define CAN_F22R1_FB17 CAN_F22R1_FB17_Msk /*!< Filter bit 17 */ |
8472 | #define CAN_F22R1_FB18_Pos (18U) |
||
9 | mjames | 8473 | #define CAN_F22R1_FB18_Msk (0x1UL << CAN_F22R1_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 8474 | #define CAN_F22R1_FB18 CAN_F22R1_FB18_Msk /*!< Filter bit 18 */ |
8475 | #define CAN_F22R1_FB19_Pos (19U) |
||
9 | mjames | 8476 | #define CAN_F22R1_FB19_Msk (0x1UL << CAN_F22R1_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 8477 | #define CAN_F22R1_FB19 CAN_F22R1_FB19_Msk /*!< Filter bit 19 */ |
8478 | #define CAN_F22R1_FB20_Pos (20U) |
||
9 | mjames | 8479 | #define CAN_F22R1_FB20_Msk (0x1UL << CAN_F22R1_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 8480 | #define CAN_F22R1_FB20 CAN_F22R1_FB20_Msk /*!< Filter bit 20 */ |
8481 | #define CAN_F22R1_FB21_Pos (21U) |
||
9 | mjames | 8482 | #define CAN_F22R1_FB21_Msk (0x1UL << CAN_F22R1_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 8483 | #define CAN_F22R1_FB21 CAN_F22R1_FB21_Msk /*!< Filter bit 21 */ |
8484 | #define CAN_F22R1_FB22_Pos (22U) |
||
9 | mjames | 8485 | #define CAN_F22R1_FB22_Msk (0x1UL << CAN_F22R1_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 8486 | #define CAN_F22R1_FB22 CAN_F22R1_FB22_Msk /*!< Filter bit 22 */ |
8487 | #define CAN_F22R1_FB23_Pos (23U) |
||
9 | mjames | 8488 | #define CAN_F22R1_FB23_Msk (0x1UL << CAN_F22R1_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 8489 | #define CAN_F22R1_FB23 CAN_F22R1_FB23_Msk /*!< Filter bit 23 */ |
8490 | #define CAN_F22R1_FB24_Pos (24U) |
||
9 | mjames | 8491 | #define CAN_F22R1_FB24_Msk (0x1UL << CAN_F22R1_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 8492 | #define CAN_F22R1_FB24 CAN_F22R1_FB24_Msk /*!< Filter bit 24 */ |
8493 | #define CAN_F22R1_FB25_Pos (25U) |
||
9 | mjames | 8494 | #define CAN_F22R1_FB25_Msk (0x1UL << CAN_F22R1_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 8495 | #define CAN_F22R1_FB25 CAN_F22R1_FB25_Msk /*!< Filter bit 25 */ |
8496 | #define CAN_F22R1_FB26_Pos (26U) |
||
9 | mjames | 8497 | #define CAN_F22R1_FB26_Msk (0x1UL << CAN_F22R1_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 8498 | #define CAN_F22R1_FB26 CAN_F22R1_FB26_Msk /*!< Filter bit 26 */ |
8499 | #define CAN_F22R1_FB27_Pos (27U) |
||
9 | mjames | 8500 | #define CAN_F22R1_FB27_Msk (0x1UL << CAN_F22R1_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 8501 | #define CAN_F22R1_FB27 CAN_F22R1_FB27_Msk /*!< Filter bit 27 */ |
8502 | #define CAN_F22R1_FB28_Pos (28U) |
||
9 | mjames | 8503 | #define CAN_F22R1_FB28_Msk (0x1UL << CAN_F22R1_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 8504 | #define CAN_F22R1_FB28 CAN_F22R1_FB28_Msk /*!< Filter bit 28 */ |
8505 | #define CAN_F22R1_FB29_Pos (29U) |
||
9 | mjames | 8506 | #define CAN_F22R1_FB29_Msk (0x1UL << CAN_F22R1_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 8507 | #define CAN_F22R1_FB29 CAN_F22R1_FB29_Msk /*!< Filter bit 29 */ |
8508 | #define CAN_F22R1_FB30_Pos (30U) |
||
9 | mjames | 8509 | #define CAN_F22R1_FB30_Msk (0x1UL << CAN_F22R1_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 8510 | #define CAN_F22R1_FB30 CAN_F22R1_FB30_Msk /*!< Filter bit 30 */ |
8511 | #define CAN_F22R1_FB31_Pos (31U) |
||
9 | mjames | 8512 | #define CAN_F22R1_FB31_Msk (0x1UL << CAN_F22R1_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 8513 | #define CAN_F22R1_FB31 CAN_F22R1_FB31_Msk /*!< Filter bit 31 */ |
8514 | |||
8515 | /******************* Bit definition for CAN_F23R1 register ******************/ |
||
8516 | #define CAN_F23R1_FB0_Pos (0U) |
||
9 | mjames | 8517 | #define CAN_F23R1_FB0_Msk (0x1UL << CAN_F23R1_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 8518 | #define CAN_F23R1_FB0 CAN_F23R1_FB0_Msk /*!< Filter bit 0 */ |
8519 | #define CAN_F23R1_FB1_Pos (1U) |
||
9 | mjames | 8520 | #define CAN_F23R1_FB1_Msk (0x1UL << CAN_F23R1_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 8521 | #define CAN_F23R1_FB1 CAN_F23R1_FB1_Msk /*!< Filter bit 1 */ |
8522 | #define CAN_F23R1_FB2_Pos (2U) |
||
9 | mjames | 8523 | #define CAN_F23R1_FB2_Msk (0x1UL << CAN_F23R1_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 8524 | #define CAN_F23R1_FB2 CAN_F23R1_FB2_Msk /*!< Filter bit 2 */ |
8525 | #define CAN_F23R1_FB3_Pos (3U) |
||
9 | mjames | 8526 | #define CAN_F23R1_FB3_Msk (0x1UL << CAN_F23R1_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 8527 | #define CAN_F23R1_FB3 CAN_F23R1_FB3_Msk /*!< Filter bit 3 */ |
8528 | #define CAN_F23R1_FB4_Pos (4U) |
||
9 | mjames | 8529 | #define CAN_F23R1_FB4_Msk (0x1UL << CAN_F23R1_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 8530 | #define CAN_F23R1_FB4 CAN_F23R1_FB4_Msk /*!< Filter bit 4 */ |
8531 | #define CAN_F23R1_FB5_Pos (5U) |
||
9 | mjames | 8532 | #define CAN_F23R1_FB5_Msk (0x1UL << CAN_F23R1_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 8533 | #define CAN_F23R1_FB5 CAN_F23R1_FB5_Msk /*!< Filter bit 5 */ |
8534 | #define CAN_F23R1_FB6_Pos (6U) |
||
9 | mjames | 8535 | #define CAN_F23R1_FB6_Msk (0x1UL << CAN_F23R1_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 8536 | #define CAN_F23R1_FB6 CAN_F23R1_FB6_Msk /*!< Filter bit 6 */ |
8537 | #define CAN_F23R1_FB7_Pos (7U) |
||
9 | mjames | 8538 | #define CAN_F23R1_FB7_Msk (0x1UL << CAN_F23R1_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 8539 | #define CAN_F23R1_FB7 CAN_F23R1_FB7_Msk /*!< Filter bit 7 */ |
8540 | #define CAN_F23R1_FB8_Pos (8U) |
||
9 | mjames | 8541 | #define CAN_F23R1_FB8_Msk (0x1UL << CAN_F23R1_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 8542 | #define CAN_F23R1_FB8 CAN_F23R1_FB8_Msk /*!< Filter bit 8 */ |
8543 | #define CAN_F23R1_FB9_Pos (9U) |
||
9 | mjames | 8544 | #define CAN_F23R1_FB9_Msk (0x1UL << CAN_F23R1_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 8545 | #define CAN_F23R1_FB9 CAN_F23R1_FB9_Msk /*!< Filter bit 9 */ |
8546 | #define CAN_F23R1_FB10_Pos (10U) |
||
9 | mjames | 8547 | #define CAN_F23R1_FB10_Msk (0x1UL << CAN_F23R1_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 8548 | #define CAN_F23R1_FB10 CAN_F23R1_FB10_Msk /*!< Filter bit 10 */ |
8549 | #define CAN_F23R1_FB11_Pos (11U) |
||
9 | mjames | 8550 | #define CAN_F23R1_FB11_Msk (0x1UL << CAN_F23R1_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 8551 | #define CAN_F23R1_FB11 CAN_F23R1_FB11_Msk /*!< Filter bit 11 */ |
8552 | #define CAN_F23R1_FB12_Pos (12U) |
||
9 | mjames | 8553 | #define CAN_F23R1_FB12_Msk (0x1UL << CAN_F23R1_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 8554 | #define CAN_F23R1_FB12 CAN_F23R1_FB12_Msk /*!< Filter bit 12 */ |
8555 | #define CAN_F23R1_FB13_Pos (13U) |
||
9 | mjames | 8556 | #define CAN_F23R1_FB13_Msk (0x1UL << CAN_F23R1_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 8557 | #define CAN_F23R1_FB13 CAN_F23R1_FB13_Msk /*!< Filter bit 13 */ |
8558 | #define CAN_F23R1_FB14_Pos (14U) |
||
9 | mjames | 8559 | #define CAN_F23R1_FB14_Msk (0x1UL << CAN_F23R1_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 8560 | #define CAN_F23R1_FB14 CAN_F23R1_FB14_Msk /*!< Filter bit 14 */ |
8561 | #define CAN_F23R1_FB15_Pos (15U) |
||
9 | mjames | 8562 | #define CAN_F23R1_FB15_Msk (0x1UL << CAN_F23R1_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 8563 | #define CAN_F23R1_FB15 CAN_F23R1_FB15_Msk /*!< Filter bit 15 */ |
8564 | #define CAN_F23R1_FB16_Pos (16U) |
||
9 | mjames | 8565 | #define CAN_F23R1_FB16_Msk (0x1UL << CAN_F23R1_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 8566 | #define CAN_F23R1_FB16 CAN_F23R1_FB16_Msk /*!< Filter bit 16 */ |
8567 | #define CAN_F23R1_FB17_Pos (17U) |
||
9 | mjames | 8568 | #define CAN_F23R1_FB17_Msk (0x1UL << CAN_F23R1_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 8569 | #define CAN_F23R1_FB17 CAN_F23R1_FB17_Msk /*!< Filter bit 17 */ |
8570 | #define CAN_F23R1_FB18_Pos (18U) |
||
9 | mjames | 8571 | #define CAN_F23R1_FB18_Msk (0x1UL << CAN_F23R1_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 8572 | #define CAN_F23R1_FB18 CAN_F23R1_FB18_Msk /*!< Filter bit 18 */ |
8573 | #define CAN_F23R1_FB19_Pos (19U) |
||
9 | mjames | 8574 | #define CAN_F23R1_FB19_Msk (0x1UL << CAN_F23R1_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 8575 | #define CAN_F23R1_FB19 CAN_F23R1_FB19_Msk /*!< Filter bit 19 */ |
8576 | #define CAN_F23R1_FB20_Pos (20U) |
||
9 | mjames | 8577 | #define CAN_F23R1_FB20_Msk (0x1UL << CAN_F23R1_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 8578 | #define CAN_F23R1_FB20 CAN_F23R1_FB20_Msk /*!< Filter bit 20 */ |
8579 | #define CAN_F23R1_FB21_Pos (21U) |
||
9 | mjames | 8580 | #define CAN_F23R1_FB21_Msk (0x1UL << CAN_F23R1_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 8581 | #define CAN_F23R1_FB21 CAN_F23R1_FB21_Msk /*!< Filter bit 21 */ |
8582 | #define CAN_F23R1_FB22_Pos (22U) |
||
9 | mjames | 8583 | #define CAN_F23R1_FB22_Msk (0x1UL << CAN_F23R1_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 8584 | #define CAN_F23R1_FB22 CAN_F23R1_FB22_Msk /*!< Filter bit 22 */ |
8585 | #define CAN_F23R1_FB23_Pos (23U) |
||
9 | mjames | 8586 | #define CAN_F23R1_FB23_Msk (0x1UL << CAN_F23R1_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 8587 | #define CAN_F23R1_FB23 CAN_F23R1_FB23_Msk /*!< Filter bit 23 */ |
8588 | #define CAN_F23R1_FB24_Pos (24U) |
||
9 | mjames | 8589 | #define CAN_F23R1_FB24_Msk (0x1UL << CAN_F23R1_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 8590 | #define CAN_F23R1_FB24 CAN_F23R1_FB24_Msk /*!< Filter bit 24 */ |
8591 | #define CAN_F23R1_FB25_Pos (25U) |
||
9 | mjames | 8592 | #define CAN_F23R1_FB25_Msk (0x1UL << CAN_F23R1_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 8593 | #define CAN_F23R1_FB25 CAN_F23R1_FB25_Msk /*!< Filter bit 25 */ |
8594 | #define CAN_F23R1_FB26_Pos (26U) |
||
9 | mjames | 8595 | #define CAN_F23R1_FB26_Msk (0x1UL << CAN_F23R1_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 8596 | #define CAN_F23R1_FB26 CAN_F23R1_FB26_Msk /*!< Filter bit 26 */ |
8597 | #define CAN_F23R1_FB27_Pos (27U) |
||
9 | mjames | 8598 | #define CAN_F23R1_FB27_Msk (0x1UL << CAN_F23R1_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 8599 | #define CAN_F23R1_FB27 CAN_F23R1_FB27_Msk /*!< Filter bit 27 */ |
8600 | #define CAN_F23R1_FB28_Pos (28U) |
||
9 | mjames | 8601 | #define CAN_F23R1_FB28_Msk (0x1UL << CAN_F23R1_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 8602 | #define CAN_F23R1_FB28 CAN_F23R1_FB28_Msk /*!< Filter bit 28 */ |
8603 | #define CAN_F23R1_FB29_Pos (29U) |
||
9 | mjames | 8604 | #define CAN_F23R1_FB29_Msk (0x1UL << CAN_F23R1_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 8605 | #define CAN_F23R1_FB29 CAN_F23R1_FB29_Msk /*!< Filter bit 29 */ |
8606 | #define CAN_F23R1_FB30_Pos (30U) |
||
9 | mjames | 8607 | #define CAN_F23R1_FB30_Msk (0x1UL << CAN_F23R1_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 8608 | #define CAN_F23R1_FB30 CAN_F23R1_FB30_Msk /*!< Filter bit 30 */ |
8609 | #define CAN_F23R1_FB31_Pos (31U) |
||
9 | mjames | 8610 | #define CAN_F23R1_FB31_Msk (0x1UL << CAN_F23R1_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 8611 | #define CAN_F23R1_FB31 CAN_F23R1_FB31_Msk /*!< Filter bit 31 */ |
8612 | |||
8613 | /******************* Bit definition for CAN_F24R1 register ******************/ |
||
8614 | #define CAN_F24R1_FB0_Pos (0U) |
||
9 | mjames | 8615 | #define CAN_F24R1_FB0_Msk (0x1UL << CAN_F24R1_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 8616 | #define CAN_F24R1_FB0 CAN_F24R1_FB0_Msk /*!< Filter bit 0 */ |
8617 | #define CAN_F24R1_FB1_Pos (1U) |
||
9 | mjames | 8618 | #define CAN_F24R1_FB1_Msk (0x1UL << CAN_F24R1_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 8619 | #define CAN_F24R1_FB1 CAN_F24R1_FB1_Msk /*!< Filter bit 1 */ |
8620 | #define CAN_F24R1_FB2_Pos (2U) |
||
9 | mjames | 8621 | #define CAN_F24R1_FB2_Msk (0x1UL << CAN_F24R1_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 8622 | #define CAN_F24R1_FB2 CAN_F24R1_FB2_Msk /*!< Filter bit 2 */ |
8623 | #define CAN_F24R1_FB3_Pos (3U) |
||
9 | mjames | 8624 | #define CAN_F24R1_FB3_Msk (0x1UL << CAN_F24R1_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 8625 | #define CAN_F24R1_FB3 CAN_F24R1_FB3_Msk /*!< Filter bit 3 */ |
8626 | #define CAN_F24R1_FB4_Pos (4U) |
||
9 | mjames | 8627 | #define CAN_F24R1_FB4_Msk (0x1UL << CAN_F24R1_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 8628 | #define CAN_F24R1_FB4 CAN_F24R1_FB4_Msk /*!< Filter bit 4 */ |
8629 | #define CAN_F24R1_FB5_Pos (5U) |
||
9 | mjames | 8630 | #define CAN_F24R1_FB5_Msk (0x1UL << CAN_F24R1_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 8631 | #define CAN_F24R1_FB5 CAN_F24R1_FB5_Msk /*!< Filter bit 5 */ |
8632 | #define CAN_F24R1_FB6_Pos (6U) |
||
9 | mjames | 8633 | #define CAN_F24R1_FB6_Msk (0x1UL << CAN_F24R1_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 8634 | #define CAN_F24R1_FB6 CAN_F24R1_FB6_Msk /*!< Filter bit 6 */ |
8635 | #define CAN_F24R1_FB7_Pos (7U) |
||
9 | mjames | 8636 | #define CAN_F24R1_FB7_Msk (0x1UL << CAN_F24R1_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 8637 | #define CAN_F24R1_FB7 CAN_F24R1_FB7_Msk /*!< Filter bit 7 */ |
8638 | #define CAN_F24R1_FB8_Pos (8U) |
||
9 | mjames | 8639 | #define CAN_F24R1_FB8_Msk (0x1UL << CAN_F24R1_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 8640 | #define CAN_F24R1_FB8 CAN_F24R1_FB8_Msk /*!< Filter bit 8 */ |
8641 | #define CAN_F24R1_FB9_Pos (9U) |
||
9 | mjames | 8642 | #define CAN_F24R1_FB9_Msk (0x1UL << CAN_F24R1_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 8643 | #define CAN_F24R1_FB9 CAN_F24R1_FB9_Msk /*!< Filter bit 9 */ |
8644 | #define CAN_F24R1_FB10_Pos (10U) |
||
9 | mjames | 8645 | #define CAN_F24R1_FB10_Msk (0x1UL << CAN_F24R1_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 8646 | #define CAN_F24R1_FB10 CAN_F24R1_FB10_Msk /*!< Filter bit 10 */ |
8647 | #define CAN_F24R1_FB11_Pos (11U) |
||
9 | mjames | 8648 | #define CAN_F24R1_FB11_Msk (0x1UL << CAN_F24R1_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 8649 | #define CAN_F24R1_FB11 CAN_F24R1_FB11_Msk /*!< Filter bit 11 */ |
8650 | #define CAN_F24R1_FB12_Pos (12U) |
||
9 | mjames | 8651 | #define CAN_F24R1_FB12_Msk (0x1UL << CAN_F24R1_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 8652 | #define CAN_F24R1_FB12 CAN_F24R1_FB12_Msk /*!< Filter bit 12 */ |
8653 | #define CAN_F24R1_FB13_Pos (13U) |
||
9 | mjames | 8654 | #define CAN_F24R1_FB13_Msk (0x1UL << CAN_F24R1_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 8655 | #define CAN_F24R1_FB13 CAN_F24R1_FB13_Msk /*!< Filter bit 13 */ |
8656 | #define CAN_F24R1_FB14_Pos (14U) |
||
9 | mjames | 8657 | #define CAN_F24R1_FB14_Msk (0x1UL << CAN_F24R1_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 8658 | #define CAN_F24R1_FB14 CAN_F24R1_FB14_Msk /*!< Filter bit 14 */ |
8659 | #define CAN_F24R1_FB15_Pos (15U) |
||
9 | mjames | 8660 | #define CAN_F24R1_FB15_Msk (0x1UL << CAN_F24R1_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 8661 | #define CAN_F24R1_FB15 CAN_F24R1_FB15_Msk /*!< Filter bit 15 */ |
8662 | #define CAN_F24R1_FB16_Pos (16U) |
||
9 | mjames | 8663 | #define CAN_F24R1_FB16_Msk (0x1UL << CAN_F24R1_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 8664 | #define CAN_F24R1_FB16 CAN_F24R1_FB16_Msk /*!< Filter bit 16 */ |
8665 | #define CAN_F24R1_FB17_Pos (17U) |
||
9 | mjames | 8666 | #define CAN_F24R1_FB17_Msk (0x1UL << CAN_F24R1_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 8667 | #define CAN_F24R1_FB17 CAN_F24R1_FB17_Msk /*!< Filter bit 17 */ |
8668 | #define CAN_F24R1_FB18_Pos (18U) |
||
9 | mjames | 8669 | #define CAN_F24R1_FB18_Msk (0x1UL << CAN_F24R1_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 8670 | #define CAN_F24R1_FB18 CAN_F24R1_FB18_Msk /*!< Filter bit 18 */ |
8671 | #define CAN_F24R1_FB19_Pos (19U) |
||
9 | mjames | 8672 | #define CAN_F24R1_FB19_Msk (0x1UL << CAN_F24R1_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 8673 | #define CAN_F24R1_FB19 CAN_F24R1_FB19_Msk /*!< Filter bit 19 */ |
8674 | #define CAN_F24R1_FB20_Pos (20U) |
||
9 | mjames | 8675 | #define CAN_F24R1_FB20_Msk (0x1UL << CAN_F24R1_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 8676 | #define CAN_F24R1_FB20 CAN_F24R1_FB20_Msk /*!< Filter bit 20 */ |
8677 | #define CAN_F24R1_FB21_Pos (21U) |
||
9 | mjames | 8678 | #define CAN_F24R1_FB21_Msk (0x1UL << CAN_F24R1_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 8679 | #define CAN_F24R1_FB21 CAN_F24R1_FB21_Msk /*!< Filter bit 21 */ |
8680 | #define CAN_F24R1_FB22_Pos (22U) |
||
9 | mjames | 8681 | #define CAN_F24R1_FB22_Msk (0x1UL << CAN_F24R1_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 8682 | #define CAN_F24R1_FB22 CAN_F24R1_FB22_Msk /*!< Filter bit 22 */ |
8683 | #define CAN_F24R1_FB23_Pos (23U) |
||
9 | mjames | 8684 | #define CAN_F24R1_FB23_Msk (0x1UL << CAN_F24R1_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 8685 | #define CAN_F24R1_FB23 CAN_F24R1_FB23_Msk /*!< Filter bit 23 */ |
8686 | #define CAN_F24R1_FB24_Pos (24U) |
||
9 | mjames | 8687 | #define CAN_F24R1_FB24_Msk (0x1UL << CAN_F24R1_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 8688 | #define CAN_F24R1_FB24 CAN_F24R1_FB24_Msk /*!< Filter bit 24 */ |
8689 | #define CAN_F24R1_FB25_Pos (25U) |
||
9 | mjames | 8690 | #define CAN_F24R1_FB25_Msk (0x1UL << CAN_F24R1_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 8691 | #define CAN_F24R1_FB25 CAN_F24R1_FB25_Msk /*!< Filter bit 25 */ |
8692 | #define CAN_F24R1_FB26_Pos (26U) |
||
9 | mjames | 8693 | #define CAN_F24R1_FB26_Msk (0x1UL << CAN_F24R1_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 8694 | #define CAN_F24R1_FB26 CAN_F24R1_FB26_Msk /*!< Filter bit 26 */ |
8695 | #define CAN_F24R1_FB27_Pos (27U) |
||
9 | mjames | 8696 | #define CAN_F24R1_FB27_Msk (0x1UL << CAN_F24R1_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 8697 | #define CAN_F24R1_FB27 CAN_F24R1_FB27_Msk /*!< Filter bit 27 */ |
8698 | #define CAN_F24R1_FB28_Pos (28U) |
||
9 | mjames | 8699 | #define CAN_F24R1_FB28_Msk (0x1UL << CAN_F24R1_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 8700 | #define CAN_F24R1_FB28 CAN_F24R1_FB28_Msk /*!< Filter bit 28 */ |
8701 | #define CAN_F24R1_FB29_Pos (29U) |
||
9 | mjames | 8702 | #define CAN_F24R1_FB29_Msk (0x1UL << CAN_F24R1_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 8703 | #define CAN_F24R1_FB29 CAN_F24R1_FB29_Msk /*!< Filter bit 29 */ |
8704 | #define CAN_F24R1_FB30_Pos (30U) |
||
9 | mjames | 8705 | #define CAN_F24R1_FB30_Msk (0x1UL << CAN_F24R1_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 8706 | #define CAN_F24R1_FB30 CAN_F24R1_FB30_Msk /*!< Filter bit 30 */ |
8707 | #define CAN_F24R1_FB31_Pos (31U) |
||
9 | mjames | 8708 | #define CAN_F24R1_FB31_Msk (0x1UL << CAN_F24R1_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 8709 | #define CAN_F24R1_FB31 CAN_F24R1_FB31_Msk /*!< Filter bit 31 */ |
8710 | |||
8711 | /******************* Bit definition for CAN_F25R1 register ******************/ |
||
8712 | #define CAN_F25R1_FB0_Pos (0U) |
||
9 | mjames | 8713 | #define CAN_F25R1_FB0_Msk (0x1UL << CAN_F25R1_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 8714 | #define CAN_F25R1_FB0 CAN_F25R1_FB0_Msk /*!< Filter bit 0 */ |
8715 | #define CAN_F25R1_FB1_Pos (1U) |
||
9 | mjames | 8716 | #define CAN_F25R1_FB1_Msk (0x1UL << CAN_F25R1_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 8717 | #define CAN_F25R1_FB1 CAN_F25R1_FB1_Msk /*!< Filter bit 1 */ |
8718 | #define CAN_F25R1_FB2_Pos (2U) |
||
9 | mjames | 8719 | #define CAN_F25R1_FB2_Msk (0x1UL << CAN_F25R1_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 8720 | #define CAN_F25R1_FB2 CAN_F25R1_FB2_Msk /*!< Filter bit 2 */ |
8721 | #define CAN_F25R1_FB3_Pos (3U) |
||
9 | mjames | 8722 | #define CAN_F25R1_FB3_Msk (0x1UL << CAN_F25R1_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 8723 | #define CAN_F25R1_FB3 CAN_F25R1_FB3_Msk /*!< Filter bit 3 */ |
8724 | #define CAN_F25R1_FB4_Pos (4U) |
||
9 | mjames | 8725 | #define CAN_F25R1_FB4_Msk (0x1UL << CAN_F25R1_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 8726 | #define CAN_F25R1_FB4 CAN_F25R1_FB4_Msk /*!< Filter bit 4 */ |
8727 | #define CAN_F25R1_FB5_Pos (5U) |
||
9 | mjames | 8728 | #define CAN_F25R1_FB5_Msk (0x1UL << CAN_F25R1_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 8729 | #define CAN_F25R1_FB5 CAN_F25R1_FB5_Msk /*!< Filter bit 5 */ |
8730 | #define CAN_F25R1_FB6_Pos (6U) |
||
9 | mjames | 8731 | #define CAN_F25R1_FB6_Msk (0x1UL << CAN_F25R1_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 8732 | #define CAN_F25R1_FB6 CAN_F25R1_FB6_Msk /*!< Filter bit 6 */ |
8733 | #define CAN_F25R1_FB7_Pos (7U) |
||
9 | mjames | 8734 | #define CAN_F25R1_FB7_Msk (0x1UL << CAN_F25R1_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 8735 | #define CAN_F25R1_FB7 CAN_F25R1_FB7_Msk /*!< Filter bit 7 */ |
8736 | #define CAN_F25R1_FB8_Pos (8U) |
||
9 | mjames | 8737 | #define CAN_F25R1_FB8_Msk (0x1UL << CAN_F25R1_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 8738 | #define CAN_F25R1_FB8 CAN_F25R1_FB8_Msk /*!< Filter bit 8 */ |
8739 | #define CAN_F25R1_FB9_Pos (9U) |
||
9 | mjames | 8740 | #define CAN_F25R1_FB9_Msk (0x1UL << CAN_F25R1_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 8741 | #define CAN_F25R1_FB9 CAN_F25R1_FB9_Msk /*!< Filter bit 9 */ |
8742 | #define CAN_F25R1_FB10_Pos (10U) |
||
9 | mjames | 8743 | #define CAN_F25R1_FB10_Msk (0x1UL << CAN_F25R1_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 8744 | #define CAN_F25R1_FB10 CAN_F25R1_FB10_Msk /*!< Filter bit 10 */ |
8745 | #define CAN_F25R1_FB11_Pos (11U) |
||
9 | mjames | 8746 | #define CAN_F25R1_FB11_Msk (0x1UL << CAN_F25R1_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 8747 | #define CAN_F25R1_FB11 CAN_F25R1_FB11_Msk /*!< Filter bit 11 */ |
8748 | #define CAN_F25R1_FB12_Pos (12U) |
||
9 | mjames | 8749 | #define CAN_F25R1_FB12_Msk (0x1UL << CAN_F25R1_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 8750 | #define CAN_F25R1_FB12 CAN_F25R1_FB12_Msk /*!< Filter bit 12 */ |
8751 | #define CAN_F25R1_FB13_Pos (13U) |
||
9 | mjames | 8752 | #define CAN_F25R1_FB13_Msk (0x1UL << CAN_F25R1_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 8753 | #define CAN_F25R1_FB13 CAN_F25R1_FB13_Msk /*!< Filter bit 13 */ |
8754 | #define CAN_F25R1_FB14_Pos (14U) |
||
9 | mjames | 8755 | #define CAN_F25R1_FB14_Msk (0x1UL << CAN_F25R1_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 8756 | #define CAN_F25R1_FB14 CAN_F25R1_FB14_Msk /*!< Filter bit 14 */ |
8757 | #define CAN_F25R1_FB15_Pos (15U) |
||
9 | mjames | 8758 | #define CAN_F25R1_FB15_Msk (0x1UL << CAN_F25R1_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 8759 | #define CAN_F25R1_FB15 CAN_F25R1_FB15_Msk /*!< Filter bit 15 */ |
8760 | #define CAN_F25R1_FB16_Pos (16U) |
||
9 | mjames | 8761 | #define CAN_F25R1_FB16_Msk (0x1UL << CAN_F25R1_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 8762 | #define CAN_F25R1_FB16 CAN_F25R1_FB16_Msk /*!< Filter bit 16 */ |
8763 | #define CAN_F25R1_FB17_Pos (17U) |
||
9 | mjames | 8764 | #define CAN_F25R1_FB17_Msk (0x1UL << CAN_F25R1_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 8765 | #define CAN_F25R1_FB17 CAN_F25R1_FB17_Msk /*!< Filter bit 17 */ |
8766 | #define CAN_F25R1_FB18_Pos (18U) |
||
9 | mjames | 8767 | #define CAN_F25R1_FB18_Msk (0x1UL << CAN_F25R1_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 8768 | #define CAN_F25R1_FB18 CAN_F25R1_FB18_Msk /*!< Filter bit 18 */ |
8769 | #define CAN_F25R1_FB19_Pos (19U) |
||
9 | mjames | 8770 | #define CAN_F25R1_FB19_Msk (0x1UL << CAN_F25R1_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 8771 | #define CAN_F25R1_FB19 CAN_F25R1_FB19_Msk /*!< Filter bit 19 */ |
8772 | #define CAN_F25R1_FB20_Pos (20U) |
||
9 | mjames | 8773 | #define CAN_F25R1_FB20_Msk (0x1UL << CAN_F25R1_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 8774 | #define CAN_F25R1_FB20 CAN_F25R1_FB20_Msk /*!< Filter bit 20 */ |
8775 | #define CAN_F25R1_FB21_Pos (21U) |
||
9 | mjames | 8776 | #define CAN_F25R1_FB21_Msk (0x1UL << CAN_F25R1_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 8777 | #define CAN_F25R1_FB21 CAN_F25R1_FB21_Msk /*!< Filter bit 21 */ |
8778 | #define CAN_F25R1_FB22_Pos (22U) |
||
9 | mjames | 8779 | #define CAN_F25R1_FB22_Msk (0x1UL << CAN_F25R1_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 8780 | #define CAN_F25R1_FB22 CAN_F25R1_FB22_Msk /*!< Filter bit 22 */ |
8781 | #define CAN_F25R1_FB23_Pos (23U) |
||
9 | mjames | 8782 | #define CAN_F25R1_FB23_Msk (0x1UL << CAN_F25R1_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 8783 | #define CAN_F25R1_FB23 CAN_F25R1_FB23_Msk /*!< Filter bit 23 */ |
8784 | #define CAN_F25R1_FB24_Pos (24U) |
||
9 | mjames | 8785 | #define CAN_F25R1_FB24_Msk (0x1UL << CAN_F25R1_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 8786 | #define CAN_F25R1_FB24 CAN_F25R1_FB24_Msk /*!< Filter bit 24 */ |
8787 | #define CAN_F25R1_FB25_Pos (25U) |
||
9 | mjames | 8788 | #define CAN_F25R1_FB25_Msk (0x1UL << CAN_F25R1_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 8789 | #define CAN_F25R1_FB25 CAN_F25R1_FB25_Msk /*!< Filter bit 25 */ |
8790 | #define CAN_F25R1_FB26_Pos (26U) |
||
9 | mjames | 8791 | #define CAN_F25R1_FB26_Msk (0x1UL << CAN_F25R1_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 8792 | #define CAN_F25R1_FB26 CAN_F25R1_FB26_Msk /*!< Filter bit 26 */ |
8793 | #define CAN_F25R1_FB27_Pos (27U) |
||
9 | mjames | 8794 | #define CAN_F25R1_FB27_Msk (0x1UL << CAN_F25R1_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 8795 | #define CAN_F25R1_FB27 CAN_F25R1_FB27_Msk /*!< Filter bit 27 */ |
8796 | #define CAN_F25R1_FB28_Pos (28U) |
||
9 | mjames | 8797 | #define CAN_F25R1_FB28_Msk (0x1UL << CAN_F25R1_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 8798 | #define CAN_F25R1_FB28 CAN_F25R1_FB28_Msk /*!< Filter bit 28 */ |
8799 | #define CAN_F25R1_FB29_Pos (29U) |
||
9 | mjames | 8800 | #define CAN_F25R1_FB29_Msk (0x1UL << CAN_F25R1_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 8801 | #define CAN_F25R1_FB29 CAN_F25R1_FB29_Msk /*!< Filter bit 29 */ |
8802 | #define CAN_F25R1_FB30_Pos (30U) |
||
9 | mjames | 8803 | #define CAN_F25R1_FB30_Msk (0x1UL << CAN_F25R1_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 8804 | #define CAN_F25R1_FB30 CAN_F25R1_FB30_Msk /*!< Filter bit 30 */ |
8805 | #define CAN_F25R1_FB31_Pos (31U) |
||
9 | mjames | 8806 | #define CAN_F25R1_FB31_Msk (0x1UL << CAN_F25R1_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 8807 | #define CAN_F25R1_FB31 CAN_F25R1_FB31_Msk /*!< Filter bit 31 */ |
8808 | |||
8809 | /******************* Bit definition for CAN_F26R1 register ******************/ |
||
8810 | #define CAN_F26R1_FB0_Pos (0U) |
||
9 | mjames | 8811 | #define CAN_F26R1_FB0_Msk (0x1UL << CAN_F26R1_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 8812 | #define CAN_F26R1_FB0 CAN_F26R1_FB0_Msk /*!< Filter bit 0 */ |
8813 | #define CAN_F26R1_FB1_Pos (1U) |
||
9 | mjames | 8814 | #define CAN_F26R1_FB1_Msk (0x1UL << CAN_F26R1_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 8815 | #define CAN_F26R1_FB1 CAN_F26R1_FB1_Msk /*!< Filter bit 1 */ |
8816 | #define CAN_F26R1_FB2_Pos (2U) |
||
9 | mjames | 8817 | #define CAN_F26R1_FB2_Msk (0x1UL << CAN_F26R1_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 8818 | #define CAN_F26R1_FB2 CAN_F26R1_FB2_Msk /*!< Filter bit 2 */ |
8819 | #define CAN_F26R1_FB3_Pos (3U) |
||
9 | mjames | 8820 | #define CAN_F26R1_FB3_Msk (0x1UL << CAN_F26R1_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 8821 | #define CAN_F26R1_FB3 CAN_F26R1_FB3_Msk /*!< Filter bit 3 */ |
8822 | #define CAN_F26R1_FB4_Pos (4U) |
||
9 | mjames | 8823 | #define CAN_F26R1_FB4_Msk (0x1UL << CAN_F26R1_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 8824 | #define CAN_F26R1_FB4 CAN_F26R1_FB4_Msk /*!< Filter bit 4 */ |
8825 | #define CAN_F26R1_FB5_Pos (5U) |
||
9 | mjames | 8826 | #define CAN_F26R1_FB5_Msk (0x1UL << CAN_F26R1_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 8827 | #define CAN_F26R1_FB5 CAN_F26R1_FB5_Msk /*!< Filter bit 5 */ |
8828 | #define CAN_F26R1_FB6_Pos (6U) |
||
9 | mjames | 8829 | #define CAN_F26R1_FB6_Msk (0x1UL << CAN_F26R1_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 8830 | #define CAN_F26R1_FB6 CAN_F26R1_FB6_Msk /*!< Filter bit 6 */ |
8831 | #define CAN_F26R1_FB7_Pos (7U) |
||
9 | mjames | 8832 | #define CAN_F26R1_FB7_Msk (0x1UL << CAN_F26R1_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 8833 | #define CAN_F26R1_FB7 CAN_F26R1_FB7_Msk /*!< Filter bit 7 */ |
8834 | #define CAN_F26R1_FB8_Pos (8U) |
||
9 | mjames | 8835 | #define CAN_F26R1_FB8_Msk (0x1UL << CAN_F26R1_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 8836 | #define CAN_F26R1_FB8 CAN_F26R1_FB8_Msk /*!< Filter bit 8 */ |
8837 | #define CAN_F26R1_FB9_Pos (9U) |
||
9 | mjames | 8838 | #define CAN_F26R1_FB9_Msk (0x1UL << CAN_F26R1_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 8839 | #define CAN_F26R1_FB9 CAN_F26R1_FB9_Msk /*!< Filter bit 9 */ |
8840 | #define CAN_F26R1_FB10_Pos (10U) |
||
9 | mjames | 8841 | #define CAN_F26R1_FB10_Msk (0x1UL << CAN_F26R1_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 8842 | #define CAN_F26R1_FB10 CAN_F26R1_FB10_Msk /*!< Filter bit 10 */ |
8843 | #define CAN_F26R1_FB11_Pos (11U) |
||
9 | mjames | 8844 | #define CAN_F26R1_FB11_Msk (0x1UL << CAN_F26R1_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 8845 | #define CAN_F26R1_FB11 CAN_F26R1_FB11_Msk /*!< Filter bit 11 */ |
8846 | #define CAN_F26R1_FB12_Pos (12U) |
||
9 | mjames | 8847 | #define CAN_F26R1_FB12_Msk (0x1UL << CAN_F26R1_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 8848 | #define CAN_F26R1_FB12 CAN_F26R1_FB12_Msk /*!< Filter bit 12 */ |
8849 | #define CAN_F26R1_FB13_Pos (13U) |
||
9 | mjames | 8850 | #define CAN_F26R1_FB13_Msk (0x1UL << CAN_F26R1_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 8851 | #define CAN_F26R1_FB13 CAN_F26R1_FB13_Msk /*!< Filter bit 13 */ |
8852 | #define CAN_F26R1_FB14_Pos (14U) |
||
9 | mjames | 8853 | #define CAN_F26R1_FB14_Msk (0x1UL << CAN_F26R1_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 8854 | #define CAN_F26R1_FB14 CAN_F26R1_FB14_Msk /*!< Filter bit 14 */ |
8855 | #define CAN_F26R1_FB15_Pos (15U) |
||
9 | mjames | 8856 | #define CAN_F26R1_FB15_Msk (0x1UL << CAN_F26R1_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 8857 | #define CAN_F26R1_FB15 CAN_F26R1_FB15_Msk /*!< Filter bit 15 */ |
8858 | #define CAN_F26R1_FB16_Pos (16U) |
||
9 | mjames | 8859 | #define CAN_F26R1_FB16_Msk (0x1UL << CAN_F26R1_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 8860 | #define CAN_F26R1_FB16 CAN_F26R1_FB16_Msk /*!< Filter bit 16 */ |
8861 | #define CAN_F26R1_FB17_Pos (17U) |
||
9 | mjames | 8862 | #define CAN_F26R1_FB17_Msk (0x1UL << CAN_F26R1_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 8863 | #define CAN_F26R1_FB17 CAN_F26R1_FB17_Msk /*!< Filter bit 17 */ |
8864 | #define CAN_F26R1_FB18_Pos (18U) |
||
9 | mjames | 8865 | #define CAN_F26R1_FB18_Msk (0x1UL << CAN_F26R1_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 8866 | #define CAN_F26R1_FB18 CAN_F26R1_FB18_Msk /*!< Filter bit 18 */ |
8867 | #define CAN_F26R1_FB19_Pos (19U) |
||
9 | mjames | 8868 | #define CAN_F26R1_FB19_Msk (0x1UL << CAN_F26R1_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 8869 | #define CAN_F26R1_FB19 CAN_F26R1_FB19_Msk /*!< Filter bit 19 */ |
8870 | #define CAN_F26R1_FB20_Pos (20U) |
||
9 | mjames | 8871 | #define CAN_F26R1_FB20_Msk (0x1UL << CAN_F26R1_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 8872 | #define CAN_F26R1_FB20 CAN_F26R1_FB20_Msk /*!< Filter bit 20 */ |
8873 | #define CAN_F26R1_FB21_Pos (21U) |
||
9 | mjames | 8874 | #define CAN_F26R1_FB21_Msk (0x1UL << CAN_F26R1_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 8875 | #define CAN_F26R1_FB21 CAN_F26R1_FB21_Msk /*!< Filter bit 21 */ |
8876 | #define CAN_F26R1_FB22_Pos (22U) |
||
9 | mjames | 8877 | #define CAN_F26R1_FB22_Msk (0x1UL << CAN_F26R1_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 8878 | #define CAN_F26R1_FB22 CAN_F26R1_FB22_Msk /*!< Filter bit 22 */ |
8879 | #define CAN_F26R1_FB23_Pos (23U) |
||
9 | mjames | 8880 | #define CAN_F26R1_FB23_Msk (0x1UL << CAN_F26R1_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 8881 | #define CAN_F26R1_FB23 CAN_F26R1_FB23_Msk /*!< Filter bit 23 */ |
8882 | #define CAN_F26R1_FB24_Pos (24U) |
||
9 | mjames | 8883 | #define CAN_F26R1_FB24_Msk (0x1UL << CAN_F26R1_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 8884 | #define CAN_F26R1_FB24 CAN_F26R1_FB24_Msk /*!< Filter bit 24 */ |
8885 | #define CAN_F26R1_FB25_Pos (25U) |
||
9 | mjames | 8886 | #define CAN_F26R1_FB25_Msk (0x1UL << CAN_F26R1_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 8887 | #define CAN_F26R1_FB25 CAN_F26R1_FB25_Msk /*!< Filter bit 25 */ |
8888 | #define CAN_F26R1_FB26_Pos (26U) |
||
9 | mjames | 8889 | #define CAN_F26R1_FB26_Msk (0x1UL << CAN_F26R1_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 8890 | #define CAN_F26R1_FB26 CAN_F26R1_FB26_Msk /*!< Filter bit 26 */ |
8891 | #define CAN_F26R1_FB27_Pos (27U) |
||
9 | mjames | 8892 | #define CAN_F26R1_FB27_Msk (0x1UL << CAN_F26R1_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 8893 | #define CAN_F26R1_FB27 CAN_F26R1_FB27_Msk /*!< Filter bit 27 */ |
8894 | #define CAN_F26R1_FB28_Pos (28U) |
||
9 | mjames | 8895 | #define CAN_F26R1_FB28_Msk (0x1UL << CAN_F26R1_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 8896 | #define CAN_F26R1_FB28 CAN_F26R1_FB28_Msk /*!< Filter bit 28 */ |
8897 | #define CAN_F26R1_FB29_Pos (29U) |
||
9 | mjames | 8898 | #define CAN_F26R1_FB29_Msk (0x1UL << CAN_F26R1_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 8899 | #define CAN_F26R1_FB29 CAN_F26R1_FB29_Msk /*!< Filter bit 29 */ |
8900 | #define CAN_F26R1_FB30_Pos (30U) |
||
9 | mjames | 8901 | #define CAN_F26R1_FB30_Msk (0x1UL << CAN_F26R1_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 8902 | #define CAN_F26R1_FB30 CAN_F26R1_FB30_Msk /*!< Filter bit 30 */ |
8903 | #define CAN_F26R1_FB31_Pos (31U) |
||
9 | mjames | 8904 | #define CAN_F26R1_FB31_Msk (0x1UL << CAN_F26R1_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 8905 | #define CAN_F26R1_FB31 CAN_F26R1_FB31_Msk /*!< Filter bit 31 */ |
8906 | |||
8907 | /******************* Bit definition for CAN_F27R1 register ******************/ |
||
8908 | #define CAN_F27R1_FB0_Pos (0U) |
||
9 | mjames | 8909 | #define CAN_F27R1_FB0_Msk (0x1UL << CAN_F27R1_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 8910 | #define CAN_F27R1_FB0 CAN_F27R1_FB0_Msk /*!< Filter bit 0 */ |
8911 | #define CAN_F27R1_FB1_Pos (1U) |
||
9 | mjames | 8912 | #define CAN_F27R1_FB1_Msk (0x1UL << CAN_F27R1_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 8913 | #define CAN_F27R1_FB1 CAN_F27R1_FB1_Msk /*!< Filter bit 1 */ |
8914 | #define CAN_F27R1_FB2_Pos (2U) |
||
9 | mjames | 8915 | #define CAN_F27R1_FB2_Msk (0x1UL << CAN_F27R1_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 8916 | #define CAN_F27R1_FB2 CAN_F27R1_FB2_Msk /*!< Filter bit 2 */ |
8917 | #define CAN_F27R1_FB3_Pos (3U) |
||
9 | mjames | 8918 | #define CAN_F27R1_FB3_Msk (0x1UL << CAN_F27R1_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 8919 | #define CAN_F27R1_FB3 CAN_F27R1_FB3_Msk /*!< Filter bit 3 */ |
8920 | #define CAN_F27R1_FB4_Pos (4U) |
||
9 | mjames | 8921 | #define CAN_F27R1_FB4_Msk (0x1UL << CAN_F27R1_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 8922 | #define CAN_F27R1_FB4 CAN_F27R1_FB4_Msk /*!< Filter bit 4 */ |
8923 | #define CAN_F27R1_FB5_Pos (5U) |
||
9 | mjames | 8924 | #define CAN_F27R1_FB5_Msk (0x1UL << CAN_F27R1_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 8925 | #define CAN_F27R1_FB5 CAN_F27R1_FB5_Msk /*!< Filter bit 5 */ |
8926 | #define CAN_F27R1_FB6_Pos (6U) |
||
9 | mjames | 8927 | #define CAN_F27R1_FB6_Msk (0x1UL << CAN_F27R1_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 8928 | #define CAN_F27R1_FB6 CAN_F27R1_FB6_Msk /*!< Filter bit 6 */ |
8929 | #define CAN_F27R1_FB7_Pos (7U) |
||
9 | mjames | 8930 | #define CAN_F27R1_FB7_Msk (0x1UL << CAN_F27R1_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 8931 | #define CAN_F27R1_FB7 CAN_F27R1_FB7_Msk /*!< Filter bit 7 */ |
8932 | #define CAN_F27R1_FB8_Pos (8U) |
||
9 | mjames | 8933 | #define CAN_F27R1_FB8_Msk (0x1UL << CAN_F27R1_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 8934 | #define CAN_F27R1_FB8 CAN_F27R1_FB8_Msk /*!< Filter bit 8 */ |
8935 | #define CAN_F27R1_FB9_Pos (9U) |
||
9 | mjames | 8936 | #define CAN_F27R1_FB9_Msk (0x1UL << CAN_F27R1_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 8937 | #define CAN_F27R1_FB9 CAN_F27R1_FB9_Msk /*!< Filter bit 9 */ |
8938 | #define CAN_F27R1_FB10_Pos (10U) |
||
9 | mjames | 8939 | #define CAN_F27R1_FB10_Msk (0x1UL << CAN_F27R1_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 8940 | #define CAN_F27R1_FB10 CAN_F27R1_FB10_Msk /*!< Filter bit 10 */ |
8941 | #define CAN_F27R1_FB11_Pos (11U) |
||
9 | mjames | 8942 | #define CAN_F27R1_FB11_Msk (0x1UL << CAN_F27R1_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 8943 | #define CAN_F27R1_FB11 CAN_F27R1_FB11_Msk /*!< Filter bit 11 */ |
8944 | #define CAN_F27R1_FB12_Pos (12U) |
||
9 | mjames | 8945 | #define CAN_F27R1_FB12_Msk (0x1UL << CAN_F27R1_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 8946 | #define CAN_F27R1_FB12 CAN_F27R1_FB12_Msk /*!< Filter bit 12 */ |
8947 | #define CAN_F27R1_FB13_Pos (13U) |
||
9 | mjames | 8948 | #define CAN_F27R1_FB13_Msk (0x1UL << CAN_F27R1_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 8949 | #define CAN_F27R1_FB13 CAN_F27R1_FB13_Msk /*!< Filter bit 13 */ |
8950 | #define CAN_F27R1_FB14_Pos (14U) |
||
9 | mjames | 8951 | #define CAN_F27R1_FB14_Msk (0x1UL << CAN_F27R1_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 8952 | #define CAN_F27R1_FB14 CAN_F27R1_FB14_Msk /*!< Filter bit 14 */ |
8953 | #define CAN_F27R1_FB15_Pos (15U) |
||
9 | mjames | 8954 | #define CAN_F27R1_FB15_Msk (0x1UL << CAN_F27R1_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 8955 | #define CAN_F27R1_FB15 CAN_F27R1_FB15_Msk /*!< Filter bit 15 */ |
8956 | #define CAN_F27R1_FB16_Pos (16U) |
||
9 | mjames | 8957 | #define CAN_F27R1_FB16_Msk (0x1UL << CAN_F27R1_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 8958 | #define CAN_F27R1_FB16 CAN_F27R1_FB16_Msk /*!< Filter bit 16 */ |
8959 | #define CAN_F27R1_FB17_Pos (17U) |
||
9 | mjames | 8960 | #define CAN_F27R1_FB17_Msk (0x1UL << CAN_F27R1_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 8961 | #define CAN_F27R1_FB17 CAN_F27R1_FB17_Msk /*!< Filter bit 17 */ |
8962 | #define CAN_F27R1_FB18_Pos (18U) |
||
9 | mjames | 8963 | #define CAN_F27R1_FB18_Msk (0x1UL << CAN_F27R1_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 8964 | #define CAN_F27R1_FB18 CAN_F27R1_FB18_Msk /*!< Filter bit 18 */ |
8965 | #define CAN_F27R1_FB19_Pos (19U) |
||
9 | mjames | 8966 | #define CAN_F27R1_FB19_Msk (0x1UL << CAN_F27R1_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 8967 | #define CAN_F27R1_FB19 CAN_F27R1_FB19_Msk /*!< Filter bit 19 */ |
8968 | #define CAN_F27R1_FB20_Pos (20U) |
||
9 | mjames | 8969 | #define CAN_F27R1_FB20_Msk (0x1UL << CAN_F27R1_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 8970 | #define CAN_F27R1_FB20 CAN_F27R1_FB20_Msk /*!< Filter bit 20 */ |
8971 | #define CAN_F27R1_FB21_Pos (21U) |
||
9 | mjames | 8972 | #define CAN_F27R1_FB21_Msk (0x1UL << CAN_F27R1_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 8973 | #define CAN_F27R1_FB21 CAN_F27R1_FB21_Msk /*!< Filter bit 21 */ |
8974 | #define CAN_F27R1_FB22_Pos (22U) |
||
9 | mjames | 8975 | #define CAN_F27R1_FB22_Msk (0x1UL << CAN_F27R1_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 8976 | #define CAN_F27R1_FB22 CAN_F27R1_FB22_Msk /*!< Filter bit 22 */ |
8977 | #define CAN_F27R1_FB23_Pos (23U) |
||
9 | mjames | 8978 | #define CAN_F27R1_FB23_Msk (0x1UL << CAN_F27R1_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 8979 | #define CAN_F27R1_FB23 CAN_F27R1_FB23_Msk /*!< Filter bit 23 */ |
8980 | #define CAN_F27R1_FB24_Pos (24U) |
||
9 | mjames | 8981 | #define CAN_F27R1_FB24_Msk (0x1UL << CAN_F27R1_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 8982 | #define CAN_F27R1_FB24 CAN_F27R1_FB24_Msk /*!< Filter bit 24 */ |
8983 | #define CAN_F27R1_FB25_Pos (25U) |
||
9 | mjames | 8984 | #define CAN_F27R1_FB25_Msk (0x1UL << CAN_F27R1_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 8985 | #define CAN_F27R1_FB25 CAN_F27R1_FB25_Msk /*!< Filter bit 25 */ |
8986 | #define CAN_F27R1_FB26_Pos (26U) |
||
9 | mjames | 8987 | #define CAN_F27R1_FB26_Msk (0x1UL << CAN_F27R1_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 8988 | #define CAN_F27R1_FB26 CAN_F27R1_FB26_Msk /*!< Filter bit 26 */ |
8989 | #define CAN_F27R1_FB27_Pos (27U) |
||
9 | mjames | 8990 | #define CAN_F27R1_FB27_Msk (0x1UL << CAN_F27R1_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 8991 | #define CAN_F27R1_FB27 CAN_F27R1_FB27_Msk /*!< Filter bit 27 */ |
8992 | #define CAN_F27R1_FB28_Pos (28U) |
||
9 | mjames | 8993 | #define CAN_F27R1_FB28_Msk (0x1UL << CAN_F27R1_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 8994 | #define CAN_F27R1_FB28 CAN_F27R1_FB28_Msk /*!< Filter bit 28 */ |
8995 | #define CAN_F27R1_FB29_Pos (29U) |
||
9 | mjames | 8996 | #define CAN_F27R1_FB29_Msk (0x1UL << CAN_F27R1_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 8997 | #define CAN_F27R1_FB29 CAN_F27R1_FB29_Msk /*!< Filter bit 29 */ |
8998 | #define CAN_F27R1_FB30_Pos (30U) |
||
9 | mjames | 8999 | #define CAN_F27R1_FB30_Msk (0x1UL << CAN_F27R1_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 9000 | #define CAN_F27R1_FB30 CAN_F27R1_FB30_Msk /*!< Filter bit 30 */ |
9001 | #define CAN_F27R1_FB31_Pos (31U) |
||
9 | mjames | 9002 | #define CAN_F27R1_FB31_Msk (0x1UL << CAN_F27R1_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 9003 | #define CAN_F27R1_FB31 CAN_F27R1_FB31_Msk /*!< Filter bit 31 */ |
9004 | |||
9005 | /******************* Bit definition for CAN_F0R2 register *******************/ |
||
9006 | #define CAN_F0R2_FB0_Pos (0U) |
||
9 | mjames | 9007 | #define CAN_F0R2_FB0_Msk (0x1UL << CAN_F0R2_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 9008 | #define CAN_F0R2_FB0 CAN_F0R2_FB0_Msk /*!< Filter bit 0 */ |
9009 | #define CAN_F0R2_FB1_Pos (1U) |
||
9 | mjames | 9010 | #define CAN_F0R2_FB1_Msk (0x1UL << CAN_F0R2_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 9011 | #define CAN_F0R2_FB1 CAN_F0R2_FB1_Msk /*!< Filter bit 1 */ |
9012 | #define CAN_F0R2_FB2_Pos (2U) |
||
9 | mjames | 9013 | #define CAN_F0R2_FB2_Msk (0x1UL << CAN_F0R2_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 9014 | #define CAN_F0R2_FB2 CAN_F0R2_FB2_Msk /*!< Filter bit 2 */ |
9015 | #define CAN_F0R2_FB3_Pos (3U) |
||
9 | mjames | 9016 | #define CAN_F0R2_FB3_Msk (0x1UL << CAN_F0R2_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 9017 | #define CAN_F0R2_FB3 CAN_F0R2_FB3_Msk /*!< Filter bit 3 */ |
9018 | #define CAN_F0R2_FB4_Pos (4U) |
||
9 | mjames | 9019 | #define CAN_F0R2_FB4_Msk (0x1UL << CAN_F0R2_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 9020 | #define CAN_F0R2_FB4 CAN_F0R2_FB4_Msk /*!< Filter bit 4 */ |
9021 | #define CAN_F0R2_FB5_Pos (5U) |
||
9 | mjames | 9022 | #define CAN_F0R2_FB5_Msk (0x1UL << CAN_F0R2_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 9023 | #define CAN_F0R2_FB5 CAN_F0R2_FB5_Msk /*!< Filter bit 5 */ |
9024 | #define CAN_F0R2_FB6_Pos (6U) |
||
9 | mjames | 9025 | #define CAN_F0R2_FB6_Msk (0x1UL << CAN_F0R2_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 9026 | #define CAN_F0R2_FB6 CAN_F0R2_FB6_Msk /*!< Filter bit 6 */ |
9027 | #define CAN_F0R2_FB7_Pos (7U) |
||
9 | mjames | 9028 | #define CAN_F0R2_FB7_Msk (0x1UL << CAN_F0R2_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 9029 | #define CAN_F0R2_FB7 CAN_F0R2_FB7_Msk /*!< Filter bit 7 */ |
9030 | #define CAN_F0R2_FB8_Pos (8U) |
||
9 | mjames | 9031 | #define CAN_F0R2_FB8_Msk (0x1UL << CAN_F0R2_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 9032 | #define CAN_F0R2_FB8 CAN_F0R2_FB8_Msk /*!< Filter bit 8 */ |
9033 | #define CAN_F0R2_FB9_Pos (9U) |
||
9 | mjames | 9034 | #define CAN_F0R2_FB9_Msk (0x1UL << CAN_F0R2_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 9035 | #define CAN_F0R2_FB9 CAN_F0R2_FB9_Msk /*!< Filter bit 9 */ |
9036 | #define CAN_F0R2_FB10_Pos (10U) |
||
9 | mjames | 9037 | #define CAN_F0R2_FB10_Msk (0x1UL << CAN_F0R2_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 9038 | #define CAN_F0R2_FB10 CAN_F0R2_FB10_Msk /*!< Filter bit 10 */ |
9039 | #define CAN_F0R2_FB11_Pos (11U) |
||
9 | mjames | 9040 | #define CAN_F0R2_FB11_Msk (0x1UL << CAN_F0R2_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 9041 | #define CAN_F0R2_FB11 CAN_F0R2_FB11_Msk /*!< Filter bit 11 */ |
9042 | #define CAN_F0R2_FB12_Pos (12U) |
||
9 | mjames | 9043 | #define CAN_F0R2_FB12_Msk (0x1UL << CAN_F0R2_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 9044 | #define CAN_F0R2_FB12 CAN_F0R2_FB12_Msk /*!< Filter bit 12 */ |
9045 | #define CAN_F0R2_FB13_Pos (13U) |
||
9 | mjames | 9046 | #define CAN_F0R2_FB13_Msk (0x1UL << CAN_F0R2_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 9047 | #define CAN_F0R2_FB13 CAN_F0R2_FB13_Msk /*!< Filter bit 13 */ |
9048 | #define CAN_F0R2_FB14_Pos (14U) |
||
9 | mjames | 9049 | #define CAN_F0R2_FB14_Msk (0x1UL << CAN_F0R2_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 9050 | #define CAN_F0R2_FB14 CAN_F0R2_FB14_Msk /*!< Filter bit 14 */ |
9051 | #define CAN_F0R2_FB15_Pos (15U) |
||
9 | mjames | 9052 | #define CAN_F0R2_FB15_Msk (0x1UL << CAN_F0R2_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 9053 | #define CAN_F0R2_FB15 CAN_F0R2_FB15_Msk /*!< Filter bit 15 */ |
9054 | #define CAN_F0R2_FB16_Pos (16U) |
||
9 | mjames | 9055 | #define CAN_F0R2_FB16_Msk (0x1UL << CAN_F0R2_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 9056 | #define CAN_F0R2_FB16 CAN_F0R2_FB16_Msk /*!< Filter bit 16 */ |
9057 | #define CAN_F0R2_FB17_Pos (17U) |
||
9 | mjames | 9058 | #define CAN_F0R2_FB17_Msk (0x1UL << CAN_F0R2_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 9059 | #define CAN_F0R2_FB17 CAN_F0R2_FB17_Msk /*!< Filter bit 17 */ |
9060 | #define CAN_F0R2_FB18_Pos (18U) |
||
9 | mjames | 9061 | #define CAN_F0R2_FB18_Msk (0x1UL << CAN_F0R2_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 9062 | #define CAN_F0R2_FB18 CAN_F0R2_FB18_Msk /*!< Filter bit 18 */ |
9063 | #define CAN_F0R2_FB19_Pos (19U) |
||
9 | mjames | 9064 | #define CAN_F0R2_FB19_Msk (0x1UL << CAN_F0R2_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 9065 | #define CAN_F0R2_FB19 CAN_F0R2_FB19_Msk /*!< Filter bit 19 */ |
9066 | #define CAN_F0R2_FB20_Pos (20U) |
||
9 | mjames | 9067 | #define CAN_F0R2_FB20_Msk (0x1UL << CAN_F0R2_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 9068 | #define CAN_F0R2_FB20 CAN_F0R2_FB20_Msk /*!< Filter bit 20 */ |
9069 | #define CAN_F0R2_FB21_Pos (21U) |
||
9 | mjames | 9070 | #define CAN_F0R2_FB21_Msk (0x1UL << CAN_F0R2_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 9071 | #define CAN_F0R2_FB21 CAN_F0R2_FB21_Msk /*!< Filter bit 21 */ |
9072 | #define CAN_F0R2_FB22_Pos (22U) |
||
9 | mjames | 9073 | #define CAN_F0R2_FB22_Msk (0x1UL << CAN_F0R2_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 9074 | #define CAN_F0R2_FB22 CAN_F0R2_FB22_Msk /*!< Filter bit 22 */ |
9075 | #define CAN_F0R2_FB23_Pos (23U) |
||
9 | mjames | 9076 | #define CAN_F0R2_FB23_Msk (0x1UL << CAN_F0R2_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 9077 | #define CAN_F0R2_FB23 CAN_F0R2_FB23_Msk /*!< Filter bit 23 */ |
9078 | #define CAN_F0R2_FB24_Pos (24U) |
||
9 | mjames | 9079 | #define CAN_F0R2_FB24_Msk (0x1UL << CAN_F0R2_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 9080 | #define CAN_F0R2_FB24 CAN_F0R2_FB24_Msk /*!< Filter bit 24 */ |
9081 | #define CAN_F0R2_FB25_Pos (25U) |
||
9 | mjames | 9082 | #define CAN_F0R2_FB25_Msk (0x1UL << CAN_F0R2_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 9083 | #define CAN_F0R2_FB25 CAN_F0R2_FB25_Msk /*!< Filter bit 25 */ |
9084 | #define CAN_F0R2_FB26_Pos (26U) |
||
9 | mjames | 9085 | #define CAN_F0R2_FB26_Msk (0x1UL << CAN_F0R2_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 9086 | #define CAN_F0R2_FB26 CAN_F0R2_FB26_Msk /*!< Filter bit 26 */ |
9087 | #define CAN_F0R2_FB27_Pos (27U) |
||
9 | mjames | 9088 | #define CAN_F0R2_FB27_Msk (0x1UL << CAN_F0R2_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 9089 | #define CAN_F0R2_FB27 CAN_F0R2_FB27_Msk /*!< Filter bit 27 */ |
9090 | #define CAN_F0R2_FB28_Pos (28U) |
||
9 | mjames | 9091 | #define CAN_F0R2_FB28_Msk (0x1UL << CAN_F0R2_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 9092 | #define CAN_F0R2_FB28 CAN_F0R2_FB28_Msk /*!< Filter bit 28 */ |
9093 | #define CAN_F0R2_FB29_Pos (29U) |
||
9 | mjames | 9094 | #define CAN_F0R2_FB29_Msk (0x1UL << CAN_F0R2_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 9095 | #define CAN_F0R2_FB29 CAN_F0R2_FB29_Msk /*!< Filter bit 29 */ |
9096 | #define CAN_F0R2_FB30_Pos (30U) |
||
9 | mjames | 9097 | #define CAN_F0R2_FB30_Msk (0x1UL << CAN_F0R2_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 9098 | #define CAN_F0R2_FB30 CAN_F0R2_FB30_Msk /*!< Filter bit 30 */ |
9099 | #define CAN_F0R2_FB31_Pos (31U) |
||
9 | mjames | 9100 | #define CAN_F0R2_FB31_Msk (0x1UL << CAN_F0R2_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 9101 | #define CAN_F0R2_FB31 CAN_F0R2_FB31_Msk /*!< Filter bit 31 */ |
9102 | |||
9103 | /******************* Bit definition for CAN_F1R2 register *******************/ |
||
9104 | #define CAN_F1R2_FB0_Pos (0U) |
||
9 | mjames | 9105 | #define CAN_F1R2_FB0_Msk (0x1UL << CAN_F1R2_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 9106 | #define CAN_F1R2_FB0 CAN_F1R2_FB0_Msk /*!< Filter bit 0 */ |
9107 | #define CAN_F1R2_FB1_Pos (1U) |
||
9 | mjames | 9108 | #define CAN_F1R2_FB1_Msk (0x1UL << CAN_F1R2_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 9109 | #define CAN_F1R2_FB1 CAN_F1R2_FB1_Msk /*!< Filter bit 1 */ |
9110 | #define CAN_F1R2_FB2_Pos (2U) |
||
9 | mjames | 9111 | #define CAN_F1R2_FB2_Msk (0x1UL << CAN_F1R2_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 9112 | #define CAN_F1R2_FB2 CAN_F1R2_FB2_Msk /*!< Filter bit 2 */ |
9113 | #define CAN_F1R2_FB3_Pos (3U) |
||
9 | mjames | 9114 | #define CAN_F1R2_FB3_Msk (0x1UL << CAN_F1R2_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 9115 | #define CAN_F1R2_FB3 CAN_F1R2_FB3_Msk /*!< Filter bit 3 */ |
9116 | #define CAN_F1R2_FB4_Pos (4U) |
||
9 | mjames | 9117 | #define CAN_F1R2_FB4_Msk (0x1UL << CAN_F1R2_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 9118 | #define CAN_F1R2_FB4 CAN_F1R2_FB4_Msk /*!< Filter bit 4 */ |
9119 | #define CAN_F1R2_FB5_Pos (5U) |
||
9 | mjames | 9120 | #define CAN_F1R2_FB5_Msk (0x1UL << CAN_F1R2_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 9121 | #define CAN_F1R2_FB5 CAN_F1R2_FB5_Msk /*!< Filter bit 5 */ |
9122 | #define CAN_F1R2_FB6_Pos (6U) |
||
9 | mjames | 9123 | #define CAN_F1R2_FB6_Msk (0x1UL << CAN_F1R2_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 9124 | #define CAN_F1R2_FB6 CAN_F1R2_FB6_Msk /*!< Filter bit 6 */ |
9125 | #define CAN_F1R2_FB7_Pos (7U) |
||
9 | mjames | 9126 | #define CAN_F1R2_FB7_Msk (0x1UL << CAN_F1R2_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 9127 | #define CAN_F1R2_FB7 CAN_F1R2_FB7_Msk /*!< Filter bit 7 */ |
9128 | #define CAN_F1R2_FB8_Pos (8U) |
||
9 | mjames | 9129 | #define CAN_F1R2_FB8_Msk (0x1UL << CAN_F1R2_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 9130 | #define CAN_F1R2_FB8 CAN_F1R2_FB8_Msk /*!< Filter bit 8 */ |
9131 | #define CAN_F1R2_FB9_Pos (9U) |
||
9 | mjames | 9132 | #define CAN_F1R2_FB9_Msk (0x1UL << CAN_F1R2_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 9133 | #define CAN_F1R2_FB9 CAN_F1R2_FB9_Msk /*!< Filter bit 9 */ |
9134 | #define CAN_F1R2_FB10_Pos (10U) |
||
9 | mjames | 9135 | #define CAN_F1R2_FB10_Msk (0x1UL << CAN_F1R2_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 9136 | #define CAN_F1R2_FB10 CAN_F1R2_FB10_Msk /*!< Filter bit 10 */ |
9137 | #define CAN_F1R2_FB11_Pos (11U) |
||
9 | mjames | 9138 | #define CAN_F1R2_FB11_Msk (0x1UL << CAN_F1R2_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 9139 | #define CAN_F1R2_FB11 CAN_F1R2_FB11_Msk /*!< Filter bit 11 */ |
9140 | #define CAN_F1R2_FB12_Pos (12U) |
||
9 | mjames | 9141 | #define CAN_F1R2_FB12_Msk (0x1UL << CAN_F1R2_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 9142 | #define CAN_F1R2_FB12 CAN_F1R2_FB12_Msk /*!< Filter bit 12 */ |
9143 | #define CAN_F1R2_FB13_Pos (13U) |
||
9 | mjames | 9144 | #define CAN_F1R2_FB13_Msk (0x1UL << CAN_F1R2_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 9145 | #define CAN_F1R2_FB13 CAN_F1R2_FB13_Msk /*!< Filter bit 13 */ |
9146 | #define CAN_F1R2_FB14_Pos (14U) |
||
9 | mjames | 9147 | #define CAN_F1R2_FB14_Msk (0x1UL << CAN_F1R2_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 9148 | #define CAN_F1R2_FB14 CAN_F1R2_FB14_Msk /*!< Filter bit 14 */ |
9149 | #define CAN_F1R2_FB15_Pos (15U) |
||
9 | mjames | 9150 | #define CAN_F1R2_FB15_Msk (0x1UL << CAN_F1R2_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 9151 | #define CAN_F1R2_FB15 CAN_F1R2_FB15_Msk /*!< Filter bit 15 */ |
9152 | #define CAN_F1R2_FB16_Pos (16U) |
||
9 | mjames | 9153 | #define CAN_F1R2_FB16_Msk (0x1UL << CAN_F1R2_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 9154 | #define CAN_F1R2_FB16 CAN_F1R2_FB16_Msk /*!< Filter bit 16 */ |
9155 | #define CAN_F1R2_FB17_Pos (17U) |
||
9 | mjames | 9156 | #define CAN_F1R2_FB17_Msk (0x1UL << CAN_F1R2_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 9157 | #define CAN_F1R2_FB17 CAN_F1R2_FB17_Msk /*!< Filter bit 17 */ |
9158 | #define CAN_F1R2_FB18_Pos (18U) |
||
9 | mjames | 9159 | #define CAN_F1R2_FB18_Msk (0x1UL << CAN_F1R2_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 9160 | #define CAN_F1R2_FB18 CAN_F1R2_FB18_Msk /*!< Filter bit 18 */ |
9161 | #define CAN_F1R2_FB19_Pos (19U) |
||
9 | mjames | 9162 | #define CAN_F1R2_FB19_Msk (0x1UL << CAN_F1R2_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 9163 | #define CAN_F1R2_FB19 CAN_F1R2_FB19_Msk /*!< Filter bit 19 */ |
9164 | #define CAN_F1R2_FB20_Pos (20U) |
||
9 | mjames | 9165 | #define CAN_F1R2_FB20_Msk (0x1UL << CAN_F1R2_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 9166 | #define CAN_F1R2_FB20 CAN_F1R2_FB20_Msk /*!< Filter bit 20 */ |
9167 | #define CAN_F1R2_FB21_Pos (21U) |
||
9 | mjames | 9168 | #define CAN_F1R2_FB21_Msk (0x1UL << CAN_F1R2_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 9169 | #define CAN_F1R2_FB21 CAN_F1R2_FB21_Msk /*!< Filter bit 21 */ |
9170 | #define CAN_F1R2_FB22_Pos (22U) |
||
9 | mjames | 9171 | #define CAN_F1R2_FB22_Msk (0x1UL << CAN_F1R2_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 9172 | #define CAN_F1R2_FB22 CAN_F1R2_FB22_Msk /*!< Filter bit 22 */ |
9173 | #define CAN_F1R2_FB23_Pos (23U) |
||
9 | mjames | 9174 | #define CAN_F1R2_FB23_Msk (0x1UL << CAN_F1R2_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 9175 | #define CAN_F1R2_FB23 CAN_F1R2_FB23_Msk /*!< Filter bit 23 */ |
9176 | #define CAN_F1R2_FB24_Pos (24U) |
||
9 | mjames | 9177 | #define CAN_F1R2_FB24_Msk (0x1UL << CAN_F1R2_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 9178 | #define CAN_F1R2_FB24 CAN_F1R2_FB24_Msk /*!< Filter bit 24 */ |
9179 | #define CAN_F1R2_FB25_Pos (25U) |
||
9 | mjames | 9180 | #define CAN_F1R2_FB25_Msk (0x1UL << CAN_F1R2_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 9181 | #define CAN_F1R2_FB25 CAN_F1R2_FB25_Msk /*!< Filter bit 25 */ |
9182 | #define CAN_F1R2_FB26_Pos (26U) |
||
9 | mjames | 9183 | #define CAN_F1R2_FB26_Msk (0x1UL << CAN_F1R2_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 9184 | #define CAN_F1R2_FB26 CAN_F1R2_FB26_Msk /*!< Filter bit 26 */ |
9185 | #define CAN_F1R2_FB27_Pos (27U) |
||
9 | mjames | 9186 | #define CAN_F1R2_FB27_Msk (0x1UL << CAN_F1R2_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 9187 | #define CAN_F1R2_FB27 CAN_F1R2_FB27_Msk /*!< Filter bit 27 */ |
9188 | #define CAN_F1R2_FB28_Pos (28U) |
||
9 | mjames | 9189 | #define CAN_F1R2_FB28_Msk (0x1UL << CAN_F1R2_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 9190 | #define CAN_F1R2_FB28 CAN_F1R2_FB28_Msk /*!< Filter bit 28 */ |
9191 | #define CAN_F1R2_FB29_Pos (29U) |
||
9 | mjames | 9192 | #define CAN_F1R2_FB29_Msk (0x1UL << CAN_F1R2_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 9193 | #define CAN_F1R2_FB29 CAN_F1R2_FB29_Msk /*!< Filter bit 29 */ |
9194 | #define CAN_F1R2_FB30_Pos (30U) |
||
9 | mjames | 9195 | #define CAN_F1R2_FB30_Msk (0x1UL << CAN_F1R2_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 9196 | #define CAN_F1R2_FB30 CAN_F1R2_FB30_Msk /*!< Filter bit 30 */ |
9197 | #define CAN_F1R2_FB31_Pos (31U) |
||
9 | mjames | 9198 | #define CAN_F1R2_FB31_Msk (0x1UL << CAN_F1R2_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 9199 | #define CAN_F1R2_FB31 CAN_F1R2_FB31_Msk /*!< Filter bit 31 */ |
9200 | |||
9201 | /******************* Bit definition for CAN_F2R2 register *******************/ |
||
9202 | #define CAN_F2R2_FB0_Pos (0U) |
||
9 | mjames | 9203 | #define CAN_F2R2_FB0_Msk (0x1UL << CAN_F2R2_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 9204 | #define CAN_F2R2_FB0 CAN_F2R2_FB0_Msk /*!< Filter bit 0 */ |
9205 | #define CAN_F2R2_FB1_Pos (1U) |
||
9 | mjames | 9206 | #define CAN_F2R2_FB1_Msk (0x1UL << CAN_F2R2_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 9207 | #define CAN_F2R2_FB1 CAN_F2R2_FB1_Msk /*!< Filter bit 1 */ |
9208 | #define CAN_F2R2_FB2_Pos (2U) |
||
9 | mjames | 9209 | #define CAN_F2R2_FB2_Msk (0x1UL << CAN_F2R2_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 9210 | #define CAN_F2R2_FB2 CAN_F2R2_FB2_Msk /*!< Filter bit 2 */ |
9211 | #define CAN_F2R2_FB3_Pos (3U) |
||
9 | mjames | 9212 | #define CAN_F2R2_FB3_Msk (0x1UL << CAN_F2R2_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 9213 | #define CAN_F2R2_FB3 CAN_F2R2_FB3_Msk /*!< Filter bit 3 */ |
9214 | #define CAN_F2R2_FB4_Pos (4U) |
||
9 | mjames | 9215 | #define CAN_F2R2_FB4_Msk (0x1UL << CAN_F2R2_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 9216 | #define CAN_F2R2_FB4 CAN_F2R2_FB4_Msk /*!< Filter bit 4 */ |
9217 | #define CAN_F2R2_FB5_Pos (5U) |
||
9 | mjames | 9218 | #define CAN_F2R2_FB5_Msk (0x1UL << CAN_F2R2_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 9219 | #define CAN_F2R2_FB5 CAN_F2R2_FB5_Msk /*!< Filter bit 5 */ |
9220 | #define CAN_F2R2_FB6_Pos (6U) |
||
9 | mjames | 9221 | #define CAN_F2R2_FB6_Msk (0x1UL << CAN_F2R2_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 9222 | #define CAN_F2R2_FB6 CAN_F2R2_FB6_Msk /*!< Filter bit 6 */ |
9223 | #define CAN_F2R2_FB7_Pos (7U) |
||
9 | mjames | 9224 | #define CAN_F2R2_FB7_Msk (0x1UL << CAN_F2R2_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 9225 | #define CAN_F2R2_FB7 CAN_F2R2_FB7_Msk /*!< Filter bit 7 */ |
9226 | #define CAN_F2R2_FB8_Pos (8U) |
||
9 | mjames | 9227 | #define CAN_F2R2_FB8_Msk (0x1UL << CAN_F2R2_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 9228 | #define CAN_F2R2_FB8 CAN_F2R2_FB8_Msk /*!< Filter bit 8 */ |
9229 | #define CAN_F2R2_FB9_Pos (9U) |
||
9 | mjames | 9230 | #define CAN_F2R2_FB9_Msk (0x1UL << CAN_F2R2_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 9231 | #define CAN_F2R2_FB9 CAN_F2R2_FB9_Msk /*!< Filter bit 9 */ |
9232 | #define CAN_F2R2_FB10_Pos (10U) |
||
9 | mjames | 9233 | #define CAN_F2R2_FB10_Msk (0x1UL << CAN_F2R2_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 9234 | #define CAN_F2R2_FB10 CAN_F2R2_FB10_Msk /*!< Filter bit 10 */ |
9235 | #define CAN_F2R2_FB11_Pos (11U) |
||
9 | mjames | 9236 | #define CAN_F2R2_FB11_Msk (0x1UL << CAN_F2R2_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 9237 | #define CAN_F2R2_FB11 CAN_F2R2_FB11_Msk /*!< Filter bit 11 */ |
9238 | #define CAN_F2R2_FB12_Pos (12U) |
||
9 | mjames | 9239 | #define CAN_F2R2_FB12_Msk (0x1UL << CAN_F2R2_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 9240 | #define CAN_F2R2_FB12 CAN_F2R2_FB12_Msk /*!< Filter bit 12 */ |
9241 | #define CAN_F2R2_FB13_Pos (13U) |
||
9 | mjames | 9242 | #define CAN_F2R2_FB13_Msk (0x1UL << CAN_F2R2_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 9243 | #define CAN_F2R2_FB13 CAN_F2R2_FB13_Msk /*!< Filter bit 13 */ |
9244 | #define CAN_F2R2_FB14_Pos (14U) |
||
9 | mjames | 9245 | #define CAN_F2R2_FB14_Msk (0x1UL << CAN_F2R2_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 9246 | #define CAN_F2R2_FB14 CAN_F2R2_FB14_Msk /*!< Filter bit 14 */ |
9247 | #define CAN_F2R2_FB15_Pos (15U) |
||
9 | mjames | 9248 | #define CAN_F2R2_FB15_Msk (0x1UL << CAN_F2R2_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 9249 | #define CAN_F2R2_FB15 CAN_F2R2_FB15_Msk /*!< Filter bit 15 */ |
9250 | #define CAN_F2R2_FB16_Pos (16U) |
||
9 | mjames | 9251 | #define CAN_F2R2_FB16_Msk (0x1UL << CAN_F2R2_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 9252 | #define CAN_F2R2_FB16 CAN_F2R2_FB16_Msk /*!< Filter bit 16 */ |
9253 | #define CAN_F2R2_FB17_Pos (17U) |
||
9 | mjames | 9254 | #define CAN_F2R2_FB17_Msk (0x1UL << CAN_F2R2_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 9255 | #define CAN_F2R2_FB17 CAN_F2R2_FB17_Msk /*!< Filter bit 17 */ |
9256 | #define CAN_F2R2_FB18_Pos (18U) |
||
9 | mjames | 9257 | #define CAN_F2R2_FB18_Msk (0x1UL << CAN_F2R2_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 9258 | #define CAN_F2R2_FB18 CAN_F2R2_FB18_Msk /*!< Filter bit 18 */ |
9259 | #define CAN_F2R2_FB19_Pos (19U) |
||
9 | mjames | 9260 | #define CAN_F2R2_FB19_Msk (0x1UL << CAN_F2R2_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 9261 | #define CAN_F2R2_FB19 CAN_F2R2_FB19_Msk /*!< Filter bit 19 */ |
9262 | #define CAN_F2R2_FB20_Pos (20U) |
||
9 | mjames | 9263 | #define CAN_F2R2_FB20_Msk (0x1UL << CAN_F2R2_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 9264 | #define CAN_F2R2_FB20 CAN_F2R2_FB20_Msk /*!< Filter bit 20 */ |
9265 | #define CAN_F2R2_FB21_Pos (21U) |
||
9 | mjames | 9266 | #define CAN_F2R2_FB21_Msk (0x1UL << CAN_F2R2_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 9267 | #define CAN_F2R2_FB21 CAN_F2R2_FB21_Msk /*!< Filter bit 21 */ |
9268 | #define CAN_F2R2_FB22_Pos (22U) |
||
9 | mjames | 9269 | #define CAN_F2R2_FB22_Msk (0x1UL << CAN_F2R2_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 9270 | #define CAN_F2R2_FB22 CAN_F2R2_FB22_Msk /*!< Filter bit 22 */ |
9271 | #define CAN_F2R2_FB23_Pos (23U) |
||
9 | mjames | 9272 | #define CAN_F2R2_FB23_Msk (0x1UL << CAN_F2R2_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 9273 | #define CAN_F2R2_FB23 CAN_F2R2_FB23_Msk /*!< Filter bit 23 */ |
9274 | #define CAN_F2R2_FB24_Pos (24U) |
||
9 | mjames | 9275 | #define CAN_F2R2_FB24_Msk (0x1UL << CAN_F2R2_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 9276 | #define CAN_F2R2_FB24 CAN_F2R2_FB24_Msk /*!< Filter bit 24 */ |
9277 | #define CAN_F2R2_FB25_Pos (25U) |
||
9 | mjames | 9278 | #define CAN_F2R2_FB25_Msk (0x1UL << CAN_F2R2_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 9279 | #define CAN_F2R2_FB25 CAN_F2R2_FB25_Msk /*!< Filter bit 25 */ |
9280 | #define CAN_F2R2_FB26_Pos (26U) |
||
9 | mjames | 9281 | #define CAN_F2R2_FB26_Msk (0x1UL << CAN_F2R2_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 9282 | #define CAN_F2R2_FB26 CAN_F2R2_FB26_Msk /*!< Filter bit 26 */ |
9283 | #define CAN_F2R2_FB27_Pos (27U) |
||
9 | mjames | 9284 | #define CAN_F2R2_FB27_Msk (0x1UL << CAN_F2R2_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 9285 | #define CAN_F2R2_FB27 CAN_F2R2_FB27_Msk /*!< Filter bit 27 */ |
9286 | #define CAN_F2R2_FB28_Pos (28U) |
||
9 | mjames | 9287 | #define CAN_F2R2_FB28_Msk (0x1UL << CAN_F2R2_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 9288 | #define CAN_F2R2_FB28 CAN_F2R2_FB28_Msk /*!< Filter bit 28 */ |
9289 | #define CAN_F2R2_FB29_Pos (29U) |
||
9 | mjames | 9290 | #define CAN_F2R2_FB29_Msk (0x1UL << CAN_F2R2_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 9291 | #define CAN_F2R2_FB29 CAN_F2R2_FB29_Msk /*!< Filter bit 29 */ |
9292 | #define CAN_F2R2_FB30_Pos (30U) |
||
9 | mjames | 9293 | #define CAN_F2R2_FB30_Msk (0x1UL << CAN_F2R2_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 9294 | #define CAN_F2R2_FB30 CAN_F2R2_FB30_Msk /*!< Filter bit 30 */ |
9295 | #define CAN_F2R2_FB31_Pos (31U) |
||
9 | mjames | 9296 | #define CAN_F2R2_FB31_Msk (0x1UL << CAN_F2R2_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 9297 | #define CAN_F2R2_FB31 CAN_F2R2_FB31_Msk /*!< Filter bit 31 */ |
9298 | |||
9299 | /******************* Bit definition for CAN_F3R2 register *******************/ |
||
9300 | #define CAN_F3R2_FB0_Pos (0U) |
||
9 | mjames | 9301 | #define CAN_F3R2_FB0_Msk (0x1UL << CAN_F3R2_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 9302 | #define CAN_F3R2_FB0 CAN_F3R2_FB0_Msk /*!< Filter bit 0 */ |
9303 | #define CAN_F3R2_FB1_Pos (1U) |
||
9 | mjames | 9304 | #define CAN_F3R2_FB1_Msk (0x1UL << CAN_F3R2_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 9305 | #define CAN_F3R2_FB1 CAN_F3R2_FB1_Msk /*!< Filter bit 1 */ |
9306 | #define CAN_F3R2_FB2_Pos (2U) |
||
9 | mjames | 9307 | #define CAN_F3R2_FB2_Msk (0x1UL << CAN_F3R2_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 9308 | #define CAN_F3R2_FB2 CAN_F3R2_FB2_Msk /*!< Filter bit 2 */ |
9309 | #define CAN_F3R2_FB3_Pos (3U) |
||
9 | mjames | 9310 | #define CAN_F3R2_FB3_Msk (0x1UL << CAN_F3R2_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 9311 | #define CAN_F3R2_FB3 CAN_F3R2_FB3_Msk /*!< Filter bit 3 */ |
9312 | #define CAN_F3R2_FB4_Pos (4U) |
||
9 | mjames | 9313 | #define CAN_F3R2_FB4_Msk (0x1UL << CAN_F3R2_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 9314 | #define CAN_F3R2_FB4 CAN_F3R2_FB4_Msk /*!< Filter bit 4 */ |
9315 | #define CAN_F3R2_FB5_Pos (5U) |
||
9 | mjames | 9316 | #define CAN_F3R2_FB5_Msk (0x1UL << CAN_F3R2_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 9317 | #define CAN_F3R2_FB5 CAN_F3R2_FB5_Msk /*!< Filter bit 5 */ |
9318 | #define CAN_F3R2_FB6_Pos (6U) |
||
9 | mjames | 9319 | #define CAN_F3R2_FB6_Msk (0x1UL << CAN_F3R2_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 9320 | #define CAN_F3R2_FB6 CAN_F3R2_FB6_Msk /*!< Filter bit 6 */ |
9321 | #define CAN_F3R2_FB7_Pos (7U) |
||
9 | mjames | 9322 | #define CAN_F3R2_FB7_Msk (0x1UL << CAN_F3R2_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 9323 | #define CAN_F3R2_FB7 CAN_F3R2_FB7_Msk /*!< Filter bit 7 */ |
9324 | #define CAN_F3R2_FB8_Pos (8U) |
||
9 | mjames | 9325 | #define CAN_F3R2_FB8_Msk (0x1UL << CAN_F3R2_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 9326 | #define CAN_F3R2_FB8 CAN_F3R2_FB8_Msk /*!< Filter bit 8 */ |
9327 | #define CAN_F3R2_FB9_Pos (9U) |
||
9 | mjames | 9328 | #define CAN_F3R2_FB9_Msk (0x1UL << CAN_F3R2_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 9329 | #define CAN_F3R2_FB9 CAN_F3R2_FB9_Msk /*!< Filter bit 9 */ |
9330 | #define CAN_F3R2_FB10_Pos (10U) |
||
9 | mjames | 9331 | #define CAN_F3R2_FB10_Msk (0x1UL << CAN_F3R2_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 9332 | #define CAN_F3R2_FB10 CAN_F3R2_FB10_Msk /*!< Filter bit 10 */ |
9333 | #define CAN_F3R2_FB11_Pos (11U) |
||
9 | mjames | 9334 | #define CAN_F3R2_FB11_Msk (0x1UL << CAN_F3R2_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 9335 | #define CAN_F3R2_FB11 CAN_F3R2_FB11_Msk /*!< Filter bit 11 */ |
9336 | #define CAN_F3R2_FB12_Pos (12U) |
||
9 | mjames | 9337 | #define CAN_F3R2_FB12_Msk (0x1UL << CAN_F3R2_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 9338 | #define CAN_F3R2_FB12 CAN_F3R2_FB12_Msk /*!< Filter bit 12 */ |
9339 | #define CAN_F3R2_FB13_Pos (13U) |
||
9 | mjames | 9340 | #define CAN_F3R2_FB13_Msk (0x1UL << CAN_F3R2_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 9341 | #define CAN_F3R2_FB13 CAN_F3R2_FB13_Msk /*!< Filter bit 13 */ |
9342 | #define CAN_F3R2_FB14_Pos (14U) |
||
9 | mjames | 9343 | #define CAN_F3R2_FB14_Msk (0x1UL << CAN_F3R2_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 9344 | #define CAN_F3R2_FB14 CAN_F3R2_FB14_Msk /*!< Filter bit 14 */ |
9345 | #define CAN_F3R2_FB15_Pos (15U) |
||
9 | mjames | 9346 | #define CAN_F3R2_FB15_Msk (0x1UL << CAN_F3R2_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 9347 | #define CAN_F3R2_FB15 CAN_F3R2_FB15_Msk /*!< Filter bit 15 */ |
9348 | #define CAN_F3R2_FB16_Pos (16U) |
||
9 | mjames | 9349 | #define CAN_F3R2_FB16_Msk (0x1UL << CAN_F3R2_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 9350 | #define CAN_F3R2_FB16 CAN_F3R2_FB16_Msk /*!< Filter bit 16 */ |
9351 | #define CAN_F3R2_FB17_Pos (17U) |
||
9 | mjames | 9352 | #define CAN_F3R2_FB17_Msk (0x1UL << CAN_F3R2_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 9353 | #define CAN_F3R2_FB17 CAN_F3R2_FB17_Msk /*!< Filter bit 17 */ |
9354 | #define CAN_F3R2_FB18_Pos (18U) |
||
9 | mjames | 9355 | #define CAN_F3R2_FB18_Msk (0x1UL << CAN_F3R2_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 9356 | #define CAN_F3R2_FB18 CAN_F3R2_FB18_Msk /*!< Filter bit 18 */ |
9357 | #define CAN_F3R2_FB19_Pos (19U) |
||
9 | mjames | 9358 | #define CAN_F3R2_FB19_Msk (0x1UL << CAN_F3R2_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 9359 | #define CAN_F3R2_FB19 CAN_F3R2_FB19_Msk /*!< Filter bit 19 */ |
9360 | #define CAN_F3R2_FB20_Pos (20U) |
||
9 | mjames | 9361 | #define CAN_F3R2_FB20_Msk (0x1UL << CAN_F3R2_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 9362 | #define CAN_F3R2_FB20 CAN_F3R2_FB20_Msk /*!< Filter bit 20 */ |
9363 | #define CAN_F3R2_FB21_Pos (21U) |
||
9 | mjames | 9364 | #define CAN_F3R2_FB21_Msk (0x1UL << CAN_F3R2_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 9365 | #define CAN_F3R2_FB21 CAN_F3R2_FB21_Msk /*!< Filter bit 21 */ |
9366 | #define CAN_F3R2_FB22_Pos (22U) |
||
9 | mjames | 9367 | #define CAN_F3R2_FB22_Msk (0x1UL << CAN_F3R2_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 9368 | #define CAN_F3R2_FB22 CAN_F3R2_FB22_Msk /*!< Filter bit 22 */ |
9369 | #define CAN_F3R2_FB23_Pos (23U) |
||
9 | mjames | 9370 | #define CAN_F3R2_FB23_Msk (0x1UL << CAN_F3R2_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 9371 | #define CAN_F3R2_FB23 CAN_F3R2_FB23_Msk /*!< Filter bit 23 */ |
9372 | #define CAN_F3R2_FB24_Pos (24U) |
||
9 | mjames | 9373 | #define CAN_F3R2_FB24_Msk (0x1UL << CAN_F3R2_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 9374 | #define CAN_F3R2_FB24 CAN_F3R2_FB24_Msk /*!< Filter bit 24 */ |
9375 | #define CAN_F3R2_FB25_Pos (25U) |
||
9 | mjames | 9376 | #define CAN_F3R2_FB25_Msk (0x1UL << CAN_F3R2_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 9377 | #define CAN_F3R2_FB25 CAN_F3R2_FB25_Msk /*!< Filter bit 25 */ |
9378 | #define CAN_F3R2_FB26_Pos (26U) |
||
9 | mjames | 9379 | #define CAN_F3R2_FB26_Msk (0x1UL << CAN_F3R2_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 9380 | #define CAN_F3R2_FB26 CAN_F3R2_FB26_Msk /*!< Filter bit 26 */ |
9381 | #define CAN_F3R2_FB27_Pos (27U) |
||
9 | mjames | 9382 | #define CAN_F3R2_FB27_Msk (0x1UL << CAN_F3R2_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 9383 | #define CAN_F3R2_FB27 CAN_F3R2_FB27_Msk /*!< Filter bit 27 */ |
9384 | #define CAN_F3R2_FB28_Pos (28U) |
||
9 | mjames | 9385 | #define CAN_F3R2_FB28_Msk (0x1UL << CAN_F3R2_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 9386 | #define CAN_F3R2_FB28 CAN_F3R2_FB28_Msk /*!< Filter bit 28 */ |
9387 | #define CAN_F3R2_FB29_Pos (29U) |
||
9 | mjames | 9388 | #define CAN_F3R2_FB29_Msk (0x1UL << CAN_F3R2_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 9389 | #define CAN_F3R2_FB29 CAN_F3R2_FB29_Msk /*!< Filter bit 29 */ |
9390 | #define CAN_F3R2_FB30_Pos (30U) |
||
9 | mjames | 9391 | #define CAN_F3R2_FB30_Msk (0x1UL << CAN_F3R2_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 9392 | #define CAN_F3R2_FB30 CAN_F3R2_FB30_Msk /*!< Filter bit 30 */ |
9393 | #define CAN_F3R2_FB31_Pos (31U) |
||
9 | mjames | 9394 | #define CAN_F3R2_FB31_Msk (0x1UL << CAN_F3R2_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 9395 | #define CAN_F3R2_FB31 CAN_F3R2_FB31_Msk /*!< Filter bit 31 */ |
9396 | |||
9397 | /******************* Bit definition for CAN_F4R2 register *******************/ |
||
9398 | #define CAN_F4R2_FB0_Pos (0U) |
||
9 | mjames | 9399 | #define CAN_F4R2_FB0_Msk (0x1UL << CAN_F4R2_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 9400 | #define CAN_F4R2_FB0 CAN_F4R2_FB0_Msk /*!< Filter bit 0 */ |
9401 | #define CAN_F4R2_FB1_Pos (1U) |
||
9 | mjames | 9402 | #define CAN_F4R2_FB1_Msk (0x1UL << CAN_F4R2_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 9403 | #define CAN_F4R2_FB1 CAN_F4R2_FB1_Msk /*!< Filter bit 1 */ |
9404 | #define CAN_F4R2_FB2_Pos (2U) |
||
9 | mjames | 9405 | #define CAN_F4R2_FB2_Msk (0x1UL << CAN_F4R2_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 9406 | #define CAN_F4R2_FB2 CAN_F4R2_FB2_Msk /*!< Filter bit 2 */ |
9407 | #define CAN_F4R2_FB3_Pos (3U) |
||
9 | mjames | 9408 | #define CAN_F4R2_FB3_Msk (0x1UL << CAN_F4R2_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 9409 | #define CAN_F4R2_FB3 CAN_F4R2_FB3_Msk /*!< Filter bit 3 */ |
9410 | #define CAN_F4R2_FB4_Pos (4U) |
||
9 | mjames | 9411 | #define CAN_F4R2_FB4_Msk (0x1UL << CAN_F4R2_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 9412 | #define CAN_F4R2_FB4 CAN_F4R2_FB4_Msk /*!< Filter bit 4 */ |
9413 | #define CAN_F4R2_FB5_Pos (5U) |
||
9 | mjames | 9414 | #define CAN_F4R2_FB5_Msk (0x1UL << CAN_F4R2_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 9415 | #define CAN_F4R2_FB5 CAN_F4R2_FB5_Msk /*!< Filter bit 5 */ |
9416 | #define CAN_F4R2_FB6_Pos (6U) |
||
9 | mjames | 9417 | #define CAN_F4R2_FB6_Msk (0x1UL << CAN_F4R2_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 9418 | #define CAN_F4R2_FB6 CAN_F4R2_FB6_Msk /*!< Filter bit 6 */ |
9419 | #define CAN_F4R2_FB7_Pos (7U) |
||
9 | mjames | 9420 | #define CAN_F4R2_FB7_Msk (0x1UL << CAN_F4R2_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 9421 | #define CAN_F4R2_FB7 CAN_F4R2_FB7_Msk /*!< Filter bit 7 */ |
9422 | #define CAN_F4R2_FB8_Pos (8U) |
||
9 | mjames | 9423 | #define CAN_F4R2_FB8_Msk (0x1UL << CAN_F4R2_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 9424 | #define CAN_F4R2_FB8 CAN_F4R2_FB8_Msk /*!< Filter bit 8 */ |
9425 | #define CAN_F4R2_FB9_Pos (9U) |
||
9 | mjames | 9426 | #define CAN_F4R2_FB9_Msk (0x1UL << CAN_F4R2_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 9427 | #define CAN_F4R2_FB9 CAN_F4R2_FB9_Msk /*!< Filter bit 9 */ |
9428 | #define CAN_F4R2_FB10_Pos (10U) |
||
9 | mjames | 9429 | #define CAN_F4R2_FB10_Msk (0x1UL << CAN_F4R2_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 9430 | #define CAN_F4R2_FB10 CAN_F4R2_FB10_Msk /*!< Filter bit 10 */ |
9431 | #define CAN_F4R2_FB11_Pos (11U) |
||
9 | mjames | 9432 | #define CAN_F4R2_FB11_Msk (0x1UL << CAN_F4R2_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 9433 | #define CAN_F4R2_FB11 CAN_F4R2_FB11_Msk /*!< Filter bit 11 */ |
9434 | #define CAN_F4R2_FB12_Pos (12U) |
||
9 | mjames | 9435 | #define CAN_F4R2_FB12_Msk (0x1UL << CAN_F4R2_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 9436 | #define CAN_F4R2_FB12 CAN_F4R2_FB12_Msk /*!< Filter bit 12 */ |
9437 | #define CAN_F4R2_FB13_Pos (13U) |
||
9 | mjames | 9438 | #define CAN_F4R2_FB13_Msk (0x1UL << CAN_F4R2_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 9439 | #define CAN_F4R2_FB13 CAN_F4R2_FB13_Msk /*!< Filter bit 13 */ |
9440 | #define CAN_F4R2_FB14_Pos (14U) |
||
9 | mjames | 9441 | #define CAN_F4R2_FB14_Msk (0x1UL << CAN_F4R2_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 9442 | #define CAN_F4R2_FB14 CAN_F4R2_FB14_Msk /*!< Filter bit 14 */ |
9443 | #define CAN_F4R2_FB15_Pos (15U) |
||
9 | mjames | 9444 | #define CAN_F4R2_FB15_Msk (0x1UL << CAN_F4R2_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 9445 | #define CAN_F4R2_FB15 CAN_F4R2_FB15_Msk /*!< Filter bit 15 */ |
9446 | #define CAN_F4R2_FB16_Pos (16U) |
||
9 | mjames | 9447 | #define CAN_F4R2_FB16_Msk (0x1UL << CAN_F4R2_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 9448 | #define CAN_F4R2_FB16 CAN_F4R2_FB16_Msk /*!< Filter bit 16 */ |
9449 | #define CAN_F4R2_FB17_Pos (17U) |
||
9 | mjames | 9450 | #define CAN_F4R2_FB17_Msk (0x1UL << CAN_F4R2_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 9451 | #define CAN_F4R2_FB17 CAN_F4R2_FB17_Msk /*!< Filter bit 17 */ |
9452 | #define CAN_F4R2_FB18_Pos (18U) |
||
9 | mjames | 9453 | #define CAN_F4R2_FB18_Msk (0x1UL << CAN_F4R2_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 9454 | #define CAN_F4R2_FB18 CAN_F4R2_FB18_Msk /*!< Filter bit 18 */ |
9455 | #define CAN_F4R2_FB19_Pos (19U) |
||
9 | mjames | 9456 | #define CAN_F4R2_FB19_Msk (0x1UL << CAN_F4R2_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 9457 | #define CAN_F4R2_FB19 CAN_F4R2_FB19_Msk /*!< Filter bit 19 */ |
9458 | #define CAN_F4R2_FB20_Pos (20U) |
||
9 | mjames | 9459 | #define CAN_F4R2_FB20_Msk (0x1UL << CAN_F4R2_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 9460 | #define CAN_F4R2_FB20 CAN_F4R2_FB20_Msk /*!< Filter bit 20 */ |
9461 | #define CAN_F4R2_FB21_Pos (21U) |
||
9 | mjames | 9462 | #define CAN_F4R2_FB21_Msk (0x1UL << CAN_F4R2_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 9463 | #define CAN_F4R2_FB21 CAN_F4R2_FB21_Msk /*!< Filter bit 21 */ |
9464 | #define CAN_F4R2_FB22_Pos (22U) |
||
9 | mjames | 9465 | #define CAN_F4R2_FB22_Msk (0x1UL << CAN_F4R2_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 9466 | #define CAN_F4R2_FB22 CAN_F4R2_FB22_Msk /*!< Filter bit 22 */ |
9467 | #define CAN_F4R2_FB23_Pos (23U) |
||
9 | mjames | 9468 | #define CAN_F4R2_FB23_Msk (0x1UL << CAN_F4R2_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 9469 | #define CAN_F4R2_FB23 CAN_F4R2_FB23_Msk /*!< Filter bit 23 */ |
9470 | #define CAN_F4R2_FB24_Pos (24U) |
||
9 | mjames | 9471 | #define CAN_F4R2_FB24_Msk (0x1UL << CAN_F4R2_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 9472 | #define CAN_F4R2_FB24 CAN_F4R2_FB24_Msk /*!< Filter bit 24 */ |
9473 | #define CAN_F4R2_FB25_Pos (25U) |
||
9 | mjames | 9474 | #define CAN_F4R2_FB25_Msk (0x1UL << CAN_F4R2_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 9475 | #define CAN_F4R2_FB25 CAN_F4R2_FB25_Msk /*!< Filter bit 25 */ |
9476 | #define CAN_F4R2_FB26_Pos (26U) |
||
9 | mjames | 9477 | #define CAN_F4R2_FB26_Msk (0x1UL << CAN_F4R2_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 9478 | #define CAN_F4R2_FB26 CAN_F4R2_FB26_Msk /*!< Filter bit 26 */ |
9479 | #define CAN_F4R2_FB27_Pos (27U) |
||
9 | mjames | 9480 | #define CAN_F4R2_FB27_Msk (0x1UL << CAN_F4R2_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 9481 | #define CAN_F4R2_FB27 CAN_F4R2_FB27_Msk /*!< Filter bit 27 */ |
9482 | #define CAN_F4R2_FB28_Pos (28U) |
||
9 | mjames | 9483 | #define CAN_F4R2_FB28_Msk (0x1UL << CAN_F4R2_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 9484 | #define CAN_F4R2_FB28 CAN_F4R2_FB28_Msk /*!< Filter bit 28 */ |
9485 | #define CAN_F4R2_FB29_Pos (29U) |
||
9 | mjames | 9486 | #define CAN_F4R2_FB29_Msk (0x1UL << CAN_F4R2_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 9487 | #define CAN_F4R2_FB29 CAN_F4R2_FB29_Msk /*!< Filter bit 29 */ |
9488 | #define CAN_F4R2_FB30_Pos (30U) |
||
9 | mjames | 9489 | #define CAN_F4R2_FB30_Msk (0x1UL << CAN_F4R2_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 9490 | #define CAN_F4R2_FB30 CAN_F4R2_FB30_Msk /*!< Filter bit 30 */ |
9491 | #define CAN_F4R2_FB31_Pos (31U) |
||
9 | mjames | 9492 | #define CAN_F4R2_FB31_Msk (0x1UL << CAN_F4R2_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 9493 | #define CAN_F4R2_FB31 CAN_F4R2_FB31_Msk /*!< Filter bit 31 */ |
9494 | |||
9495 | /******************* Bit definition for CAN_F5R2 register *******************/ |
||
9496 | #define CAN_F5R2_FB0_Pos (0U) |
||
9 | mjames | 9497 | #define CAN_F5R2_FB0_Msk (0x1UL << CAN_F5R2_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 9498 | #define CAN_F5R2_FB0 CAN_F5R2_FB0_Msk /*!< Filter bit 0 */ |
9499 | #define CAN_F5R2_FB1_Pos (1U) |
||
9 | mjames | 9500 | #define CAN_F5R2_FB1_Msk (0x1UL << CAN_F5R2_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 9501 | #define CAN_F5R2_FB1 CAN_F5R2_FB1_Msk /*!< Filter bit 1 */ |
9502 | #define CAN_F5R2_FB2_Pos (2U) |
||
9 | mjames | 9503 | #define CAN_F5R2_FB2_Msk (0x1UL << CAN_F5R2_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 9504 | #define CAN_F5R2_FB2 CAN_F5R2_FB2_Msk /*!< Filter bit 2 */ |
9505 | #define CAN_F5R2_FB3_Pos (3U) |
||
9 | mjames | 9506 | #define CAN_F5R2_FB3_Msk (0x1UL << CAN_F5R2_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 9507 | #define CAN_F5R2_FB3 CAN_F5R2_FB3_Msk /*!< Filter bit 3 */ |
9508 | #define CAN_F5R2_FB4_Pos (4U) |
||
9 | mjames | 9509 | #define CAN_F5R2_FB4_Msk (0x1UL << CAN_F5R2_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 9510 | #define CAN_F5R2_FB4 CAN_F5R2_FB4_Msk /*!< Filter bit 4 */ |
9511 | #define CAN_F5R2_FB5_Pos (5U) |
||
9 | mjames | 9512 | #define CAN_F5R2_FB5_Msk (0x1UL << CAN_F5R2_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 9513 | #define CAN_F5R2_FB5 CAN_F5R2_FB5_Msk /*!< Filter bit 5 */ |
9514 | #define CAN_F5R2_FB6_Pos (6U) |
||
9 | mjames | 9515 | #define CAN_F5R2_FB6_Msk (0x1UL << CAN_F5R2_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 9516 | #define CAN_F5R2_FB6 CAN_F5R2_FB6_Msk /*!< Filter bit 6 */ |
9517 | #define CAN_F5R2_FB7_Pos (7U) |
||
9 | mjames | 9518 | #define CAN_F5R2_FB7_Msk (0x1UL << CAN_F5R2_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 9519 | #define CAN_F5R2_FB7 CAN_F5R2_FB7_Msk /*!< Filter bit 7 */ |
9520 | #define CAN_F5R2_FB8_Pos (8U) |
||
9 | mjames | 9521 | #define CAN_F5R2_FB8_Msk (0x1UL << CAN_F5R2_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 9522 | #define CAN_F5R2_FB8 CAN_F5R2_FB8_Msk /*!< Filter bit 8 */ |
9523 | #define CAN_F5R2_FB9_Pos (9U) |
||
9 | mjames | 9524 | #define CAN_F5R2_FB9_Msk (0x1UL << CAN_F5R2_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 9525 | #define CAN_F5R2_FB9 CAN_F5R2_FB9_Msk /*!< Filter bit 9 */ |
9526 | #define CAN_F5R2_FB10_Pos (10U) |
||
9 | mjames | 9527 | #define CAN_F5R2_FB10_Msk (0x1UL << CAN_F5R2_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 9528 | #define CAN_F5R2_FB10 CAN_F5R2_FB10_Msk /*!< Filter bit 10 */ |
9529 | #define CAN_F5R2_FB11_Pos (11U) |
||
9 | mjames | 9530 | #define CAN_F5R2_FB11_Msk (0x1UL << CAN_F5R2_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 9531 | #define CAN_F5R2_FB11 CAN_F5R2_FB11_Msk /*!< Filter bit 11 */ |
9532 | #define CAN_F5R2_FB12_Pos (12U) |
||
9 | mjames | 9533 | #define CAN_F5R2_FB12_Msk (0x1UL << CAN_F5R2_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 9534 | #define CAN_F5R2_FB12 CAN_F5R2_FB12_Msk /*!< Filter bit 12 */ |
9535 | #define CAN_F5R2_FB13_Pos (13U) |
||
9 | mjames | 9536 | #define CAN_F5R2_FB13_Msk (0x1UL << CAN_F5R2_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 9537 | #define CAN_F5R2_FB13 CAN_F5R2_FB13_Msk /*!< Filter bit 13 */ |
9538 | #define CAN_F5R2_FB14_Pos (14U) |
||
9 | mjames | 9539 | #define CAN_F5R2_FB14_Msk (0x1UL << CAN_F5R2_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 9540 | #define CAN_F5R2_FB14 CAN_F5R2_FB14_Msk /*!< Filter bit 14 */ |
9541 | #define CAN_F5R2_FB15_Pos (15U) |
||
9 | mjames | 9542 | #define CAN_F5R2_FB15_Msk (0x1UL << CAN_F5R2_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 9543 | #define CAN_F5R2_FB15 CAN_F5R2_FB15_Msk /*!< Filter bit 15 */ |
9544 | #define CAN_F5R2_FB16_Pos (16U) |
||
9 | mjames | 9545 | #define CAN_F5R2_FB16_Msk (0x1UL << CAN_F5R2_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 9546 | #define CAN_F5R2_FB16 CAN_F5R2_FB16_Msk /*!< Filter bit 16 */ |
9547 | #define CAN_F5R2_FB17_Pos (17U) |
||
9 | mjames | 9548 | #define CAN_F5R2_FB17_Msk (0x1UL << CAN_F5R2_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 9549 | #define CAN_F5R2_FB17 CAN_F5R2_FB17_Msk /*!< Filter bit 17 */ |
9550 | #define CAN_F5R2_FB18_Pos (18U) |
||
9 | mjames | 9551 | #define CAN_F5R2_FB18_Msk (0x1UL << CAN_F5R2_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 9552 | #define CAN_F5R2_FB18 CAN_F5R2_FB18_Msk /*!< Filter bit 18 */ |
9553 | #define CAN_F5R2_FB19_Pos (19U) |
||
9 | mjames | 9554 | #define CAN_F5R2_FB19_Msk (0x1UL << CAN_F5R2_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 9555 | #define CAN_F5R2_FB19 CAN_F5R2_FB19_Msk /*!< Filter bit 19 */ |
9556 | #define CAN_F5R2_FB20_Pos (20U) |
||
9 | mjames | 9557 | #define CAN_F5R2_FB20_Msk (0x1UL << CAN_F5R2_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 9558 | #define CAN_F5R2_FB20 CAN_F5R2_FB20_Msk /*!< Filter bit 20 */ |
9559 | #define CAN_F5R2_FB21_Pos (21U) |
||
9 | mjames | 9560 | #define CAN_F5R2_FB21_Msk (0x1UL << CAN_F5R2_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 9561 | #define CAN_F5R2_FB21 CAN_F5R2_FB21_Msk /*!< Filter bit 21 */ |
9562 | #define CAN_F5R2_FB22_Pos (22U) |
||
9 | mjames | 9563 | #define CAN_F5R2_FB22_Msk (0x1UL << CAN_F5R2_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 9564 | #define CAN_F5R2_FB22 CAN_F5R2_FB22_Msk /*!< Filter bit 22 */ |
9565 | #define CAN_F5R2_FB23_Pos (23U) |
||
9 | mjames | 9566 | #define CAN_F5R2_FB23_Msk (0x1UL << CAN_F5R2_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 9567 | #define CAN_F5R2_FB23 CAN_F5R2_FB23_Msk /*!< Filter bit 23 */ |
9568 | #define CAN_F5R2_FB24_Pos (24U) |
||
9 | mjames | 9569 | #define CAN_F5R2_FB24_Msk (0x1UL << CAN_F5R2_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 9570 | #define CAN_F5R2_FB24 CAN_F5R2_FB24_Msk /*!< Filter bit 24 */ |
9571 | #define CAN_F5R2_FB25_Pos (25U) |
||
9 | mjames | 9572 | #define CAN_F5R2_FB25_Msk (0x1UL << CAN_F5R2_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 9573 | #define CAN_F5R2_FB25 CAN_F5R2_FB25_Msk /*!< Filter bit 25 */ |
9574 | #define CAN_F5R2_FB26_Pos (26U) |
||
9 | mjames | 9575 | #define CAN_F5R2_FB26_Msk (0x1UL << CAN_F5R2_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 9576 | #define CAN_F5R2_FB26 CAN_F5R2_FB26_Msk /*!< Filter bit 26 */ |
9577 | #define CAN_F5R2_FB27_Pos (27U) |
||
9 | mjames | 9578 | #define CAN_F5R2_FB27_Msk (0x1UL << CAN_F5R2_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 9579 | #define CAN_F5R2_FB27 CAN_F5R2_FB27_Msk /*!< Filter bit 27 */ |
9580 | #define CAN_F5R2_FB28_Pos (28U) |
||
9 | mjames | 9581 | #define CAN_F5R2_FB28_Msk (0x1UL << CAN_F5R2_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 9582 | #define CAN_F5R2_FB28 CAN_F5R2_FB28_Msk /*!< Filter bit 28 */ |
9583 | #define CAN_F5R2_FB29_Pos (29U) |
||
9 | mjames | 9584 | #define CAN_F5R2_FB29_Msk (0x1UL << CAN_F5R2_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 9585 | #define CAN_F5R2_FB29 CAN_F5R2_FB29_Msk /*!< Filter bit 29 */ |
9586 | #define CAN_F5R2_FB30_Pos (30U) |
||
9 | mjames | 9587 | #define CAN_F5R2_FB30_Msk (0x1UL << CAN_F5R2_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 9588 | #define CAN_F5R2_FB30 CAN_F5R2_FB30_Msk /*!< Filter bit 30 */ |
9589 | #define CAN_F5R2_FB31_Pos (31U) |
||
9 | mjames | 9590 | #define CAN_F5R2_FB31_Msk (0x1UL << CAN_F5R2_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 9591 | #define CAN_F5R2_FB31 CAN_F5R2_FB31_Msk /*!< Filter bit 31 */ |
9592 | |||
9593 | /******************* Bit definition for CAN_F6R2 register *******************/ |
||
9594 | #define CAN_F6R2_FB0_Pos (0U) |
||
9 | mjames | 9595 | #define CAN_F6R2_FB0_Msk (0x1UL << CAN_F6R2_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 9596 | #define CAN_F6R2_FB0 CAN_F6R2_FB0_Msk /*!< Filter bit 0 */ |
9597 | #define CAN_F6R2_FB1_Pos (1U) |
||
9 | mjames | 9598 | #define CAN_F6R2_FB1_Msk (0x1UL << CAN_F6R2_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 9599 | #define CAN_F6R2_FB1 CAN_F6R2_FB1_Msk /*!< Filter bit 1 */ |
9600 | #define CAN_F6R2_FB2_Pos (2U) |
||
9 | mjames | 9601 | #define CAN_F6R2_FB2_Msk (0x1UL << CAN_F6R2_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 9602 | #define CAN_F6R2_FB2 CAN_F6R2_FB2_Msk /*!< Filter bit 2 */ |
9603 | #define CAN_F6R2_FB3_Pos (3U) |
||
9 | mjames | 9604 | #define CAN_F6R2_FB3_Msk (0x1UL << CAN_F6R2_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 9605 | #define CAN_F6R2_FB3 CAN_F6R2_FB3_Msk /*!< Filter bit 3 */ |
9606 | #define CAN_F6R2_FB4_Pos (4U) |
||
9 | mjames | 9607 | #define CAN_F6R2_FB4_Msk (0x1UL << CAN_F6R2_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 9608 | #define CAN_F6R2_FB4 CAN_F6R2_FB4_Msk /*!< Filter bit 4 */ |
9609 | #define CAN_F6R2_FB5_Pos (5U) |
||
9 | mjames | 9610 | #define CAN_F6R2_FB5_Msk (0x1UL << CAN_F6R2_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 9611 | #define CAN_F6R2_FB5 CAN_F6R2_FB5_Msk /*!< Filter bit 5 */ |
9612 | #define CAN_F6R2_FB6_Pos (6U) |
||
9 | mjames | 9613 | #define CAN_F6R2_FB6_Msk (0x1UL << CAN_F6R2_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 9614 | #define CAN_F6R2_FB6 CAN_F6R2_FB6_Msk /*!< Filter bit 6 */ |
9615 | #define CAN_F6R2_FB7_Pos (7U) |
||
9 | mjames | 9616 | #define CAN_F6R2_FB7_Msk (0x1UL << CAN_F6R2_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 9617 | #define CAN_F6R2_FB7 CAN_F6R2_FB7_Msk /*!< Filter bit 7 */ |
9618 | #define CAN_F6R2_FB8_Pos (8U) |
||
9 | mjames | 9619 | #define CAN_F6R2_FB8_Msk (0x1UL << CAN_F6R2_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 9620 | #define CAN_F6R2_FB8 CAN_F6R2_FB8_Msk /*!< Filter bit 8 */ |
9621 | #define CAN_F6R2_FB9_Pos (9U) |
||
9 | mjames | 9622 | #define CAN_F6R2_FB9_Msk (0x1UL << CAN_F6R2_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 9623 | #define CAN_F6R2_FB9 CAN_F6R2_FB9_Msk /*!< Filter bit 9 */ |
9624 | #define CAN_F6R2_FB10_Pos (10U) |
||
9 | mjames | 9625 | #define CAN_F6R2_FB10_Msk (0x1UL << CAN_F6R2_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 9626 | #define CAN_F6R2_FB10 CAN_F6R2_FB10_Msk /*!< Filter bit 10 */ |
9627 | #define CAN_F6R2_FB11_Pos (11U) |
||
9 | mjames | 9628 | #define CAN_F6R2_FB11_Msk (0x1UL << CAN_F6R2_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 9629 | #define CAN_F6R2_FB11 CAN_F6R2_FB11_Msk /*!< Filter bit 11 */ |
9630 | #define CAN_F6R2_FB12_Pos (12U) |
||
9 | mjames | 9631 | #define CAN_F6R2_FB12_Msk (0x1UL << CAN_F6R2_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 9632 | #define CAN_F6R2_FB12 CAN_F6R2_FB12_Msk /*!< Filter bit 12 */ |
9633 | #define CAN_F6R2_FB13_Pos (13U) |
||
9 | mjames | 9634 | #define CAN_F6R2_FB13_Msk (0x1UL << CAN_F6R2_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 9635 | #define CAN_F6R2_FB13 CAN_F6R2_FB13_Msk /*!< Filter bit 13 */ |
9636 | #define CAN_F6R2_FB14_Pos (14U) |
||
9 | mjames | 9637 | #define CAN_F6R2_FB14_Msk (0x1UL << CAN_F6R2_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 9638 | #define CAN_F6R2_FB14 CAN_F6R2_FB14_Msk /*!< Filter bit 14 */ |
9639 | #define CAN_F6R2_FB15_Pos (15U) |
||
9 | mjames | 9640 | #define CAN_F6R2_FB15_Msk (0x1UL << CAN_F6R2_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 9641 | #define CAN_F6R2_FB15 CAN_F6R2_FB15_Msk /*!< Filter bit 15 */ |
9642 | #define CAN_F6R2_FB16_Pos (16U) |
||
9 | mjames | 9643 | #define CAN_F6R2_FB16_Msk (0x1UL << CAN_F6R2_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 9644 | #define CAN_F6R2_FB16 CAN_F6R2_FB16_Msk /*!< Filter bit 16 */ |
9645 | #define CAN_F6R2_FB17_Pos (17U) |
||
9 | mjames | 9646 | #define CAN_F6R2_FB17_Msk (0x1UL << CAN_F6R2_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 9647 | #define CAN_F6R2_FB17 CAN_F6R2_FB17_Msk /*!< Filter bit 17 */ |
9648 | #define CAN_F6R2_FB18_Pos (18U) |
||
9 | mjames | 9649 | #define CAN_F6R2_FB18_Msk (0x1UL << CAN_F6R2_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 9650 | #define CAN_F6R2_FB18 CAN_F6R2_FB18_Msk /*!< Filter bit 18 */ |
9651 | #define CAN_F6R2_FB19_Pos (19U) |
||
9 | mjames | 9652 | #define CAN_F6R2_FB19_Msk (0x1UL << CAN_F6R2_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 9653 | #define CAN_F6R2_FB19 CAN_F6R2_FB19_Msk /*!< Filter bit 19 */ |
9654 | #define CAN_F6R2_FB20_Pos (20U) |
||
9 | mjames | 9655 | #define CAN_F6R2_FB20_Msk (0x1UL << CAN_F6R2_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 9656 | #define CAN_F6R2_FB20 CAN_F6R2_FB20_Msk /*!< Filter bit 20 */ |
9657 | #define CAN_F6R2_FB21_Pos (21U) |
||
9 | mjames | 9658 | #define CAN_F6R2_FB21_Msk (0x1UL << CAN_F6R2_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 9659 | #define CAN_F6R2_FB21 CAN_F6R2_FB21_Msk /*!< Filter bit 21 */ |
9660 | #define CAN_F6R2_FB22_Pos (22U) |
||
9 | mjames | 9661 | #define CAN_F6R2_FB22_Msk (0x1UL << CAN_F6R2_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 9662 | #define CAN_F6R2_FB22 CAN_F6R2_FB22_Msk /*!< Filter bit 22 */ |
9663 | #define CAN_F6R2_FB23_Pos (23U) |
||
9 | mjames | 9664 | #define CAN_F6R2_FB23_Msk (0x1UL << CAN_F6R2_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 9665 | #define CAN_F6R2_FB23 CAN_F6R2_FB23_Msk /*!< Filter bit 23 */ |
9666 | #define CAN_F6R2_FB24_Pos (24U) |
||
9 | mjames | 9667 | #define CAN_F6R2_FB24_Msk (0x1UL << CAN_F6R2_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 9668 | #define CAN_F6R2_FB24 CAN_F6R2_FB24_Msk /*!< Filter bit 24 */ |
9669 | #define CAN_F6R2_FB25_Pos (25U) |
||
9 | mjames | 9670 | #define CAN_F6R2_FB25_Msk (0x1UL << CAN_F6R2_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 9671 | #define CAN_F6R2_FB25 CAN_F6R2_FB25_Msk /*!< Filter bit 25 */ |
9672 | #define CAN_F6R2_FB26_Pos (26U) |
||
9 | mjames | 9673 | #define CAN_F6R2_FB26_Msk (0x1UL << CAN_F6R2_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 9674 | #define CAN_F6R2_FB26 CAN_F6R2_FB26_Msk /*!< Filter bit 26 */ |
9675 | #define CAN_F6R2_FB27_Pos (27U) |
||
9 | mjames | 9676 | #define CAN_F6R2_FB27_Msk (0x1UL << CAN_F6R2_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 9677 | #define CAN_F6R2_FB27 CAN_F6R2_FB27_Msk /*!< Filter bit 27 */ |
9678 | #define CAN_F6R2_FB28_Pos (28U) |
||
9 | mjames | 9679 | #define CAN_F6R2_FB28_Msk (0x1UL << CAN_F6R2_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 9680 | #define CAN_F6R2_FB28 CAN_F6R2_FB28_Msk /*!< Filter bit 28 */ |
9681 | #define CAN_F6R2_FB29_Pos (29U) |
||
9 | mjames | 9682 | #define CAN_F6R2_FB29_Msk (0x1UL << CAN_F6R2_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 9683 | #define CAN_F6R2_FB29 CAN_F6R2_FB29_Msk /*!< Filter bit 29 */ |
9684 | #define CAN_F6R2_FB30_Pos (30U) |
||
9 | mjames | 9685 | #define CAN_F6R2_FB30_Msk (0x1UL << CAN_F6R2_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 9686 | #define CAN_F6R2_FB30 CAN_F6R2_FB30_Msk /*!< Filter bit 30 */ |
9687 | #define CAN_F6R2_FB31_Pos (31U) |
||
9 | mjames | 9688 | #define CAN_F6R2_FB31_Msk (0x1UL << CAN_F6R2_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 9689 | #define CAN_F6R2_FB31 CAN_F6R2_FB31_Msk /*!< Filter bit 31 */ |
9690 | |||
9691 | /******************* Bit definition for CAN_F7R2 register *******************/ |
||
9692 | #define CAN_F7R2_FB0_Pos (0U) |
||
9 | mjames | 9693 | #define CAN_F7R2_FB0_Msk (0x1UL << CAN_F7R2_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 9694 | #define CAN_F7R2_FB0 CAN_F7R2_FB0_Msk /*!< Filter bit 0 */ |
9695 | #define CAN_F7R2_FB1_Pos (1U) |
||
9 | mjames | 9696 | #define CAN_F7R2_FB1_Msk (0x1UL << CAN_F7R2_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 9697 | #define CAN_F7R2_FB1 CAN_F7R2_FB1_Msk /*!< Filter bit 1 */ |
9698 | #define CAN_F7R2_FB2_Pos (2U) |
||
9 | mjames | 9699 | #define CAN_F7R2_FB2_Msk (0x1UL << CAN_F7R2_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 9700 | #define CAN_F7R2_FB2 CAN_F7R2_FB2_Msk /*!< Filter bit 2 */ |
9701 | #define CAN_F7R2_FB3_Pos (3U) |
||
9 | mjames | 9702 | #define CAN_F7R2_FB3_Msk (0x1UL << CAN_F7R2_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 9703 | #define CAN_F7R2_FB3 CAN_F7R2_FB3_Msk /*!< Filter bit 3 */ |
9704 | #define CAN_F7R2_FB4_Pos (4U) |
||
9 | mjames | 9705 | #define CAN_F7R2_FB4_Msk (0x1UL << CAN_F7R2_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 9706 | #define CAN_F7R2_FB4 CAN_F7R2_FB4_Msk /*!< Filter bit 4 */ |
9707 | #define CAN_F7R2_FB5_Pos (5U) |
||
9 | mjames | 9708 | #define CAN_F7R2_FB5_Msk (0x1UL << CAN_F7R2_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 9709 | #define CAN_F7R2_FB5 CAN_F7R2_FB5_Msk /*!< Filter bit 5 */ |
9710 | #define CAN_F7R2_FB6_Pos (6U) |
||
9 | mjames | 9711 | #define CAN_F7R2_FB6_Msk (0x1UL << CAN_F7R2_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 9712 | #define CAN_F7R2_FB6 CAN_F7R2_FB6_Msk /*!< Filter bit 6 */ |
9713 | #define CAN_F7R2_FB7_Pos (7U) |
||
9 | mjames | 9714 | #define CAN_F7R2_FB7_Msk (0x1UL << CAN_F7R2_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 9715 | #define CAN_F7R2_FB7 CAN_F7R2_FB7_Msk /*!< Filter bit 7 */ |
9716 | #define CAN_F7R2_FB8_Pos (8U) |
||
9 | mjames | 9717 | #define CAN_F7R2_FB8_Msk (0x1UL << CAN_F7R2_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 9718 | #define CAN_F7R2_FB8 CAN_F7R2_FB8_Msk /*!< Filter bit 8 */ |
9719 | #define CAN_F7R2_FB9_Pos (9U) |
||
9 | mjames | 9720 | #define CAN_F7R2_FB9_Msk (0x1UL << CAN_F7R2_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 9721 | #define CAN_F7R2_FB9 CAN_F7R2_FB9_Msk /*!< Filter bit 9 */ |
9722 | #define CAN_F7R2_FB10_Pos (10U) |
||
9 | mjames | 9723 | #define CAN_F7R2_FB10_Msk (0x1UL << CAN_F7R2_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 9724 | #define CAN_F7R2_FB10 CAN_F7R2_FB10_Msk /*!< Filter bit 10 */ |
9725 | #define CAN_F7R2_FB11_Pos (11U) |
||
9 | mjames | 9726 | #define CAN_F7R2_FB11_Msk (0x1UL << CAN_F7R2_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 9727 | #define CAN_F7R2_FB11 CAN_F7R2_FB11_Msk /*!< Filter bit 11 */ |
9728 | #define CAN_F7R2_FB12_Pos (12U) |
||
9 | mjames | 9729 | #define CAN_F7R2_FB12_Msk (0x1UL << CAN_F7R2_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 9730 | #define CAN_F7R2_FB12 CAN_F7R2_FB12_Msk /*!< Filter bit 12 */ |
9731 | #define CAN_F7R2_FB13_Pos (13U) |
||
9 | mjames | 9732 | #define CAN_F7R2_FB13_Msk (0x1UL << CAN_F7R2_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 9733 | #define CAN_F7R2_FB13 CAN_F7R2_FB13_Msk /*!< Filter bit 13 */ |
9734 | #define CAN_F7R2_FB14_Pos (14U) |
||
9 | mjames | 9735 | #define CAN_F7R2_FB14_Msk (0x1UL << CAN_F7R2_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 9736 | #define CAN_F7R2_FB14 CAN_F7R2_FB14_Msk /*!< Filter bit 14 */ |
9737 | #define CAN_F7R2_FB15_Pos (15U) |
||
9 | mjames | 9738 | #define CAN_F7R2_FB15_Msk (0x1UL << CAN_F7R2_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 9739 | #define CAN_F7R2_FB15 CAN_F7R2_FB15_Msk /*!< Filter bit 15 */ |
9740 | #define CAN_F7R2_FB16_Pos (16U) |
||
9 | mjames | 9741 | #define CAN_F7R2_FB16_Msk (0x1UL << CAN_F7R2_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 9742 | #define CAN_F7R2_FB16 CAN_F7R2_FB16_Msk /*!< Filter bit 16 */ |
9743 | #define CAN_F7R2_FB17_Pos (17U) |
||
9 | mjames | 9744 | #define CAN_F7R2_FB17_Msk (0x1UL << CAN_F7R2_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 9745 | #define CAN_F7R2_FB17 CAN_F7R2_FB17_Msk /*!< Filter bit 17 */ |
9746 | #define CAN_F7R2_FB18_Pos (18U) |
||
9 | mjames | 9747 | #define CAN_F7R2_FB18_Msk (0x1UL << CAN_F7R2_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 9748 | #define CAN_F7R2_FB18 CAN_F7R2_FB18_Msk /*!< Filter bit 18 */ |
9749 | #define CAN_F7R2_FB19_Pos (19U) |
||
9 | mjames | 9750 | #define CAN_F7R2_FB19_Msk (0x1UL << CAN_F7R2_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 9751 | #define CAN_F7R2_FB19 CAN_F7R2_FB19_Msk /*!< Filter bit 19 */ |
9752 | #define CAN_F7R2_FB20_Pos (20U) |
||
9 | mjames | 9753 | #define CAN_F7R2_FB20_Msk (0x1UL << CAN_F7R2_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 9754 | #define CAN_F7R2_FB20 CAN_F7R2_FB20_Msk /*!< Filter bit 20 */ |
9755 | #define CAN_F7R2_FB21_Pos (21U) |
||
9 | mjames | 9756 | #define CAN_F7R2_FB21_Msk (0x1UL << CAN_F7R2_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 9757 | #define CAN_F7R2_FB21 CAN_F7R2_FB21_Msk /*!< Filter bit 21 */ |
9758 | #define CAN_F7R2_FB22_Pos (22U) |
||
9 | mjames | 9759 | #define CAN_F7R2_FB22_Msk (0x1UL << CAN_F7R2_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 9760 | #define CAN_F7R2_FB22 CAN_F7R2_FB22_Msk /*!< Filter bit 22 */ |
9761 | #define CAN_F7R2_FB23_Pos (23U) |
||
9 | mjames | 9762 | #define CAN_F7R2_FB23_Msk (0x1UL << CAN_F7R2_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 9763 | #define CAN_F7R2_FB23 CAN_F7R2_FB23_Msk /*!< Filter bit 23 */ |
9764 | #define CAN_F7R2_FB24_Pos (24U) |
||
9 | mjames | 9765 | #define CAN_F7R2_FB24_Msk (0x1UL << CAN_F7R2_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 9766 | #define CAN_F7R2_FB24 CAN_F7R2_FB24_Msk /*!< Filter bit 24 */ |
9767 | #define CAN_F7R2_FB25_Pos (25U) |
||
9 | mjames | 9768 | #define CAN_F7R2_FB25_Msk (0x1UL << CAN_F7R2_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 9769 | #define CAN_F7R2_FB25 CAN_F7R2_FB25_Msk /*!< Filter bit 25 */ |
9770 | #define CAN_F7R2_FB26_Pos (26U) |
||
9 | mjames | 9771 | #define CAN_F7R2_FB26_Msk (0x1UL << CAN_F7R2_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 9772 | #define CAN_F7R2_FB26 CAN_F7R2_FB26_Msk /*!< Filter bit 26 */ |
9773 | #define CAN_F7R2_FB27_Pos (27U) |
||
9 | mjames | 9774 | #define CAN_F7R2_FB27_Msk (0x1UL << CAN_F7R2_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 9775 | #define CAN_F7R2_FB27 CAN_F7R2_FB27_Msk /*!< Filter bit 27 */ |
9776 | #define CAN_F7R2_FB28_Pos (28U) |
||
9 | mjames | 9777 | #define CAN_F7R2_FB28_Msk (0x1UL << CAN_F7R2_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 9778 | #define CAN_F7R2_FB28 CAN_F7R2_FB28_Msk /*!< Filter bit 28 */ |
9779 | #define CAN_F7R2_FB29_Pos (29U) |
||
9 | mjames | 9780 | #define CAN_F7R2_FB29_Msk (0x1UL << CAN_F7R2_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 9781 | #define CAN_F7R2_FB29 CAN_F7R2_FB29_Msk /*!< Filter bit 29 */ |
9782 | #define CAN_F7R2_FB30_Pos (30U) |
||
9 | mjames | 9783 | #define CAN_F7R2_FB30_Msk (0x1UL << CAN_F7R2_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 9784 | #define CAN_F7R2_FB30 CAN_F7R2_FB30_Msk /*!< Filter bit 30 */ |
9785 | #define CAN_F7R2_FB31_Pos (31U) |
||
9 | mjames | 9786 | #define CAN_F7R2_FB31_Msk (0x1UL << CAN_F7R2_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 9787 | #define CAN_F7R2_FB31 CAN_F7R2_FB31_Msk /*!< Filter bit 31 */ |
9788 | |||
9789 | /******************* Bit definition for CAN_F8R2 register *******************/ |
||
9790 | #define CAN_F8R2_FB0_Pos (0U) |
||
9 | mjames | 9791 | #define CAN_F8R2_FB0_Msk (0x1UL << CAN_F8R2_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 9792 | #define CAN_F8R2_FB0 CAN_F8R2_FB0_Msk /*!< Filter bit 0 */ |
9793 | #define CAN_F8R2_FB1_Pos (1U) |
||
9 | mjames | 9794 | #define CAN_F8R2_FB1_Msk (0x1UL << CAN_F8R2_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 9795 | #define CAN_F8R2_FB1 CAN_F8R2_FB1_Msk /*!< Filter bit 1 */ |
9796 | #define CAN_F8R2_FB2_Pos (2U) |
||
9 | mjames | 9797 | #define CAN_F8R2_FB2_Msk (0x1UL << CAN_F8R2_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 9798 | #define CAN_F8R2_FB2 CAN_F8R2_FB2_Msk /*!< Filter bit 2 */ |
9799 | #define CAN_F8R2_FB3_Pos (3U) |
||
9 | mjames | 9800 | #define CAN_F8R2_FB3_Msk (0x1UL << CAN_F8R2_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 9801 | #define CAN_F8R2_FB3 CAN_F8R2_FB3_Msk /*!< Filter bit 3 */ |
9802 | #define CAN_F8R2_FB4_Pos (4U) |
||
9 | mjames | 9803 | #define CAN_F8R2_FB4_Msk (0x1UL << CAN_F8R2_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 9804 | #define CAN_F8R2_FB4 CAN_F8R2_FB4_Msk /*!< Filter bit 4 */ |
9805 | #define CAN_F8R2_FB5_Pos (5U) |
||
9 | mjames | 9806 | #define CAN_F8R2_FB5_Msk (0x1UL << CAN_F8R2_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 9807 | #define CAN_F8R2_FB5 CAN_F8R2_FB5_Msk /*!< Filter bit 5 */ |
9808 | #define CAN_F8R2_FB6_Pos (6U) |
||
9 | mjames | 9809 | #define CAN_F8R2_FB6_Msk (0x1UL << CAN_F8R2_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 9810 | #define CAN_F8R2_FB6 CAN_F8R2_FB6_Msk /*!< Filter bit 6 */ |
9811 | #define CAN_F8R2_FB7_Pos (7U) |
||
9 | mjames | 9812 | #define CAN_F8R2_FB7_Msk (0x1UL << CAN_F8R2_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 9813 | #define CAN_F8R2_FB7 CAN_F8R2_FB7_Msk /*!< Filter bit 7 */ |
9814 | #define CAN_F8R2_FB8_Pos (8U) |
||
9 | mjames | 9815 | #define CAN_F8R2_FB8_Msk (0x1UL << CAN_F8R2_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 9816 | #define CAN_F8R2_FB8 CAN_F8R2_FB8_Msk /*!< Filter bit 8 */ |
9817 | #define CAN_F8R2_FB9_Pos (9U) |
||
9 | mjames | 9818 | #define CAN_F8R2_FB9_Msk (0x1UL << CAN_F8R2_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 9819 | #define CAN_F8R2_FB9 CAN_F8R2_FB9_Msk /*!< Filter bit 9 */ |
9820 | #define CAN_F8R2_FB10_Pos (10U) |
||
9 | mjames | 9821 | #define CAN_F8R2_FB10_Msk (0x1UL << CAN_F8R2_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 9822 | #define CAN_F8R2_FB10 CAN_F8R2_FB10_Msk /*!< Filter bit 10 */ |
9823 | #define CAN_F8R2_FB11_Pos (11U) |
||
9 | mjames | 9824 | #define CAN_F8R2_FB11_Msk (0x1UL << CAN_F8R2_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 9825 | #define CAN_F8R2_FB11 CAN_F8R2_FB11_Msk /*!< Filter bit 11 */ |
9826 | #define CAN_F8R2_FB12_Pos (12U) |
||
9 | mjames | 9827 | #define CAN_F8R2_FB12_Msk (0x1UL << CAN_F8R2_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 9828 | #define CAN_F8R2_FB12 CAN_F8R2_FB12_Msk /*!< Filter bit 12 */ |
9829 | #define CAN_F8R2_FB13_Pos (13U) |
||
9 | mjames | 9830 | #define CAN_F8R2_FB13_Msk (0x1UL << CAN_F8R2_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 9831 | #define CAN_F8R2_FB13 CAN_F8R2_FB13_Msk /*!< Filter bit 13 */ |
9832 | #define CAN_F8R2_FB14_Pos (14U) |
||
9 | mjames | 9833 | #define CAN_F8R2_FB14_Msk (0x1UL << CAN_F8R2_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 9834 | #define CAN_F8R2_FB14 CAN_F8R2_FB14_Msk /*!< Filter bit 14 */ |
9835 | #define CAN_F8R2_FB15_Pos (15U) |
||
9 | mjames | 9836 | #define CAN_F8R2_FB15_Msk (0x1UL << CAN_F8R2_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 9837 | #define CAN_F8R2_FB15 CAN_F8R2_FB15_Msk /*!< Filter bit 15 */ |
9838 | #define CAN_F8R2_FB16_Pos (16U) |
||
9 | mjames | 9839 | #define CAN_F8R2_FB16_Msk (0x1UL << CAN_F8R2_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 9840 | #define CAN_F8R2_FB16 CAN_F8R2_FB16_Msk /*!< Filter bit 16 */ |
9841 | #define CAN_F8R2_FB17_Pos (17U) |
||
9 | mjames | 9842 | #define CAN_F8R2_FB17_Msk (0x1UL << CAN_F8R2_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 9843 | #define CAN_F8R2_FB17 CAN_F8R2_FB17_Msk /*!< Filter bit 17 */ |
9844 | #define CAN_F8R2_FB18_Pos (18U) |
||
9 | mjames | 9845 | #define CAN_F8R2_FB18_Msk (0x1UL << CAN_F8R2_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 9846 | #define CAN_F8R2_FB18 CAN_F8R2_FB18_Msk /*!< Filter bit 18 */ |
9847 | #define CAN_F8R2_FB19_Pos (19U) |
||
9 | mjames | 9848 | #define CAN_F8R2_FB19_Msk (0x1UL << CAN_F8R2_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 9849 | #define CAN_F8R2_FB19 CAN_F8R2_FB19_Msk /*!< Filter bit 19 */ |
9850 | #define CAN_F8R2_FB20_Pos (20U) |
||
9 | mjames | 9851 | #define CAN_F8R2_FB20_Msk (0x1UL << CAN_F8R2_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 9852 | #define CAN_F8R2_FB20 CAN_F8R2_FB20_Msk /*!< Filter bit 20 */ |
9853 | #define CAN_F8R2_FB21_Pos (21U) |
||
9 | mjames | 9854 | #define CAN_F8R2_FB21_Msk (0x1UL << CAN_F8R2_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 9855 | #define CAN_F8R2_FB21 CAN_F8R2_FB21_Msk /*!< Filter bit 21 */ |
9856 | #define CAN_F8R2_FB22_Pos (22U) |
||
9 | mjames | 9857 | #define CAN_F8R2_FB22_Msk (0x1UL << CAN_F8R2_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 9858 | #define CAN_F8R2_FB22 CAN_F8R2_FB22_Msk /*!< Filter bit 22 */ |
9859 | #define CAN_F8R2_FB23_Pos (23U) |
||
9 | mjames | 9860 | #define CAN_F8R2_FB23_Msk (0x1UL << CAN_F8R2_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 9861 | #define CAN_F8R2_FB23 CAN_F8R2_FB23_Msk /*!< Filter bit 23 */ |
9862 | #define CAN_F8R2_FB24_Pos (24U) |
||
9 | mjames | 9863 | #define CAN_F8R2_FB24_Msk (0x1UL << CAN_F8R2_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 9864 | #define CAN_F8R2_FB24 CAN_F8R2_FB24_Msk /*!< Filter bit 24 */ |
9865 | #define CAN_F8R2_FB25_Pos (25U) |
||
9 | mjames | 9866 | #define CAN_F8R2_FB25_Msk (0x1UL << CAN_F8R2_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 9867 | #define CAN_F8R2_FB25 CAN_F8R2_FB25_Msk /*!< Filter bit 25 */ |
9868 | #define CAN_F8R2_FB26_Pos (26U) |
||
9 | mjames | 9869 | #define CAN_F8R2_FB26_Msk (0x1UL << CAN_F8R2_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 9870 | #define CAN_F8R2_FB26 CAN_F8R2_FB26_Msk /*!< Filter bit 26 */ |
9871 | #define CAN_F8R2_FB27_Pos (27U) |
||
9 | mjames | 9872 | #define CAN_F8R2_FB27_Msk (0x1UL << CAN_F8R2_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 9873 | #define CAN_F8R2_FB27 CAN_F8R2_FB27_Msk /*!< Filter bit 27 */ |
9874 | #define CAN_F8R2_FB28_Pos (28U) |
||
9 | mjames | 9875 | #define CAN_F8R2_FB28_Msk (0x1UL << CAN_F8R2_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 9876 | #define CAN_F8R2_FB28 CAN_F8R2_FB28_Msk /*!< Filter bit 28 */ |
9877 | #define CAN_F8R2_FB29_Pos (29U) |
||
9 | mjames | 9878 | #define CAN_F8R2_FB29_Msk (0x1UL << CAN_F8R2_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 9879 | #define CAN_F8R2_FB29 CAN_F8R2_FB29_Msk /*!< Filter bit 29 */ |
9880 | #define CAN_F8R2_FB30_Pos (30U) |
||
9 | mjames | 9881 | #define CAN_F8R2_FB30_Msk (0x1UL << CAN_F8R2_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 9882 | #define CAN_F8R2_FB30 CAN_F8R2_FB30_Msk /*!< Filter bit 30 */ |
9883 | #define CAN_F8R2_FB31_Pos (31U) |
||
9 | mjames | 9884 | #define CAN_F8R2_FB31_Msk (0x1UL << CAN_F8R2_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 9885 | #define CAN_F8R2_FB31 CAN_F8R2_FB31_Msk /*!< Filter bit 31 */ |
9886 | |||
9887 | /******************* Bit definition for CAN_F9R2 register *******************/ |
||
9888 | #define CAN_F9R2_FB0_Pos (0U) |
||
9 | mjames | 9889 | #define CAN_F9R2_FB0_Msk (0x1UL << CAN_F9R2_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 9890 | #define CAN_F9R2_FB0 CAN_F9R2_FB0_Msk /*!< Filter bit 0 */ |
9891 | #define CAN_F9R2_FB1_Pos (1U) |
||
9 | mjames | 9892 | #define CAN_F9R2_FB1_Msk (0x1UL << CAN_F9R2_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 9893 | #define CAN_F9R2_FB1 CAN_F9R2_FB1_Msk /*!< Filter bit 1 */ |
9894 | #define CAN_F9R2_FB2_Pos (2U) |
||
9 | mjames | 9895 | #define CAN_F9R2_FB2_Msk (0x1UL << CAN_F9R2_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 9896 | #define CAN_F9R2_FB2 CAN_F9R2_FB2_Msk /*!< Filter bit 2 */ |
9897 | #define CAN_F9R2_FB3_Pos (3U) |
||
9 | mjames | 9898 | #define CAN_F9R2_FB3_Msk (0x1UL << CAN_F9R2_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 9899 | #define CAN_F9R2_FB3 CAN_F9R2_FB3_Msk /*!< Filter bit 3 */ |
9900 | #define CAN_F9R2_FB4_Pos (4U) |
||
9 | mjames | 9901 | #define CAN_F9R2_FB4_Msk (0x1UL << CAN_F9R2_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 9902 | #define CAN_F9R2_FB4 CAN_F9R2_FB4_Msk /*!< Filter bit 4 */ |
9903 | #define CAN_F9R2_FB5_Pos (5U) |
||
9 | mjames | 9904 | #define CAN_F9R2_FB5_Msk (0x1UL << CAN_F9R2_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 9905 | #define CAN_F9R2_FB5 CAN_F9R2_FB5_Msk /*!< Filter bit 5 */ |
9906 | #define CAN_F9R2_FB6_Pos (6U) |
||
9 | mjames | 9907 | #define CAN_F9R2_FB6_Msk (0x1UL << CAN_F9R2_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 9908 | #define CAN_F9R2_FB6 CAN_F9R2_FB6_Msk /*!< Filter bit 6 */ |
9909 | #define CAN_F9R2_FB7_Pos (7U) |
||
9 | mjames | 9910 | #define CAN_F9R2_FB7_Msk (0x1UL << CAN_F9R2_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 9911 | #define CAN_F9R2_FB7 CAN_F9R2_FB7_Msk /*!< Filter bit 7 */ |
9912 | #define CAN_F9R2_FB8_Pos (8U) |
||
9 | mjames | 9913 | #define CAN_F9R2_FB8_Msk (0x1UL << CAN_F9R2_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 9914 | #define CAN_F9R2_FB8 CAN_F9R2_FB8_Msk /*!< Filter bit 8 */ |
9915 | #define CAN_F9R2_FB9_Pos (9U) |
||
9 | mjames | 9916 | #define CAN_F9R2_FB9_Msk (0x1UL << CAN_F9R2_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 9917 | #define CAN_F9R2_FB9 CAN_F9R2_FB9_Msk /*!< Filter bit 9 */ |
9918 | #define CAN_F9R2_FB10_Pos (10U) |
||
9 | mjames | 9919 | #define CAN_F9R2_FB10_Msk (0x1UL << CAN_F9R2_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 9920 | #define CAN_F9R2_FB10 CAN_F9R2_FB10_Msk /*!< Filter bit 10 */ |
9921 | #define CAN_F9R2_FB11_Pos (11U) |
||
9 | mjames | 9922 | #define CAN_F9R2_FB11_Msk (0x1UL << CAN_F9R2_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 9923 | #define CAN_F9R2_FB11 CAN_F9R2_FB11_Msk /*!< Filter bit 11 */ |
9924 | #define CAN_F9R2_FB12_Pos (12U) |
||
9 | mjames | 9925 | #define CAN_F9R2_FB12_Msk (0x1UL << CAN_F9R2_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 9926 | #define CAN_F9R2_FB12 CAN_F9R2_FB12_Msk /*!< Filter bit 12 */ |
9927 | #define CAN_F9R2_FB13_Pos (13U) |
||
9 | mjames | 9928 | #define CAN_F9R2_FB13_Msk (0x1UL << CAN_F9R2_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 9929 | #define CAN_F9R2_FB13 CAN_F9R2_FB13_Msk /*!< Filter bit 13 */ |
9930 | #define CAN_F9R2_FB14_Pos (14U) |
||
9 | mjames | 9931 | #define CAN_F9R2_FB14_Msk (0x1UL << CAN_F9R2_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 9932 | #define CAN_F9R2_FB14 CAN_F9R2_FB14_Msk /*!< Filter bit 14 */ |
9933 | #define CAN_F9R2_FB15_Pos (15U) |
||
9 | mjames | 9934 | #define CAN_F9R2_FB15_Msk (0x1UL << CAN_F9R2_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 9935 | #define CAN_F9R2_FB15 CAN_F9R2_FB15_Msk /*!< Filter bit 15 */ |
9936 | #define CAN_F9R2_FB16_Pos (16U) |
||
9 | mjames | 9937 | #define CAN_F9R2_FB16_Msk (0x1UL << CAN_F9R2_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 9938 | #define CAN_F9R2_FB16 CAN_F9R2_FB16_Msk /*!< Filter bit 16 */ |
9939 | #define CAN_F9R2_FB17_Pos (17U) |
||
9 | mjames | 9940 | #define CAN_F9R2_FB17_Msk (0x1UL << CAN_F9R2_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 9941 | #define CAN_F9R2_FB17 CAN_F9R2_FB17_Msk /*!< Filter bit 17 */ |
9942 | #define CAN_F9R2_FB18_Pos (18U) |
||
9 | mjames | 9943 | #define CAN_F9R2_FB18_Msk (0x1UL << CAN_F9R2_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 9944 | #define CAN_F9R2_FB18 CAN_F9R2_FB18_Msk /*!< Filter bit 18 */ |
9945 | #define CAN_F9R2_FB19_Pos (19U) |
||
9 | mjames | 9946 | #define CAN_F9R2_FB19_Msk (0x1UL << CAN_F9R2_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 9947 | #define CAN_F9R2_FB19 CAN_F9R2_FB19_Msk /*!< Filter bit 19 */ |
9948 | #define CAN_F9R2_FB20_Pos (20U) |
||
9 | mjames | 9949 | #define CAN_F9R2_FB20_Msk (0x1UL << CAN_F9R2_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 9950 | #define CAN_F9R2_FB20 CAN_F9R2_FB20_Msk /*!< Filter bit 20 */ |
9951 | #define CAN_F9R2_FB21_Pos (21U) |
||
9 | mjames | 9952 | #define CAN_F9R2_FB21_Msk (0x1UL << CAN_F9R2_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 9953 | #define CAN_F9R2_FB21 CAN_F9R2_FB21_Msk /*!< Filter bit 21 */ |
9954 | #define CAN_F9R2_FB22_Pos (22U) |
||
9 | mjames | 9955 | #define CAN_F9R2_FB22_Msk (0x1UL << CAN_F9R2_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 9956 | #define CAN_F9R2_FB22 CAN_F9R2_FB22_Msk /*!< Filter bit 22 */ |
9957 | #define CAN_F9R2_FB23_Pos (23U) |
||
9 | mjames | 9958 | #define CAN_F9R2_FB23_Msk (0x1UL << CAN_F9R2_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 9959 | #define CAN_F9R2_FB23 CAN_F9R2_FB23_Msk /*!< Filter bit 23 */ |
9960 | #define CAN_F9R2_FB24_Pos (24U) |
||
9 | mjames | 9961 | #define CAN_F9R2_FB24_Msk (0x1UL << CAN_F9R2_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 9962 | #define CAN_F9R2_FB24 CAN_F9R2_FB24_Msk /*!< Filter bit 24 */ |
9963 | #define CAN_F9R2_FB25_Pos (25U) |
||
9 | mjames | 9964 | #define CAN_F9R2_FB25_Msk (0x1UL << CAN_F9R2_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 9965 | #define CAN_F9R2_FB25 CAN_F9R2_FB25_Msk /*!< Filter bit 25 */ |
9966 | #define CAN_F9R2_FB26_Pos (26U) |
||
9 | mjames | 9967 | #define CAN_F9R2_FB26_Msk (0x1UL << CAN_F9R2_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 9968 | #define CAN_F9R2_FB26 CAN_F9R2_FB26_Msk /*!< Filter bit 26 */ |
9969 | #define CAN_F9R2_FB27_Pos (27U) |
||
9 | mjames | 9970 | #define CAN_F9R2_FB27_Msk (0x1UL << CAN_F9R2_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 9971 | #define CAN_F9R2_FB27 CAN_F9R2_FB27_Msk /*!< Filter bit 27 */ |
9972 | #define CAN_F9R2_FB28_Pos (28U) |
||
9 | mjames | 9973 | #define CAN_F9R2_FB28_Msk (0x1UL << CAN_F9R2_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 9974 | #define CAN_F9R2_FB28 CAN_F9R2_FB28_Msk /*!< Filter bit 28 */ |
9975 | #define CAN_F9R2_FB29_Pos (29U) |
||
9 | mjames | 9976 | #define CAN_F9R2_FB29_Msk (0x1UL << CAN_F9R2_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 9977 | #define CAN_F9R2_FB29 CAN_F9R2_FB29_Msk /*!< Filter bit 29 */ |
9978 | #define CAN_F9R2_FB30_Pos (30U) |
||
9 | mjames | 9979 | #define CAN_F9R2_FB30_Msk (0x1UL << CAN_F9R2_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 9980 | #define CAN_F9R2_FB30 CAN_F9R2_FB30_Msk /*!< Filter bit 30 */ |
9981 | #define CAN_F9R2_FB31_Pos (31U) |
||
9 | mjames | 9982 | #define CAN_F9R2_FB31_Msk (0x1UL << CAN_F9R2_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 9983 | #define CAN_F9R2_FB31 CAN_F9R2_FB31_Msk /*!< Filter bit 31 */ |
9984 | |||
9985 | /******************* Bit definition for CAN_F10R2 register ******************/ |
||
9986 | #define CAN_F10R2_FB0_Pos (0U) |
||
9 | mjames | 9987 | #define CAN_F10R2_FB0_Msk (0x1UL << CAN_F10R2_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 9988 | #define CAN_F10R2_FB0 CAN_F10R2_FB0_Msk /*!< Filter bit 0 */ |
9989 | #define CAN_F10R2_FB1_Pos (1U) |
||
9 | mjames | 9990 | #define CAN_F10R2_FB1_Msk (0x1UL << CAN_F10R2_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 9991 | #define CAN_F10R2_FB1 CAN_F10R2_FB1_Msk /*!< Filter bit 1 */ |
9992 | #define CAN_F10R2_FB2_Pos (2U) |
||
9 | mjames | 9993 | #define CAN_F10R2_FB2_Msk (0x1UL << CAN_F10R2_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 9994 | #define CAN_F10R2_FB2 CAN_F10R2_FB2_Msk /*!< Filter bit 2 */ |
9995 | #define CAN_F10R2_FB3_Pos (3U) |
||
9 | mjames | 9996 | #define CAN_F10R2_FB3_Msk (0x1UL << CAN_F10R2_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 9997 | #define CAN_F10R2_FB3 CAN_F10R2_FB3_Msk /*!< Filter bit 3 */ |
9998 | #define CAN_F10R2_FB4_Pos (4U) |
||
9 | mjames | 9999 | #define CAN_F10R2_FB4_Msk (0x1UL << CAN_F10R2_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 10000 | #define CAN_F10R2_FB4 CAN_F10R2_FB4_Msk /*!< Filter bit 4 */ |
10001 | #define CAN_F10R2_FB5_Pos (5U) |
||
9 | mjames | 10002 | #define CAN_F10R2_FB5_Msk (0x1UL << CAN_F10R2_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 10003 | #define CAN_F10R2_FB5 CAN_F10R2_FB5_Msk /*!< Filter bit 5 */ |
10004 | #define CAN_F10R2_FB6_Pos (6U) |
||
9 | mjames | 10005 | #define CAN_F10R2_FB6_Msk (0x1UL << CAN_F10R2_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 10006 | #define CAN_F10R2_FB6 CAN_F10R2_FB6_Msk /*!< Filter bit 6 */ |
10007 | #define CAN_F10R2_FB7_Pos (7U) |
||
9 | mjames | 10008 | #define CAN_F10R2_FB7_Msk (0x1UL << CAN_F10R2_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 10009 | #define CAN_F10R2_FB7 CAN_F10R2_FB7_Msk /*!< Filter bit 7 */ |
10010 | #define CAN_F10R2_FB8_Pos (8U) |
||
9 | mjames | 10011 | #define CAN_F10R2_FB8_Msk (0x1UL << CAN_F10R2_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 10012 | #define CAN_F10R2_FB8 CAN_F10R2_FB8_Msk /*!< Filter bit 8 */ |
10013 | #define CAN_F10R2_FB9_Pos (9U) |
||
9 | mjames | 10014 | #define CAN_F10R2_FB9_Msk (0x1UL << CAN_F10R2_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 10015 | #define CAN_F10R2_FB9 CAN_F10R2_FB9_Msk /*!< Filter bit 9 */ |
10016 | #define CAN_F10R2_FB10_Pos (10U) |
||
9 | mjames | 10017 | #define CAN_F10R2_FB10_Msk (0x1UL << CAN_F10R2_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 10018 | #define CAN_F10R2_FB10 CAN_F10R2_FB10_Msk /*!< Filter bit 10 */ |
10019 | #define CAN_F10R2_FB11_Pos (11U) |
||
9 | mjames | 10020 | #define CAN_F10R2_FB11_Msk (0x1UL << CAN_F10R2_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 10021 | #define CAN_F10R2_FB11 CAN_F10R2_FB11_Msk /*!< Filter bit 11 */ |
10022 | #define CAN_F10R2_FB12_Pos (12U) |
||
9 | mjames | 10023 | #define CAN_F10R2_FB12_Msk (0x1UL << CAN_F10R2_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 10024 | #define CAN_F10R2_FB12 CAN_F10R2_FB12_Msk /*!< Filter bit 12 */ |
10025 | #define CAN_F10R2_FB13_Pos (13U) |
||
9 | mjames | 10026 | #define CAN_F10R2_FB13_Msk (0x1UL << CAN_F10R2_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 10027 | #define CAN_F10R2_FB13 CAN_F10R2_FB13_Msk /*!< Filter bit 13 */ |
10028 | #define CAN_F10R2_FB14_Pos (14U) |
||
9 | mjames | 10029 | #define CAN_F10R2_FB14_Msk (0x1UL << CAN_F10R2_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 10030 | #define CAN_F10R2_FB14 CAN_F10R2_FB14_Msk /*!< Filter bit 14 */ |
10031 | #define CAN_F10R2_FB15_Pos (15U) |
||
9 | mjames | 10032 | #define CAN_F10R2_FB15_Msk (0x1UL << CAN_F10R2_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 10033 | #define CAN_F10R2_FB15 CAN_F10R2_FB15_Msk /*!< Filter bit 15 */ |
10034 | #define CAN_F10R2_FB16_Pos (16U) |
||
9 | mjames | 10035 | #define CAN_F10R2_FB16_Msk (0x1UL << CAN_F10R2_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 10036 | #define CAN_F10R2_FB16 CAN_F10R2_FB16_Msk /*!< Filter bit 16 */ |
10037 | #define CAN_F10R2_FB17_Pos (17U) |
||
9 | mjames | 10038 | #define CAN_F10R2_FB17_Msk (0x1UL << CAN_F10R2_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 10039 | #define CAN_F10R2_FB17 CAN_F10R2_FB17_Msk /*!< Filter bit 17 */ |
10040 | #define CAN_F10R2_FB18_Pos (18U) |
||
9 | mjames | 10041 | #define CAN_F10R2_FB18_Msk (0x1UL << CAN_F10R2_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 10042 | #define CAN_F10R2_FB18 CAN_F10R2_FB18_Msk /*!< Filter bit 18 */ |
10043 | #define CAN_F10R2_FB19_Pos (19U) |
||
9 | mjames | 10044 | #define CAN_F10R2_FB19_Msk (0x1UL << CAN_F10R2_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 10045 | #define CAN_F10R2_FB19 CAN_F10R2_FB19_Msk /*!< Filter bit 19 */ |
10046 | #define CAN_F10R2_FB20_Pos (20U) |
||
9 | mjames | 10047 | #define CAN_F10R2_FB20_Msk (0x1UL << CAN_F10R2_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 10048 | #define CAN_F10R2_FB20 CAN_F10R2_FB20_Msk /*!< Filter bit 20 */ |
10049 | #define CAN_F10R2_FB21_Pos (21U) |
||
9 | mjames | 10050 | #define CAN_F10R2_FB21_Msk (0x1UL << CAN_F10R2_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 10051 | #define CAN_F10R2_FB21 CAN_F10R2_FB21_Msk /*!< Filter bit 21 */ |
10052 | #define CAN_F10R2_FB22_Pos (22U) |
||
9 | mjames | 10053 | #define CAN_F10R2_FB22_Msk (0x1UL << CAN_F10R2_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 10054 | #define CAN_F10R2_FB22 CAN_F10R2_FB22_Msk /*!< Filter bit 22 */ |
10055 | #define CAN_F10R2_FB23_Pos (23U) |
||
9 | mjames | 10056 | #define CAN_F10R2_FB23_Msk (0x1UL << CAN_F10R2_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 10057 | #define CAN_F10R2_FB23 CAN_F10R2_FB23_Msk /*!< Filter bit 23 */ |
10058 | #define CAN_F10R2_FB24_Pos (24U) |
||
9 | mjames | 10059 | #define CAN_F10R2_FB24_Msk (0x1UL << CAN_F10R2_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 10060 | #define CAN_F10R2_FB24 CAN_F10R2_FB24_Msk /*!< Filter bit 24 */ |
10061 | #define CAN_F10R2_FB25_Pos (25U) |
||
9 | mjames | 10062 | #define CAN_F10R2_FB25_Msk (0x1UL << CAN_F10R2_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 10063 | #define CAN_F10R2_FB25 CAN_F10R2_FB25_Msk /*!< Filter bit 25 */ |
10064 | #define CAN_F10R2_FB26_Pos (26U) |
||
9 | mjames | 10065 | #define CAN_F10R2_FB26_Msk (0x1UL << CAN_F10R2_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 10066 | #define CAN_F10R2_FB26 CAN_F10R2_FB26_Msk /*!< Filter bit 26 */ |
10067 | #define CAN_F10R2_FB27_Pos (27U) |
||
9 | mjames | 10068 | #define CAN_F10R2_FB27_Msk (0x1UL << CAN_F10R2_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 10069 | #define CAN_F10R2_FB27 CAN_F10R2_FB27_Msk /*!< Filter bit 27 */ |
10070 | #define CAN_F10R2_FB28_Pos (28U) |
||
9 | mjames | 10071 | #define CAN_F10R2_FB28_Msk (0x1UL << CAN_F10R2_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 10072 | #define CAN_F10R2_FB28 CAN_F10R2_FB28_Msk /*!< Filter bit 28 */ |
10073 | #define CAN_F10R2_FB29_Pos (29U) |
||
9 | mjames | 10074 | #define CAN_F10R2_FB29_Msk (0x1UL << CAN_F10R2_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 10075 | #define CAN_F10R2_FB29 CAN_F10R2_FB29_Msk /*!< Filter bit 29 */ |
10076 | #define CAN_F10R2_FB30_Pos (30U) |
||
9 | mjames | 10077 | #define CAN_F10R2_FB30_Msk (0x1UL << CAN_F10R2_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 10078 | #define CAN_F10R2_FB30 CAN_F10R2_FB30_Msk /*!< Filter bit 30 */ |
10079 | #define CAN_F10R2_FB31_Pos (31U) |
||
9 | mjames | 10080 | #define CAN_F10R2_FB31_Msk (0x1UL << CAN_F10R2_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 10081 | #define CAN_F10R2_FB31 CAN_F10R2_FB31_Msk /*!< Filter bit 31 */ |
10082 | |||
10083 | /******************* Bit definition for CAN_F11R2 register ******************/ |
||
10084 | #define CAN_F11R2_FB0_Pos (0U) |
||
9 | mjames | 10085 | #define CAN_F11R2_FB0_Msk (0x1UL << CAN_F11R2_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 10086 | #define CAN_F11R2_FB0 CAN_F11R2_FB0_Msk /*!< Filter bit 0 */ |
10087 | #define CAN_F11R2_FB1_Pos (1U) |
||
9 | mjames | 10088 | #define CAN_F11R2_FB1_Msk (0x1UL << CAN_F11R2_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 10089 | #define CAN_F11R2_FB1 CAN_F11R2_FB1_Msk /*!< Filter bit 1 */ |
10090 | #define CAN_F11R2_FB2_Pos (2U) |
||
9 | mjames | 10091 | #define CAN_F11R2_FB2_Msk (0x1UL << CAN_F11R2_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 10092 | #define CAN_F11R2_FB2 CAN_F11R2_FB2_Msk /*!< Filter bit 2 */ |
10093 | #define CAN_F11R2_FB3_Pos (3U) |
||
9 | mjames | 10094 | #define CAN_F11R2_FB3_Msk (0x1UL << CAN_F11R2_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 10095 | #define CAN_F11R2_FB3 CAN_F11R2_FB3_Msk /*!< Filter bit 3 */ |
10096 | #define CAN_F11R2_FB4_Pos (4U) |
||
9 | mjames | 10097 | #define CAN_F11R2_FB4_Msk (0x1UL << CAN_F11R2_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 10098 | #define CAN_F11R2_FB4 CAN_F11R2_FB4_Msk /*!< Filter bit 4 */ |
10099 | #define CAN_F11R2_FB5_Pos (5U) |
||
9 | mjames | 10100 | #define CAN_F11R2_FB5_Msk (0x1UL << CAN_F11R2_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 10101 | #define CAN_F11R2_FB5 CAN_F11R2_FB5_Msk /*!< Filter bit 5 */ |
10102 | #define CAN_F11R2_FB6_Pos (6U) |
||
9 | mjames | 10103 | #define CAN_F11R2_FB6_Msk (0x1UL << CAN_F11R2_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 10104 | #define CAN_F11R2_FB6 CAN_F11R2_FB6_Msk /*!< Filter bit 6 */ |
10105 | #define CAN_F11R2_FB7_Pos (7U) |
||
9 | mjames | 10106 | #define CAN_F11R2_FB7_Msk (0x1UL << CAN_F11R2_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 10107 | #define CAN_F11R2_FB7 CAN_F11R2_FB7_Msk /*!< Filter bit 7 */ |
10108 | #define CAN_F11R2_FB8_Pos (8U) |
||
9 | mjames | 10109 | #define CAN_F11R2_FB8_Msk (0x1UL << CAN_F11R2_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 10110 | #define CAN_F11R2_FB8 CAN_F11R2_FB8_Msk /*!< Filter bit 8 */ |
10111 | #define CAN_F11R2_FB9_Pos (9U) |
||
9 | mjames | 10112 | #define CAN_F11R2_FB9_Msk (0x1UL << CAN_F11R2_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 10113 | #define CAN_F11R2_FB9 CAN_F11R2_FB9_Msk /*!< Filter bit 9 */ |
10114 | #define CAN_F11R2_FB10_Pos (10U) |
||
9 | mjames | 10115 | #define CAN_F11R2_FB10_Msk (0x1UL << CAN_F11R2_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 10116 | #define CAN_F11R2_FB10 CAN_F11R2_FB10_Msk /*!< Filter bit 10 */ |
10117 | #define CAN_F11R2_FB11_Pos (11U) |
||
9 | mjames | 10118 | #define CAN_F11R2_FB11_Msk (0x1UL << CAN_F11R2_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 10119 | #define CAN_F11R2_FB11 CAN_F11R2_FB11_Msk /*!< Filter bit 11 */ |
10120 | #define CAN_F11R2_FB12_Pos (12U) |
||
9 | mjames | 10121 | #define CAN_F11R2_FB12_Msk (0x1UL << CAN_F11R2_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 10122 | #define CAN_F11R2_FB12 CAN_F11R2_FB12_Msk /*!< Filter bit 12 */ |
10123 | #define CAN_F11R2_FB13_Pos (13U) |
||
9 | mjames | 10124 | #define CAN_F11R2_FB13_Msk (0x1UL << CAN_F11R2_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 10125 | #define CAN_F11R2_FB13 CAN_F11R2_FB13_Msk /*!< Filter bit 13 */ |
10126 | #define CAN_F11R2_FB14_Pos (14U) |
||
9 | mjames | 10127 | #define CAN_F11R2_FB14_Msk (0x1UL << CAN_F11R2_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 10128 | #define CAN_F11R2_FB14 CAN_F11R2_FB14_Msk /*!< Filter bit 14 */ |
10129 | #define CAN_F11R2_FB15_Pos (15U) |
||
9 | mjames | 10130 | #define CAN_F11R2_FB15_Msk (0x1UL << CAN_F11R2_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 10131 | #define CAN_F11R2_FB15 CAN_F11R2_FB15_Msk /*!< Filter bit 15 */ |
10132 | #define CAN_F11R2_FB16_Pos (16U) |
||
9 | mjames | 10133 | #define CAN_F11R2_FB16_Msk (0x1UL << CAN_F11R2_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 10134 | #define CAN_F11R2_FB16 CAN_F11R2_FB16_Msk /*!< Filter bit 16 */ |
10135 | #define CAN_F11R2_FB17_Pos (17U) |
||
9 | mjames | 10136 | #define CAN_F11R2_FB17_Msk (0x1UL << CAN_F11R2_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 10137 | #define CAN_F11R2_FB17 CAN_F11R2_FB17_Msk /*!< Filter bit 17 */ |
10138 | #define CAN_F11R2_FB18_Pos (18U) |
||
9 | mjames | 10139 | #define CAN_F11R2_FB18_Msk (0x1UL << CAN_F11R2_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 10140 | #define CAN_F11R2_FB18 CAN_F11R2_FB18_Msk /*!< Filter bit 18 */ |
10141 | #define CAN_F11R2_FB19_Pos (19U) |
||
9 | mjames | 10142 | #define CAN_F11R2_FB19_Msk (0x1UL << CAN_F11R2_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 10143 | #define CAN_F11R2_FB19 CAN_F11R2_FB19_Msk /*!< Filter bit 19 */ |
10144 | #define CAN_F11R2_FB20_Pos (20U) |
||
9 | mjames | 10145 | #define CAN_F11R2_FB20_Msk (0x1UL << CAN_F11R2_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 10146 | #define CAN_F11R2_FB20 CAN_F11R2_FB20_Msk /*!< Filter bit 20 */ |
10147 | #define CAN_F11R2_FB21_Pos (21U) |
||
9 | mjames | 10148 | #define CAN_F11R2_FB21_Msk (0x1UL << CAN_F11R2_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 10149 | #define CAN_F11R2_FB21 CAN_F11R2_FB21_Msk /*!< Filter bit 21 */ |
10150 | #define CAN_F11R2_FB22_Pos (22U) |
||
9 | mjames | 10151 | #define CAN_F11R2_FB22_Msk (0x1UL << CAN_F11R2_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 10152 | #define CAN_F11R2_FB22 CAN_F11R2_FB22_Msk /*!< Filter bit 22 */ |
10153 | #define CAN_F11R2_FB23_Pos (23U) |
||
9 | mjames | 10154 | #define CAN_F11R2_FB23_Msk (0x1UL << CAN_F11R2_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 10155 | #define CAN_F11R2_FB23 CAN_F11R2_FB23_Msk /*!< Filter bit 23 */ |
10156 | #define CAN_F11R2_FB24_Pos (24U) |
||
9 | mjames | 10157 | #define CAN_F11R2_FB24_Msk (0x1UL << CAN_F11R2_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 10158 | #define CAN_F11R2_FB24 CAN_F11R2_FB24_Msk /*!< Filter bit 24 */ |
10159 | #define CAN_F11R2_FB25_Pos (25U) |
||
9 | mjames | 10160 | #define CAN_F11R2_FB25_Msk (0x1UL << CAN_F11R2_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 10161 | #define CAN_F11R2_FB25 CAN_F11R2_FB25_Msk /*!< Filter bit 25 */ |
10162 | #define CAN_F11R2_FB26_Pos (26U) |
||
9 | mjames | 10163 | #define CAN_F11R2_FB26_Msk (0x1UL << CAN_F11R2_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 10164 | #define CAN_F11R2_FB26 CAN_F11R2_FB26_Msk /*!< Filter bit 26 */ |
10165 | #define CAN_F11R2_FB27_Pos (27U) |
||
9 | mjames | 10166 | #define CAN_F11R2_FB27_Msk (0x1UL << CAN_F11R2_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 10167 | #define CAN_F11R2_FB27 CAN_F11R2_FB27_Msk /*!< Filter bit 27 */ |
10168 | #define CAN_F11R2_FB28_Pos (28U) |
||
9 | mjames | 10169 | #define CAN_F11R2_FB28_Msk (0x1UL << CAN_F11R2_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 10170 | #define CAN_F11R2_FB28 CAN_F11R2_FB28_Msk /*!< Filter bit 28 */ |
10171 | #define CAN_F11R2_FB29_Pos (29U) |
||
9 | mjames | 10172 | #define CAN_F11R2_FB29_Msk (0x1UL << CAN_F11R2_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 10173 | #define CAN_F11R2_FB29 CAN_F11R2_FB29_Msk /*!< Filter bit 29 */ |
10174 | #define CAN_F11R2_FB30_Pos (30U) |
||
9 | mjames | 10175 | #define CAN_F11R2_FB30_Msk (0x1UL << CAN_F11R2_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 10176 | #define CAN_F11R2_FB30 CAN_F11R2_FB30_Msk /*!< Filter bit 30 */ |
10177 | #define CAN_F11R2_FB31_Pos (31U) |
||
9 | mjames | 10178 | #define CAN_F11R2_FB31_Msk (0x1UL << CAN_F11R2_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 10179 | #define CAN_F11R2_FB31 CAN_F11R2_FB31_Msk /*!< Filter bit 31 */ |
10180 | |||
10181 | /******************* Bit definition for CAN_F12R2 register ******************/ |
||
10182 | #define CAN_F12R2_FB0_Pos (0U) |
||
9 | mjames | 10183 | #define CAN_F12R2_FB0_Msk (0x1UL << CAN_F12R2_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 10184 | #define CAN_F12R2_FB0 CAN_F12R2_FB0_Msk /*!< Filter bit 0 */ |
10185 | #define CAN_F12R2_FB1_Pos (1U) |
||
9 | mjames | 10186 | #define CAN_F12R2_FB1_Msk (0x1UL << CAN_F12R2_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 10187 | #define CAN_F12R2_FB1 CAN_F12R2_FB1_Msk /*!< Filter bit 1 */ |
10188 | #define CAN_F12R2_FB2_Pos (2U) |
||
9 | mjames | 10189 | #define CAN_F12R2_FB2_Msk (0x1UL << CAN_F12R2_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 10190 | #define CAN_F12R2_FB2 CAN_F12R2_FB2_Msk /*!< Filter bit 2 */ |
10191 | #define CAN_F12R2_FB3_Pos (3U) |
||
9 | mjames | 10192 | #define CAN_F12R2_FB3_Msk (0x1UL << CAN_F12R2_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 10193 | #define CAN_F12R2_FB3 CAN_F12R2_FB3_Msk /*!< Filter bit 3 */ |
10194 | #define CAN_F12R2_FB4_Pos (4U) |
||
9 | mjames | 10195 | #define CAN_F12R2_FB4_Msk (0x1UL << CAN_F12R2_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 10196 | #define CAN_F12R2_FB4 CAN_F12R2_FB4_Msk /*!< Filter bit 4 */ |
10197 | #define CAN_F12R2_FB5_Pos (5U) |
||
9 | mjames | 10198 | #define CAN_F12R2_FB5_Msk (0x1UL << CAN_F12R2_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 10199 | #define CAN_F12R2_FB5 CAN_F12R2_FB5_Msk /*!< Filter bit 5 */ |
10200 | #define CAN_F12R2_FB6_Pos (6U) |
||
9 | mjames | 10201 | #define CAN_F12R2_FB6_Msk (0x1UL << CAN_F12R2_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 10202 | #define CAN_F12R2_FB6 CAN_F12R2_FB6_Msk /*!< Filter bit 6 */ |
10203 | #define CAN_F12R2_FB7_Pos (7U) |
||
9 | mjames | 10204 | #define CAN_F12R2_FB7_Msk (0x1UL << CAN_F12R2_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 10205 | #define CAN_F12R2_FB7 CAN_F12R2_FB7_Msk /*!< Filter bit 7 */ |
10206 | #define CAN_F12R2_FB8_Pos (8U) |
||
9 | mjames | 10207 | #define CAN_F12R2_FB8_Msk (0x1UL << CAN_F12R2_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 10208 | #define CAN_F12R2_FB8 CAN_F12R2_FB8_Msk /*!< Filter bit 8 */ |
10209 | #define CAN_F12R2_FB9_Pos (9U) |
||
9 | mjames | 10210 | #define CAN_F12R2_FB9_Msk (0x1UL << CAN_F12R2_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 10211 | #define CAN_F12R2_FB9 CAN_F12R2_FB9_Msk /*!< Filter bit 9 */ |
10212 | #define CAN_F12R2_FB10_Pos (10U) |
||
9 | mjames | 10213 | #define CAN_F12R2_FB10_Msk (0x1UL << CAN_F12R2_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 10214 | #define CAN_F12R2_FB10 CAN_F12R2_FB10_Msk /*!< Filter bit 10 */ |
10215 | #define CAN_F12R2_FB11_Pos (11U) |
||
9 | mjames | 10216 | #define CAN_F12R2_FB11_Msk (0x1UL << CAN_F12R2_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 10217 | #define CAN_F12R2_FB11 CAN_F12R2_FB11_Msk /*!< Filter bit 11 */ |
10218 | #define CAN_F12R2_FB12_Pos (12U) |
||
9 | mjames | 10219 | #define CAN_F12R2_FB12_Msk (0x1UL << CAN_F12R2_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 10220 | #define CAN_F12R2_FB12 CAN_F12R2_FB12_Msk /*!< Filter bit 12 */ |
10221 | #define CAN_F12R2_FB13_Pos (13U) |
||
9 | mjames | 10222 | #define CAN_F12R2_FB13_Msk (0x1UL << CAN_F12R2_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 10223 | #define CAN_F12R2_FB13 CAN_F12R2_FB13_Msk /*!< Filter bit 13 */ |
10224 | #define CAN_F12R2_FB14_Pos (14U) |
||
9 | mjames | 10225 | #define CAN_F12R2_FB14_Msk (0x1UL << CAN_F12R2_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 10226 | #define CAN_F12R2_FB14 CAN_F12R2_FB14_Msk /*!< Filter bit 14 */ |
10227 | #define CAN_F12R2_FB15_Pos (15U) |
||
9 | mjames | 10228 | #define CAN_F12R2_FB15_Msk (0x1UL << CAN_F12R2_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 10229 | #define CAN_F12R2_FB15 CAN_F12R2_FB15_Msk /*!< Filter bit 15 */ |
10230 | #define CAN_F12R2_FB16_Pos (16U) |
||
9 | mjames | 10231 | #define CAN_F12R2_FB16_Msk (0x1UL << CAN_F12R2_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 10232 | #define CAN_F12R2_FB16 CAN_F12R2_FB16_Msk /*!< Filter bit 16 */ |
10233 | #define CAN_F12R2_FB17_Pos (17U) |
||
9 | mjames | 10234 | #define CAN_F12R2_FB17_Msk (0x1UL << CAN_F12R2_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 10235 | #define CAN_F12R2_FB17 CAN_F12R2_FB17_Msk /*!< Filter bit 17 */ |
10236 | #define CAN_F12R2_FB18_Pos (18U) |
||
9 | mjames | 10237 | #define CAN_F12R2_FB18_Msk (0x1UL << CAN_F12R2_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 10238 | #define CAN_F12R2_FB18 CAN_F12R2_FB18_Msk /*!< Filter bit 18 */ |
10239 | #define CAN_F12R2_FB19_Pos (19U) |
||
9 | mjames | 10240 | #define CAN_F12R2_FB19_Msk (0x1UL << CAN_F12R2_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 10241 | #define CAN_F12R2_FB19 CAN_F12R2_FB19_Msk /*!< Filter bit 19 */ |
10242 | #define CAN_F12R2_FB20_Pos (20U) |
||
9 | mjames | 10243 | #define CAN_F12R2_FB20_Msk (0x1UL << CAN_F12R2_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 10244 | #define CAN_F12R2_FB20 CAN_F12R2_FB20_Msk /*!< Filter bit 20 */ |
10245 | #define CAN_F12R2_FB21_Pos (21U) |
||
9 | mjames | 10246 | #define CAN_F12R2_FB21_Msk (0x1UL << CAN_F12R2_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 10247 | #define CAN_F12R2_FB21 CAN_F12R2_FB21_Msk /*!< Filter bit 21 */ |
10248 | #define CAN_F12R2_FB22_Pos (22U) |
||
9 | mjames | 10249 | #define CAN_F12R2_FB22_Msk (0x1UL << CAN_F12R2_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 10250 | #define CAN_F12R2_FB22 CAN_F12R2_FB22_Msk /*!< Filter bit 22 */ |
10251 | #define CAN_F12R2_FB23_Pos (23U) |
||
9 | mjames | 10252 | #define CAN_F12R2_FB23_Msk (0x1UL << CAN_F12R2_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 10253 | #define CAN_F12R2_FB23 CAN_F12R2_FB23_Msk /*!< Filter bit 23 */ |
10254 | #define CAN_F12R2_FB24_Pos (24U) |
||
9 | mjames | 10255 | #define CAN_F12R2_FB24_Msk (0x1UL << CAN_F12R2_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 10256 | #define CAN_F12R2_FB24 CAN_F12R2_FB24_Msk /*!< Filter bit 24 */ |
10257 | #define CAN_F12R2_FB25_Pos (25U) |
||
9 | mjames | 10258 | #define CAN_F12R2_FB25_Msk (0x1UL << CAN_F12R2_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 10259 | #define CAN_F12R2_FB25 CAN_F12R2_FB25_Msk /*!< Filter bit 25 */ |
10260 | #define CAN_F12R2_FB26_Pos (26U) |
||
9 | mjames | 10261 | #define CAN_F12R2_FB26_Msk (0x1UL << CAN_F12R2_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 10262 | #define CAN_F12R2_FB26 CAN_F12R2_FB26_Msk /*!< Filter bit 26 */ |
10263 | #define CAN_F12R2_FB27_Pos (27U) |
||
9 | mjames | 10264 | #define CAN_F12R2_FB27_Msk (0x1UL << CAN_F12R2_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 10265 | #define CAN_F12R2_FB27 CAN_F12R2_FB27_Msk /*!< Filter bit 27 */ |
10266 | #define CAN_F12R2_FB28_Pos (28U) |
||
9 | mjames | 10267 | #define CAN_F12R2_FB28_Msk (0x1UL << CAN_F12R2_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 10268 | #define CAN_F12R2_FB28 CAN_F12R2_FB28_Msk /*!< Filter bit 28 */ |
10269 | #define CAN_F12R2_FB29_Pos (29U) |
||
9 | mjames | 10270 | #define CAN_F12R2_FB29_Msk (0x1UL << CAN_F12R2_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 10271 | #define CAN_F12R2_FB29 CAN_F12R2_FB29_Msk /*!< Filter bit 29 */ |
10272 | #define CAN_F12R2_FB30_Pos (30U) |
||
9 | mjames | 10273 | #define CAN_F12R2_FB30_Msk (0x1UL << CAN_F12R2_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 10274 | #define CAN_F12R2_FB30 CAN_F12R2_FB30_Msk /*!< Filter bit 30 */ |
10275 | #define CAN_F12R2_FB31_Pos (31U) |
||
9 | mjames | 10276 | #define CAN_F12R2_FB31_Msk (0x1UL << CAN_F12R2_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 10277 | #define CAN_F12R2_FB31 CAN_F12R2_FB31_Msk /*!< Filter bit 31 */ |
10278 | |||
10279 | /******************* Bit definition for CAN_F13R2 register ******************/ |
||
10280 | #define CAN_F13R2_FB0_Pos (0U) |
||
9 | mjames | 10281 | #define CAN_F13R2_FB0_Msk (0x1UL << CAN_F13R2_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 10282 | #define CAN_F13R2_FB0 CAN_F13R2_FB0_Msk /*!< Filter bit 0 */ |
10283 | #define CAN_F13R2_FB1_Pos (1U) |
||
9 | mjames | 10284 | #define CAN_F13R2_FB1_Msk (0x1UL << CAN_F13R2_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 10285 | #define CAN_F13R2_FB1 CAN_F13R2_FB1_Msk /*!< Filter bit 1 */ |
10286 | #define CAN_F13R2_FB2_Pos (2U) |
||
9 | mjames | 10287 | #define CAN_F13R2_FB2_Msk (0x1UL << CAN_F13R2_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 10288 | #define CAN_F13R2_FB2 CAN_F13R2_FB2_Msk /*!< Filter bit 2 */ |
10289 | #define CAN_F13R2_FB3_Pos (3U) |
||
9 | mjames | 10290 | #define CAN_F13R2_FB3_Msk (0x1UL << CAN_F13R2_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 10291 | #define CAN_F13R2_FB3 CAN_F13R2_FB3_Msk /*!< Filter bit 3 */ |
10292 | #define CAN_F13R2_FB4_Pos (4U) |
||
9 | mjames | 10293 | #define CAN_F13R2_FB4_Msk (0x1UL << CAN_F13R2_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 10294 | #define CAN_F13R2_FB4 CAN_F13R2_FB4_Msk /*!< Filter bit 4 */ |
10295 | #define CAN_F13R2_FB5_Pos (5U) |
||
9 | mjames | 10296 | #define CAN_F13R2_FB5_Msk (0x1UL << CAN_F13R2_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 10297 | #define CAN_F13R2_FB5 CAN_F13R2_FB5_Msk /*!< Filter bit 5 */ |
10298 | #define CAN_F13R2_FB6_Pos (6U) |
||
9 | mjames | 10299 | #define CAN_F13R2_FB6_Msk (0x1UL << CAN_F13R2_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 10300 | #define CAN_F13R2_FB6 CAN_F13R2_FB6_Msk /*!< Filter bit 6 */ |
10301 | #define CAN_F13R2_FB7_Pos (7U) |
||
9 | mjames | 10302 | #define CAN_F13R2_FB7_Msk (0x1UL << CAN_F13R2_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 10303 | #define CAN_F13R2_FB7 CAN_F13R2_FB7_Msk /*!< Filter bit 7 */ |
10304 | #define CAN_F13R2_FB8_Pos (8U) |
||
9 | mjames | 10305 | #define CAN_F13R2_FB8_Msk (0x1UL << CAN_F13R2_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 10306 | #define CAN_F13R2_FB8 CAN_F13R2_FB8_Msk /*!< Filter bit 8 */ |
10307 | #define CAN_F13R2_FB9_Pos (9U) |
||
9 | mjames | 10308 | #define CAN_F13R2_FB9_Msk (0x1UL << CAN_F13R2_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 10309 | #define CAN_F13R2_FB9 CAN_F13R2_FB9_Msk /*!< Filter bit 9 */ |
10310 | #define CAN_F13R2_FB10_Pos (10U) |
||
9 | mjames | 10311 | #define CAN_F13R2_FB10_Msk (0x1UL << CAN_F13R2_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 10312 | #define CAN_F13R2_FB10 CAN_F13R2_FB10_Msk /*!< Filter bit 10 */ |
10313 | #define CAN_F13R2_FB11_Pos (11U) |
||
9 | mjames | 10314 | #define CAN_F13R2_FB11_Msk (0x1UL << CAN_F13R2_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 10315 | #define CAN_F13R2_FB11 CAN_F13R2_FB11_Msk /*!< Filter bit 11 */ |
10316 | #define CAN_F13R2_FB12_Pos (12U) |
||
9 | mjames | 10317 | #define CAN_F13R2_FB12_Msk (0x1UL << CAN_F13R2_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 10318 | #define CAN_F13R2_FB12 CAN_F13R2_FB12_Msk /*!< Filter bit 12 */ |
10319 | #define CAN_F13R2_FB13_Pos (13U) |
||
9 | mjames | 10320 | #define CAN_F13R2_FB13_Msk (0x1UL << CAN_F13R2_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 10321 | #define CAN_F13R2_FB13 CAN_F13R2_FB13_Msk /*!< Filter bit 13 */ |
10322 | #define CAN_F13R2_FB14_Pos (14U) |
||
9 | mjames | 10323 | #define CAN_F13R2_FB14_Msk (0x1UL << CAN_F13R2_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 10324 | #define CAN_F13R2_FB14 CAN_F13R2_FB14_Msk /*!< Filter bit 14 */ |
10325 | #define CAN_F13R2_FB15_Pos (15U) |
||
9 | mjames | 10326 | #define CAN_F13R2_FB15_Msk (0x1UL << CAN_F13R2_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 10327 | #define CAN_F13R2_FB15 CAN_F13R2_FB15_Msk /*!< Filter bit 15 */ |
10328 | #define CAN_F13R2_FB16_Pos (16U) |
||
9 | mjames | 10329 | #define CAN_F13R2_FB16_Msk (0x1UL << CAN_F13R2_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 10330 | #define CAN_F13R2_FB16 CAN_F13R2_FB16_Msk /*!< Filter bit 16 */ |
10331 | #define CAN_F13R2_FB17_Pos (17U) |
||
9 | mjames | 10332 | #define CAN_F13R2_FB17_Msk (0x1UL << CAN_F13R2_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 10333 | #define CAN_F13R2_FB17 CAN_F13R2_FB17_Msk /*!< Filter bit 17 */ |
10334 | #define CAN_F13R2_FB18_Pos (18U) |
||
9 | mjames | 10335 | #define CAN_F13R2_FB18_Msk (0x1UL << CAN_F13R2_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 10336 | #define CAN_F13R2_FB18 CAN_F13R2_FB18_Msk /*!< Filter bit 18 */ |
10337 | #define CAN_F13R2_FB19_Pos (19U) |
||
9 | mjames | 10338 | #define CAN_F13R2_FB19_Msk (0x1UL << CAN_F13R2_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 10339 | #define CAN_F13R2_FB19 CAN_F13R2_FB19_Msk /*!< Filter bit 19 */ |
10340 | #define CAN_F13R2_FB20_Pos (20U) |
||
9 | mjames | 10341 | #define CAN_F13R2_FB20_Msk (0x1UL << CAN_F13R2_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 10342 | #define CAN_F13R2_FB20 CAN_F13R2_FB20_Msk /*!< Filter bit 20 */ |
10343 | #define CAN_F13R2_FB21_Pos (21U) |
||
9 | mjames | 10344 | #define CAN_F13R2_FB21_Msk (0x1UL << CAN_F13R2_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 10345 | #define CAN_F13R2_FB21 CAN_F13R2_FB21_Msk /*!< Filter bit 21 */ |
10346 | #define CAN_F13R2_FB22_Pos (22U) |
||
9 | mjames | 10347 | #define CAN_F13R2_FB22_Msk (0x1UL << CAN_F13R2_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 10348 | #define CAN_F13R2_FB22 CAN_F13R2_FB22_Msk /*!< Filter bit 22 */ |
10349 | #define CAN_F13R2_FB23_Pos (23U) |
||
9 | mjames | 10350 | #define CAN_F13R2_FB23_Msk (0x1UL << CAN_F13R2_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 10351 | #define CAN_F13R2_FB23 CAN_F13R2_FB23_Msk /*!< Filter bit 23 */ |
10352 | #define CAN_F13R2_FB24_Pos (24U) |
||
9 | mjames | 10353 | #define CAN_F13R2_FB24_Msk (0x1UL << CAN_F13R2_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 10354 | #define CAN_F13R2_FB24 CAN_F13R2_FB24_Msk /*!< Filter bit 24 */ |
10355 | #define CAN_F13R2_FB25_Pos (25U) |
||
9 | mjames | 10356 | #define CAN_F13R2_FB25_Msk (0x1UL << CAN_F13R2_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 10357 | #define CAN_F13R2_FB25 CAN_F13R2_FB25_Msk /*!< Filter bit 25 */ |
10358 | #define CAN_F13R2_FB26_Pos (26U) |
||
9 | mjames | 10359 | #define CAN_F13R2_FB26_Msk (0x1UL << CAN_F13R2_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 10360 | #define CAN_F13R2_FB26 CAN_F13R2_FB26_Msk /*!< Filter bit 26 */ |
10361 | #define CAN_F13R2_FB27_Pos (27U) |
||
9 | mjames | 10362 | #define CAN_F13R2_FB27_Msk (0x1UL << CAN_F13R2_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 10363 | #define CAN_F13R2_FB27 CAN_F13R2_FB27_Msk /*!< Filter bit 27 */ |
10364 | #define CAN_F13R2_FB28_Pos (28U) |
||
9 | mjames | 10365 | #define CAN_F13R2_FB28_Msk (0x1UL << CAN_F13R2_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 10366 | #define CAN_F13R2_FB28 CAN_F13R2_FB28_Msk /*!< Filter bit 28 */ |
10367 | #define CAN_F13R2_FB29_Pos (29U) |
||
9 | mjames | 10368 | #define CAN_F13R2_FB29_Msk (0x1UL << CAN_F13R2_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 10369 | #define CAN_F13R2_FB29 CAN_F13R2_FB29_Msk /*!< Filter bit 29 */ |
10370 | #define CAN_F13R2_FB30_Pos (30U) |
||
9 | mjames | 10371 | #define CAN_F13R2_FB30_Msk (0x1UL << CAN_F13R2_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 10372 | #define CAN_F13R2_FB30 CAN_F13R2_FB30_Msk /*!< Filter bit 30 */ |
10373 | #define CAN_F13R2_FB31_Pos (31U) |
||
9 | mjames | 10374 | #define CAN_F13R2_FB31_Msk (0x1UL << CAN_F13R2_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 10375 | #define CAN_F13R2_FB31 CAN_F13R2_FB31_Msk /*!< Filter bit 31 */ |
10376 | |||
10377 | /******************* Bit definition for CAN_F14R2 register ******************/ |
||
10378 | #define CAN_F14R2_FB0_Pos (0U) |
||
9 | mjames | 10379 | #define CAN_F14R2_FB0_Msk (0x1UL << CAN_F14R2_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 10380 | #define CAN_F14R2_FB0 CAN_F14R2_FB0_Msk /*!< Filter bit 0 */ |
10381 | #define CAN_F14R2_FB1_Pos (1U) |
||
9 | mjames | 10382 | #define CAN_F14R2_FB1_Msk (0x1UL << CAN_F14R2_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 10383 | #define CAN_F14R2_FB1 CAN_F14R2_FB1_Msk /*!< Filter bit 1 */ |
10384 | #define CAN_F14R2_FB2_Pos (2U) |
||
9 | mjames | 10385 | #define CAN_F14R2_FB2_Msk (0x1UL << CAN_F14R2_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 10386 | #define CAN_F14R2_FB2 CAN_F14R2_FB2_Msk /*!< Filter bit 2 */ |
10387 | #define CAN_F14R2_FB3_Pos (3U) |
||
9 | mjames | 10388 | #define CAN_F14R2_FB3_Msk (0x1UL << CAN_F14R2_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 10389 | #define CAN_F14R2_FB3 CAN_F14R2_FB3_Msk /*!< Filter bit 3 */ |
10390 | #define CAN_F14R2_FB4_Pos (4U) |
||
9 | mjames | 10391 | #define CAN_F14R2_FB4_Msk (0x1UL << CAN_F14R2_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 10392 | #define CAN_F14R2_FB4 CAN_F14R2_FB4_Msk /*!< Filter bit 4 */ |
10393 | #define CAN_F14R2_FB5_Pos (5U) |
||
9 | mjames | 10394 | #define CAN_F14R2_FB5_Msk (0x1UL << CAN_F14R2_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 10395 | #define CAN_F14R2_FB5 CAN_F14R2_FB5_Msk /*!< Filter bit 5 */ |
10396 | #define CAN_F14R2_FB6_Pos (6U) |
||
9 | mjames | 10397 | #define CAN_F14R2_FB6_Msk (0x1UL << CAN_F14R2_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 10398 | #define CAN_F14R2_FB6 CAN_F14R2_FB6_Msk /*!< Filter bit 6 */ |
10399 | #define CAN_F14R2_FB7_Pos (7U) |
||
9 | mjames | 10400 | #define CAN_F14R2_FB7_Msk (0x1UL << CAN_F14R2_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 10401 | #define CAN_F14R2_FB7 CAN_F14R2_FB7_Msk /*!< Filter bit 7 */ |
10402 | #define CAN_F14R2_FB8_Pos (8U) |
||
9 | mjames | 10403 | #define CAN_F14R2_FB8_Msk (0x1UL << CAN_F14R2_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 10404 | #define CAN_F14R2_FB8 CAN_F14R2_FB8_Msk /*!< Filter bit 8 */ |
10405 | #define CAN_F14R2_FB9_Pos (9U) |
||
9 | mjames | 10406 | #define CAN_F14R2_FB9_Msk (0x1UL << CAN_F14R2_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 10407 | #define CAN_F14R2_FB9 CAN_F14R2_FB9_Msk /*!< Filter bit 9 */ |
10408 | #define CAN_F14R2_FB10_Pos (10U) |
||
9 | mjames | 10409 | #define CAN_F14R2_FB10_Msk (0x1UL << CAN_F14R2_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 10410 | #define CAN_F14R2_FB10 CAN_F14R2_FB10_Msk /*!< Filter bit 10 */ |
10411 | #define CAN_F14R2_FB11_Pos (11U) |
||
9 | mjames | 10412 | #define CAN_F14R2_FB11_Msk (0x1UL << CAN_F14R2_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 10413 | #define CAN_F14R2_FB11 CAN_F14R2_FB11_Msk /*!< Filter bit 11 */ |
10414 | #define CAN_F14R2_FB12_Pos (12U) |
||
9 | mjames | 10415 | #define CAN_F14R2_FB12_Msk (0x1UL << CAN_F14R2_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 10416 | #define CAN_F14R2_FB12 CAN_F14R2_FB12_Msk /*!< Filter bit 12 */ |
10417 | #define CAN_F14R2_FB13_Pos (13U) |
||
9 | mjames | 10418 | #define CAN_F14R2_FB13_Msk (0x1UL << CAN_F14R2_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 10419 | #define CAN_F14R2_FB13 CAN_F14R2_FB13_Msk /*!< Filter bit 13 */ |
10420 | #define CAN_F14R2_FB14_Pos (14U) |
||
9 | mjames | 10421 | #define CAN_F14R2_FB14_Msk (0x1UL << CAN_F14R2_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 10422 | #define CAN_F14R2_FB14 CAN_F14R2_FB14_Msk /*!< Filter bit 14 */ |
10423 | #define CAN_F14R2_FB15_Pos (15U) |
||
9 | mjames | 10424 | #define CAN_F14R2_FB15_Msk (0x1UL << CAN_F14R2_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 10425 | #define CAN_F14R2_FB15 CAN_F14R2_FB15_Msk /*!< Filter bit 15 */ |
10426 | #define CAN_F14R2_FB16_Pos (16U) |
||
9 | mjames | 10427 | #define CAN_F14R2_FB16_Msk (0x1UL << CAN_F14R2_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 10428 | #define CAN_F14R2_FB16 CAN_F14R2_FB16_Msk /*!< Filter bit 16 */ |
10429 | #define CAN_F14R2_FB17_Pos (17U) |
||
9 | mjames | 10430 | #define CAN_F14R2_FB17_Msk (0x1UL << CAN_F14R2_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 10431 | #define CAN_F14R2_FB17 CAN_F14R2_FB17_Msk /*!< Filter bit 17 */ |
10432 | #define CAN_F14R2_FB18_Pos (18U) |
||
9 | mjames | 10433 | #define CAN_F14R2_FB18_Msk (0x1UL << CAN_F14R2_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 10434 | #define CAN_F14R2_FB18 CAN_F14R2_FB18_Msk /*!< Filter bit 18 */ |
10435 | #define CAN_F14R2_FB19_Pos (19U) |
||
9 | mjames | 10436 | #define CAN_F14R2_FB19_Msk (0x1UL << CAN_F14R2_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 10437 | #define CAN_F14R2_FB19 CAN_F14R2_FB19_Msk /*!< Filter bit 19 */ |
10438 | #define CAN_F14R2_FB20_Pos (20U) |
||
9 | mjames | 10439 | #define CAN_F14R2_FB20_Msk (0x1UL << CAN_F14R2_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 10440 | #define CAN_F14R2_FB20 CAN_F14R2_FB20_Msk /*!< Filter bit 20 */ |
10441 | #define CAN_F14R2_FB21_Pos (21U) |
||
9 | mjames | 10442 | #define CAN_F14R2_FB21_Msk (0x1UL << CAN_F14R2_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 10443 | #define CAN_F14R2_FB21 CAN_F14R2_FB21_Msk /*!< Filter bit 21 */ |
10444 | #define CAN_F14R2_FB22_Pos (22U) |
||
9 | mjames | 10445 | #define CAN_F14R2_FB22_Msk (0x1UL << CAN_F14R2_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 10446 | #define CAN_F14R2_FB22 CAN_F14R2_FB22_Msk /*!< Filter bit 22 */ |
10447 | #define CAN_F14R2_FB23_Pos (23U) |
||
9 | mjames | 10448 | #define CAN_F14R2_FB23_Msk (0x1UL << CAN_F14R2_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 10449 | #define CAN_F14R2_FB23 CAN_F14R2_FB23_Msk /*!< Filter bit 23 */ |
10450 | #define CAN_F14R2_FB24_Pos (24U) |
||
9 | mjames | 10451 | #define CAN_F14R2_FB24_Msk (0x1UL << CAN_F14R2_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 10452 | #define CAN_F14R2_FB24 CAN_F14R2_FB24_Msk /*!< Filter bit 24 */ |
10453 | #define CAN_F14R2_FB25_Pos (25U) |
||
9 | mjames | 10454 | #define CAN_F14R2_FB25_Msk (0x1UL << CAN_F14R2_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 10455 | #define CAN_F14R2_FB25 CAN_F14R2_FB25_Msk /*!< Filter bit 25 */ |
10456 | #define CAN_F14R2_FB26_Pos (26U) |
||
9 | mjames | 10457 | #define CAN_F14R2_FB26_Msk (0x1UL << CAN_F14R2_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 10458 | #define CAN_F14R2_FB26 CAN_F14R2_FB26_Msk /*!< Filter bit 26 */ |
10459 | #define CAN_F14R2_FB27_Pos (27U) |
||
9 | mjames | 10460 | #define CAN_F14R2_FB27_Msk (0x1UL << CAN_F14R2_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 10461 | #define CAN_F14R2_FB27 CAN_F14R2_FB27_Msk /*!< Filter bit 27 */ |
10462 | #define CAN_F14R2_FB28_Pos (28U) |
||
9 | mjames | 10463 | #define CAN_F14R2_FB28_Msk (0x1UL << CAN_F14R2_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 10464 | #define CAN_F14R2_FB28 CAN_F14R2_FB28_Msk /*!< Filter bit 28 */ |
10465 | #define CAN_F14R2_FB29_Pos (29U) |
||
9 | mjames | 10466 | #define CAN_F14R2_FB29_Msk (0x1UL << CAN_F14R2_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 10467 | #define CAN_F14R2_FB29 CAN_F14R2_FB29_Msk /*!< Filter bit 29 */ |
10468 | #define CAN_F14R2_FB30_Pos (30U) |
||
9 | mjames | 10469 | #define CAN_F14R2_FB30_Msk (0x1UL << CAN_F14R2_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 10470 | #define CAN_F14R2_FB30 CAN_F14R2_FB30_Msk /*!< Filter bit 30 */ |
10471 | #define CAN_F14R2_FB31_Pos (31U) |
||
9 | mjames | 10472 | #define CAN_F14R2_FB31_Msk (0x1UL << CAN_F14R2_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 10473 | #define CAN_F14R2_FB31 CAN_F14R2_FB31_Msk /*!< Filter bit 31 */ |
10474 | |||
10475 | /******************* Bit definition for CAN_F15R2 register ******************/ |
||
10476 | #define CAN_F15R2_FB0_Pos (0U) |
||
9 | mjames | 10477 | #define CAN_F15R2_FB0_Msk (0x1UL << CAN_F15R2_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 10478 | #define CAN_F15R2_FB0 CAN_F15R2_FB0_Msk /*!< Filter bit 0 */ |
10479 | #define CAN_F15R2_FB1_Pos (1U) |
||
9 | mjames | 10480 | #define CAN_F15R2_FB1_Msk (0x1UL << CAN_F15R2_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 10481 | #define CAN_F15R2_FB1 CAN_F15R2_FB1_Msk /*!< Filter bit 1 */ |
10482 | #define CAN_F15R2_FB2_Pos (2U) |
||
9 | mjames | 10483 | #define CAN_F15R2_FB2_Msk (0x1UL << CAN_F15R2_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 10484 | #define CAN_F15R2_FB2 CAN_F15R2_FB2_Msk /*!< Filter bit 2 */ |
10485 | #define CAN_F15R2_FB3_Pos (3U) |
||
9 | mjames | 10486 | #define CAN_F15R2_FB3_Msk (0x1UL << CAN_F15R2_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 10487 | #define CAN_F15R2_FB3 CAN_F15R2_FB3_Msk /*!< Filter bit 3 */ |
10488 | #define CAN_F15R2_FB4_Pos (4U) |
||
9 | mjames | 10489 | #define CAN_F15R2_FB4_Msk (0x1UL << CAN_F15R2_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 10490 | #define CAN_F15R2_FB4 CAN_F15R2_FB4_Msk /*!< Filter bit 4 */ |
10491 | #define CAN_F15R2_FB5_Pos (5U) |
||
9 | mjames | 10492 | #define CAN_F15R2_FB5_Msk (0x1UL << CAN_F15R2_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 10493 | #define CAN_F15R2_FB5 CAN_F15R2_FB5_Msk /*!< Filter bit 5 */ |
10494 | #define CAN_F15R2_FB6_Pos (6U) |
||
9 | mjames | 10495 | #define CAN_F15R2_FB6_Msk (0x1UL << CAN_F15R2_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 10496 | #define CAN_F15R2_FB6 CAN_F15R2_FB6_Msk /*!< Filter bit 6 */ |
10497 | #define CAN_F15R2_FB7_Pos (7U) |
||
9 | mjames | 10498 | #define CAN_F15R2_FB7_Msk (0x1UL << CAN_F15R2_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 10499 | #define CAN_F15R2_FB7 CAN_F15R2_FB7_Msk /*!< Filter bit 7 */ |
10500 | #define CAN_F15R2_FB8_Pos (8U) |
||
9 | mjames | 10501 | #define CAN_F15R2_FB8_Msk (0x1UL << CAN_F15R2_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 10502 | #define CAN_F15R2_FB8 CAN_F15R2_FB8_Msk /*!< Filter bit 8 */ |
10503 | #define CAN_F15R2_FB9_Pos (9U) |
||
9 | mjames | 10504 | #define CAN_F15R2_FB9_Msk (0x1UL << CAN_F15R2_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 10505 | #define CAN_F15R2_FB9 CAN_F15R2_FB9_Msk /*!< Filter bit 9 */ |
10506 | #define CAN_F15R2_FB10_Pos (10U) |
||
9 | mjames | 10507 | #define CAN_F15R2_FB10_Msk (0x1UL << CAN_F15R2_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 10508 | #define CAN_F15R2_FB10 CAN_F15R2_FB10_Msk /*!< Filter bit 10 */ |
10509 | #define CAN_F15R2_FB11_Pos (11U) |
||
9 | mjames | 10510 | #define CAN_F15R2_FB11_Msk (0x1UL << CAN_F15R2_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 10511 | #define CAN_F15R2_FB11 CAN_F15R2_FB11_Msk /*!< Filter bit 11 */ |
10512 | #define CAN_F15R2_FB12_Pos (12U) |
||
9 | mjames | 10513 | #define CAN_F15R2_FB12_Msk (0x1UL << CAN_F15R2_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 10514 | #define CAN_F15R2_FB12 CAN_F15R2_FB12_Msk /*!< Filter bit 12 */ |
10515 | #define CAN_F15R2_FB13_Pos (13U) |
||
9 | mjames | 10516 | #define CAN_F15R2_FB13_Msk (0x1UL << CAN_F15R2_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 10517 | #define CAN_F15R2_FB13 CAN_F15R2_FB13_Msk /*!< Filter bit 13 */ |
10518 | #define CAN_F15R2_FB14_Pos (14U) |
||
9 | mjames | 10519 | #define CAN_F15R2_FB14_Msk (0x1UL << CAN_F15R2_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 10520 | #define CAN_F15R2_FB14 CAN_F15R2_FB14_Msk /*!< Filter bit 14 */ |
10521 | #define CAN_F15R2_FB15_Pos (15U) |
||
9 | mjames | 10522 | #define CAN_F15R2_FB15_Msk (0x1UL << CAN_F15R2_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 10523 | #define CAN_F15R2_FB15 CAN_F15R2_FB15_Msk /*!< Filter bit 15 */ |
10524 | #define CAN_F15R2_FB16_Pos (16U) |
||
9 | mjames | 10525 | #define CAN_F15R2_FB16_Msk (0x1UL << CAN_F15R2_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 10526 | #define CAN_F15R2_FB16 CAN_F15R2_FB16_Msk /*!< Filter bit 16 */ |
10527 | #define CAN_F15R2_FB17_Pos (17U) |
||
9 | mjames | 10528 | #define CAN_F15R2_FB17_Msk (0x1UL << CAN_F15R2_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 10529 | #define CAN_F15R2_FB17 CAN_F15R2_FB17_Msk /*!< Filter bit 17 */ |
10530 | #define CAN_F15R2_FB18_Pos (18U) |
||
9 | mjames | 10531 | #define CAN_F15R2_FB18_Msk (0x1UL << CAN_F15R2_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 10532 | #define CAN_F15R2_FB18 CAN_F15R2_FB18_Msk /*!< Filter bit 18 */ |
10533 | #define CAN_F15R2_FB19_Pos (19U) |
||
9 | mjames | 10534 | #define CAN_F15R2_FB19_Msk (0x1UL << CAN_F15R2_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 10535 | #define CAN_F15R2_FB19 CAN_F15R2_FB19_Msk /*!< Filter bit 19 */ |
10536 | #define CAN_F15R2_FB20_Pos (20U) |
||
9 | mjames | 10537 | #define CAN_F15R2_FB20_Msk (0x1UL << CAN_F15R2_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 10538 | #define CAN_F15R2_FB20 CAN_F15R2_FB20_Msk /*!< Filter bit 20 */ |
10539 | #define CAN_F15R2_FB21_Pos (21U) |
||
9 | mjames | 10540 | #define CAN_F15R2_FB21_Msk (0x1UL << CAN_F15R2_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 10541 | #define CAN_F15R2_FB21 CAN_F15R2_FB21_Msk /*!< Filter bit 21 */ |
10542 | #define CAN_F15R2_FB22_Pos (22U) |
||
9 | mjames | 10543 | #define CAN_F15R2_FB22_Msk (0x1UL << CAN_F15R2_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 10544 | #define CAN_F15R2_FB22 CAN_F15R2_FB22_Msk /*!< Filter bit 22 */ |
10545 | #define CAN_F15R2_FB23_Pos (23U) |
||
9 | mjames | 10546 | #define CAN_F15R2_FB23_Msk (0x1UL << CAN_F15R2_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 10547 | #define CAN_F15R2_FB23 CAN_F15R2_FB23_Msk /*!< Filter bit 23 */ |
10548 | #define CAN_F15R2_FB24_Pos (24U) |
||
9 | mjames | 10549 | #define CAN_F15R2_FB24_Msk (0x1UL << CAN_F15R2_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 10550 | #define CAN_F15R2_FB24 CAN_F15R2_FB24_Msk /*!< Filter bit 24 */ |
10551 | #define CAN_F15R2_FB25_Pos (25U) |
||
9 | mjames | 10552 | #define CAN_F15R2_FB25_Msk (0x1UL << CAN_F15R2_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 10553 | #define CAN_F15R2_FB25 CAN_F15R2_FB25_Msk /*!< Filter bit 25 */ |
10554 | #define CAN_F15R2_FB26_Pos (26U) |
||
9 | mjames | 10555 | #define CAN_F15R2_FB26_Msk (0x1UL << CAN_F15R2_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 10556 | #define CAN_F15R2_FB26 CAN_F15R2_FB26_Msk /*!< Filter bit 26 */ |
10557 | #define CAN_F15R2_FB27_Pos (27U) |
||
9 | mjames | 10558 | #define CAN_F15R2_FB27_Msk (0x1UL << CAN_F15R2_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 10559 | #define CAN_F15R2_FB27 CAN_F15R2_FB27_Msk /*!< Filter bit 27 */ |
10560 | #define CAN_F15R2_FB28_Pos (28U) |
||
9 | mjames | 10561 | #define CAN_F15R2_FB28_Msk (0x1UL << CAN_F15R2_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 10562 | #define CAN_F15R2_FB28 CAN_F15R2_FB28_Msk /*!< Filter bit 28 */ |
10563 | #define CAN_F15R2_FB29_Pos (29U) |
||
9 | mjames | 10564 | #define CAN_F15R2_FB29_Msk (0x1UL << CAN_F15R2_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 10565 | #define CAN_F15R2_FB29 CAN_F15R2_FB29_Msk /*!< Filter bit 29 */ |
10566 | #define CAN_F15R2_FB30_Pos (30U) |
||
9 | mjames | 10567 | #define CAN_F15R2_FB30_Msk (0x1UL << CAN_F15R2_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 10568 | #define CAN_F15R2_FB30 CAN_F15R2_FB30_Msk /*!< Filter bit 30 */ |
10569 | #define CAN_F15R2_FB31_Pos (31U) |
||
9 | mjames | 10570 | #define CAN_F15R2_FB31_Msk (0x1UL << CAN_F15R2_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 10571 | #define CAN_F15R2_FB31 CAN_F15R2_FB31_Msk /*!< Filter bit 31 */ |
10572 | |||
10573 | /******************* Bit definition for CAN_F16R2 register ******************/ |
||
10574 | #define CAN_F16R2_FB0_Pos (0U) |
||
9 | mjames | 10575 | #define CAN_F16R2_FB0_Msk (0x1UL << CAN_F16R2_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 10576 | #define CAN_F16R2_FB0 CAN_F16R2_FB0_Msk /*!< Filter bit 0 */ |
10577 | #define CAN_F16R2_FB1_Pos (1U) |
||
9 | mjames | 10578 | #define CAN_F16R2_FB1_Msk (0x1UL << CAN_F16R2_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 10579 | #define CAN_F16R2_FB1 CAN_F16R2_FB1_Msk /*!< Filter bit 1 */ |
10580 | #define CAN_F16R2_FB2_Pos (2U) |
||
9 | mjames | 10581 | #define CAN_F16R2_FB2_Msk (0x1UL << CAN_F16R2_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 10582 | #define CAN_F16R2_FB2 CAN_F16R2_FB2_Msk /*!< Filter bit 2 */ |
10583 | #define CAN_F16R2_FB3_Pos (3U) |
||
9 | mjames | 10584 | #define CAN_F16R2_FB3_Msk (0x1UL << CAN_F16R2_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 10585 | #define CAN_F16R2_FB3 CAN_F16R2_FB3_Msk /*!< Filter bit 3 */ |
10586 | #define CAN_F16R2_FB4_Pos (4U) |
||
9 | mjames | 10587 | #define CAN_F16R2_FB4_Msk (0x1UL << CAN_F16R2_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 10588 | #define CAN_F16R2_FB4 CAN_F16R2_FB4_Msk /*!< Filter bit 4 */ |
10589 | #define CAN_F16R2_FB5_Pos (5U) |
||
9 | mjames | 10590 | #define CAN_F16R2_FB5_Msk (0x1UL << CAN_F16R2_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 10591 | #define CAN_F16R2_FB5 CAN_F16R2_FB5_Msk /*!< Filter bit 5 */ |
10592 | #define CAN_F16R2_FB6_Pos (6U) |
||
9 | mjames | 10593 | #define CAN_F16R2_FB6_Msk (0x1UL << CAN_F16R2_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 10594 | #define CAN_F16R2_FB6 CAN_F16R2_FB6_Msk /*!< Filter bit 6 */ |
10595 | #define CAN_F16R2_FB7_Pos (7U) |
||
9 | mjames | 10596 | #define CAN_F16R2_FB7_Msk (0x1UL << CAN_F16R2_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 10597 | #define CAN_F16R2_FB7 CAN_F16R2_FB7_Msk /*!< Filter bit 7 */ |
10598 | #define CAN_F16R2_FB8_Pos (8U) |
||
9 | mjames | 10599 | #define CAN_F16R2_FB8_Msk (0x1UL << CAN_F16R2_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 10600 | #define CAN_F16R2_FB8 CAN_F16R2_FB8_Msk /*!< Filter bit 8 */ |
10601 | #define CAN_F16R2_FB9_Pos (9U) |
||
9 | mjames | 10602 | #define CAN_F16R2_FB9_Msk (0x1UL << CAN_F16R2_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 10603 | #define CAN_F16R2_FB9 CAN_F16R2_FB9_Msk /*!< Filter bit 9 */ |
10604 | #define CAN_F16R2_FB10_Pos (10U) |
||
9 | mjames | 10605 | #define CAN_F16R2_FB10_Msk (0x1UL << CAN_F16R2_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 10606 | #define CAN_F16R2_FB10 CAN_F16R2_FB10_Msk /*!< Filter bit 10 */ |
10607 | #define CAN_F16R2_FB11_Pos (11U) |
||
9 | mjames | 10608 | #define CAN_F16R2_FB11_Msk (0x1UL << CAN_F16R2_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 10609 | #define CAN_F16R2_FB11 CAN_F16R2_FB11_Msk /*!< Filter bit 11 */ |
10610 | #define CAN_F16R2_FB12_Pos (12U) |
||
9 | mjames | 10611 | #define CAN_F16R2_FB12_Msk (0x1UL << CAN_F16R2_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 10612 | #define CAN_F16R2_FB12 CAN_F16R2_FB12_Msk /*!< Filter bit 12 */ |
10613 | #define CAN_F16R2_FB13_Pos (13U) |
||
9 | mjames | 10614 | #define CAN_F16R2_FB13_Msk (0x1UL << CAN_F16R2_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 10615 | #define CAN_F16R2_FB13 CAN_F16R2_FB13_Msk /*!< Filter bit 13 */ |
10616 | #define CAN_F16R2_FB14_Pos (14U) |
||
9 | mjames | 10617 | #define CAN_F16R2_FB14_Msk (0x1UL << CAN_F16R2_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 10618 | #define CAN_F16R2_FB14 CAN_F16R2_FB14_Msk /*!< Filter bit 14 */ |
10619 | #define CAN_F16R2_FB15_Pos (15U) |
||
9 | mjames | 10620 | #define CAN_F16R2_FB15_Msk (0x1UL << CAN_F16R2_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 10621 | #define CAN_F16R2_FB15 CAN_F16R2_FB15_Msk /*!< Filter bit 15 */ |
10622 | #define CAN_F16R2_FB16_Pos (16U) |
||
9 | mjames | 10623 | #define CAN_F16R2_FB16_Msk (0x1UL << CAN_F16R2_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 10624 | #define CAN_F16R2_FB16 CAN_F16R2_FB16_Msk /*!< Filter bit 16 */ |
10625 | #define CAN_F16R2_FB17_Pos (17U) |
||
9 | mjames | 10626 | #define CAN_F16R2_FB17_Msk (0x1UL << CAN_F16R2_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 10627 | #define CAN_F16R2_FB17 CAN_F16R2_FB17_Msk /*!< Filter bit 17 */ |
10628 | #define CAN_F16R2_FB18_Pos (18U) |
||
9 | mjames | 10629 | #define CAN_F16R2_FB18_Msk (0x1UL << CAN_F16R2_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 10630 | #define CAN_F16R2_FB18 CAN_F16R2_FB18_Msk /*!< Filter bit 18 */ |
10631 | #define CAN_F16R2_FB19_Pos (19U) |
||
9 | mjames | 10632 | #define CAN_F16R2_FB19_Msk (0x1UL << CAN_F16R2_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 10633 | #define CAN_F16R2_FB19 CAN_F16R2_FB19_Msk /*!< Filter bit 19 */ |
10634 | #define CAN_F16R2_FB20_Pos (20U) |
||
9 | mjames | 10635 | #define CAN_F16R2_FB20_Msk (0x1UL << CAN_F16R2_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 10636 | #define CAN_F16R2_FB20 CAN_F16R2_FB20_Msk /*!< Filter bit 20 */ |
10637 | #define CAN_F16R2_FB21_Pos (21U) |
||
9 | mjames | 10638 | #define CAN_F16R2_FB21_Msk (0x1UL << CAN_F16R2_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 10639 | #define CAN_F16R2_FB21 CAN_F16R2_FB21_Msk /*!< Filter bit 21 */ |
10640 | #define CAN_F16R2_FB22_Pos (22U) |
||
9 | mjames | 10641 | #define CAN_F16R2_FB22_Msk (0x1UL << CAN_F16R2_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 10642 | #define CAN_F16R2_FB22 CAN_F16R2_FB22_Msk /*!< Filter bit 22 */ |
10643 | #define CAN_F16R2_FB23_Pos (23U) |
||
9 | mjames | 10644 | #define CAN_F16R2_FB23_Msk (0x1UL << CAN_F16R2_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 10645 | #define CAN_F16R2_FB23 CAN_F16R2_FB23_Msk /*!< Filter bit 23 */ |
10646 | #define CAN_F16R2_FB24_Pos (24U) |
||
9 | mjames | 10647 | #define CAN_F16R2_FB24_Msk (0x1UL << CAN_F16R2_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 10648 | #define CAN_F16R2_FB24 CAN_F16R2_FB24_Msk /*!< Filter bit 24 */ |
10649 | #define CAN_F16R2_FB25_Pos (25U) |
||
9 | mjames | 10650 | #define CAN_F16R2_FB25_Msk (0x1UL << CAN_F16R2_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 10651 | #define CAN_F16R2_FB25 CAN_F16R2_FB25_Msk /*!< Filter bit 25 */ |
10652 | #define CAN_F16R2_FB26_Pos (26U) |
||
9 | mjames | 10653 | #define CAN_F16R2_FB26_Msk (0x1UL << CAN_F16R2_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 10654 | #define CAN_F16R2_FB26 CAN_F16R2_FB26_Msk /*!< Filter bit 26 */ |
10655 | #define CAN_F16R2_FB27_Pos (27U) |
||
9 | mjames | 10656 | #define CAN_F16R2_FB27_Msk (0x1UL << CAN_F16R2_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 10657 | #define CAN_F16R2_FB27 CAN_F16R2_FB27_Msk /*!< Filter bit 27 */ |
10658 | #define CAN_F16R2_FB28_Pos (28U) |
||
9 | mjames | 10659 | #define CAN_F16R2_FB28_Msk (0x1UL << CAN_F16R2_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 10660 | #define CAN_F16R2_FB28 CAN_F16R2_FB28_Msk /*!< Filter bit 28 */ |
10661 | #define CAN_F16R2_FB29_Pos (29U) |
||
9 | mjames | 10662 | #define CAN_F16R2_FB29_Msk (0x1UL << CAN_F16R2_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 10663 | #define CAN_F16R2_FB29 CAN_F16R2_FB29_Msk /*!< Filter bit 29 */ |
10664 | #define CAN_F16R2_FB30_Pos (30U) |
||
9 | mjames | 10665 | #define CAN_F16R2_FB30_Msk (0x1UL << CAN_F16R2_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 10666 | #define CAN_F16R2_FB30 CAN_F16R2_FB30_Msk /*!< Filter bit 30 */ |
10667 | #define CAN_F16R2_FB31_Pos (31U) |
||
9 | mjames | 10668 | #define CAN_F16R2_FB31_Msk (0x1UL << CAN_F16R2_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 10669 | #define CAN_F16R2_FB31 CAN_F16R2_FB31_Msk /*!< Filter bit 31 */ |
10670 | |||
10671 | /******************* Bit definition for CAN_F17R2 register ******************/ |
||
10672 | #define CAN_F17R2_FB0_Pos (0U) |
||
9 | mjames | 10673 | #define CAN_F17R2_FB0_Msk (0x1UL << CAN_F17R2_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 10674 | #define CAN_F17R2_FB0 CAN_F17R2_FB0_Msk /*!< Filter bit 0 */ |
10675 | #define CAN_F17R2_FB1_Pos (1U) |
||
9 | mjames | 10676 | #define CAN_F17R2_FB1_Msk (0x1UL << CAN_F17R2_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 10677 | #define CAN_F17R2_FB1 CAN_F17R2_FB1_Msk /*!< Filter bit 1 */ |
10678 | #define CAN_F17R2_FB2_Pos (2U) |
||
9 | mjames | 10679 | #define CAN_F17R2_FB2_Msk (0x1UL << CAN_F17R2_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 10680 | #define CAN_F17R2_FB2 CAN_F17R2_FB2_Msk /*!< Filter bit 2 */ |
10681 | #define CAN_F17R2_FB3_Pos (3U) |
||
9 | mjames | 10682 | #define CAN_F17R2_FB3_Msk (0x1UL << CAN_F17R2_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 10683 | #define CAN_F17R2_FB3 CAN_F17R2_FB3_Msk /*!< Filter bit 3 */ |
10684 | #define CAN_F17R2_FB4_Pos (4U) |
||
9 | mjames | 10685 | #define CAN_F17R2_FB4_Msk (0x1UL << CAN_F17R2_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 10686 | #define CAN_F17R2_FB4 CAN_F17R2_FB4_Msk /*!< Filter bit 4 */ |
10687 | #define CAN_F17R2_FB5_Pos (5U) |
||
9 | mjames | 10688 | #define CAN_F17R2_FB5_Msk (0x1UL << CAN_F17R2_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 10689 | #define CAN_F17R2_FB5 CAN_F17R2_FB5_Msk /*!< Filter bit 5 */ |
10690 | #define CAN_F17R2_FB6_Pos (6U) |
||
9 | mjames | 10691 | #define CAN_F17R2_FB6_Msk (0x1UL << CAN_F17R2_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 10692 | #define CAN_F17R2_FB6 CAN_F17R2_FB6_Msk /*!< Filter bit 6 */ |
10693 | #define CAN_F17R2_FB7_Pos (7U) |
||
9 | mjames | 10694 | #define CAN_F17R2_FB7_Msk (0x1UL << CAN_F17R2_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 10695 | #define CAN_F17R2_FB7 CAN_F17R2_FB7_Msk /*!< Filter bit 7 */ |
10696 | #define CAN_F17R2_FB8_Pos (8U) |
||
9 | mjames | 10697 | #define CAN_F17R2_FB8_Msk (0x1UL << CAN_F17R2_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 10698 | #define CAN_F17R2_FB8 CAN_F17R2_FB8_Msk /*!< Filter bit 8 */ |
10699 | #define CAN_F17R2_FB9_Pos (9U) |
||
9 | mjames | 10700 | #define CAN_F17R2_FB9_Msk (0x1UL << CAN_F17R2_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 10701 | #define CAN_F17R2_FB9 CAN_F17R2_FB9_Msk /*!< Filter bit 9 */ |
10702 | #define CAN_F17R2_FB10_Pos (10U) |
||
9 | mjames | 10703 | #define CAN_F17R2_FB10_Msk (0x1UL << CAN_F17R2_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 10704 | #define CAN_F17R2_FB10 CAN_F17R2_FB10_Msk /*!< Filter bit 10 */ |
10705 | #define CAN_F17R2_FB11_Pos (11U) |
||
9 | mjames | 10706 | #define CAN_F17R2_FB11_Msk (0x1UL << CAN_F17R2_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 10707 | #define CAN_F17R2_FB11 CAN_F17R2_FB11_Msk /*!< Filter bit 11 */ |
10708 | #define CAN_F17R2_FB12_Pos (12U) |
||
9 | mjames | 10709 | #define CAN_F17R2_FB12_Msk (0x1UL << CAN_F17R2_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 10710 | #define CAN_F17R2_FB12 CAN_F17R2_FB12_Msk /*!< Filter bit 12 */ |
10711 | #define CAN_F17R2_FB13_Pos (13U) |
||
9 | mjames | 10712 | #define CAN_F17R2_FB13_Msk (0x1UL << CAN_F17R2_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 10713 | #define CAN_F17R2_FB13 CAN_F17R2_FB13_Msk /*!< Filter bit 13 */ |
10714 | #define CAN_F17R2_FB14_Pos (14U) |
||
9 | mjames | 10715 | #define CAN_F17R2_FB14_Msk (0x1UL << CAN_F17R2_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 10716 | #define CAN_F17R2_FB14 CAN_F17R2_FB14_Msk /*!< Filter bit 14 */ |
10717 | #define CAN_F17R2_FB15_Pos (15U) |
||
9 | mjames | 10718 | #define CAN_F17R2_FB15_Msk (0x1UL << CAN_F17R2_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 10719 | #define CAN_F17R2_FB15 CAN_F17R2_FB15_Msk /*!< Filter bit 15 */ |
10720 | #define CAN_F17R2_FB16_Pos (16U) |
||
9 | mjames | 10721 | #define CAN_F17R2_FB16_Msk (0x1UL << CAN_F17R2_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 10722 | #define CAN_F17R2_FB16 CAN_F17R2_FB16_Msk /*!< Filter bit 16 */ |
10723 | #define CAN_F17R2_FB17_Pos (17U) |
||
9 | mjames | 10724 | #define CAN_F17R2_FB17_Msk (0x1UL << CAN_F17R2_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 10725 | #define CAN_F17R2_FB17 CAN_F17R2_FB17_Msk /*!< Filter bit 17 */ |
10726 | #define CAN_F17R2_FB18_Pos (18U) |
||
9 | mjames | 10727 | #define CAN_F17R2_FB18_Msk (0x1UL << CAN_F17R2_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 10728 | #define CAN_F17R2_FB18 CAN_F17R2_FB18_Msk /*!< Filter bit 18 */ |
10729 | #define CAN_F17R2_FB19_Pos (19U) |
||
9 | mjames | 10730 | #define CAN_F17R2_FB19_Msk (0x1UL << CAN_F17R2_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 10731 | #define CAN_F17R2_FB19 CAN_F17R2_FB19_Msk /*!< Filter bit 19 */ |
10732 | #define CAN_F17R2_FB20_Pos (20U) |
||
9 | mjames | 10733 | #define CAN_F17R2_FB20_Msk (0x1UL << CAN_F17R2_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 10734 | #define CAN_F17R2_FB20 CAN_F17R2_FB20_Msk /*!< Filter bit 20 */ |
10735 | #define CAN_F17R2_FB21_Pos (21U) |
||
9 | mjames | 10736 | #define CAN_F17R2_FB21_Msk (0x1UL << CAN_F17R2_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 10737 | #define CAN_F17R2_FB21 CAN_F17R2_FB21_Msk /*!< Filter bit 21 */ |
10738 | #define CAN_F17R2_FB22_Pos (22U) |
||
9 | mjames | 10739 | #define CAN_F17R2_FB22_Msk (0x1UL << CAN_F17R2_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 10740 | #define CAN_F17R2_FB22 CAN_F17R2_FB22_Msk /*!< Filter bit 22 */ |
10741 | #define CAN_F17R2_FB23_Pos (23U) |
||
9 | mjames | 10742 | #define CAN_F17R2_FB23_Msk (0x1UL << CAN_F17R2_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 10743 | #define CAN_F17R2_FB23 CAN_F17R2_FB23_Msk /*!< Filter bit 23 */ |
10744 | #define CAN_F17R2_FB24_Pos (24U) |
||
9 | mjames | 10745 | #define CAN_F17R2_FB24_Msk (0x1UL << CAN_F17R2_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 10746 | #define CAN_F17R2_FB24 CAN_F17R2_FB24_Msk /*!< Filter bit 24 */ |
10747 | #define CAN_F17R2_FB25_Pos (25U) |
||
9 | mjames | 10748 | #define CAN_F17R2_FB25_Msk (0x1UL << CAN_F17R2_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 10749 | #define CAN_F17R2_FB25 CAN_F17R2_FB25_Msk /*!< Filter bit 25 */ |
10750 | #define CAN_F17R2_FB26_Pos (26U) |
||
9 | mjames | 10751 | #define CAN_F17R2_FB26_Msk (0x1UL << CAN_F17R2_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 10752 | #define CAN_F17R2_FB26 CAN_F17R2_FB26_Msk /*!< Filter bit 26 */ |
10753 | #define CAN_F17R2_FB27_Pos (27U) |
||
9 | mjames | 10754 | #define CAN_F17R2_FB27_Msk (0x1UL << CAN_F17R2_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 10755 | #define CAN_F17R2_FB27 CAN_F17R2_FB27_Msk /*!< Filter bit 27 */ |
10756 | #define CAN_F17R2_FB28_Pos (28U) |
||
9 | mjames | 10757 | #define CAN_F17R2_FB28_Msk (0x1UL << CAN_F17R2_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 10758 | #define CAN_F17R2_FB28 CAN_F17R2_FB28_Msk /*!< Filter bit 28 */ |
10759 | #define CAN_F17R2_FB29_Pos (29U) |
||
9 | mjames | 10760 | #define CAN_F17R2_FB29_Msk (0x1UL << CAN_F17R2_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 10761 | #define CAN_F17R2_FB29 CAN_F17R2_FB29_Msk /*!< Filter bit 29 */ |
10762 | #define CAN_F17R2_FB30_Pos (30U) |
||
9 | mjames | 10763 | #define CAN_F17R2_FB30_Msk (0x1UL << CAN_F17R2_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 10764 | #define CAN_F17R2_FB30 CAN_F17R2_FB30_Msk /*!< Filter bit 30 */ |
10765 | #define CAN_F17R2_FB31_Pos (31U) |
||
9 | mjames | 10766 | #define CAN_F17R2_FB31_Msk (0x1UL << CAN_F17R2_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 10767 | #define CAN_F17R2_FB31 CAN_F17R2_FB31_Msk /*!< Filter bit 31 */ |
10768 | |||
10769 | /******************* Bit definition for CAN_F18R2 register ******************/ |
||
10770 | #define CAN_F18R2_FB0_Pos (0U) |
||
9 | mjames | 10771 | #define CAN_F18R2_FB0_Msk (0x1UL << CAN_F18R2_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 10772 | #define CAN_F18R2_FB0 CAN_F18R2_FB0_Msk /*!< Filter bit 0 */ |
10773 | #define CAN_F18R2_FB1_Pos (1U) |
||
9 | mjames | 10774 | #define CAN_F18R2_FB1_Msk (0x1UL << CAN_F18R2_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 10775 | #define CAN_F18R2_FB1 CAN_F18R2_FB1_Msk /*!< Filter bit 1 */ |
10776 | #define CAN_F18R2_FB2_Pos (2U) |
||
9 | mjames | 10777 | #define CAN_F18R2_FB2_Msk (0x1UL << CAN_F18R2_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 10778 | #define CAN_F18R2_FB2 CAN_F18R2_FB2_Msk /*!< Filter bit 2 */ |
10779 | #define CAN_F18R2_FB3_Pos (3U) |
||
9 | mjames | 10780 | #define CAN_F18R2_FB3_Msk (0x1UL << CAN_F18R2_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 10781 | #define CAN_F18R2_FB3 CAN_F18R2_FB3_Msk /*!< Filter bit 3 */ |
10782 | #define CAN_F18R2_FB4_Pos (4U) |
||
9 | mjames | 10783 | #define CAN_F18R2_FB4_Msk (0x1UL << CAN_F18R2_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 10784 | #define CAN_F18R2_FB4 CAN_F18R2_FB4_Msk /*!< Filter bit 4 */ |
10785 | #define CAN_F18R2_FB5_Pos (5U) |
||
9 | mjames | 10786 | #define CAN_F18R2_FB5_Msk (0x1UL << CAN_F18R2_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 10787 | #define CAN_F18R2_FB5 CAN_F18R2_FB5_Msk /*!< Filter bit 5 */ |
10788 | #define CAN_F18R2_FB6_Pos (6U) |
||
9 | mjames | 10789 | #define CAN_F18R2_FB6_Msk (0x1UL << CAN_F18R2_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 10790 | #define CAN_F18R2_FB6 CAN_F18R2_FB6_Msk /*!< Filter bit 6 */ |
10791 | #define CAN_F18R2_FB7_Pos (7U) |
||
9 | mjames | 10792 | #define CAN_F18R2_FB7_Msk (0x1UL << CAN_F18R2_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 10793 | #define CAN_F18R2_FB7 CAN_F18R2_FB7_Msk /*!< Filter bit 7 */ |
10794 | #define CAN_F18R2_FB8_Pos (8U) |
||
9 | mjames | 10795 | #define CAN_F18R2_FB8_Msk (0x1UL << CAN_F18R2_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 10796 | #define CAN_F18R2_FB8 CAN_F18R2_FB8_Msk /*!< Filter bit 8 */ |
10797 | #define CAN_F18R2_FB9_Pos (9U) |
||
9 | mjames | 10798 | #define CAN_F18R2_FB9_Msk (0x1UL << CAN_F18R2_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 10799 | #define CAN_F18R2_FB9 CAN_F18R2_FB9_Msk /*!< Filter bit 9 */ |
10800 | #define CAN_F18R2_FB10_Pos (10U) |
||
9 | mjames | 10801 | #define CAN_F18R2_FB10_Msk (0x1UL << CAN_F18R2_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 10802 | #define CAN_F18R2_FB10 CAN_F18R2_FB10_Msk /*!< Filter bit 10 */ |
10803 | #define CAN_F18R2_FB11_Pos (11U) |
||
9 | mjames | 10804 | #define CAN_F18R2_FB11_Msk (0x1UL << CAN_F18R2_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 10805 | #define CAN_F18R2_FB11 CAN_F18R2_FB11_Msk /*!< Filter bit 11 */ |
10806 | #define CAN_F18R2_FB12_Pos (12U) |
||
9 | mjames | 10807 | #define CAN_F18R2_FB12_Msk (0x1UL << CAN_F18R2_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 10808 | #define CAN_F18R2_FB12 CAN_F18R2_FB12_Msk /*!< Filter bit 12 */ |
10809 | #define CAN_F18R2_FB13_Pos (13U) |
||
9 | mjames | 10810 | #define CAN_F18R2_FB13_Msk (0x1UL << CAN_F18R2_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 10811 | #define CAN_F18R2_FB13 CAN_F18R2_FB13_Msk /*!< Filter bit 13 */ |
10812 | #define CAN_F18R2_FB14_Pos (14U) |
||
9 | mjames | 10813 | #define CAN_F18R2_FB14_Msk (0x1UL << CAN_F18R2_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 10814 | #define CAN_F18R2_FB14 CAN_F18R2_FB14_Msk /*!< Filter bit 14 */ |
10815 | #define CAN_F18R2_FB15_Pos (15U) |
||
9 | mjames | 10816 | #define CAN_F18R2_FB15_Msk (0x1UL << CAN_F18R2_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 10817 | #define CAN_F18R2_FB15 CAN_F18R2_FB15_Msk /*!< Filter bit 15 */ |
10818 | #define CAN_F18R2_FB16_Pos (16U) |
||
9 | mjames | 10819 | #define CAN_F18R2_FB16_Msk (0x1UL << CAN_F18R2_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 10820 | #define CAN_F18R2_FB16 CAN_F18R2_FB16_Msk /*!< Filter bit 16 */ |
10821 | #define CAN_F18R2_FB17_Pos (17U) |
||
9 | mjames | 10822 | #define CAN_F18R2_FB17_Msk (0x1UL << CAN_F18R2_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 10823 | #define CAN_F18R2_FB17 CAN_F18R2_FB17_Msk /*!< Filter bit 17 */ |
10824 | #define CAN_F18R2_FB18_Pos (18U) |
||
9 | mjames | 10825 | #define CAN_F18R2_FB18_Msk (0x1UL << CAN_F18R2_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 10826 | #define CAN_F18R2_FB18 CAN_F18R2_FB18_Msk /*!< Filter bit 18 */ |
10827 | #define CAN_F18R2_FB19_Pos (19U) |
||
9 | mjames | 10828 | #define CAN_F18R2_FB19_Msk (0x1UL << CAN_F18R2_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 10829 | #define CAN_F18R2_FB19 CAN_F18R2_FB19_Msk /*!< Filter bit 19 */ |
10830 | #define CAN_F18R2_FB20_Pos (20U) |
||
9 | mjames | 10831 | #define CAN_F18R2_FB20_Msk (0x1UL << CAN_F18R2_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 10832 | #define CAN_F18R2_FB20 CAN_F18R2_FB20_Msk /*!< Filter bit 20 */ |
10833 | #define CAN_F18R2_FB21_Pos (21U) |
||
9 | mjames | 10834 | #define CAN_F18R2_FB21_Msk (0x1UL << CAN_F18R2_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 10835 | #define CAN_F18R2_FB21 CAN_F18R2_FB21_Msk /*!< Filter bit 21 */ |
10836 | #define CAN_F18R2_FB22_Pos (22U) |
||
9 | mjames | 10837 | #define CAN_F18R2_FB22_Msk (0x1UL << CAN_F18R2_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 10838 | #define CAN_F18R2_FB22 CAN_F18R2_FB22_Msk /*!< Filter bit 22 */ |
10839 | #define CAN_F18R2_FB23_Pos (23U) |
||
9 | mjames | 10840 | #define CAN_F18R2_FB23_Msk (0x1UL << CAN_F18R2_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 10841 | #define CAN_F18R2_FB23 CAN_F18R2_FB23_Msk /*!< Filter bit 23 */ |
10842 | #define CAN_F18R2_FB24_Pos (24U) |
||
9 | mjames | 10843 | #define CAN_F18R2_FB24_Msk (0x1UL << CAN_F18R2_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 10844 | #define CAN_F18R2_FB24 CAN_F18R2_FB24_Msk /*!< Filter bit 24 */ |
10845 | #define CAN_F18R2_FB25_Pos (25U) |
||
9 | mjames | 10846 | #define CAN_F18R2_FB25_Msk (0x1UL << CAN_F18R2_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 10847 | #define CAN_F18R2_FB25 CAN_F18R2_FB25_Msk /*!< Filter bit 25 */ |
10848 | #define CAN_F18R2_FB26_Pos (26U) |
||
9 | mjames | 10849 | #define CAN_F18R2_FB26_Msk (0x1UL << CAN_F18R2_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 10850 | #define CAN_F18R2_FB26 CAN_F18R2_FB26_Msk /*!< Filter bit 26 */ |
10851 | #define CAN_F18R2_FB27_Pos (27U) |
||
9 | mjames | 10852 | #define CAN_F18R2_FB27_Msk (0x1UL << CAN_F18R2_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 10853 | #define CAN_F18R2_FB27 CAN_F18R2_FB27_Msk /*!< Filter bit 27 */ |
10854 | #define CAN_F18R2_FB28_Pos (28U) |
||
9 | mjames | 10855 | #define CAN_F18R2_FB28_Msk (0x1UL << CAN_F18R2_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 10856 | #define CAN_F18R2_FB28 CAN_F18R2_FB28_Msk /*!< Filter bit 28 */ |
10857 | #define CAN_F18R2_FB29_Pos (29U) |
||
9 | mjames | 10858 | #define CAN_F18R2_FB29_Msk (0x1UL << CAN_F18R2_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 10859 | #define CAN_F18R2_FB29 CAN_F18R2_FB29_Msk /*!< Filter bit 29 */ |
10860 | #define CAN_F18R2_FB30_Pos (30U) |
||
9 | mjames | 10861 | #define CAN_F18R2_FB30_Msk (0x1UL << CAN_F18R2_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 10862 | #define CAN_F18R2_FB30 CAN_F18R2_FB30_Msk /*!< Filter bit 30 */ |
10863 | #define CAN_F18R2_FB31_Pos (31U) |
||
9 | mjames | 10864 | #define CAN_F18R2_FB31_Msk (0x1UL << CAN_F18R2_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 10865 | #define CAN_F18R2_FB31 CAN_F18R2_FB31_Msk /*!< Filter bit 31 */ |
10866 | |||
10867 | /******************* Bit definition for CAN_F19R2 register ******************/ |
||
10868 | #define CAN_F19R2_FB0_Pos (0U) |
||
9 | mjames | 10869 | #define CAN_F19R2_FB0_Msk (0x1UL << CAN_F19R2_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 10870 | #define CAN_F19R2_FB0 CAN_F19R2_FB0_Msk /*!< Filter bit 0 */ |
10871 | #define CAN_F19R2_FB1_Pos (1U) |
||
9 | mjames | 10872 | #define CAN_F19R2_FB1_Msk (0x1UL << CAN_F19R2_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 10873 | #define CAN_F19R2_FB1 CAN_F19R2_FB1_Msk /*!< Filter bit 1 */ |
10874 | #define CAN_F19R2_FB2_Pos (2U) |
||
9 | mjames | 10875 | #define CAN_F19R2_FB2_Msk (0x1UL << CAN_F19R2_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 10876 | #define CAN_F19R2_FB2 CAN_F19R2_FB2_Msk /*!< Filter bit 2 */ |
10877 | #define CAN_F19R2_FB3_Pos (3U) |
||
9 | mjames | 10878 | #define CAN_F19R2_FB3_Msk (0x1UL << CAN_F19R2_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 10879 | #define CAN_F19R2_FB3 CAN_F19R2_FB3_Msk /*!< Filter bit 3 */ |
10880 | #define CAN_F19R2_FB4_Pos (4U) |
||
9 | mjames | 10881 | #define CAN_F19R2_FB4_Msk (0x1UL << CAN_F19R2_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 10882 | #define CAN_F19R2_FB4 CAN_F19R2_FB4_Msk /*!< Filter bit 4 */ |
10883 | #define CAN_F19R2_FB5_Pos (5U) |
||
9 | mjames | 10884 | #define CAN_F19R2_FB5_Msk (0x1UL << CAN_F19R2_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 10885 | #define CAN_F19R2_FB5 CAN_F19R2_FB5_Msk /*!< Filter bit 5 */ |
10886 | #define CAN_F19R2_FB6_Pos (6U) |
||
9 | mjames | 10887 | #define CAN_F19R2_FB6_Msk (0x1UL << CAN_F19R2_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 10888 | #define CAN_F19R2_FB6 CAN_F19R2_FB6_Msk /*!< Filter bit 6 */ |
10889 | #define CAN_F19R2_FB7_Pos (7U) |
||
9 | mjames | 10890 | #define CAN_F19R2_FB7_Msk (0x1UL << CAN_F19R2_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 10891 | #define CAN_F19R2_FB7 CAN_F19R2_FB7_Msk /*!< Filter bit 7 */ |
10892 | #define CAN_F19R2_FB8_Pos (8U) |
||
9 | mjames | 10893 | #define CAN_F19R2_FB8_Msk (0x1UL << CAN_F19R2_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 10894 | #define CAN_F19R2_FB8 CAN_F19R2_FB8_Msk /*!< Filter bit 8 */ |
10895 | #define CAN_F19R2_FB9_Pos (9U) |
||
9 | mjames | 10896 | #define CAN_F19R2_FB9_Msk (0x1UL << CAN_F19R2_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 10897 | #define CAN_F19R2_FB9 CAN_F19R2_FB9_Msk /*!< Filter bit 9 */ |
10898 | #define CAN_F19R2_FB10_Pos (10U) |
||
9 | mjames | 10899 | #define CAN_F19R2_FB10_Msk (0x1UL << CAN_F19R2_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 10900 | #define CAN_F19R2_FB10 CAN_F19R2_FB10_Msk /*!< Filter bit 10 */ |
10901 | #define CAN_F19R2_FB11_Pos (11U) |
||
9 | mjames | 10902 | #define CAN_F19R2_FB11_Msk (0x1UL << CAN_F19R2_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 10903 | #define CAN_F19R2_FB11 CAN_F19R2_FB11_Msk /*!< Filter bit 11 */ |
10904 | #define CAN_F19R2_FB12_Pos (12U) |
||
9 | mjames | 10905 | #define CAN_F19R2_FB12_Msk (0x1UL << CAN_F19R2_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 10906 | #define CAN_F19R2_FB12 CAN_F19R2_FB12_Msk /*!< Filter bit 12 */ |
10907 | #define CAN_F19R2_FB13_Pos (13U) |
||
9 | mjames | 10908 | #define CAN_F19R2_FB13_Msk (0x1UL << CAN_F19R2_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 10909 | #define CAN_F19R2_FB13 CAN_F19R2_FB13_Msk /*!< Filter bit 13 */ |
10910 | #define CAN_F19R2_FB14_Pos (14U) |
||
9 | mjames | 10911 | #define CAN_F19R2_FB14_Msk (0x1UL << CAN_F19R2_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 10912 | #define CAN_F19R2_FB14 CAN_F19R2_FB14_Msk /*!< Filter bit 14 */ |
10913 | #define CAN_F19R2_FB15_Pos (15U) |
||
9 | mjames | 10914 | #define CAN_F19R2_FB15_Msk (0x1UL << CAN_F19R2_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 10915 | #define CAN_F19R2_FB15 CAN_F19R2_FB15_Msk /*!< Filter bit 15 */ |
10916 | #define CAN_F19R2_FB16_Pos (16U) |
||
9 | mjames | 10917 | #define CAN_F19R2_FB16_Msk (0x1UL << CAN_F19R2_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 10918 | #define CAN_F19R2_FB16 CAN_F19R2_FB16_Msk /*!< Filter bit 16 */ |
10919 | #define CAN_F19R2_FB17_Pos (17U) |
||
9 | mjames | 10920 | #define CAN_F19R2_FB17_Msk (0x1UL << CAN_F19R2_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 10921 | #define CAN_F19R2_FB17 CAN_F19R2_FB17_Msk /*!< Filter bit 17 */ |
10922 | #define CAN_F19R2_FB18_Pos (18U) |
||
9 | mjames | 10923 | #define CAN_F19R2_FB18_Msk (0x1UL << CAN_F19R2_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 10924 | #define CAN_F19R2_FB18 CAN_F19R2_FB18_Msk /*!< Filter bit 18 */ |
10925 | #define CAN_F19R2_FB19_Pos (19U) |
||
9 | mjames | 10926 | #define CAN_F19R2_FB19_Msk (0x1UL << CAN_F19R2_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 10927 | #define CAN_F19R2_FB19 CAN_F19R2_FB19_Msk /*!< Filter bit 19 */ |
10928 | #define CAN_F19R2_FB20_Pos (20U) |
||
9 | mjames | 10929 | #define CAN_F19R2_FB20_Msk (0x1UL << CAN_F19R2_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 10930 | #define CAN_F19R2_FB20 CAN_F19R2_FB20_Msk /*!< Filter bit 20 */ |
10931 | #define CAN_F19R2_FB21_Pos (21U) |
||
9 | mjames | 10932 | #define CAN_F19R2_FB21_Msk (0x1UL << CAN_F19R2_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 10933 | #define CAN_F19R2_FB21 CAN_F19R2_FB21_Msk /*!< Filter bit 21 */ |
10934 | #define CAN_F19R2_FB22_Pos (22U) |
||
9 | mjames | 10935 | #define CAN_F19R2_FB22_Msk (0x1UL << CAN_F19R2_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 10936 | #define CAN_F19R2_FB22 CAN_F19R2_FB22_Msk /*!< Filter bit 22 */ |
10937 | #define CAN_F19R2_FB23_Pos (23U) |
||
9 | mjames | 10938 | #define CAN_F19R2_FB23_Msk (0x1UL << CAN_F19R2_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 10939 | #define CAN_F19R2_FB23 CAN_F19R2_FB23_Msk /*!< Filter bit 23 */ |
10940 | #define CAN_F19R2_FB24_Pos (24U) |
||
9 | mjames | 10941 | #define CAN_F19R2_FB24_Msk (0x1UL << CAN_F19R2_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 10942 | #define CAN_F19R2_FB24 CAN_F19R2_FB24_Msk /*!< Filter bit 24 */ |
10943 | #define CAN_F19R2_FB25_Pos (25U) |
||
9 | mjames | 10944 | #define CAN_F19R2_FB25_Msk (0x1UL << CAN_F19R2_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 10945 | #define CAN_F19R2_FB25 CAN_F19R2_FB25_Msk /*!< Filter bit 25 */ |
10946 | #define CAN_F19R2_FB26_Pos (26U) |
||
9 | mjames | 10947 | #define CAN_F19R2_FB26_Msk (0x1UL << CAN_F19R2_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 10948 | #define CAN_F19R2_FB26 CAN_F19R2_FB26_Msk /*!< Filter bit 26 */ |
10949 | #define CAN_F19R2_FB27_Pos (27U) |
||
9 | mjames | 10950 | #define CAN_F19R2_FB27_Msk (0x1UL << CAN_F19R2_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 10951 | #define CAN_F19R2_FB27 CAN_F19R2_FB27_Msk /*!< Filter bit 27 */ |
10952 | #define CAN_F19R2_FB28_Pos (28U) |
||
9 | mjames | 10953 | #define CAN_F19R2_FB28_Msk (0x1UL << CAN_F19R2_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 10954 | #define CAN_F19R2_FB28 CAN_F19R2_FB28_Msk /*!< Filter bit 28 */ |
10955 | #define CAN_F19R2_FB29_Pos (29U) |
||
9 | mjames | 10956 | #define CAN_F19R2_FB29_Msk (0x1UL << CAN_F19R2_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 10957 | #define CAN_F19R2_FB29 CAN_F19R2_FB29_Msk /*!< Filter bit 29 */ |
10958 | #define CAN_F19R2_FB30_Pos (30U) |
||
9 | mjames | 10959 | #define CAN_F19R2_FB30_Msk (0x1UL << CAN_F19R2_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 10960 | #define CAN_F19R2_FB30 CAN_F19R2_FB30_Msk /*!< Filter bit 30 */ |
10961 | #define CAN_F19R2_FB31_Pos (31U) |
||
9 | mjames | 10962 | #define CAN_F19R2_FB31_Msk (0x1UL << CAN_F19R2_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 10963 | #define CAN_F19R2_FB31 CAN_F19R2_FB31_Msk /*!< Filter bit 31 */ |
10964 | |||
10965 | /******************* Bit definition for CAN_F20R2 register ******************/ |
||
10966 | #define CAN_F20R2_FB0_Pos (0U) |
||
9 | mjames | 10967 | #define CAN_F20R2_FB0_Msk (0x1UL << CAN_F20R2_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 10968 | #define CAN_F20R2_FB0 CAN_F20R2_FB0_Msk /*!< Filter bit 0 */ |
10969 | #define CAN_F20R2_FB1_Pos (1U) |
||
9 | mjames | 10970 | #define CAN_F20R2_FB1_Msk (0x1UL << CAN_F20R2_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 10971 | #define CAN_F20R2_FB1 CAN_F20R2_FB1_Msk /*!< Filter bit 1 */ |
10972 | #define CAN_F20R2_FB2_Pos (2U) |
||
9 | mjames | 10973 | #define CAN_F20R2_FB2_Msk (0x1UL << CAN_F20R2_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 10974 | #define CAN_F20R2_FB2 CAN_F20R2_FB2_Msk /*!< Filter bit 2 */ |
10975 | #define CAN_F20R2_FB3_Pos (3U) |
||
9 | mjames | 10976 | #define CAN_F20R2_FB3_Msk (0x1UL << CAN_F20R2_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 10977 | #define CAN_F20R2_FB3 CAN_F20R2_FB3_Msk /*!< Filter bit 3 */ |
10978 | #define CAN_F20R2_FB4_Pos (4U) |
||
9 | mjames | 10979 | #define CAN_F20R2_FB4_Msk (0x1UL << CAN_F20R2_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 10980 | #define CAN_F20R2_FB4 CAN_F20R2_FB4_Msk /*!< Filter bit 4 */ |
10981 | #define CAN_F20R2_FB5_Pos (5U) |
||
9 | mjames | 10982 | #define CAN_F20R2_FB5_Msk (0x1UL << CAN_F20R2_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 10983 | #define CAN_F20R2_FB5 CAN_F20R2_FB5_Msk /*!< Filter bit 5 */ |
10984 | #define CAN_F20R2_FB6_Pos (6U) |
||
9 | mjames | 10985 | #define CAN_F20R2_FB6_Msk (0x1UL << CAN_F20R2_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 10986 | #define CAN_F20R2_FB6 CAN_F20R2_FB6_Msk /*!< Filter bit 6 */ |
10987 | #define CAN_F20R2_FB7_Pos (7U) |
||
9 | mjames | 10988 | #define CAN_F20R2_FB7_Msk (0x1UL << CAN_F20R2_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 10989 | #define CAN_F20R2_FB7 CAN_F20R2_FB7_Msk /*!< Filter bit 7 */ |
10990 | #define CAN_F20R2_FB8_Pos (8U) |
||
9 | mjames | 10991 | #define CAN_F20R2_FB8_Msk (0x1UL << CAN_F20R2_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 10992 | #define CAN_F20R2_FB8 CAN_F20R2_FB8_Msk /*!< Filter bit 8 */ |
10993 | #define CAN_F20R2_FB9_Pos (9U) |
||
9 | mjames | 10994 | #define CAN_F20R2_FB9_Msk (0x1UL << CAN_F20R2_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 10995 | #define CAN_F20R2_FB9 CAN_F20R2_FB9_Msk /*!< Filter bit 9 */ |
10996 | #define CAN_F20R2_FB10_Pos (10U) |
||
9 | mjames | 10997 | #define CAN_F20R2_FB10_Msk (0x1UL << CAN_F20R2_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 10998 | #define CAN_F20R2_FB10 CAN_F20R2_FB10_Msk /*!< Filter bit 10 */ |
10999 | #define CAN_F20R2_FB11_Pos (11U) |
||
9 | mjames | 11000 | #define CAN_F20R2_FB11_Msk (0x1UL << CAN_F20R2_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 11001 | #define CAN_F20R2_FB11 CAN_F20R2_FB11_Msk /*!< Filter bit 11 */ |
11002 | #define CAN_F20R2_FB12_Pos (12U) |
||
9 | mjames | 11003 | #define CAN_F20R2_FB12_Msk (0x1UL << CAN_F20R2_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 11004 | #define CAN_F20R2_FB12 CAN_F20R2_FB12_Msk /*!< Filter bit 12 */ |
11005 | #define CAN_F20R2_FB13_Pos (13U) |
||
9 | mjames | 11006 | #define CAN_F20R2_FB13_Msk (0x1UL << CAN_F20R2_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 11007 | #define CAN_F20R2_FB13 CAN_F20R2_FB13_Msk /*!< Filter bit 13 */ |
11008 | #define CAN_F20R2_FB14_Pos (14U) |
||
9 | mjames | 11009 | #define CAN_F20R2_FB14_Msk (0x1UL << CAN_F20R2_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 11010 | #define CAN_F20R2_FB14 CAN_F20R2_FB14_Msk /*!< Filter bit 14 */ |
11011 | #define CAN_F20R2_FB15_Pos (15U) |
||
9 | mjames | 11012 | #define CAN_F20R2_FB15_Msk (0x1UL << CAN_F20R2_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 11013 | #define CAN_F20R2_FB15 CAN_F20R2_FB15_Msk /*!< Filter bit 15 */ |
11014 | #define CAN_F20R2_FB16_Pos (16U) |
||
9 | mjames | 11015 | #define CAN_F20R2_FB16_Msk (0x1UL << CAN_F20R2_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 11016 | #define CAN_F20R2_FB16 CAN_F20R2_FB16_Msk /*!< Filter bit 16 */ |
11017 | #define CAN_F20R2_FB17_Pos (17U) |
||
9 | mjames | 11018 | #define CAN_F20R2_FB17_Msk (0x1UL << CAN_F20R2_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 11019 | #define CAN_F20R2_FB17 CAN_F20R2_FB17_Msk /*!< Filter bit 17 */ |
11020 | #define CAN_F20R2_FB18_Pos (18U) |
||
9 | mjames | 11021 | #define CAN_F20R2_FB18_Msk (0x1UL << CAN_F20R2_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 11022 | #define CAN_F20R2_FB18 CAN_F20R2_FB18_Msk /*!< Filter bit 18 */ |
11023 | #define CAN_F20R2_FB19_Pos (19U) |
||
9 | mjames | 11024 | #define CAN_F20R2_FB19_Msk (0x1UL << CAN_F20R2_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 11025 | #define CAN_F20R2_FB19 CAN_F20R2_FB19_Msk /*!< Filter bit 19 */ |
11026 | #define CAN_F20R2_FB20_Pos (20U) |
||
9 | mjames | 11027 | #define CAN_F20R2_FB20_Msk (0x1UL << CAN_F20R2_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 11028 | #define CAN_F20R2_FB20 CAN_F20R2_FB20_Msk /*!< Filter bit 20 */ |
11029 | #define CAN_F20R2_FB21_Pos (21U) |
||
9 | mjames | 11030 | #define CAN_F20R2_FB21_Msk (0x1UL << CAN_F20R2_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 11031 | #define CAN_F20R2_FB21 CAN_F20R2_FB21_Msk /*!< Filter bit 21 */ |
11032 | #define CAN_F20R2_FB22_Pos (22U) |
||
9 | mjames | 11033 | #define CAN_F20R2_FB22_Msk (0x1UL << CAN_F20R2_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 11034 | #define CAN_F20R2_FB22 CAN_F20R2_FB22_Msk /*!< Filter bit 22 */ |
11035 | #define CAN_F20R2_FB23_Pos (23U) |
||
9 | mjames | 11036 | #define CAN_F20R2_FB23_Msk (0x1UL << CAN_F20R2_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 11037 | #define CAN_F20R2_FB23 CAN_F20R2_FB23_Msk /*!< Filter bit 23 */ |
11038 | #define CAN_F20R2_FB24_Pos (24U) |
||
9 | mjames | 11039 | #define CAN_F20R2_FB24_Msk (0x1UL << CAN_F20R2_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 11040 | #define CAN_F20R2_FB24 CAN_F20R2_FB24_Msk /*!< Filter bit 24 */ |
11041 | #define CAN_F20R2_FB25_Pos (25U) |
||
9 | mjames | 11042 | #define CAN_F20R2_FB25_Msk (0x1UL << CAN_F20R2_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 11043 | #define CAN_F20R2_FB25 CAN_F20R2_FB25_Msk /*!< Filter bit 25 */ |
11044 | #define CAN_F20R2_FB26_Pos (26U) |
||
9 | mjames | 11045 | #define CAN_F20R2_FB26_Msk (0x1UL << CAN_F20R2_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 11046 | #define CAN_F20R2_FB26 CAN_F20R2_FB26_Msk /*!< Filter bit 26 */ |
11047 | #define CAN_F20R2_FB27_Pos (27U) |
||
9 | mjames | 11048 | #define CAN_F20R2_FB27_Msk (0x1UL << CAN_F20R2_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 11049 | #define CAN_F20R2_FB27 CAN_F20R2_FB27_Msk /*!< Filter bit 27 */ |
11050 | #define CAN_F20R2_FB28_Pos (28U) |
||
9 | mjames | 11051 | #define CAN_F20R2_FB28_Msk (0x1UL << CAN_F20R2_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 11052 | #define CAN_F20R2_FB28 CAN_F20R2_FB28_Msk /*!< Filter bit 28 */ |
11053 | #define CAN_F20R2_FB29_Pos (29U) |
||
9 | mjames | 11054 | #define CAN_F20R2_FB29_Msk (0x1UL << CAN_F20R2_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 11055 | #define CAN_F20R2_FB29 CAN_F20R2_FB29_Msk /*!< Filter bit 29 */ |
11056 | #define CAN_F20R2_FB30_Pos (30U) |
||
9 | mjames | 11057 | #define CAN_F20R2_FB30_Msk (0x1UL << CAN_F20R2_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 11058 | #define CAN_F20R2_FB30 CAN_F20R2_FB30_Msk /*!< Filter bit 30 */ |
11059 | #define CAN_F20R2_FB31_Pos (31U) |
||
9 | mjames | 11060 | #define CAN_F20R2_FB31_Msk (0x1UL << CAN_F20R2_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 11061 | #define CAN_F20R2_FB31 CAN_F20R2_FB31_Msk /*!< Filter bit 31 */ |
11062 | |||
11063 | /******************* Bit definition for CAN_F21R2 register ******************/ |
||
11064 | #define CAN_F21R2_FB0_Pos (0U) |
||
9 | mjames | 11065 | #define CAN_F21R2_FB0_Msk (0x1UL << CAN_F21R2_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 11066 | #define CAN_F21R2_FB0 CAN_F21R2_FB0_Msk /*!< Filter bit 0 */ |
11067 | #define CAN_F21R2_FB1_Pos (1U) |
||
9 | mjames | 11068 | #define CAN_F21R2_FB1_Msk (0x1UL << CAN_F21R2_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 11069 | #define CAN_F21R2_FB1 CAN_F21R2_FB1_Msk /*!< Filter bit 1 */ |
11070 | #define CAN_F21R2_FB2_Pos (2U) |
||
9 | mjames | 11071 | #define CAN_F21R2_FB2_Msk (0x1UL << CAN_F21R2_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 11072 | #define CAN_F21R2_FB2 CAN_F21R2_FB2_Msk /*!< Filter bit 2 */ |
11073 | #define CAN_F21R2_FB3_Pos (3U) |
||
9 | mjames | 11074 | #define CAN_F21R2_FB3_Msk (0x1UL << CAN_F21R2_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 11075 | #define CAN_F21R2_FB3 CAN_F21R2_FB3_Msk /*!< Filter bit 3 */ |
11076 | #define CAN_F21R2_FB4_Pos (4U) |
||
9 | mjames | 11077 | #define CAN_F21R2_FB4_Msk (0x1UL << CAN_F21R2_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 11078 | #define CAN_F21R2_FB4 CAN_F21R2_FB4_Msk /*!< Filter bit 4 */ |
11079 | #define CAN_F21R2_FB5_Pos (5U) |
||
9 | mjames | 11080 | #define CAN_F21R2_FB5_Msk (0x1UL << CAN_F21R2_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 11081 | #define CAN_F21R2_FB5 CAN_F21R2_FB5_Msk /*!< Filter bit 5 */ |
11082 | #define CAN_F21R2_FB6_Pos (6U) |
||
9 | mjames | 11083 | #define CAN_F21R2_FB6_Msk (0x1UL << CAN_F21R2_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 11084 | #define CAN_F21R2_FB6 CAN_F21R2_FB6_Msk /*!< Filter bit 6 */ |
11085 | #define CAN_F21R2_FB7_Pos (7U) |
||
9 | mjames | 11086 | #define CAN_F21R2_FB7_Msk (0x1UL << CAN_F21R2_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 11087 | #define CAN_F21R2_FB7 CAN_F21R2_FB7_Msk /*!< Filter bit 7 */ |
11088 | #define CAN_F21R2_FB8_Pos (8U) |
||
9 | mjames | 11089 | #define CAN_F21R2_FB8_Msk (0x1UL << CAN_F21R2_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 11090 | #define CAN_F21R2_FB8 CAN_F21R2_FB8_Msk /*!< Filter bit 8 */ |
11091 | #define CAN_F21R2_FB9_Pos (9U) |
||
9 | mjames | 11092 | #define CAN_F21R2_FB9_Msk (0x1UL << CAN_F21R2_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 11093 | #define CAN_F21R2_FB9 CAN_F21R2_FB9_Msk /*!< Filter bit 9 */ |
11094 | #define CAN_F21R2_FB10_Pos (10U) |
||
9 | mjames | 11095 | #define CAN_F21R2_FB10_Msk (0x1UL << CAN_F21R2_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 11096 | #define CAN_F21R2_FB10 CAN_F21R2_FB10_Msk /*!< Filter bit 10 */ |
11097 | #define CAN_F21R2_FB11_Pos (11U) |
||
9 | mjames | 11098 | #define CAN_F21R2_FB11_Msk (0x1UL << CAN_F21R2_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 11099 | #define CAN_F21R2_FB11 CAN_F21R2_FB11_Msk /*!< Filter bit 11 */ |
11100 | #define CAN_F21R2_FB12_Pos (12U) |
||
9 | mjames | 11101 | #define CAN_F21R2_FB12_Msk (0x1UL << CAN_F21R2_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 11102 | #define CAN_F21R2_FB12 CAN_F21R2_FB12_Msk /*!< Filter bit 12 */ |
11103 | #define CAN_F21R2_FB13_Pos (13U) |
||
9 | mjames | 11104 | #define CAN_F21R2_FB13_Msk (0x1UL << CAN_F21R2_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 11105 | #define CAN_F21R2_FB13 CAN_F21R2_FB13_Msk /*!< Filter bit 13 */ |
11106 | #define CAN_F21R2_FB14_Pos (14U) |
||
9 | mjames | 11107 | #define CAN_F21R2_FB14_Msk (0x1UL << CAN_F21R2_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 11108 | #define CAN_F21R2_FB14 CAN_F21R2_FB14_Msk /*!< Filter bit 14 */ |
11109 | #define CAN_F21R2_FB15_Pos (15U) |
||
9 | mjames | 11110 | #define CAN_F21R2_FB15_Msk (0x1UL << CAN_F21R2_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 11111 | #define CAN_F21R2_FB15 CAN_F21R2_FB15_Msk /*!< Filter bit 15 */ |
11112 | #define CAN_F21R2_FB16_Pos (16U) |
||
9 | mjames | 11113 | #define CAN_F21R2_FB16_Msk (0x1UL << CAN_F21R2_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 11114 | #define CAN_F21R2_FB16 CAN_F21R2_FB16_Msk /*!< Filter bit 16 */ |
11115 | #define CAN_F21R2_FB17_Pos (17U) |
||
9 | mjames | 11116 | #define CAN_F21R2_FB17_Msk (0x1UL << CAN_F21R2_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 11117 | #define CAN_F21R2_FB17 CAN_F21R2_FB17_Msk /*!< Filter bit 17 */ |
11118 | #define CAN_F21R2_FB18_Pos (18U) |
||
9 | mjames | 11119 | #define CAN_F21R2_FB18_Msk (0x1UL << CAN_F21R2_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 11120 | #define CAN_F21R2_FB18 CAN_F21R2_FB18_Msk /*!< Filter bit 18 */ |
11121 | #define CAN_F21R2_FB19_Pos (19U) |
||
9 | mjames | 11122 | #define CAN_F21R2_FB19_Msk (0x1UL << CAN_F21R2_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 11123 | #define CAN_F21R2_FB19 CAN_F21R2_FB19_Msk /*!< Filter bit 19 */ |
11124 | #define CAN_F21R2_FB20_Pos (20U) |
||
9 | mjames | 11125 | #define CAN_F21R2_FB20_Msk (0x1UL << CAN_F21R2_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 11126 | #define CAN_F21R2_FB20 CAN_F21R2_FB20_Msk /*!< Filter bit 20 */ |
11127 | #define CAN_F21R2_FB21_Pos (21U) |
||
9 | mjames | 11128 | #define CAN_F21R2_FB21_Msk (0x1UL << CAN_F21R2_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 11129 | #define CAN_F21R2_FB21 CAN_F21R2_FB21_Msk /*!< Filter bit 21 */ |
11130 | #define CAN_F21R2_FB22_Pos (22U) |
||
9 | mjames | 11131 | #define CAN_F21R2_FB22_Msk (0x1UL << CAN_F21R2_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 11132 | #define CAN_F21R2_FB22 CAN_F21R2_FB22_Msk /*!< Filter bit 22 */ |
11133 | #define CAN_F21R2_FB23_Pos (23U) |
||
9 | mjames | 11134 | #define CAN_F21R2_FB23_Msk (0x1UL << CAN_F21R2_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 11135 | #define CAN_F21R2_FB23 CAN_F21R2_FB23_Msk /*!< Filter bit 23 */ |
11136 | #define CAN_F21R2_FB24_Pos (24U) |
||
9 | mjames | 11137 | #define CAN_F21R2_FB24_Msk (0x1UL << CAN_F21R2_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 11138 | #define CAN_F21R2_FB24 CAN_F21R2_FB24_Msk /*!< Filter bit 24 */ |
11139 | #define CAN_F21R2_FB25_Pos (25U) |
||
9 | mjames | 11140 | #define CAN_F21R2_FB25_Msk (0x1UL << CAN_F21R2_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 11141 | #define CAN_F21R2_FB25 CAN_F21R2_FB25_Msk /*!< Filter bit 25 */ |
11142 | #define CAN_F21R2_FB26_Pos (26U) |
||
9 | mjames | 11143 | #define CAN_F21R2_FB26_Msk (0x1UL << CAN_F21R2_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 11144 | #define CAN_F21R2_FB26 CAN_F21R2_FB26_Msk /*!< Filter bit 26 */ |
11145 | #define CAN_F21R2_FB27_Pos (27U) |
||
9 | mjames | 11146 | #define CAN_F21R2_FB27_Msk (0x1UL << CAN_F21R2_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 11147 | #define CAN_F21R2_FB27 CAN_F21R2_FB27_Msk /*!< Filter bit 27 */ |
11148 | #define CAN_F21R2_FB28_Pos (28U) |
||
9 | mjames | 11149 | #define CAN_F21R2_FB28_Msk (0x1UL << CAN_F21R2_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 11150 | #define CAN_F21R2_FB28 CAN_F21R2_FB28_Msk /*!< Filter bit 28 */ |
11151 | #define CAN_F21R2_FB29_Pos (29U) |
||
9 | mjames | 11152 | #define CAN_F21R2_FB29_Msk (0x1UL << CAN_F21R2_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 11153 | #define CAN_F21R2_FB29 CAN_F21R2_FB29_Msk /*!< Filter bit 29 */ |
11154 | #define CAN_F21R2_FB30_Pos (30U) |
||
9 | mjames | 11155 | #define CAN_F21R2_FB30_Msk (0x1UL << CAN_F21R2_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 11156 | #define CAN_F21R2_FB30 CAN_F21R2_FB30_Msk /*!< Filter bit 30 */ |
11157 | #define CAN_F21R2_FB31_Pos (31U) |
||
9 | mjames | 11158 | #define CAN_F21R2_FB31_Msk (0x1UL << CAN_F21R2_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 11159 | #define CAN_F21R2_FB31 CAN_F21R2_FB31_Msk /*!< Filter bit 31 */ |
11160 | |||
11161 | /******************* Bit definition for CAN_F22R2 register ******************/ |
||
11162 | #define CAN_F22R2_FB0_Pos (0U) |
||
9 | mjames | 11163 | #define CAN_F22R2_FB0_Msk (0x1UL << CAN_F22R2_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 11164 | #define CAN_F22R2_FB0 CAN_F22R2_FB0_Msk /*!< Filter bit 0 */ |
11165 | #define CAN_F22R2_FB1_Pos (1U) |
||
9 | mjames | 11166 | #define CAN_F22R2_FB1_Msk (0x1UL << CAN_F22R2_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 11167 | #define CAN_F22R2_FB1 CAN_F22R2_FB1_Msk /*!< Filter bit 1 */ |
11168 | #define CAN_F22R2_FB2_Pos (2U) |
||
9 | mjames | 11169 | #define CAN_F22R2_FB2_Msk (0x1UL << CAN_F22R2_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 11170 | #define CAN_F22R2_FB2 CAN_F22R2_FB2_Msk /*!< Filter bit 2 */ |
11171 | #define CAN_F22R2_FB3_Pos (3U) |
||
9 | mjames | 11172 | #define CAN_F22R2_FB3_Msk (0x1UL << CAN_F22R2_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 11173 | #define CAN_F22R2_FB3 CAN_F22R2_FB3_Msk /*!< Filter bit 3 */ |
11174 | #define CAN_F22R2_FB4_Pos (4U) |
||
9 | mjames | 11175 | #define CAN_F22R2_FB4_Msk (0x1UL << CAN_F22R2_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 11176 | #define CAN_F22R2_FB4 CAN_F22R2_FB4_Msk /*!< Filter bit 4 */ |
11177 | #define CAN_F22R2_FB5_Pos (5U) |
||
9 | mjames | 11178 | #define CAN_F22R2_FB5_Msk (0x1UL << CAN_F22R2_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 11179 | #define CAN_F22R2_FB5 CAN_F22R2_FB5_Msk /*!< Filter bit 5 */ |
11180 | #define CAN_F22R2_FB6_Pos (6U) |
||
9 | mjames | 11181 | #define CAN_F22R2_FB6_Msk (0x1UL << CAN_F22R2_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 11182 | #define CAN_F22R2_FB6 CAN_F22R2_FB6_Msk /*!< Filter bit 6 */ |
11183 | #define CAN_F22R2_FB7_Pos (7U) |
||
9 | mjames | 11184 | #define CAN_F22R2_FB7_Msk (0x1UL << CAN_F22R2_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 11185 | #define CAN_F22R2_FB7 CAN_F22R2_FB7_Msk /*!< Filter bit 7 */ |
11186 | #define CAN_F22R2_FB8_Pos (8U) |
||
9 | mjames | 11187 | #define CAN_F22R2_FB8_Msk (0x1UL << CAN_F22R2_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 11188 | #define CAN_F22R2_FB8 CAN_F22R2_FB8_Msk /*!< Filter bit 8 */ |
11189 | #define CAN_F22R2_FB9_Pos (9U) |
||
9 | mjames | 11190 | #define CAN_F22R2_FB9_Msk (0x1UL << CAN_F22R2_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 11191 | #define CAN_F22R2_FB9 CAN_F22R2_FB9_Msk /*!< Filter bit 9 */ |
11192 | #define CAN_F22R2_FB10_Pos (10U) |
||
9 | mjames | 11193 | #define CAN_F22R2_FB10_Msk (0x1UL << CAN_F22R2_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 11194 | #define CAN_F22R2_FB10 CAN_F22R2_FB10_Msk /*!< Filter bit 10 */ |
11195 | #define CAN_F22R2_FB11_Pos (11U) |
||
9 | mjames | 11196 | #define CAN_F22R2_FB11_Msk (0x1UL << CAN_F22R2_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 11197 | #define CAN_F22R2_FB11 CAN_F22R2_FB11_Msk /*!< Filter bit 11 */ |
11198 | #define CAN_F22R2_FB12_Pos (12U) |
||
9 | mjames | 11199 | #define CAN_F22R2_FB12_Msk (0x1UL << CAN_F22R2_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 11200 | #define CAN_F22R2_FB12 CAN_F22R2_FB12_Msk /*!< Filter bit 12 */ |
11201 | #define CAN_F22R2_FB13_Pos (13U) |
||
9 | mjames | 11202 | #define CAN_F22R2_FB13_Msk (0x1UL << CAN_F22R2_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 11203 | #define CAN_F22R2_FB13 CAN_F22R2_FB13_Msk /*!< Filter bit 13 */ |
11204 | #define CAN_F22R2_FB14_Pos (14U) |
||
9 | mjames | 11205 | #define CAN_F22R2_FB14_Msk (0x1UL << CAN_F22R2_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 11206 | #define CAN_F22R2_FB14 CAN_F22R2_FB14_Msk /*!< Filter bit 14 */ |
11207 | #define CAN_F22R2_FB15_Pos (15U) |
||
9 | mjames | 11208 | #define CAN_F22R2_FB15_Msk (0x1UL << CAN_F22R2_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 11209 | #define CAN_F22R2_FB15 CAN_F22R2_FB15_Msk /*!< Filter bit 15 */ |
11210 | #define CAN_F22R2_FB16_Pos (16U) |
||
9 | mjames | 11211 | #define CAN_F22R2_FB16_Msk (0x1UL << CAN_F22R2_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 11212 | #define CAN_F22R2_FB16 CAN_F22R2_FB16_Msk /*!< Filter bit 16 */ |
11213 | #define CAN_F22R2_FB17_Pos (17U) |
||
9 | mjames | 11214 | #define CAN_F22R2_FB17_Msk (0x1UL << CAN_F22R2_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 11215 | #define CAN_F22R2_FB17 CAN_F22R2_FB17_Msk /*!< Filter bit 17 */ |
11216 | #define CAN_F22R2_FB18_Pos (18U) |
||
9 | mjames | 11217 | #define CAN_F22R2_FB18_Msk (0x1UL << CAN_F22R2_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 11218 | #define CAN_F22R2_FB18 CAN_F22R2_FB18_Msk /*!< Filter bit 18 */ |
11219 | #define CAN_F22R2_FB19_Pos (19U) |
||
9 | mjames | 11220 | #define CAN_F22R2_FB19_Msk (0x1UL << CAN_F22R2_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 11221 | #define CAN_F22R2_FB19 CAN_F22R2_FB19_Msk /*!< Filter bit 19 */ |
11222 | #define CAN_F22R2_FB20_Pos (20U) |
||
9 | mjames | 11223 | #define CAN_F22R2_FB20_Msk (0x1UL << CAN_F22R2_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 11224 | #define CAN_F22R2_FB20 CAN_F22R2_FB20_Msk /*!< Filter bit 20 */ |
11225 | #define CAN_F22R2_FB21_Pos (21U) |
||
9 | mjames | 11226 | #define CAN_F22R2_FB21_Msk (0x1UL << CAN_F22R2_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 11227 | #define CAN_F22R2_FB21 CAN_F22R2_FB21_Msk /*!< Filter bit 21 */ |
11228 | #define CAN_F22R2_FB22_Pos (22U) |
||
9 | mjames | 11229 | #define CAN_F22R2_FB22_Msk (0x1UL << CAN_F22R2_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 11230 | #define CAN_F22R2_FB22 CAN_F22R2_FB22_Msk /*!< Filter bit 22 */ |
11231 | #define CAN_F22R2_FB23_Pos (23U) |
||
9 | mjames | 11232 | #define CAN_F22R2_FB23_Msk (0x1UL << CAN_F22R2_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 11233 | #define CAN_F22R2_FB23 CAN_F22R2_FB23_Msk /*!< Filter bit 23 */ |
11234 | #define CAN_F22R2_FB24_Pos (24U) |
||
9 | mjames | 11235 | #define CAN_F22R2_FB24_Msk (0x1UL << CAN_F22R2_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 11236 | #define CAN_F22R2_FB24 CAN_F22R2_FB24_Msk /*!< Filter bit 24 */ |
11237 | #define CAN_F22R2_FB25_Pos (25U) |
||
9 | mjames | 11238 | #define CAN_F22R2_FB25_Msk (0x1UL << CAN_F22R2_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 11239 | #define CAN_F22R2_FB25 CAN_F22R2_FB25_Msk /*!< Filter bit 25 */ |
11240 | #define CAN_F22R2_FB26_Pos (26U) |
||
9 | mjames | 11241 | #define CAN_F22R2_FB26_Msk (0x1UL << CAN_F22R2_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 11242 | #define CAN_F22R2_FB26 CAN_F22R2_FB26_Msk /*!< Filter bit 26 */ |
11243 | #define CAN_F22R2_FB27_Pos (27U) |
||
9 | mjames | 11244 | #define CAN_F22R2_FB27_Msk (0x1UL << CAN_F22R2_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 11245 | #define CAN_F22R2_FB27 CAN_F22R2_FB27_Msk /*!< Filter bit 27 */ |
11246 | #define CAN_F22R2_FB28_Pos (28U) |
||
9 | mjames | 11247 | #define CAN_F22R2_FB28_Msk (0x1UL << CAN_F22R2_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 11248 | #define CAN_F22R2_FB28 CAN_F22R2_FB28_Msk /*!< Filter bit 28 */ |
11249 | #define CAN_F22R2_FB29_Pos (29U) |
||
9 | mjames | 11250 | #define CAN_F22R2_FB29_Msk (0x1UL << CAN_F22R2_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 11251 | #define CAN_F22R2_FB29 CAN_F22R2_FB29_Msk /*!< Filter bit 29 */ |
11252 | #define CAN_F22R2_FB30_Pos (30U) |
||
9 | mjames | 11253 | #define CAN_F22R2_FB30_Msk (0x1UL << CAN_F22R2_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 11254 | #define CAN_F22R2_FB30 CAN_F22R2_FB30_Msk /*!< Filter bit 30 */ |
11255 | #define CAN_F22R2_FB31_Pos (31U) |
||
9 | mjames | 11256 | #define CAN_F22R2_FB31_Msk (0x1UL << CAN_F22R2_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 11257 | #define CAN_F22R2_FB31 CAN_F22R2_FB31_Msk /*!< Filter bit 31 */ |
11258 | |||
11259 | /******************* Bit definition for CAN_F23R2 register ******************/ |
||
11260 | #define CAN_F23R2_FB0_Pos (0U) |
||
9 | mjames | 11261 | #define CAN_F23R2_FB0_Msk (0x1UL << CAN_F23R2_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 11262 | #define CAN_F23R2_FB0 CAN_F23R2_FB0_Msk /*!< Filter bit 0 */ |
11263 | #define CAN_F23R2_FB1_Pos (1U) |
||
9 | mjames | 11264 | #define CAN_F23R2_FB1_Msk (0x1UL << CAN_F23R2_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 11265 | #define CAN_F23R2_FB1 CAN_F23R2_FB1_Msk /*!< Filter bit 1 */ |
11266 | #define CAN_F23R2_FB2_Pos (2U) |
||
9 | mjames | 11267 | #define CAN_F23R2_FB2_Msk (0x1UL << CAN_F23R2_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 11268 | #define CAN_F23R2_FB2 CAN_F23R2_FB2_Msk /*!< Filter bit 2 */ |
11269 | #define CAN_F23R2_FB3_Pos (3U) |
||
9 | mjames | 11270 | #define CAN_F23R2_FB3_Msk (0x1UL << CAN_F23R2_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 11271 | #define CAN_F23R2_FB3 CAN_F23R2_FB3_Msk /*!< Filter bit 3 */ |
11272 | #define CAN_F23R2_FB4_Pos (4U) |
||
9 | mjames | 11273 | #define CAN_F23R2_FB4_Msk (0x1UL << CAN_F23R2_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 11274 | #define CAN_F23R2_FB4 CAN_F23R2_FB4_Msk /*!< Filter bit 4 */ |
11275 | #define CAN_F23R2_FB5_Pos (5U) |
||
9 | mjames | 11276 | #define CAN_F23R2_FB5_Msk (0x1UL << CAN_F23R2_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 11277 | #define CAN_F23R2_FB5 CAN_F23R2_FB5_Msk /*!< Filter bit 5 */ |
11278 | #define CAN_F23R2_FB6_Pos (6U) |
||
9 | mjames | 11279 | #define CAN_F23R2_FB6_Msk (0x1UL << CAN_F23R2_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 11280 | #define CAN_F23R2_FB6 CAN_F23R2_FB6_Msk /*!< Filter bit 6 */ |
11281 | #define CAN_F23R2_FB7_Pos (7U) |
||
9 | mjames | 11282 | #define CAN_F23R2_FB7_Msk (0x1UL << CAN_F23R2_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 11283 | #define CAN_F23R2_FB7 CAN_F23R2_FB7_Msk /*!< Filter bit 7 */ |
11284 | #define CAN_F23R2_FB8_Pos (8U) |
||
9 | mjames | 11285 | #define CAN_F23R2_FB8_Msk (0x1UL << CAN_F23R2_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 11286 | #define CAN_F23R2_FB8 CAN_F23R2_FB8_Msk /*!< Filter bit 8 */ |
11287 | #define CAN_F23R2_FB9_Pos (9U) |
||
9 | mjames | 11288 | #define CAN_F23R2_FB9_Msk (0x1UL << CAN_F23R2_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 11289 | #define CAN_F23R2_FB9 CAN_F23R2_FB9_Msk /*!< Filter bit 9 */ |
11290 | #define CAN_F23R2_FB10_Pos (10U) |
||
9 | mjames | 11291 | #define CAN_F23R2_FB10_Msk (0x1UL << CAN_F23R2_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 11292 | #define CAN_F23R2_FB10 CAN_F23R2_FB10_Msk /*!< Filter bit 10 */ |
11293 | #define CAN_F23R2_FB11_Pos (11U) |
||
9 | mjames | 11294 | #define CAN_F23R2_FB11_Msk (0x1UL << CAN_F23R2_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 11295 | #define CAN_F23R2_FB11 CAN_F23R2_FB11_Msk /*!< Filter bit 11 */ |
11296 | #define CAN_F23R2_FB12_Pos (12U) |
||
9 | mjames | 11297 | #define CAN_F23R2_FB12_Msk (0x1UL << CAN_F23R2_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 11298 | #define CAN_F23R2_FB12 CAN_F23R2_FB12_Msk /*!< Filter bit 12 */ |
11299 | #define CAN_F23R2_FB13_Pos (13U) |
||
9 | mjames | 11300 | #define CAN_F23R2_FB13_Msk (0x1UL << CAN_F23R2_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 11301 | #define CAN_F23R2_FB13 CAN_F23R2_FB13_Msk /*!< Filter bit 13 */ |
11302 | #define CAN_F23R2_FB14_Pos (14U) |
||
9 | mjames | 11303 | #define CAN_F23R2_FB14_Msk (0x1UL << CAN_F23R2_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 11304 | #define CAN_F23R2_FB14 CAN_F23R2_FB14_Msk /*!< Filter bit 14 */ |
11305 | #define CAN_F23R2_FB15_Pos (15U) |
||
9 | mjames | 11306 | #define CAN_F23R2_FB15_Msk (0x1UL << CAN_F23R2_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 11307 | #define CAN_F23R2_FB15 CAN_F23R2_FB15_Msk /*!< Filter bit 15 */ |
11308 | #define CAN_F23R2_FB16_Pos (16U) |
||
9 | mjames | 11309 | #define CAN_F23R2_FB16_Msk (0x1UL << CAN_F23R2_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 11310 | #define CAN_F23R2_FB16 CAN_F23R2_FB16_Msk /*!< Filter bit 16 */ |
11311 | #define CAN_F23R2_FB17_Pos (17U) |
||
9 | mjames | 11312 | #define CAN_F23R2_FB17_Msk (0x1UL << CAN_F23R2_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 11313 | #define CAN_F23R2_FB17 CAN_F23R2_FB17_Msk /*!< Filter bit 17 */ |
11314 | #define CAN_F23R2_FB18_Pos (18U) |
||
9 | mjames | 11315 | #define CAN_F23R2_FB18_Msk (0x1UL << CAN_F23R2_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 11316 | #define CAN_F23R2_FB18 CAN_F23R2_FB18_Msk /*!< Filter bit 18 */ |
11317 | #define CAN_F23R2_FB19_Pos (19U) |
||
9 | mjames | 11318 | #define CAN_F23R2_FB19_Msk (0x1UL << CAN_F23R2_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 11319 | #define CAN_F23R2_FB19 CAN_F23R2_FB19_Msk /*!< Filter bit 19 */ |
11320 | #define CAN_F23R2_FB20_Pos (20U) |
||
9 | mjames | 11321 | #define CAN_F23R2_FB20_Msk (0x1UL << CAN_F23R2_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 11322 | #define CAN_F23R2_FB20 CAN_F23R2_FB20_Msk /*!< Filter bit 20 */ |
11323 | #define CAN_F23R2_FB21_Pos (21U) |
||
9 | mjames | 11324 | #define CAN_F23R2_FB21_Msk (0x1UL << CAN_F23R2_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 11325 | #define CAN_F23R2_FB21 CAN_F23R2_FB21_Msk /*!< Filter bit 21 */ |
11326 | #define CAN_F23R2_FB22_Pos (22U) |
||
9 | mjames | 11327 | #define CAN_F23R2_FB22_Msk (0x1UL << CAN_F23R2_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 11328 | #define CAN_F23R2_FB22 CAN_F23R2_FB22_Msk /*!< Filter bit 22 */ |
11329 | #define CAN_F23R2_FB23_Pos (23U) |
||
9 | mjames | 11330 | #define CAN_F23R2_FB23_Msk (0x1UL << CAN_F23R2_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 11331 | #define CAN_F23R2_FB23 CAN_F23R2_FB23_Msk /*!< Filter bit 23 */ |
11332 | #define CAN_F23R2_FB24_Pos (24U) |
||
9 | mjames | 11333 | #define CAN_F23R2_FB24_Msk (0x1UL << CAN_F23R2_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 11334 | #define CAN_F23R2_FB24 CAN_F23R2_FB24_Msk /*!< Filter bit 24 */ |
11335 | #define CAN_F23R2_FB25_Pos (25U) |
||
9 | mjames | 11336 | #define CAN_F23R2_FB25_Msk (0x1UL << CAN_F23R2_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 11337 | #define CAN_F23R2_FB25 CAN_F23R2_FB25_Msk /*!< Filter bit 25 */ |
11338 | #define CAN_F23R2_FB26_Pos (26U) |
||
9 | mjames | 11339 | #define CAN_F23R2_FB26_Msk (0x1UL << CAN_F23R2_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 11340 | #define CAN_F23R2_FB26 CAN_F23R2_FB26_Msk /*!< Filter bit 26 */ |
11341 | #define CAN_F23R2_FB27_Pos (27U) |
||
9 | mjames | 11342 | #define CAN_F23R2_FB27_Msk (0x1UL << CAN_F23R2_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 11343 | #define CAN_F23R2_FB27 CAN_F23R2_FB27_Msk /*!< Filter bit 27 */ |
11344 | #define CAN_F23R2_FB28_Pos (28U) |
||
9 | mjames | 11345 | #define CAN_F23R2_FB28_Msk (0x1UL << CAN_F23R2_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 11346 | #define CAN_F23R2_FB28 CAN_F23R2_FB28_Msk /*!< Filter bit 28 */ |
11347 | #define CAN_F23R2_FB29_Pos (29U) |
||
9 | mjames | 11348 | #define CAN_F23R2_FB29_Msk (0x1UL << CAN_F23R2_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 11349 | #define CAN_F23R2_FB29 CAN_F23R2_FB29_Msk /*!< Filter bit 29 */ |
11350 | #define CAN_F23R2_FB30_Pos (30U) |
||
9 | mjames | 11351 | #define CAN_F23R2_FB30_Msk (0x1UL << CAN_F23R2_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 11352 | #define CAN_F23R2_FB30 CAN_F23R2_FB30_Msk /*!< Filter bit 30 */ |
11353 | #define CAN_F23R2_FB31_Pos (31U) |
||
9 | mjames | 11354 | #define CAN_F23R2_FB31_Msk (0x1UL << CAN_F23R2_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 11355 | #define CAN_F23R2_FB31 CAN_F23R2_FB31_Msk /*!< Filter bit 31 */ |
11356 | |||
11357 | /******************* Bit definition for CAN_F24R2 register ******************/ |
||
11358 | #define CAN_F24R2_FB0_Pos (0U) |
||
9 | mjames | 11359 | #define CAN_F24R2_FB0_Msk (0x1UL << CAN_F24R2_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 11360 | #define CAN_F24R2_FB0 CAN_F24R2_FB0_Msk /*!< Filter bit 0 */ |
11361 | #define CAN_F24R2_FB1_Pos (1U) |
||
9 | mjames | 11362 | #define CAN_F24R2_FB1_Msk (0x1UL << CAN_F24R2_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 11363 | #define CAN_F24R2_FB1 CAN_F24R2_FB1_Msk /*!< Filter bit 1 */ |
11364 | #define CAN_F24R2_FB2_Pos (2U) |
||
9 | mjames | 11365 | #define CAN_F24R2_FB2_Msk (0x1UL << CAN_F24R2_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 11366 | #define CAN_F24R2_FB2 CAN_F24R2_FB2_Msk /*!< Filter bit 2 */ |
11367 | #define CAN_F24R2_FB3_Pos (3U) |
||
9 | mjames | 11368 | #define CAN_F24R2_FB3_Msk (0x1UL << CAN_F24R2_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 11369 | #define CAN_F24R2_FB3 CAN_F24R2_FB3_Msk /*!< Filter bit 3 */ |
11370 | #define CAN_F24R2_FB4_Pos (4U) |
||
9 | mjames | 11371 | #define CAN_F24R2_FB4_Msk (0x1UL << CAN_F24R2_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 11372 | #define CAN_F24R2_FB4 CAN_F24R2_FB4_Msk /*!< Filter bit 4 */ |
11373 | #define CAN_F24R2_FB5_Pos (5U) |
||
9 | mjames | 11374 | #define CAN_F24R2_FB5_Msk (0x1UL << CAN_F24R2_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 11375 | #define CAN_F24R2_FB5 CAN_F24R2_FB5_Msk /*!< Filter bit 5 */ |
11376 | #define CAN_F24R2_FB6_Pos (6U) |
||
9 | mjames | 11377 | #define CAN_F24R2_FB6_Msk (0x1UL << CAN_F24R2_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 11378 | #define CAN_F24R2_FB6 CAN_F24R2_FB6_Msk /*!< Filter bit 6 */ |
11379 | #define CAN_F24R2_FB7_Pos (7U) |
||
9 | mjames | 11380 | #define CAN_F24R2_FB7_Msk (0x1UL << CAN_F24R2_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 11381 | #define CAN_F24R2_FB7 CAN_F24R2_FB7_Msk /*!< Filter bit 7 */ |
11382 | #define CAN_F24R2_FB8_Pos (8U) |
||
9 | mjames | 11383 | #define CAN_F24R2_FB8_Msk (0x1UL << CAN_F24R2_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 11384 | #define CAN_F24R2_FB8 CAN_F24R2_FB8_Msk /*!< Filter bit 8 */ |
11385 | #define CAN_F24R2_FB9_Pos (9U) |
||
9 | mjames | 11386 | #define CAN_F24R2_FB9_Msk (0x1UL << CAN_F24R2_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 11387 | #define CAN_F24R2_FB9 CAN_F24R2_FB9_Msk /*!< Filter bit 9 */ |
11388 | #define CAN_F24R2_FB10_Pos (10U) |
||
9 | mjames | 11389 | #define CAN_F24R2_FB10_Msk (0x1UL << CAN_F24R2_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 11390 | #define CAN_F24R2_FB10 CAN_F24R2_FB10_Msk /*!< Filter bit 10 */ |
11391 | #define CAN_F24R2_FB11_Pos (11U) |
||
9 | mjames | 11392 | #define CAN_F24R2_FB11_Msk (0x1UL << CAN_F24R2_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 11393 | #define CAN_F24R2_FB11 CAN_F24R2_FB11_Msk /*!< Filter bit 11 */ |
11394 | #define CAN_F24R2_FB12_Pos (12U) |
||
9 | mjames | 11395 | #define CAN_F24R2_FB12_Msk (0x1UL << CAN_F24R2_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 11396 | #define CAN_F24R2_FB12 CAN_F24R2_FB12_Msk /*!< Filter bit 12 */ |
11397 | #define CAN_F24R2_FB13_Pos (13U) |
||
9 | mjames | 11398 | #define CAN_F24R2_FB13_Msk (0x1UL << CAN_F24R2_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 11399 | #define CAN_F24R2_FB13 CAN_F24R2_FB13_Msk /*!< Filter bit 13 */ |
11400 | #define CAN_F24R2_FB14_Pos (14U) |
||
9 | mjames | 11401 | #define CAN_F24R2_FB14_Msk (0x1UL << CAN_F24R2_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 11402 | #define CAN_F24R2_FB14 CAN_F24R2_FB14_Msk /*!< Filter bit 14 */ |
11403 | #define CAN_F24R2_FB15_Pos (15U) |
||
9 | mjames | 11404 | #define CAN_F24R2_FB15_Msk (0x1UL << CAN_F24R2_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 11405 | #define CAN_F24R2_FB15 CAN_F24R2_FB15_Msk /*!< Filter bit 15 */ |
11406 | #define CAN_F24R2_FB16_Pos (16U) |
||
9 | mjames | 11407 | #define CAN_F24R2_FB16_Msk (0x1UL << CAN_F24R2_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 11408 | #define CAN_F24R2_FB16 CAN_F24R2_FB16_Msk /*!< Filter bit 16 */ |
11409 | #define CAN_F24R2_FB17_Pos (17U) |
||
9 | mjames | 11410 | #define CAN_F24R2_FB17_Msk (0x1UL << CAN_F24R2_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 11411 | #define CAN_F24R2_FB17 CAN_F24R2_FB17_Msk /*!< Filter bit 17 */ |
11412 | #define CAN_F24R2_FB18_Pos (18U) |
||
9 | mjames | 11413 | #define CAN_F24R2_FB18_Msk (0x1UL << CAN_F24R2_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 11414 | #define CAN_F24R2_FB18 CAN_F24R2_FB18_Msk /*!< Filter bit 18 */ |
11415 | #define CAN_F24R2_FB19_Pos (19U) |
||
9 | mjames | 11416 | #define CAN_F24R2_FB19_Msk (0x1UL << CAN_F24R2_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 11417 | #define CAN_F24R2_FB19 CAN_F24R2_FB19_Msk /*!< Filter bit 19 */ |
11418 | #define CAN_F24R2_FB20_Pos (20U) |
||
9 | mjames | 11419 | #define CAN_F24R2_FB20_Msk (0x1UL << CAN_F24R2_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 11420 | #define CAN_F24R2_FB20 CAN_F24R2_FB20_Msk /*!< Filter bit 20 */ |
11421 | #define CAN_F24R2_FB21_Pos (21U) |
||
9 | mjames | 11422 | #define CAN_F24R2_FB21_Msk (0x1UL << CAN_F24R2_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 11423 | #define CAN_F24R2_FB21 CAN_F24R2_FB21_Msk /*!< Filter bit 21 */ |
11424 | #define CAN_F24R2_FB22_Pos (22U) |
||
9 | mjames | 11425 | #define CAN_F24R2_FB22_Msk (0x1UL << CAN_F24R2_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 11426 | #define CAN_F24R2_FB22 CAN_F24R2_FB22_Msk /*!< Filter bit 22 */ |
11427 | #define CAN_F24R2_FB23_Pos (23U) |
||
9 | mjames | 11428 | #define CAN_F24R2_FB23_Msk (0x1UL << CAN_F24R2_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 11429 | #define CAN_F24R2_FB23 CAN_F24R2_FB23_Msk /*!< Filter bit 23 */ |
11430 | #define CAN_F24R2_FB24_Pos (24U) |
||
9 | mjames | 11431 | #define CAN_F24R2_FB24_Msk (0x1UL << CAN_F24R2_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 11432 | #define CAN_F24R2_FB24 CAN_F24R2_FB24_Msk /*!< Filter bit 24 */ |
11433 | #define CAN_F24R2_FB25_Pos (25U) |
||
9 | mjames | 11434 | #define CAN_F24R2_FB25_Msk (0x1UL << CAN_F24R2_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 11435 | #define CAN_F24R2_FB25 CAN_F24R2_FB25_Msk /*!< Filter bit 25 */ |
11436 | #define CAN_F24R2_FB26_Pos (26U) |
||
9 | mjames | 11437 | #define CAN_F24R2_FB26_Msk (0x1UL << CAN_F24R2_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 11438 | #define CAN_F24R2_FB26 CAN_F24R2_FB26_Msk /*!< Filter bit 26 */ |
11439 | #define CAN_F24R2_FB27_Pos (27U) |
||
9 | mjames | 11440 | #define CAN_F24R2_FB27_Msk (0x1UL << CAN_F24R2_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 11441 | #define CAN_F24R2_FB27 CAN_F24R2_FB27_Msk /*!< Filter bit 27 */ |
11442 | #define CAN_F24R2_FB28_Pos (28U) |
||
9 | mjames | 11443 | #define CAN_F24R2_FB28_Msk (0x1UL << CAN_F24R2_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 11444 | #define CAN_F24R2_FB28 CAN_F24R2_FB28_Msk /*!< Filter bit 28 */ |
11445 | #define CAN_F24R2_FB29_Pos (29U) |
||
9 | mjames | 11446 | #define CAN_F24R2_FB29_Msk (0x1UL << CAN_F24R2_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 11447 | #define CAN_F24R2_FB29 CAN_F24R2_FB29_Msk /*!< Filter bit 29 */ |
11448 | #define CAN_F24R2_FB30_Pos (30U) |
||
9 | mjames | 11449 | #define CAN_F24R2_FB30_Msk (0x1UL << CAN_F24R2_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 11450 | #define CAN_F24R2_FB30 CAN_F24R2_FB30_Msk /*!< Filter bit 30 */ |
11451 | #define CAN_F24R2_FB31_Pos (31U) |
||
9 | mjames | 11452 | #define CAN_F24R2_FB31_Msk (0x1UL << CAN_F24R2_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 11453 | #define CAN_F24R2_FB31 CAN_F24R2_FB31_Msk /*!< Filter bit 31 */ |
11454 | |||
11455 | /******************* Bit definition for CAN_F25R2 register ******************/ |
||
11456 | #define CAN_F25R2_FB0_Pos (0U) |
||
9 | mjames | 11457 | #define CAN_F25R2_FB0_Msk (0x1UL << CAN_F25R2_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 11458 | #define CAN_F25R2_FB0 CAN_F25R2_FB0_Msk /*!< Filter bit 0 */ |
11459 | #define CAN_F25R2_FB1_Pos (1U) |
||
9 | mjames | 11460 | #define CAN_F25R2_FB1_Msk (0x1UL << CAN_F25R2_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 11461 | #define CAN_F25R2_FB1 CAN_F25R2_FB1_Msk /*!< Filter bit 1 */ |
11462 | #define CAN_F25R2_FB2_Pos (2U) |
||
9 | mjames | 11463 | #define CAN_F25R2_FB2_Msk (0x1UL << CAN_F25R2_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 11464 | #define CAN_F25R2_FB2 CAN_F25R2_FB2_Msk /*!< Filter bit 2 */ |
11465 | #define CAN_F25R2_FB3_Pos (3U) |
||
9 | mjames | 11466 | #define CAN_F25R2_FB3_Msk (0x1UL << CAN_F25R2_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 11467 | #define CAN_F25R2_FB3 CAN_F25R2_FB3_Msk /*!< Filter bit 3 */ |
11468 | #define CAN_F25R2_FB4_Pos (4U) |
||
9 | mjames | 11469 | #define CAN_F25R2_FB4_Msk (0x1UL << CAN_F25R2_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 11470 | #define CAN_F25R2_FB4 CAN_F25R2_FB4_Msk /*!< Filter bit 4 */ |
11471 | #define CAN_F25R2_FB5_Pos (5U) |
||
9 | mjames | 11472 | #define CAN_F25R2_FB5_Msk (0x1UL << CAN_F25R2_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 11473 | #define CAN_F25R2_FB5 CAN_F25R2_FB5_Msk /*!< Filter bit 5 */ |
11474 | #define CAN_F25R2_FB6_Pos (6U) |
||
9 | mjames | 11475 | #define CAN_F25R2_FB6_Msk (0x1UL << CAN_F25R2_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 11476 | #define CAN_F25R2_FB6 CAN_F25R2_FB6_Msk /*!< Filter bit 6 */ |
11477 | #define CAN_F25R2_FB7_Pos (7U) |
||
9 | mjames | 11478 | #define CAN_F25R2_FB7_Msk (0x1UL << CAN_F25R2_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 11479 | #define CAN_F25R2_FB7 CAN_F25R2_FB7_Msk /*!< Filter bit 7 */ |
11480 | #define CAN_F25R2_FB8_Pos (8U) |
||
9 | mjames | 11481 | #define CAN_F25R2_FB8_Msk (0x1UL << CAN_F25R2_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 11482 | #define CAN_F25R2_FB8 CAN_F25R2_FB8_Msk /*!< Filter bit 8 */ |
11483 | #define CAN_F25R2_FB9_Pos (9U) |
||
9 | mjames | 11484 | #define CAN_F25R2_FB9_Msk (0x1UL << CAN_F25R2_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 11485 | #define CAN_F25R2_FB9 CAN_F25R2_FB9_Msk /*!< Filter bit 9 */ |
11486 | #define CAN_F25R2_FB10_Pos (10U) |
||
9 | mjames | 11487 | #define CAN_F25R2_FB10_Msk (0x1UL << CAN_F25R2_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 11488 | #define CAN_F25R2_FB10 CAN_F25R2_FB10_Msk /*!< Filter bit 10 */ |
11489 | #define CAN_F25R2_FB11_Pos (11U) |
||
9 | mjames | 11490 | #define CAN_F25R2_FB11_Msk (0x1UL << CAN_F25R2_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 11491 | #define CAN_F25R2_FB11 CAN_F25R2_FB11_Msk /*!< Filter bit 11 */ |
11492 | #define CAN_F25R2_FB12_Pos (12U) |
||
9 | mjames | 11493 | #define CAN_F25R2_FB12_Msk (0x1UL << CAN_F25R2_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 11494 | #define CAN_F25R2_FB12 CAN_F25R2_FB12_Msk /*!< Filter bit 12 */ |
11495 | #define CAN_F25R2_FB13_Pos (13U) |
||
9 | mjames | 11496 | #define CAN_F25R2_FB13_Msk (0x1UL << CAN_F25R2_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 11497 | #define CAN_F25R2_FB13 CAN_F25R2_FB13_Msk /*!< Filter bit 13 */ |
11498 | #define CAN_F25R2_FB14_Pos (14U) |
||
9 | mjames | 11499 | #define CAN_F25R2_FB14_Msk (0x1UL << CAN_F25R2_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 11500 | #define CAN_F25R2_FB14 CAN_F25R2_FB14_Msk /*!< Filter bit 14 */ |
11501 | #define CAN_F25R2_FB15_Pos (15U) |
||
9 | mjames | 11502 | #define CAN_F25R2_FB15_Msk (0x1UL << CAN_F25R2_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 11503 | #define CAN_F25R2_FB15 CAN_F25R2_FB15_Msk /*!< Filter bit 15 */ |
11504 | #define CAN_F25R2_FB16_Pos (16U) |
||
9 | mjames | 11505 | #define CAN_F25R2_FB16_Msk (0x1UL << CAN_F25R2_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 11506 | #define CAN_F25R2_FB16 CAN_F25R2_FB16_Msk /*!< Filter bit 16 */ |
11507 | #define CAN_F25R2_FB17_Pos (17U) |
||
9 | mjames | 11508 | #define CAN_F25R2_FB17_Msk (0x1UL << CAN_F25R2_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 11509 | #define CAN_F25R2_FB17 CAN_F25R2_FB17_Msk /*!< Filter bit 17 */ |
11510 | #define CAN_F25R2_FB18_Pos (18U) |
||
9 | mjames | 11511 | #define CAN_F25R2_FB18_Msk (0x1UL << CAN_F25R2_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 11512 | #define CAN_F25R2_FB18 CAN_F25R2_FB18_Msk /*!< Filter bit 18 */ |
11513 | #define CAN_F25R2_FB19_Pos (19U) |
||
9 | mjames | 11514 | #define CAN_F25R2_FB19_Msk (0x1UL << CAN_F25R2_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 11515 | #define CAN_F25R2_FB19 CAN_F25R2_FB19_Msk /*!< Filter bit 19 */ |
11516 | #define CAN_F25R2_FB20_Pos (20U) |
||
9 | mjames | 11517 | #define CAN_F25R2_FB20_Msk (0x1UL << CAN_F25R2_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 11518 | #define CAN_F25R2_FB20 CAN_F25R2_FB20_Msk /*!< Filter bit 20 */ |
11519 | #define CAN_F25R2_FB21_Pos (21U) |
||
9 | mjames | 11520 | #define CAN_F25R2_FB21_Msk (0x1UL << CAN_F25R2_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 11521 | #define CAN_F25R2_FB21 CAN_F25R2_FB21_Msk /*!< Filter bit 21 */ |
11522 | #define CAN_F25R2_FB22_Pos (22U) |
||
9 | mjames | 11523 | #define CAN_F25R2_FB22_Msk (0x1UL << CAN_F25R2_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 11524 | #define CAN_F25R2_FB22 CAN_F25R2_FB22_Msk /*!< Filter bit 22 */ |
11525 | #define CAN_F25R2_FB23_Pos (23U) |
||
9 | mjames | 11526 | #define CAN_F25R2_FB23_Msk (0x1UL << CAN_F25R2_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 11527 | #define CAN_F25R2_FB23 CAN_F25R2_FB23_Msk /*!< Filter bit 23 */ |
11528 | #define CAN_F25R2_FB24_Pos (24U) |
||
9 | mjames | 11529 | #define CAN_F25R2_FB24_Msk (0x1UL << CAN_F25R2_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 11530 | #define CAN_F25R2_FB24 CAN_F25R2_FB24_Msk /*!< Filter bit 24 */ |
11531 | #define CAN_F25R2_FB25_Pos (25U) |
||
9 | mjames | 11532 | #define CAN_F25R2_FB25_Msk (0x1UL << CAN_F25R2_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 11533 | #define CAN_F25R2_FB25 CAN_F25R2_FB25_Msk /*!< Filter bit 25 */ |
11534 | #define CAN_F25R2_FB26_Pos (26U) |
||
9 | mjames | 11535 | #define CAN_F25R2_FB26_Msk (0x1UL << CAN_F25R2_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 11536 | #define CAN_F25R2_FB26 CAN_F25R2_FB26_Msk /*!< Filter bit 26 */ |
11537 | #define CAN_F25R2_FB27_Pos (27U) |
||
9 | mjames | 11538 | #define CAN_F25R2_FB27_Msk (0x1UL << CAN_F25R2_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 11539 | #define CAN_F25R2_FB27 CAN_F25R2_FB27_Msk /*!< Filter bit 27 */ |
11540 | #define CAN_F25R2_FB28_Pos (28U) |
||
9 | mjames | 11541 | #define CAN_F25R2_FB28_Msk (0x1UL << CAN_F25R2_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 11542 | #define CAN_F25R2_FB28 CAN_F25R2_FB28_Msk /*!< Filter bit 28 */ |
11543 | #define CAN_F25R2_FB29_Pos (29U) |
||
9 | mjames | 11544 | #define CAN_F25R2_FB29_Msk (0x1UL << CAN_F25R2_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 11545 | #define CAN_F25R2_FB29 CAN_F25R2_FB29_Msk /*!< Filter bit 29 */ |
11546 | #define CAN_F25R2_FB30_Pos (30U) |
||
9 | mjames | 11547 | #define CAN_F25R2_FB30_Msk (0x1UL << CAN_F25R2_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 11548 | #define CAN_F25R2_FB30 CAN_F25R2_FB30_Msk /*!< Filter bit 30 */ |
11549 | #define CAN_F25R2_FB31_Pos (31U) |
||
9 | mjames | 11550 | #define CAN_F25R2_FB31_Msk (0x1UL << CAN_F25R2_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 11551 | #define CAN_F25R2_FB31 CAN_F25R2_FB31_Msk /*!< Filter bit 31 */ |
11552 | |||
11553 | /******************* Bit definition for CAN_F26R2 register ******************/ |
||
11554 | #define CAN_F26R2_FB0_Pos (0U) |
||
9 | mjames | 11555 | #define CAN_F26R2_FB0_Msk (0x1UL << CAN_F26R2_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 11556 | #define CAN_F26R2_FB0 CAN_F26R2_FB0_Msk /*!< Filter bit 0 */ |
11557 | #define CAN_F26R2_FB1_Pos (1U) |
||
9 | mjames | 11558 | #define CAN_F26R2_FB1_Msk (0x1UL << CAN_F26R2_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 11559 | #define CAN_F26R2_FB1 CAN_F26R2_FB1_Msk /*!< Filter bit 1 */ |
11560 | #define CAN_F26R2_FB2_Pos (2U) |
||
9 | mjames | 11561 | #define CAN_F26R2_FB2_Msk (0x1UL << CAN_F26R2_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 11562 | #define CAN_F26R2_FB2 CAN_F26R2_FB2_Msk /*!< Filter bit 2 */ |
11563 | #define CAN_F26R2_FB3_Pos (3U) |
||
9 | mjames | 11564 | #define CAN_F26R2_FB3_Msk (0x1UL << CAN_F26R2_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 11565 | #define CAN_F26R2_FB3 CAN_F26R2_FB3_Msk /*!< Filter bit 3 */ |
11566 | #define CAN_F26R2_FB4_Pos (4U) |
||
9 | mjames | 11567 | #define CAN_F26R2_FB4_Msk (0x1UL << CAN_F26R2_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 11568 | #define CAN_F26R2_FB4 CAN_F26R2_FB4_Msk /*!< Filter bit 4 */ |
11569 | #define CAN_F26R2_FB5_Pos (5U) |
||
9 | mjames | 11570 | #define CAN_F26R2_FB5_Msk (0x1UL << CAN_F26R2_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 11571 | #define CAN_F26R2_FB5 CAN_F26R2_FB5_Msk /*!< Filter bit 5 */ |
11572 | #define CAN_F26R2_FB6_Pos (6U) |
||
9 | mjames | 11573 | #define CAN_F26R2_FB6_Msk (0x1UL << CAN_F26R2_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 11574 | #define CAN_F26R2_FB6 CAN_F26R2_FB6_Msk /*!< Filter bit 6 */ |
11575 | #define CAN_F26R2_FB7_Pos (7U) |
||
9 | mjames | 11576 | #define CAN_F26R2_FB7_Msk (0x1UL << CAN_F26R2_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 11577 | #define CAN_F26R2_FB7 CAN_F26R2_FB7_Msk /*!< Filter bit 7 */ |
11578 | #define CAN_F26R2_FB8_Pos (8U) |
||
9 | mjames | 11579 | #define CAN_F26R2_FB8_Msk (0x1UL << CAN_F26R2_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 11580 | #define CAN_F26R2_FB8 CAN_F26R2_FB8_Msk /*!< Filter bit 8 */ |
11581 | #define CAN_F26R2_FB9_Pos (9U) |
||
9 | mjames | 11582 | #define CAN_F26R2_FB9_Msk (0x1UL << CAN_F26R2_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 11583 | #define CAN_F26R2_FB9 CAN_F26R2_FB9_Msk /*!< Filter bit 9 */ |
11584 | #define CAN_F26R2_FB10_Pos (10U) |
||
9 | mjames | 11585 | #define CAN_F26R2_FB10_Msk (0x1UL << CAN_F26R2_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 11586 | #define CAN_F26R2_FB10 CAN_F26R2_FB10_Msk /*!< Filter bit 10 */ |
11587 | #define CAN_F26R2_FB11_Pos (11U) |
||
9 | mjames | 11588 | #define CAN_F26R2_FB11_Msk (0x1UL << CAN_F26R2_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 11589 | #define CAN_F26R2_FB11 CAN_F26R2_FB11_Msk /*!< Filter bit 11 */ |
11590 | #define CAN_F26R2_FB12_Pos (12U) |
||
9 | mjames | 11591 | #define CAN_F26R2_FB12_Msk (0x1UL << CAN_F26R2_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 11592 | #define CAN_F26R2_FB12 CAN_F26R2_FB12_Msk /*!< Filter bit 12 */ |
11593 | #define CAN_F26R2_FB13_Pos (13U) |
||
9 | mjames | 11594 | #define CAN_F26R2_FB13_Msk (0x1UL << CAN_F26R2_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 11595 | #define CAN_F26R2_FB13 CAN_F26R2_FB13_Msk /*!< Filter bit 13 */ |
11596 | #define CAN_F26R2_FB14_Pos (14U) |
||
9 | mjames | 11597 | #define CAN_F26R2_FB14_Msk (0x1UL << CAN_F26R2_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 11598 | #define CAN_F26R2_FB14 CAN_F26R2_FB14_Msk /*!< Filter bit 14 */ |
11599 | #define CAN_F26R2_FB15_Pos (15U) |
||
9 | mjames | 11600 | #define CAN_F26R2_FB15_Msk (0x1UL << CAN_F26R2_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 11601 | #define CAN_F26R2_FB15 CAN_F26R2_FB15_Msk /*!< Filter bit 15 */ |
11602 | #define CAN_F26R2_FB16_Pos (16U) |
||
9 | mjames | 11603 | #define CAN_F26R2_FB16_Msk (0x1UL << CAN_F26R2_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 11604 | #define CAN_F26R2_FB16 CAN_F26R2_FB16_Msk /*!< Filter bit 16 */ |
11605 | #define CAN_F26R2_FB17_Pos (17U) |
||
9 | mjames | 11606 | #define CAN_F26R2_FB17_Msk (0x1UL << CAN_F26R2_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 11607 | #define CAN_F26R2_FB17 CAN_F26R2_FB17_Msk /*!< Filter bit 17 */ |
11608 | #define CAN_F26R2_FB18_Pos (18U) |
||
9 | mjames | 11609 | #define CAN_F26R2_FB18_Msk (0x1UL << CAN_F26R2_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 11610 | #define CAN_F26R2_FB18 CAN_F26R2_FB18_Msk /*!< Filter bit 18 */ |
11611 | #define CAN_F26R2_FB19_Pos (19U) |
||
9 | mjames | 11612 | #define CAN_F26R2_FB19_Msk (0x1UL << CAN_F26R2_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 11613 | #define CAN_F26R2_FB19 CAN_F26R2_FB19_Msk /*!< Filter bit 19 */ |
11614 | #define CAN_F26R2_FB20_Pos (20U) |
||
9 | mjames | 11615 | #define CAN_F26R2_FB20_Msk (0x1UL << CAN_F26R2_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 11616 | #define CAN_F26R2_FB20 CAN_F26R2_FB20_Msk /*!< Filter bit 20 */ |
11617 | #define CAN_F26R2_FB21_Pos (21U) |
||
9 | mjames | 11618 | #define CAN_F26R2_FB21_Msk (0x1UL << CAN_F26R2_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 11619 | #define CAN_F26R2_FB21 CAN_F26R2_FB21_Msk /*!< Filter bit 21 */ |
11620 | #define CAN_F26R2_FB22_Pos (22U) |
||
9 | mjames | 11621 | #define CAN_F26R2_FB22_Msk (0x1UL << CAN_F26R2_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 11622 | #define CAN_F26R2_FB22 CAN_F26R2_FB22_Msk /*!< Filter bit 22 */ |
11623 | #define CAN_F26R2_FB23_Pos (23U) |
||
9 | mjames | 11624 | #define CAN_F26R2_FB23_Msk (0x1UL << CAN_F26R2_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 11625 | #define CAN_F26R2_FB23 CAN_F26R2_FB23_Msk /*!< Filter bit 23 */ |
11626 | #define CAN_F26R2_FB24_Pos (24U) |
||
9 | mjames | 11627 | #define CAN_F26R2_FB24_Msk (0x1UL << CAN_F26R2_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 11628 | #define CAN_F26R2_FB24 CAN_F26R2_FB24_Msk /*!< Filter bit 24 */ |
11629 | #define CAN_F26R2_FB25_Pos (25U) |
||
9 | mjames | 11630 | #define CAN_F26R2_FB25_Msk (0x1UL << CAN_F26R2_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 11631 | #define CAN_F26R2_FB25 CAN_F26R2_FB25_Msk /*!< Filter bit 25 */ |
11632 | #define CAN_F26R2_FB26_Pos (26U) |
||
9 | mjames | 11633 | #define CAN_F26R2_FB26_Msk (0x1UL << CAN_F26R2_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 11634 | #define CAN_F26R2_FB26 CAN_F26R2_FB26_Msk /*!< Filter bit 26 */ |
11635 | #define CAN_F26R2_FB27_Pos (27U) |
||
9 | mjames | 11636 | #define CAN_F26R2_FB27_Msk (0x1UL << CAN_F26R2_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 11637 | #define CAN_F26R2_FB27 CAN_F26R2_FB27_Msk /*!< Filter bit 27 */ |
11638 | #define CAN_F26R2_FB28_Pos (28U) |
||
9 | mjames | 11639 | #define CAN_F26R2_FB28_Msk (0x1UL << CAN_F26R2_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 11640 | #define CAN_F26R2_FB28 CAN_F26R2_FB28_Msk /*!< Filter bit 28 */ |
11641 | #define CAN_F26R2_FB29_Pos (29U) |
||
9 | mjames | 11642 | #define CAN_F26R2_FB29_Msk (0x1UL << CAN_F26R2_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 11643 | #define CAN_F26R2_FB29 CAN_F26R2_FB29_Msk /*!< Filter bit 29 */ |
11644 | #define CAN_F26R2_FB30_Pos (30U) |
||
9 | mjames | 11645 | #define CAN_F26R2_FB30_Msk (0x1UL << CAN_F26R2_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 11646 | #define CAN_F26R2_FB30 CAN_F26R2_FB30_Msk /*!< Filter bit 30 */ |
11647 | #define CAN_F26R2_FB31_Pos (31U) |
||
9 | mjames | 11648 | #define CAN_F26R2_FB31_Msk (0x1UL << CAN_F26R2_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 11649 | #define CAN_F26R2_FB31 CAN_F26R2_FB31_Msk /*!< Filter bit 31 */ |
11650 | |||
11651 | /******************* Bit definition for CAN_F27R2 register ******************/ |
||
11652 | #define CAN_F27R2_FB0_Pos (0U) |
||
9 | mjames | 11653 | #define CAN_F27R2_FB0_Msk (0x1UL << CAN_F27R2_FB0_Pos) /*!< 0x00000001 */ |
2 | mjames | 11654 | #define CAN_F27R2_FB0 CAN_F27R2_FB0_Msk /*!< Filter bit 0 */ |
11655 | #define CAN_F27R2_FB1_Pos (1U) |
||
9 | mjames | 11656 | #define CAN_F27R2_FB1_Msk (0x1UL << CAN_F27R2_FB1_Pos) /*!< 0x00000002 */ |
2 | mjames | 11657 | #define CAN_F27R2_FB1 CAN_F27R2_FB1_Msk /*!< Filter bit 1 */ |
11658 | #define CAN_F27R2_FB2_Pos (2U) |
||
9 | mjames | 11659 | #define CAN_F27R2_FB2_Msk (0x1UL << CAN_F27R2_FB2_Pos) /*!< 0x00000004 */ |
2 | mjames | 11660 | #define CAN_F27R2_FB2 CAN_F27R2_FB2_Msk /*!< Filter bit 2 */ |
11661 | #define CAN_F27R2_FB3_Pos (3U) |
||
9 | mjames | 11662 | #define CAN_F27R2_FB3_Msk (0x1UL << CAN_F27R2_FB3_Pos) /*!< 0x00000008 */ |
2 | mjames | 11663 | #define CAN_F27R2_FB3 CAN_F27R2_FB3_Msk /*!< Filter bit 3 */ |
11664 | #define CAN_F27R2_FB4_Pos (4U) |
||
9 | mjames | 11665 | #define CAN_F27R2_FB4_Msk (0x1UL << CAN_F27R2_FB4_Pos) /*!< 0x00000010 */ |
2 | mjames | 11666 | #define CAN_F27R2_FB4 CAN_F27R2_FB4_Msk /*!< Filter bit 4 */ |
11667 | #define CAN_F27R2_FB5_Pos (5U) |
||
9 | mjames | 11668 | #define CAN_F27R2_FB5_Msk (0x1UL << CAN_F27R2_FB5_Pos) /*!< 0x00000020 */ |
2 | mjames | 11669 | #define CAN_F27R2_FB5 CAN_F27R2_FB5_Msk /*!< Filter bit 5 */ |
11670 | #define CAN_F27R2_FB6_Pos (6U) |
||
9 | mjames | 11671 | #define CAN_F27R2_FB6_Msk (0x1UL << CAN_F27R2_FB6_Pos) /*!< 0x00000040 */ |
2 | mjames | 11672 | #define CAN_F27R2_FB6 CAN_F27R2_FB6_Msk /*!< Filter bit 6 */ |
11673 | #define CAN_F27R2_FB7_Pos (7U) |
||
9 | mjames | 11674 | #define CAN_F27R2_FB7_Msk (0x1UL << CAN_F27R2_FB7_Pos) /*!< 0x00000080 */ |
2 | mjames | 11675 | #define CAN_F27R2_FB7 CAN_F27R2_FB7_Msk /*!< Filter bit 7 */ |
11676 | #define CAN_F27R2_FB8_Pos (8U) |
||
9 | mjames | 11677 | #define CAN_F27R2_FB8_Msk (0x1UL << CAN_F27R2_FB8_Pos) /*!< 0x00000100 */ |
2 | mjames | 11678 | #define CAN_F27R2_FB8 CAN_F27R2_FB8_Msk /*!< Filter bit 8 */ |
11679 | #define CAN_F27R2_FB9_Pos (9U) |
||
9 | mjames | 11680 | #define CAN_F27R2_FB9_Msk (0x1UL << CAN_F27R2_FB9_Pos) /*!< 0x00000200 */ |
2 | mjames | 11681 | #define CAN_F27R2_FB9 CAN_F27R2_FB9_Msk /*!< Filter bit 9 */ |
11682 | #define CAN_F27R2_FB10_Pos (10U) |
||
9 | mjames | 11683 | #define CAN_F27R2_FB10_Msk (0x1UL << CAN_F27R2_FB10_Pos) /*!< 0x00000400 */ |
2 | mjames | 11684 | #define CAN_F27R2_FB10 CAN_F27R2_FB10_Msk /*!< Filter bit 10 */ |
11685 | #define CAN_F27R2_FB11_Pos (11U) |
||
9 | mjames | 11686 | #define CAN_F27R2_FB11_Msk (0x1UL << CAN_F27R2_FB11_Pos) /*!< 0x00000800 */ |
2 | mjames | 11687 | #define CAN_F27R2_FB11 CAN_F27R2_FB11_Msk /*!< Filter bit 11 */ |
11688 | #define CAN_F27R2_FB12_Pos (12U) |
||
9 | mjames | 11689 | #define CAN_F27R2_FB12_Msk (0x1UL << CAN_F27R2_FB12_Pos) /*!< 0x00001000 */ |
2 | mjames | 11690 | #define CAN_F27R2_FB12 CAN_F27R2_FB12_Msk /*!< Filter bit 12 */ |
11691 | #define CAN_F27R2_FB13_Pos (13U) |
||
9 | mjames | 11692 | #define CAN_F27R2_FB13_Msk (0x1UL << CAN_F27R2_FB13_Pos) /*!< 0x00002000 */ |
2 | mjames | 11693 | #define CAN_F27R2_FB13 CAN_F27R2_FB13_Msk /*!< Filter bit 13 */ |
11694 | #define CAN_F27R2_FB14_Pos (14U) |
||
9 | mjames | 11695 | #define CAN_F27R2_FB14_Msk (0x1UL << CAN_F27R2_FB14_Pos) /*!< 0x00004000 */ |
2 | mjames | 11696 | #define CAN_F27R2_FB14 CAN_F27R2_FB14_Msk /*!< Filter bit 14 */ |
11697 | #define CAN_F27R2_FB15_Pos (15U) |
||
9 | mjames | 11698 | #define CAN_F27R2_FB15_Msk (0x1UL << CAN_F27R2_FB15_Pos) /*!< 0x00008000 */ |
2 | mjames | 11699 | #define CAN_F27R2_FB15 CAN_F27R2_FB15_Msk /*!< Filter bit 15 */ |
11700 | #define CAN_F27R2_FB16_Pos (16U) |
||
9 | mjames | 11701 | #define CAN_F27R2_FB16_Msk (0x1UL << CAN_F27R2_FB16_Pos) /*!< 0x00010000 */ |
2 | mjames | 11702 | #define CAN_F27R2_FB16 CAN_F27R2_FB16_Msk /*!< Filter bit 16 */ |
11703 | #define CAN_F27R2_FB17_Pos (17U) |
||
9 | mjames | 11704 | #define CAN_F27R2_FB17_Msk (0x1UL << CAN_F27R2_FB17_Pos) /*!< 0x00020000 */ |
2 | mjames | 11705 | #define CAN_F27R2_FB17 CAN_F27R2_FB17_Msk /*!< Filter bit 17 */ |
11706 | #define CAN_F27R2_FB18_Pos (18U) |
||
9 | mjames | 11707 | #define CAN_F27R2_FB18_Msk (0x1UL << CAN_F27R2_FB18_Pos) /*!< 0x00040000 */ |
2 | mjames | 11708 | #define CAN_F27R2_FB18 CAN_F27R2_FB18_Msk /*!< Filter bit 18 */ |
11709 | #define CAN_F27R2_FB19_Pos (19U) |
||
9 | mjames | 11710 | #define CAN_F27R2_FB19_Msk (0x1UL << CAN_F27R2_FB19_Pos) /*!< 0x00080000 */ |
2 | mjames | 11711 | #define CAN_F27R2_FB19 CAN_F27R2_FB19_Msk /*!< Filter bit 19 */ |
11712 | #define CAN_F27R2_FB20_Pos (20U) |
||
9 | mjames | 11713 | #define CAN_F27R2_FB20_Msk (0x1UL << CAN_F27R2_FB20_Pos) /*!< 0x00100000 */ |
2 | mjames | 11714 | #define CAN_F27R2_FB20 CAN_F27R2_FB20_Msk /*!< Filter bit 20 */ |
11715 | #define CAN_F27R2_FB21_Pos (21U) |
||
9 | mjames | 11716 | #define CAN_F27R2_FB21_Msk (0x1UL << CAN_F27R2_FB21_Pos) /*!< 0x00200000 */ |
2 | mjames | 11717 | #define CAN_F27R2_FB21 CAN_F27R2_FB21_Msk /*!< Filter bit 21 */ |
11718 | #define CAN_F27R2_FB22_Pos (22U) |
||
9 | mjames | 11719 | #define CAN_F27R2_FB22_Msk (0x1UL << CAN_F27R2_FB22_Pos) /*!< 0x00400000 */ |
2 | mjames | 11720 | #define CAN_F27R2_FB22 CAN_F27R2_FB22_Msk /*!< Filter bit 22 */ |
11721 | #define CAN_F27R2_FB23_Pos (23U) |
||
9 | mjames | 11722 | #define CAN_F27R2_FB23_Msk (0x1UL << CAN_F27R2_FB23_Pos) /*!< 0x00800000 */ |
2 | mjames | 11723 | #define CAN_F27R2_FB23 CAN_F27R2_FB23_Msk /*!< Filter bit 23 */ |
11724 | #define CAN_F27R2_FB24_Pos (24U) |
||
9 | mjames | 11725 | #define CAN_F27R2_FB24_Msk (0x1UL << CAN_F27R2_FB24_Pos) /*!< 0x01000000 */ |
2 | mjames | 11726 | #define CAN_F27R2_FB24 CAN_F27R2_FB24_Msk /*!< Filter bit 24 */ |
11727 | #define CAN_F27R2_FB25_Pos (25U) |
||
9 | mjames | 11728 | #define CAN_F27R2_FB25_Msk (0x1UL << CAN_F27R2_FB25_Pos) /*!< 0x02000000 */ |
2 | mjames | 11729 | #define CAN_F27R2_FB25 CAN_F27R2_FB25_Msk /*!< Filter bit 25 */ |
11730 | #define CAN_F27R2_FB26_Pos (26U) |
||
9 | mjames | 11731 | #define CAN_F27R2_FB26_Msk (0x1UL << CAN_F27R2_FB26_Pos) /*!< 0x04000000 */ |
2 | mjames | 11732 | #define CAN_F27R2_FB26 CAN_F27R2_FB26_Msk /*!< Filter bit 26 */ |
11733 | #define CAN_F27R2_FB27_Pos (27U) |
||
9 | mjames | 11734 | #define CAN_F27R2_FB27_Msk (0x1UL << CAN_F27R2_FB27_Pos) /*!< 0x08000000 */ |
2 | mjames | 11735 | #define CAN_F27R2_FB27 CAN_F27R2_FB27_Msk /*!< Filter bit 27 */ |
11736 | #define CAN_F27R2_FB28_Pos (28U) |
||
9 | mjames | 11737 | #define CAN_F27R2_FB28_Msk (0x1UL << CAN_F27R2_FB28_Pos) /*!< 0x10000000 */ |
2 | mjames | 11738 | #define CAN_F27R2_FB28 CAN_F27R2_FB28_Msk /*!< Filter bit 28 */ |
11739 | #define CAN_F27R2_FB29_Pos (29U) |
||
9 | mjames | 11740 | #define CAN_F27R2_FB29_Msk (0x1UL << CAN_F27R2_FB29_Pos) /*!< 0x20000000 */ |
2 | mjames | 11741 | #define CAN_F27R2_FB29 CAN_F27R2_FB29_Msk /*!< Filter bit 29 */ |
11742 | #define CAN_F27R2_FB30_Pos (30U) |
||
9 | mjames | 11743 | #define CAN_F27R2_FB30_Msk (0x1UL << CAN_F27R2_FB30_Pos) /*!< 0x40000000 */ |
2 | mjames | 11744 | #define CAN_F27R2_FB30 CAN_F27R2_FB30_Msk /*!< Filter bit 30 */ |
11745 | #define CAN_F27R2_FB31_Pos (31U) |
||
9 | mjames | 11746 | #define CAN_F27R2_FB31_Msk (0x1UL << CAN_F27R2_FB31_Pos) /*!< 0x80000000 */ |
2 | mjames | 11747 | #define CAN_F27R2_FB31 CAN_F27R2_FB31_Msk /*!< Filter bit 31 */ |
11748 | |||
11749 | /******************************************************************************/ |
||
11750 | /* */ |
||
11751 | /* Serial Peripheral Interface */ |
||
11752 | /* */ |
||
11753 | /******************************************************************************/ |
||
11754 | /* |
||
11755 | * @brief Specific device feature definitions (not present on all devices in the STM32F1 serie) |
||
11756 | */ |
||
11757 | #define SPI_I2S_SUPPORT /*!< I2S support */ |
||
11758 | #define I2S2_I2S3_CLOCK_FEATURE |
||
9 | mjames | 11759 | |
2 | mjames | 11760 | /******************* Bit definition for SPI_CR1 register ********************/ |
11761 | #define SPI_CR1_CPHA_Pos (0U) |
||
9 | mjames | 11762 | #define SPI_CR1_CPHA_Msk (0x1UL << SPI_CR1_CPHA_Pos) /*!< 0x00000001 */ |
2 | mjames | 11763 | #define SPI_CR1_CPHA SPI_CR1_CPHA_Msk /*!< Clock Phase */ |
11764 | #define SPI_CR1_CPOL_Pos (1U) |
||
9 | mjames | 11765 | #define SPI_CR1_CPOL_Msk (0x1UL << SPI_CR1_CPOL_Pos) /*!< 0x00000002 */ |
2 | mjames | 11766 | #define SPI_CR1_CPOL SPI_CR1_CPOL_Msk /*!< Clock Polarity */ |
11767 | #define SPI_CR1_MSTR_Pos (2U) |
||
9 | mjames | 11768 | #define SPI_CR1_MSTR_Msk (0x1UL << SPI_CR1_MSTR_Pos) /*!< 0x00000004 */ |
2 | mjames | 11769 | #define SPI_CR1_MSTR SPI_CR1_MSTR_Msk /*!< Master Selection */ |
11770 | |||
11771 | #define SPI_CR1_BR_Pos (3U) |
||
9 | mjames | 11772 | #define SPI_CR1_BR_Msk (0x7UL << SPI_CR1_BR_Pos) /*!< 0x00000038 */ |
2 | mjames | 11773 | #define SPI_CR1_BR SPI_CR1_BR_Msk /*!< BR[2:0] bits (Baud Rate Control) */ |
9 | mjames | 11774 | #define SPI_CR1_BR_0 (0x1UL << SPI_CR1_BR_Pos) /*!< 0x00000008 */ |
11775 | #define SPI_CR1_BR_1 (0x2UL << SPI_CR1_BR_Pos) /*!< 0x00000010 */ |
||
11776 | #define SPI_CR1_BR_2 (0x4UL << SPI_CR1_BR_Pos) /*!< 0x00000020 */ |
||
2 | mjames | 11777 | |
11778 | #define SPI_CR1_SPE_Pos (6U) |
||
9 | mjames | 11779 | #define SPI_CR1_SPE_Msk (0x1UL << SPI_CR1_SPE_Pos) /*!< 0x00000040 */ |
2 | mjames | 11780 | #define SPI_CR1_SPE SPI_CR1_SPE_Msk /*!< SPI Enable */ |
11781 | #define SPI_CR1_LSBFIRST_Pos (7U) |
||
9 | mjames | 11782 | #define SPI_CR1_LSBFIRST_Msk (0x1UL << SPI_CR1_LSBFIRST_Pos) /*!< 0x00000080 */ |
2 | mjames | 11783 | #define SPI_CR1_LSBFIRST SPI_CR1_LSBFIRST_Msk /*!< Frame Format */ |
11784 | #define SPI_CR1_SSI_Pos (8U) |
||
9 | mjames | 11785 | #define SPI_CR1_SSI_Msk (0x1UL << SPI_CR1_SSI_Pos) /*!< 0x00000100 */ |
2 | mjames | 11786 | #define SPI_CR1_SSI SPI_CR1_SSI_Msk /*!< Internal slave select */ |
11787 | #define SPI_CR1_SSM_Pos (9U) |
||
9 | mjames | 11788 | #define SPI_CR1_SSM_Msk (0x1UL << SPI_CR1_SSM_Pos) /*!< 0x00000200 */ |
2 | mjames | 11789 | #define SPI_CR1_SSM SPI_CR1_SSM_Msk /*!< Software slave management */ |
11790 | #define SPI_CR1_RXONLY_Pos (10U) |
||
9 | mjames | 11791 | #define SPI_CR1_RXONLY_Msk (0x1UL << SPI_CR1_RXONLY_Pos) /*!< 0x00000400 */ |
2 | mjames | 11792 | #define SPI_CR1_RXONLY SPI_CR1_RXONLY_Msk /*!< Receive only */ |
11793 | #define SPI_CR1_DFF_Pos (11U) |
||
9 | mjames | 11794 | #define SPI_CR1_DFF_Msk (0x1UL << SPI_CR1_DFF_Pos) /*!< 0x00000800 */ |
2 | mjames | 11795 | #define SPI_CR1_DFF SPI_CR1_DFF_Msk /*!< Data Frame Format */ |
11796 | #define SPI_CR1_CRCNEXT_Pos (12U) |
||
9 | mjames | 11797 | #define SPI_CR1_CRCNEXT_Msk (0x1UL << SPI_CR1_CRCNEXT_Pos) /*!< 0x00001000 */ |
2 | mjames | 11798 | #define SPI_CR1_CRCNEXT SPI_CR1_CRCNEXT_Msk /*!< Transmit CRC next */ |
11799 | #define SPI_CR1_CRCEN_Pos (13U) |
||
9 | mjames | 11800 | #define SPI_CR1_CRCEN_Msk (0x1UL << SPI_CR1_CRCEN_Pos) /*!< 0x00002000 */ |
2 | mjames | 11801 | #define SPI_CR1_CRCEN SPI_CR1_CRCEN_Msk /*!< Hardware CRC calculation enable */ |
11802 | #define SPI_CR1_BIDIOE_Pos (14U) |
||
9 | mjames | 11803 | #define SPI_CR1_BIDIOE_Msk (0x1UL << SPI_CR1_BIDIOE_Pos) /*!< 0x00004000 */ |
2 | mjames | 11804 | #define SPI_CR1_BIDIOE SPI_CR1_BIDIOE_Msk /*!< Output enable in bidirectional mode */ |
11805 | #define SPI_CR1_BIDIMODE_Pos (15U) |
||
9 | mjames | 11806 | #define SPI_CR1_BIDIMODE_Msk (0x1UL << SPI_CR1_BIDIMODE_Pos) /*!< 0x00008000 */ |
2 | mjames | 11807 | #define SPI_CR1_BIDIMODE SPI_CR1_BIDIMODE_Msk /*!< Bidirectional data mode enable */ |
11808 | |||
11809 | /******************* Bit definition for SPI_CR2 register ********************/ |
||
11810 | #define SPI_CR2_RXDMAEN_Pos (0U) |
||
9 | mjames | 11811 | #define SPI_CR2_RXDMAEN_Msk (0x1UL << SPI_CR2_RXDMAEN_Pos) /*!< 0x00000001 */ |
2 | mjames | 11812 | #define SPI_CR2_RXDMAEN SPI_CR2_RXDMAEN_Msk /*!< Rx Buffer DMA Enable */ |
11813 | #define SPI_CR2_TXDMAEN_Pos (1U) |
||
9 | mjames | 11814 | #define SPI_CR2_TXDMAEN_Msk (0x1UL << SPI_CR2_TXDMAEN_Pos) /*!< 0x00000002 */ |
2 | mjames | 11815 | #define SPI_CR2_TXDMAEN SPI_CR2_TXDMAEN_Msk /*!< Tx Buffer DMA Enable */ |
11816 | #define SPI_CR2_SSOE_Pos (2U) |
||
9 | mjames | 11817 | #define SPI_CR2_SSOE_Msk (0x1UL << SPI_CR2_SSOE_Pos) /*!< 0x00000004 */ |
2 | mjames | 11818 | #define SPI_CR2_SSOE SPI_CR2_SSOE_Msk /*!< SS Output Enable */ |
11819 | #define SPI_CR2_ERRIE_Pos (5U) |
||
9 | mjames | 11820 | #define SPI_CR2_ERRIE_Msk (0x1UL << SPI_CR2_ERRIE_Pos) /*!< 0x00000020 */ |
2 | mjames | 11821 | #define SPI_CR2_ERRIE SPI_CR2_ERRIE_Msk /*!< Error Interrupt Enable */ |
11822 | #define SPI_CR2_RXNEIE_Pos (6U) |
||
9 | mjames | 11823 | #define SPI_CR2_RXNEIE_Msk (0x1UL << SPI_CR2_RXNEIE_Pos) /*!< 0x00000040 */ |
2 | mjames | 11824 | #define SPI_CR2_RXNEIE SPI_CR2_RXNEIE_Msk /*!< RX buffer Not Empty Interrupt Enable */ |
11825 | #define SPI_CR2_TXEIE_Pos (7U) |
||
9 | mjames | 11826 | #define SPI_CR2_TXEIE_Msk (0x1UL << SPI_CR2_TXEIE_Pos) /*!< 0x00000080 */ |
2 | mjames | 11827 | #define SPI_CR2_TXEIE SPI_CR2_TXEIE_Msk /*!< Tx buffer Empty Interrupt Enable */ |
11828 | |||
11829 | /******************** Bit definition for SPI_SR register ********************/ |
||
11830 | #define SPI_SR_RXNE_Pos (0U) |
||
9 | mjames | 11831 | #define SPI_SR_RXNE_Msk (0x1UL << SPI_SR_RXNE_Pos) /*!< 0x00000001 */ |
2 | mjames | 11832 | #define SPI_SR_RXNE SPI_SR_RXNE_Msk /*!< Receive buffer Not Empty */ |
11833 | #define SPI_SR_TXE_Pos (1U) |
||
9 | mjames | 11834 | #define SPI_SR_TXE_Msk (0x1UL << SPI_SR_TXE_Pos) /*!< 0x00000002 */ |
2 | mjames | 11835 | #define SPI_SR_TXE SPI_SR_TXE_Msk /*!< Transmit buffer Empty */ |
11836 | #define SPI_SR_CHSIDE_Pos (2U) |
||
9 | mjames | 11837 | #define SPI_SR_CHSIDE_Msk (0x1UL << SPI_SR_CHSIDE_Pos) /*!< 0x00000004 */ |
2 | mjames | 11838 | #define SPI_SR_CHSIDE SPI_SR_CHSIDE_Msk /*!< Channel side */ |
11839 | #define SPI_SR_UDR_Pos (3U) |
||
9 | mjames | 11840 | #define SPI_SR_UDR_Msk (0x1UL << SPI_SR_UDR_Pos) /*!< 0x00000008 */ |
2 | mjames | 11841 | #define SPI_SR_UDR SPI_SR_UDR_Msk /*!< Underrun flag */ |
11842 | #define SPI_SR_CRCERR_Pos (4U) |
||
9 | mjames | 11843 | #define SPI_SR_CRCERR_Msk (0x1UL << SPI_SR_CRCERR_Pos) /*!< 0x00000010 */ |
2 | mjames | 11844 | #define SPI_SR_CRCERR SPI_SR_CRCERR_Msk /*!< CRC Error flag */ |
11845 | #define SPI_SR_MODF_Pos (5U) |
||
9 | mjames | 11846 | #define SPI_SR_MODF_Msk (0x1UL << SPI_SR_MODF_Pos) /*!< 0x00000020 */ |
2 | mjames | 11847 | #define SPI_SR_MODF SPI_SR_MODF_Msk /*!< Mode fault */ |
11848 | #define SPI_SR_OVR_Pos (6U) |
||
9 | mjames | 11849 | #define SPI_SR_OVR_Msk (0x1UL << SPI_SR_OVR_Pos) /*!< 0x00000040 */ |
2 | mjames | 11850 | #define SPI_SR_OVR SPI_SR_OVR_Msk /*!< Overrun flag */ |
11851 | #define SPI_SR_BSY_Pos (7U) |
||
9 | mjames | 11852 | #define SPI_SR_BSY_Msk (0x1UL << SPI_SR_BSY_Pos) /*!< 0x00000080 */ |
2 | mjames | 11853 | #define SPI_SR_BSY SPI_SR_BSY_Msk /*!< Busy flag */ |
11854 | |||
11855 | /******************** Bit definition for SPI_DR register ********************/ |
||
11856 | #define SPI_DR_DR_Pos (0U) |
||
9 | mjames | 11857 | #define SPI_DR_DR_Msk (0xFFFFUL << SPI_DR_DR_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 11858 | #define SPI_DR_DR SPI_DR_DR_Msk /*!< Data Register */ |
11859 | |||
11860 | /******************* Bit definition for SPI_CRCPR register ******************/ |
||
11861 | #define SPI_CRCPR_CRCPOLY_Pos (0U) |
||
9 | mjames | 11862 | #define SPI_CRCPR_CRCPOLY_Msk (0xFFFFUL << SPI_CRCPR_CRCPOLY_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 11863 | #define SPI_CRCPR_CRCPOLY SPI_CRCPR_CRCPOLY_Msk /*!< CRC polynomial register */ |
11864 | |||
11865 | /****************** Bit definition for SPI_RXCRCR register ******************/ |
||
11866 | #define SPI_RXCRCR_RXCRC_Pos (0U) |
||
9 | mjames | 11867 | #define SPI_RXCRCR_RXCRC_Msk (0xFFFFUL << SPI_RXCRCR_RXCRC_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 11868 | #define SPI_RXCRCR_RXCRC SPI_RXCRCR_RXCRC_Msk /*!< Rx CRC Register */ |
11869 | |||
11870 | /****************** Bit definition for SPI_TXCRCR register ******************/ |
||
11871 | #define SPI_TXCRCR_TXCRC_Pos (0U) |
||
9 | mjames | 11872 | #define SPI_TXCRCR_TXCRC_Msk (0xFFFFUL << SPI_TXCRCR_TXCRC_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 11873 | #define SPI_TXCRCR_TXCRC SPI_TXCRCR_TXCRC_Msk /*!< Tx CRC Register */ |
11874 | |||
11875 | /****************** Bit definition for SPI_I2SCFGR register *****************/ |
||
11876 | #define SPI_I2SCFGR_CHLEN_Pos (0U) |
||
9 | mjames | 11877 | #define SPI_I2SCFGR_CHLEN_Msk (0x1UL << SPI_I2SCFGR_CHLEN_Pos) /*!< 0x00000001 */ |
2 | mjames | 11878 | #define SPI_I2SCFGR_CHLEN SPI_I2SCFGR_CHLEN_Msk /*!< Channel length (number of bits per audio channel) */ |
11879 | |||
11880 | #define SPI_I2SCFGR_DATLEN_Pos (1U) |
||
9 | mjames | 11881 | #define SPI_I2SCFGR_DATLEN_Msk (0x3UL << SPI_I2SCFGR_DATLEN_Pos) /*!< 0x00000006 */ |
2 | mjames | 11882 | #define SPI_I2SCFGR_DATLEN SPI_I2SCFGR_DATLEN_Msk /*!< DATLEN[1:0] bits (Data length to be transferred) */ |
9 | mjames | 11883 | #define SPI_I2SCFGR_DATLEN_0 (0x1UL << SPI_I2SCFGR_DATLEN_Pos) /*!< 0x00000002 */ |
11884 | #define SPI_I2SCFGR_DATLEN_1 (0x2UL << SPI_I2SCFGR_DATLEN_Pos) /*!< 0x00000004 */ |
||
2 | mjames | 11885 | |
11886 | #define SPI_I2SCFGR_CKPOL_Pos (3U) |
||
9 | mjames | 11887 | #define SPI_I2SCFGR_CKPOL_Msk (0x1UL << SPI_I2SCFGR_CKPOL_Pos) /*!< 0x00000008 */ |
2 | mjames | 11888 | #define SPI_I2SCFGR_CKPOL SPI_I2SCFGR_CKPOL_Msk /*!< steady state clock polarity */ |
11889 | |||
11890 | #define SPI_I2SCFGR_I2SSTD_Pos (4U) |
||
9 | mjames | 11891 | #define SPI_I2SCFGR_I2SSTD_Msk (0x3UL << SPI_I2SCFGR_I2SSTD_Pos) /*!< 0x00000030 */ |
2 | mjames | 11892 | #define SPI_I2SCFGR_I2SSTD SPI_I2SCFGR_I2SSTD_Msk /*!< I2SSTD[1:0] bits (I2S standard selection) */ |
9 | mjames | 11893 | #define SPI_I2SCFGR_I2SSTD_0 (0x1UL << SPI_I2SCFGR_I2SSTD_Pos) /*!< 0x00000010 */ |
11894 | #define SPI_I2SCFGR_I2SSTD_1 (0x2UL << SPI_I2SCFGR_I2SSTD_Pos) /*!< 0x00000020 */ |
||
2 | mjames | 11895 | |
11896 | #define SPI_I2SCFGR_PCMSYNC_Pos (7U) |
||
9 | mjames | 11897 | #define SPI_I2SCFGR_PCMSYNC_Msk (0x1UL << SPI_I2SCFGR_PCMSYNC_Pos) /*!< 0x00000080 */ |
2 | mjames | 11898 | #define SPI_I2SCFGR_PCMSYNC SPI_I2SCFGR_PCMSYNC_Msk /*!< PCM frame synchronization */ |
11899 | |||
11900 | #define SPI_I2SCFGR_I2SCFG_Pos (8U) |
||
9 | mjames | 11901 | #define SPI_I2SCFGR_I2SCFG_Msk (0x3UL << SPI_I2SCFGR_I2SCFG_Pos) /*!< 0x00000300 */ |
2 | mjames | 11902 | #define SPI_I2SCFGR_I2SCFG SPI_I2SCFGR_I2SCFG_Msk /*!< I2SCFG[1:0] bits (I2S configuration mode) */ |
9 | mjames | 11903 | #define SPI_I2SCFGR_I2SCFG_0 (0x1UL << SPI_I2SCFGR_I2SCFG_Pos) /*!< 0x00000100 */ |
11904 | #define SPI_I2SCFGR_I2SCFG_1 (0x2UL << SPI_I2SCFGR_I2SCFG_Pos) /*!< 0x00000200 */ |
||
2 | mjames | 11905 | |
11906 | #define SPI_I2SCFGR_I2SE_Pos (10U) |
||
9 | mjames | 11907 | #define SPI_I2SCFGR_I2SE_Msk (0x1UL << SPI_I2SCFGR_I2SE_Pos) /*!< 0x00000400 */ |
2 | mjames | 11908 | #define SPI_I2SCFGR_I2SE SPI_I2SCFGR_I2SE_Msk /*!< I2S Enable */ |
11909 | #define SPI_I2SCFGR_I2SMOD_Pos (11U) |
||
9 | mjames | 11910 | #define SPI_I2SCFGR_I2SMOD_Msk (0x1UL << SPI_I2SCFGR_I2SMOD_Pos) /*!< 0x00000800 */ |
2 | mjames | 11911 | #define SPI_I2SCFGR_I2SMOD SPI_I2SCFGR_I2SMOD_Msk /*!< I2S mode selection */ |
11912 | /****************** Bit definition for SPI_I2SPR register *******************/ |
||
11913 | #define SPI_I2SPR_I2SDIV_Pos (0U) |
||
9 | mjames | 11914 | #define SPI_I2SPR_I2SDIV_Msk (0xFFUL << SPI_I2SPR_I2SDIV_Pos) /*!< 0x000000FF */ |
2 | mjames | 11915 | #define SPI_I2SPR_I2SDIV SPI_I2SPR_I2SDIV_Msk /*!< I2S Linear prescaler */ |
11916 | #define SPI_I2SPR_ODD_Pos (8U) |
||
9 | mjames | 11917 | #define SPI_I2SPR_ODD_Msk (0x1UL << SPI_I2SPR_ODD_Pos) /*!< 0x00000100 */ |
2 | mjames | 11918 | #define SPI_I2SPR_ODD SPI_I2SPR_ODD_Msk /*!< Odd factor for the prescaler */ |
11919 | #define SPI_I2SPR_MCKOE_Pos (9U) |
||
9 | mjames | 11920 | #define SPI_I2SPR_MCKOE_Msk (0x1UL << SPI_I2SPR_MCKOE_Pos) /*!< 0x00000200 */ |
2 | mjames | 11921 | #define SPI_I2SPR_MCKOE SPI_I2SPR_MCKOE_Msk /*!< Master Clock Output Enable */ |
11922 | |||
11923 | /******************************************************************************/ |
||
11924 | /* */ |
||
11925 | /* Inter-integrated Circuit Interface */ |
||
11926 | /* */ |
||
11927 | /******************************************************************************/ |
||
11928 | |||
11929 | /******************* Bit definition for I2C_CR1 register ********************/ |
||
11930 | #define I2C_CR1_PE_Pos (0U) |
||
9 | mjames | 11931 | #define I2C_CR1_PE_Msk (0x1UL << I2C_CR1_PE_Pos) /*!< 0x00000001 */ |
2 | mjames | 11932 | #define I2C_CR1_PE I2C_CR1_PE_Msk /*!< Peripheral Enable */ |
11933 | #define I2C_CR1_SMBUS_Pos (1U) |
||
9 | mjames | 11934 | #define I2C_CR1_SMBUS_Msk (0x1UL << I2C_CR1_SMBUS_Pos) /*!< 0x00000002 */ |
2 | mjames | 11935 | #define I2C_CR1_SMBUS I2C_CR1_SMBUS_Msk /*!< SMBus Mode */ |
11936 | #define I2C_CR1_SMBTYPE_Pos (3U) |
||
9 | mjames | 11937 | #define I2C_CR1_SMBTYPE_Msk (0x1UL << I2C_CR1_SMBTYPE_Pos) /*!< 0x00000008 */ |
2 | mjames | 11938 | #define I2C_CR1_SMBTYPE I2C_CR1_SMBTYPE_Msk /*!< SMBus Type */ |
11939 | #define I2C_CR1_ENARP_Pos (4U) |
||
9 | mjames | 11940 | #define I2C_CR1_ENARP_Msk (0x1UL << I2C_CR1_ENARP_Pos) /*!< 0x00000010 */ |
2 | mjames | 11941 | #define I2C_CR1_ENARP I2C_CR1_ENARP_Msk /*!< ARP Enable */ |
11942 | #define I2C_CR1_ENPEC_Pos (5U) |
||
9 | mjames | 11943 | #define I2C_CR1_ENPEC_Msk (0x1UL << I2C_CR1_ENPEC_Pos) /*!< 0x00000020 */ |
2 | mjames | 11944 | #define I2C_CR1_ENPEC I2C_CR1_ENPEC_Msk /*!< PEC Enable */ |
11945 | #define I2C_CR1_ENGC_Pos (6U) |
||
9 | mjames | 11946 | #define I2C_CR1_ENGC_Msk (0x1UL << I2C_CR1_ENGC_Pos) /*!< 0x00000040 */ |
2 | mjames | 11947 | #define I2C_CR1_ENGC I2C_CR1_ENGC_Msk /*!< General Call Enable */ |
11948 | #define I2C_CR1_NOSTRETCH_Pos (7U) |
||
9 | mjames | 11949 | #define I2C_CR1_NOSTRETCH_Msk (0x1UL << I2C_CR1_NOSTRETCH_Pos) /*!< 0x00000080 */ |
2 | mjames | 11950 | #define I2C_CR1_NOSTRETCH I2C_CR1_NOSTRETCH_Msk /*!< Clock Stretching Disable (Slave mode) */ |
11951 | #define I2C_CR1_START_Pos (8U) |
||
9 | mjames | 11952 | #define I2C_CR1_START_Msk (0x1UL << I2C_CR1_START_Pos) /*!< 0x00000100 */ |
2 | mjames | 11953 | #define I2C_CR1_START I2C_CR1_START_Msk /*!< Start Generation */ |
11954 | #define I2C_CR1_STOP_Pos (9U) |
||
9 | mjames | 11955 | #define I2C_CR1_STOP_Msk (0x1UL << I2C_CR1_STOP_Pos) /*!< 0x00000200 */ |
2 | mjames | 11956 | #define I2C_CR1_STOP I2C_CR1_STOP_Msk /*!< Stop Generation */ |
11957 | #define I2C_CR1_ACK_Pos (10U) |
||
9 | mjames | 11958 | #define I2C_CR1_ACK_Msk (0x1UL << I2C_CR1_ACK_Pos) /*!< 0x00000400 */ |
2 | mjames | 11959 | #define I2C_CR1_ACK I2C_CR1_ACK_Msk /*!< Acknowledge Enable */ |
11960 | #define I2C_CR1_POS_Pos (11U) |
||
9 | mjames | 11961 | #define I2C_CR1_POS_Msk (0x1UL << I2C_CR1_POS_Pos) /*!< 0x00000800 */ |
2 | mjames | 11962 | #define I2C_CR1_POS I2C_CR1_POS_Msk /*!< Acknowledge/PEC Position (for data reception) */ |
11963 | #define I2C_CR1_PEC_Pos (12U) |
||
9 | mjames | 11964 | #define I2C_CR1_PEC_Msk (0x1UL << I2C_CR1_PEC_Pos) /*!< 0x00001000 */ |
2 | mjames | 11965 | #define I2C_CR1_PEC I2C_CR1_PEC_Msk /*!< Packet Error Checking */ |
11966 | #define I2C_CR1_ALERT_Pos (13U) |
||
9 | mjames | 11967 | #define I2C_CR1_ALERT_Msk (0x1UL << I2C_CR1_ALERT_Pos) /*!< 0x00002000 */ |
2 | mjames | 11968 | #define I2C_CR1_ALERT I2C_CR1_ALERT_Msk /*!< SMBus Alert */ |
11969 | #define I2C_CR1_SWRST_Pos (15U) |
||
9 | mjames | 11970 | #define I2C_CR1_SWRST_Msk (0x1UL << I2C_CR1_SWRST_Pos) /*!< 0x00008000 */ |
2 | mjames | 11971 | #define I2C_CR1_SWRST I2C_CR1_SWRST_Msk /*!< Software Reset */ |
11972 | |||
11973 | /******************* Bit definition for I2C_CR2 register ********************/ |
||
11974 | #define I2C_CR2_FREQ_Pos (0U) |
||
9 | mjames | 11975 | #define I2C_CR2_FREQ_Msk (0x3FUL << I2C_CR2_FREQ_Pos) /*!< 0x0000003F */ |
2 | mjames | 11976 | #define I2C_CR2_FREQ I2C_CR2_FREQ_Msk /*!< FREQ[5:0] bits (Peripheral Clock Frequency) */ |
9 | mjames | 11977 | #define I2C_CR2_FREQ_0 (0x01UL << I2C_CR2_FREQ_Pos) /*!< 0x00000001 */ |
11978 | #define I2C_CR2_FREQ_1 (0x02UL << I2C_CR2_FREQ_Pos) /*!< 0x00000002 */ |
||
11979 | #define I2C_CR2_FREQ_2 (0x04UL << I2C_CR2_FREQ_Pos) /*!< 0x00000004 */ |
||
11980 | #define I2C_CR2_FREQ_3 (0x08UL << I2C_CR2_FREQ_Pos) /*!< 0x00000008 */ |
||
11981 | #define I2C_CR2_FREQ_4 (0x10UL << I2C_CR2_FREQ_Pos) /*!< 0x00000010 */ |
||
11982 | #define I2C_CR2_FREQ_5 (0x20UL << I2C_CR2_FREQ_Pos) /*!< 0x00000020 */ |
||
2 | mjames | 11983 | |
11984 | #define I2C_CR2_ITERREN_Pos (8U) |
||
9 | mjames | 11985 | #define I2C_CR2_ITERREN_Msk (0x1UL << I2C_CR2_ITERREN_Pos) /*!< 0x00000100 */ |
2 | mjames | 11986 | #define I2C_CR2_ITERREN I2C_CR2_ITERREN_Msk /*!< Error Interrupt Enable */ |
11987 | #define I2C_CR2_ITEVTEN_Pos (9U) |
||
9 | mjames | 11988 | #define I2C_CR2_ITEVTEN_Msk (0x1UL << I2C_CR2_ITEVTEN_Pos) /*!< 0x00000200 */ |
2 | mjames | 11989 | #define I2C_CR2_ITEVTEN I2C_CR2_ITEVTEN_Msk /*!< Event Interrupt Enable */ |
11990 | #define I2C_CR2_ITBUFEN_Pos (10U) |
||
9 | mjames | 11991 | #define I2C_CR2_ITBUFEN_Msk (0x1UL << I2C_CR2_ITBUFEN_Pos) /*!< 0x00000400 */ |
2 | mjames | 11992 | #define I2C_CR2_ITBUFEN I2C_CR2_ITBUFEN_Msk /*!< Buffer Interrupt Enable */ |
11993 | #define I2C_CR2_DMAEN_Pos (11U) |
||
9 | mjames | 11994 | #define I2C_CR2_DMAEN_Msk (0x1UL << I2C_CR2_DMAEN_Pos) /*!< 0x00000800 */ |
2 | mjames | 11995 | #define I2C_CR2_DMAEN I2C_CR2_DMAEN_Msk /*!< DMA Requests Enable */ |
11996 | #define I2C_CR2_LAST_Pos (12U) |
||
9 | mjames | 11997 | #define I2C_CR2_LAST_Msk (0x1UL << I2C_CR2_LAST_Pos) /*!< 0x00001000 */ |
2 | mjames | 11998 | #define I2C_CR2_LAST I2C_CR2_LAST_Msk /*!< DMA Last Transfer */ |
11999 | |||
12000 | /******************* Bit definition for I2C_OAR1 register *******************/ |
||
12001 | #define I2C_OAR1_ADD1_7 0x000000FEU /*!< Interface Address */ |
||
12002 | #define I2C_OAR1_ADD8_9 0x00000300U /*!< Interface Address */ |
||
12003 | |||
12004 | #define I2C_OAR1_ADD0_Pos (0U) |
||
9 | mjames | 12005 | #define I2C_OAR1_ADD0_Msk (0x1UL << I2C_OAR1_ADD0_Pos) /*!< 0x00000001 */ |
2 | mjames | 12006 | #define I2C_OAR1_ADD0 I2C_OAR1_ADD0_Msk /*!< Bit 0 */ |
12007 | #define I2C_OAR1_ADD1_Pos (1U) |
||
9 | mjames | 12008 | #define I2C_OAR1_ADD1_Msk (0x1UL << I2C_OAR1_ADD1_Pos) /*!< 0x00000002 */ |
2 | mjames | 12009 | #define I2C_OAR1_ADD1 I2C_OAR1_ADD1_Msk /*!< Bit 1 */ |
12010 | #define I2C_OAR1_ADD2_Pos (2U) |
||
9 | mjames | 12011 | #define I2C_OAR1_ADD2_Msk (0x1UL << I2C_OAR1_ADD2_Pos) /*!< 0x00000004 */ |
2 | mjames | 12012 | #define I2C_OAR1_ADD2 I2C_OAR1_ADD2_Msk /*!< Bit 2 */ |
12013 | #define I2C_OAR1_ADD3_Pos (3U) |
||
9 | mjames | 12014 | #define I2C_OAR1_ADD3_Msk (0x1UL << I2C_OAR1_ADD3_Pos) /*!< 0x00000008 */ |
2 | mjames | 12015 | #define I2C_OAR1_ADD3 I2C_OAR1_ADD3_Msk /*!< Bit 3 */ |
12016 | #define I2C_OAR1_ADD4_Pos (4U) |
||
9 | mjames | 12017 | #define I2C_OAR1_ADD4_Msk (0x1UL << I2C_OAR1_ADD4_Pos) /*!< 0x00000010 */ |
2 | mjames | 12018 | #define I2C_OAR1_ADD4 I2C_OAR1_ADD4_Msk /*!< Bit 4 */ |
12019 | #define I2C_OAR1_ADD5_Pos (5U) |
||
9 | mjames | 12020 | #define I2C_OAR1_ADD5_Msk (0x1UL << I2C_OAR1_ADD5_Pos) /*!< 0x00000020 */ |
2 | mjames | 12021 | #define I2C_OAR1_ADD5 I2C_OAR1_ADD5_Msk /*!< Bit 5 */ |
12022 | #define I2C_OAR1_ADD6_Pos (6U) |
||
9 | mjames | 12023 | #define I2C_OAR1_ADD6_Msk (0x1UL << I2C_OAR1_ADD6_Pos) /*!< 0x00000040 */ |
2 | mjames | 12024 | #define I2C_OAR1_ADD6 I2C_OAR1_ADD6_Msk /*!< Bit 6 */ |
12025 | #define I2C_OAR1_ADD7_Pos (7U) |
||
9 | mjames | 12026 | #define I2C_OAR1_ADD7_Msk (0x1UL << I2C_OAR1_ADD7_Pos) /*!< 0x00000080 */ |
2 | mjames | 12027 | #define I2C_OAR1_ADD7 I2C_OAR1_ADD7_Msk /*!< Bit 7 */ |
12028 | #define I2C_OAR1_ADD8_Pos (8U) |
||
9 | mjames | 12029 | #define I2C_OAR1_ADD8_Msk (0x1UL << I2C_OAR1_ADD8_Pos) /*!< 0x00000100 */ |
2 | mjames | 12030 | #define I2C_OAR1_ADD8 I2C_OAR1_ADD8_Msk /*!< Bit 8 */ |
12031 | #define I2C_OAR1_ADD9_Pos (9U) |
||
9 | mjames | 12032 | #define I2C_OAR1_ADD9_Msk (0x1UL << I2C_OAR1_ADD9_Pos) /*!< 0x00000200 */ |
2 | mjames | 12033 | #define I2C_OAR1_ADD9 I2C_OAR1_ADD9_Msk /*!< Bit 9 */ |
12034 | |||
12035 | #define I2C_OAR1_ADDMODE_Pos (15U) |
||
9 | mjames | 12036 | #define I2C_OAR1_ADDMODE_Msk (0x1UL << I2C_OAR1_ADDMODE_Pos) /*!< 0x00008000 */ |
2 | mjames | 12037 | #define I2C_OAR1_ADDMODE I2C_OAR1_ADDMODE_Msk /*!< Addressing Mode (Slave mode) */ |
12038 | |||
12039 | /******************* Bit definition for I2C_OAR2 register *******************/ |
||
12040 | #define I2C_OAR2_ENDUAL_Pos (0U) |
||
9 | mjames | 12041 | #define I2C_OAR2_ENDUAL_Msk (0x1UL << I2C_OAR2_ENDUAL_Pos) /*!< 0x00000001 */ |
2 | mjames | 12042 | #define I2C_OAR2_ENDUAL I2C_OAR2_ENDUAL_Msk /*!< Dual addressing mode enable */ |
12043 | #define I2C_OAR2_ADD2_Pos (1U) |
||
9 | mjames | 12044 | #define I2C_OAR2_ADD2_Msk (0x7FUL << I2C_OAR2_ADD2_Pos) /*!< 0x000000FE */ |
2 | mjames | 12045 | #define I2C_OAR2_ADD2 I2C_OAR2_ADD2_Msk /*!< Interface address */ |
12046 | |||
12047 | /******************** Bit definition for I2C_DR register ********************/ |
||
12048 | #define I2C_DR_DR_Pos (0U) |
||
9 | mjames | 12049 | #define I2C_DR_DR_Msk (0xFFUL << I2C_DR_DR_Pos) /*!< 0x000000FF */ |
2 | mjames | 12050 | #define I2C_DR_DR I2C_DR_DR_Msk /*!< 8-bit Data Register */ |
12051 | |||
12052 | /******************* Bit definition for I2C_SR1 register ********************/ |
||
12053 | #define I2C_SR1_SB_Pos (0U) |
||
9 | mjames | 12054 | #define I2C_SR1_SB_Msk (0x1UL << I2C_SR1_SB_Pos) /*!< 0x00000001 */ |
2 | mjames | 12055 | #define I2C_SR1_SB I2C_SR1_SB_Msk /*!< Start Bit (Master mode) */ |
12056 | #define I2C_SR1_ADDR_Pos (1U) |
||
9 | mjames | 12057 | #define I2C_SR1_ADDR_Msk (0x1UL << I2C_SR1_ADDR_Pos) /*!< 0x00000002 */ |
2 | mjames | 12058 | #define I2C_SR1_ADDR I2C_SR1_ADDR_Msk /*!< Address sent (master mode)/matched (slave mode) */ |
12059 | #define I2C_SR1_BTF_Pos (2U) |
||
9 | mjames | 12060 | #define I2C_SR1_BTF_Msk (0x1UL << I2C_SR1_BTF_Pos) /*!< 0x00000004 */ |
2 | mjames | 12061 | #define I2C_SR1_BTF I2C_SR1_BTF_Msk /*!< Byte Transfer Finished */ |
12062 | #define I2C_SR1_ADD10_Pos (3U) |
||
9 | mjames | 12063 | #define I2C_SR1_ADD10_Msk (0x1UL << I2C_SR1_ADD10_Pos) /*!< 0x00000008 */ |
2 | mjames | 12064 | #define I2C_SR1_ADD10 I2C_SR1_ADD10_Msk /*!< 10-bit header sent (Master mode) */ |
12065 | #define I2C_SR1_STOPF_Pos (4U) |
||
9 | mjames | 12066 | #define I2C_SR1_STOPF_Msk (0x1UL << I2C_SR1_STOPF_Pos) /*!< 0x00000010 */ |
2 | mjames | 12067 | #define I2C_SR1_STOPF I2C_SR1_STOPF_Msk /*!< Stop detection (Slave mode) */ |
12068 | #define I2C_SR1_RXNE_Pos (6U) |
||
9 | mjames | 12069 | #define I2C_SR1_RXNE_Msk (0x1UL << I2C_SR1_RXNE_Pos) /*!< 0x00000040 */ |
2 | mjames | 12070 | #define I2C_SR1_RXNE I2C_SR1_RXNE_Msk /*!< Data Register not Empty (receivers) */ |
12071 | #define I2C_SR1_TXE_Pos (7U) |
||
9 | mjames | 12072 | #define I2C_SR1_TXE_Msk (0x1UL << I2C_SR1_TXE_Pos) /*!< 0x00000080 */ |
2 | mjames | 12073 | #define I2C_SR1_TXE I2C_SR1_TXE_Msk /*!< Data Register Empty (transmitters) */ |
12074 | #define I2C_SR1_BERR_Pos (8U) |
||
9 | mjames | 12075 | #define I2C_SR1_BERR_Msk (0x1UL << I2C_SR1_BERR_Pos) /*!< 0x00000100 */ |
2 | mjames | 12076 | #define I2C_SR1_BERR I2C_SR1_BERR_Msk /*!< Bus Error */ |
12077 | #define I2C_SR1_ARLO_Pos (9U) |
||
9 | mjames | 12078 | #define I2C_SR1_ARLO_Msk (0x1UL << I2C_SR1_ARLO_Pos) /*!< 0x00000200 */ |
2 | mjames | 12079 | #define I2C_SR1_ARLO I2C_SR1_ARLO_Msk /*!< Arbitration Lost (master mode) */ |
12080 | #define I2C_SR1_AF_Pos (10U) |
||
9 | mjames | 12081 | #define I2C_SR1_AF_Msk (0x1UL << I2C_SR1_AF_Pos) /*!< 0x00000400 */ |
2 | mjames | 12082 | #define I2C_SR1_AF I2C_SR1_AF_Msk /*!< Acknowledge Failure */ |
12083 | #define I2C_SR1_OVR_Pos (11U) |
||
9 | mjames | 12084 | #define I2C_SR1_OVR_Msk (0x1UL << I2C_SR1_OVR_Pos) /*!< 0x00000800 */ |
2 | mjames | 12085 | #define I2C_SR1_OVR I2C_SR1_OVR_Msk /*!< Overrun/Underrun */ |
12086 | #define I2C_SR1_PECERR_Pos (12U) |
||
9 | mjames | 12087 | #define I2C_SR1_PECERR_Msk (0x1UL << I2C_SR1_PECERR_Pos) /*!< 0x00001000 */ |
2 | mjames | 12088 | #define I2C_SR1_PECERR I2C_SR1_PECERR_Msk /*!< PEC Error in reception */ |
12089 | #define I2C_SR1_TIMEOUT_Pos (14U) |
||
9 | mjames | 12090 | #define I2C_SR1_TIMEOUT_Msk (0x1UL << I2C_SR1_TIMEOUT_Pos) /*!< 0x00004000 */ |
2 | mjames | 12091 | #define I2C_SR1_TIMEOUT I2C_SR1_TIMEOUT_Msk /*!< Timeout or Tlow Error */ |
12092 | #define I2C_SR1_SMBALERT_Pos (15U) |
||
9 | mjames | 12093 | #define I2C_SR1_SMBALERT_Msk (0x1UL << I2C_SR1_SMBALERT_Pos) /*!< 0x00008000 */ |
2 | mjames | 12094 | #define I2C_SR1_SMBALERT I2C_SR1_SMBALERT_Msk /*!< SMBus Alert */ |
12095 | |||
12096 | /******************* Bit definition for I2C_SR2 register ********************/ |
||
12097 | #define I2C_SR2_MSL_Pos (0U) |
||
9 | mjames | 12098 | #define I2C_SR2_MSL_Msk (0x1UL << I2C_SR2_MSL_Pos) /*!< 0x00000001 */ |
2 | mjames | 12099 | #define I2C_SR2_MSL I2C_SR2_MSL_Msk /*!< Master/Slave */ |
12100 | #define I2C_SR2_BUSY_Pos (1U) |
||
9 | mjames | 12101 | #define I2C_SR2_BUSY_Msk (0x1UL << I2C_SR2_BUSY_Pos) /*!< 0x00000002 */ |
2 | mjames | 12102 | #define I2C_SR2_BUSY I2C_SR2_BUSY_Msk /*!< Bus Busy */ |
12103 | #define I2C_SR2_TRA_Pos (2U) |
||
9 | mjames | 12104 | #define I2C_SR2_TRA_Msk (0x1UL << I2C_SR2_TRA_Pos) /*!< 0x00000004 */ |
2 | mjames | 12105 | #define I2C_SR2_TRA I2C_SR2_TRA_Msk /*!< Transmitter/Receiver */ |
12106 | #define I2C_SR2_GENCALL_Pos (4U) |
||
9 | mjames | 12107 | #define I2C_SR2_GENCALL_Msk (0x1UL << I2C_SR2_GENCALL_Pos) /*!< 0x00000010 */ |
2 | mjames | 12108 | #define I2C_SR2_GENCALL I2C_SR2_GENCALL_Msk /*!< General Call Address (Slave mode) */ |
12109 | #define I2C_SR2_SMBDEFAULT_Pos (5U) |
||
9 | mjames | 12110 | #define I2C_SR2_SMBDEFAULT_Msk (0x1UL << I2C_SR2_SMBDEFAULT_Pos) /*!< 0x00000020 */ |
2 | mjames | 12111 | #define I2C_SR2_SMBDEFAULT I2C_SR2_SMBDEFAULT_Msk /*!< SMBus Device Default Address (Slave mode) */ |
12112 | #define I2C_SR2_SMBHOST_Pos (6U) |
||
9 | mjames | 12113 | #define I2C_SR2_SMBHOST_Msk (0x1UL << I2C_SR2_SMBHOST_Pos) /*!< 0x00000040 */ |
2 | mjames | 12114 | #define I2C_SR2_SMBHOST I2C_SR2_SMBHOST_Msk /*!< SMBus Host Header (Slave mode) */ |
12115 | #define I2C_SR2_DUALF_Pos (7U) |
||
9 | mjames | 12116 | #define I2C_SR2_DUALF_Msk (0x1UL << I2C_SR2_DUALF_Pos) /*!< 0x00000080 */ |
2 | mjames | 12117 | #define I2C_SR2_DUALF I2C_SR2_DUALF_Msk /*!< Dual Flag (Slave mode) */ |
12118 | #define I2C_SR2_PEC_Pos (8U) |
||
9 | mjames | 12119 | #define I2C_SR2_PEC_Msk (0xFFUL << I2C_SR2_PEC_Pos) /*!< 0x0000FF00 */ |
2 | mjames | 12120 | #define I2C_SR2_PEC I2C_SR2_PEC_Msk /*!< Packet Error Checking Register */ |
12121 | |||
12122 | /******************* Bit definition for I2C_CCR register ********************/ |
||
12123 | #define I2C_CCR_CCR_Pos (0U) |
||
9 | mjames | 12124 | #define I2C_CCR_CCR_Msk (0xFFFUL << I2C_CCR_CCR_Pos) /*!< 0x00000FFF */ |
2 | mjames | 12125 | #define I2C_CCR_CCR I2C_CCR_CCR_Msk /*!< Clock Control Register in Fast/Standard mode (Master mode) */ |
12126 | #define I2C_CCR_DUTY_Pos (14U) |
||
9 | mjames | 12127 | #define I2C_CCR_DUTY_Msk (0x1UL << I2C_CCR_DUTY_Pos) /*!< 0x00004000 */ |
2 | mjames | 12128 | #define I2C_CCR_DUTY I2C_CCR_DUTY_Msk /*!< Fast Mode Duty Cycle */ |
12129 | #define I2C_CCR_FS_Pos (15U) |
||
9 | mjames | 12130 | #define I2C_CCR_FS_Msk (0x1UL << I2C_CCR_FS_Pos) /*!< 0x00008000 */ |
2 | mjames | 12131 | #define I2C_CCR_FS I2C_CCR_FS_Msk /*!< I2C Master Mode Selection */ |
12132 | |||
12133 | /****************** Bit definition for I2C_TRISE register *******************/ |
||
12134 | #define I2C_TRISE_TRISE_Pos (0U) |
||
9 | mjames | 12135 | #define I2C_TRISE_TRISE_Msk (0x3FUL << I2C_TRISE_TRISE_Pos) /*!< 0x0000003F */ |
2 | mjames | 12136 | #define I2C_TRISE_TRISE I2C_TRISE_TRISE_Msk /*!< Maximum Rise Time in Fast/Standard mode (Master mode) */ |
12137 | |||
12138 | /******************************************************************************/ |
||
12139 | /* */ |
||
12140 | /* Universal Synchronous Asynchronous Receiver Transmitter */ |
||
12141 | /* */ |
||
12142 | /******************************************************************************/ |
||
12143 | |||
12144 | /******************* Bit definition for USART_SR register *******************/ |
||
12145 | #define USART_SR_PE_Pos (0U) |
||
9 | mjames | 12146 | #define USART_SR_PE_Msk (0x1UL << USART_SR_PE_Pos) /*!< 0x00000001 */ |
2 | mjames | 12147 | #define USART_SR_PE USART_SR_PE_Msk /*!< Parity Error */ |
12148 | #define USART_SR_FE_Pos (1U) |
||
9 | mjames | 12149 | #define USART_SR_FE_Msk (0x1UL << USART_SR_FE_Pos) /*!< 0x00000002 */ |
2 | mjames | 12150 | #define USART_SR_FE USART_SR_FE_Msk /*!< Framing Error */ |
12151 | #define USART_SR_NE_Pos (2U) |
||
9 | mjames | 12152 | #define USART_SR_NE_Msk (0x1UL << USART_SR_NE_Pos) /*!< 0x00000004 */ |
2 | mjames | 12153 | #define USART_SR_NE USART_SR_NE_Msk /*!< Noise Error Flag */ |
12154 | #define USART_SR_ORE_Pos (3U) |
||
9 | mjames | 12155 | #define USART_SR_ORE_Msk (0x1UL << USART_SR_ORE_Pos) /*!< 0x00000008 */ |
2 | mjames | 12156 | #define USART_SR_ORE USART_SR_ORE_Msk /*!< OverRun Error */ |
12157 | #define USART_SR_IDLE_Pos (4U) |
||
9 | mjames | 12158 | #define USART_SR_IDLE_Msk (0x1UL << USART_SR_IDLE_Pos) /*!< 0x00000010 */ |
2 | mjames | 12159 | #define USART_SR_IDLE USART_SR_IDLE_Msk /*!< IDLE line detected */ |
12160 | #define USART_SR_RXNE_Pos (5U) |
||
9 | mjames | 12161 | #define USART_SR_RXNE_Msk (0x1UL << USART_SR_RXNE_Pos) /*!< 0x00000020 */ |
2 | mjames | 12162 | #define USART_SR_RXNE USART_SR_RXNE_Msk /*!< Read Data Register Not Empty */ |
12163 | #define USART_SR_TC_Pos (6U) |
||
9 | mjames | 12164 | #define USART_SR_TC_Msk (0x1UL << USART_SR_TC_Pos) /*!< 0x00000040 */ |
2 | mjames | 12165 | #define USART_SR_TC USART_SR_TC_Msk /*!< Transmission Complete */ |
12166 | #define USART_SR_TXE_Pos (7U) |
||
9 | mjames | 12167 | #define USART_SR_TXE_Msk (0x1UL << USART_SR_TXE_Pos) /*!< 0x00000080 */ |
2 | mjames | 12168 | #define USART_SR_TXE USART_SR_TXE_Msk /*!< Transmit Data Register Empty */ |
12169 | #define USART_SR_LBD_Pos (8U) |
||
9 | mjames | 12170 | #define USART_SR_LBD_Msk (0x1UL << USART_SR_LBD_Pos) /*!< 0x00000100 */ |
2 | mjames | 12171 | #define USART_SR_LBD USART_SR_LBD_Msk /*!< LIN Break Detection Flag */ |
12172 | #define USART_SR_CTS_Pos (9U) |
||
9 | mjames | 12173 | #define USART_SR_CTS_Msk (0x1UL << USART_SR_CTS_Pos) /*!< 0x00000200 */ |
2 | mjames | 12174 | #define USART_SR_CTS USART_SR_CTS_Msk /*!< CTS Flag */ |
12175 | |||
12176 | /******************* Bit definition for USART_DR register *******************/ |
||
12177 | #define USART_DR_DR_Pos (0U) |
||
9 | mjames | 12178 | #define USART_DR_DR_Msk (0x1FFUL << USART_DR_DR_Pos) /*!< 0x000001FF */ |
2 | mjames | 12179 | #define USART_DR_DR USART_DR_DR_Msk /*!< Data value */ |
12180 | |||
12181 | /****************** Bit definition for USART_BRR register *******************/ |
||
12182 | #define USART_BRR_DIV_Fraction_Pos (0U) |
||
9 | mjames | 12183 | #define USART_BRR_DIV_Fraction_Msk (0xFUL << USART_BRR_DIV_Fraction_Pos) /*!< 0x0000000F */ |
2 | mjames | 12184 | #define USART_BRR_DIV_Fraction USART_BRR_DIV_Fraction_Msk /*!< Fraction of USARTDIV */ |
12185 | #define USART_BRR_DIV_Mantissa_Pos (4U) |
||
9 | mjames | 12186 | #define USART_BRR_DIV_Mantissa_Msk (0xFFFUL << USART_BRR_DIV_Mantissa_Pos) /*!< 0x0000FFF0 */ |
2 | mjames | 12187 | #define USART_BRR_DIV_Mantissa USART_BRR_DIV_Mantissa_Msk /*!< Mantissa of USARTDIV */ |
12188 | |||
12189 | /****************** Bit definition for USART_CR1 register *******************/ |
||
12190 | #define USART_CR1_SBK_Pos (0U) |
||
9 | mjames | 12191 | #define USART_CR1_SBK_Msk (0x1UL << USART_CR1_SBK_Pos) /*!< 0x00000001 */ |
2 | mjames | 12192 | #define USART_CR1_SBK USART_CR1_SBK_Msk /*!< Send Break */ |
12193 | #define USART_CR1_RWU_Pos (1U) |
||
9 | mjames | 12194 | #define USART_CR1_RWU_Msk (0x1UL << USART_CR1_RWU_Pos) /*!< 0x00000002 */ |
2 | mjames | 12195 | #define USART_CR1_RWU USART_CR1_RWU_Msk /*!< Receiver wakeup */ |
12196 | #define USART_CR1_RE_Pos (2U) |
||
9 | mjames | 12197 | #define USART_CR1_RE_Msk (0x1UL << USART_CR1_RE_Pos) /*!< 0x00000004 */ |
2 | mjames | 12198 | #define USART_CR1_RE USART_CR1_RE_Msk /*!< Receiver Enable */ |
12199 | #define USART_CR1_TE_Pos (3U) |
||
9 | mjames | 12200 | #define USART_CR1_TE_Msk (0x1UL << USART_CR1_TE_Pos) /*!< 0x00000008 */ |
2 | mjames | 12201 | #define USART_CR1_TE USART_CR1_TE_Msk /*!< Transmitter Enable */ |
12202 | #define USART_CR1_IDLEIE_Pos (4U) |
||
9 | mjames | 12203 | #define USART_CR1_IDLEIE_Msk (0x1UL << USART_CR1_IDLEIE_Pos) /*!< 0x00000010 */ |
2 | mjames | 12204 | #define USART_CR1_IDLEIE USART_CR1_IDLEIE_Msk /*!< IDLE Interrupt Enable */ |
12205 | #define USART_CR1_RXNEIE_Pos (5U) |
||
9 | mjames | 12206 | #define USART_CR1_RXNEIE_Msk (0x1UL << USART_CR1_RXNEIE_Pos) /*!< 0x00000020 */ |
2 | mjames | 12207 | #define USART_CR1_RXNEIE USART_CR1_RXNEIE_Msk /*!< RXNE Interrupt Enable */ |
12208 | #define USART_CR1_TCIE_Pos (6U) |
||
9 | mjames | 12209 | #define USART_CR1_TCIE_Msk (0x1UL << USART_CR1_TCIE_Pos) /*!< 0x00000040 */ |
2 | mjames | 12210 | #define USART_CR1_TCIE USART_CR1_TCIE_Msk /*!< Transmission Complete Interrupt Enable */ |
12211 | #define USART_CR1_TXEIE_Pos (7U) |
||
9 | mjames | 12212 | #define USART_CR1_TXEIE_Msk (0x1UL << USART_CR1_TXEIE_Pos) /*!< 0x00000080 */ |
2 | mjames | 12213 | #define USART_CR1_TXEIE USART_CR1_TXEIE_Msk /*!< PE Interrupt Enable */ |
12214 | #define USART_CR1_PEIE_Pos (8U) |
||
9 | mjames | 12215 | #define USART_CR1_PEIE_Msk (0x1UL << USART_CR1_PEIE_Pos) /*!< 0x00000100 */ |
2 | mjames | 12216 | #define USART_CR1_PEIE USART_CR1_PEIE_Msk /*!< PE Interrupt Enable */ |
12217 | #define USART_CR1_PS_Pos (9U) |
||
9 | mjames | 12218 | #define USART_CR1_PS_Msk (0x1UL << USART_CR1_PS_Pos) /*!< 0x00000200 */ |
2 | mjames | 12219 | #define USART_CR1_PS USART_CR1_PS_Msk /*!< Parity Selection */ |
12220 | #define USART_CR1_PCE_Pos (10U) |
||
9 | mjames | 12221 | #define USART_CR1_PCE_Msk (0x1UL << USART_CR1_PCE_Pos) /*!< 0x00000400 */ |
2 | mjames | 12222 | #define USART_CR1_PCE USART_CR1_PCE_Msk /*!< Parity Control Enable */ |
12223 | #define USART_CR1_WAKE_Pos (11U) |
||
9 | mjames | 12224 | #define USART_CR1_WAKE_Msk (0x1UL << USART_CR1_WAKE_Pos) /*!< 0x00000800 */ |
2 | mjames | 12225 | #define USART_CR1_WAKE USART_CR1_WAKE_Msk /*!< Wakeup method */ |
12226 | #define USART_CR1_M_Pos (12U) |
||
9 | mjames | 12227 | #define USART_CR1_M_Msk (0x1UL << USART_CR1_M_Pos) /*!< 0x00001000 */ |
2 | mjames | 12228 | #define USART_CR1_M USART_CR1_M_Msk /*!< Word length */ |
12229 | #define USART_CR1_UE_Pos (13U) |
||
9 | mjames | 12230 | #define USART_CR1_UE_Msk (0x1UL << USART_CR1_UE_Pos) /*!< 0x00002000 */ |
2 | mjames | 12231 | #define USART_CR1_UE USART_CR1_UE_Msk /*!< USART Enable */ |
12232 | |||
12233 | /****************** Bit definition for USART_CR2 register *******************/ |
||
12234 | #define USART_CR2_ADD_Pos (0U) |
||
9 | mjames | 12235 | #define USART_CR2_ADD_Msk (0xFUL << USART_CR2_ADD_Pos) /*!< 0x0000000F */ |
2 | mjames | 12236 | #define USART_CR2_ADD USART_CR2_ADD_Msk /*!< Address of the USART node */ |
12237 | #define USART_CR2_LBDL_Pos (5U) |
||
9 | mjames | 12238 | #define USART_CR2_LBDL_Msk (0x1UL << USART_CR2_LBDL_Pos) /*!< 0x00000020 */ |
2 | mjames | 12239 | #define USART_CR2_LBDL USART_CR2_LBDL_Msk /*!< LIN Break Detection Length */ |
12240 | #define USART_CR2_LBDIE_Pos (6U) |
||
9 | mjames | 12241 | #define USART_CR2_LBDIE_Msk (0x1UL << USART_CR2_LBDIE_Pos) /*!< 0x00000040 */ |
2 | mjames | 12242 | #define USART_CR2_LBDIE USART_CR2_LBDIE_Msk /*!< LIN Break Detection Interrupt Enable */ |
12243 | #define USART_CR2_LBCL_Pos (8U) |
||
9 | mjames | 12244 | #define USART_CR2_LBCL_Msk (0x1UL << USART_CR2_LBCL_Pos) /*!< 0x00000100 */ |
2 | mjames | 12245 | #define USART_CR2_LBCL USART_CR2_LBCL_Msk /*!< Last Bit Clock pulse */ |
12246 | #define USART_CR2_CPHA_Pos (9U) |
||
9 | mjames | 12247 | #define USART_CR2_CPHA_Msk (0x1UL << USART_CR2_CPHA_Pos) /*!< 0x00000200 */ |
2 | mjames | 12248 | #define USART_CR2_CPHA USART_CR2_CPHA_Msk /*!< Clock Phase */ |
12249 | #define USART_CR2_CPOL_Pos (10U) |
||
9 | mjames | 12250 | #define USART_CR2_CPOL_Msk (0x1UL << USART_CR2_CPOL_Pos) /*!< 0x00000400 */ |
2 | mjames | 12251 | #define USART_CR2_CPOL USART_CR2_CPOL_Msk /*!< Clock Polarity */ |
12252 | #define USART_CR2_CLKEN_Pos (11U) |
||
9 | mjames | 12253 | #define USART_CR2_CLKEN_Msk (0x1UL << USART_CR2_CLKEN_Pos) /*!< 0x00000800 */ |
2 | mjames | 12254 | #define USART_CR2_CLKEN USART_CR2_CLKEN_Msk /*!< Clock Enable */ |
12255 | |||
12256 | #define USART_CR2_STOP_Pos (12U) |
||
9 | mjames | 12257 | #define USART_CR2_STOP_Msk (0x3UL << USART_CR2_STOP_Pos) /*!< 0x00003000 */ |
2 | mjames | 12258 | #define USART_CR2_STOP USART_CR2_STOP_Msk /*!< STOP[1:0] bits (STOP bits) */ |
9 | mjames | 12259 | #define USART_CR2_STOP_0 (0x1UL << USART_CR2_STOP_Pos) /*!< 0x00001000 */ |
12260 | #define USART_CR2_STOP_1 (0x2UL << USART_CR2_STOP_Pos) /*!< 0x00002000 */ |
||
2 | mjames | 12261 | |
12262 | #define USART_CR2_LINEN_Pos (14U) |
||
9 | mjames | 12263 | #define USART_CR2_LINEN_Msk (0x1UL << USART_CR2_LINEN_Pos) /*!< 0x00004000 */ |
2 | mjames | 12264 | #define USART_CR2_LINEN USART_CR2_LINEN_Msk /*!< LIN mode enable */ |
12265 | |||
12266 | /****************** Bit definition for USART_CR3 register *******************/ |
||
12267 | #define USART_CR3_EIE_Pos (0U) |
||
9 | mjames | 12268 | #define USART_CR3_EIE_Msk (0x1UL << USART_CR3_EIE_Pos) /*!< 0x00000001 */ |
2 | mjames | 12269 | #define USART_CR3_EIE USART_CR3_EIE_Msk /*!< Error Interrupt Enable */ |
12270 | #define USART_CR3_IREN_Pos (1U) |
||
9 | mjames | 12271 | #define USART_CR3_IREN_Msk (0x1UL << USART_CR3_IREN_Pos) /*!< 0x00000002 */ |
2 | mjames | 12272 | #define USART_CR3_IREN USART_CR3_IREN_Msk /*!< IrDA mode Enable */ |
12273 | #define USART_CR3_IRLP_Pos (2U) |
||
9 | mjames | 12274 | #define USART_CR3_IRLP_Msk (0x1UL << USART_CR3_IRLP_Pos) /*!< 0x00000004 */ |
2 | mjames | 12275 | #define USART_CR3_IRLP USART_CR3_IRLP_Msk /*!< IrDA Low-Power */ |
12276 | #define USART_CR3_HDSEL_Pos (3U) |
||
9 | mjames | 12277 | #define USART_CR3_HDSEL_Msk (0x1UL << USART_CR3_HDSEL_Pos) /*!< 0x00000008 */ |
2 | mjames | 12278 | #define USART_CR3_HDSEL USART_CR3_HDSEL_Msk /*!< Half-Duplex Selection */ |
12279 | #define USART_CR3_NACK_Pos (4U) |
||
9 | mjames | 12280 | #define USART_CR3_NACK_Msk (0x1UL << USART_CR3_NACK_Pos) /*!< 0x00000010 */ |
2 | mjames | 12281 | #define USART_CR3_NACK USART_CR3_NACK_Msk /*!< Smartcard NACK enable */ |
12282 | #define USART_CR3_SCEN_Pos (5U) |
||
9 | mjames | 12283 | #define USART_CR3_SCEN_Msk (0x1UL << USART_CR3_SCEN_Pos) /*!< 0x00000020 */ |
2 | mjames | 12284 | #define USART_CR3_SCEN USART_CR3_SCEN_Msk /*!< Smartcard mode enable */ |
12285 | #define USART_CR3_DMAR_Pos (6U) |
||
9 | mjames | 12286 | #define USART_CR3_DMAR_Msk (0x1UL << USART_CR3_DMAR_Pos) /*!< 0x00000040 */ |
2 | mjames | 12287 | #define USART_CR3_DMAR USART_CR3_DMAR_Msk /*!< DMA Enable Receiver */ |
12288 | #define USART_CR3_DMAT_Pos (7U) |
||
9 | mjames | 12289 | #define USART_CR3_DMAT_Msk (0x1UL << USART_CR3_DMAT_Pos) /*!< 0x00000080 */ |
2 | mjames | 12290 | #define USART_CR3_DMAT USART_CR3_DMAT_Msk /*!< DMA Enable Transmitter */ |
12291 | #define USART_CR3_RTSE_Pos (8U) |
||
9 | mjames | 12292 | #define USART_CR3_RTSE_Msk (0x1UL << USART_CR3_RTSE_Pos) /*!< 0x00000100 */ |
2 | mjames | 12293 | #define USART_CR3_RTSE USART_CR3_RTSE_Msk /*!< RTS Enable */ |
12294 | #define USART_CR3_CTSE_Pos (9U) |
||
9 | mjames | 12295 | #define USART_CR3_CTSE_Msk (0x1UL << USART_CR3_CTSE_Pos) /*!< 0x00000200 */ |
2 | mjames | 12296 | #define USART_CR3_CTSE USART_CR3_CTSE_Msk /*!< CTS Enable */ |
12297 | #define USART_CR3_CTSIE_Pos (10U) |
||
9 | mjames | 12298 | #define USART_CR3_CTSIE_Msk (0x1UL << USART_CR3_CTSIE_Pos) /*!< 0x00000400 */ |
2 | mjames | 12299 | #define USART_CR3_CTSIE USART_CR3_CTSIE_Msk /*!< CTS Interrupt Enable */ |
12300 | |||
12301 | /****************** Bit definition for USART_GTPR register ******************/ |
||
12302 | #define USART_GTPR_PSC_Pos (0U) |
||
9 | mjames | 12303 | #define USART_GTPR_PSC_Msk (0xFFUL << USART_GTPR_PSC_Pos) /*!< 0x000000FF */ |
2 | mjames | 12304 | #define USART_GTPR_PSC USART_GTPR_PSC_Msk /*!< PSC[7:0] bits (Prescaler value) */ |
9 | mjames | 12305 | #define USART_GTPR_PSC_0 (0x01UL << USART_GTPR_PSC_Pos) /*!< 0x00000001 */ |
12306 | #define USART_GTPR_PSC_1 (0x02UL << USART_GTPR_PSC_Pos) /*!< 0x00000002 */ |
||
12307 | #define USART_GTPR_PSC_2 (0x04UL << USART_GTPR_PSC_Pos) /*!< 0x00000004 */ |
||
12308 | #define USART_GTPR_PSC_3 (0x08UL << USART_GTPR_PSC_Pos) /*!< 0x00000008 */ |
||
12309 | #define USART_GTPR_PSC_4 (0x10UL << USART_GTPR_PSC_Pos) /*!< 0x00000010 */ |
||
12310 | #define USART_GTPR_PSC_5 (0x20UL << USART_GTPR_PSC_Pos) /*!< 0x00000020 */ |
||
12311 | #define USART_GTPR_PSC_6 (0x40UL << USART_GTPR_PSC_Pos) /*!< 0x00000040 */ |
||
12312 | #define USART_GTPR_PSC_7 (0x80UL << USART_GTPR_PSC_Pos) /*!< 0x00000080 */ |
||
2 | mjames | 12313 | |
12314 | #define USART_GTPR_GT_Pos (8U) |
||
9 | mjames | 12315 | #define USART_GTPR_GT_Msk (0xFFUL << USART_GTPR_GT_Pos) /*!< 0x0000FF00 */ |
2 | mjames | 12316 | #define USART_GTPR_GT USART_GTPR_GT_Msk /*!< Guard time value */ |
12317 | |||
12318 | /******************************************************************************/ |
||
12319 | /* */ |
||
12320 | /* Debug MCU */ |
||
12321 | /* */ |
||
12322 | /******************************************************************************/ |
||
12323 | |||
12324 | /**************** Bit definition for DBGMCU_IDCODE register *****************/ |
||
12325 | #define DBGMCU_IDCODE_DEV_ID_Pos (0U) |
||
9 | mjames | 12326 | #define DBGMCU_IDCODE_DEV_ID_Msk (0xFFFUL << DBGMCU_IDCODE_DEV_ID_Pos) /*!< 0x00000FFF */ |
2 | mjames | 12327 | #define DBGMCU_IDCODE_DEV_ID DBGMCU_IDCODE_DEV_ID_Msk /*!< Device Identifier */ |
12328 | |||
12329 | #define DBGMCU_IDCODE_REV_ID_Pos (16U) |
||
9 | mjames | 12330 | #define DBGMCU_IDCODE_REV_ID_Msk (0xFFFFUL << DBGMCU_IDCODE_REV_ID_Pos) /*!< 0xFFFF0000 */ |
2 | mjames | 12331 | #define DBGMCU_IDCODE_REV_ID DBGMCU_IDCODE_REV_ID_Msk /*!< REV_ID[15:0] bits (Revision Identifier) */ |
9 | mjames | 12332 | #define DBGMCU_IDCODE_REV_ID_0 (0x0001UL << DBGMCU_IDCODE_REV_ID_Pos) /*!< 0x00010000 */ |
12333 | #define DBGMCU_IDCODE_REV_ID_1 (0x0002UL << DBGMCU_IDCODE_REV_ID_Pos) /*!< 0x00020000 */ |
||
12334 | #define DBGMCU_IDCODE_REV_ID_2 (0x0004UL << DBGMCU_IDCODE_REV_ID_Pos) /*!< 0x00040000 */ |
||
12335 | #define DBGMCU_IDCODE_REV_ID_3 (0x0008UL << DBGMCU_IDCODE_REV_ID_Pos) /*!< 0x00080000 */ |
||
12336 | #define DBGMCU_IDCODE_REV_ID_4 (0x0010UL << DBGMCU_IDCODE_REV_ID_Pos) /*!< 0x00100000 */ |
||
12337 | #define DBGMCU_IDCODE_REV_ID_5 (0x0020UL << DBGMCU_IDCODE_REV_ID_Pos) /*!< 0x00200000 */ |
||
12338 | #define DBGMCU_IDCODE_REV_ID_6 (0x0040UL << DBGMCU_IDCODE_REV_ID_Pos) /*!< 0x00400000 */ |
||
12339 | #define DBGMCU_IDCODE_REV_ID_7 (0x0080UL << DBGMCU_IDCODE_REV_ID_Pos) /*!< 0x00800000 */ |
||
12340 | #define DBGMCU_IDCODE_REV_ID_8 (0x0100UL << DBGMCU_IDCODE_REV_ID_Pos) /*!< 0x01000000 */ |
||
12341 | #define DBGMCU_IDCODE_REV_ID_9 (0x0200UL << DBGMCU_IDCODE_REV_ID_Pos) /*!< 0x02000000 */ |
||
12342 | #define DBGMCU_IDCODE_REV_ID_10 (0x0400UL << DBGMCU_IDCODE_REV_ID_Pos) /*!< 0x04000000 */ |
||
12343 | #define DBGMCU_IDCODE_REV_ID_11 (0x0800UL << DBGMCU_IDCODE_REV_ID_Pos) /*!< 0x08000000 */ |
||
12344 | #define DBGMCU_IDCODE_REV_ID_12 (0x1000UL << DBGMCU_IDCODE_REV_ID_Pos) /*!< 0x10000000 */ |
||
12345 | #define DBGMCU_IDCODE_REV_ID_13 (0x2000UL << DBGMCU_IDCODE_REV_ID_Pos) /*!< 0x20000000 */ |
||
12346 | #define DBGMCU_IDCODE_REV_ID_14 (0x4000UL << DBGMCU_IDCODE_REV_ID_Pos) /*!< 0x40000000 */ |
||
12347 | #define DBGMCU_IDCODE_REV_ID_15 (0x8000UL << DBGMCU_IDCODE_REV_ID_Pos) /*!< 0x80000000 */ |
||
2 | mjames | 12348 | |
12349 | /****************** Bit definition for DBGMCU_CR register *******************/ |
||
12350 | #define DBGMCU_CR_DBG_SLEEP_Pos (0U) |
||
9 | mjames | 12351 | #define DBGMCU_CR_DBG_SLEEP_Msk (0x1UL << DBGMCU_CR_DBG_SLEEP_Pos) /*!< 0x00000001 */ |
2 | mjames | 12352 | #define DBGMCU_CR_DBG_SLEEP DBGMCU_CR_DBG_SLEEP_Msk /*!< Debug Sleep Mode */ |
12353 | #define DBGMCU_CR_DBG_STOP_Pos (1U) |
||
9 | mjames | 12354 | #define DBGMCU_CR_DBG_STOP_Msk (0x1UL << DBGMCU_CR_DBG_STOP_Pos) /*!< 0x00000002 */ |
2 | mjames | 12355 | #define DBGMCU_CR_DBG_STOP DBGMCU_CR_DBG_STOP_Msk /*!< Debug Stop Mode */ |
12356 | #define DBGMCU_CR_DBG_STANDBY_Pos (2U) |
||
9 | mjames | 12357 | #define DBGMCU_CR_DBG_STANDBY_Msk (0x1UL << DBGMCU_CR_DBG_STANDBY_Pos) /*!< 0x00000004 */ |
2 | mjames | 12358 | #define DBGMCU_CR_DBG_STANDBY DBGMCU_CR_DBG_STANDBY_Msk /*!< Debug Standby mode */ |
12359 | #define DBGMCU_CR_TRACE_IOEN_Pos (5U) |
||
9 | mjames | 12360 | #define DBGMCU_CR_TRACE_IOEN_Msk (0x1UL << DBGMCU_CR_TRACE_IOEN_Pos) /*!< 0x00000020 */ |
2 | mjames | 12361 | #define DBGMCU_CR_TRACE_IOEN DBGMCU_CR_TRACE_IOEN_Msk /*!< Trace Pin Assignment Control */ |
12362 | |||
12363 | #define DBGMCU_CR_TRACE_MODE_Pos (6U) |
||
9 | mjames | 12364 | #define DBGMCU_CR_TRACE_MODE_Msk (0x3UL << DBGMCU_CR_TRACE_MODE_Pos) /*!< 0x000000C0 */ |
2 | mjames | 12365 | #define DBGMCU_CR_TRACE_MODE DBGMCU_CR_TRACE_MODE_Msk /*!< TRACE_MODE[1:0] bits (Trace Pin Assignment Control) */ |
9 | mjames | 12366 | #define DBGMCU_CR_TRACE_MODE_0 (0x1UL << DBGMCU_CR_TRACE_MODE_Pos) /*!< 0x00000040 */ |
12367 | #define DBGMCU_CR_TRACE_MODE_1 (0x2UL << DBGMCU_CR_TRACE_MODE_Pos) /*!< 0x00000080 */ |
||
2 | mjames | 12368 | |
12369 | #define DBGMCU_CR_DBG_IWDG_STOP_Pos (8U) |
||
9 | mjames | 12370 | #define DBGMCU_CR_DBG_IWDG_STOP_Msk (0x1UL << DBGMCU_CR_DBG_IWDG_STOP_Pos) /*!< 0x00000100 */ |
2 | mjames | 12371 | #define DBGMCU_CR_DBG_IWDG_STOP DBGMCU_CR_DBG_IWDG_STOP_Msk /*!< Debug Independent Watchdog stopped when Core is halted */ |
12372 | #define DBGMCU_CR_DBG_WWDG_STOP_Pos (9U) |
||
9 | mjames | 12373 | #define DBGMCU_CR_DBG_WWDG_STOP_Msk (0x1UL << DBGMCU_CR_DBG_WWDG_STOP_Pos) /*!< 0x00000200 */ |
2 | mjames | 12374 | #define DBGMCU_CR_DBG_WWDG_STOP DBGMCU_CR_DBG_WWDG_STOP_Msk /*!< Debug Window Watchdog stopped when Core is halted */ |
12375 | #define DBGMCU_CR_DBG_TIM1_STOP_Pos (10U) |
||
9 | mjames | 12376 | #define DBGMCU_CR_DBG_TIM1_STOP_Msk (0x1UL << DBGMCU_CR_DBG_TIM1_STOP_Pos) /*!< 0x00000400 */ |
2 | mjames | 12377 | #define DBGMCU_CR_DBG_TIM1_STOP DBGMCU_CR_DBG_TIM1_STOP_Msk /*!< TIM1 counter stopped when core is halted */ |
12378 | #define DBGMCU_CR_DBG_TIM2_STOP_Pos (11U) |
||
9 | mjames | 12379 | #define DBGMCU_CR_DBG_TIM2_STOP_Msk (0x1UL << DBGMCU_CR_DBG_TIM2_STOP_Pos) /*!< 0x00000800 */ |
2 | mjames | 12380 | #define DBGMCU_CR_DBG_TIM2_STOP DBGMCU_CR_DBG_TIM2_STOP_Msk /*!< TIM2 counter stopped when core is halted */ |
12381 | #define DBGMCU_CR_DBG_TIM3_STOP_Pos (12U) |
||
9 | mjames | 12382 | #define DBGMCU_CR_DBG_TIM3_STOP_Msk (0x1UL << DBGMCU_CR_DBG_TIM3_STOP_Pos) /*!< 0x00001000 */ |
2 | mjames | 12383 | #define DBGMCU_CR_DBG_TIM3_STOP DBGMCU_CR_DBG_TIM3_STOP_Msk /*!< TIM3 counter stopped when core is halted */ |
12384 | #define DBGMCU_CR_DBG_TIM4_STOP_Pos (13U) |
||
9 | mjames | 12385 | #define DBGMCU_CR_DBG_TIM4_STOP_Msk (0x1UL << DBGMCU_CR_DBG_TIM4_STOP_Pos) /*!< 0x00002000 */ |
2 | mjames | 12386 | #define DBGMCU_CR_DBG_TIM4_STOP DBGMCU_CR_DBG_TIM4_STOP_Msk /*!< TIM4 counter stopped when core is halted */ |
12387 | #define DBGMCU_CR_DBG_CAN1_STOP_Pos (14U) |
||
9 | mjames | 12388 | #define DBGMCU_CR_DBG_CAN1_STOP_Msk (0x1UL << DBGMCU_CR_DBG_CAN1_STOP_Pos) /*!< 0x00004000 */ |
2 | mjames | 12389 | #define DBGMCU_CR_DBG_CAN1_STOP DBGMCU_CR_DBG_CAN1_STOP_Msk /*!< Debug CAN1 stopped when Core is halted */ |
12390 | #define DBGMCU_CR_DBG_I2C1_SMBUS_TIMEOUT_Pos (15U) |
||
9 | mjames | 12391 | #define DBGMCU_CR_DBG_I2C1_SMBUS_TIMEOUT_Msk (0x1UL << DBGMCU_CR_DBG_I2C1_SMBUS_TIMEOUT_Pos) /*!< 0x00008000 */ |
2 | mjames | 12392 | #define DBGMCU_CR_DBG_I2C1_SMBUS_TIMEOUT DBGMCU_CR_DBG_I2C1_SMBUS_TIMEOUT_Msk /*!< SMBUS timeout mode stopped when Core is halted */ |
12393 | #define DBGMCU_CR_DBG_I2C2_SMBUS_TIMEOUT_Pos (16U) |
||
9 | mjames | 12394 | #define DBGMCU_CR_DBG_I2C2_SMBUS_TIMEOUT_Msk (0x1UL << DBGMCU_CR_DBG_I2C2_SMBUS_TIMEOUT_Pos) /*!< 0x00010000 */ |
2 | mjames | 12395 | #define DBGMCU_CR_DBG_I2C2_SMBUS_TIMEOUT DBGMCU_CR_DBG_I2C2_SMBUS_TIMEOUT_Msk /*!< SMBUS timeout mode stopped when Core is halted */ |
12396 | #define DBGMCU_CR_DBG_TIM5_STOP_Pos (18U) |
||
9 | mjames | 12397 | #define DBGMCU_CR_DBG_TIM5_STOP_Msk (0x1UL << DBGMCU_CR_DBG_TIM5_STOP_Pos) /*!< 0x00040000 */ |
2 | mjames | 12398 | #define DBGMCU_CR_DBG_TIM5_STOP DBGMCU_CR_DBG_TIM5_STOP_Msk /*!< TIM5 counter stopped when core is halted */ |
12399 | #define DBGMCU_CR_DBG_TIM6_STOP_Pos (19U) |
||
9 | mjames | 12400 | #define DBGMCU_CR_DBG_TIM6_STOP_Msk (0x1UL << DBGMCU_CR_DBG_TIM6_STOP_Pos) /*!< 0x00080000 */ |
2 | mjames | 12401 | #define DBGMCU_CR_DBG_TIM6_STOP DBGMCU_CR_DBG_TIM6_STOP_Msk /*!< TIM6 counter stopped when core is halted */ |
12402 | #define DBGMCU_CR_DBG_TIM7_STOP_Pos (20U) |
||
9 | mjames | 12403 | #define DBGMCU_CR_DBG_TIM7_STOP_Msk (0x1UL << DBGMCU_CR_DBG_TIM7_STOP_Pos) /*!< 0x00100000 */ |
2 | mjames | 12404 | #define DBGMCU_CR_DBG_TIM7_STOP DBGMCU_CR_DBG_TIM7_STOP_Msk /*!< TIM7 counter stopped when core is halted */ |
12405 | #define DBGMCU_CR_DBG_CAN2_STOP_Pos (21U) |
||
9 | mjames | 12406 | #define DBGMCU_CR_DBG_CAN2_STOP_Msk (0x1UL << DBGMCU_CR_DBG_CAN2_STOP_Pos) /*!< 0x00200000 */ |
2 | mjames | 12407 | #define DBGMCU_CR_DBG_CAN2_STOP DBGMCU_CR_DBG_CAN2_STOP_Msk /*!< Debug CAN2 stopped when Core is halted */ |
12408 | #define DBGMCU_CR_DBG_TIM9_STOP_Pos (28U) |
||
9 | mjames | 12409 | #define DBGMCU_CR_DBG_TIM9_STOP_Msk (0x1UL << DBGMCU_CR_DBG_TIM9_STOP_Pos) /*!< 0x10000000 */ |
2 | mjames | 12410 | #define DBGMCU_CR_DBG_TIM9_STOP DBGMCU_CR_DBG_TIM9_STOP_Msk /*!< Debug TIM9 stopped when Core is halted */ |
12411 | #define DBGMCU_CR_DBG_TIM10_STOP_Pos (29U) |
||
9 | mjames | 12412 | #define DBGMCU_CR_DBG_TIM10_STOP_Msk (0x1UL << DBGMCU_CR_DBG_TIM10_STOP_Pos) /*!< 0x20000000 */ |
2 | mjames | 12413 | #define DBGMCU_CR_DBG_TIM10_STOP DBGMCU_CR_DBG_TIM10_STOP_Msk /*!< Debug TIM10 stopped when Core is halted */ |
12414 | #define DBGMCU_CR_DBG_TIM11_STOP_Pos (30U) |
||
9 | mjames | 12415 | #define DBGMCU_CR_DBG_TIM11_STOP_Msk (0x1UL << DBGMCU_CR_DBG_TIM11_STOP_Pos) /*!< 0x40000000 */ |
2 | mjames | 12416 | #define DBGMCU_CR_DBG_TIM11_STOP DBGMCU_CR_DBG_TIM11_STOP_Msk /*!< Debug TIM11 stopped when Core is halted */ |
12417 | |||
12418 | /******************************************************************************/ |
||
12419 | /* */ |
||
12420 | /* FLASH and Option Bytes Registers */ |
||
12421 | /* */ |
||
12422 | /******************************************************************************/ |
||
12423 | /******************* Bit definition for FLASH_ACR register ******************/ |
||
12424 | #define FLASH_ACR_LATENCY_Pos (0U) |
||
9 | mjames | 12425 | #define FLASH_ACR_LATENCY_Msk (0x7UL << FLASH_ACR_LATENCY_Pos) /*!< 0x00000007 */ |
2 | mjames | 12426 | #define FLASH_ACR_LATENCY FLASH_ACR_LATENCY_Msk /*!< LATENCY[2:0] bits (Latency) */ |
9 | mjames | 12427 | #define FLASH_ACR_LATENCY_0 (0x1UL << FLASH_ACR_LATENCY_Pos) /*!< 0x00000001 */ |
12428 | #define FLASH_ACR_LATENCY_1 (0x2UL << FLASH_ACR_LATENCY_Pos) /*!< 0x00000002 */ |
||
12429 | #define FLASH_ACR_LATENCY_2 (0x4UL << FLASH_ACR_LATENCY_Pos) /*!< 0x00000004 */ |
||
2 | mjames | 12430 | |
12431 | #define FLASH_ACR_HLFCYA_Pos (3U) |
||
9 | mjames | 12432 | #define FLASH_ACR_HLFCYA_Msk (0x1UL << FLASH_ACR_HLFCYA_Pos) /*!< 0x00000008 */ |
2 | mjames | 12433 | #define FLASH_ACR_HLFCYA FLASH_ACR_HLFCYA_Msk /*!< Flash Half Cycle Access Enable */ |
12434 | #define FLASH_ACR_PRFTBE_Pos (4U) |
||
9 | mjames | 12435 | #define FLASH_ACR_PRFTBE_Msk (0x1UL << FLASH_ACR_PRFTBE_Pos) /*!< 0x00000010 */ |
2 | mjames | 12436 | #define FLASH_ACR_PRFTBE FLASH_ACR_PRFTBE_Msk /*!< Prefetch Buffer Enable */ |
12437 | #define FLASH_ACR_PRFTBS_Pos (5U) |
||
9 | mjames | 12438 | #define FLASH_ACR_PRFTBS_Msk (0x1UL << FLASH_ACR_PRFTBS_Pos) /*!< 0x00000020 */ |
2 | mjames | 12439 | #define FLASH_ACR_PRFTBS FLASH_ACR_PRFTBS_Msk /*!< Prefetch Buffer Status */ |
12440 | |||
12441 | /****************** Bit definition for FLASH_KEYR register ******************/ |
||
12442 | #define FLASH_KEYR_FKEYR_Pos (0U) |
||
9 | mjames | 12443 | #define FLASH_KEYR_FKEYR_Msk (0xFFFFFFFFUL << FLASH_KEYR_FKEYR_Pos) /*!< 0xFFFFFFFF */ |
2 | mjames | 12444 | #define FLASH_KEYR_FKEYR FLASH_KEYR_FKEYR_Msk /*!< FPEC Key */ |
12445 | |||
12446 | #define RDP_KEY_Pos (0U) |
||
9 | mjames | 12447 | #define RDP_KEY_Msk (0xA5UL << RDP_KEY_Pos) /*!< 0x000000A5 */ |
2 | mjames | 12448 | #define RDP_KEY RDP_KEY_Msk /*!< RDP Key */ |
12449 | #define FLASH_KEY1_Pos (0U) |
||
9 | mjames | 12450 | #define FLASH_KEY1_Msk (0x45670123UL << FLASH_KEY1_Pos) /*!< 0x45670123 */ |
2 | mjames | 12451 | #define FLASH_KEY1 FLASH_KEY1_Msk /*!< FPEC Key1 */ |
12452 | #define FLASH_KEY2_Pos (0U) |
||
9 | mjames | 12453 | #define FLASH_KEY2_Msk (0xCDEF89ABUL << FLASH_KEY2_Pos) /*!< 0xCDEF89AB */ |
2 | mjames | 12454 | #define FLASH_KEY2 FLASH_KEY2_Msk /*!< FPEC Key2 */ |
12455 | |||
12456 | /***************** Bit definition for FLASH_OPTKEYR register ****************/ |
||
12457 | #define FLASH_OPTKEYR_OPTKEYR_Pos (0U) |
||
9 | mjames | 12458 | #define FLASH_OPTKEYR_OPTKEYR_Msk (0xFFFFFFFFUL << FLASH_OPTKEYR_OPTKEYR_Pos) /*!< 0xFFFFFFFF */ |
2 | mjames | 12459 | #define FLASH_OPTKEYR_OPTKEYR FLASH_OPTKEYR_OPTKEYR_Msk /*!< Option Byte Key */ |
12460 | |||
12461 | #define FLASH_OPTKEY1 FLASH_KEY1 /*!< Option Byte Key1 */ |
||
12462 | #define FLASH_OPTKEY2 FLASH_KEY2 /*!< Option Byte Key2 */ |
||
12463 | |||
12464 | /****************** Bit definition for FLASH_SR register ********************/ |
||
12465 | #define FLASH_SR_BSY_Pos (0U) |
||
9 | mjames | 12466 | #define FLASH_SR_BSY_Msk (0x1UL << FLASH_SR_BSY_Pos) /*!< 0x00000001 */ |
2 | mjames | 12467 | #define FLASH_SR_BSY FLASH_SR_BSY_Msk /*!< Busy */ |
12468 | #define FLASH_SR_PGERR_Pos (2U) |
||
9 | mjames | 12469 | #define FLASH_SR_PGERR_Msk (0x1UL << FLASH_SR_PGERR_Pos) /*!< 0x00000004 */ |
2 | mjames | 12470 | #define FLASH_SR_PGERR FLASH_SR_PGERR_Msk /*!< Programming Error */ |
12471 | #define FLASH_SR_WRPRTERR_Pos (4U) |
||
9 | mjames | 12472 | #define FLASH_SR_WRPRTERR_Msk (0x1UL << FLASH_SR_WRPRTERR_Pos) /*!< 0x00000010 */ |
2 | mjames | 12473 | #define FLASH_SR_WRPRTERR FLASH_SR_WRPRTERR_Msk /*!< Write Protection Error */ |
12474 | #define FLASH_SR_EOP_Pos (5U) |
||
9 | mjames | 12475 | #define FLASH_SR_EOP_Msk (0x1UL << FLASH_SR_EOP_Pos) /*!< 0x00000020 */ |
2 | mjames | 12476 | #define FLASH_SR_EOP FLASH_SR_EOP_Msk /*!< End of operation */ |
12477 | |||
12478 | /******************* Bit definition for FLASH_CR register *******************/ |
||
12479 | #define FLASH_CR_PG_Pos (0U) |
||
9 | mjames | 12480 | #define FLASH_CR_PG_Msk (0x1UL << FLASH_CR_PG_Pos) /*!< 0x00000001 */ |
2 | mjames | 12481 | #define FLASH_CR_PG FLASH_CR_PG_Msk /*!< Programming */ |
12482 | #define FLASH_CR_PER_Pos (1U) |
||
9 | mjames | 12483 | #define FLASH_CR_PER_Msk (0x1UL << FLASH_CR_PER_Pos) /*!< 0x00000002 */ |
2 | mjames | 12484 | #define FLASH_CR_PER FLASH_CR_PER_Msk /*!< Page Erase */ |
12485 | #define FLASH_CR_MER_Pos (2U) |
||
9 | mjames | 12486 | #define FLASH_CR_MER_Msk (0x1UL << FLASH_CR_MER_Pos) /*!< 0x00000004 */ |
2 | mjames | 12487 | #define FLASH_CR_MER FLASH_CR_MER_Msk /*!< Mass Erase */ |
12488 | #define FLASH_CR_OPTPG_Pos (4U) |
||
9 | mjames | 12489 | #define FLASH_CR_OPTPG_Msk (0x1UL << FLASH_CR_OPTPG_Pos) /*!< 0x00000010 */ |
2 | mjames | 12490 | #define FLASH_CR_OPTPG FLASH_CR_OPTPG_Msk /*!< Option Byte Programming */ |
12491 | #define FLASH_CR_OPTER_Pos (5U) |
||
9 | mjames | 12492 | #define FLASH_CR_OPTER_Msk (0x1UL << FLASH_CR_OPTER_Pos) /*!< 0x00000020 */ |
2 | mjames | 12493 | #define FLASH_CR_OPTER FLASH_CR_OPTER_Msk /*!< Option Byte Erase */ |
12494 | #define FLASH_CR_STRT_Pos (6U) |
||
9 | mjames | 12495 | #define FLASH_CR_STRT_Msk (0x1UL << FLASH_CR_STRT_Pos) /*!< 0x00000040 */ |
2 | mjames | 12496 | #define FLASH_CR_STRT FLASH_CR_STRT_Msk /*!< Start */ |
12497 | #define FLASH_CR_LOCK_Pos (7U) |
||
9 | mjames | 12498 | #define FLASH_CR_LOCK_Msk (0x1UL << FLASH_CR_LOCK_Pos) /*!< 0x00000080 */ |
2 | mjames | 12499 | #define FLASH_CR_LOCK FLASH_CR_LOCK_Msk /*!< Lock */ |
12500 | #define FLASH_CR_OPTWRE_Pos (9U) |
||
9 | mjames | 12501 | #define FLASH_CR_OPTWRE_Msk (0x1UL << FLASH_CR_OPTWRE_Pos) /*!< 0x00000200 */ |
2 | mjames | 12502 | #define FLASH_CR_OPTWRE FLASH_CR_OPTWRE_Msk /*!< Option Bytes Write Enable */ |
12503 | #define FLASH_CR_ERRIE_Pos (10U) |
||
9 | mjames | 12504 | #define FLASH_CR_ERRIE_Msk (0x1UL << FLASH_CR_ERRIE_Pos) /*!< 0x00000400 */ |
2 | mjames | 12505 | #define FLASH_CR_ERRIE FLASH_CR_ERRIE_Msk /*!< Error Interrupt Enable */ |
12506 | #define FLASH_CR_EOPIE_Pos (12U) |
||
9 | mjames | 12507 | #define FLASH_CR_EOPIE_Msk (0x1UL << FLASH_CR_EOPIE_Pos) /*!< 0x00001000 */ |
2 | mjames | 12508 | #define FLASH_CR_EOPIE FLASH_CR_EOPIE_Msk /*!< End of operation interrupt enable */ |
12509 | |||
12510 | /******************* Bit definition for FLASH_AR register *******************/ |
||
12511 | #define FLASH_AR_FAR_Pos (0U) |
||
9 | mjames | 12512 | #define FLASH_AR_FAR_Msk (0xFFFFFFFFUL << FLASH_AR_FAR_Pos) /*!< 0xFFFFFFFF */ |
2 | mjames | 12513 | #define FLASH_AR_FAR FLASH_AR_FAR_Msk /*!< Flash Address */ |
12514 | |||
12515 | /****************** Bit definition for FLASH_OBR register *******************/ |
||
12516 | #define FLASH_OBR_OPTERR_Pos (0U) |
||
9 | mjames | 12517 | #define FLASH_OBR_OPTERR_Msk (0x1UL << FLASH_OBR_OPTERR_Pos) /*!< 0x00000001 */ |
2 | mjames | 12518 | #define FLASH_OBR_OPTERR FLASH_OBR_OPTERR_Msk /*!< Option Byte Error */ |
12519 | #define FLASH_OBR_RDPRT_Pos (1U) |
||
9 | mjames | 12520 | #define FLASH_OBR_RDPRT_Msk (0x1UL << FLASH_OBR_RDPRT_Pos) /*!< 0x00000002 */ |
2 | mjames | 12521 | #define FLASH_OBR_RDPRT FLASH_OBR_RDPRT_Msk /*!< Read protection */ |
12522 | |||
12523 | #define FLASH_OBR_IWDG_SW_Pos (2U) |
||
9 | mjames | 12524 | #define FLASH_OBR_IWDG_SW_Msk (0x1UL << FLASH_OBR_IWDG_SW_Pos) /*!< 0x00000004 */ |
2 | mjames | 12525 | #define FLASH_OBR_IWDG_SW FLASH_OBR_IWDG_SW_Msk /*!< IWDG SW */ |
12526 | #define FLASH_OBR_nRST_STOP_Pos (3U) |
||
9 | mjames | 12527 | #define FLASH_OBR_nRST_STOP_Msk (0x1UL << FLASH_OBR_nRST_STOP_Pos) /*!< 0x00000008 */ |
2 | mjames | 12528 | #define FLASH_OBR_nRST_STOP FLASH_OBR_nRST_STOP_Msk /*!< nRST_STOP */ |
12529 | #define FLASH_OBR_nRST_STDBY_Pos (4U) |
||
9 | mjames | 12530 | #define FLASH_OBR_nRST_STDBY_Msk (0x1UL << FLASH_OBR_nRST_STDBY_Pos) /*!< 0x00000010 */ |
2 | mjames | 12531 | #define FLASH_OBR_nRST_STDBY FLASH_OBR_nRST_STDBY_Msk /*!< nRST_STDBY */ |
12532 | #define FLASH_OBR_USER_Pos (2U) |
||
9 | mjames | 12533 | #define FLASH_OBR_USER_Msk (0x7UL << FLASH_OBR_USER_Pos) /*!< 0x0000001C */ |
2 | mjames | 12534 | #define FLASH_OBR_USER FLASH_OBR_USER_Msk /*!< User Option Bytes */ |
12535 | #define FLASH_OBR_DATA0_Pos (10U) |
||
9 | mjames | 12536 | #define FLASH_OBR_DATA0_Msk (0xFFUL << FLASH_OBR_DATA0_Pos) /*!< 0x0003FC00 */ |
2 | mjames | 12537 | #define FLASH_OBR_DATA0 FLASH_OBR_DATA0_Msk /*!< Data0 */ |
12538 | #define FLASH_OBR_DATA1_Pos (18U) |
||
9 | mjames | 12539 | #define FLASH_OBR_DATA1_Msk (0xFFUL << FLASH_OBR_DATA1_Pos) /*!< 0x03FC0000 */ |
2 | mjames | 12540 | #define FLASH_OBR_DATA1 FLASH_OBR_DATA1_Msk /*!< Data1 */ |
12541 | |||
12542 | /****************** Bit definition for FLASH_WRPR register ******************/ |
||
12543 | #define FLASH_WRPR_WRP_Pos (0U) |
||
9 | mjames | 12544 | #define FLASH_WRPR_WRP_Msk (0xFFFFFFFFUL << FLASH_WRPR_WRP_Pos) /*!< 0xFFFFFFFF */ |
2 | mjames | 12545 | #define FLASH_WRPR_WRP FLASH_WRPR_WRP_Msk /*!< Write Protect */ |
12546 | |||
12547 | /*----------------------------------------------------------------------------*/ |
||
12548 | |||
12549 | /****************** Bit definition for FLASH_RDP register *******************/ |
||
12550 | #define FLASH_RDP_RDP_Pos (0U) |
||
9 | mjames | 12551 | #define FLASH_RDP_RDP_Msk (0xFFUL << FLASH_RDP_RDP_Pos) /*!< 0x000000FF */ |
2 | mjames | 12552 | #define FLASH_RDP_RDP FLASH_RDP_RDP_Msk /*!< Read protection option byte */ |
12553 | #define FLASH_RDP_nRDP_Pos (8U) |
||
9 | mjames | 12554 | #define FLASH_RDP_nRDP_Msk (0xFFUL << FLASH_RDP_nRDP_Pos) /*!< 0x0000FF00 */ |
2 | mjames | 12555 | #define FLASH_RDP_nRDP FLASH_RDP_nRDP_Msk /*!< Read protection complemented option byte */ |
12556 | |||
12557 | /****************** Bit definition for FLASH_USER register ******************/ |
||
12558 | #define FLASH_USER_USER_Pos (16U) |
||
9 | mjames | 12559 | #define FLASH_USER_USER_Msk (0xFFUL << FLASH_USER_USER_Pos) /*!< 0x00FF0000 */ |
2 | mjames | 12560 | #define FLASH_USER_USER FLASH_USER_USER_Msk /*!< User option byte */ |
12561 | #define FLASH_USER_nUSER_Pos (24U) |
||
9 | mjames | 12562 | #define FLASH_USER_nUSER_Msk (0xFFUL << FLASH_USER_nUSER_Pos) /*!< 0xFF000000 */ |
2 | mjames | 12563 | #define FLASH_USER_nUSER FLASH_USER_nUSER_Msk /*!< User complemented option byte */ |
12564 | |||
12565 | /****************** Bit definition for FLASH_Data0 register *****************/ |
||
12566 | #define FLASH_DATA0_DATA0_Pos (0U) |
||
9 | mjames | 12567 | #define FLASH_DATA0_DATA0_Msk (0xFFUL << FLASH_DATA0_DATA0_Pos) /*!< 0x000000FF */ |
2 | mjames | 12568 | #define FLASH_DATA0_DATA0 FLASH_DATA0_DATA0_Msk /*!< User data storage option byte */ |
12569 | #define FLASH_DATA0_nDATA0_Pos (8U) |
||
9 | mjames | 12570 | #define FLASH_DATA0_nDATA0_Msk (0xFFUL << FLASH_DATA0_nDATA0_Pos) /*!< 0x0000FF00 */ |
2 | mjames | 12571 | #define FLASH_DATA0_nDATA0 FLASH_DATA0_nDATA0_Msk /*!< User data storage complemented option byte */ |
12572 | |||
12573 | /****************** Bit definition for FLASH_Data1 register *****************/ |
||
12574 | #define FLASH_DATA1_DATA1_Pos (16U) |
||
9 | mjames | 12575 | #define FLASH_DATA1_DATA1_Msk (0xFFUL << FLASH_DATA1_DATA1_Pos) /*!< 0x00FF0000 */ |
2 | mjames | 12576 | #define FLASH_DATA1_DATA1 FLASH_DATA1_DATA1_Msk /*!< User data storage option byte */ |
12577 | #define FLASH_DATA1_nDATA1_Pos (24U) |
||
9 | mjames | 12578 | #define FLASH_DATA1_nDATA1_Msk (0xFFUL << FLASH_DATA1_nDATA1_Pos) /*!< 0xFF000000 */ |
2 | mjames | 12579 | #define FLASH_DATA1_nDATA1 FLASH_DATA1_nDATA1_Msk /*!< User data storage complemented option byte */ |
12580 | |||
12581 | /****************** Bit definition for FLASH_WRP0 register ******************/ |
||
12582 | #define FLASH_WRP0_WRP0_Pos (0U) |
||
9 | mjames | 12583 | #define FLASH_WRP0_WRP0_Msk (0xFFUL << FLASH_WRP0_WRP0_Pos) /*!< 0x000000FF */ |
2 | mjames | 12584 | #define FLASH_WRP0_WRP0 FLASH_WRP0_WRP0_Msk /*!< Flash memory write protection option bytes */ |
12585 | #define FLASH_WRP0_nWRP0_Pos (8U) |
||
9 | mjames | 12586 | #define FLASH_WRP0_nWRP0_Msk (0xFFUL << FLASH_WRP0_nWRP0_Pos) /*!< 0x0000FF00 */ |
2 | mjames | 12587 | #define FLASH_WRP0_nWRP0 FLASH_WRP0_nWRP0_Msk /*!< Flash memory write protection complemented option bytes */ |
12588 | |||
12589 | /****************** Bit definition for FLASH_WRP1 register ******************/ |
||
12590 | #define FLASH_WRP1_WRP1_Pos (16U) |
||
9 | mjames | 12591 | #define FLASH_WRP1_WRP1_Msk (0xFFUL << FLASH_WRP1_WRP1_Pos) /*!< 0x00FF0000 */ |
2 | mjames | 12592 | #define FLASH_WRP1_WRP1 FLASH_WRP1_WRP1_Msk /*!< Flash memory write protection option bytes */ |
12593 | #define FLASH_WRP1_nWRP1_Pos (24U) |
||
9 | mjames | 12594 | #define FLASH_WRP1_nWRP1_Msk (0xFFUL << FLASH_WRP1_nWRP1_Pos) /*!< 0xFF000000 */ |
2 | mjames | 12595 | #define FLASH_WRP1_nWRP1 FLASH_WRP1_nWRP1_Msk /*!< Flash memory write protection complemented option bytes */ |
12596 | |||
12597 | /****************** Bit definition for FLASH_WRP2 register ******************/ |
||
12598 | #define FLASH_WRP2_WRP2_Pos (0U) |
||
9 | mjames | 12599 | #define FLASH_WRP2_WRP2_Msk (0xFFUL << FLASH_WRP2_WRP2_Pos) /*!< 0x000000FF */ |
2 | mjames | 12600 | #define FLASH_WRP2_WRP2 FLASH_WRP2_WRP2_Msk /*!< Flash memory write protection option bytes */ |
12601 | #define FLASH_WRP2_nWRP2_Pos (8U) |
||
9 | mjames | 12602 | #define FLASH_WRP2_nWRP2_Msk (0xFFUL << FLASH_WRP2_nWRP2_Pos) /*!< 0x0000FF00 */ |
2 | mjames | 12603 | #define FLASH_WRP2_nWRP2 FLASH_WRP2_nWRP2_Msk /*!< Flash memory write protection complemented option bytes */ |
12604 | |||
12605 | /****************** Bit definition for FLASH_WRP3 register ******************/ |
||
12606 | #define FLASH_WRP3_WRP3_Pos (16U) |
||
9 | mjames | 12607 | #define FLASH_WRP3_WRP3_Msk (0xFFUL << FLASH_WRP3_WRP3_Pos) /*!< 0x00FF0000 */ |
2 | mjames | 12608 | #define FLASH_WRP3_WRP3 FLASH_WRP3_WRP3_Msk /*!< Flash memory write protection option bytes */ |
12609 | #define FLASH_WRP3_nWRP3_Pos (24U) |
||
9 | mjames | 12610 | #define FLASH_WRP3_nWRP3_Msk (0xFFUL << FLASH_WRP3_nWRP3_Pos) /*!< 0xFF000000 */ |
2 | mjames | 12611 | #define FLASH_WRP3_nWRP3 FLASH_WRP3_nWRP3_Msk /*!< Flash memory write protection complemented option bytes */ |
12612 | |||
12613 | |||
12614 | /******************************************************************************/ |
||
12615 | /* */ |
||
12616 | /* USB_OTG */ |
||
12617 | /* */ |
||
12618 | /******************************************************************************/ |
||
9 | mjames | 12619 | /******************** Bit definition for USB_OTG_GOTGCTL register ***********/ |
2 | mjames | 12620 | #define USB_OTG_GOTGCTL_SRQSCS_Pos (0U) |
9 | mjames | 12621 | #define USB_OTG_GOTGCTL_SRQSCS_Msk (0x1UL << USB_OTG_GOTGCTL_SRQSCS_Pos) /*!< 0x00000001 */ |
2 | mjames | 12622 | #define USB_OTG_GOTGCTL_SRQSCS USB_OTG_GOTGCTL_SRQSCS_Msk /*!< Session request success */ |
12623 | #define USB_OTG_GOTGCTL_SRQ_Pos (1U) |
||
9 | mjames | 12624 | #define USB_OTG_GOTGCTL_SRQ_Msk (0x1UL << USB_OTG_GOTGCTL_SRQ_Pos) /*!< 0x00000002 */ |
2 | mjames | 12625 | #define USB_OTG_GOTGCTL_SRQ USB_OTG_GOTGCTL_SRQ_Msk /*!< Session request */ |
12626 | #define USB_OTG_GOTGCTL_HNGSCS_Pos (8U) |
||
9 | mjames | 12627 | #define USB_OTG_GOTGCTL_HNGSCS_Msk (0x1UL << USB_OTG_GOTGCTL_HNGSCS_Pos) /*!< 0x00000100 */ |
12628 | #define USB_OTG_GOTGCTL_HNGSCS USB_OTG_GOTGCTL_HNGSCS_Msk /*!< Host set HNP enable */ |
||
2 | mjames | 12629 | #define USB_OTG_GOTGCTL_HNPRQ_Pos (9U) |
9 | mjames | 12630 | #define USB_OTG_GOTGCTL_HNPRQ_Msk (0x1UL << USB_OTG_GOTGCTL_HNPRQ_Pos) /*!< 0x00000200 */ |
2 | mjames | 12631 | #define USB_OTG_GOTGCTL_HNPRQ USB_OTG_GOTGCTL_HNPRQ_Msk /*!< HNP request */ |
12632 | #define USB_OTG_GOTGCTL_HSHNPEN_Pos (10U) |
||
9 | mjames | 12633 | #define USB_OTG_GOTGCTL_HSHNPEN_Msk (0x1UL << USB_OTG_GOTGCTL_HSHNPEN_Pos) /*!< 0x00000400 */ |
2 | mjames | 12634 | #define USB_OTG_GOTGCTL_HSHNPEN USB_OTG_GOTGCTL_HSHNPEN_Msk /*!< Host set HNP enable */ |
12635 | #define USB_OTG_GOTGCTL_DHNPEN_Pos (11U) |
||
9 | mjames | 12636 | #define USB_OTG_GOTGCTL_DHNPEN_Msk (0x1UL << USB_OTG_GOTGCTL_DHNPEN_Pos) /*!< 0x00000800 */ |
2 | mjames | 12637 | #define USB_OTG_GOTGCTL_DHNPEN USB_OTG_GOTGCTL_DHNPEN_Msk /*!< Device HNP enabled */ |
12638 | #define USB_OTG_GOTGCTL_CIDSTS_Pos (16U) |
||
9 | mjames | 12639 | #define USB_OTG_GOTGCTL_CIDSTS_Msk (0x1UL << USB_OTG_GOTGCTL_CIDSTS_Pos) /*!< 0x00010000 */ |
2 | mjames | 12640 | #define USB_OTG_GOTGCTL_CIDSTS USB_OTG_GOTGCTL_CIDSTS_Msk /*!< Connector ID status */ |
12641 | #define USB_OTG_GOTGCTL_DBCT_Pos (17U) |
||
9 | mjames | 12642 | #define USB_OTG_GOTGCTL_DBCT_Msk (0x1UL << USB_OTG_GOTGCTL_DBCT_Pos) /*!< 0x00020000 */ |
2 | mjames | 12643 | #define USB_OTG_GOTGCTL_DBCT USB_OTG_GOTGCTL_DBCT_Msk /*!< Long/short debounce time */ |
12644 | #define USB_OTG_GOTGCTL_ASVLD_Pos (18U) |
||
9 | mjames | 12645 | #define USB_OTG_GOTGCTL_ASVLD_Msk (0x1UL << USB_OTG_GOTGCTL_ASVLD_Pos) /*!< 0x00040000 */ |
2 | mjames | 12646 | #define USB_OTG_GOTGCTL_ASVLD USB_OTG_GOTGCTL_ASVLD_Msk /*!< A-session valid */ |
12647 | #define USB_OTG_GOTGCTL_BSVLD_Pos (19U) |
||
9 | mjames | 12648 | #define USB_OTG_GOTGCTL_BSVLD_Msk (0x1UL << USB_OTG_GOTGCTL_BSVLD_Pos) /*!< 0x00080000 */ |
2 | mjames | 12649 | #define USB_OTG_GOTGCTL_BSVLD USB_OTG_GOTGCTL_BSVLD_Msk /*!< B-session valid */ |
12650 | |||
9 | mjames | 12651 | /******************** Bit definition for USB_OTG_HCFG register ********************/ |
2 | mjames | 12652 | |
12653 | #define USB_OTG_HCFG_FSLSPCS_Pos (0U) |
||
9 | mjames | 12654 | #define USB_OTG_HCFG_FSLSPCS_Msk (0x3UL << USB_OTG_HCFG_FSLSPCS_Pos) /*!< 0x00000003 */ |
2 | mjames | 12655 | #define USB_OTG_HCFG_FSLSPCS USB_OTG_HCFG_FSLSPCS_Msk /*!< FS/LS PHY clock select */ |
9 | mjames | 12656 | #define USB_OTG_HCFG_FSLSPCS_0 (0x1UL << USB_OTG_HCFG_FSLSPCS_Pos) /*!< 0x00000001 */ |
12657 | #define USB_OTG_HCFG_FSLSPCS_1 (0x2UL << USB_OTG_HCFG_FSLSPCS_Pos) /*!< 0x00000002 */ |
||
2 | mjames | 12658 | #define USB_OTG_HCFG_FSLSS_Pos (2U) |
9 | mjames | 12659 | #define USB_OTG_HCFG_FSLSS_Msk (0x1UL << USB_OTG_HCFG_FSLSS_Pos) /*!< 0x00000004 */ |
2 | mjames | 12660 | #define USB_OTG_HCFG_FSLSS USB_OTG_HCFG_FSLSS_Msk /*!< FS- and LS-only support */ |
12661 | |||
9 | mjames | 12662 | /******************** Bit definition for USB_OTG_DCFG register ********************/ |
2 | mjames | 12663 | |
12664 | #define USB_OTG_DCFG_DSPD_Pos (0U) |
||
9 | mjames | 12665 | #define USB_OTG_DCFG_DSPD_Msk (0x3UL << USB_OTG_DCFG_DSPD_Pos) /*!< 0x00000003 */ |
2 | mjames | 12666 | #define USB_OTG_DCFG_DSPD USB_OTG_DCFG_DSPD_Msk /*!< Device speed */ |
9 | mjames | 12667 | #define USB_OTG_DCFG_DSPD_0 (0x1UL << USB_OTG_DCFG_DSPD_Pos) /*!< 0x00000001 */ |
12668 | #define USB_OTG_DCFG_DSPD_1 (0x2UL << USB_OTG_DCFG_DSPD_Pos) /*!< 0x00000002 */ |
||
2 | mjames | 12669 | #define USB_OTG_DCFG_NZLSOHSK_Pos (2U) |
9 | mjames | 12670 | #define USB_OTG_DCFG_NZLSOHSK_Msk (0x1UL << USB_OTG_DCFG_NZLSOHSK_Pos) /*!< 0x00000004 */ |
2 | mjames | 12671 | #define USB_OTG_DCFG_NZLSOHSK USB_OTG_DCFG_NZLSOHSK_Msk /*!< Nonzero-length status OUT handshake */ |
12672 | |||
12673 | #define USB_OTG_DCFG_DAD_Pos (4U) |
||
9 | mjames | 12674 | #define USB_OTG_DCFG_DAD_Msk (0x7FUL << USB_OTG_DCFG_DAD_Pos) /*!< 0x000007F0 */ |
2 | mjames | 12675 | #define USB_OTG_DCFG_DAD USB_OTG_DCFG_DAD_Msk /*!< Device address */ |
9 | mjames | 12676 | #define USB_OTG_DCFG_DAD_0 (0x01UL << USB_OTG_DCFG_DAD_Pos) /*!< 0x00000010 */ |
12677 | #define USB_OTG_DCFG_DAD_1 (0x02UL << USB_OTG_DCFG_DAD_Pos) /*!< 0x00000020 */ |
||
12678 | #define USB_OTG_DCFG_DAD_2 (0x04UL << USB_OTG_DCFG_DAD_Pos) /*!< 0x00000040 */ |
||
12679 | #define USB_OTG_DCFG_DAD_3 (0x08UL << USB_OTG_DCFG_DAD_Pos) /*!< 0x00000080 */ |
||
12680 | #define USB_OTG_DCFG_DAD_4 (0x10UL << USB_OTG_DCFG_DAD_Pos) /*!< 0x00000100 */ |
||
12681 | #define USB_OTG_DCFG_DAD_5 (0x20UL << USB_OTG_DCFG_DAD_Pos) /*!< 0x00000200 */ |
||
12682 | #define USB_OTG_DCFG_DAD_6 (0x40UL << USB_OTG_DCFG_DAD_Pos) /*!< 0x00000400 */ |
||
2 | mjames | 12683 | |
12684 | #define USB_OTG_DCFG_PFIVL_Pos (11U) |
||
9 | mjames | 12685 | #define USB_OTG_DCFG_PFIVL_Msk (0x3UL << USB_OTG_DCFG_PFIVL_Pos) /*!< 0x00001800 */ |
2 | mjames | 12686 | #define USB_OTG_DCFG_PFIVL USB_OTG_DCFG_PFIVL_Msk /*!< Periodic (micro)frame interval */ |
9 | mjames | 12687 | #define USB_OTG_DCFG_PFIVL_0 (0x1UL << USB_OTG_DCFG_PFIVL_Pos) /*!< 0x00000800 */ |
12688 | #define USB_OTG_DCFG_PFIVL_1 (0x2UL << USB_OTG_DCFG_PFIVL_Pos) /*!< 0x00001000 */ |
||
2 | mjames | 12689 | |
12690 | #define USB_OTG_DCFG_PERSCHIVL_Pos (24U) |
||
9 | mjames | 12691 | #define USB_OTG_DCFG_PERSCHIVL_Msk (0x3UL << USB_OTG_DCFG_PERSCHIVL_Pos) /*!< 0x03000000 */ |
2 | mjames | 12692 | #define USB_OTG_DCFG_PERSCHIVL USB_OTG_DCFG_PERSCHIVL_Msk /*!< Periodic scheduling interval */ |
9 | mjames | 12693 | #define USB_OTG_DCFG_PERSCHIVL_0 (0x1UL << USB_OTG_DCFG_PERSCHIVL_Pos) /*!< 0x01000000 */ |
12694 | #define USB_OTG_DCFG_PERSCHIVL_1 (0x2UL << USB_OTG_DCFG_PERSCHIVL_Pos) /*!< 0x02000000 */ |
||
2 | mjames | 12695 | |
9 | mjames | 12696 | /******************** Bit definition for USB_OTG_PCGCR register ********************/ |
2 | mjames | 12697 | #define USB_OTG_PCGCR_STPPCLK_Pos (0U) |
9 | mjames | 12698 | #define USB_OTG_PCGCR_STPPCLK_Msk (0x1UL << USB_OTG_PCGCR_STPPCLK_Pos) /*!< 0x00000001 */ |
2 | mjames | 12699 | #define USB_OTG_PCGCR_STPPCLK USB_OTG_PCGCR_STPPCLK_Msk /*!< Stop PHY clock */ |
12700 | #define USB_OTG_PCGCR_GATEHCLK_Pos (1U) |
||
9 | mjames | 12701 | #define USB_OTG_PCGCR_GATEHCLK_Msk (0x1UL << USB_OTG_PCGCR_GATEHCLK_Pos) /*!< 0x00000002 */ |
2 | mjames | 12702 | #define USB_OTG_PCGCR_GATEHCLK USB_OTG_PCGCR_GATEHCLK_Msk /*!< Gate HCLK */ |
12703 | #define USB_OTG_PCGCR_PHYSUSP_Pos (4U) |
||
9 | mjames | 12704 | #define USB_OTG_PCGCR_PHYSUSP_Msk (0x1UL << USB_OTG_PCGCR_PHYSUSP_Pos) /*!< 0x00000010 */ |
2 | mjames | 12705 | #define USB_OTG_PCGCR_PHYSUSP USB_OTG_PCGCR_PHYSUSP_Msk /*!< PHY suspended */ |
12706 | |||
9 | mjames | 12707 | /******************** Bit definition for USB_OTG_GOTGINT register ********************/ |
2 | mjames | 12708 | #define USB_OTG_GOTGINT_SEDET_Pos (2U) |
9 | mjames | 12709 | #define USB_OTG_GOTGINT_SEDET_Msk (0x1UL << USB_OTG_GOTGINT_SEDET_Pos) /*!< 0x00000004 */ |
2 | mjames | 12710 | #define USB_OTG_GOTGINT_SEDET USB_OTG_GOTGINT_SEDET_Msk /*!< Session end detected */ |
12711 | #define USB_OTG_GOTGINT_SRSSCHG_Pos (8U) |
||
9 | mjames | 12712 | #define USB_OTG_GOTGINT_SRSSCHG_Msk (0x1UL << USB_OTG_GOTGINT_SRSSCHG_Pos) /*!< 0x00000100 */ |
2 | mjames | 12713 | #define USB_OTG_GOTGINT_SRSSCHG USB_OTG_GOTGINT_SRSSCHG_Msk /*!< Session request success status change */ |
12714 | #define USB_OTG_GOTGINT_HNSSCHG_Pos (9U) |
||
9 | mjames | 12715 | #define USB_OTG_GOTGINT_HNSSCHG_Msk (0x1UL << USB_OTG_GOTGINT_HNSSCHG_Pos) /*!< 0x00000200 */ |
2 | mjames | 12716 | #define USB_OTG_GOTGINT_HNSSCHG USB_OTG_GOTGINT_HNSSCHG_Msk /*!< Host negotiation success status change */ |
12717 | #define USB_OTG_GOTGINT_HNGDET_Pos (17U) |
||
9 | mjames | 12718 | #define USB_OTG_GOTGINT_HNGDET_Msk (0x1UL << USB_OTG_GOTGINT_HNGDET_Pos) /*!< 0x00020000 */ |
2 | mjames | 12719 | #define USB_OTG_GOTGINT_HNGDET USB_OTG_GOTGINT_HNGDET_Msk /*!< Host negotiation detected */ |
12720 | #define USB_OTG_GOTGINT_ADTOCHG_Pos (18U) |
||
9 | mjames | 12721 | #define USB_OTG_GOTGINT_ADTOCHG_Msk (0x1UL << USB_OTG_GOTGINT_ADTOCHG_Pos) /*!< 0x00040000 */ |
2 | mjames | 12722 | #define USB_OTG_GOTGINT_ADTOCHG USB_OTG_GOTGINT_ADTOCHG_Msk /*!< A-device timeout change */ |
12723 | #define USB_OTG_GOTGINT_DBCDNE_Pos (19U) |
||
9 | mjames | 12724 | #define USB_OTG_GOTGINT_DBCDNE_Msk (0x1UL << USB_OTG_GOTGINT_DBCDNE_Pos) /*!< 0x00080000 */ |
2 | mjames | 12725 | #define USB_OTG_GOTGINT_DBCDNE USB_OTG_GOTGINT_DBCDNE_Msk /*!< Debounce done */ |
12726 | |||
9 | mjames | 12727 | /******************** Bit definition for USB_OTG_DCTL register ********************/ |
2 | mjames | 12728 | #define USB_OTG_DCTL_RWUSIG_Pos (0U) |
9 | mjames | 12729 | #define USB_OTG_DCTL_RWUSIG_Msk (0x1UL << USB_OTG_DCTL_RWUSIG_Pos) /*!< 0x00000001 */ |
2 | mjames | 12730 | #define USB_OTG_DCTL_RWUSIG USB_OTG_DCTL_RWUSIG_Msk /*!< Remote wakeup signaling */ |
12731 | #define USB_OTG_DCTL_SDIS_Pos (1U) |
||
9 | mjames | 12732 | #define USB_OTG_DCTL_SDIS_Msk (0x1UL << USB_OTG_DCTL_SDIS_Pos) /*!< 0x00000002 */ |
2 | mjames | 12733 | #define USB_OTG_DCTL_SDIS USB_OTG_DCTL_SDIS_Msk /*!< Soft disconnect */ |
12734 | #define USB_OTG_DCTL_GINSTS_Pos (2U) |
||
9 | mjames | 12735 | #define USB_OTG_DCTL_GINSTS_Msk (0x1UL << USB_OTG_DCTL_GINSTS_Pos) /*!< 0x00000004 */ |
2 | mjames | 12736 | #define USB_OTG_DCTL_GINSTS USB_OTG_DCTL_GINSTS_Msk /*!< Global IN NAK status */ |
12737 | #define USB_OTG_DCTL_GONSTS_Pos (3U) |
||
9 | mjames | 12738 | #define USB_OTG_DCTL_GONSTS_Msk (0x1UL << USB_OTG_DCTL_GONSTS_Pos) /*!< 0x00000008 */ |
2 | mjames | 12739 | #define USB_OTG_DCTL_GONSTS USB_OTG_DCTL_GONSTS_Msk /*!< Global OUT NAK status */ |
12740 | |||
12741 | #define USB_OTG_DCTL_TCTL_Pos (4U) |
||
9 | mjames | 12742 | #define USB_OTG_DCTL_TCTL_Msk (0x7UL << USB_OTG_DCTL_TCTL_Pos) /*!< 0x00000070 */ |
2 | mjames | 12743 | #define USB_OTG_DCTL_TCTL USB_OTG_DCTL_TCTL_Msk /*!< Test control */ |
9 | mjames | 12744 | #define USB_OTG_DCTL_TCTL_0 (0x1UL << USB_OTG_DCTL_TCTL_Pos) /*!< 0x00000010 */ |
12745 | #define USB_OTG_DCTL_TCTL_1 (0x2UL << USB_OTG_DCTL_TCTL_Pos) /*!< 0x00000020 */ |
||
12746 | #define USB_OTG_DCTL_TCTL_2 (0x4UL << USB_OTG_DCTL_TCTL_Pos) /*!< 0x00000040 */ |
||
2 | mjames | 12747 | #define USB_OTG_DCTL_SGINAK_Pos (7U) |
9 | mjames | 12748 | #define USB_OTG_DCTL_SGINAK_Msk (0x1UL << USB_OTG_DCTL_SGINAK_Pos) /*!< 0x00000080 */ |
2 | mjames | 12749 | #define USB_OTG_DCTL_SGINAK USB_OTG_DCTL_SGINAK_Msk /*!< Set global IN NAK */ |
12750 | #define USB_OTG_DCTL_CGINAK_Pos (8U) |
||
9 | mjames | 12751 | #define USB_OTG_DCTL_CGINAK_Msk (0x1UL << USB_OTG_DCTL_CGINAK_Pos) /*!< 0x00000100 */ |
2 | mjames | 12752 | #define USB_OTG_DCTL_CGINAK USB_OTG_DCTL_CGINAK_Msk /*!< Clear global IN NAK */ |
12753 | #define USB_OTG_DCTL_SGONAK_Pos (9U) |
||
9 | mjames | 12754 | #define USB_OTG_DCTL_SGONAK_Msk (0x1UL << USB_OTG_DCTL_SGONAK_Pos) /*!< 0x00000200 */ |
2 | mjames | 12755 | #define USB_OTG_DCTL_SGONAK USB_OTG_DCTL_SGONAK_Msk /*!< Set global OUT NAK */ |
12756 | #define USB_OTG_DCTL_CGONAK_Pos (10U) |
||
9 | mjames | 12757 | #define USB_OTG_DCTL_CGONAK_Msk (0x1UL << USB_OTG_DCTL_CGONAK_Pos) /*!< 0x00000400 */ |
2 | mjames | 12758 | #define USB_OTG_DCTL_CGONAK USB_OTG_DCTL_CGONAK_Msk /*!< Clear global OUT NAK */ |
12759 | #define USB_OTG_DCTL_POPRGDNE_Pos (11U) |
||
9 | mjames | 12760 | #define USB_OTG_DCTL_POPRGDNE_Msk (0x1UL << USB_OTG_DCTL_POPRGDNE_Pos) /*!< 0x00000800 */ |
2 | mjames | 12761 | #define USB_OTG_DCTL_POPRGDNE USB_OTG_DCTL_POPRGDNE_Msk /*!< Power-on programming done */ |
12762 | |||
9 | mjames | 12763 | /******************** Bit definition for USB_OTG_HFIR register ********************/ |
2 | mjames | 12764 | #define USB_OTG_HFIR_FRIVL_Pos (0U) |
9 | mjames | 12765 | #define USB_OTG_HFIR_FRIVL_Msk (0xFFFFUL << USB_OTG_HFIR_FRIVL_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 12766 | #define USB_OTG_HFIR_FRIVL USB_OTG_HFIR_FRIVL_Msk /*!< Frame interval */ |
12767 | |||
9 | mjames | 12768 | /******************** Bit definition for USB_OTG_HFNUM register ********************/ |
2 | mjames | 12769 | #define USB_OTG_HFNUM_FRNUM_Pos (0U) |
9 | mjames | 12770 | #define USB_OTG_HFNUM_FRNUM_Msk (0xFFFFUL << USB_OTG_HFNUM_FRNUM_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 12771 | #define USB_OTG_HFNUM_FRNUM USB_OTG_HFNUM_FRNUM_Msk /*!< Frame number */ |
12772 | #define USB_OTG_HFNUM_FTREM_Pos (16U) |
||
9 | mjames | 12773 | #define USB_OTG_HFNUM_FTREM_Msk (0xFFFFUL << USB_OTG_HFNUM_FTREM_Pos) /*!< 0xFFFF0000 */ |
2 | mjames | 12774 | #define USB_OTG_HFNUM_FTREM USB_OTG_HFNUM_FTREM_Msk /*!< Frame time remaining */ |
12775 | |||
9 | mjames | 12776 | /******************** Bit definition for USB_OTG_DSTS register ********************/ |
2 | mjames | 12777 | #define USB_OTG_DSTS_SUSPSTS_Pos (0U) |
9 | mjames | 12778 | #define USB_OTG_DSTS_SUSPSTS_Msk (0x1UL << USB_OTG_DSTS_SUSPSTS_Pos) /*!< 0x00000001 */ |
2 | mjames | 12779 | #define USB_OTG_DSTS_SUSPSTS USB_OTG_DSTS_SUSPSTS_Msk /*!< Suspend status */ |
12780 | |||
12781 | #define USB_OTG_DSTS_ENUMSPD_Pos (1U) |
||
9 | mjames | 12782 | #define USB_OTG_DSTS_ENUMSPD_Msk (0x3UL << USB_OTG_DSTS_ENUMSPD_Pos) /*!< 0x00000006 */ |
2 | mjames | 12783 | #define USB_OTG_DSTS_ENUMSPD USB_OTG_DSTS_ENUMSPD_Msk /*!< Enumerated speed */ |
9 | mjames | 12784 | #define USB_OTG_DSTS_ENUMSPD_0 (0x1UL << USB_OTG_DSTS_ENUMSPD_Pos) /*!< 0x00000002 */ |
12785 | #define USB_OTG_DSTS_ENUMSPD_1 (0x2UL << USB_OTG_DSTS_ENUMSPD_Pos) /*!< 0x00000004 */ |
||
2 | mjames | 12786 | #define USB_OTG_DSTS_EERR_Pos (3U) |
9 | mjames | 12787 | #define USB_OTG_DSTS_EERR_Msk (0x1UL << USB_OTG_DSTS_EERR_Pos) /*!< 0x00000008 */ |
2 | mjames | 12788 | #define USB_OTG_DSTS_EERR USB_OTG_DSTS_EERR_Msk /*!< Erratic error */ |
12789 | #define USB_OTG_DSTS_FNSOF_Pos (8U) |
||
9 | mjames | 12790 | #define USB_OTG_DSTS_FNSOF_Msk (0x3FFFUL << USB_OTG_DSTS_FNSOF_Pos) /*!< 0x003FFF00 */ |
2 | mjames | 12791 | #define USB_OTG_DSTS_FNSOF USB_OTG_DSTS_FNSOF_Msk /*!< Frame number of the received SOF */ |
12792 | |||
9 | mjames | 12793 | /******************** Bit definition for USB_OTG_GAHBCFG register ********************/ |
2 | mjames | 12794 | #define USB_OTG_GAHBCFG_GINT_Pos (0U) |
9 | mjames | 12795 | #define USB_OTG_GAHBCFG_GINT_Msk (0x1UL << USB_OTG_GAHBCFG_GINT_Pos) /*!< 0x00000001 */ |
2 | mjames | 12796 | #define USB_OTG_GAHBCFG_GINT USB_OTG_GAHBCFG_GINT_Msk /*!< Global interrupt mask */ |
12797 | #define USB_OTG_GAHBCFG_HBSTLEN_Pos (1U) |
||
9 | mjames | 12798 | #define USB_OTG_GAHBCFG_HBSTLEN_Msk (0xFUL << USB_OTG_GAHBCFG_HBSTLEN_Pos) /*!< 0x0000001E */ |
2 | mjames | 12799 | #define USB_OTG_GAHBCFG_HBSTLEN USB_OTG_GAHBCFG_HBSTLEN_Msk /*!< Burst length/type */ |
9 | mjames | 12800 | #define USB_OTG_GAHBCFG_HBSTLEN_0 (0x0UL << USB_OTG_GAHBCFG_HBSTLEN_Pos) /*!< Single */ |
12801 | #define USB_OTG_GAHBCFG_HBSTLEN_1 (0x1UL << USB_OTG_GAHBCFG_HBSTLEN_Pos) /*!< INCR */ |
||
12802 | #define USB_OTG_GAHBCFG_HBSTLEN_2 (0x3UL << USB_OTG_GAHBCFG_HBSTLEN_Pos) /*!< INCR4 */ |
||
12803 | #define USB_OTG_GAHBCFG_HBSTLEN_3 (0x5UL << USB_OTG_GAHBCFG_HBSTLEN_Pos) /*!< INCR8 */ |
||
12804 | #define USB_OTG_GAHBCFG_HBSTLEN_4 (0x7UL << USB_OTG_GAHBCFG_HBSTLEN_Pos) /*!< INCR16 */ |
||
2 | mjames | 12805 | #define USB_OTG_GAHBCFG_DMAEN_Pos (5U) |
9 | mjames | 12806 | #define USB_OTG_GAHBCFG_DMAEN_Msk (0x1UL << USB_OTG_GAHBCFG_DMAEN_Pos) /*!< 0x00000020 */ |
2 | mjames | 12807 | #define USB_OTG_GAHBCFG_DMAEN USB_OTG_GAHBCFG_DMAEN_Msk /*!< DMA enable */ |
12808 | #define USB_OTG_GAHBCFG_TXFELVL_Pos (7U) |
||
9 | mjames | 12809 | #define USB_OTG_GAHBCFG_TXFELVL_Msk (0x1UL << USB_OTG_GAHBCFG_TXFELVL_Pos) /*!< 0x00000080 */ |
2 | mjames | 12810 | #define USB_OTG_GAHBCFG_TXFELVL USB_OTG_GAHBCFG_TXFELVL_Msk /*!< TxFIFO empty level */ |
12811 | #define USB_OTG_GAHBCFG_PTXFELVL_Pos (8U) |
||
9 | mjames | 12812 | #define USB_OTG_GAHBCFG_PTXFELVL_Msk (0x1UL << USB_OTG_GAHBCFG_PTXFELVL_Pos) /*!< 0x00000100 */ |
2 | mjames | 12813 | #define USB_OTG_GAHBCFG_PTXFELVL USB_OTG_GAHBCFG_PTXFELVL_Msk /*!< Periodic TxFIFO empty level */ |
12814 | |||
9 | mjames | 12815 | /******************** Bit definition for USB_OTG_GUSBCFG register ********************/ |
2 | mjames | 12816 | |
12817 | #define USB_OTG_GUSBCFG_TOCAL_Pos (0U) |
||
9 | mjames | 12818 | #define USB_OTG_GUSBCFG_TOCAL_Msk (0x7UL << USB_OTG_GUSBCFG_TOCAL_Pos) /*!< 0x00000007 */ |
2 | mjames | 12819 | #define USB_OTG_GUSBCFG_TOCAL USB_OTG_GUSBCFG_TOCAL_Msk /*!< FS timeout calibration */ |
9 | mjames | 12820 | #define USB_OTG_GUSBCFG_TOCAL_0 (0x1UL << USB_OTG_GUSBCFG_TOCAL_Pos) /*!< 0x00000001 */ |
12821 | #define USB_OTG_GUSBCFG_TOCAL_1 (0x2UL << USB_OTG_GUSBCFG_TOCAL_Pos) /*!< 0x00000002 */ |
||
12822 | #define USB_OTG_GUSBCFG_TOCAL_2 (0x4UL << USB_OTG_GUSBCFG_TOCAL_Pos) /*!< 0x00000004 */ |
||
2 | mjames | 12823 | #define USB_OTG_GUSBCFG_PHYSEL_Pos (6U) |
9 | mjames | 12824 | #define USB_OTG_GUSBCFG_PHYSEL_Msk (0x1UL << USB_OTG_GUSBCFG_PHYSEL_Pos) /*!< 0x00000040 */ |
2 | mjames | 12825 | #define USB_OTG_GUSBCFG_PHYSEL USB_OTG_GUSBCFG_PHYSEL_Msk /*!< USB 2.0 high-speed ULPI PHY or USB 1.1 full-speed serial transceiver select */ |
12826 | #define USB_OTG_GUSBCFG_SRPCAP_Pos (8U) |
||
9 | mjames | 12827 | #define USB_OTG_GUSBCFG_SRPCAP_Msk (0x1UL << USB_OTG_GUSBCFG_SRPCAP_Pos) /*!< 0x00000100 */ |
2 | mjames | 12828 | #define USB_OTG_GUSBCFG_SRPCAP USB_OTG_GUSBCFG_SRPCAP_Msk /*!< SRP-capable */ |
12829 | #define USB_OTG_GUSBCFG_HNPCAP_Pos (9U) |
||
9 | mjames | 12830 | #define USB_OTG_GUSBCFG_HNPCAP_Msk (0x1UL << USB_OTG_GUSBCFG_HNPCAP_Pos) /*!< 0x00000200 */ |
2 | mjames | 12831 | #define USB_OTG_GUSBCFG_HNPCAP USB_OTG_GUSBCFG_HNPCAP_Msk /*!< HNP-capable */ |
12832 | #define USB_OTG_GUSBCFG_TRDT_Pos (10U) |
||
9 | mjames | 12833 | #define USB_OTG_GUSBCFG_TRDT_Msk (0xFUL << USB_OTG_GUSBCFG_TRDT_Pos) /*!< 0x00003C00 */ |
2 | mjames | 12834 | #define USB_OTG_GUSBCFG_TRDT USB_OTG_GUSBCFG_TRDT_Msk /*!< USB turnaround time */ |
9 | mjames | 12835 | #define USB_OTG_GUSBCFG_TRDT_0 (0x1UL << USB_OTG_GUSBCFG_TRDT_Pos) /*!< 0x00000400 */ |
12836 | #define USB_OTG_GUSBCFG_TRDT_1 (0x2UL << USB_OTG_GUSBCFG_TRDT_Pos) /*!< 0x00000800 */ |
||
12837 | #define USB_OTG_GUSBCFG_TRDT_2 (0x4UL << USB_OTG_GUSBCFG_TRDT_Pos) /*!< 0x00001000 */ |
||
12838 | #define USB_OTG_GUSBCFG_TRDT_3 (0x8UL << USB_OTG_GUSBCFG_TRDT_Pos) /*!< 0x00002000 */ |
||
2 | mjames | 12839 | #define USB_OTG_GUSBCFG_PHYLPCS_Pos (15U) |
9 | mjames | 12840 | #define USB_OTG_GUSBCFG_PHYLPCS_Msk (0x1UL << USB_OTG_GUSBCFG_PHYLPCS_Pos) /*!< 0x00008000 */ |
2 | mjames | 12841 | #define USB_OTG_GUSBCFG_PHYLPCS USB_OTG_GUSBCFG_PHYLPCS_Msk /*!< PHY Low-power clock select */ |
12842 | #define USB_OTG_GUSBCFG_ULPIFSLS_Pos (17U) |
||
9 | mjames | 12843 | #define USB_OTG_GUSBCFG_ULPIFSLS_Msk (0x1UL << USB_OTG_GUSBCFG_ULPIFSLS_Pos) /*!< 0x00020000 */ |
2 | mjames | 12844 | #define USB_OTG_GUSBCFG_ULPIFSLS USB_OTG_GUSBCFG_ULPIFSLS_Msk /*!< ULPI FS/LS select */ |
12845 | #define USB_OTG_GUSBCFG_ULPIAR_Pos (18U) |
||
9 | mjames | 12846 | #define USB_OTG_GUSBCFG_ULPIAR_Msk (0x1UL << USB_OTG_GUSBCFG_ULPIAR_Pos) /*!< 0x00040000 */ |
2 | mjames | 12847 | #define USB_OTG_GUSBCFG_ULPIAR USB_OTG_GUSBCFG_ULPIAR_Msk /*!< ULPI Auto-resume */ |
12848 | #define USB_OTG_GUSBCFG_ULPICSM_Pos (19U) |
||
9 | mjames | 12849 | #define USB_OTG_GUSBCFG_ULPICSM_Msk (0x1UL << USB_OTG_GUSBCFG_ULPICSM_Pos) /*!< 0x00080000 */ |
2 | mjames | 12850 | #define USB_OTG_GUSBCFG_ULPICSM USB_OTG_GUSBCFG_ULPICSM_Msk /*!< ULPI Clock SuspendM */ |
12851 | #define USB_OTG_GUSBCFG_ULPIEVBUSD_Pos (20U) |
||
9 | mjames | 12852 | #define USB_OTG_GUSBCFG_ULPIEVBUSD_Msk (0x1UL << USB_OTG_GUSBCFG_ULPIEVBUSD_Pos) /*!< 0x00100000 */ |
2 | mjames | 12853 | #define USB_OTG_GUSBCFG_ULPIEVBUSD USB_OTG_GUSBCFG_ULPIEVBUSD_Msk /*!< ULPI External VBUS Drive */ |
12854 | #define USB_OTG_GUSBCFG_ULPIEVBUSI_Pos (21U) |
||
9 | mjames | 12855 | #define USB_OTG_GUSBCFG_ULPIEVBUSI_Msk (0x1UL << USB_OTG_GUSBCFG_ULPIEVBUSI_Pos) /*!< 0x00200000 */ |
2 | mjames | 12856 | #define USB_OTG_GUSBCFG_ULPIEVBUSI USB_OTG_GUSBCFG_ULPIEVBUSI_Msk /*!< ULPI external VBUS indicator */ |
12857 | #define USB_OTG_GUSBCFG_TSDPS_Pos (22U) |
||
9 | mjames | 12858 | #define USB_OTG_GUSBCFG_TSDPS_Msk (0x1UL << USB_OTG_GUSBCFG_TSDPS_Pos) /*!< 0x00400000 */ |
2 | mjames | 12859 | #define USB_OTG_GUSBCFG_TSDPS USB_OTG_GUSBCFG_TSDPS_Msk /*!< TermSel DLine pulsing selection */ |
12860 | #define USB_OTG_GUSBCFG_PCCI_Pos (23U) |
||
9 | mjames | 12861 | #define USB_OTG_GUSBCFG_PCCI_Msk (0x1UL << USB_OTG_GUSBCFG_PCCI_Pos) /*!< 0x00800000 */ |
2 | mjames | 12862 | #define USB_OTG_GUSBCFG_PCCI USB_OTG_GUSBCFG_PCCI_Msk /*!< Indicator complement */ |
12863 | #define USB_OTG_GUSBCFG_PTCI_Pos (24U) |
||
9 | mjames | 12864 | #define USB_OTG_GUSBCFG_PTCI_Msk (0x1UL << USB_OTG_GUSBCFG_PTCI_Pos) /*!< 0x01000000 */ |
2 | mjames | 12865 | #define USB_OTG_GUSBCFG_PTCI USB_OTG_GUSBCFG_PTCI_Msk /*!< Indicator pass through */ |
12866 | #define USB_OTG_GUSBCFG_ULPIIPD_Pos (25U) |
||
9 | mjames | 12867 | #define USB_OTG_GUSBCFG_ULPIIPD_Msk (0x1UL << USB_OTG_GUSBCFG_ULPIIPD_Pos) /*!< 0x02000000 */ |
2 | mjames | 12868 | #define USB_OTG_GUSBCFG_ULPIIPD USB_OTG_GUSBCFG_ULPIIPD_Msk /*!< ULPI interface protect disable */ |
12869 | #define USB_OTG_GUSBCFG_FHMOD_Pos (29U) |
||
9 | mjames | 12870 | #define USB_OTG_GUSBCFG_FHMOD_Msk (0x1UL << USB_OTG_GUSBCFG_FHMOD_Pos) /*!< 0x20000000 */ |
2 | mjames | 12871 | #define USB_OTG_GUSBCFG_FHMOD USB_OTG_GUSBCFG_FHMOD_Msk /*!< Forced host mode */ |
12872 | #define USB_OTG_GUSBCFG_FDMOD_Pos (30U) |
||
9 | mjames | 12873 | #define USB_OTG_GUSBCFG_FDMOD_Msk (0x1UL << USB_OTG_GUSBCFG_FDMOD_Pos) /*!< 0x40000000 */ |
2 | mjames | 12874 | #define USB_OTG_GUSBCFG_FDMOD USB_OTG_GUSBCFG_FDMOD_Msk /*!< Forced peripheral mode */ |
12875 | #define USB_OTG_GUSBCFG_CTXPKT_Pos (31U) |
||
9 | mjames | 12876 | #define USB_OTG_GUSBCFG_CTXPKT_Msk (0x1UL << USB_OTG_GUSBCFG_CTXPKT_Pos) /*!< 0x80000000 */ |
2 | mjames | 12877 | #define USB_OTG_GUSBCFG_CTXPKT USB_OTG_GUSBCFG_CTXPKT_Msk /*!< Corrupt Tx packet */ |
12878 | |||
9 | mjames | 12879 | /******************** Bit definition for USB_OTG_GRSTCTL register ********************/ |
2 | mjames | 12880 | #define USB_OTG_GRSTCTL_CSRST_Pos (0U) |
9 | mjames | 12881 | #define USB_OTG_GRSTCTL_CSRST_Msk (0x1UL << USB_OTG_GRSTCTL_CSRST_Pos) /*!< 0x00000001 */ |
2 | mjames | 12882 | #define USB_OTG_GRSTCTL_CSRST USB_OTG_GRSTCTL_CSRST_Msk /*!< Core soft reset */ |
12883 | #define USB_OTG_GRSTCTL_HSRST_Pos (1U) |
||
9 | mjames | 12884 | #define USB_OTG_GRSTCTL_HSRST_Msk (0x1UL << USB_OTG_GRSTCTL_HSRST_Pos) /*!< 0x00000002 */ |
2 | mjames | 12885 | #define USB_OTG_GRSTCTL_HSRST USB_OTG_GRSTCTL_HSRST_Msk /*!< HCLK soft reset */ |
12886 | #define USB_OTG_GRSTCTL_FCRST_Pos (2U) |
||
9 | mjames | 12887 | #define USB_OTG_GRSTCTL_FCRST_Msk (0x1UL << USB_OTG_GRSTCTL_FCRST_Pos) /*!< 0x00000004 */ |
2 | mjames | 12888 | #define USB_OTG_GRSTCTL_FCRST USB_OTG_GRSTCTL_FCRST_Msk /*!< Host frame counter reset */ |
12889 | #define USB_OTG_GRSTCTL_RXFFLSH_Pos (4U) |
||
9 | mjames | 12890 | #define USB_OTG_GRSTCTL_RXFFLSH_Msk (0x1UL << USB_OTG_GRSTCTL_RXFFLSH_Pos) /*!< 0x00000010 */ |
2 | mjames | 12891 | #define USB_OTG_GRSTCTL_RXFFLSH USB_OTG_GRSTCTL_RXFFLSH_Msk /*!< RxFIFO flush */ |
12892 | #define USB_OTG_GRSTCTL_TXFFLSH_Pos (5U) |
||
9 | mjames | 12893 | #define USB_OTG_GRSTCTL_TXFFLSH_Msk (0x1UL << USB_OTG_GRSTCTL_TXFFLSH_Pos) /*!< 0x00000020 */ |
2 | mjames | 12894 | #define USB_OTG_GRSTCTL_TXFFLSH USB_OTG_GRSTCTL_TXFFLSH_Msk /*!< TxFIFO flush */ |
12895 | |||
9 | mjames | 12896 | |
2 | mjames | 12897 | #define USB_OTG_GRSTCTL_TXFNUM_Pos (6U) |
9 | mjames | 12898 | #define USB_OTG_GRSTCTL_TXFNUM_Msk (0x1FUL << USB_OTG_GRSTCTL_TXFNUM_Pos) /*!< 0x000007C0 */ |
2 | mjames | 12899 | #define USB_OTG_GRSTCTL_TXFNUM USB_OTG_GRSTCTL_TXFNUM_Msk /*!< TxFIFO number */ |
9 | mjames | 12900 | #define USB_OTG_GRSTCTL_TXFNUM_0 (0x01UL << USB_OTG_GRSTCTL_TXFNUM_Pos) /*!< 0x00000040 */ |
12901 | #define USB_OTG_GRSTCTL_TXFNUM_1 (0x02UL << USB_OTG_GRSTCTL_TXFNUM_Pos) /*!< 0x00000080 */ |
||
12902 | #define USB_OTG_GRSTCTL_TXFNUM_2 (0x04UL << USB_OTG_GRSTCTL_TXFNUM_Pos) /*!< 0x00000100 */ |
||
12903 | #define USB_OTG_GRSTCTL_TXFNUM_3 (0x08UL << USB_OTG_GRSTCTL_TXFNUM_Pos) /*!< 0x00000200 */ |
||
12904 | #define USB_OTG_GRSTCTL_TXFNUM_4 (0x10UL << USB_OTG_GRSTCTL_TXFNUM_Pos) /*!< 0x00000400 */ |
||
2 | mjames | 12905 | #define USB_OTG_GRSTCTL_DMAREQ_Pos (30U) |
9 | mjames | 12906 | #define USB_OTG_GRSTCTL_DMAREQ_Msk (0x1UL << USB_OTG_GRSTCTL_DMAREQ_Pos) /*!< 0x40000000 */ |
2 | mjames | 12907 | #define USB_OTG_GRSTCTL_DMAREQ USB_OTG_GRSTCTL_DMAREQ_Msk /*!< DMA request signal */ |
12908 | #define USB_OTG_GRSTCTL_AHBIDL_Pos (31U) |
||
9 | mjames | 12909 | #define USB_OTG_GRSTCTL_AHBIDL_Msk (0x1UL << USB_OTG_GRSTCTL_AHBIDL_Pos) /*!< 0x80000000 */ |
2 | mjames | 12910 | #define USB_OTG_GRSTCTL_AHBIDL USB_OTG_GRSTCTL_AHBIDL_Msk /*!< AHB master idle */ |
12911 | |||
9 | mjames | 12912 | /******************** Bit definition for USB_OTG_DIEPMSK register ********************/ |
2 | mjames | 12913 | #define USB_OTG_DIEPMSK_XFRCM_Pos (0U) |
9 | mjames | 12914 | #define USB_OTG_DIEPMSK_XFRCM_Msk (0x1UL << USB_OTG_DIEPMSK_XFRCM_Pos) /*!< 0x00000001 */ |
2 | mjames | 12915 | #define USB_OTG_DIEPMSK_XFRCM USB_OTG_DIEPMSK_XFRCM_Msk /*!< Transfer completed interrupt mask */ |
12916 | #define USB_OTG_DIEPMSK_EPDM_Pos (1U) |
||
9 | mjames | 12917 | #define USB_OTG_DIEPMSK_EPDM_Msk (0x1UL << USB_OTG_DIEPMSK_EPDM_Pos) /*!< 0x00000002 */ |
2 | mjames | 12918 | #define USB_OTG_DIEPMSK_EPDM USB_OTG_DIEPMSK_EPDM_Msk /*!< Endpoint disabled interrupt mask */ |
12919 | #define USB_OTG_DIEPMSK_TOM_Pos (3U) |
||
9 | mjames | 12920 | #define USB_OTG_DIEPMSK_TOM_Msk (0x1UL << USB_OTG_DIEPMSK_TOM_Pos) /*!< 0x00000008 */ |
2 | mjames | 12921 | #define USB_OTG_DIEPMSK_TOM USB_OTG_DIEPMSK_TOM_Msk /*!< Timeout condition mask (nonisochronous endpoints) */ |
12922 | #define USB_OTG_DIEPMSK_ITTXFEMSK_Pos (4U) |
||
9 | mjames | 12923 | #define USB_OTG_DIEPMSK_ITTXFEMSK_Msk (0x1UL << USB_OTG_DIEPMSK_ITTXFEMSK_Pos) /*!< 0x00000010 */ |
2 | mjames | 12924 | #define USB_OTG_DIEPMSK_ITTXFEMSK USB_OTG_DIEPMSK_ITTXFEMSK_Msk /*!< IN token received when TxFIFO empty mask */ |
12925 | #define USB_OTG_DIEPMSK_INEPNMM_Pos (5U) |
||
9 | mjames | 12926 | #define USB_OTG_DIEPMSK_INEPNMM_Msk (0x1UL << USB_OTG_DIEPMSK_INEPNMM_Pos) /*!< 0x00000020 */ |
2 | mjames | 12927 | #define USB_OTG_DIEPMSK_INEPNMM USB_OTG_DIEPMSK_INEPNMM_Msk /*!< IN token received with EP mismatch mask */ |
12928 | #define USB_OTG_DIEPMSK_INEPNEM_Pos (6U) |
||
9 | mjames | 12929 | #define USB_OTG_DIEPMSK_INEPNEM_Msk (0x1UL << USB_OTG_DIEPMSK_INEPNEM_Pos) /*!< 0x00000040 */ |
2 | mjames | 12930 | #define USB_OTG_DIEPMSK_INEPNEM USB_OTG_DIEPMSK_INEPNEM_Msk /*!< IN endpoint NAK effective mask */ |
12931 | #define USB_OTG_DIEPMSK_TXFURM_Pos (8U) |
||
9 | mjames | 12932 | #define USB_OTG_DIEPMSK_TXFURM_Msk (0x1UL << USB_OTG_DIEPMSK_TXFURM_Pos) /*!< 0x00000100 */ |
2 | mjames | 12933 | #define USB_OTG_DIEPMSK_TXFURM USB_OTG_DIEPMSK_TXFURM_Msk /*!< FIFO underrun mask */ |
12934 | #define USB_OTG_DIEPMSK_BIM_Pos (9U) |
||
9 | mjames | 12935 | #define USB_OTG_DIEPMSK_BIM_Msk (0x1UL << USB_OTG_DIEPMSK_BIM_Pos) /*!< 0x00000200 */ |
2 | mjames | 12936 | #define USB_OTG_DIEPMSK_BIM USB_OTG_DIEPMSK_BIM_Msk /*!< BNA interrupt mask */ |
12937 | |||
9 | mjames | 12938 | /******************** Bit definition for USB_OTG_HPTXSTS register ********************/ |
2 | mjames | 12939 | #define USB_OTG_HPTXSTS_PTXFSAVL_Pos (0U) |
9 | mjames | 12940 | #define USB_OTG_HPTXSTS_PTXFSAVL_Msk (0xFFFFUL << USB_OTG_HPTXSTS_PTXFSAVL_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 12941 | #define USB_OTG_HPTXSTS_PTXFSAVL USB_OTG_HPTXSTS_PTXFSAVL_Msk /*!< Periodic transmit data FIFO space available */ |
12942 | #define USB_OTG_HPTXSTS_PTXQSAV_Pos (16U) |
||
9 | mjames | 12943 | #define USB_OTG_HPTXSTS_PTXQSAV_Msk (0xFFUL << USB_OTG_HPTXSTS_PTXQSAV_Pos) /*!< 0x00FF0000 */ |
2 | mjames | 12944 | #define USB_OTG_HPTXSTS_PTXQSAV USB_OTG_HPTXSTS_PTXQSAV_Msk /*!< Periodic transmit request queue space available */ |
9 | mjames | 12945 | #define USB_OTG_HPTXSTS_PTXQSAV_0 (0x01UL << USB_OTG_HPTXSTS_PTXQSAV_Pos) /*!< 0x00010000 */ |
12946 | #define USB_OTG_HPTXSTS_PTXQSAV_1 (0x02UL << USB_OTG_HPTXSTS_PTXQSAV_Pos) /*!< 0x00020000 */ |
||
12947 | #define USB_OTG_HPTXSTS_PTXQSAV_2 (0x04UL << USB_OTG_HPTXSTS_PTXQSAV_Pos) /*!< 0x00040000 */ |
||
12948 | #define USB_OTG_HPTXSTS_PTXQSAV_3 (0x08UL << USB_OTG_HPTXSTS_PTXQSAV_Pos) /*!< 0x00080000 */ |
||
12949 | #define USB_OTG_HPTXSTS_PTXQSAV_4 (0x10UL << USB_OTG_HPTXSTS_PTXQSAV_Pos) /*!< 0x00100000 */ |
||
12950 | #define USB_OTG_HPTXSTS_PTXQSAV_5 (0x20UL << USB_OTG_HPTXSTS_PTXQSAV_Pos) /*!< 0x00200000 */ |
||
12951 | #define USB_OTG_HPTXSTS_PTXQSAV_6 (0x40UL << USB_OTG_HPTXSTS_PTXQSAV_Pos) /*!< 0x00400000 */ |
||
12952 | #define USB_OTG_HPTXSTS_PTXQSAV_7 (0x80UL << USB_OTG_HPTXSTS_PTXQSAV_Pos) /*!< 0x00800000 */ |
||
2 | mjames | 12953 | |
12954 | #define USB_OTG_HPTXSTS_PTXQTOP_Pos (24U) |
||
9 | mjames | 12955 | #define USB_OTG_HPTXSTS_PTXQTOP_Msk (0xFFUL << USB_OTG_HPTXSTS_PTXQTOP_Pos) /*!< 0xFF000000 */ |
2 | mjames | 12956 | #define USB_OTG_HPTXSTS_PTXQTOP USB_OTG_HPTXSTS_PTXQTOP_Msk /*!< Top of the periodic transmit request queue */ |
9 | mjames | 12957 | #define USB_OTG_HPTXSTS_PTXQTOP_0 (0x01UL << USB_OTG_HPTXSTS_PTXQTOP_Pos) /*!< 0x01000000 */ |
12958 | #define USB_OTG_HPTXSTS_PTXQTOP_1 (0x02UL << USB_OTG_HPTXSTS_PTXQTOP_Pos) /*!< 0x02000000 */ |
||
12959 | #define USB_OTG_HPTXSTS_PTXQTOP_2 (0x04UL << USB_OTG_HPTXSTS_PTXQTOP_Pos) /*!< 0x04000000 */ |
||
12960 | #define USB_OTG_HPTXSTS_PTXQTOP_3 (0x08UL << USB_OTG_HPTXSTS_PTXQTOP_Pos) /*!< 0x08000000 */ |
||
12961 | #define USB_OTG_HPTXSTS_PTXQTOP_4 (0x10UL << USB_OTG_HPTXSTS_PTXQTOP_Pos) /*!< 0x10000000 */ |
||
12962 | #define USB_OTG_HPTXSTS_PTXQTOP_5 (0x20UL << USB_OTG_HPTXSTS_PTXQTOP_Pos) /*!< 0x20000000 */ |
||
12963 | #define USB_OTG_HPTXSTS_PTXQTOP_6 (0x40UL << USB_OTG_HPTXSTS_PTXQTOP_Pos) /*!< 0x40000000 */ |
||
12964 | #define USB_OTG_HPTXSTS_PTXQTOP_7 (0x80UL << USB_OTG_HPTXSTS_PTXQTOP_Pos) /*!< 0x80000000 */ |
||
2 | mjames | 12965 | |
9 | mjames | 12966 | /******************** Bit definition for USB_OTG_HAINT register ********************/ |
2 | mjames | 12967 | #define USB_OTG_HAINT_HAINT_Pos (0U) |
9 | mjames | 12968 | #define USB_OTG_HAINT_HAINT_Msk (0xFFFFUL << USB_OTG_HAINT_HAINT_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 12969 | #define USB_OTG_HAINT_HAINT USB_OTG_HAINT_HAINT_Msk /*!< Channel interrupts */ |
12970 | |||
9 | mjames | 12971 | /******************** Bit definition for USB_OTG_DOEPMSK register ********************/ |
2 | mjames | 12972 | #define USB_OTG_DOEPMSK_XFRCM_Pos (0U) |
9 | mjames | 12973 | #define USB_OTG_DOEPMSK_XFRCM_Msk (0x1UL << USB_OTG_DOEPMSK_XFRCM_Pos) /*!< 0x00000001 */ |
2 | mjames | 12974 | #define USB_OTG_DOEPMSK_XFRCM USB_OTG_DOEPMSK_XFRCM_Msk /*!< Transfer completed interrupt mask */ |
12975 | #define USB_OTG_DOEPMSK_EPDM_Pos (1U) |
||
9 | mjames | 12976 | #define USB_OTG_DOEPMSK_EPDM_Msk (0x1UL << USB_OTG_DOEPMSK_EPDM_Pos) /*!< 0x00000002 */ |
2 | mjames | 12977 | #define USB_OTG_DOEPMSK_EPDM USB_OTG_DOEPMSK_EPDM_Msk /*!< Endpoint disabled interrupt mask */ |
9 | mjames | 12978 | #define USB_OTG_DOEPMSK_AHBERRM_Pos (2U) |
12979 | #define USB_OTG_DOEPMSK_AHBERRM_Msk (0x1UL << USB_OTG_DOEPMSK_AHBERRM_Pos) /*!< 0x00000004 */ |
||
12980 | #define USB_OTG_DOEPMSK_AHBERRM USB_OTG_DOEPMSK_AHBERRM_Msk /*!< OUT transaction AHB Error interrupt mask */ |
||
2 | mjames | 12981 | #define USB_OTG_DOEPMSK_STUPM_Pos (3U) |
9 | mjames | 12982 | #define USB_OTG_DOEPMSK_STUPM_Msk (0x1UL << USB_OTG_DOEPMSK_STUPM_Pos) /*!< 0x00000008 */ |
2 | mjames | 12983 | #define USB_OTG_DOEPMSK_STUPM USB_OTG_DOEPMSK_STUPM_Msk /*!< SETUP phase done mask */ |
12984 | #define USB_OTG_DOEPMSK_OTEPDM_Pos (4U) |
||
9 | mjames | 12985 | #define USB_OTG_DOEPMSK_OTEPDM_Msk (0x1UL << USB_OTG_DOEPMSK_OTEPDM_Pos) /*!< 0x00000010 */ |
2 | mjames | 12986 | #define USB_OTG_DOEPMSK_OTEPDM USB_OTG_DOEPMSK_OTEPDM_Msk /*!< OUT token received when endpoint disabled mask */ |
9 | mjames | 12987 | #define USB_OTG_DOEPMSK_OTEPSPRM_Pos (5U) |
12988 | #define USB_OTG_DOEPMSK_OTEPSPRM_Msk (0x1UL << USB_OTG_DOEPMSK_OTEPSPRM_Pos) /*!< 0x00000020 */ |
||
12989 | #define USB_OTG_DOEPMSK_OTEPSPRM USB_OTG_DOEPMSK_OTEPSPRM_Msk /*!< Status Phase Received mask */ |
||
2 | mjames | 12990 | #define USB_OTG_DOEPMSK_B2BSTUP_Pos (6U) |
9 | mjames | 12991 | #define USB_OTG_DOEPMSK_B2BSTUP_Msk (0x1UL << USB_OTG_DOEPMSK_B2BSTUP_Pos) /*!< 0x00000040 */ |
2 | mjames | 12992 | #define USB_OTG_DOEPMSK_B2BSTUP USB_OTG_DOEPMSK_B2BSTUP_Msk /*!< Back-to-back SETUP packets received mask */ |
12993 | #define USB_OTG_DOEPMSK_OPEM_Pos (8U) |
||
9 | mjames | 12994 | #define USB_OTG_DOEPMSK_OPEM_Msk (0x1UL << USB_OTG_DOEPMSK_OPEM_Pos) /*!< 0x00000100 */ |
2 | mjames | 12995 | #define USB_OTG_DOEPMSK_OPEM USB_OTG_DOEPMSK_OPEM_Msk /*!< OUT packet error mask */ |
12996 | #define USB_OTG_DOEPMSK_BOIM_Pos (9U) |
||
9 | mjames | 12997 | #define USB_OTG_DOEPMSK_BOIM_Msk (0x1UL << USB_OTG_DOEPMSK_BOIM_Pos) /*!< 0x00000200 */ |
2 | mjames | 12998 | #define USB_OTG_DOEPMSK_BOIM USB_OTG_DOEPMSK_BOIM_Msk /*!< BNA interrupt mask */ |
9 | mjames | 12999 | #define USB_OTG_DOEPMSK_BERRM_Pos (12U) |
13000 | #define USB_OTG_DOEPMSK_BERRM_Msk (0x1UL << USB_OTG_DOEPMSK_BERRM_Pos) /*!< 0x00001000 */ |
||
13001 | #define USB_OTG_DOEPMSK_BERRM USB_OTG_DOEPMSK_BERRM_Msk /*!< Babble error interrupt mask */ |
||
13002 | #define USB_OTG_DOEPMSK_NAKM_Pos (13U) |
||
13003 | #define USB_OTG_DOEPMSK_NAKM_Msk (0x1UL << USB_OTG_DOEPMSK_NAKM_Pos) /*!< 0x00002000 */ |
||
13004 | #define USB_OTG_DOEPMSK_NAKM USB_OTG_DOEPMSK_NAKM_Msk /*!< OUT Packet NAK interrupt mask */ |
||
13005 | #define USB_OTG_DOEPMSK_NYETM_Pos (14U) |
||
13006 | #define USB_OTG_DOEPMSK_NYETM_Msk (0x1UL << USB_OTG_DOEPMSK_NYETM_Pos) /*!< 0x00004000 */ |
||
13007 | #define USB_OTG_DOEPMSK_NYETM USB_OTG_DOEPMSK_NYETM_Msk /*!< NYET interrupt mask */ |
||
13008 | /******************** Bit definition for USB_OTG_GINTSTS register ********************/ |
||
2 | mjames | 13009 | #define USB_OTG_GINTSTS_CMOD_Pos (0U) |
9 | mjames | 13010 | #define USB_OTG_GINTSTS_CMOD_Msk (0x1UL << USB_OTG_GINTSTS_CMOD_Pos) /*!< 0x00000001 */ |
2 | mjames | 13011 | #define USB_OTG_GINTSTS_CMOD USB_OTG_GINTSTS_CMOD_Msk /*!< Current mode of operation */ |
13012 | #define USB_OTG_GINTSTS_MMIS_Pos (1U) |
||
9 | mjames | 13013 | #define USB_OTG_GINTSTS_MMIS_Msk (0x1UL << USB_OTG_GINTSTS_MMIS_Pos) /*!< 0x00000002 */ |
2 | mjames | 13014 | #define USB_OTG_GINTSTS_MMIS USB_OTG_GINTSTS_MMIS_Msk /*!< Mode mismatch interrupt */ |
13015 | #define USB_OTG_GINTSTS_OTGINT_Pos (2U) |
||
9 | mjames | 13016 | #define USB_OTG_GINTSTS_OTGINT_Msk (0x1UL << USB_OTG_GINTSTS_OTGINT_Pos) /*!< 0x00000004 */ |
2 | mjames | 13017 | #define USB_OTG_GINTSTS_OTGINT USB_OTG_GINTSTS_OTGINT_Msk /*!< OTG interrupt */ |
13018 | #define USB_OTG_GINTSTS_SOF_Pos (3U) |
||
9 | mjames | 13019 | #define USB_OTG_GINTSTS_SOF_Msk (0x1UL << USB_OTG_GINTSTS_SOF_Pos) /*!< 0x00000008 */ |
2 | mjames | 13020 | #define USB_OTG_GINTSTS_SOF USB_OTG_GINTSTS_SOF_Msk /*!< Start of frame */ |
13021 | #define USB_OTG_GINTSTS_RXFLVL_Pos (4U) |
||
9 | mjames | 13022 | #define USB_OTG_GINTSTS_RXFLVL_Msk (0x1UL << USB_OTG_GINTSTS_RXFLVL_Pos) /*!< 0x00000010 */ |
2 | mjames | 13023 | #define USB_OTG_GINTSTS_RXFLVL USB_OTG_GINTSTS_RXFLVL_Msk /*!< RxFIFO nonempty */ |
13024 | #define USB_OTG_GINTSTS_NPTXFE_Pos (5U) |
||
9 | mjames | 13025 | #define USB_OTG_GINTSTS_NPTXFE_Msk (0x1UL << USB_OTG_GINTSTS_NPTXFE_Pos) /*!< 0x00000020 */ |
2 | mjames | 13026 | #define USB_OTG_GINTSTS_NPTXFE USB_OTG_GINTSTS_NPTXFE_Msk /*!< Nonperiodic TxFIFO empty */ |
13027 | #define USB_OTG_GINTSTS_GINAKEFF_Pos (6U) |
||
9 | mjames | 13028 | #define USB_OTG_GINTSTS_GINAKEFF_Msk (0x1UL << USB_OTG_GINTSTS_GINAKEFF_Pos) /*!< 0x00000040 */ |
2 | mjames | 13029 | #define USB_OTG_GINTSTS_GINAKEFF USB_OTG_GINTSTS_GINAKEFF_Msk /*!< Global IN nonperiodic NAK effective */ |
13030 | #define USB_OTG_GINTSTS_BOUTNAKEFF_Pos (7U) |
||
9 | mjames | 13031 | #define USB_OTG_GINTSTS_BOUTNAKEFF_Msk (0x1UL << USB_OTG_GINTSTS_BOUTNAKEFF_Pos) /*!< 0x00000080 */ |
2 | mjames | 13032 | #define USB_OTG_GINTSTS_BOUTNAKEFF USB_OTG_GINTSTS_BOUTNAKEFF_Msk /*!< Global OUT NAK effective */ |
13033 | #define USB_OTG_GINTSTS_ESUSP_Pos (10U) |
||
9 | mjames | 13034 | #define USB_OTG_GINTSTS_ESUSP_Msk (0x1UL << USB_OTG_GINTSTS_ESUSP_Pos) /*!< 0x00000400 */ |
2 | mjames | 13035 | #define USB_OTG_GINTSTS_ESUSP USB_OTG_GINTSTS_ESUSP_Msk /*!< Early suspend */ |
13036 | #define USB_OTG_GINTSTS_USBSUSP_Pos (11U) |
||
9 | mjames | 13037 | #define USB_OTG_GINTSTS_USBSUSP_Msk (0x1UL << USB_OTG_GINTSTS_USBSUSP_Pos) /*!< 0x00000800 */ |
2 | mjames | 13038 | #define USB_OTG_GINTSTS_USBSUSP USB_OTG_GINTSTS_USBSUSP_Msk /*!< USB suspend */ |
13039 | #define USB_OTG_GINTSTS_USBRST_Pos (12U) |
||
9 | mjames | 13040 | #define USB_OTG_GINTSTS_USBRST_Msk (0x1UL << USB_OTG_GINTSTS_USBRST_Pos) /*!< 0x00001000 */ |
2 | mjames | 13041 | #define USB_OTG_GINTSTS_USBRST USB_OTG_GINTSTS_USBRST_Msk /*!< USB reset */ |
13042 | #define USB_OTG_GINTSTS_ENUMDNE_Pos (13U) |
||
9 | mjames | 13043 | #define USB_OTG_GINTSTS_ENUMDNE_Msk (0x1UL << USB_OTG_GINTSTS_ENUMDNE_Pos) /*!< 0x00002000 */ |
2 | mjames | 13044 | #define USB_OTG_GINTSTS_ENUMDNE USB_OTG_GINTSTS_ENUMDNE_Msk /*!< Enumeration done */ |
13045 | #define USB_OTG_GINTSTS_ISOODRP_Pos (14U) |
||
9 | mjames | 13046 | #define USB_OTG_GINTSTS_ISOODRP_Msk (0x1UL << USB_OTG_GINTSTS_ISOODRP_Pos) /*!< 0x00004000 */ |
2 | mjames | 13047 | #define USB_OTG_GINTSTS_ISOODRP USB_OTG_GINTSTS_ISOODRP_Msk /*!< Isochronous OUT packet dropped interrupt */ |
13048 | #define USB_OTG_GINTSTS_EOPF_Pos (15U) |
||
9 | mjames | 13049 | #define USB_OTG_GINTSTS_EOPF_Msk (0x1UL << USB_OTG_GINTSTS_EOPF_Pos) /*!< 0x00008000 */ |
2 | mjames | 13050 | #define USB_OTG_GINTSTS_EOPF USB_OTG_GINTSTS_EOPF_Msk /*!< End of periodic frame interrupt */ |
13051 | #define USB_OTG_GINTSTS_IEPINT_Pos (18U) |
||
9 | mjames | 13052 | #define USB_OTG_GINTSTS_IEPINT_Msk (0x1UL << USB_OTG_GINTSTS_IEPINT_Pos) /*!< 0x00040000 */ |
2 | mjames | 13053 | #define USB_OTG_GINTSTS_IEPINT USB_OTG_GINTSTS_IEPINT_Msk /*!< IN endpoint interrupt */ |
13054 | #define USB_OTG_GINTSTS_OEPINT_Pos (19U) |
||
9 | mjames | 13055 | #define USB_OTG_GINTSTS_OEPINT_Msk (0x1UL << USB_OTG_GINTSTS_OEPINT_Pos) /*!< 0x00080000 */ |
2 | mjames | 13056 | #define USB_OTG_GINTSTS_OEPINT USB_OTG_GINTSTS_OEPINT_Msk /*!< OUT endpoint interrupt */ |
13057 | #define USB_OTG_GINTSTS_IISOIXFR_Pos (20U) |
||
9 | mjames | 13058 | #define USB_OTG_GINTSTS_IISOIXFR_Msk (0x1UL << USB_OTG_GINTSTS_IISOIXFR_Pos) /*!< 0x00100000 */ |
2 | mjames | 13059 | #define USB_OTG_GINTSTS_IISOIXFR USB_OTG_GINTSTS_IISOIXFR_Msk /*!< Incomplete isochronous IN transfer */ |
13060 | #define USB_OTG_GINTSTS_PXFR_INCOMPISOOUT_Pos (21U) |
||
9 | mjames | 13061 | #define USB_OTG_GINTSTS_PXFR_INCOMPISOOUT_Msk (0x1UL << USB_OTG_GINTSTS_PXFR_INCOMPISOOUT_Pos) /*!< 0x00200000 */ |
2 | mjames | 13062 | #define USB_OTG_GINTSTS_PXFR_INCOMPISOOUT USB_OTG_GINTSTS_PXFR_INCOMPISOOUT_Msk /*!< Incomplete periodic transfer */ |
13063 | #define USB_OTG_GINTSTS_DATAFSUSP_Pos (22U) |
||
9 | mjames | 13064 | #define USB_OTG_GINTSTS_DATAFSUSP_Msk (0x1UL << USB_OTG_GINTSTS_DATAFSUSP_Pos) /*!< 0x00400000 */ |
2 | mjames | 13065 | #define USB_OTG_GINTSTS_DATAFSUSP USB_OTG_GINTSTS_DATAFSUSP_Msk /*!< Data fetch suspended */ |
13066 | #define USB_OTG_GINTSTS_HPRTINT_Pos (24U) |
||
9 | mjames | 13067 | #define USB_OTG_GINTSTS_HPRTINT_Msk (0x1UL << USB_OTG_GINTSTS_HPRTINT_Pos) /*!< 0x01000000 */ |
2 | mjames | 13068 | #define USB_OTG_GINTSTS_HPRTINT USB_OTG_GINTSTS_HPRTINT_Msk /*!< Host port interrupt */ |
13069 | #define USB_OTG_GINTSTS_HCINT_Pos (25U) |
||
9 | mjames | 13070 | #define USB_OTG_GINTSTS_HCINT_Msk (0x1UL << USB_OTG_GINTSTS_HCINT_Pos) /*!< 0x02000000 */ |
2 | mjames | 13071 | #define USB_OTG_GINTSTS_HCINT USB_OTG_GINTSTS_HCINT_Msk /*!< Host channels interrupt */ |
13072 | #define USB_OTG_GINTSTS_PTXFE_Pos (26U) |
||
9 | mjames | 13073 | #define USB_OTG_GINTSTS_PTXFE_Msk (0x1UL << USB_OTG_GINTSTS_PTXFE_Pos) /*!< 0x04000000 */ |
2 | mjames | 13074 | #define USB_OTG_GINTSTS_PTXFE USB_OTG_GINTSTS_PTXFE_Msk /*!< Periodic TxFIFO empty */ |
13075 | #define USB_OTG_GINTSTS_CIDSCHG_Pos (28U) |
||
9 | mjames | 13076 | #define USB_OTG_GINTSTS_CIDSCHG_Msk (0x1UL << USB_OTG_GINTSTS_CIDSCHG_Pos) /*!< 0x10000000 */ |
2 | mjames | 13077 | #define USB_OTG_GINTSTS_CIDSCHG USB_OTG_GINTSTS_CIDSCHG_Msk /*!< Connector ID status change */ |
13078 | #define USB_OTG_GINTSTS_DISCINT_Pos (29U) |
||
9 | mjames | 13079 | #define USB_OTG_GINTSTS_DISCINT_Msk (0x1UL << USB_OTG_GINTSTS_DISCINT_Pos) /*!< 0x20000000 */ |
2 | mjames | 13080 | #define USB_OTG_GINTSTS_DISCINT USB_OTG_GINTSTS_DISCINT_Msk /*!< Disconnect detected interrupt */ |
13081 | #define USB_OTG_GINTSTS_SRQINT_Pos (30U) |
||
9 | mjames | 13082 | #define USB_OTG_GINTSTS_SRQINT_Msk (0x1UL << USB_OTG_GINTSTS_SRQINT_Pos) /*!< 0x40000000 */ |
2 | mjames | 13083 | #define USB_OTG_GINTSTS_SRQINT USB_OTG_GINTSTS_SRQINT_Msk /*!< Session request/new session detected interrupt */ |
13084 | #define USB_OTG_GINTSTS_WKUINT_Pos (31U) |
||
9 | mjames | 13085 | #define USB_OTG_GINTSTS_WKUINT_Msk (0x1UL << USB_OTG_GINTSTS_WKUINT_Pos) /*!< 0x80000000 */ |
2 | mjames | 13086 | #define USB_OTG_GINTSTS_WKUINT USB_OTG_GINTSTS_WKUINT_Msk /*!< Resume/remote wakeup detected interrupt */ |
13087 | |||
9 | mjames | 13088 | /******************** Bit definition for USB_OTG_GINTMSK register ********************/ |
2 | mjames | 13089 | #define USB_OTG_GINTMSK_MMISM_Pos (1U) |
9 | mjames | 13090 | #define USB_OTG_GINTMSK_MMISM_Msk (0x1UL << USB_OTG_GINTMSK_MMISM_Pos) /*!< 0x00000002 */ |
2 | mjames | 13091 | #define USB_OTG_GINTMSK_MMISM USB_OTG_GINTMSK_MMISM_Msk /*!< Mode mismatch interrupt mask */ |
13092 | #define USB_OTG_GINTMSK_OTGINT_Pos (2U) |
||
9 | mjames | 13093 | #define USB_OTG_GINTMSK_OTGINT_Msk (0x1UL << USB_OTG_GINTMSK_OTGINT_Pos) /*!< 0x00000004 */ |
2 | mjames | 13094 | #define USB_OTG_GINTMSK_OTGINT USB_OTG_GINTMSK_OTGINT_Msk /*!< OTG interrupt mask */ |
13095 | #define USB_OTG_GINTMSK_SOFM_Pos (3U) |
||
9 | mjames | 13096 | #define USB_OTG_GINTMSK_SOFM_Msk (0x1UL << USB_OTG_GINTMSK_SOFM_Pos) /*!< 0x00000008 */ |
2 | mjames | 13097 | #define USB_OTG_GINTMSK_SOFM USB_OTG_GINTMSK_SOFM_Msk /*!< Start of frame mask */ |
13098 | #define USB_OTG_GINTMSK_RXFLVLM_Pos (4U) |
||
9 | mjames | 13099 | #define USB_OTG_GINTMSK_RXFLVLM_Msk (0x1UL << USB_OTG_GINTMSK_RXFLVLM_Pos) /*!< 0x00000010 */ |
2 | mjames | 13100 | #define USB_OTG_GINTMSK_RXFLVLM USB_OTG_GINTMSK_RXFLVLM_Msk /*!< Receive FIFO nonempty mask */ |
13101 | #define USB_OTG_GINTMSK_NPTXFEM_Pos (5U) |
||
9 | mjames | 13102 | #define USB_OTG_GINTMSK_NPTXFEM_Msk (0x1UL << USB_OTG_GINTMSK_NPTXFEM_Pos) /*!< 0x00000020 */ |
2 | mjames | 13103 | #define USB_OTG_GINTMSK_NPTXFEM USB_OTG_GINTMSK_NPTXFEM_Msk /*!< Nonperiodic TxFIFO empty mask */ |
13104 | #define USB_OTG_GINTMSK_GINAKEFFM_Pos (6U) |
||
9 | mjames | 13105 | #define USB_OTG_GINTMSK_GINAKEFFM_Msk (0x1UL << USB_OTG_GINTMSK_GINAKEFFM_Pos) /*!< 0x00000040 */ |
2 | mjames | 13106 | #define USB_OTG_GINTMSK_GINAKEFFM USB_OTG_GINTMSK_GINAKEFFM_Msk /*!< Global nonperiodic IN NAK effective mask */ |
13107 | #define USB_OTG_GINTMSK_GONAKEFFM_Pos (7U) |
||
9 | mjames | 13108 | #define USB_OTG_GINTMSK_GONAKEFFM_Msk (0x1UL << USB_OTG_GINTMSK_GONAKEFFM_Pos) /*!< 0x00000080 */ |
2 | mjames | 13109 | #define USB_OTG_GINTMSK_GONAKEFFM USB_OTG_GINTMSK_GONAKEFFM_Msk /*!< Global OUT NAK effective mask */ |
13110 | #define USB_OTG_GINTMSK_ESUSPM_Pos (10U) |
||
9 | mjames | 13111 | #define USB_OTG_GINTMSK_ESUSPM_Msk (0x1UL << USB_OTG_GINTMSK_ESUSPM_Pos) /*!< 0x00000400 */ |
2 | mjames | 13112 | #define USB_OTG_GINTMSK_ESUSPM USB_OTG_GINTMSK_ESUSPM_Msk /*!< Early suspend mask */ |
13113 | #define USB_OTG_GINTMSK_USBSUSPM_Pos (11U) |
||
9 | mjames | 13114 | #define USB_OTG_GINTMSK_USBSUSPM_Msk (0x1UL << USB_OTG_GINTMSK_USBSUSPM_Pos) /*!< 0x00000800 */ |
2 | mjames | 13115 | #define USB_OTG_GINTMSK_USBSUSPM USB_OTG_GINTMSK_USBSUSPM_Msk /*!< USB suspend mask */ |
13116 | #define USB_OTG_GINTMSK_USBRST_Pos (12U) |
||
9 | mjames | 13117 | #define USB_OTG_GINTMSK_USBRST_Msk (0x1UL << USB_OTG_GINTMSK_USBRST_Pos) /*!< 0x00001000 */ |
2 | mjames | 13118 | #define USB_OTG_GINTMSK_USBRST USB_OTG_GINTMSK_USBRST_Msk /*!< USB reset mask */ |
13119 | #define USB_OTG_GINTMSK_ENUMDNEM_Pos (13U) |
||
9 | mjames | 13120 | #define USB_OTG_GINTMSK_ENUMDNEM_Msk (0x1UL << USB_OTG_GINTMSK_ENUMDNEM_Pos) /*!< 0x00002000 */ |
2 | mjames | 13121 | #define USB_OTG_GINTMSK_ENUMDNEM USB_OTG_GINTMSK_ENUMDNEM_Msk /*!< Enumeration done mask */ |
13122 | #define USB_OTG_GINTMSK_ISOODRPM_Pos (14U) |
||
9 | mjames | 13123 | #define USB_OTG_GINTMSK_ISOODRPM_Msk (0x1UL << USB_OTG_GINTMSK_ISOODRPM_Pos) /*!< 0x00004000 */ |
2 | mjames | 13124 | #define USB_OTG_GINTMSK_ISOODRPM USB_OTG_GINTMSK_ISOODRPM_Msk /*!< Isochronous OUT packet dropped interrupt mask */ |
13125 | #define USB_OTG_GINTMSK_EOPFM_Pos (15U) |
||
9 | mjames | 13126 | #define USB_OTG_GINTMSK_EOPFM_Msk (0x1UL << USB_OTG_GINTMSK_EOPFM_Pos) /*!< 0x00008000 */ |
2 | mjames | 13127 | #define USB_OTG_GINTMSK_EOPFM USB_OTG_GINTMSK_EOPFM_Msk /*!< End of periodic frame interrupt mask */ |
13128 | #define USB_OTG_GINTMSK_EPMISM_Pos (17U) |
||
9 | mjames | 13129 | #define USB_OTG_GINTMSK_EPMISM_Msk (0x1UL << USB_OTG_GINTMSK_EPMISM_Pos) /*!< 0x00020000 */ |
2 | mjames | 13130 | #define USB_OTG_GINTMSK_EPMISM USB_OTG_GINTMSK_EPMISM_Msk /*!< Endpoint mismatch interrupt mask */ |
13131 | #define USB_OTG_GINTMSK_IEPINT_Pos (18U) |
||
9 | mjames | 13132 | #define USB_OTG_GINTMSK_IEPINT_Msk (0x1UL << USB_OTG_GINTMSK_IEPINT_Pos) /*!< 0x00040000 */ |
2 | mjames | 13133 | #define USB_OTG_GINTMSK_IEPINT USB_OTG_GINTMSK_IEPINT_Msk /*!< IN endpoints interrupt mask */ |
13134 | #define USB_OTG_GINTMSK_OEPINT_Pos (19U) |
||
9 | mjames | 13135 | #define USB_OTG_GINTMSK_OEPINT_Msk (0x1UL << USB_OTG_GINTMSK_OEPINT_Pos) /*!< 0x00080000 */ |
2 | mjames | 13136 | #define USB_OTG_GINTMSK_OEPINT USB_OTG_GINTMSK_OEPINT_Msk /*!< OUT endpoints interrupt mask */ |
13137 | #define USB_OTG_GINTMSK_IISOIXFRM_Pos (20U) |
||
9 | mjames | 13138 | #define USB_OTG_GINTMSK_IISOIXFRM_Msk (0x1UL << USB_OTG_GINTMSK_IISOIXFRM_Pos) /*!< 0x00100000 */ |
2 | mjames | 13139 | #define USB_OTG_GINTMSK_IISOIXFRM USB_OTG_GINTMSK_IISOIXFRM_Msk /*!< Incomplete isochronous IN transfer mask */ |
13140 | #define USB_OTG_GINTMSK_PXFRM_IISOOXFRM_Pos (21U) |
||
9 | mjames | 13141 | #define USB_OTG_GINTMSK_PXFRM_IISOOXFRM_Msk (0x1UL << USB_OTG_GINTMSK_PXFRM_IISOOXFRM_Pos) /*!< 0x00200000 */ |
2 | mjames | 13142 | #define USB_OTG_GINTMSK_PXFRM_IISOOXFRM USB_OTG_GINTMSK_PXFRM_IISOOXFRM_Msk /*!< Incomplete periodic transfer mask */ |
13143 | #define USB_OTG_GINTMSK_FSUSPM_Pos (22U) |
||
9 | mjames | 13144 | #define USB_OTG_GINTMSK_FSUSPM_Msk (0x1UL << USB_OTG_GINTMSK_FSUSPM_Pos) /*!< 0x00400000 */ |
2 | mjames | 13145 | #define USB_OTG_GINTMSK_FSUSPM USB_OTG_GINTMSK_FSUSPM_Msk /*!< Data fetch suspended mask */ |
13146 | #define USB_OTG_GINTMSK_PRTIM_Pos (24U) |
||
9 | mjames | 13147 | #define USB_OTG_GINTMSK_PRTIM_Msk (0x1UL << USB_OTG_GINTMSK_PRTIM_Pos) /*!< 0x01000000 */ |
2 | mjames | 13148 | #define USB_OTG_GINTMSK_PRTIM USB_OTG_GINTMSK_PRTIM_Msk /*!< Host port interrupt mask */ |
13149 | #define USB_OTG_GINTMSK_HCIM_Pos (25U) |
||
9 | mjames | 13150 | #define USB_OTG_GINTMSK_HCIM_Msk (0x1UL << USB_OTG_GINTMSK_HCIM_Pos) /*!< 0x02000000 */ |
2 | mjames | 13151 | #define USB_OTG_GINTMSK_HCIM USB_OTG_GINTMSK_HCIM_Msk /*!< Host channels interrupt mask */ |
13152 | #define USB_OTG_GINTMSK_PTXFEM_Pos (26U) |
||
9 | mjames | 13153 | #define USB_OTG_GINTMSK_PTXFEM_Msk (0x1UL << USB_OTG_GINTMSK_PTXFEM_Pos) /*!< 0x04000000 */ |
2 | mjames | 13154 | #define USB_OTG_GINTMSK_PTXFEM USB_OTG_GINTMSK_PTXFEM_Msk /*!< Periodic TxFIFO empty mask */ |
13155 | #define USB_OTG_GINTMSK_CIDSCHGM_Pos (28U) |
||
9 | mjames | 13156 | #define USB_OTG_GINTMSK_CIDSCHGM_Msk (0x1UL << USB_OTG_GINTMSK_CIDSCHGM_Pos) /*!< 0x10000000 */ |
2 | mjames | 13157 | #define USB_OTG_GINTMSK_CIDSCHGM USB_OTG_GINTMSK_CIDSCHGM_Msk /*!< Connector ID status change mask */ |
13158 | #define USB_OTG_GINTMSK_DISCINT_Pos (29U) |
||
9 | mjames | 13159 | #define USB_OTG_GINTMSK_DISCINT_Msk (0x1UL << USB_OTG_GINTMSK_DISCINT_Pos) /*!< 0x20000000 */ |
2 | mjames | 13160 | #define USB_OTG_GINTMSK_DISCINT USB_OTG_GINTMSK_DISCINT_Msk /*!< Disconnect detected interrupt mask */ |
13161 | #define USB_OTG_GINTMSK_SRQIM_Pos (30U) |
||
9 | mjames | 13162 | #define USB_OTG_GINTMSK_SRQIM_Msk (0x1UL << USB_OTG_GINTMSK_SRQIM_Pos) /*!< 0x40000000 */ |
2 | mjames | 13163 | #define USB_OTG_GINTMSK_SRQIM USB_OTG_GINTMSK_SRQIM_Msk /*!< Session request/new session detected interrupt mask */ |
13164 | #define USB_OTG_GINTMSK_WUIM_Pos (31U) |
||
9 | mjames | 13165 | #define USB_OTG_GINTMSK_WUIM_Msk (0x1UL << USB_OTG_GINTMSK_WUIM_Pos) /*!< 0x80000000 */ |
2 | mjames | 13166 | #define USB_OTG_GINTMSK_WUIM USB_OTG_GINTMSK_WUIM_Msk /*!< Resume/remote wakeup detected interrupt mask */ |
13167 | |||
9 | mjames | 13168 | /******************** Bit definition for USB_OTG_DAINT register ********************/ |
2 | mjames | 13169 | #define USB_OTG_DAINT_IEPINT_Pos (0U) |
9 | mjames | 13170 | #define USB_OTG_DAINT_IEPINT_Msk (0xFFFFUL << USB_OTG_DAINT_IEPINT_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 13171 | #define USB_OTG_DAINT_IEPINT USB_OTG_DAINT_IEPINT_Msk /*!< IN endpoint interrupt bits */ |
13172 | #define USB_OTG_DAINT_OEPINT_Pos (16U) |
||
9 | mjames | 13173 | #define USB_OTG_DAINT_OEPINT_Msk (0xFFFFUL << USB_OTG_DAINT_OEPINT_Pos) /*!< 0xFFFF0000 */ |
2 | mjames | 13174 | #define USB_OTG_DAINT_OEPINT USB_OTG_DAINT_OEPINT_Msk /*!< OUT endpoint interrupt bits */ |
13175 | |||
9 | mjames | 13176 | /******************** Bit definition for USB_OTG_HAINTMSK register ********************/ |
2 | mjames | 13177 | #define USB_OTG_HAINTMSK_HAINTM_Pos (0U) |
9 | mjames | 13178 | #define USB_OTG_HAINTMSK_HAINTM_Msk (0xFFFFUL << USB_OTG_HAINTMSK_HAINTM_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 13179 | #define USB_OTG_HAINTMSK_HAINTM USB_OTG_HAINTMSK_HAINTM_Msk /*!< Channel interrupt mask */ |
13180 | |||
9 | mjames | 13181 | /******************** Bit definition for USB_OTG_GRXSTSP register ********************/ |
2 | mjames | 13182 | #define USB_OTG_GRXSTSP_EPNUM_Pos (0U) |
9 | mjames | 13183 | #define USB_OTG_GRXSTSP_EPNUM_Msk (0xFUL << USB_OTG_GRXSTSP_EPNUM_Pos) /*!< 0x0000000F */ |
2 | mjames | 13184 | #define USB_OTG_GRXSTSP_EPNUM USB_OTG_GRXSTSP_EPNUM_Msk /*!< IN EP interrupt mask bits */ |
13185 | #define USB_OTG_GRXSTSP_BCNT_Pos (4U) |
||
9 | mjames | 13186 | #define USB_OTG_GRXSTSP_BCNT_Msk (0x7FFUL << USB_OTG_GRXSTSP_BCNT_Pos) /*!< 0x00007FF0 */ |
2 | mjames | 13187 | #define USB_OTG_GRXSTSP_BCNT USB_OTG_GRXSTSP_BCNT_Msk /*!< OUT EP interrupt mask bits */ |
13188 | #define USB_OTG_GRXSTSP_DPID_Pos (15U) |
||
9 | mjames | 13189 | #define USB_OTG_GRXSTSP_DPID_Msk (0x3UL << USB_OTG_GRXSTSP_DPID_Pos) /*!< 0x00018000 */ |
2 | mjames | 13190 | #define USB_OTG_GRXSTSP_DPID USB_OTG_GRXSTSP_DPID_Msk /*!< OUT EP interrupt mask bits */ |
13191 | #define USB_OTG_GRXSTSP_PKTSTS_Pos (17U) |
||
9 | mjames | 13192 | #define USB_OTG_GRXSTSP_PKTSTS_Msk (0xFUL << USB_OTG_GRXSTSP_PKTSTS_Pos) /*!< 0x001E0000 */ |
2 | mjames | 13193 | #define USB_OTG_GRXSTSP_PKTSTS USB_OTG_GRXSTSP_PKTSTS_Msk /*!< OUT EP interrupt mask bits */ |
13194 | |||
9 | mjames | 13195 | /******************** Bit definition for USB_OTG_DAINTMSK register ********************/ |
2 | mjames | 13196 | #define USB_OTG_DAINTMSK_IEPM_Pos (0U) |
9 | mjames | 13197 | #define USB_OTG_DAINTMSK_IEPM_Msk (0xFFFFUL << USB_OTG_DAINTMSK_IEPM_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 13198 | #define USB_OTG_DAINTMSK_IEPM USB_OTG_DAINTMSK_IEPM_Msk /*!< IN EP interrupt mask bits */ |
13199 | #define USB_OTG_DAINTMSK_OEPM_Pos (16U) |
||
9 | mjames | 13200 | #define USB_OTG_DAINTMSK_OEPM_Msk (0xFFFFUL << USB_OTG_DAINTMSK_OEPM_Pos) /*!< 0xFFFF0000 */ |
2 | mjames | 13201 | #define USB_OTG_DAINTMSK_OEPM USB_OTG_DAINTMSK_OEPM_Msk /*!< OUT EP interrupt mask bits */ |
13202 | |||
9 | mjames | 13203 | /******************** Bit definition for USB_OTG_GRXFSIZ register ********************/ |
2 | mjames | 13204 | #define USB_OTG_GRXFSIZ_RXFD_Pos (0U) |
9 | mjames | 13205 | #define USB_OTG_GRXFSIZ_RXFD_Msk (0xFFFFUL << USB_OTG_GRXFSIZ_RXFD_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 13206 | #define USB_OTG_GRXFSIZ_RXFD USB_OTG_GRXFSIZ_RXFD_Msk /*!< RxFIFO depth */ |
13207 | |||
9 | mjames | 13208 | /******************** Bit definition for USB_OTG_DVBUSDIS register ********************/ |
2 | mjames | 13209 | #define USB_OTG_DVBUSDIS_VBUSDT_Pos (0U) |
9 | mjames | 13210 | #define USB_OTG_DVBUSDIS_VBUSDT_Msk (0xFFFFUL << USB_OTG_DVBUSDIS_VBUSDT_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 13211 | #define USB_OTG_DVBUSDIS_VBUSDT USB_OTG_DVBUSDIS_VBUSDT_Msk /*!< Device VBUS discharge time */ |
13212 | |||
9 | mjames | 13213 | /******************** Bit definition for OTG register ********************/ |
2 | mjames | 13214 | #define USB_OTG_NPTXFSA_Pos (0U) |
9 | mjames | 13215 | #define USB_OTG_NPTXFSA_Msk (0xFFFFUL << USB_OTG_NPTXFSA_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 13216 | #define USB_OTG_NPTXFSA USB_OTG_NPTXFSA_Msk /*!< Nonperiodic transmit RAM start address */ |
13217 | #define USB_OTG_NPTXFD_Pos (16U) |
||
9 | mjames | 13218 | #define USB_OTG_NPTXFD_Msk (0xFFFFUL << USB_OTG_NPTXFD_Pos) /*!< 0xFFFF0000 */ |
2 | mjames | 13219 | #define USB_OTG_NPTXFD USB_OTG_NPTXFD_Msk /*!< Nonperiodic TxFIFO depth */ |
13220 | #define USB_OTG_TX0FSA_Pos (0U) |
||
9 | mjames | 13221 | #define USB_OTG_TX0FSA_Msk (0xFFFFUL << USB_OTG_TX0FSA_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 13222 | #define USB_OTG_TX0FSA USB_OTG_TX0FSA_Msk /*!< Endpoint 0 transmit RAM start address */ |
13223 | #define USB_OTG_TX0FD_Pos (16U) |
||
9 | mjames | 13224 | #define USB_OTG_TX0FD_Msk (0xFFFFUL << USB_OTG_TX0FD_Pos) /*!< 0xFFFF0000 */ |
2 | mjames | 13225 | #define USB_OTG_TX0FD USB_OTG_TX0FD_Msk /*!< Endpoint 0 TxFIFO depth */ |
13226 | |||
9 | mjames | 13227 | /******************** Bit definition for USB_OTG_DVBUSPULSE register ********************/ |
2 | mjames | 13228 | #define USB_OTG_DVBUSPULSE_DVBUSP_Pos (0U) |
9 | mjames | 13229 | #define USB_OTG_DVBUSPULSE_DVBUSP_Msk (0xFFFUL << USB_OTG_DVBUSPULSE_DVBUSP_Pos) /*!< 0x00000FFF */ |
2 | mjames | 13230 | #define USB_OTG_DVBUSPULSE_DVBUSP USB_OTG_DVBUSPULSE_DVBUSP_Msk /*!< Device VBUS pulsing time */ |
13231 | |||
9 | mjames | 13232 | /******************** Bit definition for USB_OTG_GNPTXSTS register ********************/ |
2 | mjames | 13233 | #define USB_OTG_GNPTXSTS_NPTXFSAV_Pos (0U) |
9 | mjames | 13234 | #define USB_OTG_GNPTXSTS_NPTXFSAV_Msk (0xFFFFUL << USB_OTG_GNPTXSTS_NPTXFSAV_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 13235 | #define USB_OTG_GNPTXSTS_NPTXFSAV USB_OTG_GNPTXSTS_NPTXFSAV_Msk /*!< Nonperiodic TxFIFO space available */ |
13236 | |||
13237 | #define USB_OTG_GNPTXSTS_NPTQXSAV_Pos (16U) |
||
9 | mjames | 13238 | #define USB_OTG_GNPTXSTS_NPTQXSAV_Msk (0xFFUL << USB_OTG_GNPTXSTS_NPTQXSAV_Pos) /*!< 0x00FF0000 */ |
2 | mjames | 13239 | #define USB_OTG_GNPTXSTS_NPTQXSAV USB_OTG_GNPTXSTS_NPTQXSAV_Msk /*!< Nonperiodic transmit request queue space available */ |
9 | mjames | 13240 | #define USB_OTG_GNPTXSTS_NPTQXSAV_0 (0x01UL << USB_OTG_GNPTXSTS_NPTQXSAV_Pos) /*!< 0x00010000 */ |
13241 | #define USB_OTG_GNPTXSTS_NPTQXSAV_1 (0x02UL << USB_OTG_GNPTXSTS_NPTQXSAV_Pos) /*!< 0x00020000 */ |
||
13242 | #define USB_OTG_GNPTXSTS_NPTQXSAV_2 (0x04UL << USB_OTG_GNPTXSTS_NPTQXSAV_Pos) /*!< 0x00040000 */ |
||
13243 | #define USB_OTG_GNPTXSTS_NPTQXSAV_3 (0x08UL << USB_OTG_GNPTXSTS_NPTQXSAV_Pos) /*!< 0x00080000 */ |
||
13244 | #define USB_OTG_GNPTXSTS_NPTQXSAV_4 (0x10UL << USB_OTG_GNPTXSTS_NPTQXSAV_Pos) /*!< 0x00100000 */ |
||
13245 | #define USB_OTG_GNPTXSTS_NPTQXSAV_5 (0x20UL << USB_OTG_GNPTXSTS_NPTQXSAV_Pos) /*!< 0x00200000 */ |
||
13246 | #define USB_OTG_GNPTXSTS_NPTQXSAV_6 (0x40UL << USB_OTG_GNPTXSTS_NPTQXSAV_Pos) /*!< 0x00400000 */ |
||
13247 | #define USB_OTG_GNPTXSTS_NPTQXSAV_7 (0x80UL << USB_OTG_GNPTXSTS_NPTQXSAV_Pos) /*!< 0x00800000 */ |
||
2 | mjames | 13248 | |
13249 | #define USB_OTG_GNPTXSTS_NPTXQTOP_Pos (24U) |
||
9 | mjames | 13250 | #define USB_OTG_GNPTXSTS_NPTXQTOP_Msk (0x7FUL << USB_OTG_GNPTXSTS_NPTXQTOP_Pos) /*!< 0x7F000000 */ |
2 | mjames | 13251 | #define USB_OTG_GNPTXSTS_NPTXQTOP USB_OTG_GNPTXSTS_NPTXQTOP_Msk /*!< Top of the nonperiodic transmit request queue */ |
9 | mjames | 13252 | #define USB_OTG_GNPTXSTS_NPTXQTOP_0 (0x01UL << USB_OTG_GNPTXSTS_NPTXQTOP_Pos) /*!< 0x01000000 */ |
13253 | #define USB_OTG_GNPTXSTS_NPTXQTOP_1 (0x02UL << USB_OTG_GNPTXSTS_NPTXQTOP_Pos) /*!< 0x02000000 */ |
||
13254 | #define USB_OTG_GNPTXSTS_NPTXQTOP_2 (0x04UL << USB_OTG_GNPTXSTS_NPTXQTOP_Pos) /*!< 0x04000000 */ |
||
13255 | #define USB_OTG_GNPTXSTS_NPTXQTOP_3 (0x08UL << USB_OTG_GNPTXSTS_NPTXQTOP_Pos) /*!< 0x08000000 */ |
||
13256 | #define USB_OTG_GNPTXSTS_NPTXQTOP_4 (0x10UL << USB_OTG_GNPTXSTS_NPTXQTOP_Pos) /*!< 0x10000000 */ |
||
13257 | #define USB_OTG_GNPTXSTS_NPTXQTOP_5 (0x20UL << USB_OTG_GNPTXSTS_NPTXQTOP_Pos) /*!< 0x20000000 */ |
||
13258 | #define USB_OTG_GNPTXSTS_NPTXQTOP_6 (0x40UL << USB_OTG_GNPTXSTS_NPTXQTOP_Pos) /*!< 0x40000000 */ |
||
2 | mjames | 13259 | |
9 | mjames | 13260 | /******************** Bit definition for USB_OTG_DTHRCTL register ********************/ |
2 | mjames | 13261 | #define USB_OTG_DTHRCTL_NONISOTHREN_Pos (0U) |
9 | mjames | 13262 | #define USB_OTG_DTHRCTL_NONISOTHREN_Msk (0x1UL << USB_OTG_DTHRCTL_NONISOTHREN_Pos) /*!< 0x00000001 */ |
2 | mjames | 13263 | #define USB_OTG_DTHRCTL_NONISOTHREN USB_OTG_DTHRCTL_NONISOTHREN_Msk /*!< Nonisochronous IN endpoints threshold enable */ |
13264 | #define USB_OTG_DTHRCTL_ISOTHREN_Pos (1U) |
||
9 | mjames | 13265 | #define USB_OTG_DTHRCTL_ISOTHREN_Msk (0x1UL << USB_OTG_DTHRCTL_ISOTHREN_Pos) /*!< 0x00000002 */ |
2 | mjames | 13266 | #define USB_OTG_DTHRCTL_ISOTHREN USB_OTG_DTHRCTL_ISOTHREN_Msk /*!< ISO IN endpoint threshold enable */ |
13267 | |||
13268 | #define USB_OTG_DTHRCTL_TXTHRLEN_Pos (2U) |
||
9 | mjames | 13269 | #define USB_OTG_DTHRCTL_TXTHRLEN_Msk (0x1FFUL << USB_OTG_DTHRCTL_TXTHRLEN_Pos) /*!< 0x000007FC */ |
2 | mjames | 13270 | #define USB_OTG_DTHRCTL_TXTHRLEN USB_OTG_DTHRCTL_TXTHRLEN_Msk /*!< Transmit threshold length */ |
9 | mjames | 13271 | #define USB_OTG_DTHRCTL_TXTHRLEN_0 (0x001UL << USB_OTG_DTHRCTL_TXTHRLEN_Pos) /*!< 0x00000004 */ |
13272 | #define USB_OTG_DTHRCTL_TXTHRLEN_1 (0x002UL << USB_OTG_DTHRCTL_TXTHRLEN_Pos) /*!< 0x00000008 */ |
||
13273 | #define USB_OTG_DTHRCTL_TXTHRLEN_2 (0x004UL << USB_OTG_DTHRCTL_TXTHRLEN_Pos) /*!< 0x00000010 */ |
||
13274 | #define USB_OTG_DTHRCTL_TXTHRLEN_3 (0x008UL << USB_OTG_DTHRCTL_TXTHRLEN_Pos) /*!< 0x00000020 */ |
||
13275 | #define USB_OTG_DTHRCTL_TXTHRLEN_4 (0x010UL << USB_OTG_DTHRCTL_TXTHRLEN_Pos) /*!< 0x00000040 */ |
||
13276 | #define USB_OTG_DTHRCTL_TXTHRLEN_5 (0x020UL << USB_OTG_DTHRCTL_TXTHRLEN_Pos) /*!< 0x00000080 */ |
||
13277 | #define USB_OTG_DTHRCTL_TXTHRLEN_6 (0x040UL << USB_OTG_DTHRCTL_TXTHRLEN_Pos) /*!< 0x00000100 */ |
||
13278 | #define USB_OTG_DTHRCTL_TXTHRLEN_7 (0x080UL << USB_OTG_DTHRCTL_TXTHRLEN_Pos) /*!< 0x00000200 */ |
||
13279 | #define USB_OTG_DTHRCTL_TXTHRLEN_8 (0x100UL << USB_OTG_DTHRCTL_TXTHRLEN_Pos) /*!< 0x00000400 */ |
||
2 | mjames | 13280 | #define USB_OTG_DTHRCTL_RXTHREN_Pos (16U) |
9 | mjames | 13281 | #define USB_OTG_DTHRCTL_RXTHREN_Msk (0x1UL << USB_OTG_DTHRCTL_RXTHREN_Pos) /*!< 0x00010000 */ |
2 | mjames | 13282 | #define USB_OTG_DTHRCTL_RXTHREN USB_OTG_DTHRCTL_RXTHREN_Msk /*!< Receive threshold enable */ |
13283 | |||
13284 | #define USB_OTG_DTHRCTL_RXTHRLEN_Pos (17U) |
||
9 | mjames | 13285 | #define USB_OTG_DTHRCTL_RXTHRLEN_Msk (0x1FFUL << USB_OTG_DTHRCTL_RXTHRLEN_Pos) /*!< 0x03FE0000 */ |
2 | mjames | 13286 | #define USB_OTG_DTHRCTL_RXTHRLEN USB_OTG_DTHRCTL_RXTHRLEN_Msk /*!< Receive threshold length */ |
9 | mjames | 13287 | #define USB_OTG_DTHRCTL_RXTHRLEN_0 (0x001UL << USB_OTG_DTHRCTL_RXTHRLEN_Pos) /*!< 0x00020000 */ |
13288 | #define USB_OTG_DTHRCTL_RXTHRLEN_1 (0x002UL << USB_OTG_DTHRCTL_RXTHRLEN_Pos) /*!< 0x00040000 */ |
||
13289 | #define USB_OTG_DTHRCTL_RXTHRLEN_2 (0x004UL << USB_OTG_DTHRCTL_RXTHRLEN_Pos) /*!< 0x00080000 */ |
||
13290 | #define USB_OTG_DTHRCTL_RXTHRLEN_3 (0x008UL << USB_OTG_DTHRCTL_RXTHRLEN_Pos) /*!< 0x00100000 */ |
||
13291 | #define USB_OTG_DTHRCTL_RXTHRLEN_4 (0x010UL << USB_OTG_DTHRCTL_RXTHRLEN_Pos) /*!< 0x00200000 */ |
||
13292 | #define USB_OTG_DTHRCTL_RXTHRLEN_5 (0x020UL << USB_OTG_DTHRCTL_RXTHRLEN_Pos) /*!< 0x00400000 */ |
||
13293 | #define USB_OTG_DTHRCTL_RXTHRLEN_6 (0x040UL << USB_OTG_DTHRCTL_RXTHRLEN_Pos) /*!< 0x00800000 */ |
||
13294 | #define USB_OTG_DTHRCTL_RXTHRLEN_7 (0x080UL << USB_OTG_DTHRCTL_RXTHRLEN_Pos) /*!< 0x01000000 */ |
||
13295 | #define USB_OTG_DTHRCTL_RXTHRLEN_8 (0x100UL << USB_OTG_DTHRCTL_RXTHRLEN_Pos) /*!< 0x02000000 */ |
||
2 | mjames | 13296 | #define USB_OTG_DTHRCTL_ARPEN_Pos (27U) |
9 | mjames | 13297 | #define USB_OTG_DTHRCTL_ARPEN_Msk (0x1UL << USB_OTG_DTHRCTL_ARPEN_Pos) /*!< 0x08000000 */ |
2 | mjames | 13298 | #define USB_OTG_DTHRCTL_ARPEN USB_OTG_DTHRCTL_ARPEN_Msk /*!< Arbiter parking enable */ |
13299 | |||
9 | mjames | 13300 | /******************** Bit definition for USB_OTG_DIEPEMPMSK register ********************/ |
2 | mjames | 13301 | #define USB_OTG_DIEPEMPMSK_INEPTXFEM_Pos (0U) |
9 | mjames | 13302 | #define USB_OTG_DIEPEMPMSK_INEPTXFEM_Msk (0xFFFFUL << USB_OTG_DIEPEMPMSK_INEPTXFEM_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 13303 | #define USB_OTG_DIEPEMPMSK_INEPTXFEM USB_OTG_DIEPEMPMSK_INEPTXFEM_Msk /*!< IN EP Tx FIFO empty interrupt mask bits */ |
13304 | |||
9 | mjames | 13305 | /******************** Bit definition for USB_OTG_DEACHINT register ********************/ |
2 | mjames | 13306 | #define USB_OTG_DEACHINT_IEP1INT_Pos (1U) |
9 | mjames | 13307 | #define USB_OTG_DEACHINT_IEP1INT_Msk (0x1UL << USB_OTG_DEACHINT_IEP1INT_Pos) /*!< 0x00000002 */ |
2 | mjames | 13308 | #define USB_OTG_DEACHINT_IEP1INT USB_OTG_DEACHINT_IEP1INT_Msk /*!< IN endpoint 1interrupt bit */ |
13309 | #define USB_OTG_DEACHINT_OEP1INT_Pos (17U) |
||
9 | mjames | 13310 | #define USB_OTG_DEACHINT_OEP1INT_Msk (0x1UL << USB_OTG_DEACHINT_OEP1INT_Pos) /*!< 0x00020000 */ |
2 | mjames | 13311 | #define USB_OTG_DEACHINT_OEP1INT USB_OTG_DEACHINT_OEP1INT_Msk /*!< OUT endpoint 1 interrupt bit */ |
13312 | |||
9 | mjames | 13313 | /******************** Bit definition for USB_OTG_GCCFG register ********************/ |
2 | mjames | 13314 | #define USB_OTG_GCCFG_PWRDWN_Pos (16U) |
9 | mjames | 13315 | #define USB_OTG_GCCFG_PWRDWN_Msk (0x1UL << USB_OTG_GCCFG_PWRDWN_Pos) /*!< 0x00010000 */ |
2 | mjames | 13316 | #define USB_OTG_GCCFG_PWRDWN USB_OTG_GCCFG_PWRDWN_Msk /*!< Power down */ |
13317 | #define USB_OTG_GCCFG_VBUSASEN_Pos (18U) |
||
9 | mjames | 13318 | #define USB_OTG_GCCFG_VBUSASEN_Msk (0x1UL << USB_OTG_GCCFG_VBUSASEN_Pos) /*!< 0x00040000 */ |
2 | mjames | 13319 | #define USB_OTG_GCCFG_VBUSASEN USB_OTG_GCCFG_VBUSASEN_Msk /*!< Enable the VBUS sensing device */ |
13320 | #define USB_OTG_GCCFG_VBUSBSEN_Pos (19U) |
||
9 | mjames | 13321 | #define USB_OTG_GCCFG_VBUSBSEN_Msk (0x1UL << USB_OTG_GCCFG_VBUSBSEN_Pos) /*!< 0x00080000 */ |
2 | mjames | 13322 | #define USB_OTG_GCCFG_VBUSBSEN USB_OTG_GCCFG_VBUSBSEN_Msk /*!< Enable the VBUS sensing device */ |
13323 | #define USB_OTG_GCCFG_SOFOUTEN_Pos (20U) |
||
9 | mjames | 13324 | #define USB_OTG_GCCFG_SOFOUTEN_Msk (0x1UL << USB_OTG_GCCFG_SOFOUTEN_Pos) /*!< 0x00100000 */ |
2 | mjames | 13325 | #define USB_OTG_GCCFG_SOFOUTEN USB_OTG_GCCFG_SOFOUTEN_Msk /*!< SOF output enable */ |
13326 | |||
9 | mjames | 13327 | /******************** Bit definition for USB_OTG_DEACHINTMSK register ********************/ |
2 | mjames | 13328 | #define USB_OTG_DEACHINTMSK_IEP1INTM_Pos (1U) |
9 | mjames | 13329 | #define USB_OTG_DEACHINTMSK_IEP1INTM_Msk (0x1UL << USB_OTG_DEACHINTMSK_IEP1INTM_Pos) /*!< 0x00000002 */ |
2 | mjames | 13330 | #define USB_OTG_DEACHINTMSK_IEP1INTM USB_OTG_DEACHINTMSK_IEP1INTM_Msk /*!< IN Endpoint 1 interrupt mask bit */ |
13331 | #define USB_OTG_DEACHINTMSK_OEP1INTM_Pos (17U) |
||
9 | mjames | 13332 | #define USB_OTG_DEACHINTMSK_OEP1INTM_Msk (0x1UL << USB_OTG_DEACHINTMSK_OEP1INTM_Pos) /*!< 0x00020000 */ |
2 | mjames | 13333 | #define USB_OTG_DEACHINTMSK_OEP1INTM USB_OTG_DEACHINTMSK_OEP1INTM_Msk /*!< OUT Endpoint 1 interrupt mask bit */ |
13334 | |||
9 | mjames | 13335 | /******************** Bit definition for USB_OTG_CID register ********************/ |
2 | mjames | 13336 | #define USB_OTG_CID_PRODUCT_ID_Pos (0U) |
9 | mjames | 13337 | #define USB_OTG_CID_PRODUCT_ID_Msk (0xFFFFFFFFUL << USB_OTG_CID_PRODUCT_ID_Pos) /*!< 0xFFFFFFFF */ |
2 | mjames | 13338 | #define USB_OTG_CID_PRODUCT_ID USB_OTG_CID_PRODUCT_ID_Msk /*!< Product ID field */ |
13339 | |||
9 | mjames | 13340 | /******************** Bit definition for USB_OTG_DIEPEACHMSK1 register ********************/ |
2 | mjames | 13341 | #define USB_OTG_DIEPEACHMSK1_XFRCM_Pos (0U) |
9 | mjames | 13342 | #define USB_OTG_DIEPEACHMSK1_XFRCM_Msk (0x1UL << USB_OTG_DIEPEACHMSK1_XFRCM_Pos) /*!< 0x00000001 */ |
2 | mjames | 13343 | #define USB_OTG_DIEPEACHMSK1_XFRCM USB_OTG_DIEPEACHMSK1_XFRCM_Msk /*!< Transfer completed interrupt mask */ |
13344 | #define USB_OTG_DIEPEACHMSK1_EPDM_Pos (1U) |
||
9 | mjames | 13345 | #define USB_OTG_DIEPEACHMSK1_EPDM_Msk (0x1UL << USB_OTG_DIEPEACHMSK1_EPDM_Pos) /*!< 0x00000002 */ |
2 | mjames | 13346 | #define USB_OTG_DIEPEACHMSK1_EPDM USB_OTG_DIEPEACHMSK1_EPDM_Msk /*!< Endpoint disabled interrupt mask */ |
13347 | #define USB_OTG_DIEPEACHMSK1_TOM_Pos (3U) |
||
9 | mjames | 13348 | #define USB_OTG_DIEPEACHMSK1_TOM_Msk (0x1UL << USB_OTG_DIEPEACHMSK1_TOM_Pos) /*!< 0x00000008 */ |
2 | mjames | 13349 | #define USB_OTG_DIEPEACHMSK1_TOM USB_OTG_DIEPEACHMSK1_TOM_Msk /*!< Timeout condition mask (nonisochronous endpoints) */ |
13350 | #define USB_OTG_DIEPEACHMSK1_ITTXFEMSK_Pos (4U) |
||
9 | mjames | 13351 | #define USB_OTG_DIEPEACHMSK1_ITTXFEMSK_Msk (0x1UL << USB_OTG_DIEPEACHMSK1_ITTXFEMSK_Pos) /*!< 0x00000010 */ |
2 | mjames | 13352 | #define USB_OTG_DIEPEACHMSK1_ITTXFEMSK USB_OTG_DIEPEACHMSK1_ITTXFEMSK_Msk /*!< IN token received when TxFIFO empty mask */ |
13353 | #define USB_OTG_DIEPEACHMSK1_INEPNMM_Pos (5U) |
||
9 | mjames | 13354 | #define USB_OTG_DIEPEACHMSK1_INEPNMM_Msk (0x1UL << USB_OTG_DIEPEACHMSK1_INEPNMM_Pos) /*!< 0x00000020 */ |
2 | mjames | 13355 | #define USB_OTG_DIEPEACHMSK1_INEPNMM USB_OTG_DIEPEACHMSK1_INEPNMM_Msk /*!< IN token received with EP mismatch mask */ |
13356 | #define USB_OTG_DIEPEACHMSK1_INEPNEM_Pos (6U) |
||
9 | mjames | 13357 | #define USB_OTG_DIEPEACHMSK1_INEPNEM_Msk (0x1UL << USB_OTG_DIEPEACHMSK1_INEPNEM_Pos) /*!< 0x00000040 */ |
2 | mjames | 13358 | #define USB_OTG_DIEPEACHMSK1_INEPNEM USB_OTG_DIEPEACHMSK1_INEPNEM_Msk /*!< IN endpoint NAK effective mask */ |
13359 | #define USB_OTG_DIEPEACHMSK1_TXFURM_Pos (8U) |
||
9 | mjames | 13360 | #define USB_OTG_DIEPEACHMSK1_TXFURM_Msk (0x1UL << USB_OTG_DIEPEACHMSK1_TXFURM_Pos) /*!< 0x00000100 */ |
2 | mjames | 13361 | #define USB_OTG_DIEPEACHMSK1_TXFURM USB_OTG_DIEPEACHMSK1_TXFURM_Msk /*!< FIFO underrun mask */ |
13362 | #define USB_OTG_DIEPEACHMSK1_BIM_Pos (9U) |
||
9 | mjames | 13363 | #define USB_OTG_DIEPEACHMSK1_BIM_Msk (0x1UL << USB_OTG_DIEPEACHMSK1_BIM_Pos) /*!< 0x00000200 */ |
2 | mjames | 13364 | #define USB_OTG_DIEPEACHMSK1_BIM USB_OTG_DIEPEACHMSK1_BIM_Msk /*!< BNA interrupt mask */ |
13365 | #define USB_OTG_DIEPEACHMSK1_NAKM_Pos (13U) |
||
9 | mjames | 13366 | #define USB_OTG_DIEPEACHMSK1_NAKM_Msk (0x1UL << USB_OTG_DIEPEACHMSK1_NAKM_Pos) /*!< 0x00002000 */ |
2 | mjames | 13367 | #define USB_OTG_DIEPEACHMSK1_NAKM USB_OTG_DIEPEACHMSK1_NAKM_Msk /*!< NAK interrupt mask */ |
13368 | |||
9 | mjames | 13369 | /******************** Bit definition for USB_OTG_HPRT register ********************/ |
2 | mjames | 13370 | #define USB_OTG_HPRT_PCSTS_Pos (0U) |
9 | mjames | 13371 | #define USB_OTG_HPRT_PCSTS_Msk (0x1UL << USB_OTG_HPRT_PCSTS_Pos) /*!< 0x00000001 */ |
2 | mjames | 13372 | #define USB_OTG_HPRT_PCSTS USB_OTG_HPRT_PCSTS_Msk /*!< Port connect status */ |
13373 | #define USB_OTG_HPRT_PCDET_Pos (1U) |
||
9 | mjames | 13374 | #define USB_OTG_HPRT_PCDET_Msk (0x1UL << USB_OTG_HPRT_PCDET_Pos) /*!< 0x00000002 */ |
2 | mjames | 13375 | #define USB_OTG_HPRT_PCDET USB_OTG_HPRT_PCDET_Msk /*!< Port connect detected */ |
13376 | #define USB_OTG_HPRT_PENA_Pos (2U) |
||
9 | mjames | 13377 | #define USB_OTG_HPRT_PENA_Msk (0x1UL << USB_OTG_HPRT_PENA_Pos) /*!< 0x00000004 */ |
2 | mjames | 13378 | #define USB_OTG_HPRT_PENA USB_OTG_HPRT_PENA_Msk /*!< Port enable */ |
13379 | #define USB_OTG_HPRT_PENCHNG_Pos (3U) |
||
9 | mjames | 13380 | #define USB_OTG_HPRT_PENCHNG_Msk (0x1UL << USB_OTG_HPRT_PENCHNG_Pos) /*!< 0x00000008 */ |
2 | mjames | 13381 | #define USB_OTG_HPRT_PENCHNG USB_OTG_HPRT_PENCHNG_Msk /*!< Port enable/disable change */ |
13382 | #define USB_OTG_HPRT_POCA_Pos (4U) |
||
9 | mjames | 13383 | #define USB_OTG_HPRT_POCA_Msk (0x1UL << USB_OTG_HPRT_POCA_Pos) /*!< 0x00000010 */ |
2 | mjames | 13384 | #define USB_OTG_HPRT_POCA USB_OTG_HPRT_POCA_Msk /*!< Port overcurrent active */ |
13385 | #define USB_OTG_HPRT_POCCHNG_Pos (5U) |
||
9 | mjames | 13386 | #define USB_OTG_HPRT_POCCHNG_Msk (0x1UL << USB_OTG_HPRT_POCCHNG_Pos) /*!< 0x00000020 */ |
2 | mjames | 13387 | #define USB_OTG_HPRT_POCCHNG USB_OTG_HPRT_POCCHNG_Msk /*!< Port overcurrent change */ |
13388 | #define USB_OTG_HPRT_PRES_Pos (6U) |
||
9 | mjames | 13389 | #define USB_OTG_HPRT_PRES_Msk (0x1UL << USB_OTG_HPRT_PRES_Pos) /*!< 0x00000040 */ |
2 | mjames | 13390 | #define USB_OTG_HPRT_PRES USB_OTG_HPRT_PRES_Msk /*!< Port resume */ |
13391 | #define USB_OTG_HPRT_PSUSP_Pos (7U) |
||
9 | mjames | 13392 | #define USB_OTG_HPRT_PSUSP_Msk (0x1UL << USB_OTG_HPRT_PSUSP_Pos) /*!< 0x00000080 */ |
2 | mjames | 13393 | #define USB_OTG_HPRT_PSUSP USB_OTG_HPRT_PSUSP_Msk /*!< Port suspend */ |
13394 | #define USB_OTG_HPRT_PRST_Pos (8U) |
||
9 | mjames | 13395 | #define USB_OTG_HPRT_PRST_Msk (0x1UL << USB_OTG_HPRT_PRST_Pos) /*!< 0x00000100 */ |
2 | mjames | 13396 | #define USB_OTG_HPRT_PRST USB_OTG_HPRT_PRST_Msk /*!< Port reset */ |
13397 | |||
13398 | #define USB_OTG_HPRT_PLSTS_Pos (10U) |
||
9 | mjames | 13399 | #define USB_OTG_HPRT_PLSTS_Msk (0x3UL << USB_OTG_HPRT_PLSTS_Pos) /*!< 0x00000C00 */ |
2 | mjames | 13400 | #define USB_OTG_HPRT_PLSTS USB_OTG_HPRT_PLSTS_Msk /*!< Port line status */ |
9 | mjames | 13401 | #define USB_OTG_HPRT_PLSTS_0 (0x1UL << USB_OTG_HPRT_PLSTS_Pos) /*!< 0x00000400 */ |
13402 | #define USB_OTG_HPRT_PLSTS_1 (0x2UL << USB_OTG_HPRT_PLSTS_Pos) /*!< 0x00000800 */ |
||
2 | mjames | 13403 | #define USB_OTG_HPRT_PPWR_Pos (12U) |
9 | mjames | 13404 | #define USB_OTG_HPRT_PPWR_Msk (0x1UL << USB_OTG_HPRT_PPWR_Pos) /*!< 0x00001000 */ |
2 | mjames | 13405 | #define USB_OTG_HPRT_PPWR USB_OTG_HPRT_PPWR_Msk /*!< Port power */ |
13406 | |||
13407 | #define USB_OTG_HPRT_PTCTL_Pos (13U) |
||
9 | mjames | 13408 | #define USB_OTG_HPRT_PTCTL_Msk (0xFUL << USB_OTG_HPRT_PTCTL_Pos) /*!< 0x0001E000 */ |
2 | mjames | 13409 | #define USB_OTG_HPRT_PTCTL USB_OTG_HPRT_PTCTL_Msk /*!< Port test control */ |
9 | mjames | 13410 | #define USB_OTG_HPRT_PTCTL_0 (0x1UL << USB_OTG_HPRT_PTCTL_Pos) /*!< 0x00002000 */ |
13411 | #define USB_OTG_HPRT_PTCTL_1 (0x2UL << USB_OTG_HPRT_PTCTL_Pos) /*!< 0x00004000 */ |
||
13412 | #define USB_OTG_HPRT_PTCTL_2 (0x4UL << USB_OTG_HPRT_PTCTL_Pos) /*!< 0x00008000 */ |
||
13413 | #define USB_OTG_HPRT_PTCTL_3 (0x8UL << USB_OTG_HPRT_PTCTL_Pos) /*!< 0x00010000 */ |
||
2 | mjames | 13414 | |
13415 | #define USB_OTG_HPRT_PSPD_Pos (17U) |
||
9 | mjames | 13416 | #define USB_OTG_HPRT_PSPD_Msk (0x3UL << USB_OTG_HPRT_PSPD_Pos) /*!< 0x00060000 */ |
2 | mjames | 13417 | #define USB_OTG_HPRT_PSPD USB_OTG_HPRT_PSPD_Msk /*!< Port speed */ |
9 | mjames | 13418 | #define USB_OTG_HPRT_PSPD_0 (0x1UL << USB_OTG_HPRT_PSPD_Pos) /*!< 0x00020000 */ |
13419 | #define USB_OTG_HPRT_PSPD_1 (0x2UL << USB_OTG_HPRT_PSPD_Pos) /*!< 0x00040000 */ |
||
2 | mjames | 13420 | |
9 | mjames | 13421 | /******************** Bit definition for USB_OTG_DOEPEACHMSK1 register ********************/ |
2 | mjames | 13422 | #define USB_OTG_DOEPEACHMSK1_XFRCM_Pos (0U) |
9 | mjames | 13423 | #define USB_OTG_DOEPEACHMSK1_XFRCM_Msk (0x1UL << USB_OTG_DOEPEACHMSK1_XFRCM_Pos) /*!< 0x00000001 */ |
2 | mjames | 13424 | #define USB_OTG_DOEPEACHMSK1_XFRCM USB_OTG_DOEPEACHMSK1_XFRCM_Msk /*!< Transfer completed interrupt mask */ |
13425 | #define USB_OTG_DOEPEACHMSK1_EPDM_Pos (1U) |
||
9 | mjames | 13426 | #define USB_OTG_DOEPEACHMSK1_EPDM_Msk (0x1UL << USB_OTG_DOEPEACHMSK1_EPDM_Pos) /*!< 0x00000002 */ |
2 | mjames | 13427 | #define USB_OTG_DOEPEACHMSK1_EPDM USB_OTG_DOEPEACHMSK1_EPDM_Msk /*!< Endpoint disabled interrupt mask */ |
13428 | #define USB_OTG_DOEPEACHMSK1_TOM_Pos (3U) |
||
9 | mjames | 13429 | #define USB_OTG_DOEPEACHMSK1_TOM_Msk (0x1UL << USB_OTG_DOEPEACHMSK1_TOM_Pos) /*!< 0x00000008 */ |
2 | mjames | 13430 | #define USB_OTG_DOEPEACHMSK1_TOM USB_OTG_DOEPEACHMSK1_TOM_Msk /*!< Timeout condition mask */ |
13431 | #define USB_OTG_DOEPEACHMSK1_ITTXFEMSK_Pos (4U) |
||
9 | mjames | 13432 | #define USB_OTG_DOEPEACHMSK1_ITTXFEMSK_Msk (0x1UL << USB_OTG_DOEPEACHMSK1_ITTXFEMSK_Pos) /*!< 0x00000010 */ |
2 | mjames | 13433 | #define USB_OTG_DOEPEACHMSK1_ITTXFEMSK USB_OTG_DOEPEACHMSK1_ITTXFEMSK_Msk /*!< IN token received when TxFIFO empty mask */ |
13434 | #define USB_OTG_DOEPEACHMSK1_INEPNMM_Pos (5U) |
||
9 | mjames | 13435 | #define USB_OTG_DOEPEACHMSK1_INEPNMM_Msk (0x1UL << USB_OTG_DOEPEACHMSK1_INEPNMM_Pos) /*!< 0x00000020 */ |
2 | mjames | 13436 | #define USB_OTG_DOEPEACHMSK1_INEPNMM USB_OTG_DOEPEACHMSK1_INEPNMM_Msk /*!< IN token received with EP mismatch mask */ |
13437 | #define USB_OTG_DOEPEACHMSK1_INEPNEM_Pos (6U) |
||
9 | mjames | 13438 | #define USB_OTG_DOEPEACHMSK1_INEPNEM_Msk (0x1UL << USB_OTG_DOEPEACHMSK1_INEPNEM_Pos) /*!< 0x00000040 */ |
2 | mjames | 13439 | #define USB_OTG_DOEPEACHMSK1_INEPNEM USB_OTG_DOEPEACHMSK1_INEPNEM_Msk /*!< IN endpoint NAK effective mask */ |
13440 | #define USB_OTG_DOEPEACHMSK1_TXFURM_Pos (8U) |
||
9 | mjames | 13441 | #define USB_OTG_DOEPEACHMSK1_TXFURM_Msk (0x1UL << USB_OTG_DOEPEACHMSK1_TXFURM_Pos) /*!< 0x00000100 */ |
2 | mjames | 13442 | #define USB_OTG_DOEPEACHMSK1_TXFURM USB_OTG_DOEPEACHMSK1_TXFURM_Msk /*!< OUT packet error mask */ |
13443 | #define USB_OTG_DOEPEACHMSK1_BIM_Pos (9U) |
||
9 | mjames | 13444 | #define USB_OTG_DOEPEACHMSK1_BIM_Msk (0x1UL << USB_OTG_DOEPEACHMSK1_BIM_Pos) /*!< 0x00000200 */ |
2 | mjames | 13445 | #define USB_OTG_DOEPEACHMSK1_BIM USB_OTG_DOEPEACHMSK1_BIM_Msk /*!< BNA interrupt mask */ |
13446 | #define USB_OTG_DOEPEACHMSK1_BERRM_Pos (12U) |
||
9 | mjames | 13447 | #define USB_OTG_DOEPEACHMSK1_BERRM_Msk (0x1UL << USB_OTG_DOEPEACHMSK1_BERRM_Pos) /*!< 0x00001000 */ |
2 | mjames | 13448 | #define USB_OTG_DOEPEACHMSK1_BERRM USB_OTG_DOEPEACHMSK1_BERRM_Msk /*!< Bubble error interrupt mask */ |
13449 | #define USB_OTG_DOEPEACHMSK1_NAKM_Pos (13U) |
||
9 | mjames | 13450 | #define USB_OTG_DOEPEACHMSK1_NAKM_Msk (0x1UL << USB_OTG_DOEPEACHMSK1_NAKM_Pos) /*!< 0x00002000 */ |
2 | mjames | 13451 | #define USB_OTG_DOEPEACHMSK1_NAKM USB_OTG_DOEPEACHMSK1_NAKM_Msk /*!< NAK interrupt mask */ |
13452 | #define USB_OTG_DOEPEACHMSK1_NYETM_Pos (14U) |
||
9 | mjames | 13453 | #define USB_OTG_DOEPEACHMSK1_NYETM_Msk (0x1UL << USB_OTG_DOEPEACHMSK1_NYETM_Pos) /*!< 0x00004000 */ |
2 | mjames | 13454 | #define USB_OTG_DOEPEACHMSK1_NYETM USB_OTG_DOEPEACHMSK1_NYETM_Msk /*!< NYET interrupt mask */ |
13455 | |||
9 | mjames | 13456 | /******************** Bit definition for USB_OTG_HPTXFSIZ register ********************/ |
2 | mjames | 13457 | #define USB_OTG_HPTXFSIZ_PTXSA_Pos (0U) |
9 | mjames | 13458 | #define USB_OTG_HPTXFSIZ_PTXSA_Msk (0xFFFFUL << USB_OTG_HPTXFSIZ_PTXSA_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 13459 | #define USB_OTG_HPTXFSIZ_PTXSA USB_OTG_HPTXFSIZ_PTXSA_Msk /*!< Host periodic TxFIFO start address */ |
13460 | #define USB_OTG_HPTXFSIZ_PTXFD_Pos (16U) |
||
9 | mjames | 13461 | #define USB_OTG_HPTXFSIZ_PTXFD_Msk (0xFFFFUL << USB_OTG_HPTXFSIZ_PTXFD_Pos) /*!< 0xFFFF0000 */ |
2 | mjames | 13462 | #define USB_OTG_HPTXFSIZ_PTXFD USB_OTG_HPTXFSIZ_PTXFD_Msk /*!< Host periodic TxFIFO depth */ |
13463 | |||
9 | mjames | 13464 | /******************** Bit definition for USB_OTG_DIEPCTL register ********************/ |
2 | mjames | 13465 | #define USB_OTG_DIEPCTL_MPSIZ_Pos (0U) |
9 | mjames | 13466 | #define USB_OTG_DIEPCTL_MPSIZ_Msk (0x7FFUL << USB_OTG_DIEPCTL_MPSIZ_Pos) /*!< 0x000007FF */ |
2 | mjames | 13467 | #define USB_OTG_DIEPCTL_MPSIZ USB_OTG_DIEPCTL_MPSIZ_Msk /*!< Maximum packet size */ |
13468 | #define USB_OTG_DIEPCTL_USBAEP_Pos (15U) |
||
9 | mjames | 13469 | #define USB_OTG_DIEPCTL_USBAEP_Msk (0x1UL << USB_OTG_DIEPCTL_USBAEP_Pos) /*!< 0x00008000 */ |
2 | mjames | 13470 | #define USB_OTG_DIEPCTL_USBAEP USB_OTG_DIEPCTL_USBAEP_Msk /*!< USB active endpoint */ |
13471 | #define USB_OTG_DIEPCTL_EONUM_DPID_Pos (16U) |
||
9 | mjames | 13472 | #define USB_OTG_DIEPCTL_EONUM_DPID_Msk (0x1UL << USB_OTG_DIEPCTL_EONUM_DPID_Pos) /*!< 0x00010000 */ |
2 | mjames | 13473 | #define USB_OTG_DIEPCTL_EONUM_DPID USB_OTG_DIEPCTL_EONUM_DPID_Msk /*!< Even/odd frame */ |
13474 | #define USB_OTG_DIEPCTL_NAKSTS_Pos (17U) |
||
9 | mjames | 13475 | #define USB_OTG_DIEPCTL_NAKSTS_Msk (0x1UL << USB_OTG_DIEPCTL_NAKSTS_Pos) /*!< 0x00020000 */ |
2 | mjames | 13476 | #define USB_OTG_DIEPCTL_NAKSTS USB_OTG_DIEPCTL_NAKSTS_Msk /*!< NAK status */ |
13477 | |||
13478 | #define USB_OTG_DIEPCTL_EPTYP_Pos (18U) |
||
9 | mjames | 13479 | #define USB_OTG_DIEPCTL_EPTYP_Msk (0x3UL << USB_OTG_DIEPCTL_EPTYP_Pos) /*!< 0x000C0000 */ |
2 | mjames | 13480 | #define USB_OTG_DIEPCTL_EPTYP USB_OTG_DIEPCTL_EPTYP_Msk /*!< Endpoint type */ |
9 | mjames | 13481 | #define USB_OTG_DIEPCTL_EPTYP_0 (0x1UL << USB_OTG_DIEPCTL_EPTYP_Pos) /*!< 0x00040000 */ |
13482 | #define USB_OTG_DIEPCTL_EPTYP_1 (0x2UL << USB_OTG_DIEPCTL_EPTYP_Pos) /*!< 0x00080000 */ |
||
2 | mjames | 13483 | #define USB_OTG_DIEPCTL_STALL_Pos (21U) |
9 | mjames | 13484 | #define USB_OTG_DIEPCTL_STALL_Msk (0x1UL << USB_OTG_DIEPCTL_STALL_Pos) /*!< 0x00200000 */ |
2 | mjames | 13485 | #define USB_OTG_DIEPCTL_STALL USB_OTG_DIEPCTL_STALL_Msk /*!< STALL handshake */ |
13486 | |||
13487 | #define USB_OTG_DIEPCTL_TXFNUM_Pos (22U) |
||
9 | mjames | 13488 | #define USB_OTG_DIEPCTL_TXFNUM_Msk (0xFUL << USB_OTG_DIEPCTL_TXFNUM_Pos) /*!< 0x03C00000 */ |
2 | mjames | 13489 | #define USB_OTG_DIEPCTL_TXFNUM USB_OTG_DIEPCTL_TXFNUM_Msk /*!< TxFIFO number */ |
9 | mjames | 13490 | #define USB_OTG_DIEPCTL_TXFNUM_0 (0x1UL << USB_OTG_DIEPCTL_TXFNUM_Pos) /*!< 0x00400000 */ |
13491 | #define USB_OTG_DIEPCTL_TXFNUM_1 (0x2UL << USB_OTG_DIEPCTL_TXFNUM_Pos) /*!< 0x00800000 */ |
||
13492 | #define USB_OTG_DIEPCTL_TXFNUM_2 (0x4UL << USB_OTG_DIEPCTL_TXFNUM_Pos) /*!< 0x01000000 */ |
||
13493 | #define USB_OTG_DIEPCTL_TXFNUM_3 (0x8UL << USB_OTG_DIEPCTL_TXFNUM_Pos) /*!< 0x02000000 */ |
||
2 | mjames | 13494 | #define USB_OTG_DIEPCTL_CNAK_Pos (26U) |
9 | mjames | 13495 | #define USB_OTG_DIEPCTL_CNAK_Msk (0x1UL << USB_OTG_DIEPCTL_CNAK_Pos) /*!< 0x04000000 */ |
2 | mjames | 13496 | #define USB_OTG_DIEPCTL_CNAK USB_OTG_DIEPCTL_CNAK_Msk /*!< Clear NAK */ |
13497 | #define USB_OTG_DIEPCTL_SNAK_Pos (27U) |
||
9 | mjames | 13498 | #define USB_OTG_DIEPCTL_SNAK_Msk (0x1UL << USB_OTG_DIEPCTL_SNAK_Pos) /*!< 0x08000000 */ |
2 | mjames | 13499 | #define USB_OTG_DIEPCTL_SNAK USB_OTG_DIEPCTL_SNAK_Msk /*!< Set NAK */ |
13500 | #define USB_OTG_DIEPCTL_SD0PID_SEVNFRM_Pos (28U) |
||
9 | mjames | 13501 | #define USB_OTG_DIEPCTL_SD0PID_SEVNFRM_Msk (0x1UL << USB_OTG_DIEPCTL_SD0PID_SEVNFRM_Pos) /*!< 0x10000000 */ |
2 | mjames | 13502 | #define USB_OTG_DIEPCTL_SD0PID_SEVNFRM USB_OTG_DIEPCTL_SD0PID_SEVNFRM_Msk /*!< Set DATA0 PID */ |
13503 | #define USB_OTG_DIEPCTL_SODDFRM_Pos (29U) |
||
9 | mjames | 13504 | #define USB_OTG_DIEPCTL_SODDFRM_Msk (0x1UL << USB_OTG_DIEPCTL_SODDFRM_Pos) /*!< 0x20000000 */ |
2 | mjames | 13505 | #define USB_OTG_DIEPCTL_SODDFRM USB_OTG_DIEPCTL_SODDFRM_Msk /*!< Set odd frame */ |
13506 | #define USB_OTG_DIEPCTL_EPDIS_Pos (30U) |
||
9 | mjames | 13507 | #define USB_OTG_DIEPCTL_EPDIS_Msk (0x1UL << USB_OTG_DIEPCTL_EPDIS_Pos) /*!< 0x40000000 */ |
2 | mjames | 13508 | #define USB_OTG_DIEPCTL_EPDIS USB_OTG_DIEPCTL_EPDIS_Msk /*!< Endpoint disable */ |
13509 | #define USB_OTG_DIEPCTL_EPENA_Pos (31U) |
||
9 | mjames | 13510 | #define USB_OTG_DIEPCTL_EPENA_Msk (0x1UL << USB_OTG_DIEPCTL_EPENA_Pos) /*!< 0x80000000 */ |
2 | mjames | 13511 | #define USB_OTG_DIEPCTL_EPENA USB_OTG_DIEPCTL_EPENA_Msk /*!< Endpoint enable */ |
13512 | |||
9 | mjames | 13513 | /******************** Bit definition for USB_OTG_HCCHAR register ********************/ |
2 | mjames | 13514 | #define USB_OTG_HCCHAR_MPSIZ_Pos (0U) |
9 | mjames | 13515 | #define USB_OTG_HCCHAR_MPSIZ_Msk (0x7FFUL << USB_OTG_HCCHAR_MPSIZ_Pos) /*!< 0x000007FF */ |
2 | mjames | 13516 | #define USB_OTG_HCCHAR_MPSIZ USB_OTG_HCCHAR_MPSIZ_Msk /*!< Maximum packet size */ |
13517 | |||
13518 | #define USB_OTG_HCCHAR_EPNUM_Pos (11U) |
||
9 | mjames | 13519 | #define USB_OTG_HCCHAR_EPNUM_Msk (0xFUL << USB_OTG_HCCHAR_EPNUM_Pos) /*!< 0x00007800 */ |
2 | mjames | 13520 | #define USB_OTG_HCCHAR_EPNUM USB_OTG_HCCHAR_EPNUM_Msk /*!< Endpoint number */ |
9 | mjames | 13521 | #define USB_OTG_HCCHAR_EPNUM_0 (0x1UL << USB_OTG_HCCHAR_EPNUM_Pos) /*!< 0x00000800 */ |
13522 | #define USB_OTG_HCCHAR_EPNUM_1 (0x2UL << USB_OTG_HCCHAR_EPNUM_Pos) /*!< 0x00001000 */ |
||
13523 | #define USB_OTG_HCCHAR_EPNUM_2 (0x4UL << USB_OTG_HCCHAR_EPNUM_Pos) /*!< 0x00002000 */ |
||
13524 | #define USB_OTG_HCCHAR_EPNUM_3 (0x8UL << USB_OTG_HCCHAR_EPNUM_Pos) /*!< 0x00004000 */ |
||
2 | mjames | 13525 | #define USB_OTG_HCCHAR_EPDIR_Pos (15U) |
9 | mjames | 13526 | #define USB_OTG_HCCHAR_EPDIR_Msk (0x1UL << USB_OTG_HCCHAR_EPDIR_Pos) /*!< 0x00008000 */ |
2 | mjames | 13527 | #define USB_OTG_HCCHAR_EPDIR USB_OTG_HCCHAR_EPDIR_Msk /*!< Endpoint direction */ |
13528 | #define USB_OTG_HCCHAR_LSDEV_Pos (17U) |
||
9 | mjames | 13529 | #define USB_OTG_HCCHAR_LSDEV_Msk (0x1UL << USB_OTG_HCCHAR_LSDEV_Pos) /*!< 0x00020000 */ |
2 | mjames | 13530 | #define USB_OTG_HCCHAR_LSDEV USB_OTG_HCCHAR_LSDEV_Msk /*!< Low-speed device */ |
13531 | |||
13532 | #define USB_OTG_HCCHAR_EPTYP_Pos (18U) |
||
9 | mjames | 13533 | #define USB_OTG_HCCHAR_EPTYP_Msk (0x3UL << USB_OTG_HCCHAR_EPTYP_Pos) /*!< 0x000C0000 */ |
2 | mjames | 13534 | #define USB_OTG_HCCHAR_EPTYP USB_OTG_HCCHAR_EPTYP_Msk /*!< Endpoint type */ |
9 | mjames | 13535 | #define USB_OTG_HCCHAR_EPTYP_0 (0x1UL << USB_OTG_HCCHAR_EPTYP_Pos) /*!< 0x00040000 */ |
13536 | #define USB_OTG_HCCHAR_EPTYP_1 (0x2UL << USB_OTG_HCCHAR_EPTYP_Pos) /*!< 0x00080000 */ |
||
2 | mjames | 13537 | |
13538 | #define USB_OTG_HCCHAR_MC_Pos (20U) |
||
9 | mjames | 13539 | #define USB_OTG_HCCHAR_MC_Msk (0x3UL << USB_OTG_HCCHAR_MC_Pos) /*!< 0x00300000 */ |
2 | mjames | 13540 | #define USB_OTG_HCCHAR_MC USB_OTG_HCCHAR_MC_Msk /*!< Multi Count (MC) / Error Count (EC) */ |
9 | mjames | 13541 | #define USB_OTG_HCCHAR_MC_0 (0x1UL << USB_OTG_HCCHAR_MC_Pos) /*!< 0x00100000 */ |
13542 | #define USB_OTG_HCCHAR_MC_1 (0x2UL << USB_OTG_HCCHAR_MC_Pos) /*!< 0x00200000 */ |
||
2 | mjames | 13543 | |
13544 | #define USB_OTG_HCCHAR_DAD_Pos (22U) |
||
9 | mjames | 13545 | #define USB_OTG_HCCHAR_DAD_Msk (0x7FUL << USB_OTG_HCCHAR_DAD_Pos) /*!< 0x1FC00000 */ |
2 | mjames | 13546 | #define USB_OTG_HCCHAR_DAD USB_OTG_HCCHAR_DAD_Msk /*!< Device address */ |
9 | mjames | 13547 | #define USB_OTG_HCCHAR_DAD_0 (0x01UL << USB_OTG_HCCHAR_DAD_Pos) /*!< 0x00400000 */ |
13548 | #define USB_OTG_HCCHAR_DAD_1 (0x02UL << USB_OTG_HCCHAR_DAD_Pos) /*!< 0x00800000 */ |
||
13549 | #define USB_OTG_HCCHAR_DAD_2 (0x04UL << USB_OTG_HCCHAR_DAD_Pos) /*!< 0x01000000 */ |
||
13550 | #define USB_OTG_HCCHAR_DAD_3 (0x08UL << USB_OTG_HCCHAR_DAD_Pos) /*!< 0x02000000 */ |
||
13551 | #define USB_OTG_HCCHAR_DAD_4 (0x10UL << USB_OTG_HCCHAR_DAD_Pos) /*!< 0x04000000 */ |
||
13552 | #define USB_OTG_HCCHAR_DAD_5 (0x20UL << USB_OTG_HCCHAR_DAD_Pos) /*!< 0x08000000 */ |
||
13553 | #define USB_OTG_HCCHAR_DAD_6 (0x40UL << USB_OTG_HCCHAR_DAD_Pos) /*!< 0x10000000 */ |
||
2 | mjames | 13554 | #define USB_OTG_HCCHAR_ODDFRM_Pos (29U) |
9 | mjames | 13555 | #define USB_OTG_HCCHAR_ODDFRM_Msk (0x1UL << USB_OTG_HCCHAR_ODDFRM_Pos) /*!< 0x20000000 */ |
2 | mjames | 13556 | #define USB_OTG_HCCHAR_ODDFRM USB_OTG_HCCHAR_ODDFRM_Msk /*!< Odd frame */ |
13557 | #define USB_OTG_HCCHAR_CHDIS_Pos (30U) |
||
9 | mjames | 13558 | #define USB_OTG_HCCHAR_CHDIS_Msk (0x1UL << USB_OTG_HCCHAR_CHDIS_Pos) /*!< 0x40000000 */ |
2 | mjames | 13559 | #define USB_OTG_HCCHAR_CHDIS USB_OTG_HCCHAR_CHDIS_Msk /*!< Channel disable */ |
13560 | #define USB_OTG_HCCHAR_CHENA_Pos (31U) |
||
9 | mjames | 13561 | #define USB_OTG_HCCHAR_CHENA_Msk (0x1UL << USB_OTG_HCCHAR_CHENA_Pos) /*!< 0x80000000 */ |
2 | mjames | 13562 | #define USB_OTG_HCCHAR_CHENA USB_OTG_HCCHAR_CHENA_Msk /*!< Channel enable */ |
13563 | |||
9 | mjames | 13564 | /******************** Bit definition for USB_OTG_HCSPLT register ********************/ |
2 | mjames | 13565 | |
13566 | #define USB_OTG_HCSPLT_PRTADDR_Pos (0U) |
||
9 | mjames | 13567 | #define USB_OTG_HCSPLT_PRTADDR_Msk (0x7FUL << USB_OTG_HCSPLT_PRTADDR_Pos) /*!< 0x0000007F */ |
2 | mjames | 13568 | #define USB_OTG_HCSPLT_PRTADDR USB_OTG_HCSPLT_PRTADDR_Msk /*!< Port address */ |
9 | mjames | 13569 | #define USB_OTG_HCSPLT_PRTADDR_0 (0x01UL << USB_OTG_HCSPLT_PRTADDR_Pos) /*!< 0x00000001 */ |
13570 | #define USB_OTG_HCSPLT_PRTADDR_1 (0x02UL << USB_OTG_HCSPLT_PRTADDR_Pos) /*!< 0x00000002 */ |
||
13571 | #define USB_OTG_HCSPLT_PRTADDR_2 (0x04UL << USB_OTG_HCSPLT_PRTADDR_Pos) /*!< 0x00000004 */ |
||
13572 | #define USB_OTG_HCSPLT_PRTADDR_3 (0x08UL << USB_OTG_HCSPLT_PRTADDR_Pos) /*!< 0x00000008 */ |
||
13573 | #define USB_OTG_HCSPLT_PRTADDR_4 (0x10UL << USB_OTG_HCSPLT_PRTADDR_Pos) /*!< 0x00000010 */ |
||
13574 | #define USB_OTG_HCSPLT_PRTADDR_5 (0x20UL << USB_OTG_HCSPLT_PRTADDR_Pos) /*!< 0x00000020 */ |
||
13575 | #define USB_OTG_HCSPLT_PRTADDR_6 (0x40UL << USB_OTG_HCSPLT_PRTADDR_Pos) /*!< 0x00000040 */ |
||
2 | mjames | 13576 | |
13577 | #define USB_OTG_HCSPLT_HUBADDR_Pos (7U) |
||
9 | mjames | 13578 | #define USB_OTG_HCSPLT_HUBADDR_Msk (0x7FUL << USB_OTG_HCSPLT_HUBADDR_Pos) /*!< 0x00003F80 */ |
2 | mjames | 13579 | #define USB_OTG_HCSPLT_HUBADDR USB_OTG_HCSPLT_HUBADDR_Msk /*!< Hub address */ |
9 | mjames | 13580 | #define USB_OTG_HCSPLT_HUBADDR_0 (0x01UL << USB_OTG_HCSPLT_HUBADDR_Pos) /*!< 0x00000080 */ |
13581 | #define USB_OTG_HCSPLT_HUBADDR_1 (0x02UL << USB_OTG_HCSPLT_HUBADDR_Pos) /*!< 0x00000100 */ |
||
13582 | #define USB_OTG_HCSPLT_HUBADDR_2 (0x04UL << USB_OTG_HCSPLT_HUBADDR_Pos) /*!< 0x00000200 */ |
||
13583 | #define USB_OTG_HCSPLT_HUBADDR_3 (0x08UL << USB_OTG_HCSPLT_HUBADDR_Pos) /*!< 0x00000400 */ |
||
13584 | #define USB_OTG_HCSPLT_HUBADDR_4 (0x10UL << USB_OTG_HCSPLT_HUBADDR_Pos) /*!< 0x00000800 */ |
||
13585 | #define USB_OTG_HCSPLT_HUBADDR_5 (0x20UL << USB_OTG_HCSPLT_HUBADDR_Pos) /*!< 0x00001000 */ |
||
13586 | #define USB_OTG_HCSPLT_HUBADDR_6 (0x40UL << USB_OTG_HCSPLT_HUBADDR_Pos) /*!< 0x00002000 */ |
||
2 | mjames | 13587 | |
13588 | #define USB_OTG_HCSPLT_XACTPOS_Pos (14U) |
||
9 | mjames | 13589 | #define USB_OTG_HCSPLT_XACTPOS_Msk (0x3UL << USB_OTG_HCSPLT_XACTPOS_Pos) /*!< 0x0000C000 */ |
2 | mjames | 13590 | #define USB_OTG_HCSPLT_XACTPOS USB_OTG_HCSPLT_XACTPOS_Msk /*!< XACTPOS */ |
9 | mjames | 13591 | #define USB_OTG_HCSPLT_XACTPOS_0 (0x1UL << USB_OTG_HCSPLT_XACTPOS_Pos) /*!< 0x00004000 */ |
13592 | #define USB_OTG_HCSPLT_XACTPOS_1 (0x2UL << USB_OTG_HCSPLT_XACTPOS_Pos) /*!< 0x00008000 */ |
||
2 | mjames | 13593 | #define USB_OTG_HCSPLT_COMPLSPLT_Pos (16U) |
9 | mjames | 13594 | #define USB_OTG_HCSPLT_COMPLSPLT_Msk (0x1UL << USB_OTG_HCSPLT_COMPLSPLT_Pos) /*!< 0x00010000 */ |
2 | mjames | 13595 | #define USB_OTG_HCSPLT_COMPLSPLT USB_OTG_HCSPLT_COMPLSPLT_Msk /*!< Do complete split */ |
13596 | #define USB_OTG_HCSPLT_SPLITEN_Pos (31U) |
||
9 | mjames | 13597 | #define USB_OTG_HCSPLT_SPLITEN_Msk (0x1UL << USB_OTG_HCSPLT_SPLITEN_Pos) /*!< 0x80000000 */ |
2 | mjames | 13598 | #define USB_OTG_HCSPLT_SPLITEN USB_OTG_HCSPLT_SPLITEN_Msk /*!< Split enable */ |
13599 | |||
9 | mjames | 13600 | /******************** Bit definition for USB_OTG_HCINT register ********************/ |
2 | mjames | 13601 | #define USB_OTG_HCINT_XFRC_Pos (0U) |
9 | mjames | 13602 | #define USB_OTG_HCINT_XFRC_Msk (0x1UL << USB_OTG_HCINT_XFRC_Pos) /*!< 0x00000001 */ |
2 | mjames | 13603 | #define USB_OTG_HCINT_XFRC USB_OTG_HCINT_XFRC_Msk /*!< Transfer completed */ |
13604 | #define USB_OTG_HCINT_CHH_Pos (1U) |
||
9 | mjames | 13605 | #define USB_OTG_HCINT_CHH_Msk (0x1UL << USB_OTG_HCINT_CHH_Pos) /*!< 0x00000002 */ |
2 | mjames | 13606 | #define USB_OTG_HCINT_CHH USB_OTG_HCINT_CHH_Msk /*!< Channel halted */ |
13607 | #define USB_OTG_HCINT_AHBERR_Pos (2U) |
||
9 | mjames | 13608 | #define USB_OTG_HCINT_AHBERR_Msk (0x1UL << USB_OTG_HCINT_AHBERR_Pos) /*!< 0x00000004 */ |
2 | mjames | 13609 | #define USB_OTG_HCINT_AHBERR USB_OTG_HCINT_AHBERR_Msk /*!< AHB error */ |
13610 | #define USB_OTG_HCINT_STALL_Pos (3U) |
||
9 | mjames | 13611 | #define USB_OTG_HCINT_STALL_Msk (0x1UL << USB_OTG_HCINT_STALL_Pos) /*!< 0x00000008 */ |
2 | mjames | 13612 | #define USB_OTG_HCINT_STALL USB_OTG_HCINT_STALL_Msk /*!< STALL response received interrupt */ |
13613 | #define USB_OTG_HCINT_NAK_Pos (4U) |
||
9 | mjames | 13614 | #define USB_OTG_HCINT_NAK_Msk (0x1UL << USB_OTG_HCINT_NAK_Pos) /*!< 0x00000010 */ |
2 | mjames | 13615 | #define USB_OTG_HCINT_NAK USB_OTG_HCINT_NAK_Msk /*!< NAK response received interrupt */ |
13616 | #define USB_OTG_HCINT_ACK_Pos (5U) |
||
9 | mjames | 13617 | #define USB_OTG_HCINT_ACK_Msk (0x1UL << USB_OTG_HCINT_ACK_Pos) /*!< 0x00000020 */ |
2 | mjames | 13618 | #define USB_OTG_HCINT_ACK USB_OTG_HCINT_ACK_Msk /*!< ACK response received/transmitted interrupt */ |
13619 | #define USB_OTG_HCINT_NYET_Pos (6U) |
||
9 | mjames | 13620 | #define USB_OTG_HCINT_NYET_Msk (0x1UL << USB_OTG_HCINT_NYET_Pos) /*!< 0x00000040 */ |
2 | mjames | 13621 | #define USB_OTG_HCINT_NYET USB_OTG_HCINT_NYET_Msk /*!< Response received interrupt */ |
13622 | #define USB_OTG_HCINT_TXERR_Pos (7U) |
||
9 | mjames | 13623 | #define USB_OTG_HCINT_TXERR_Msk (0x1UL << USB_OTG_HCINT_TXERR_Pos) /*!< 0x00000080 */ |
2 | mjames | 13624 | #define USB_OTG_HCINT_TXERR USB_OTG_HCINT_TXERR_Msk /*!< Transaction error */ |
13625 | #define USB_OTG_HCINT_BBERR_Pos (8U) |
||
9 | mjames | 13626 | #define USB_OTG_HCINT_BBERR_Msk (0x1UL << USB_OTG_HCINT_BBERR_Pos) /*!< 0x00000100 */ |
2 | mjames | 13627 | #define USB_OTG_HCINT_BBERR USB_OTG_HCINT_BBERR_Msk /*!< Babble error */ |
13628 | #define USB_OTG_HCINT_FRMOR_Pos (9U) |
||
9 | mjames | 13629 | #define USB_OTG_HCINT_FRMOR_Msk (0x1UL << USB_OTG_HCINT_FRMOR_Pos) /*!< 0x00000200 */ |
2 | mjames | 13630 | #define USB_OTG_HCINT_FRMOR USB_OTG_HCINT_FRMOR_Msk /*!< Frame overrun */ |
13631 | #define USB_OTG_HCINT_DTERR_Pos (10U) |
||
9 | mjames | 13632 | #define USB_OTG_HCINT_DTERR_Msk (0x1UL << USB_OTG_HCINT_DTERR_Pos) /*!< 0x00000400 */ |
2 | mjames | 13633 | #define USB_OTG_HCINT_DTERR USB_OTG_HCINT_DTERR_Msk /*!< Data toggle error */ |
13634 | |||
9 | mjames | 13635 | /******************** Bit definition for USB_OTG_DIEPINT register ********************/ |
2 | mjames | 13636 | #define USB_OTG_DIEPINT_XFRC_Pos (0U) |
9 | mjames | 13637 | #define USB_OTG_DIEPINT_XFRC_Msk (0x1UL << USB_OTG_DIEPINT_XFRC_Pos) /*!< 0x00000001 */ |
2 | mjames | 13638 | #define USB_OTG_DIEPINT_XFRC USB_OTG_DIEPINT_XFRC_Msk /*!< Transfer completed interrupt */ |
13639 | #define USB_OTG_DIEPINT_EPDISD_Pos (1U) |
||
9 | mjames | 13640 | #define USB_OTG_DIEPINT_EPDISD_Msk (0x1UL << USB_OTG_DIEPINT_EPDISD_Pos) /*!< 0x00000002 */ |
2 | mjames | 13641 | #define USB_OTG_DIEPINT_EPDISD USB_OTG_DIEPINT_EPDISD_Msk /*!< Endpoint disabled interrupt */ |
9 | mjames | 13642 | #define USB_OTG_DIEPINT_AHBERR_Pos (2U) |
13643 | #define USB_OTG_DIEPINT_AHBERR_Msk (0x1UL << USB_OTG_DIEPINT_AHBERR_Pos) /*!< 0x00000004 */ |
||
13644 | #define USB_OTG_DIEPINT_AHBERR USB_OTG_DIEPINT_AHBERR_Msk /*!< AHB Error (AHBErr) during an IN transaction */ |
||
2 | mjames | 13645 | #define USB_OTG_DIEPINT_TOC_Pos (3U) |
9 | mjames | 13646 | #define USB_OTG_DIEPINT_TOC_Msk (0x1UL << USB_OTG_DIEPINT_TOC_Pos) /*!< 0x00000008 */ |
2 | mjames | 13647 | #define USB_OTG_DIEPINT_TOC USB_OTG_DIEPINT_TOC_Msk /*!< Timeout condition */ |
13648 | #define USB_OTG_DIEPINT_ITTXFE_Pos (4U) |
||
9 | mjames | 13649 | #define USB_OTG_DIEPINT_ITTXFE_Msk (0x1UL << USB_OTG_DIEPINT_ITTXFE_Pos) /*!< 0x00000010 */ |
2 | mjames | 13650 | #define USB_OTG_DIEPINT_ITTXFE USB_OTG_DIEPINT_ITTXFE_Msk /*!< IN token received when TxFIFO is empty */ |
9 | mjames | 13651 | #define USB_OTG_DIEPINT_INEPNM_Pos (5U) |
13652 | #define USB_OTG_DIEPINT_INEPNM_Msk (0x1UL << USB_OTG_DIEPINT_INEPNM_Pos) /*!< 0x00000004 */ |
||
13653 | #define USB_OTG_DIEPINT_INEPNM USB_OTG_DIEPINT_INEPNM_Msk /*!< IN token received with EP mismatch */ |
||
2 | mjames | 13654 | #define USB_OTG_DIEPINT_INEPNE_Pos (6U) |
9 | mjames | 13655 | #define USB_OTG_DIEPINT_INEPNE_Msk (0x1UL << USB_OTG_DIEPINT_INEPNE_Pos) /*!< 0x00000040 */ |
2 | mjames | 13656 | #define USB_OTG_DIEPINT_INEPNE USB_OTG_DIEPINT_INEPNE_Msk /*!< IN endpoint NAK effective */ |
13657 | #define USB_OTG_DIEPINT_TXFE_Pos (7U) |
||
9 | mjames | 13658 | #define USB_OTG_DIEPINT_TXFE_Msk (0x1UL << USB_OTG_DIEPINT_TXFE_Pos) /*!< 0x00000080 */ |
2 | mjames | 13659 | #define USB_OTG_DIEPINT_TXFE USB_OTG_DIEPINT_TXFE_Msk /*!< Transmit FIFO empty */ |
13660 | #define USB_OTG_DIEPINT_TXFIFOUDRN_Pos (8U) |
||
9 | mjames | 13661 | #define USB_OTG_DIEPINT_TXFIFOUDRN_Msk (0x1UL << USB_OTG_DIEPINT_TXFIFOUDRN_Pos) /*!< 0x00000100 */ |
2 | mjames | 13662 | #define USB_OTG_DIEPINT_TXFIFOUDRN USB_OTG_DIEPINT_TXFIFOUDRN_Msk /*!< Transmit Fifo Underrun */ |
13663 | #define USB_OTG_DIEPINT_BNA_Pos (9U) |
||
9 | mjames | 13664 | #define USB_OTG_DIEPINT_BNA_Msk (0x1UL << USB_OTG_DIEPINT_BNA_Pos) /*!< 0x00000200 */ |
2 | mjames | 13665 | #define USB_OTG_DIEPINT_BNA USB_OTG_DIEPINT_BNA_Msk /*!< Buffer not available interrupt */ |
13666 | #define USB_OTG_DIEPINT_PKTDRPSTS_Pos (11U) |
||
9 | mjames | 13667 | #define USB_OTG_DIEPINT_PKTDRPSTS_Msk (0x1UL << USB_OTG_DIEPINT_PKTDRPSTS_Pos) /*!< 0x00000800 */ |
2 | mjames | 13668 | #define USB_OTG_DIEPINT_PKTDRPSTS USB_OTG_DIEPINT_PKTDRPSTS_Msk /*!< Packet dropped status */ |
13669 | #define USB_OTG_DIEPINT_BERR_Pos (12U) |
||
9 | mjames | 13670 | #define USB_OTG_DIEPINT_BERR_Msk (0x1UL << USB_OTG_DIEPINT_BERR_Pos) /*!< 0x00001000 */ |
2 | mjames | 13671 | #define USB_OTG_DIEPINT_BERR USB_OTG_DIEPINT_BERR_Msk /*!< Babble error interrupt */ |
13672 | #define USB_OTG_DIEPINT_NAK_Pos (13U) |
||
9 | mjames | 13673 | #define USB_OTG_DIEPINT_NAK_Msk (0x1UL << USB_OTG_DIEPINT_NAK_Pos) /*!< 0x00002000 */ |
2 | mjames | 13674 | #define USB_OTG_DIEPINT_NAK USB_OTG_DIEPINT_NAK_Msk /*!< NAK interrupt */ |
13675 | |||
9 | mjames | 13676 | /******************** Bit definition for USB_OTG_HCINTMSK register ********************/ |
2 | mjames | 13677 | #define USB_OTG_HCINTMSK_XFRCM_Pos (0U) |
9 | mjames | 13678 | #define USB_OTG_HCINTMSK_XFRCM_Msk (0x1UL << USB_OTG_HCINTMSK_XFRCM_Pos) /*!< 0x00000001 */ |
2 | mjames | 13679 | #define USB_OTG_HCINTMSK_XFRCM USB_OTG_HCINTMSK_XFRCM_Msk /*!< Transfer completed mask */ |
13680 | #define USB_OTG_HCINTMSK_CHHM_Pos (1U) |
||
9 | mjames | 13681 | #define USB_OTG_HCINTMSK_CHHM_Msk (0x1UL << USB_OTG_HCINTMSK_CHHM_Pos) /*!< 0x00000002 */ |
2 | mjames | 13682 | #define USB_OTG_HCINTMSK_CHHM USB_OTG_HCINTMSK_CHHM_Msk /*!< Channel halted mask */ |
13683 | #define USB_OTG_HCINTMSK_AHBERR_Pos (2U) |
||
9 | mjames | 13684 | #define USB_OTG_HCINTMSK_AHBERR_Msk (0x1UL << USB_OTG_HCINTMSK_AHBERR_Pos) /*!< 0x00000004 */ |
2 | mjames | 13685 | #define USB_OTG_HCINTMSK_AHBERR USB_OTG_HCINTMSK_AHBERR_Msk /*!< AHB error */ |
13686 | #define USB_OTG_HCINTMSK_STALLM_Pos (3U) |
||
9 | mjames | 13687 | #define USB_OTG_HCINTMSK_STALLM_Msk (0x1UL << USB_OTG_HCINTMSK_STALLM_Pos) /*!< 0x00000008 */ |
2 | mjames | 13688 | #define USB_OTG_HCINTMSK_STALLM USB_OTG_HCINTMSK_STALLM_Msk /*!< STALL response received interrupt mask */ |
13689 | #define USB_OTG_HCINTMSK_NAKM_Pos (4U) |
||
9 | mjames | 13690 | #define USB_OTG_HCINTMSK_NAKM_Msk (0x1UL << USB_OTG_HCINTMSK_NAKM_Pos) /*!< 0x00000010 */ |
2 | mjames | 13691 | #define USB_OTG_HCINTMSK_NAKM USB_OTG_HCINTMSK_NAKM_Msk /*!< NAK response received interrupt mask */ |
13692 | #define USB_OTG_HCINTMSK_ACKM_Pos (5U) |
||
9 | mjames | 13693 | #define USB_OTG_HCINTMSK_ACKM_Msk (0x1UL << USB_OTG_HCINTMSK_ACKM_Pos) /*!< 0x00000020 */ |
2 | mjames | 13694 | #define USB_OTG_HCINTMSK_ACKM USB_OTG_HCINTMSK_ACKM_Msk /*!< ACK response received/transmitted interrupt mask */ |
13695 | #define USB_OTG_HCINTMSK_NYET_Pos (6U) |
||
9 | mjames | 13696 | #define USB_OTG_HCINTMSK_NYET_Msk (0x1UL << USB_OTG_HCINTMSK_NYET_Pos) /*!< 0x00000040 */ |
2 | mjames | 13697 | #define USB_OTG_HCINTMSK_NYET USB_OTG_HCINTMSK_NYET_Msk /*!< response received interrupt mask */ |
13698 | #define USB_OTG_HCINTMSK_TXERRM_Pos (7U) |
||
9 | mjames | 13699 | #define USB_OTG_HCINTMSK_TXERRM_Msk (0x1UL << USB_OTG_HCINTMSK_TXERRM_Pos) /*!< 0x00000080 */ |
2 | mjames | 13700 | #define USB_OTG_HCINTMSK_TXERRM USB_OTG_HCINTMSK_TXERRM_Msk /*!< Transaction error mask */ |
13701 | #define USB_OTG_HCINTMSK_BBERRM_Pos (8U) |
||
9 | mjames | 13702 | #define USB_OTG_HCINTMSK_BBERRM_Msk (0x1UL << USB_OTG_HCINTMSK_BBERRM_Pos) /*!< 0x00000100 */ |
2 | mjames | 13703 | #define USB_OTG_HCINTMSK_BBERRM USB_OTG_HCINTMSK_BBERRM_Msk /*!< Babble error mask */ |
13704 | #define USB_OTG_HCINTMSK_FRMORM_Pos (9U) |
||
9 | mjames | 13705 | #define USB_OTG_HCINTMSK_FRMORM_Msk (0x1UL << USB_OTG_HCINTMSK_FRMORM_Pos) /*!< 0x00000200 */ |
2 | mjames | 13706 | #define USB_OTG_HCINTMSK_FRMORM USB_OTG_HCINTMSK_FRMORM_Msk /*!< Frame overrun mask */ |
13707 | #define USB_OTG_HCINTMSK_DTERRM_Pos (10U) |
||
9 | mjames | 13708 | #define USB_OTG_HCINTMSK_DTERRM_Msk (0x1UL << USB_OTG_HCINTMSK_DTERRM_Pos) /*!< 0x00000400 */ |
2 | mjames | 13709 | #define USB_OTG_HCINTMSK_DTERRM USB_OTG_HCINTMSK_DTERRM_Msk /*!< Data toggle error mask */ |
13710 | |||
9 | mjames | 13711 | /******************** Bit definition for USB_OTG_DIEPTSIZ register ********************/ |
13712 | |||
2 | mjames | 13713 | #define USB_OTG_DIEPTSIZ_XFRSIZ_Pos (0U) |
9 | mjames | 13714 | #define USB_OTG_DIEPTSIZ_XFRSIZ_Msk (0x7FFFFUL << USB_OTG_DIEPTSIZ_XFRSIZ_Pos) /*!< 0x0007FFFF */ |
2 | mjames | 13715 | #define USB_OTG_DIEPTSIZ_XFRSIZ USB_OTG_DIEPTSIZ_XFRSIZ_Msk /*!< Transfer size */ |
13716 | #define USB_OTG_DIEPTSIZ_PKTCNT_Pos (19U) |
||
9 | mjames | 13717 | #define USB_OTG_DIEPTSIZ_PKTCNT_Msk (0x3FFUL << USB_OTG_DIEPTSIZ_PKTCNT_Pos) /*!< 0x1FF80000 */ |
2 | mjames | 13718 | #define USB_OTG_DIEPTSIZ_PKTCNT USB_OTG_DIEPTSIZ_PKTCNT_Msk /*!< Packet count */ |
13719 | #define USB_OTG_DIEPTSIZ_MULCNT_Pos (29U) |
||
9 | mjames | 13720 | #define USB_OTG_DIEPTSIZ_MULCNT_Msk (0x3UL << USB_OTG_DIEPTSIZ_MULCNT_Pos) /*!< 0x60000000 */ |
2 | mjames | 13721 | #define USB_OTG_DIEPTSIZ_MULCNT USB_OTG_DIEPTSIZ_MULCNT_Msk /*!< Packet count */ |
9 | mjames | 13722 | /******************** Bit definition for USB_OTG_HCTSIZ register ********************/ |
2 | mjames | 13723 | #define USB_OTG_HCTSIZ_XFRSIZ_Pos (0U) |
9 | mjames | 13724 | #define USB_OTG_HCTSIZ_XFRSIZ_Msk (0x7FFFFUL << USB_OTG_HCTSIZ_XFRSIZ_Pos) /*!< 0x0007FFFF */ |
2 | mjames | 13725 | #define USB_OTG_HCTSIZ_XFRSIZ USB_OTG_HCTSIZ_XFRSIZ_Msk /*!< Transfer size */ |
13726 | #define USB_OTG_HCTSIZ_PKTCNT_Pos (19U) |
||
9 | mjames | 13727 | #define USB_OTG_HCTSIZ_PKTCNT_Msk (0x3FFUL << USB_OTG_HCTSIZ_PKTCNT_Pos) /*!< 0x1FF80000 */ |
2 | mjames | 13728 | #define USB_OTG_HCTSIZ_PKTCNT USB_OTG_HCTSIZ_PKTCNT_Msk /*!< Packet count */ |
13729 | #define USB_OTG_HCTSIZ_DOPING_Pos (31U) |
||
9 | mjames | 13730 | #define USB_OTG_HCTSIZ_DOPING_Msk (0x1UL << USB_OTG_HCTSIZ_DOPING_Pos) /*!< 0x80000000 */ |
2 | mjames | 13731 | #define USB_OTG_HCTSIZ_DOPING USB_OTG_HCTSIZ_DOPING_Msk /*!< Do PING */ |
13732 | #define USB_OTG_HCTSIZ_DPID_Pos (29U) |
||
9 | mjames | 13733 | #define USB_OTG_HCTSIZ_DPID_Msk (0x3UL << USB_OTG_HCTSIZ_DPID_Pos) /*!< 0x60000000 */ |
2 | mjames | 13734 | #define USB_OTG_HCTSIZ_DPID USB_OTG_HCTSIZ_DPID_Msk /*!< Data PID */ |
9 | mjames | 13735 | #define USB_OTG_HCTSIZ_DPID_0 (0x1UL << USB_OTG_HCTSIZ_DPID_Pos) /*!< 0x20000000 */ |
13736 | #define USB_OTG_HCTSIZ_DPID_1 (0x2UL << USB_OTG_HCTSIZ_DPID_Pos) /*!< 0x40000000 */ |
||
2 | mjames | 13737 | |
9 | mjames | 13738 | /******************** Bit definition for USB_OTG_DIEPDMA register ********************/ |
2 | mjames | 13739 | #define USB_OTG_DIEPDMA_DMAADDR_Pos (0U) |
9 | mjames | 13740 | #define USB_OTG_DIEPDMA_DMAADDR_Msk (0xFFFFFFFFUL << USB_OTG_DIEPDMA_DMAADDR_Pos) /*!< 0xFFFFFFFF */ |
2 | mjames | 13741 | #define USB_OTG_DIEPDMA_DMAADDR USB_OTG_DIEPDMA_DMAADDR_Msk /*!< DMA address */ |
13742 | |||
9 | mjames | 13743 | /******************** Bit definition for USB_OTG_HCDMA register ********************/ |
2 | mjames | 13744 | #define USB_OTG_HCDMA_DMAADDR_Pos (0U) |
9 | mjames | 13745 | #define USB_OTG_HCDMA_DMAADDR_Msk (0xFFFFFFFFUL << USB_OTG_HCDMA_DMAADDR_Pos) /*!< 0xFFFFFFFF */ |
2 | mjames | 13746 | #define USB_OTG_HCDMA_DMAADDR USB_OTG_HCDMA_DMAADDR_Msk /*!< DMA address */ |
13747 | |||
9 | mjames | 13748 | /******************** Bit definition for USB_OTG_DTXFSTS register ********************/ |
2 | mjames | 13749 | #define USB_OTG_DTXFSTS_INEPTFSAV_Pos (0U) |
9 | mjames | 13750 | #define USB_OTG_DTXFSTS_INEPTFSAV_Msk (0xFFFFUL << USB_OTG_DTXFSTS_INEPTFSAV_Pos) /*!< 0x0000FFFF */ |
13751 | #define USB_OTG_DTXFSTS_INEPTFSAV USB_OTG_DTXFSTS_INEPTFSAV_Msk /*!< IN endpoint TxFIFO space available */ |
||
2 | mjames | 13752 | |
9 | mjames | 13753 | /******************** Bit definition for USB_OTG_DIEPTXF register ********************/ |
2 | mjames | 13754 | #define USB_OTG_DIEPTXF_INEPTXSA_Pos (0U) |
9 | mjames | 13755 | #define USB_OTG_DIEPTXF_INEPTXSA_Msk (0xFFFFUL << USB_OTG_DIEPTXF_INEPTXSA_Pos) /*!< 0x0000FFFF */ |
2 | mjames | 13756 | #define USB_OTG_DIEPTXF_INEPTXSA USB_OTG_DIEPTXF_INEPTXSA_Msk /*!< IN endpoint FIFOx transmit RAM start address */ |
13757 | #define USB_OTG_DIEPTXF_INEPTXFD_Pos (16U) |
||
9 | mjames | 13758 | #define USB_OTG_DIEPTXF_INEPTXFD_Msk (0xFFFFUL << USB_OTG_DIEPTXF_INEPTXFD_Pos) /*!< 0xFFFF0000 */ |
2 | mjames | 13759 | #define USB_OTG_DIEPTXF_INEPTXFD USB_OTG_DIEPTXF_INEPTXFD_Msk /*!< IN endpoint TxFIFO depth */ |
13760 | |||
9 | mjames | 13761 | /******************** Bit definition for USB_OTG_DOEPCTL register ********************/ |
13762 | |||
2 | mjames | 13763 | #define USB_OTG_DOEPCTL_MPSIZ_Pos (0U) |
9 | mjames | 13764 | #define USB_OTG_DOEPCTL_MPSIZ_Msk (0x7FFUL << USB_OTG_DOEPCTL_MPSIZ_Pos) /*!< 0x000007FF */ |
13765 | #define USB_OTG_DOEPCTL_MPSIZ USB_OTG_DOEPCTL_MPSIZ_Msk /*!< Maximum packet size */ /*!<Bit 1 */ |
||
2 | mjames | 13766 | #define USB_OTG_DOEPCTL_USBAEP_Pos (15U) |
9 | mjames | 13767 | #define USB_OTG_DOEPCTL_USBAEP_Msk (0x1UL << USB_OTG_DOEPCTL_USBAEP_Pos) /*!< 0x00008000 */ |
2 | mjames | 13768 | #define USB_OTG_DOEPCTL_USBAEP USB_OTG_DOEPCTL_USBAEP_Msk /*!< USB active endpoint */ |
13769 | #define USB_OTG_DOEPCTL_NAKSTS_Pos (17U) |
||
9 | mjames | 13770 | #define USB_OTG_DOEPCTL_NAKSTS_Msk (0x1UL << USB_OTG_DOEPCTL_NAKSTS_Pos) /*!< 0x00020000 */ |
2 | mjames | 13771 | #define USB_OTG_DOEPCTL_NAKSTS USB_OTG_DOEPCTL_NAKSTS_Msk /*!< NAK status */ |
13772 | #define USB_OTG_DOEPCTL_SD0PID_SEVNFRM_Pos (28U) |
||
9 | mjames | 13773 | #define USB_OTG_DOEPCTL_SD0PID_SEVNFRM_Msk (0x1UL << USB_OTG_DOEPCTL_SD0PID_SEVNFRM_Pos) /*!< 0x10000000 */ |
2 | mjames | 13774 | #define USB_OTG_DOEPCTL_SD0PID_SEVNFRM USB_OTG_DOEPCTL_SD0PID_SEVNFRM_Msk /*!< Set DATA0 PID */ |
13775 | #define USB_OTG_DOEPCTL_SODDFRM_Pos (29U) |
||
9 | mjames | 13776 | #define USB_OTG_DOEPCTL_SODDFRM_Msk (0x1UL << USB_OTG_DOEPCTL_SODDFRM_Pos) /*!< 0x20000000 */ |
2 | mjames | 13777 | #define USB_OTG_DOEPCTL_SODDFRM USB_OTG_DOEPCTL_SODDFRM_Msk /*!< Set odd frame */ |
13778 | #define USB_OTG_DOEPCTL_EPTYP_Pos (18U) |
||
9 | mjames | 13779 | #define USB_OTG_DOEPCTL_EPTYP_Msk (0x3UL << USB_OTG_DOEPCTL_EPTYP_Pos) /*!< 0x000C0000 */ |
2 | mjames | 13780 | #define USB_OTG_DOEPCTL_EPTYP USB_OTG_DOEPCTL_EPTYP_Msk /*!< Endpoint type */ |
9 | mjames | 13781 | #define USB_OTG_DOEPCTL_EPTYP_0 (0x1UL << USB_OTG_DOEPCTL_EPTYP_Pos) /*!< 0x00040000 */ |
13782 | #define USB_OTG_DOEPCTL_EPTYP_1 (0x2UL << USB_OTG_DOEPCTL_EPTYP_Pos) /*!< 0x00080000 */ |
||
2 | mjames | 13783 | #define USB_OTG_DOEPCTL_SNPM_Pos (20U) |
9 | mjames | 13784 | #define USB_OTG_DOEPCTL_SNPM_Msk (0x1UL << USB_OTG_DOEPCTL_SNPM_Pos) /*!< 0x00100000 */ |
2 | mjames | 13785 | #define USB_OTG_DOEPCTL_SNPM USB_OTG_DOEPCTL_SNPM_Msk /*!< Snoop mode */ |
13786 | #define USB_OTG_DOEPCTL_STALL_Pos (21U) |
||
9 | mjames | 13787 | #define USB_OTG_DOEPCTL_STALL_Msk (0x1UL << USB_OTG_DOEPCTL_STALL_Pos) /*!< 0x00200000 */ |
2 | mjames | 13788 | #define USB_OTG_DOEPCTL_STALL USB_OTG_DOEPCTL_STALL_Msk /*!< STALL handshake */ |
13789 | #define USB_OTG_DOEPCTL_CNAK_Pos (26U) |
||
9 | mjames | 13790 | #define USB_OTG_DOEPCTL_CNAK_Msk (0x1UL << USB_OTG_DOEPCTL_CNAK_Pos) /*!< 0x04000000 */ |
2 | mjames | 13791 | #define USB_OTG_DOEPCTL_CNAK USB_OTG_DOEPCTL_CNAK_Msk /*!< Clear NAK */ |
13792 | #define USB_OTG_DOEPCTL_SNAK_Pos (27U) |
||
9 | mjames | 13793 | #define USB_OTG_DOEPCTL_SNAK_Msk (0x1UL << USB_OTG_DOEPCTL_SNAK_Pos) /*!< 0x08000000 */ |
2 | mjames | 13794 | #define USB_OTG_DOEPCTL_SNAK USB_OTG_DOEPCTL_SNAK_Msk /*!< Set NAK */ |
13795 | #define USB_OTG_DOEPCTL_EPDIS_Pos (30U) |
||
9 | mjames | 13796 | #define USB_OTG_DOEPCTL_EPDIS_Msk (0x1UL << USB_OTG_DOEPCTL_EPDIS_Pos) /*!< 0x40000000 */ |
2 | mjames | 13797 | #define USB_OTG_DOEPCTL_EPDIS USB_OTG_DOEPCTL_EPDIS_Msk /*!< Endpoint disable */ |
13798 | #define USB_OTG_DOEPCTL_EPENA_Pos (31U) |
||
9 | mjames | 13799 | #define USB_OTG_DOEPCTL_EPENA_Msk (0x1UL << USB_OTG_DOEPCTL_EPENA_Pos) /*!< 0x80000000 */ |
2 | mjames | 13800 | #define USB_OTG_DOEPCTL_EPENA USB_OTG_DOEPCTL_EPENA_Msk /*!< Endpoint enable */ |
13801 | |||
9 | mjames | 13802 | /******************** Bit definition for USB_OTG_DOEPINT register ********************/ |
2 | mjames | 13803 | #define USB_OTG_DOEPINT_XFRC_Pos (0U) |
9 | mjames | 13804 | #define USB_OTG_DOEPINT_XFRC_Msk (0x1UL << USB_OTG_DOEPINT_XFRC_Pos) /*!< 0x00000001 */ |
2 | mjames | 13805 | #define USB_OTG_DOEPINT_XFRC USB_OTG_DOEPINT_XFRC_Msk /*!< Transfer completed interrupt */ |
13806 | #define USB_OTG_DOEPINT_EPDISD_Pos (1U) |
||
9 | mjames | 13807 | #define USB_OTG_DOEPINT_EPDISD_Msk (0x1UL << USB_OTG_DOEPINT_EPDISD_Pos) /*!< 0x00000002 */ |
2 | mjames | 13808 | #define USB_OTG_DOEPINT_EPDISD USB_OTG_DOEPINT_EPDISD_Msk /*!< Endpoint disabled interrupt */ |
9 | mjames | 13809 | #define USB_OTG_DOEPINT_AHBERR_Pos (2U) |
13810 | #define USB_OTG_DOEPINT_AHBERR_Msk (0x1UL << USB_OTG_DOEPINT_AHBERR_Pos) /*!< 0x00000004 */ |
||
13811 | #define USB_OTG_DOEPINT_AHBERR USB_OTG_DOEPINT_AHBERR_Msk /*!< AHB Error (AHBErr) during an OUT transaction */ |
||
2 | mjames | 13812 | #define USB_OTG_DOEPINT_STUP_Pos (3U) |
9 | mjames | 13813 | #define USB_OTG_DOEPINT_STUP_Msk (0x1UL << USB_OTG_DOEPINT_STUP_Pos) /*!< 0x00000008 */ |
2 | mjames | 13814 | #define USB_OTG_DOEPINT_STUP USB_OTG_DOEPINT_STUP_Msk /*!< SETUP phase done */ |
13815 | #define USB_OTG_DOEPINT_OTEPDIS_Pos (4U) |
||
9 | mjames | 13816 | #define USB_OTG_DOEPINT_OTEPDIS_Msk (0x1UL << USB_OTG_DOEPINT_OTEPDIS_Pos) /*!< 0x00000010 */ |
2 | mjames | 13817 | #define USB_OTG_DOEPINT_OTEPDIS USB_OTG_DOEPINT_OTEPDIS_Msk /*!< OUT token received when endpoint disabled */ |
9 | mjames | 13818 | #define USB_OTG_DOEPINT_OTEPSPR_Pos (5U) |
13819 | #define USB_OTG_DOEPINT_OTEPSPR_Msk (0x1UL << USB_OTG_DOEPINT_OTEPSPR_Pos) /*!< 0x00000020 */ |
||
13820 | #define USB_OTG_DOEPINT_OTEPSPR USB_OTG_DOEPINT_OTEPSPR_Msk /*!< Status Phase Received For Control Write */ |
||
2 | mjames | 13821 | #define USB_OTG_DOEPINT_B2BSTUP_Pos (6U) |
9 | mjames | 13822 | #define USB_OTG_DOEPINT_B2BSTUP_Msk (0x1UL << USB_OTG_DOEPINT_B2BSTUP_Pos) /*!< 0x00000040 */ |
2 | mjames | 13823 | #define USB_OTG_DOEPINT_B2BSTUP USB_OTG_DOEPINT_B2BSTUP_Msk /*!< Back-to-back SETUP packets received */ |
9 | mjames | 13824 | #define USB_OTG_DOEPINT_OUTPKTERR_Pos (8U) |
13825 | #define USB_OTG_DOEPINT_OUTPKTERR_Msk (0x1UL << USB_OTG_DOEPINT_OUTPKTERR_Pos) /*!< 0x00000100 */ |
||
13826 | #define USB_OTG_DOEPINT_OUTPKTERR USB_OTG_DOEPINT_OUTPKTERR_Msk /*!< OUT packet error */ |
||
13827 | #define USB_OTG_DOEPINT_NAK_Pos (13U) |
||
13828 | #define USB_OTG_DOEPINT_NAK_Msk (0x1UL << USB_OTG_DOEPINT_NAK_Pos) /*!< 0x00002000 */ |
||
13829 | #define USB_OTG_DOEPINT_NAK USB_OTG_DOEPINT_NAK_Msk /*!< NAK Packet is transmitted by the device */ |
||
2 | mjames | 13830 | #define USB_OTG_DOEPINT_NYET_Pos (14U) |
9 | mjames | 13831 | #define USB_OTG_DOEPINT_NYET_Msk (0x1UL << USB_OTG_DOEPINT_NYET_Pos) /*!< 0x00004000 */ |
2 | mjames | 13832 | #define USB_OTG_DOEPINT_NYET USB_OTG_DOEPINT_NYET_Msk /*!< NYET interrupt */ |
9 | mjames | 13833 | #define USB_OTG_DOEPINT_STPKTRX_Pos (15U) |
13834 | #define USB_OTG_DOEPINT_STPKTRX_Msk (0x1UL << USB_OTG_DOEPINT_STPKTRX_Pos) /*!< 0x00008000 */ |
||
13835 | #define USB_OTG_DOEPINT_STPKTRX USB_OTG_DOEPINT_STPKTRX_Msk /*!< Setup Packet Received */ |
||
13836 | /******************** Bit definition for USB_OTG_DOEPTSIZ register ********************/ |
||
2 | mjames | 13837 | |
13838 | #define USB_OTG_DOEPTSIZ_XFRSIZ_Pos (0U) |
||
9 | mjames | 13839 | #define USB_OTG_DOEPTSIZ_XFRSIZ_Msk (0x7FFFFUL << USB_OTG_DOEPTSIZ_XFRSIZ_Pos) /*!< 0x0007FFFF */ |
2 | mjames | 13840 | #define USB_OTG_DOEPTSIZ_XFRSIZ USB_OTG_DOEPTSIZ_XFRSIZ_Msk /*!< Transfer size */ |
13841 | #define USB_OTG_DOEPTSIZ_PKTCNT_Pos (19U) |
||
9 | mjames | 13842 | #define USB_OTG_DOEPTSIZ_PKTCNT_Msk (0x3FFUL << USB_OTG_DOEPTSIZ_PKTCNT_Pos) /*!< 0x1FF80000 */ |
2 | mjames | 13843 | #define USB_OTG_DOEPTSIZ_PKTCNT USB_OTG_DOEPTSIZ_PKTCNT_Msk /*!< Packet count */ |
13844 | |||
13845 | #define USB_OTG_DOEPTSIZ_STUPCNT_Pos (29U) |
||
9 | mjames | 13846 | #define USB_OTG_DOEPTSIZ_STUPCNT_Msk (0x3UL << USB_OTG_DOEPTSIZ_STUPCNT_Pos) /*!< 0x60000000 */ |
2 | mjames | 13847 | #define USB_OTG_DOEPTSIZ_STUPCNT USB_OTG_DOEPTSIZ_STUPCNT_Msk /*!< SETUP packet count */ |
9 | mjames | 13848 | #define USB_OTG_DOEPTSIZ_STUPCNT_0 (0x1UL << USB_OTG_DOEPTSIZ_STUPCNT_Pos) /*!< 0x20000000 */ |
13849 | #define USB_OTG_DOEPTSIZ_STUPCNT_1 (0x2UL << USB_OTG_DOEPTSIZ_STUPCNT_Pos) /*!< 0x40000000 */ |
||
2 | mjames | 13850 | |
9 | mjames | 13851 | /******************** Bit definition for PCGCCTL register ********************/ |
2 | mjames | 13852 | #define USB_OTG_PCGCCTL_STOPCLK_Pos (0U) |
9 | mjames | 13853 | #define USB_OTG_PCGCCTL_STOPCLK_Msk (0x1UL << USB_OTG_PCGCCTL_STOPCLK_Pos) /*!< 0x00000001 */ |
2 | mjames | 13854 | #define USB_OTG_PCGCCTL_STOPCLK USB_OTG_PCGCCTL_STOPCLK_Msk /*!< SETUP packet count */ |
13855 | #define USB_OTG_PCGCCTL_GATECLK_Pos (1U) |
||
9 | mjames | 13856 | #define USB_OTG_PCGCCTL_GATECLK_Msk (0x1UL << USB_OTG_PCGCCTL_GATECLK_Pos) /*!< 0x00000002 */ |
2 | mjames | 13857 | #define USB_OTG_PCGCCTL_GATECLK USB_OTG_PCGCCTL_GATECLK_Msk /*!<Bit 0 */ |
13858 | #define USB_OTG_PCGCCTL_PHYSUSP_Pos (4U) |
||
9 | mjames | 13859 | #define USB_OTG_PCGCCTL_PHYSUSP_Msk (0x1UL << USB_OTG_PCGCCTL_PHYSUSP_Pos) /*!< 0x00000010 */ |
2 | mjames | 13860 | #define USB_OTG_PCGCCTL_PHYSUSP USB_OTG_PCGCCTL_PHYSUSP_Msk /*!<Bit 1 */ |
13861 | |||
9 | mjames | 13862 | /* Legacy define */ |
13863 | /******************** Bit definition for OTG register ********************/ |
||
13864 | #define USB_OTG_CHNUM_Pos (0U) |
||
13865 | #define USB_OTG_CHNUM_Msk (0xFUL << USB_OTG_CHNUM_Pos) /*!< 0x0000000F */ |
||
13866 | #define USB_OTG_CHNUM USB_OTG_CHNUM_Msk /*!< Channel number */ |
||
13867 | #define USB_OTG_CHNUM_0 (0x1UL << USB_OTG_CHNUM_Pos) /*!< 0x00000001 */ |
||
13868 | #define USB_OTG_CHNUM_1 (0x2UL << USB_OTG_CHNUM_Pos) /*!< 0x00000002 */ |
||
13869 | #define USB_OTG_CHNUM_2 (0x4UL << USB_OTG_CHNUM_Pos) /*!< 0x00000004 */ |
||
13870 | #define USB_OTG_CHNUM_3 (0x8UL << USB_OTG_CHNUM_Pos) /*!< 0x00000008 */ |
||
13871 | #define USB_OTG_BCNT_Pos (4U) |
||
13872 | #define USB_OTG_BCNT_Msk (0x7FFUL << USB_OTG_BCNT_Pos) /*!< 0x00007FF0 */ |
||
13873 | #define USB_OTG_BCNT USB_OTG_BCNT_Msk /*!< Byte count */ |
||
13874 | |||
13875 | #define USB_OTG_DPID_Pos (15U) |
||
13876 | #define USB_OTG_DPID_Msk (0x3UL << USB_OTG_DPID_Pos) /*!< 0x00018000 */ |
||
13877 | #define USB_OTG_DPID USB_OTG_DPID_Msk /*!< Data PID */ |
||
13878 | #define USB_OTG_DPID_0 (0x1UL << USB_OTG_DPID_Pos) /*!< 0x00008000 */ |
||
13879 | #define USB_OTG_DPID_1 (0x2UL << USB_OTG_DPID_Pos) /*!< 0x00010000 */ |
||
13880 | |||
13881 | #define USB_OTG_PKTSTS_Pos (17U) |
||
13882 | #define USB_OTG_PKTSTS_Msk (0xFUL << USB_OTG_PKTSTS_Pos) /*!< 0x001E0000 */ |
||
13883 | #define USB_OTG_PKTSTS USB_OTG_PKTSTS_Msk /*!< Packet status */ |
||
13884 | #define USB_OTG_PKTSTS_0 (0x1UL << USB_OTG_PKTSTS_Pos) /*!< 0x00020000 */ |
||
13885 | #define USB_OTG_PKTSTS_1 (0x2UL << USB_OTG_PKTSTS_Pos) /*!< 0x00040000 */ |
||
13886 | #define USB_OTG_PKTSTS_2 (0x4UL << USB_OTG_PKTSTS_Pos) /*!< 0x00080000 */ |
||
13887 | #define USB_OTG_PKTSTS_3 (0x8UL << USB_OTG_PKTSTS_Pos) /*!< 0x00100000 */ |
||
13888 | |||
13889 | #define USB_OTG_EPNUM_Pos (0U) |
||
13890 | #define USB_OTG_EPNUM_Msk (0xFUL << USB_OTG_EPNUM_Pos) /*!< 0x0000000F */ |
||
13891 | #define USB_OTG_EPNUM USB_OTG_EPNUM_Msk /*!< Endpoint number */ |
||
13892 | #define USB_OTG_EPNUM_0 (0x1UL << USB_OTG_EPNUM_Pos) /*!< 0x00000001 */ |
||
13893 | #define USB_OTG_EPNUM_1 (0x2UL << USB_OTG_EPNUM_Pos) /*!< 0x00000002 */ |
||
13894 | #define USB_OTG_EPNUM_2 (0x4UL << USB_OTG_EPNUM_Pos) /*!< 0x00000004 */ |
||
13895 | #define USB_OTG_EPNUM_3 (0x8UL << USB_OTG_EPNUM_Pos) /*!< 0x00000008 */ |
||
13896 | |||
13897 | #define USB_OTG_FRMNUM_Pos (21U) |
||
13898 | #define USB_OTG_FRMNUM_Msk (0xFUL << USB_OTG_FRMNUM_Pos) /*!< 0x01E00000 */ |
||
13899 | #define USB_OTG_FRMNUM USB_OTG_FRMNUM_Msk /*!< Frame number */ |
||
13900 | #define USB_OTG_FRMNUM_0 (0x1UL << USB_OTG_FRMNUM_Pos) /*!< 0x00200000 */ |
||
13901 | #define USB_OTG_FRMNUM_1 (0x2UL << USB_OTG_FRMNUM_Pos) /*!< 0x00400000 */ |
||
13902 | #define USB_OTG_FRMNUM_2 (0x4UL << USB_OTG_FRMNUM_Pos) /*!< 0x00800000 */ |
||
13903 | #define USB_OTG_FRMNUM_3 (0x8UL << USB_OTG_FRMNUM_Pos) /*!< 0x01000000 */ |
||
13904 | |||
2 | mjames | 13905 | /** |
13906 | * @} |
||
13907 | */ |
||
13908 | |||
13909 | /** |
||
13910 | * @} |
||
13911 | */ |
||
13912 | |||
13913 | /** @addtogroup Exported_macro |
||
13914 | * @{ |
||
13915 | */ |
||
13916 | |||
13917 | /****************************** ADC Instances *********************************/ |
||
13918 | #define IS_ADC_ALL_INSTANCE(INSTANCE) (((INSTANCE) == ADC1) || \ |
||
13919 | ((INSTANCE) == ADC2)) |
||
13920 | |||
13921 | #define IS_ADC_COMMON_INSTANCE(INSTANCE) ((INSTANCE) == ADC12_COMMON) |
||
13922 | |||
13923 | #define IS_ADC_MULTIMODE_MASTER_INSTANCE(INSTANCE) ((INSTANCE) == ADC1) |
||
13924 | |||
13925 | #define IS_ADC_DMA_CAPABILITY_INSTANCE(INSTANCE) ((INSTANCE) == ADC1) |
||
13926 | |||
13927 | /****************************** CAN Instances *********************************/ |
||
13928 | #define IS_CAN_ALL_INSTANCE(INSTANCE) (((INSTANCE) == CAN1) || \ |
||
13929 | ((INSTANCE) == CAN2)) |
||
13930 | |||
13931 | /****************************** CRC Instances *********************************/ |
||
13932 | #define IS_CRC_ALL_INSTANCE(INSTANCE) ((INSTANCE) == CRC) |
||
13933 | |||
13934 | /****************************** DAC Instances *********************************/ |
||
13935 | #define IS_DAC_ALL_INSTANCE(INSTANCE) ((INSTANCE) == DAC1) |
||
13936 | |||
13937 | /****************************** DMA Instances *********************************/ |
||
13938 | #define IS_DMA_ALL_INSTANCE(INSTANCE) (((INSTANCE) == DMA1_Channel1) || \ |
||
13939 | ((INSTANCE) == DMA1_Channel2) || \ |
||
13940 | ((INSTANCE) == DMA1_Channel3) || \ |
||
13941 | ((INSTANCE) == DMA1_Channel4) || \ |
||
13942 | ((INSTANCE) == DMA1_Channel5) || \ |
||
13943 | ((INSTANCE) == DMA1_Channel6) || \ |
||
13944 | ((INSTANCE) == DMA1_Channel7) || \ |
||
13945 | ((INSTANCE) == DMA2_Channel1) || \ |
||
13946 | ((INSTANCE) == DMA2_Channel2) || \ |
||
13947 | ((INSTANCE) == DMA2_Channel3) || \ |
||
13948 | ((INSTANCE) == DMA2_Channel4) || \ |
||
13949 | ((INSTANCE) == DMA2_Channel5)) |
||
13950 | |||
13951 | /******************************* GPIO Instances *******************************/ |
||
13952 | #define IS_GPIO_ALL_INSTANCE(INSTANCE) (((INSTANCE) == GPIOA) || \ |
||
13953 | ((INSTANCE) == GPIOB) || \ |
||
13954 | ((INSTANCE) == GPIOC) || \ |
||
13955 | ((INSTANCE) == GPIOD) || \ |
||
13956 | ((INSTANCE) == GPIOE)) |
||
13957 | |||
13958 | /**************************** GPIO Alternate Function Instances ***************/ |
||
13959 | #define IS_GPIO_AF_INSTANCE(INSTANCE) IS_GPIO_ALL_INSTANCE(INSTANCE) |
||
13960 | |||
13961 | /**************************** GPIO Lock Instances *****************************/ |
||
13962 | #define IS_GPIO_LOCK_INSTANCE(INSTANCE) IS_GPIO_ALL_INSTANCE(INSTANCE) |
||
13963 | |||
13964 | /******************************** I2C Instances *******************************/ |
||
13965 | #define IS_I2C_ALL_INSTANCE(INSTANCE) (((INSTANCE) == I2C1) || \ |
||
13966 | ((INSTANCE) == I2C2)) |
||
13967 | |||
13968 | /******************************* SMBUS Instances ******************************/ |
||
13969 | #define IS_SMBUS_ALL_INSTANCE IS_I2C_ALL_INSTANCE |
||
13970 | |||
13971 | /******************************** I2S Instances *******************************/ |
||
13972 | #define IS_I2S_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI2) || \ |
||
13973 | ((INSTANCE) == SPI3)) |
||
13974 | |||
13975 | /****************************** IWDG Instances ********************************/ |
||
13976 | #define IS_IWDG_ALL_INSTANCE(INSTANCE) ((INSTANCE) == IWDG) |
||
13977 | |||
13978 | /******************************** SPI Instances *******************************/ |
||
13979 | #define IS_SPI_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \ |
||
13980 | ((INSTANCE) == SPI2) || \ |
||
13981 | ((INSTANCE) == SPI3)) |
||
13982 | |||
13983 | /****************************** START TIM Instances ***************************/ |
||
13984 | /****************************** TIM Instances *********************************/ |
||
13985 | #define IS_TIM_INSTANCE(INSTANCE)\ |
||
13986 | (((INSTANCE) == TIM1) || \ |
||
13987 | ((INSTANCE) == TIM2) || \ |
||
13988 | ((INSTANCE) == TIM3) || \ |
||
13989 | ((INSTANCE) == TIM4) || \ |
||
13990 | ((INSTANCE) == TIM5) || \ |
||
13991 | ((INSTANCE) == TIM6) || \ |
||
13992 | ((INSTANCE) == TIM7)) |
||
13993 | |||
13994 | #define IS_TIM_ADVANCED_INSTANCE(INSTANCE) ((INSTANCE) == TIM1) |
||
13995 | |||
13996 | #define IS_TIM_CC1_INSTANCE(INSTANCE)\ |
||
13997 | (((INSTANCE) == TIM1) || \ |
||
13998 | ((INSTANCE) == TIM2) || \ |
||
13999 | ((INSTANCE) == TIM3) || \ |
||
14000 | ((INSTANCE) == TIM4) || \ |
||
14001 | ((INSTANCE) == TIM5)) |
||
14002 | |||
14003 | #define IS_TIM_CC2_INSTANCE(INSTANCE)\ |
||
14004 | (((INSTANCE) == TIM1) || \ |
||
14005 | ((INSTANCE) == TIM2) || \ |
||
14006 | ((INSTANCE) == TIM3) || \ |
||
14007 | ((INSTANCE) == TIM4) || \ |
||
14008 | ((INSTANCE) == TIM5)) |
||
14009 | |||
14010 | #define IS_TIM_CC3_INSTANCE(INSTANCE)\ |
||
14011 | (((INSTANCE) == TIM1) || \ |
||
14012 | ((INSTANCE) == TIM2) || \ |
||
14013 | ((INSTANCE) == TIM3) || \ |
||
14014 | ((INSTANCE) == TIM4) || \ |
||
14015 | ((INSTANCE) == TIM5)) |
||
14016 | |||
14017 | #define IS_TIM_CC4_INSTANCE(INSTANCE)\ |
||
14018 | (((INSTANCE) == TIM1) || \ |
||
14019 | ((INSTANCE) == TIM2) || \ |
||
14020 | ((INSTANCE) == TIM3) || \ |
||
14021 | ((INSTANCE) == TIM4) || \ |
||
14022 | ((INSTANCE) == TIM5)) |
||
14023 | |||
14024 | #define IS_TIM_CLOCKSOURCE_ETRMODE1_INSTANCE(INSTANCE)\ |
||
14025 | (((INSTANCE) == TIM1) || \ |
||
14026 | ((INSTANCE) == TIM2) || \ |
||
14027 | ((INSTANCE) == TIM3) || \ |
||
14028 | ((INSTANCE) == TIM4) || \ |
||
14029 | ((INSTANCE) == TIM5)) |
||
14030 | |||
14031 | #define IS_TIM_CLOCKSOURCE_ETRMODE2_INSTANCE(INSTANCE)\ |
||
14032 | (((INSTANCE) == TIM1) || \ |
||
14033 | ((INSTANCE) == TIM2) || \ |
||
14034 | ((INSTANCE) == TIM3) || \ |
||
14035 | ((INSTANCE) == TIM4) || \ |
||
14036 | ((INSTANCE) == TIM5)) |
||
14037 | |||
14038 | #define IS_TIM_CLOCKSOURCE_TIX_INSTANCE(INSTANCE)\ |
||
14039 | (((INSTANCE) == TIM1) || \ |
||
14040 | ((INSTANCE) == TIM2) || \ |
||
14041 | ((INSTANCE) == TIM3) || \ |
||
14042 | ((INSTANCE) == TIM4) || \ |
||
14043 | ((INSTANCE) == TIM5)) |
||
14044 | |||
14045 | #define IS_TIM_CLOCKSOURCE_ITRX_INSTANCE(INSTANCE)\ |
||
14046 | (((INSTANCE) == TIM1) || \ |
||
14047 | ((INSTANCE) == TIM2) || \ |
||
14048 | ((INSTANCE) == TIM3) || \ |
||
14049 | ((INSTANCE) == TIM4) || \ |
||
14050 | ((INSTANCE) == TIM5)) |
||
14051 | |||
14052 | #define IS_TIM_OCXREF_CLEAR_INSTANCE(INSTANCE)\ |
||
14053 | (((INSTANCE) == TIM1) || \ |
||
14054 | ((INSTANCE) == TIM2) || \ |
||
14055 | ((INSTANCE) == TIM3) || \ |
||
14056 | ((INSTANCE) == TIM4) || \ |
||
14057 | ((INSTANCE) == TIM5)) |
||
14058 | |||
14059 | #define IS_TIM_ENCODER_INTERFACE_INSTANCE(INSTANCE)\ |
||
14060 | (((INSTANCE) == TIM1) || \ |
||
14061 | ((INSTANCE) == TIM2) || \ |
||
14062 | ((INSTANCE) == TIM3) || \ |
||
14063 | ((INSTANCE) == TIM4) || \ |
||
14064 | ((INSTANCE) == TIM5)) |
||
14065 | |||
14066 | #define IS_TIM_XOR_INSTANCE(INSTANCE)\ |
||
14067 | (((INSTANCE) == TIM1) || \ |
||
14068 | ((INSTANCE) == TIM2) || \ |
||
14069 | ((INSTANCE) == TIM3) || \ |
||
14070 | ((INSTANCE) == TIM4) || \ |
||
14071 | ((INSTANCE) == TIM5)) |
||
14072 | |||
14073 | #define IS_TIM_MASTER_INSTANCE(INSTANCE)\ |
||
14074 | (((INSTANCE) == TIM1) || \ |
||
14075 | ((INSTANCE) == TIM2) || \ |
||
14076 | ((INSTANCE) == TIM3) || \ |
||
14077 | ((INSTANCE) == TIM4) || \ |
||
14078 | ((INSTANCE) == TIM5) || \ |
||
14079 | ((INSTANCE) == TIM6) || \ |
||
14080 | ((INSTANCE) == TIM7)) |
||
14081 | |||
14082 | #define IS_TIM_SLAVE_INSTANCE(INSTANCE)\ |
||
14083 | (((INSTANCE) == TIM1) || \ |
||
14084 | ((INSTANCE) == TIM2) || \ |
||
14085 | ((INSTANCE) == TIM3) || \ |
||
14086 | ((INSTANCE) == TIM4) || \ |
||
14087 | ((INSTANCE) == TIM5)) |
||
14088 | |||
14089 | #define IS_TIM_DMABURST_INSTANCE(INSTANCE)\ |
||
14090 | (((INSTANCE) == TIM1) || \ |
||
14091 | ((INSTANCE) == TIM2) || \ |
||
14092 | ((INSTANCE) == TIM3) || \ |
||
14093 | ((INSTANCE) == TIM4) || \ |
||
14094 | ((INSTANCE) == TIM5)) |
||
14095 | |||
14096 | #define IS_TIM_BREAK_INSTANCE(INSTANCE)\ |
||
14097 | ((INSTANCE) == TIM1) |
||
14098 | |||
14099 | #define IS_TIM_CCX_INSTANCE(INSTANCE, CHANNEL) \ |
||
14100 | ((((INSTANCE) == TIM1) && \ |
||
14101 | (((CHANNEL) == TIM_CHANNEL_1) || \ |
||
14102 | ((CHANNEL) == TIM_CHANNEL_2) || \ |
||
14103 | ((CHANNEL) == TIM_CHANNEL_3) || \ |
||
14104 | ((CHANNEL) == TIM_CHANNEL_4))) \ |
||
14105 | || \ |
||
14106 | (((INSTANCE) == TIM2) && \ |
||
14107 | (((CHANNEL) == TIM_CHANNEL_1) || \ |
||
14108 | ((CHANNEL) == TIM_CHANNEL_2) || \ |
||
14109 | ((CHANNEL) == TIM_CHANNEL_3) || \ |
||
14110 | ((CHANNEL) == TIM_CHANNEL_4))) \ |
||
14111 | || \ |
||
14112 | (((INSTANCE) == TIM3) && \ |
||
14113 | (((CHANNEL) == TIM_CHANNEL_1) || \ |
||
14114 | ((CHANNEL) == TIM_CHANNEL_2) || \ |
||
14115 | ((CHANNEL) == TIM_CHANNEL_3) || \ |
||
14116 | ((CHANNEL) == TIM_CHANNEL_4))) \ |
||
14117 | || \ |
||
14118 | (((INSTANCE) == TIM4) && \ |
||
14119 | (((CHANNEL) == TIM_CHANNEL_1) || \ |
||
14120 | ((CHANNEL) == TIM_CHANNEL_2) || \ |
||
14121 | ((CHANNEL) == TIM_CHANNEL_3) || \ |
||
14122 | ((CHANNEL) == TIM_CHANNEL_4))) \ |
||
14123 | || \ |
||
14124 | (((INSTANCE) == TIM5) && \ |
||
14125 | (((CHANNEL) == TIM_CHANNEL_1) || \ |
||
14126 | ((CHANNEL) == TIM_CHANNEL_2) || \ |
||
14127 | ((CHANNEL) == TIM_CHANNEL_3) || \ |
||
14128 | ((CHANNEL) == TIM_CHANNEL_4)))) |
||
14129 | |||
14130 | #define IS_TIM_CCXN_INSTANCE(INSTANCE, CHANNEL) \ |
||
14131 | (((INSTANCE) == TIM1) && \ |
||
14132 | (((CHANNEL) == TIM_CHANNEL_1) || \ |
||
14133 | ((CHANNEL) == TIM_CHANNEL_2) || \ |
||
14134 | ((CHANNEL) == TIM_CHANNEL_3))) |
||
14135 | |||
14136 | #define IS_TIM_COUNTER_MODE_SELECT_INSTANCE(INSTANCE)\ |
||
14137 | (((INSTANCE) == TIM1) || \ |
||
14138 | ((INSTANCE) == TIM2) || \ |
||
14139 | ((INSTANCE) == TIM3) || \ |
||
14140 | ((INSTANCE) == TIM4) || \ |
||
14141 | ((INSTANCE) == TIM5)) |
||
14142 | |||
14143 | #define IS_TIM_REPETITION_COUNTER_INSTANCE(INSTANCE)\ |
||
14144 | ((INSTANCE) == TIM1) |
||
14145 | |||
14146 | #define IS_TIM_CLOCK_DIVISION_INSTANCE(INSTANCE)\ |
||
14147 | (((INSTANCE) == TIM1) || \ |
||
14148 | ((INSTANCE) == TIM2) || \ |
||
14149 | ((INSTANCE) == TIM3) || \ |
||
14150 | ((INSTANCE) == TIM4) || \ |
||
14151 | ((INSTANCE) == TIM5)) |
||
14152 | |||
14153 | #define IS_TIM_DMA_INSTANCE(INSTANCE)\ |
||
14154 | (((INSTANCE) == TIM1) || \ |
||
14155 | ((INSTANCE) == TIM2) || \ |
||
14156 | ((INSTANCE) == TIM3) || \ |
||
14157 | ((INSTANCE) == TIM4) || \ |
||
14158 | ((INSTANCE) == TIM5) || \ |
||
14159 | ((INSTANCE) == TIM6) || \ |
||
14160 | ((INSTANCE) == TIM7)) |
||
14161 | |||
14162 | #define IS_TIM_DMA_CC_INSTANCE(INSTANCE)\ |
||
14163 | (((INSTANCE) == TIM1) || \ |
||
14164 | ((INSTANCE) == TIM2) || \ |
||
14165 | ((INSTANCE) == TIM3) || \ |
||
14166 | ((INSTANCE) == TIM4) || \ |
||
14167 | ((INSTANCE) == TIM5)) |
||
14168 | |||
14169 | #define IS_TIM_COMMUTATION_EVENT_INSTANCE(INSTANCE)\ |
||
14170 | ((INSTANCE) == TIM1) |
||
14171 | |||
14172 | #define IS_TIM_ETR_INSTANCE(INSTANCE) (((INSTANCE) == TIM1) || \ |
||
14173 | ((INSTANCE) == TIM2) || \ |
||
14174 | ((INSTANCE) == TIM3) || \ |
||
14175 | ((INSTANCE) == TIM4) || \ |
||
14176 | ((INSTANCE) == TIM5)) |
||
14177 | |||
14178 | #define IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(INSTANCE) (((INSTANCE) == TIM1) || \ |
||
14179 | ((INSTANCE) == TIM2) || \ |
||
14180 | ((INSTANCE) == TIM3) || \ |
||
14181 | ((INSTANCE) == TIM4) || \ |
||
14182 | ((INSTANCE) == TIM5)) |
||
14183 | |||
14184 | #define IS_TIM_32B_COUNTER_INSTANCE(INSTANCE) 0U |
||
14185 | |||
14186 | /****************************** END TIM Instances *****************************/ |
||
14187 | |||
14188 | |||
14189 | /******************** USART Instances : Synchronous mode **********************/ |
||
14190 | #define IS_USART_INSTANCE(INSTANCE) (((INSTANCE) == USART1) || \ |
||
14191 | ((INSTANCE) == USART2) || \ |
||
14192 | ((INSTANCE) == USART3)) |
||
14193 | |||
14194 | /******************** UART Instances : Asynchronous mode **********************/ |
||
14195 | #define IS_UART_INSTANCE(INSTANCE) (((INSTANCE) == USART1) || \ |
||
14196 | ((INSTANCE) == USART2) || \ |
||
14197 | ((INSTANCE) == USART3) || \ |
||
14198 | ((INSTANCE) == UART4) || \ |
||
14199 | ((INSTANCE) == UART5)) |
||
14200 | |||
14201 | /******************** UART Instances : Half-Duplex mode **********************/ |
||
14202 | #define IS_UART_HALFDUPLEX_INSTANCE(INSTANCE) (((INSTANCE) == USART1) || \ |
||
14203 | ((INSTANCE) == USART2) || \ |
||
14204 | ((INSTANCE) == USART3) || \ |
||
14205 | ((INSTANCE) == UART4) || \ |
||
14206 | ((INSTANCE) == UART5)) |
||
14207 | |||
14208 | /******************** UART Instances : LIN mode **********************/ |
||
14209 | #define IS_UART_LIN_INSTANCE(INSTANCE) (((INSTANCE) == USART1) || \ |
||
14210 | ((INSTANCE) == USART2) || \ |
||
14211 | ((INSTANCE) == USART3) || \ |
||
14212 | ((INSTANCE) == UART4) || \ |
||
14213 | ((INSTANCE) == UART5)) |
||
14214 | |||
14215 | /****************** UART Instances : Hardware Flow control ********************/ |
||
14216 | #define IS_UART_HWFLOW_INSTANCE(INSTANCE) (((INSTANCE) == USART1) || \ |
||
14217 | ((INSTANCE) == USART2) || \ |
||
14218 | ((INSTANCE) == USART3)) |
||
14219 | |||
14220 | /********************* UART Instances : Smard card mode ***********************/ |
||
14221 | #define IS_SMARTCARD_INSTANCE(INSTANCE) (((INSTANCE) == USART1) || \ |
||
14222 | ((INSTANCE) == USART2) || \ |
||
14223 | ((INSTANCE) == USART3)) |
||
14224 | |||
14225 | /*********************** UART Instances : IRDA mode ***************************/ |
||
14226 | #define IS_IRDA_INSTANCE(INSTANCE) (((INSTANCE) == USART1) || \ |
||
14227 | ((INSTANCE) == USART2) || \ |
||
14228 | ((INSTANCE) == USART3) || \ |
||
14229 | ((INSTANCE) == UART4) || \ |
||
14230 | ((INSTANCE) == UART5)) |
||
14231 | |||
14232 | /***************** UART Instances : Multi-Processor mode **********************/ |
||
14233 | #define IS_UART_MULTIPROCESSOR_INSTANCE(INSTANCE) (((INSTANCE) == USART1) || \ |
||
14234 | ((INSTANCE) == USART2) || \ |
||
14235 | ((INSTANCE) == USART3) || \ |
||
14236 | ((INSTANCE) == UART4) || \ |
||
14237 | ((INSTANCE) == UART5)) |
||
14238 | |||
14239 | /***************** UART Instances : DMA mode available **********************/ |
||
14240 | #define IS_UART_DMA_INSTANCE(INSTANCE) (((INSTANCE) == USART1) || \ |
||
14241 | ((INSTANCE) == USART2) || \ |
||
14242 | ((INSTANCE) == USART3) || \ |
||
14243 | ((INSTANCE) == UART4)) |
||
14244 | |||
14245 | /****************************** RTC Instances *********************************/ |
||
14246 | #define IS_RTC_ALL_INSTANCE(INSTANCE) ((INSTANCE) == RTC) |
||
14247 | |||
14248 | /**************************** WWDG Instances *****************************/ |
||
14249 | #define IS_WWDG_ALL_INSTANCE(INSTANCE) ((INSTANCE) == WWDG) |
||
14250 | |||
14251 | |||
9 | mjames | 14252 | /*********************** PCD Instances ****************************************/ |
14253 | #define IS_PCD_ALL_INSTANCE(INSTANCE) ((INSTANCE) == USB_OTG_FS) |
||
2 | mjames | 14254 | |
9 | mjames | 14255 | /*********************** HCD Instances ****************************************/ |
14256 | #define IS_HCD_ALL_INSTANCE(INSTANCE) ((INSTANCE) == USB_OTG_FS) |
||
2 | mjames | 14257 | |
9 | mjames | 14258 | |
2 | mjames | 14259 | #define RCC_HSE_MIN 3000000U |
14260 | #define RCC_HSE_MAX 25000000U |
||
14261 | |||
14262 | #define RCC_MAX_FREQUENCY 72000000U |
||
14263 | |||
14264 | /** |
||
14265 | * @} |
||
14266 | */ |
||
14267 | /******************************************************************************/ |
||
14268 | /* For a painless codes migration between the STM32F1xx device product */ |
||
14269 | /* lines, the aliases defined below are put in place to overcome the */ |
||
14270 | /* differences in the interrupt handlers and IRQn definitions. */ |
||
14271 | /* No need to update developed interrupt code when moving across */ |
||
14272 | /* product lines within the same STM32F1 Family */ |
||
14273 | /******************************************************************************/ |
||
14274 | |||
14275 | /* Aliases for __IRQn */ |
||
14276 | #define ADC1_IRQn ADC1_2_IRQn |
||
9 | mjames | 14277 | #define USB_LP_IRQn CAN1_RX0_IRQn |
2 | mjames | 14278 | #define USB_LP_CAN1_RX0_IRQn CAN1_RX0_IRQn |
9 | mjames | 14279 | #define USB_HP_IRQn CAN1_TX_IRQn |
2 | mjames | 14280 | #define USB_HP_CAN1_TX_IRQn CAN1_TX_IRQn |
14281 | #define DMA2_Channel4_5_IRQn DMA2_Channel4_IRQn |
||
14282 | #define USBWakeUp_IRQn OTG_FS_WKUP_IRQn |
||
14283 | #define CEC_IRQn OTG_FS_WKUP_IRQn |
||
14284 | #define TIM1_BRK_TIM9_IRQn TIM1_BRK_IRQn |
||
14285 | #define TIM1_BRK_TIM15_IRQn TIM1_BRK_IRQn |
||
14286 | #define TIM9_IRQn TIM1_BRK_IRQn |
||
14287 | #define TIM11_IRQn TIM1_TRG_COM_IRQn |
||
9 | mjames | 14288 | #define TIM1_TRG_COM_TIM17_IRQn TIM1_TRG_COM_IRQn |
2 | mjames | 14289 | #define TIM1_TRG_COM_TIM11_IRQn TIM1_TRG_COM_IRQn |
14290 | #define TIM1_UP_TIM16_IRQn TIM1_UP_IRQn |
||
14291 | #define TIM1_UP_TIM10_IRQn TIM1_UP_IRQn |
||
9 | mjames | 14292 | #define TIM10_IRQn TIM1_UP_IRQn |
2 | mjames | 14293 | #define TIM6_DAC_IRQn TIM6_IRQn |
14294 | |||
14295 | |||
14296 | /* Aliases for __IRQHandler */ |
||
14297 | #define ADC1_IRQHandler ADC1_2_IRQHandler |
||
9 | mjames | 14298 | #define USB_LP_IRQHandler CAN1_RX0_IRQHandler |
2 | mjames | 14299 | #define USB_LP_CAN1_RX0_IRQHandler CAN1_RX0_IRQHandler |
9 | mjames | 14300 | #define USB_HP_IRQHandler CAN1_TX_IRQHandler |
2 | mjames | 14301 | #define USB_HP_CAN1_TX_IRQHandler CAN1_TX_IRQHandler |
14302 | #define DMA2_Channel4_5_IRQHandler DMA2_Channel4_IRQHandler |
||
14303 | #define USBWakeUp_IRQHandler OTG_FS_WKUP_IRQHandler |
||
14304 | #define CEC_IRQHandler OTG_FS_WKUP_IRQHandler |
||
14305 | #define TIM1_BRK_TIM9_IRQHandler TIM1_BRK_IRQHandler |
||
14306 | #define TIM1_BRK_TIM15_IRQHandler TIM1_BRK_IRQHandler |
||
14307 | #define TIM9_IRQHandler TIM1_BRK_IRQHandler |
||
14308 | #define TIM11_IRQHandler TIM1_TRG_COM_IRQHandler |
||
9 | mjames | 14309 | #define TIM1_TRG_COM_TIM17_IRQHandler TIM1_TRG_COM_IRQHandler |
2 | mjames | 14310 | #define TIM1_TRG_COM_TIM11_IRQHandler TIM1_TRG_COM_IRQHandler |
14311 | #define TIM1_UP_TIM16_IRQHandler TIM1_UP_IRQHandler |
||
14312 | #define TIM1_UP_TIM10_IRQHandler TIM1_UP_IRQHandler |
||
9 | mjames | 14313 | #define TIM10_IRQHandler TIM1_UP_IRQHandler |
2 | mjames | 14314 | #define TIM6_DAC_IRQHandler TIM6_IRQHandler |
14315 | |||
9 | mjames | 14316 | |
2 | mjames | 14317 | /** |
14318 | * @} |
||
14319 | */ |
||
14320 | |||
14321 | /** |
||
14322 | * @} |
||
14323 | */ |
||
14324 | |||
14325 | |||
14326 | #ifdef __cplusplus |
||
14327 | } |
||
14328 | #endif /* __cplusplus */ |
||
14329 | |||
14330 | #endif /* __STM32F105xC_H */ |
||
14331 | |||
14332 | |||
14333 | |||
14334 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |