mikroSDK Reference Manual
stm32f746xx.h
Go to the documentation of this file.
1
34#ifndef __STM32F746xx_H
35#define __STM32F746xx_H
36
37#ifdef __cplusplus
38 extern "C" {
39#endif /* __cplusplus */
40
49typedef enum
50{
51/****** Cortex-M7 Processor Exceptions Numbers ****************************************************************/
60/****** STM32 specific Interrupt Numbers **********************************************************************/
79 ADC_IRQn = 18,
89 TIM2_IRQn = 28,
90 TIM3_IRQn = 29,
91 TIM4_IRQn = 30,
96 SPI1_IRQn = 35,
97 SPI2_IRQn = 36,
109 FMC_IRQn = 48,
122 ETH_IRQn = 61,
140 RNG_IRQn = 80,
141 FPU_IRQn = 81,
154 CEC_IRQn = 94,
158} IRQn_Type;
159
167#define __CM7_REV 0x0001U
168#define __MPU_PRESENT 1
169#define __NVIC_PRIO_BITS 4
170#define __Vendor_SysTickConfig 0
171#define __FPU_PRESENT 1
172#define __ICACHE_PRESENT 1
173#define __DCACHE_PRESENT 1
174#include "core_cm7.h"
177#include "system_stm32f7xx.h"
178#include <stdint.h>
179
188typedef struct
189{
190 __IO uint32_t SR;
191 __IO uint32_t CR1;
192 __IO uint32_t CR2;
193 __IO uint32_t SMPR1;
194 __IO uint32_t SMPR2;
195 __IO uint32_t JOFR1;
196 __IO uint32_t JOFR2;
197 __IO uint32_t JOFR3;
198 __IO uint32_t JOFR4;
199 __IO uint32_t HTR;
200 __IO uint32_t LTR;
201 __IO uint32_t SQR1;
202 __IO uint32_t SQR2;
203 __IO uint32_t SQR3;
204 __IO uint32_t JSQR;
205 __IO uint32_t JDR1;
206 __IO uint32_t JDR2;
207 __IO uint32_t JDR3;
208 __IO uint32_t JDR4;
209 __IO uint32_t DR;
211
212typedef struct
213{
214 __IO uint32_t CSR;
215 __IO uint32_t CCR;
216 __IO uint32_t CDR;
219
220
225typedef struct
226{
227 __IO uint32_t TIR;
228 __IO uint32_t TDTR;
229 __IO uint32_t TDLR;
230 __IO uint32_t TDHR;
232
237typedef struct
238{
239 __IO uint32_t RIR;
240 __IO uint32_t RDTR;
241 __IO uint32_t RDLR;
242 __IO uint32_t RDHR;
244
249typedef struct
250{
251 __IO uint32_t FR1;
252 __IO uint32_t FR2;
254
259typedef struct
260{
261 __IO uint32_t MCR;
262 __IO uint32_t MSR;
263 __IO uint32_t TSR;
264 __IO uint32_t RF0R;
265 __IO uint32_t RF1R;
266 __IO uint32_t IER;
267 __IO uint32_t ESR;
268 __IO uint32_t BTR;
269 uint32_t RESERVED0[88];
270 CAN_TxMailBox_TypeDef sTxMailBox[3];
271 CAN_FIFOMailBox_TypeDef sFIFOMailBox[2];
272 uint32_t RESERVED1[12];
273 __IO uint32_t FMR;
274 __IO uint32_t FM1R;
275 uint32_t RESERVED2;
276 __IO uint32_t FS1R;
277 uint32_t RESERVED3;
278 __IO uint32_t FFA1R;
279 uint32_t RESERVED4;
280 __IO uint32_t FA1R;
281 uint32_t RESERVED5[8];
282 CAN_FilterRegister_TypeDef sFilterRegister[28];
284
289typedef struct
290{
291 __IO uint32_t CR;
292 __IO uint32_t CFGR;
293 __IO uint32_t TXDR;
294 __IO uint32_t RXDR;
295 __IO uint32_t ISR;
296 __IO uint32_t IER;
298
303typedef struct
304{
305 __IO uint32_t DR;
306 __IO uint8_t IDR;
307 uint8_t RESERVED0;
308 uint16_t RESERVED1;
309 __IO uint32_t CR;
310 uint32_t RESERVED2;
311 __IO uint32_t INIT;
312 __IO uint32_t POL;
314
319typedef struct
320{
321 __IO uint32_t CR;
322 __IO uint32_t SWTRIGR;
323 __IO uint32_t DHR12R1;
324 __IO uint32_t DHR12L1;
325 __IO uint32_t DHR8R1;
326 __IO uint32_t DHR12R2;
327 __IO uint32_t DHR12L2;
328 __IO uint32_t DHR8R2;
329 __IO uint32_t DHR12RD;
330 __IO uint32_t DHR12LD;
331 __IO uint32_t DHR8RD;
332 __IO uint32_t DOR1;
333 __IO uint32_t DOR2;
334 __IO uint32_t SR;
336
337
342typedef struct
343{
344 __IO uint32_t IDCODE;
345 __IO uint32_t CR;
346 __IO uint32_t APB1FZ;
347 __IO uint32_t APB2FZ;
349
354typedef struct
355{
356 __IO uint32_t CR;
357 __IO uint32_t SR;
358 __IO uint32_t RISR;
359 __IO uint32_t IER;
360 __IO uint32_t MISR;
361 __IO uint32_t ICR;
362 __IO uint32_t ESCR;
363 __IO uint32_t ESUR;
364 __IO uint32_t CWSTRTR;
365 __IO uint32_t CWSIZER;
366 __IO uint32_t DR;
368
373typedef struct
374{
375 __IO uint32_t CR;
376 __IO uint32_t NDTR;
377 __IO uint32_t PAR;
378 __IO uint32_t M0AR;
379 __IO uint32_t M1AR;
380 __IO uint32_t FCR;
382
383typedef struct
384{
385 __IO uint32_t LISR;
386 __IO uint32_t HISR;
387 __IO uint32_t LIFCR;
388 __IO uint32_t HIFCR;
390
395typedef struct
396{
397 __IO uint32_t CR;
398 __IO uint32_t ISR;
399 __IO uint32_t IFCR;
400 __IO uint32_t FGMAR;
401 __IO uint32_t FGOR;
402 __IO uint32_t BGMAR;
403 __IO uint32_t BGOR;
404 __IO uint32_t FGPFCCR;
405 __IO uint32_t FGCOLR;
406 __IO uint32_t BGPFCCR;
407 __IO uint32_t BGCOLR;
408 __IO uint32_t FGCMAR;
409 __IO uint32_t BGCMAR;
410 __IO uint32_t OPFCCR;
411 __IO uint32_t OCOLR;
412 __IO uint32_t OMAR;
413 __IO uint32_t OOR;
414 __IO uint32_t NLR;
415 __IO uint32_t LWR;
416 __IO uint32_t AMTCR;
417 uint32_t RESERVED[236];
418 __IO uint32_t FGCLUT[256];
419 __IO uint32_t BGCLUT[256];
421
422
427typedef struct
428{
429 __IO uint32_t MACCR;
430 __IO uint32_t MACFFR;
431 __IO uint32_t MACHTHR;
432 __IO uint32_t MACHTLR;
433 __IO uint32_t MACMIIAR;
434 __IO uint32_t MACMIIDR;
435 __IO uint32_t MACFCR;
436 __IO uint32_t MACVLANTR; /* 8 */
437 uint32_t RESERVED0[2];
438 __IO uint32_t MACRWUFFR; /* 11 */
439 __IO uint32_t MACPMTCSR;
440 uint32_t RESERVED1;
441 __IO uint32_t MACDBGR;
442 __IO uint32_t MACSR; /* 15 */
443 __IO uint32_t MACIMR;
444 __IO uint32_t MACA0HR;
445 __IO uint32_t MACA0LR;
446 __IO uint32_t MACA1HR;
447 __IO uint32_t MACA1LR;
448 __IO uint32_t MACA2HR;
449 __IO uint32_t MACA2LR;
450 __IO uint32_t MACA3HR;
451 __IO uint32_t MACA3LR; /* 24 */
452 uint32_t RESERVED2[40];
453 __IO uint32_t MMCCR; /* 65 */
454 __IO uint32_t MMCRIR;
455 __IO uint32_t MMCTIR;
456 __IO uint32_t MMCRIMR;
457 __IO uint32_t MMCTIMR; /* 69 */
458 uint32_t RESERVED3[14];
459 __IO uint32_t MMCTGFSCCR; /* 84 */
460 __IO uint32_t MMCTGFMSCCR;
461 uint32_t RESERVED4[5];
462 __IO uint32_t MMCTGFCR;
463 uint32_t RESERVED5[10];
464 __IO uint32_t MMCRFCECR;
465 __IO uint32_t MMCRFAECR;
466 uint32_t RESERVED6[10];
467 __IO uint32_t MMCRGUFCR;
468 uint32_t RESERVED7[334];
469 __IO uint32_t PTPTSCR;
470 __IO uint32_t PTPSSIR;
471 __IO uint32_t PTPTSHR;
472 __IO uint32_t PTPTSLR;
473 __IO uint32_t PTPTSHUR;
474 __IO uint32_t PTPTSLUR;
475 __IO uint32_t PTPTSAR;
476 __IO uint32_t PTPTTHR;
477 __IO uint32_t PTPTTLR;
478 __IO uint32_t RESERVED8;
479 __IO uint32_t PTPTSSR;
480 __IO uint32_t PTPPPSCR;
481 uint32_t RESERVED9[564];
482 __IO uint32_t DMABMR;
483 __IO uint32_t DMATPDR;
484 __IO uint32_t DMARPDR;
485 __IO uint32_t DMARDLAR;
486 __IO uint32_t DMATDLAR;
487 __IO uint32_t DMASR;
488 __IO uint32_t DMAOMR;
489 __IO uint32_t DMAIER;
490 __IO uint32_t DMAMFBOCR;
491 __IO uint32_t DMARSWTR;
492 uint32_t RESERVED10[8];
493 __IO uint32_t DMACHTDR;
494 __IO uint32_t DMACHRDR;
495 __IO uint32_t DMACHTBAR;
496 __IO uint32_t DMACHRBAR;
498
503typedef struct
504{
505 __IO uint32_t IMR;
506 __IO uint32_t EMR;
507 __IO uint32_t RTSR;
508 __IO uint32_t FTSR;
509 __IO uint32_t SWIER;
510 __IO uint32_t PR;
512
517typedef struct
518{
519 __IO uint32_t ACR;
520 __IO uint32_t KEYR;
521 __IO uint32_t OPTKEYR;
522 __IO uint32_t SR;
523 __IO uint32_t CR;
524 __IO uint32_t OPTCR;
525 __IO uint32_t OPTCR1;
527
528
529
534typedef struct
535{
536 __IO uint32_t BTCR[8];
538
543typedef struct
544{
545 __IO uint32_t BWTR[7];
547
552typedef struct
553{
554 __IO uint32_t PCR;
555 __IO uint32_t SR;
556 __IO uint32_t PMEM;
557 __IO uint32_t PATT;
558 uint32_t RESERVED0;
559 __IO uint32_t ECCR;
561
566typedef struct
567{
568 __IO uint32_t SDCR[2];
569 __IO uint32_t SDTR[2];
570 __IO uint32_t SDCMR;
571 __IO uint32_t SDRTR;
572 __IO uint32_t SDSR;
574
575
580typedef struct
581{
582 __IO uint32_t MODER;
583 __IO uint32_t OTYPER;
584 __IO uint32_t OSPEEDR;
585 __IO uint32_t PUPDR;
586 __IO uint32_t IDR;
587 __IO uint32_t ODR;
588 __IO uint32_t BSRR;
589 __IO uint32_t LCKR;
590 __IO uint32_t AFR[2];
592
597typedef struct
598{
599 __IO uint32_t MEMRMP;
600 __IO uint32_t PMC;
601 __IO uint32_t EXTICR[4];
602 uint32_t RESERVED[2];
603 __IO uint32_t CMPCR;
605
610typedef struct
611{
612 __IO uint32_t CR1;
613 __IO uint32_t CR2;
614 __IO uint32_t OAR1;
615 __IO uint32_t OAR2;
616 __IO uint32_t TIMINGR;
617 __IO uint32_t TIMEOUTR;
618 __IO uint32_t ISR;
619 __IO uint32_t ICR;
620 __IO uint32_t PECR;
621 __IO uint32_t RXDR;
622 __IO uint32_t TXDR;
624
629typedef struct
630{
631 __IO uint32_t KR;
632 __IO uint32_t PR;
633 __IO uint32_t RLR;
634 __IO uint32_t SR;
635 __IO uint32_t WINR;
637
638
643typedef struct
644{
645 uint32_t RESERVED0[2];
646 __IO uint32_t SSCR;
647 __IO uint32_t BPCR;
648 __IO uint32_t AWCR;
649 __IO uint32_t TWCR;
650 __IO uint32_t GCR;
651 uint32_t RESERVED1[2];
652 __IO uint32_t SRCR;
653 uint32_t RESERVED2[1];
654 __IO uint32_t BCCR;
655 uint32_t RESERVED3[1];
656 __IO uint32_t IER;
657 __IO uint32_t ISR;
658 __IO uint32_t ICR;
659 __IO uint32_t LIPCR;
660 __IO uint32_t CPSR;
661 __IO uint32_t CDSR;
663
668typedef struct
669{
670 __IO uint32_t CR;
671 __IO uint32_t WHPCR;
672 __IO uint32_t WVPCR;
673 __IO uint32_t CKCR;
674 __IO uint32_t PFCR;
675 __IO uint32_t CACR;
676 __IO uint32_t DCCR;
677 __IO uint32_t BFCR;
678 uint32_t RESERVED0[2];
679 __IO uint32_t CFBAR;
680 __IO uint32_t CFBLR;
681 __IO uint32_t CFBLNR;
682 uint32_t RESERVED1[3];
683 __IO uint32_t CLUTWR;
686
691typedef struct
692{
693 __IO uint32_t CR1;
694 __IO uint32_t CSR1;
695 __IO uint32_t CR2;
696 __IO uint32_t CSR2;
698
699
704typedef struct
705{
706 __IO uint32_t CR;
707 __IO uint32_t PLLCFGR;
708 __IO uint32_t CFGR;
709 __IO uint32_t CIR;
710 __IO uint32_t AHB1RSTR;
711 __IO uint32_t AHB2RSTR;
712 __IO uint32_t AHB3RSTR;
713 uint32_t RESERVED0;
714 __IO uint32_t APB1RSTR;
715 __IO uint32_t APB2RSTR;
716 uint32_t RESERVED1[2];
717 __IO uint32_t AHB1ENR;
718 __IO uint32_t AHB2ENR;
719 __IO uint32_t AHB3ENR;
720 uint32_t RESERVED2;
721 __IO uint32_t APB1ENR;
722 __IO uint32_t APB2ENR;
723 uint32_t RESERVED3[2];
724 __IO uint32_t AHB1LPENR;
725 __IO uint32_t AHB2LPENR;
726 __IO uint32_t AHB3LPENR;
727 uint32_t RESERVED4;
728 __IO uint32_t APB1LPENR;
729 __IO uint32_t APB2LPENR;
730 uint32_t RESERVED5[2];
731 __IO uint32_t BDCR;
732 __IO uint32_t CSR;
733 uint32_t RESERVED6[2];
734 __IO uint32_t SSCGR;
735 __IO uint32_t PLLI2SCFGR;
736 __IO uint32_t PLLSAICFGR;
737 __IO uint32_t DCKCFGR1;
738 __IO uint32_t DCKCFGR2;
741
746typedef struct
747{
748 __IO uint32_t TR;
749 __IO uint32_t DR;
750 __IO uint32_t CR;
751 __IO uint32_t ISR;
752 __IO uint32_t PRER;
753 __IO uint32_t WUTR;
754 uint32_t reserved;
755 __IO uint32_t ALRMAR;
756 __IO uint32_t ALRMBR;
757 __IO uint32_t WPR;
758 __IO uint32_t SSR;
759 __IO uint32_t SHIFTR;
760 __IO uint32_t TSTR;
761 __IO uint32_t TSDR;
762 __IO uint32_t TSSSR;
763 __IO uint32_t CALR;
764 __IO uint32_t TAMPCR;
765 __IO uint32_t ALRMASSR;
766 __IO uint32_t ALRMBSSR;
767 __IO uint32_t OR;
768 __IO uint32_t BKP0R;
769 __IO uint32_t BKP1R;
770 __IO uint32_t BKP2R;
771 __IO uint32_t BKP3R;
772 __IO uint32_t BKP4R;
773 __IO uint32_t BKP5R;
774 __IO uint32_t BKP6R;
775 __IO uint32_t BKP7R;
776 __IO uint32_t BKP8R;
777 __IO uint32_t BKP9R;
778 __IO uint32_t BKP10R;
779 __IO uint32_t BKP11R;
780 __IO uint32_t BKP12R;
781 __IO uint32_t BKP13R;
782 __IO uint32_t BKP14R;
783 __IO uint32_t BKP15R;
784 __IO uint32_t BKP16R;
785 __IO uint32_t BKP17R;
786 __IO uint32_t BKP18R;
787 __IO uint32_t BKP19R;
788 __IO uint32_t BKP20R;
789 __IO uint32_t BKP21R;
790 __IO uint32_t BKP22R;
791 __IO uint32_t BKP23R;
792 __IO uint32_t BKP24R;
793 __IO uint32_t BKP25R;
794 __IO uint32_t BKP26R;
795 __IO uint32_t BKP27R;
796 __IO uint32_t BKP28R;
797 __IO uint32_t BKP29R;
798 __IO uint32_t BKP30R;
799 __IO uint32_t BKP31R;
801
802
807typedef struct
808{
809 __IO uint32_t GCR;
811
812typedef struct
813{
814 __IO uint32_t CR1;
815 __IO uint32_t CR2;
816 __IO uint32_t FRCR;
817 __IO uint32_t SLOTR;
818 __IO uint32_t IMR;
819 __IO uint32_t SR;
820 __IO uint32_t CLRFR;
821 __IO uint32_t DR;
823
828typedef struct
829{
830 __IO uint32_t CR;
831 __IO uint32_t IMR;
832 __IO uint32_t SR;
833 __IO uint32_t IFCR;
834 __IO uint32_t DR;
835 __IO uint32_t CSR;
836 __IO uint32_t DIR;
838
843typedef struct
844{
845 __IO uint32_t POWER;
846 __IO uint32_t CLKCR;
847 __IO uint32_t ARG;
848 __IO uint32_t CMD;
849 __I uint32_t RESPCMD;
850 __I uint32_t RESP1;
851 __I uint32_t RESP2;
852 __I uint32_t RESP3;
853 __I uint32_t RESP4;
854 __IO uint32_t DTIMER;
855 __IO uint32_t DLEN;
856 __IO uint32_t DCTRL;
857 __I uint32_t DCOUNT;
858 __I uint32_t STA;
859 __IO uint32_t ICR;
860 __IO uint32_t MASK;
861 uint32_t RESERVED0[2];
862 __I uint32_t FIFOCNT;
863 uint32_t RESERVED1[13];
864 __IO uint32_t FIFO;
866
871typedef struct
872{
873 __IO uint32_t CR1;
874 __IO uint32_t CR2;
875 __IO uint32_t SR;
876 __IO uint32_t DR;
877 __IO uint32_t CRCPR;
878 __IO uint32_t RXCRCR;
879 __IO uint32_t TXCRCR;
880 __IO uint32_t I2SCFGR;
881 __IO uint32_t I2SPR;
883
888typedef struct
889{
890 __IO uint32_t CR;
891 __IO uint32_t DCR;
892 __IO uint32_t SR;
893 __IO uint32_t FCR;
894 __IO uint32_t DLR;
895 __IO uint32_t CCR;
896 __IO uint32_t AR;
897 __IO uint32_t ABR;
898 __IO uint32_t DR;
899 __IO uint32_t PSMKR;
900 __IO uint32_t PSMAR;
901 __IO uint32_t PIR;
902 __IO uint32_t LPTR;
904
909typedef struct
910{
911 __IO uint32_t CR1;
912 __IO uint32_t CR2;
913 __IO uint32_t SMCR;
914 __IO uint32_t DIER;
915 __IO uint32_t SR;
916 __IO uint32_t EGR;
917 __IO uint32_t CCMR1;
918 __IO uint32_t CCMR2;
919 __IO uint32_t CCER;
920 __IO uint32_t CNT;
921 __IO uint32_t PSC;
922 __IO uint32_t ARR;
923 __IO uint32_t RCR;
924 __IO uint32_t CCR1;
925 __IO uint32_t CCR2;
926 __IO uint32_t CCR3;
927 __IO uint32_t CCR4;
928 __IO uint32_t BDTR;
929 __IO uint32_t DCR;
930 __IO uint32_t DMAR;
931 __IO uint32_t OR;
932 __IO uint32_t CCMR3;
933 __IO uint32_t CCR5;
934 __IO uint32_t CCR6;
937
941typedef struct
942{
943 __IO uint32_t ISR;
944 __IO uint32_t ICR;
945 __IO uint32_t IER;
946 __IO uint32_t CFGR;
947 __IO uint32_t CR;
948 __IO uint32_t CMP;
949 __IO uint32_t ARR;
950 __IO uint32_t CNT;
952
953
958typedef struct
959{
960 __IO uint32_t CR1;
961 __IO uint32_t CR2;
962 __IO uint32_t CR3;
963 __IO uint32_t BRR;
964 __IO uint32_t GTPR;
965 __IO uint32_t RTOR;
966 __IO uint32_t RQR;
967 __IO uint32_t ISR;
968 __IO uint32_t ICR;
969 __IO uint32_t RDR;
970 __IO uint32_t TDR;
972
973
978typedef struct
979{
980 __IO uint32_t CR;
981 __IO uint32_t CFR;
982 __IO uint32_t SR;
984
985
990typedef struct
991{
992 __IO uint32_t CR;
993 __IO uint32_t SR;
994 __IO uint32_t DR;
996
1004typedef struct
1005{
1006 __IO uint32_t GOTGCTL;
1007 __IO uint32_t GOTGINT;
1008 __IO uint32_t GAHBCFG;
1009 __IO uint32_t GUSBCFG;
1010 __IO uint32_t GRSTCTL;
1011 __IO uint32_t GINTSTS;
1012 __IO uint32_t GINTMSK;
1013 __IO uint32_t GRXSTSR;
1014 __IO uint32_t GRXSTSP;
1015 __IO uint32_t GRXFSIZ;
1016 __IO uint32_t DIEPTXF0_HNPTXFSIZ;
1017 __IO uint32_t HNPTXSTS;
1018 uint32_t Reserved30[2];
1019 __IO uint32_t GCCFG;
1020 __IO uint32_t CID;
1021 uint32_t Reserved5[3];
1022 __IO uint32_t GHWCFG3;
1023 uint32_t Reserved6;
1024 __IO uint32_t GLPMCFG;
1025 uint32_t Reserved7;
1026 __IO uint32_t GDFIFOCFG;
1027 uint32_t Reserved43[40];
1028 __IO uint32_t HPTXFSIZ;
1029 __IO uint32_t DIEPTXF[0x0F];
1031
1032
1036typedef struct
1037{
1038 __IO uint32_t DCFG;
1039 __IO uint32_t DCTL;
1040 __IO uint32_t DSTS;
1041 uint32_t Reserved0C;
1042 __IO uint32_t DIEPMSK;
1043 __IO uint32_t DOEPMSK;
1044 __IO uint32_t DAINT;
1045 __IO uint32_t DAINTMSK;
1046 uint32_t Reserved20;
1047 uint32_t Reserved9;
1048 __IO uint32_t DVBUSDIS;
1049 __IO uint32_t DVBUSPULSE;
1050 __IO uint32_t DTHRCTL;
1051 __IO uint32_t DIEPEMPMSK;
1052 __IO uint32_t DEACHINT;
1053 __IO uint32_t DEACHMSK;
1054 uint32_t Reserved40;
1055 __IO uint32_t DINEP1MSK;
1056 uint32_t Reserved44[15];
1057 __IO uint32_t DOUTEP1MSK;
1059
1060
1064typedef struct
1065{
1066 __IO uint32_t DIEPCTL;
1067 uint32_t Reserved04;
1068 __IO uint32_t DIEPINT;
1069 uint32_t Reserved0C;
1070 __IO uint32_t DIEPTSIZ;
1071 __IO uint32_t DIEPDMA;
1072 __IO uint32_t DTXFSTS;
1073 uint32_t Reserved18;
1075
1076
1080typedef struct
1081{
1082 __IO uint32_t DOEPCTL;
1083 uint32_t Reserved04;
1084 __IO uint32_t DOEPINT;
1085 uint32_t Reserved0C;
1086 __IO uint32_t DOEPTSIZ;
1087 __IO uint32_t DOEPDMA;
1088 uint32_t Reserved18[2];
1090
1091
1095typedef struct
1096{
1097 __IO uint32_t HCFG;
1098 __IO uint32_t HFIR;
1099 __IO uint32_t HFNUM;
1100 uint32_t Reserved40C;
1101 __IO uint32_t HPTXSTS;
1102 __IO uint32_t HAINT;
1103 __IO uint32_t HAINTMSK;
1105
1109typedef struct
1110{
1111 __IO uint32_t HCCHAR;
1112 __IO uint32_t HCSPLT;
1113 __IO uint32_t HCINT;
1114 __IO uint32_t HCINTMSK;
1115 __IO uint32_t HCTSIZ;
1116 __IO uint32_t HCDMA;
1117 uint32_t Reserved[2];
1129#define RAMITCM_BASE 0x00000000UL
1130#define FLASHITCM_BASE 0x00200000UL
1131#define FLASHAXI_BASE 0x08000000UL
1132#define RAMDTCM_BASE 0x20000000UL
1133#define PERIPH_BASE 0x40000000UL
1134#define BKPSRAM_BASE 0x40024000UL
1135#define QSPI_BASE 0x90000000UL
1136#define FMC_R_BASE 0xA0000000UL
1137#define QSPI_R_BASE 0xA0001000UL
1138#define SRAM1_BASE 0x20010000UL
1139#define SRAM2_BASE 0x2004C000UL
1140#define FLASH_END 0x080FFFFFUL
1141#define FLASH_OTP_BASE 0x1FF0F000UL
1142#define FLASH_OTP_END 0x1FF0F41FUL
1144/* Legacy define */
1145#define FLASH_BASE FLASHAXI_BASE
1146
1148#define APB1PERIPH_BASE PERIPH_BASE
1149#define APB2PERIPH_BASE (PERIPH_BASE + 0x00010000UL)
1150#define AHB1PERIPH_BASE (PERIPH_BASE + 0x00020000UL)
1151#define AHB2PERIPH_BASE (PERIPH_BASE + 0x10000000UL)
1152
1154#define TIM2_BASE (APB1PERIPH_BASE + 0x0000UL)
1155#define TIM3_BASE (APB1PERIPH_BASE + 0x0400UL)
1156#define TIM4_BASE (APB1PERIPH_BASE + 0x0800UL)
1157#define TIM5_BASE (APB1PERIPH_BASE + 0x0C00UL)
1158#define TIM6_BASE (APB1PERIPH_BASE + 0x1000UL)
1159#define TIM7_BASE (APB1PERIPH_BASE + 0x1400UL)
1160#define TIM12_BASE (APB1PERIPH_BASE + 0x1800UL)
1161#define TIM13_BASE (APB1PERIPH_BASE + 0x1C00UL)
1162#define TIM14_BASE (APB1PERIPH_BASE + 0x2000UL)
1163#define LPTIM1_BASE (APB1PERIPH_BASE + 0x2400UL)
1164#define RTC_BASE (APB1PERIPH_BASE + 0x2800UL)
1165#define WWDG_BASE (APB1PERIPH_BASE + 0x2C00UL)
1166#define IWDG_BASE (APB1PERIPH_BASE + 0x3000UL)
1167#define SPI2_BASE (APB1PERIPH_BASE + 0x3800UL)
1168#define SPI3_BASE (APB1PERIPH_BASE + 0x3C00UL)
1169#define SPDIFRX_BASE (APB1PERIPH_BASE + 0x4000UL)
1170#define USART2_BASE (APB1PERIPH_BASE + 0x4400UL)
1171#define USART3_BASE (APB1PERIPH_BASE + 0x4800UL)
1172#define UART4_BASE (APB1PERIPH_BASE + 0x4C00UL)
1173#define UART5_BASE (APB1PERIPH_BASE + 0x5000UL)
1174#define I2C1_BASE (APB1PERIPH_BASE + 0x5400UL)
1175#define I2C2_BASE (APB1PERIPH_BASE + 0x5800UL)
1176#define I2C3_BASE (APB1PERIPH_BASE + 0x5C00UL)
1177#define I2C4_BASE (APB1PERIPH_BASE + 0x6000UL)
1178#define CAN1_BASE (APB1PERIPH_BASE + 0x6400UL)
1179#define CAN2_BASE (APB1PERIPH_BASE + 0x6800UL)
1180#define CEC_BASE (APB1PERIPH_BASE + 0x6C00UL)
1181#define PWR_BASE (APB1PERIPH_BASE + 0x7000UL)
1182#define DAC_BASE (APB1PERIPH_BASE + 0x7400UL)
1183#define UART7_BASE (APB1PERIPH_BASE + 0x7800UL)
1184#define UART8_BASE (APB1PERIPH_BASE + 0x7C00UL)
1185
1187#define TIM1_BASE (APB2PERIPH_BASE + 0x0000UL)
1188#define TIM8_BASE (APB2PERIPH_BASE + 0x0400UL)
1189#define USART1_BASE (APB2PERIPH_BASE + 0x1000UL)
1190#define USART6_BASE (APB2PERIPH_BASE + 0x1400UL)
1191#define ADC1_BASE (APB2PERIPH_BASE + 0x2000UL)
1192#define ADC2_BASE (APB2PERIPH_BASE + 0x2100UL)
1193#define ADC3_BASE (APB2PERIPH_BASE + 0x2200UL)
1194#define ADC_BASE (APB2PERIPH_BASE + 0x2300UL)
1195#define SDMMC1_BASE (APB2PERIPH_BASE + 0x2C00UL)
1196#define SPI1_BASE (APB2PERIPH_BASE + 0x3000UL)
1197#define SPI4_BASE (APB2PERIPH_BASE + 0x3400UL)
1198#define SYSCFG_BASE (APB2PERIPH_BASE + 0x3800UL)
1199#define EXTI_BASE (APB2PERIPH_BASE + 0x3C00UL)
1200#define TIM9_BASE (APB2PERIPH_BASE + 0x4000UL)
1201#define TIM10_BASE (APB2PERIPH_BASE + 0x4400UL)
1202#define TIM11_BASE (APB2PERIPH_BASE + 0x4800UL)
1203#define SPI5_BASE (APB2PERIPH_BASE + 0x5000UL)
1204#define SPI6_BASE (APB2PERIPH_BASE + 0x5400UL)
1205#define SAI1_BASE (APB2PERIPH_BASE + 0x5800UL)
1206#define SAI2_BASE (APB2PERIPH_BASE + 0x5C00UL)
1207#define SAI1_Block_A_BASE (SAI1_BASE + 0x004UL)
1208#define SAI1_Block_B_BASE (SAI1_BASE + 0x024UL)
1209#define SAI2_Block_A_BASE (SAI2_BASE + 0x004UL)
1210#define SAI2_Block_B_BASE (SAI2_BASE + 0x024UL)
1211#define LTDC_BASE (APB2PERIPH_BASE + 0x6800UL)
1212#define LTDC_Layer1_BASE (LTDC_BASE + 0x0084UL)
1213#define LTDC_Layer2_BASE (LTDC_BASE + 0x0104UL)
1215#define GPIOA_BASE (AHB1PERIPH_BASE + 0x0000UL)
1216#define GPIOB_BASE (AHB1PERIPH_BASE + 0x0400UL)
1217#define GPIOC_BASE (AHB1PERIPH_BASE + 0x0800UL)
1218#define GPIOD_BASE (AHB1PERIPH_BASE + 0x0C00UL)
1219#define GPIOE_BASE (AHB1PERIPH_BASE + 0x1000UL)
1220#define GPIOF_BASE (AHB1PERIPH_BASE + 0x1400UL)
1221#define GPIOG_BASE (AHB1PERIPH_BASE + 0x1800UL)
1222#define GPIOH_BASE (AHB1PERIPH_BASE + 0x1C00UL)
1223#define GPIOI_BASE (AHB1PERIPH_BASE + 0x2000UL)
1224#define GPIOJ_BASE (AHB1PERIPH_BASE + 0x2400UL)
1225#define GPIOK_BASE (AHB1PERIPH_BASE + 0x2800UL)
1226#define CRC_BASE (AHB1PERIPH_BASE + 0x3000UL)
1227#define RCC_BASE (AHB1PERIPH_BASE + 0x3800UL)
1228#define FLASH_R_BASE (AHB1PERIPH_BASE + 0x3C00UL)
1229#define UID_BASE 0x1FF0F420UL
1230#define FLASHSIZE_BASE 0x1FF0F442UL
1231#define PACKAGE_BASE 0x1FF0F7E0UL
1232/* Legacy define */
1233#define PACKAGESIZE_BASE PACKAGE_BASE
1234
1235#define DMA1_BASE (AHB1PERIPH_BASE + 0x6000UL)
1236#define DMA1_Stream0_BASE (DMA1_BASE + 0x010UL)
1237#define DMA1_Stream1_BASE (DMA1_BASE + 0x028UL)
1238#define DMA1_Stream2_BASE (DMA1_BASE + 0x040UL)
1239#define DMA1_Stream3_BASE (DMA1_BASE + 0x058UL)
1240#define DMA1_Stream4_BASE (DMA1_BASE + 0x070UL)
1241#define DMA1_Stream5_BASE (DMA1_BASE + 0x088UL)
1242#define DMA1_Stream6_BASE (DMA1_BASE + 0x0A0UL)
1243#define DMA1_Stream7_BASE (DMA1_BASE + 0x0B8UL)
1244#define DMA2_BASE (AHB1PERIPH_BASE + 0x6400UL)
1245#define DMA2_Stream0_BASE (DMA2_BASE + 0x010UL)
1246#define DMA2_Stream1_BASE (DMA2_BASE + 0x028UL)
1247#define DMA2_Stream2_BASE (DMA2_BASE + 0x040UL)
1248#define DMA2_Stream3_BASE (DMA2_BASE + 0x058UL)
1249#define DMA2_Stream4_BASE (DMA2_BASE + 0x070UL)
1250#define DMA2_Stream5_BASE (DMA2_BASE + 0x088UL)
1251#define DMA2_Stream6_BASE (DMA2_BASE + 0x0A0UL)
1252#define DMA2_Stream7_BASE (DMA2_BASE + 0x0B8UL)
1253#define ETH_BASE (AHB1PERIPH_BASE + 0x8000UL)
1254#define ETH_MAC_BASE (ETH_BASE)
1255#define ETH_MMC_BASE (ETH_BASE + 0x0100UL)
1256#define ETH_PTP_BASE (ETH_BASE + 0x0700UL)
1257#define ETH_DMA_BASE (ETH_BASE + 0x1000UL)
1258#define DMA2D_BASE (AHB1PERIPH_BASE + 0xB000UL)
1260#define DCMI_BASE (AHB2PERIPH_BASE + 0x50000UL)
1261#define RNG_BASE (AHB2PERIPH_BASE + 0x60800UL)
1263#define FMC_Bank1_R_BASE (FMC_R_BASE + 0x0000UL)
1264#define FMC_Bank1E_R_BASE (FMC_R_BASE + 0x0104UL)
1265#define FMC_Bank3_R_BASE (FMC_R_BASE + 0x0080UL)
1266#define FMC_Bank5_6_R_BASE (FMC_R_BASE + 0x0140UL)
1267
1268/* Debug MCU registers base address */
1269#define DBGMCU_BASE 0xE0042000UL
1270
1272#define USB_OTG_HS_PERIPH_BASE 0x40040000UL
1273#define USB_OTG_FS_PERIPH_BASE 0x50000000UL
1274
1275#define USB_OTG_GLOBAL_BASE 0x0000UL
1276#define USB_OTG_DEVICE_BASE 0x0800UL
1277#define USB_OTG_IN_ENDPOINT_BASE 0x0900UL
1278#define USB_OTG_OUT_ENDPOINT_BASE 0x0B00UL
1279#define USB_OTG_EP_REG_SIZE 0x0020UL
1280#define USB_OTG_HOST_BASE 0x0400UL
1281#define USB_OTG_HOST_PORT_BASE 0x0440UL
1282#define USB_OTG_HOST_CHANNEL_BASE 0x0500UL
1283#define USB_OTG_HOST_CHANNEL_SIZE 0x0020UL
1284#define USB_OTG_PCGCCTL_BASE 0x0E00UL
1285#define USB_OTG_FIFO_BASE 0x1000UL
1286#define USB_OTG_FIFO_SIZE 0x1000UL
1287
1295#define TIM2 ((TIM_TypeDef *) TIM2_BASE)
1296#define TIM3 ((TIM_TypeDef *) TIM3_BASE)
1297#define TIM4 ((TIM_TypeDef *) TIM4_BASE)
1298#define TIM5 ((TIM_TypeDef *) TIM5_BASE)
1299#define TIM6 ((TIM_TypeDef *) TIM6_BASE)
1300#define TIM7 ((TIM_TypeDef *) TIM7_BASE)
1301#define TIM12 ((TIM_TypeDef *) TIM12_BASE)
1302#define TIM13 ((TIM_TypeDef *) TIM13_BASE)
1303#define TIM14 ((TIM_TypeDef *) TIM14_BASE)
1304#define LPTIM1 ((LPTIM_TypeDef *) LPTIM1_BASE)
1305#define RTC ((RTC_TypeDef *) RTC_BASE)
1306#define WWDG ((WWDG_TypeDef *) WWDG_BASE)
1307#define IWDG ((IWDG_TypeDef *) IWDG_BASE)
1308#define SPI2 ((SPI_TypeDef *) SPI2_BASE)
1309#define SPI3 ((SPI_TypeDef *) SPI3_BASE)
1310#define SPDIFRX ((SPDIFRX_TypeDef *) SPDIFRX_BASE)
1311#define USART2 ((USART_TypeDef *) USART2_BASE)
1312#define USART3 ((USART_TypeDef *) USART3_BASE)
1313#define UART4 ((USART_TypeDef *) UART4_BASE)
1314#define UART5 ((USART_TypeDef *) UART5_BASE)
1315#define I2C1 ((I2C_TypeDef *) I2C1_BASE)
1316#define I2C2 ((I2C_TypeDef *) I2C2_BASE)
1317#define I2C3 ((I2C_TypeDef *) I2C3_BASE)
1318#define I2C4 ((I2C_TypeDef *) I2C4_BASE)
1319#define CAN1 ((CAN_TypeDef *) CAN1_BASE)
1320#define CAN2 ((CAN_TypeDef *) CAN2_BASE)
1321#define CEC ((CEC_TypeDef *) CEC_BASE)
1322#define PWR ((PWR_TypeDef *) PWR_BASE)
1323#define DAC1 ((DAC_TypeDef *) DAC_BASE)
1324#define DAC ((DAC_TypeDef *) DAC_BASE) /* Kept for legacy purpose */
1325#define UART7 ((USART_TypeDef *) UART7_BASE)
1326#define UART8 ((USART_TypeDef *) UART8_BASE)
1327#define TIM1 ((TIM_TypeDef *) TIM1_BASE)
1328#define TIM8 ((TIM_TypeDef *) TIM8_BASE)
1329#define USART1 ((USART_TypeDef *) USART1_BASE)
1330#define USART6 ((USART_TypeDef *) USART6_BASE)
1331#define ADC ((ADC_Common_TypeDef *) ADC_BASE)
1332#define ADC1 ((ADC_TypeDef *) ADC1_BASE)
1333#define ADC2 ((ADC_TypeDef *) ADC2_BASE)
1334#define ADC3 ((ADC_TypeDef *) ADC3_BASE)
1335#define ADC123_COMMON ((ADC_Common_TypeDef *) ADC_BASE)
1336#define SDMMC1 ((SDMMC_TypeDef *) SDMMC1_BASE)
1337#define SPI1 ((SPI_TypeDef *) SPI1_BASE)
1338#define SPI4 ((SPI_TypeDef *) SPI4_BASE)
1339#define SYSCFG ((SYSCFG_TypeDef *) SYSCFG_BASE)
1340#define EXTI ((EXTI_TypeDef *) EXTI_BASE)
1341#define TIM9 ((TIM_TypeDef *) TIM9_BASE)
1342#define TIM10 ((TIM_TypeDef *) TIM10_BASE)
1343#define TIM11 ((TIM_TypeDef *) TIM11_BASE)
1344#define SPI5 ((SPI_TypeDef *) SPI5_BASE)
1345#define SPI6 ((SPI_TypeDef *) SPI6_BASE)
1346#define SAI1 ((SAI_TypeDef *) SAI1_BASE)
1347#define SAI2 ((SAI_TypeDef *) SAI2_BASE)
1348#define SAI1_Block_A ((SAI_Block_TypeDef *)SAI1_Block_A_BASE)
1349#define SAI1_Block_B ((SAI_Block_TypeDef *)SAI1_Block_B_BASE)
1350#define SAI2_Block_A ((SAI_Block_TypeDef *)SAI2_Block_A_BASE)
1351#define SAI2_Block_B ((SAI_Block_TypeDef *)SAI2_Block_B_BASE)
1352#define LTDC ((LTDC_TypeDef *)LTDC_BASE)
1353#define LTDC_Layer1 ((LTDC_Layer_TypeDef *)LTDC_Layer1_BASE)
1354#define LTDC_Layer2 ((LTDC_Layer_TypeDef *)LTDC_Layer2_BASE)
1355#define GPIOA ((GPIO_TypeDef *) GPIOA_BASE)
1356#define GPIOB ((GPIO_TypeDef *) GPIOB_BASE)
1357#define GPIOC ((GPIO_TypeDef *) GPIOC_BASE)
1358#define GPIOD ((GPIO_TypeDef *) GPIOD_BASE)
1359#define GPIOE ((GPIO_TypeDef *) GPIOE_BASE)
1360#define GPIOF ((GPIO_TypeDef *) GPIOF_BASE)
1361#define GPIOG ((GPIO_TypeDef *) GPIOG_BASE)
1362#define GPIOH ((GPIO_TypeDef *) GPIOH_BASE)
1363#define GPIOI ((GPIO_TypeDef *) GPIOI_BASE)
1364#define GPIOJ ((GPIO_TypeDef *) GPIOJ_BASE)
1365#define GPIOK ((GPIO_TypeDef *) GPIOK_BASE)
1366#define CRC ((CRC_TypeDef *) CRC_BASE)
1367#define RCC ((RCC_TypeDef *) RCC_BASE)
1368#define FLASH ((FLASH_TypeDef *) FLASH_R_BASE)
1369#define DMA1 ((DMA_TypeDef *) DMA1_BASE)
1370#define DMA1_Stream0 ((DMA_Stream_TypeDef *) DMA1_Stream0_BASE)
1371#define DMA1_Stream1 ((DMA_Stream_TypeDef *) DMA1_Stream1_BASE)
1372#define DMA1_Stream2 ((DMA_Stream_TypeDef *) DMA1_Stream2_BASE)
1373#define DMA1_Stream3 ((DMA_Stream_TypeDef *) DMA1_Stream3_BASE)
1374#define DMA1_Stream4 ((DMA_Stream_TypeDef *) DMA1_Stream4_BASE)
1375#define DMA1_Stream5 ((DMA_Stream_TypeDef *) DMA1_Stream5_BASE)
1376#define DMA1_Stream6 ((DMA_Stream_TypeDef *) DMA1_Stream6_BASE)
1377#define DMA1_Stream7 ((DMA_Stream_TypeDef *) DMA1_Stream7_BASE)
1378#define DMA2 ((DMA_TypeDef *) DMA2_BASE)
1379#define DMA2_Stream0 ((DMA_Stream_TypeDef *) DMA2_Stream0_BASE)
1380#define DMA2_Stream1 ((DMA_Stream_TypeDef *) DMA2_Stream1_BASE)
1381#define DMA2_Stream2 ((DMA_Stream_TypeDef *) DMA2_Stream2_BASE)
1382#define DMA2_Stream3 ((DMA_Stream_TypeDef *) DMA2_Stream3_BASE)
1383#define DMA2_Stream4 ((DMA_Stream_TypeDef *) DMA2_Stream4_BASE)
1384#define DMA2_Stream5 ((DMA_Stream_TypeDef *) DMA2_Stream5_BASE)
1385#define DMA2_Stream6 ((DMA_Stream_TypeDef *) DMA2_Stream6_BASE)
1386#define DMA2_Stream7 ((DMA_Stream_TypeDef *) DMA2_Stream7_BASE)
1387#define ETH ((ETH_TypeDef *) ETH_BASE)
1388#define DMA2D ((DMA2D_TypeDef *)DMA2D_BASE)
1389#define DCMI ((DCMI_TypeDef *) DCMI_BASE)
1390#define RNG ((RNG_TypeDef *) RNG_BASE)
1391#define FMC_Bank1 ((FMC_Bank1_TypeDef *) FMC_Bank1_R_BASE)
1392#define FMC_Bank1E ((FMC_Bank1E_TypeDef *) FMC_Bank1E_R_BASE)
1393#define FMC_Bank3 ((FMC_Bank3_TypeDef *) FMC_Bank3_R_BASE)
1394#define FMC_Bank5_6 ((FMC_Bank5_6_TypeDef *) FMC_Bank5_6_R_BASE)
1395#define QUADSPI ((QUADSPI_TypeDef *) QSPI_R_BASE)
1396#define DBGMCU ((DBGMCU_TypeDef *) DBGMCU_BASE)
1397#define USB_OTG_FS ((USB_OTG_GlobalTypeDef *) USB_OTG_FS_PERIPH_BASE)
1398#define USB_OTG_HS ((USB_OTG_GlobalTypeDef *) USB_OTG_HS_PERIPH_BASE)
1399
1412/******************************************************************************/
1413/* Peripheral Registers_Bits_Definition */
1414/******************************************************************************/
1415
1416/******************************************************************************/
1417/* */
1418/* Analog to Digital Converter */
1419/* */
1420/******************************************************************************/
1421#define VREFINT_CAL_ADDR_CMSIS ((uint16_t*) (0x1FF0F44A))
1422#define TEMPSENSOR_CAL1_ADDR_CMSIS ((uint16_t*) (0x1FF0F44C))
1423#define TEMPSENSOR_CAL2_ADDR_CMSIS ((uint16_t*) (0x1FF0F44E))
1425/******************** Bit definition for ADC_SR register ********************/
1426#define ADC_SR_AWD_Pos (0U)
1427#define ADC_SR_AWD_Msk (0x1UL << ADC_SR_AWD_Pos)
1428#define ADC_SR_AWD ADC_SR_AWD_Msk
1429#define ADC_SR_EOC_Pos (1U)
1430#define ADC_SR_EOC_Msk (0x1UL << ADC_SR_EOC_Pos)
1431#define ADC_SR_EOC ADC_SR_EOC_Msk
1432#define ADC_SR_JEOC_Pos (2U)
1433#define ADC_SR_JEOC_Msk (0x1UL << ADC_SR_JEOC_Pos)
1434#define ADC_SR_JEOC ADC_SR_JEOC_Msk
1435#define ADC_SR_JSTRT_Pos (3U)
1436#define ADC_SR_JSTRT_Msk (0x1UL << ADC_SR_JSTRT_Pos)
1437#define ADC_SR_JSTRT ADC_SR_JSTRT_Msk
1438#define ADC_SR_STRT_Pos (4U)
1439#define ADC_SR_STRT_Msk (0x1UL << ADC_SR_STRT_Pos)
1440#define ADC_SR_STRT ADC_SR_STRT_Msk
1441#define ADC_SR_OVR_Pos (5U)
1442#define ADC_SR_OVR_Msk (0x1UL << ADC_SR_OVR_Pos)
1443#define ADC_SR_OVR ADC_SR_OVR_Msk
1445/******************* Bit definition for ADC_CR1 register ********************/
1446#define ADC_CR1_AWDCH_Pos (0U)
1447#define ADC_CR1_AWDCH_Msk (0x1FUL << ADC_CR1_AWDCH_Pos)
1448#define ADC_CR1_AWDCH ADC_CR1_AWDCH_Msk
1449#define ADC_CR1_AWDCH_0 (0x01UL << ADC_CR1_AWDCH_Pos)
1450#define ADC_CR1_AWDCH_1 (0x02UL << ADC_CR1_AWDCH_Pos)
1451#define ADC_CR1_AWDCH_2 (0x04UL << ADC_CR1_AWDCH_Pos)
1452#define ADC_CR1_AWDCH_3 (0x08UL << ADC_CR1_AWDCH_Pos)
1453#define ADC_CR1_AWDCH_4 (0x10UL << ADC_CR1_AWDCH_Pos)
1454#define ADC_CR1_EOCIE_Pos (5U)
1455#define ADC_CR1_EOCIE_Msk (0x1UL << ADC_CR1_EOCIE_Pos)
1456#define ADC_CR1_EOCIE ADC_CR1_EOCIE_Msk
1457#define ADC_CR1_AWDIE_Pos (6U)
1458#define ADC_CR1_AWDIE_Msk (0x1UL << ADC_CR1_AWDIE_Pos)
1459#define ADC_CR1_AWDIE ADC_CR1_AWDIE_Msk
1460#define ADC_CR1_JEOCIE_Pos (7U)
1461#define ADC_CR1_JEOCIE_Msk (0x1UL << ADC_CR1_JEOCIE_Pos)
1462#define ADC_CR1_JEOCIE ADC_CR1_JEOCIE_Msk
1463#define ADC_CR1_SCAN_Pos (8U)
1464#define ADC_CR1_SCAN_Msk (0x1UL << ADC_CR1_SCAN_Pos)
1465#define ADC_CR1_SCAN ADC_CR1_SCAN_Msk
1466#define ADC_CR1_AWDSGL_Pos (9U)
1467#define ADC_CR1_AWDSGL_Msk (0x1UL << ADC_CR1_AWDSGL_Pos)
1468#define ADC_CR1_AWDSGL ADC_CR1_AWDSGL_Msk
1469#define ADC_CR1_JAUTO_Pos (10U)
1470#define ADC_CR1_JAUTO_Msk (0x1UL << ADC_CR1_JAUTO_Pos)
1471#define ADC_CR1_JAUTO ADC_CR1_JAUTO_Msk
1472#define ADC_CR1_DISCEN_Pos (11U)
1473#define ADC_CR1_DISCEN_Msk (0x1UL << ADC_CR1_DISCEN_Pos)
1474#define ADC_CR1_DISCEN ADC_CR1_DISCEN_Msk
1475#define ADC_CR1_JDISCEN_Pos (12U)
1476#define ADC_CR1_JDISCEN_Msk (0x1UL << ADC_CR1_JDISCEN_Pos)
1477#define ADC_CR1_JDISCEN ADC_CR1_JDISCEN_Msk
1478#define ADC_CR1_DISCNUM_Pos (13U)
1479#define ADC_CR1_DISCNUM_Msk (0x7UL << ADC_CR1_DISCNUM_Pos)
1480#define ADC_CR1_DISCNUM ADC_CR1_DISCNUM_Msk
1481#define ADC_CR1_DISCNUM_0 (0x1UL << ADC_CR1_DISCNUM_Pos)
1482#define ADC_CR1_DISCNUM_1 (0x2UL << ADC_CR1_DISCNUM_Pos)
1483#define ADC_CR1_DISCNUM_2 (0x4UL << ADC_CR1_DISCNUM_Pos)
1484#define ADC_CR1_JAWDEN_Pos (22U)
1485#define ADC_CR1_JAWDEN_Msk (0x1UL << ADC_CR1_JAWDEN_Pos)
1486#define ADC_CR1_JAWDEN ADC_CR1_JAWDEN_Msk
1487#define ADC_CR1_AWDEN_Pos (23U)
1488#define ADC_CR1_AWDEN_Msk (0x1UL << ADC_CR1_AWDEN_Pos)
1489#define ADC_CR1_AWDEN ADC_CR1_AWDEN_Msk
1490#define ADC_CR1_RES_Pos (24U)
1491#define ADC_CR1_RES_Msk (0x3UL << ADC_CR1_RES_Pos)
1492#define ADC_CR1_RES ADC_CR1_RES_Msk
1493#define ADC_CR1_RES_0 (0x1UL << ADC_CR1_RES_Pos)
1494#define ADC_CR1_RES_1 (0x2UL << ADC_CR1_RES_Pos)
1495#define ADC_CR1_OVRIE_Pos (26U)
1496#define ADC_CR1_OVRIE_Msk (0x1UL << ADC_CR1_OVRIE_Pos)
1497#define ADC_CR1_OVRIE ADC_CR1_OVRIE_Msk
1499/******************* Bit definition for ADC_CR2 register ********************/
1500#define ADC_CR2_ADON_Pos (0U)
1501#define ADC_CR2_ADON_Msk (0x1UL << ADC_CR2_ADON_Pos)
1502#define ADC_CR2_ADON ADC_CR2_ADON_Msk
1503#define ADC_CR2_CONT_Pos (1U)
1504#define ADC_CR2_CONT_Msk (0x1UL << ADC_CR2_CONT_Pos)
1505#define ADC_CR2_CONT ADC_CR2_CONT_Msk
1506#define ADC_CR2_DMA_Pos (8U)
1507#define ADC_CR2_DMA_Msk (0x1UL << ADC_CR2_DMA_Pos)
1508#define ADC_CR2_DMA ADC_CR2_DMA_Msk
1509#define ADC_CR2_DDS_Pos (9U)
1510#define ADC_CR2_DDS_Msk (0x1UL << ADC_CR2_DDS_Pos)
1511#define ADC_CR2_DDS ADC_CR2_DDS_Msk
1512#define ADC_CR2_EOCS_Pos (10U)
1513#define ADC_CR2_EOCS_Msk (0x1UL << ADC_CR2_EOCS_Pos)
1514#define ADC_CR2_EOCS ADC_CR2_EOCS_Msk
1515#define ADC_CR2_ALIGN_Pos (11U)
1516#define ADC_CR2_ALIGN_Msk (0x1UL << ADC_CR2_ALIGN_Pos)
1517#define ADC_CR2_ALIGN ADC_CR2_ALIGN_Msk
1518#define ADC_CR2_JEXTSEL_Pos (16U)
1519#define ADC_CR2_JEXTSEL_Msk (0xFUL << ADC_CR2_JEXTSEL_Pos)
1520#define ADC_CR2_JEXTSEL ADC_CR2_JEXTSEL_Msk
1521#define ADC_CR2_JEXTSEL_0 (0x1UL << ADC_CR2_JEXTSEL_Pos)
1522#define ADC_CR2_JEXTSEL_1 (0x2UL << ADC_CR2_JEXTSEL_Pos)
1523#define ADC_CR2_JEXTSEL_2 (0x4UL << ADC_CR2_JEXTSEL_Pos)
1524#define ADC_CR2_JEXTSEL_3 (0x8UL << ADC_CR2_JEXTSEL_Pos)
1525#define ADC_CR2_JEXTEN_Pos (20U)
1526#define ADC_CR2_JEXTEN_Msk (0x3UL << ADC_CR2_JEXTEN_Pos)
1527#define ADC_CR2_JEXTEN ADC_CR2_JEXTEN_Msk
1528#define ADC_CR2_JEXTEN_0 (0x1UL << ADC_CR2_JEXTEN_Pos)
1529#define ADC_CR2_JEXTEN_1 (0x2UL << ADC_CR2_JEXTEN_Pos)
1530#define ADC_CR2_JSWSTART_Pos (22U)
1531#define ADC_CR2_JSWSTART_Msk (0x1UL << ADC_CR2_JSWSTART_Pos)
1532#define ADC_CR2_JSWSTART ADC_CR2_JSWSTART_Msk
1533#define ADC_CR2_EXTSEL_Pos (24U)
1534#define ADC_CR2_EXTSEL_Msk (0xFUL << ADC_CR2_EXTSEL_Pos)
1535#define ADC_CR2_EXTSEL ADC_CR2_EXTSEL_Msk
1536#define ADC_CR2_EXTSEL_0 (0x1UL << ADC_CR2_EXTSEL_Pos)
1537#define ADC_CR2_EXTSEL_1 (0x2UL << ADC_CR2_EXTSEL_Pos)
1538#define ADC_CR2_EXTSEL_2 (0x4UL << ADC_CR2_EXTSEL_Pos)
1539#define ADC_CR2_EXTSEL_3 (0x8UL << ADC_CR2_EXTSEL_Pos)
1540#define ADC_CR2_EXTEN_Pos (28U)
1541#define ADC_CR2_EXTEN_Msk (0x3UL << ADC_CR2_EXTEN_Pos)
1542#define ADC_CR2_EXTEN ADC_CR2_EXTEN_Msk
1543#define ADC_CR2_EXTEN_0 (0x1UL << ADC_CR2_EXTEN_Pos)
1544#define ADC_CR2_EXTEN_1 (0x2UL << ADC_CR2_EXTEN_Pos)
1545#define ADC_CR2_SWSTART_Pos (30U)
1546#define ADC_CR2_SWSTART_Msk (0x1UL << ADC_CR2_SWSTART_Pos)
1547#define ADC_CR2_SWSTART ADC_CR2_SWSTART_Msk
1549/****************** Bit definition for ADC_SMPR1 register *******************/
1550#define ADC_SMPR1_SMP10_Pos (0U)
1551#define ADC_SMPR1_SMP10_Msk (0x7UL << ADC_SMPR1_SMP10_Pos)
1552#define ADC_SMPR1_SMP10 ADC_SMPR1_SMP10_Msk
1553#define ADC_SMPR1_SMP10_0 (0x1UL << ADC_SMPR1_SMP10_Pos)
1554#define ADC_SMPR1_SMP10_1 (0x2UL << ADC_SMPR1_SMP10_Pos)
1555#define ADC_SMPR1_SMP10_2 (0x4UL << ADC_SMPR1_SMP10_Pos)
1556#define ADC_SMPR1_SMP11_Pos (3U)
1557#define ADC_SMPR1_SMP11_Msk (0x7UL << ADC_SMPR1_SMP11_Pos)
1558#define ADC_SMPR1_SMP11 ADC_SMPR1_SMP11_Msk
1559#define ADC_SMPR1_SMP11_0 (0x1UL << ADC_SMPR1_SMP11_Pos)
1560#define ADC_SMPR1_SMP11_1 (0x2UL << ADC_SMPR1_SMP11_Pos)
1561#define ADC_SMPR1_SMP11_2 (0x4UL << ADC_SMPR1_SMP11_Pos)
1562#define ADC_SMPR1_SMP12_Pos (6U)
1563#define ADC_SMPR1_SMP12_Msk (0x7UL << ADC_SMPR1_SMP12_Pos)
1564#define ADC_SMPR1_SMP12 ADC_SMPR1_SMP12_Msk
1565#define ADC_SMPR1_SMP12_0 (0x1UL << ADC_SMPR1_SMP12_Pos)
1566#define ADC_SMPR1_SMP12_1 (0x2UL << ADC_SMPR1_SMP12_Pos)
1567#define ADC_SMPR1_SMP12_2 (0x4UL << ADC_SMPR1_SMP12_Pos)
1568#define ADC_SMPR1_SMP13_Pos (9U)
1569#define ADC_SMPR1_SMP13_Msk (0x7UL << ADC_SMPR1_SMP13_Pos)
1570#define ADC_SMPR1_SMP13 ADC_SMPR1_SMP13_Msk
1571#define ADC_SMPR1_SMP13_0 (0x1UL << ADC_SMPR1_SMP13_Pos)
1572#define ADC_SMPR1_SMP13_1 (0x2UL << ADC_SMPR1_SMP13_Pos)
1573#define ADC_SMPR1_SMP13_2 (0x4UL << ADC_SMPR1_SMP13_Pos)
1574#define ADC_SMPR1_SMP14_Pos (12U)
1575#define ADC_SMPR1_SMP14_Msk (0x7UL << ADC_SMPR1_SMP14_Pos)
1576#define ADC_SMPR1_SMP14 ADC_SMPR1_SMP14_Msk
1577#define ADC_SMPR1_SMP14_0 (0x1UL << ADC_SMPR1_SMP14_Pos)
1578#define ADC_SMPR1_SMP14_1 (0x2UL << ADC_SMPR1_SMP14_Pos)
1579#define ADC_SMPR1_SMP14_2 (0x4UL << ADC_SMPR1_SMP14_Pos)
1580#define ADC_SMPR1_SMP15_Pos (15U)
1581#define ADC_SMPR1_SMP15_Msk (0x7UL << ADC_SMPR1_SMP15_Pos)
1582#define ADC_SMPR1_SMP15 ADC_SMPR1_SMP15_Msk
1583#define ADC_SMPR1_SMP15_0 (0x1UL << ADC_SMPR1_SMP15_Pos)
1584#define ADC_SMPR1_SMP15_1 (0x2UL << ADC_SMPR1_SMP15_Pos)
1585#define ADC_SMPR1_SMP15_2 (0x4UL << ADC_SMPR1_SMP15_Pos)
1586#define ADC_SMPR1_SMP16_Pos (18U)
1587#define ADC_SMPR1_SMP16_Msk (0x7UL << ADC_SMPR1_SMP16_Pos)
1588#define ADC_SMPR1_SMP16 ADC_SMPR1_SMP16_Msk
1589#define ADC_SMPR1_SMP16_0 (0x1UL << ADC_SMPR1_SMP16_Pos)
1590#define ADC_SMPR1_SMP16_1 (0x2UL << ADC_SMPR1_SMP16_Pos)
1591#define ADC_SMPR1_SMP16_2 (0x4UL << ADC_SMPR1_SMP16_Pos)
1592#define ADC_SMPR1_SMP17_Pos (21U)
1593#define ADC_SMPR1_SMP17_Msk (0x7UL << ADC_SMPR1_SMP17_Pos)
1594#define ADC_SMPR1_SMP17 ADC_SMPR1_SMP17_Msk
1595#define ADC_SMPR1_SMP17_0 (0x1UL << ADC_SMPR1_SMP17_Pos)
1596#define ADC_SMPR1_SMP17_1 (0x2UL << ADC_SMPR1_SMP17_Pos)
1597#define ADC_SMPR1_SMP17_2 (0x4UL << ADC_SMPR1_SMP17_Pos)
1598#define ADC_SMPR1_SMP18_Pos (24U)
1599#define ADC_SMPR1_SMP18_Msk (0x7UL << ADC_SMPR1_SMP18_Pos)
1600#define ADC_SMPR1_SMP18 ADC_SMPR1_SMP18_Msk
1601#define ADC_SMPR1_SMP18_0 (0x1UL << ADC_SMPR1_SMP18_Pos)
1602#define ADC_SMPR1_SMP18_1 (0x2UL << ADC_SMPR1_SMP18_Pos)
1603#define ADC_SMPR1_SMP18_2 (0x4UL << ADC_SMPR1_SMP18_Pos)
1605/****************** Bit definition for ADC_SMPR2 register *******************/
1606#define ADC_SMPR2_SMP0_Pos (0U)
1607#define ADC_SMPR2_SMP0_Msk (0x7UL << ADC_SMPR2_SMP0_Pos)
1608#define ADC_SMPR2_SMP0 ADC_SMPR2_SMP0_Msk
1609#define ADC_SMPR2_SMP0_0 (0x1UL << ADC_SMPR2_SMP0_Pos)
1610#define ADC_SMPR2_SMP0_1 (0x2UL << ADC_SMPR2_SMP0_Pos)
1611#define ADC_SMPR2_SMP0_2 (0x4UL << ADC_SMPR2_SMP0_Pos)
1612#define ADC_SMPR2_SMP1_Pos (3U)
1613#define ADC_SMPR2_SMP1_Msk (0x7UL << ADC_SMPR2_SMP1_Pos)
1614#define ADC_SMPR2_SMP1 ADC_SMPR2_SMP1_Msk
1615#define ADC_SMPR2_SMP1_0 (0x1UL << ADC_SMPR2_SMP1_Pos)
1616#define ADC_SMPR2_SMP1_1 (0x2UL << ADC_SMPR2_SMP1_Pos)
1617#define ADC_SMPR2_SMP1_2 (0x4UL << ADC_SMPR2_SMP1_Pos)
1618#define ADC_SMPR2_SMP2_Pos (6U)
1619#define ADC_SMPR2_SMP2_Msk (0x7UL << ADC_SMPR2_SMP2_Pos)
1620#define ADC_SMPR2_SMP2 ADC_SMPR2_SMP2_Msk
1621#define ADC_SMPR2_SMP2_0 (0x1UL << ADC_SMPR2_SMP2_Pos)
1622#define ADC_SMPR2_SMP2_1 (0x2UL << ADC_SMPR2_SMP2_Pos)
1623#define ADC_SMPR2_SMP2_2 (0x4UL << ADC_SMPR2_SMP2_Pos)
1624#define ADC_SMPR2_SMP3_Pos (9U)
1625#define ADC_SMPR2_SMP3_Msk (0x7UL << ADC_SMPR2_SMP3_Pos)
1626#define ADC_SMPR2_SMP3 ADC_SMPR2_SMP3_Msk
1627#define ADC_SMPR2_SMP3_0 (0x1UL << ADC_SMPR2_SMP3_Pos)
1628#define ADC_SMPR2_SMP3_1 (0x2UL << ADC_SMPR2_SMP3_Pos)
1629#define ADC_SMPR2_SMP3_2 (0x4UL << ADC_SMPR2_SMP3_Pos)
1630#define ADC_SMPR2_SMP4_Pos (12U)
1631#define ADC_SMPR2_SMP4_Msk (0x7UL << ADC_SMPR2_SMP4_Pos)
1632#define ADC_SMPR2_SMP4 ADC_SMPR2_SMP4_Msk
1633#define ADC_SMPR2_SMP4_0 (0x1UL << ADC_SMPR2_SMP4_Pos)
1634#define ADC_SMPR2_SMP4_1 (0x2UL << ADC_SMPR2_SMP4_Pos)
1635#define ADC_SMPR2_SMP4_2 (0x4UL << ADC_SMPR2_SMP4_Pos)
1636#define ADC_SMPR2_SMP5_Pos (15U)
1637#define ADC_SMPR2_SMP5_Msk (0x7UL << ADC_SMPR2_SMP5_Pos)
1638#define ADC_SMPR2_SMP5 ADC_SMPR2_SMP5_Msk
1639#define ADC_SMPR2_SMP5_0 (0x1UL << ADC_SMPR2_SMP5_Pos)
1640#define ADC_SMPR2_SMP5_1 (0x2UL << ADC_SMPR2_SMP5_Pos)
1641#define ADC_SMPR2_SMP5_2 (0x4UL << ADC_SMPR2_SMP5_Pos)
1642#define ADC_SMPR2_SMP6_Pos (18U)
1643#define ADC_SMPR2_SMP6_Msk (0x7UL << ADC_SMPR2_SMP6_Pos)
1644#define ADC_SMPR2_SMP6 ADC_SMPR2_SMP6_Msk
1645#define ADC_SMPR2_SMP6_0 (0x1UL << ADC_SMPR2_SMP6_Pos)
1646#define ADC_SMPR2_SMP6_1 (0x2UL << ADC_SMPR2_SMP6_Pos)
1647#define ADC_SMPR2_SMP6_2 (0x4UL << ADC_SMPR2_SMP6_Pos)
1648#define ADC_SMPR2_SMP7_Pos (21U)
1649#define ADC_SMPR2_SMP7_Msk (0x7UL << ADC_SMPR2_SMP7_Pos)
1650#define ADC_SMPR2_SMP7 ADC_SMPR2_SMP7_Msk
1651#define ADC_SMPR2_SMP7_0 (0x1UL << ADC_SMPR2_SMP7_Pos)
1652#define ADC_SMPR2_SMP7_1 (0x2UL << ADC_SMPR2_SMP7_Pos)
1653#define ADC_SMPR2_SMP7_2 (0x4UL << ADC_SMPR2_SMP7_Pos)
1654#define ADC_SMPR2_SMP8_Pos (24U)
1655#define ADC_SMPR2_SMP8_Msk (0x7UL << ADC_SMPR2_SMP8_Pos)
1656#define ADC_SMPR2_SMP8 ADC_SMPR2_SMP8_Msk
1657#define ADC_SMPR2_SMP8_0 (0x1UL << ADC_SMPR2_SMP8_Pos)
1658#define ADC_SMPR2_SMP8_1 (0x2UL << ADC_SMPR2_SMP8_Pos)
1659#define ADC_SMPR2_SMP8_2 (0x4UL << ADC_SMPR2_SMP8_Pos)
1660#define ADC_SMPR2_SMP9_Pos (27U)
1661#define ADC_SMPR2_SMP9_Msk (0x7UL << ADC_SMPR2_SMP9_Pos)
1662#define ADC_SMPR2_SMP9 ADC_SMPR2_SMP9_Msk
1663#define ADC_SMPR2_SMP9_0 (0x1UL << ADC_SMPR2_SMP9_Pos)
1664#define ADC_SMPR2_SMP9_1 (0x2UL << ADC_SMPR2_SMP9_Pos)
1665#define ADC_SMPR2_SMP9_2 (0x4UL << ADC_SMPR2_SMP9_Pos)
1667/****************** Bit definition for ADC_JOFR1 register *******************/
1668#define ADC_JOFR1_JOFFSET1_Pos (0U)
1669#define ADC_JOFR1_JOFFSET1_Msk (0xFFFUL << ADC_JOFR1_JOFFSET1_Pos)
1670#define ADC_JOFR1_JOFFSET1 ADC_JOFR1_JOFFSET1_Msk
1672/****************** Bit definition for ADC_JOFR2 register *******************/
1673#define ADC_JOFR2_JOFFSET2_Pos (0U)
1674#define ADC_JOFR2_JOFFSET2_Msk (0xFFFUL << ADC_JOFR2_JOFFSET2_Pos)
1675#define ADC_JOFR2_JOFFSET2 ADC_JOFR2_JOFFSET2_Msk
1677/****************** Bit definition for ADC_JOFR3 register *******************/
1678#define ADC_JOFR3_JOFFSET3_Pos (0U)
1679#define ADC_JOFR3_JOFFSET3_Msk (0xFFFUL << ADC_JOFR3_JOFFSET3_Pos)
1680#define ADC_JOFR3_JOFFSET3 ADC_JOFR3_JOFFSET3_Msk
1682/****************** Bit definition for ADC_JOFR4 register *******************/
1683#define ADC_JOFR4_JOFFSET4_Pos (0U)
1684#define ADC_JOFR4_JOFFSET4_Msk (0xFFFUL << ADC_JOFR4_JOFFSET4_Pos)
1685#define ADC_JOFR4_JOFFSET4 ADC_JOFR4_JOFFSET4_Msk
1687/******************* Bit definition for ADC_HTR register ********************/
1688#define ADC_HTR_HT_Pos (0U)
1689#define ADC_HTR_HT_Msk (0xFFFUL << ADC_HTR_HT_Pos)
1690#define ADC_HTR_HT ADC_HTR_HT_Msk
1692/******************* Bit definition for ADC_LTR register ********************/
1693#define ADC_LTR_LT_Pos (0U)
1694#define ADC_LTR_LT_Msk (0xFFFUL << ADC_LTR_LT_Pos)
1695#define ADC_LTR_LT ADC_LTR_LT_Msk
1697/******************* Bit definition for ADC_SQR1 register *******************/
1698#define ADC_SQR1_SQ13_Pos (0U)
1699#define ADC_SQR1_SQ13_Msk (0x1FUL << ADC_SQR1_SQ13_Pos)
1700#define ADC_SQR1_SQ13 ADC_SQR1_SQ13_Msk
1701#define ADC_SQR1_SQ13_0 (0x01UL << ADC_SQR1_SQ13_Pos)
1702#define ADC_SQR1_SQ13_1 (0x02UL << ADC_SQR1_SQ13_Pos)
1703#define ADC_SQR1_SQ13_2 (0x04UL << ADC_SQR1_SQ13_Pos)
1704#define ADC_SQR1_SQ13_3 (0x08UL << ADC_SQR1_SQ13_Pos)
1705#define ADC_SQR1_SQ13_4 (0x10UL << ADC_SQR1_SQ13_Pos)
1706#define ADC_SQR1_SQ14_Pos (5U)
1707#define ADC_SQR1_SQ14_Msk (0x1FUL << ADC_SQR1_SQ14_Pos)
1708#define ADC_SQR1_SQ14 ADC_SQR1_SQ14_Msk
1709#define ADC_SQR1_SQ14_0 (0x01UL << ADC_SQR1_SQ14_Pos)
1710#define ADC_SQR1_SQ14_1 (0x02UL << ADC_SQR1_SQ14_Pos)
1711#define ADC_SQR1_SQ14_2 (0x04UL << ADC_SQR1_SQ14_Pos)
1712#define ADC_SQR1_SQ14_3 (0x08UL << ADC_SQR1_SQ14_Pos)
1713#define ADC_SQR1_SQ14_4 (0x10UL << ADC_SQR1_SQ14_Pos)
1714#define ADC_SQR1_SQ15_Pos (10U)
1715#define ADC_SQR1_SQ15_Msk (0x1FUL << ADC_SQR1_SQ15_Pos)
1716#define ADC_SQR1_SQ15 ADC_SQR1_SQ15_Msk
1717#define ADC_SQR1_SQ15_0 (0x01UL << ADC_SQR1_SQ15_Pos)
1718#define ADC_SQR1_SQ15_1 (0x02UL << ADC_SQR1_SQ15_Pos)
1719#define ADC_SQR1_SQ15_2 (0x04UL << ADC_SQR1_SQ15_Pos)
1720#define ADC_SQR1_SQ15_3 (0x08UL << ADC_SQR1_SQ15_Pos)
1721#define ADC_SQR1_SQ15_4 (0x10UL << ADC_SQR1_SQ15_Pos)
1722#define ADC_SQR1_SQ16_Pos (15U)
1723#define ADC_SQR1_SQ16_Msk (0x1FUL << ADC_SQR1_SQ16_Pos)
1724#define ADC_SQR1_SQ16 ADC_SQR1_SQ16_Msk
1725#define ADC_SQR1_SQ16_0 (0x01UL << ADC_SQR1_SQ16_Pos)
1726#define ADC_SQR1_SQ16_1 (0x02UL << ADC_SQR1_SQ16_Pos)
1727#define ADC_SQR1_SQ16_2 (0x04UL << ADC_SQR1_SQ16_Pos)
1728#define ADC_SQR1_SQ16_3 (0x08UL << ADC_SQR1_SQ16_Pos)
1729#define ADC_SQR1_SQ16_4 (0x10UL << ADC_SQR1_SQ16_Pos)
1730#define ADC_SQR1_L_Pos (20U)
1731#define ADC_SQR1_L_Msk (0xFUL << ADC_SQR1_L_Pos)
1732#define ADC_SQR1_L ADC_SQR1_L_Msk
1733#define ADC_SQR1_L_0 (0x1UL << ADC_SQR1_L_Pos)
1734#define ADC_SQR1_L_1 (0x2UL << ADC_SQR1_L_Pos)
1735#define ADC_SQR1_L_2 (0x4UL << ADC_SQR1_L_Pos)
1736#define ADC_SQR1_L_3 (0x8UL << ADC_SQR1_L_Pos)
1738/******************* Bit definition for ADC_SQR2 register *******************/
1739#define ADC_SQR2_SQ7_Pos (0U)
1740#define ADC_SQR2_SQ7_Msk (0x1FUL << ADC_SQR2_SQ7_Pos)
1741#define ADC_SQR2_SQ7 ADC_SQR2_SQ7_Msk
1742#define ADC_SQR2_SQ7_0 (0x01UL << ADC_SQR2_SQ7_Pos)
1743#define ADC_SQR2_SQ7_1 (0x02UL << ADC_SQR2_SQ7_Pos)
1744#define ADC_SQR2_SQ7_2 (0x04UL << ADC_SQR2_SQ7_Pos)
1745#define ADC_SQR2_SQ7_3 (0x08UL << ADC_SQR2_SQ7_Pos)
1746#define ADC_SQR2_SQ7_4 (0x10UL << ADC_SQR2_SQ7_Pos)
1747#define ADC_SQR2_SQ8_Pos (5U)
1748#define ADC_SQR2_SQ8_Msk (0x1FUL << ADC_SQR2_SQ8_Pos)
1749#define ADC_SQR2_SQ8 ADC_SQR2_SQ8_Msk
1750#define ADC_SQR2_SQ8_0 (0x01UL << ADC_SQR2_SQ8_Pos)
1751#define ADC_SQR2_SQ8_1 (0x02UL << ADC_SQR2_SQ8_Pos)
1752#define ADC_SQR2_SQ8_2 (0x04UL << ADC_SQR2_SQ8_Pos)
1753#define ADC_SQR2_SQ8_3 (0x08UL << ADC_SQR2_SQ8_Pos)
1754#define ADC_SQR2_SQ8_4 (0x10UL << ADC_SQR2_SQ8_Pos)
1755#define ADC_SQR2_SQ9_Pos (10U)
1756#define ADC_SQR2_SQ9_Msk (0x1FUL << ADC_SQR2_SQ9_Pos)
1757#define ADC_SQR2_SQ9 ADC_SQR2_SQ9_Msk
1758#define ADC_SQR2_SQ9_0 (0x01UL << ADC_SQR2_SQ9_Pos)
1759#define ADC_SQR2_SQ9_1 (0x02UL << ADC_SQR2_SQ9_Pos)
1760#define ADC_SQR2_SQ9_2 (0x04UL << ADC_SQR2_SQ9_Pos)
1761#define ADC_SQR2_SQ9_3 (0x08UL << ADC_SQR2_SQ9_Pos)
1762#define ADC_SQR2_SQ9_4 (0x10UL << ADC_SQR2_SQ9_Pos)
1763#define ADC_SQR2_SQ10_Pos (15U)
1764#define ADC_SQR2_SQ10_Msk (0x1FUL << ADC_SQR2_SQ10_Pos)
1765#define ADC_SQR2_SQ10 ADC_SQR2_SQ10_Msk
1766#define ADC_SQR2_SQ10_0 (0x01UL << ADC_SQR2_SQ10_Pos)
1767#define ADC_SQR2_SQ10_1 (0x02UL << ADC_SQR2_SQ10_Pos)
1768#define ADC_SQR2_SQ10_2 (0x04UL << ADC_SQR2_SQ10_Pos)
1769#define ADC_SQR2_SQ10_3 (0x08UL << ADC_SQR2_SQ10_Pos)
1770#define ADC_SQR2_SQ10_4 (0x10UL << ADC_SQR2_SQ10_Pos)
1771#define ADC_SQR2_SQ11_Pos (20U)
1772#define ADC_SQR2_SQ11_Msk (0x1FUL << ADC_SQR2_SQ11_Pos)
1773#define ADC_SQR2_SQ11 ADC_SQR2_SQ11_Msk
1774#define ADC_SQR2_SQ11_0 (0x01UL << ADC_SQR2_SQ11_Pos)
1775#define ADC_SQR2_SQ11_1 (0x02UL << ADC_SQR2_SQ11_Pos)
1776#define ADC_SQR2_SQ11_2 (0x04UL << ADC_SQR2_SQ11_Pos)
1777#define ADC_SQR2_SQ11_3 (0x08UL << ADC_SQR2_SQ11_Pos)
1778#define ADC_SQR2_SQ11_4 (0x10UL << ADC_SQR2_SQ11_Pos)
1779#define ADC_SQR2_SQ12_Pos (25U)
1780#define ADC_SQR2_SQ12_Msk (0x1FUL << ADC_SQR2_SQ12_Pos)
1781#define ADC_SQR2_SQ12 ADC_SQR2_SQ12_Msk
1782#define ADC_SQR2_SQ12_0 (0x01UL << ADC_SQR2_SQ12_Pos)
1783#define ADC_SQR2_SQ12_1 (0x02UL << ADC_SQR2_SQ12_Pos)
1784#define ADC_SQR2_SQ12_2 (0x04UL << ADC_SQR2_SQ12_Pos)
1785#define ADC_SQR2_SQ12_3 (0x08UL << ADC_SQR2_SQ12_Pos)
1786#define ADC_SQR2_SQ12_4 (0x10UL << ADC_SQR2_SQ12_Pos)
1788/******************* Bit definition for ADC_SQR3 register *******************/
1789#define ADC_SQR3_SQ1_Pos (0U)
1790#define ADC_SQR3_SQ1_Msk (0x1FUL << ADC_SQR3_SQ1_Pos)
1791#define ADC_SQR3_SQ1 ADC_SQR3_SQ1_Msk
1792#define ADC_SQR3_SQ1_0 (0x01UL << ADC_SQR3_SQ1_Pos)
1793#define ADC_SQR3_SQ1_1 (0x02UL << ADC_SQR3_SQ1_Pos)
1794#define ADC_SQR3_SQ1_2 (0x04UL << ADC_SQR3_SQ1_Pos)
1795#define ADC_SQR3_SQ1_3 (0x08UL << ADC_SQR3_SQ1_Pos)
1796#define ADC_SQR3_SQ1_4 (0x10UL << ADC_SQR3_SQ1_Pos)
1797#define ADC_SQR3_SQ2_Pos (5U)
1798#define ADC_SQR3_SQ2_Msk (0x1FUL << ADC_SQR3_SQ2_Pos)
1799#define ADC_SQR3_SQ2 ADC_SQR3_SQ2_Msk
1800#define ADC_SQR3_SQ2_0 (0x01UL << ADC_SQR3_SQ2_Pos)
1801#define ADC_SQR3_SQ2_1 (0x02UL << ADC_SQR3_SQ2_Pos)
1802#define ADC_SQR3_SQ2_2 (0x04UL << ADC_SQR3_SQ2_Pos)
1803#define ADC_SQR3_SQ2_3 (0x08UL << ADC_SQR3_SQ2_Pos)
1804#define ADC_SQR3_SQ2_4 (0x10UL << ADC_SQR3_SQ2_Pos)
1805#define ADC_SQR3_SQ3_Pos (10U)
1806#define ADC_SQR3_SQ3_Msk (0x1FUL << ADC_SQR3_SQ3_Pos)
1807#define ADC_SQR3_SQ3 ADC_SQR3_SQ3_Msk
1808#define ADC_SQR3_SQ3_0 (0x01UL << ADC_SQR3_SQ3_Pos)
1809#define ADC_SQR3_SQ3_1 (0x02UL << ADC_SQR3_SQ3_Pos)
1810#define ADC_SQR3_SQ3_2 (0x04UL << ADC_SQR3_SQ3_Pos)
1811#define ADC_SQR3_SQ3_3 (0x08UL << ADC_SQR3_SQ3_Pos)
1812#define ADC_SQR3_SQ3_4 (0x10UL << ADC_SQR3_SQ3_Pos)
1813#define ADC_SQR3_SQ4_Pos (15U)
1814#define ADC_SQR3_SQ4_Msk (0x1FUL << ADC_SQR3_SQ4_Pos)
1815#define ADC_SQR3_SQ4 ADC_SQR3_SQ4_Msk
1816#define ADC_SQR3_SQ4_0 (0x01UL << ADC_SQR3_SQ4_Pos)
1817#define ADC_SQR3_SQ4_1 (0x02UL << ADC_SQR3_SQ4_Pos)
1818#define ADC_SQR3_SQ4_2 (0x04UL << ADC_SQR3_SQ4_Pos)
1819#define ADC_SQR3_SQ4_3 (0x08UL << ADC_SQR3_SQ4_Pos)
1820#define ADC_SQR3_SQ4_4 (0x10UL << ADC_SQR3_SQ4_Pos)
1821#define ADC_SQR3_SQ5_Pos (20U)
1822#define ADC_SQR3_SQ5_Msk (0x1FUL << ADC_SQR3_SQ5_Pos)
1823#define ADC_SQR3_SQ5 ADC_SQR3_SQ5_Msk
1824#define ADC_SQR3_SQ5_0 (0x01UL << ADC_SQR3_SQ5_Pos)
1825#define ADC_SQR3_SQ5_1 (0x02UL << ADC_SQR3_SQ5_Pos)
1826#define ADC_SQR3_SQ5_2 (0x04UL << ADC_SQR3_SQ5_Pos)
1827#define ADC_SQR3_SQ5_3 (0x08UL << ADC_SQR3_SQ5_Pos)
1828#define ADC_SQR3_SQ5_4 (0x10UL << ADC_SQR3_SQ5_Pos)
1829#define ADC_SQR3_SQ6_Pos (25U)
1830#define ADC_SQR3_SQ6_Msk (0x1FUL << ADC_SQR3_SQ6_Pos)
1831#define ADC_SQR3_SQ6 ADC_SQR3_SQ6_Msk
1832#define ADC_SQR3_SQ6_0 (0x01UL << ADC_SQR3_SQ6_Pos)
1833#define ADC_SQR3_SQ6_1 (0x02UL << ADC_SQR3_SQ6_Pos)
1834#define ADC_SQR3_SQ6_2 (0x04UL << ADC_SQR3_SQ6_Pos)
1835#define ADC_SQR3_SQ6_3 (0x08UL << ADC_SQR3_SQ6_Pos)
1836#define ADC_SQR3_SQ6_4 (0x10UL << ADC_SQR3_SQ6_Pos)
1838/******************* Bit definition for ADC_JSQR register *******************/
1839#define ADC_JSQR_JSQ1_Pos (0U)
1840#define ADC_JSQR_JSQ1_Msk (0x1FUL << ADC_JSQR_JSQ1_Pos)
1841#define ADC_JSQR_JSQ1 ADC_JSQR_JSQ1_Msk
1842#define ADC_JSQR_JSQ1_0 (0x01UL << ADC_JSQR_JSQ1_Pos)
1843#define ADC_JSQR_JSQ1_1 (0x02UL << ADC_JSQR_JSQ1_Pos)
1844#define ADC_JSQR_JSQ1_2 (0x04UL << ADC_JSQR_JSQ1_Pos)
1845#define ADC_JSQR_JSQ1_3 (0x08UL << ADC_JSQR_JSQ1_Pos)
1846#define ADC_JSQR_JSQ1_4 (0x10UL << ADC_JSQR_JSQ1_Pos)
1847#define ADC_JSQR_JSQ2_Pos (5U)
1848#define ADC_JSQR_JSQ2_Msk (0x1FUL << ADC_JSQR_JSQ2_Pos)
1849#define ADC_JSQR_JSQ2 ADC_JSQR_JSQ2_Msk
1850#define ADC_JSQR_JSQ2_0 (0x01UL << ADC_JSQR_JSQ2_Pos)
1851#define ADC_JSQR_JSQ2_1 (0x02UL << ADC_JSQR_JSQ2_Pos)
1852#define ADC_JSQR_JSQ2_2 (0x04UL << ADC_JSQR_JSQ2_Pos)
1853#define ADC_JSQR_JSQ2_3 (0x08UL << ADC_JSQR_JSQ2_Pos)
1854#define ADC_JSQR_JSQ2_4 (0x10UL << ADC_JSQR_JSQ2_Pos)
1855#define ADC_JSQR_JSQ3_Pos (10U)
1856#define ADC_JSQR_JSQ3_Msk (0x1FUL << ADC_JSQR_JSQ3_Pos)
1857#define ADC_JSQR_JSQ3 ADC_JSQR_JSQ3_Msk
1858#define ADC_JSQR_JSQ3_0 (0x01UL << ADC_JSQR_JSQ3_Pos)
1859#define ADC_JSQR_JSQ3_1 (0x02UL << ADC_JSQR_JSQ3_Pos)
1860#define ADC_JSQR_JSQ3_2 (0x04UL << ADC_JSQR_JSQ3_Pos)
1861#define ADC_JSQR_JSQ3_3 (0x08UL << ADC_JSQR_JSQ3_Pos)
1862#define ADC_JSQR_JSQ3_4 (0x10UL << ADC_JSQR_JSQ3_Pos)
1863#define ADC_JSQR_JSQ4_Pos (15U)
1864#define ADC_JSQR_JSQ4_Msk (0x1FUL << ADC_JSQR_JSQ4_Pos)
1865#define ADC_JSQR_JSQ4 ADC_JSQR_JSQ4_Msk
1866#define ADC_JSQR_JSQ4_0 (0x01UL << ADC_JSQR_JSQ4_Pos)
1867#define ADC_JSQR_JSQ4_1 (0x02UL << ADC_JSQR_JSQ4_Pos)
1868#define ADC_JSQR_JSQ4_2 (0x04UL << ADC_JSQR_JSQ4_Pos)
1869#define ADC_JSQR_JSQ4_3 (0x08UL << ADC_JSQR_JSQ4_Pos)
1870#define ADC_JSQR_JSQ4_4 (0x10UL << ADC_JSQR_JSQ4_Pos)
1871#define ADC_JSQR_JL_Pos (20U)
1872#define ADC_JSQR_JL_Msk (0x3UL << ADC_JSQR_JL_Pos)
1873#define ADC_JSQR_JL ADC_JSQR_JL_Msk
1874#define ADC_JSQR_JL_0 (0x1UL << ADC_JSQR_JL_Pos)
1875#define ADC_JSQR_JL_1 (0x2UL << ADC_JSQR_JL_Pos)
1877/******************* Bit definition for ADC_JDR1 register *******************/
1878#define ADC_JDR1_JDATA ((uint16_t)0xFFFFU)
1880/******************* Bit definition for ADC_JDR2 register *******************/
1881#define ADC_JDR2_JDATA ((uint16_t)0xFFFFU)
1883/******************* Bit definition for ADC_JDR3 register *******************/
1884#define ADC_JDR3_JDATA ((uint16_t)0xFFFFU)
1886/******************* Bit definition for ADC_JDR4 register *******************/
1887#define ADC_JDR4_JDATA ((uint16_t)0xFFFFU)
1889/******************** Bit definition for ADC_DR register ********************/
1890#define ADC_DR_DATA_Pos (0U)
1891#define ADC_DR_DATA_Msk (0xFFFFUL << ADC_DR_DATA_Pos)
1892#define ADC_DR_DATA ADC_DR_DATA_Msk
1893#define ADC_DR_ADC2DATA_Pos (16U)
1894#define ADC_DR_ADC2DATA_Msk (0xFFFFUL << ADC_DR_ADC2DATA_Pos)
1895#define ADC_DR_ADC2DATA ADC_DR_ADC2DATA_Msk
1897/******************* Bit definition for ADC_CSR register ********************/
1898#define ADC_CSR_AWD1_Pos (0U)
1899#define ADC_CSR_AWD1_Msk (0x1UL << ADC_CSR_AWD1_Pos)
1900#define ADC_CSR_AWD1 ADC_CSR_AWD1_Msk
1901#define ADC_CSR_EOC1_Pos (1U)
1902#define ADC_CSR_EOC1_Msk (0x1UL << ADC_CSR_EOC1_Pos)
1903#define ADC_CSR_EOC1 ADC_CSR_EOC1_Msk
1904#define ADC_CSR_JEOC1_Pos (2U)
1905#define ADC_CSR_JEOC1_Msk (0x1UL << ADC_CSR_JEOC1_Pos)
1906#define ADC_CSR_JEOC1 ADC_CSR_JEOC1_Msk
1907#define ADC_CSR_JSTRT1_Pos (3U)
1908#define ADC_CSR_JSTRT1_Msk (0x1UL << ADC_CSR_JSTRT1_Pos)
1909#define ADC_CSR_JSTRT1 ADC_CSR_JSTRT1_Msk
1910#define ADC_CSR_STRT1_Pos (4U)
1911#define ADC_CSR_STRT1_Msk (0x1UL << ADC_CSR_STRT1_Pos)
1912#define ADC_CSR_STRT1 ADC_CSR_STRT1_Msk
1913#define ADC_CSR_OVR1_Pos (5U)
1914#define ADC_CSR_OVR1_Msk (0x1UL << ADC_CSR_OVR1_Pos)
1915#define ADC_CSR_OVR1 ADC_CSR_OVR1_Msk
1916#define ADC_CSR_AWD2_Pos (8U)
1917#define ADC_CSR_AWD2_Msk (0x1UL << ADC_CSR_AWD2_Pos)
1918#define ADC_CSR_AWD2 ADC_CSR_AWD2_Msk
1919#define ADC_CSR_EOC2_Pos (9U)
1920#define ADC_CSR_EOC2_Msk (0x1UL << ADC_CSR_EOC2_Pos)
1921#define ADC_CSR_EOC2 ADC_CSR_EOC2_Msk
1922#define ADC_CSR_JEOC2_Pos (10U)
1923#define ADC_CSR_JEOC2_Msk (0x1UL << ADC_CSR_JEOC2_Pos)
1924#define ADC_CSR_JEOC2 ADC_CSR_JEOC2_Msk
1925#define ADC_CSR_JSTRT2_Pos (11U)
1926#define ADC_CSR_JSTRT2_Msk (0x1UL << ADC_CSR_JSTRT2_Pos)
1927#define ADC_CSR_JSTRT2 ADC_CSR_JSTRT2_Msk
1928#define ADC_CSR_STRT2_Pos (12U)
1929#define ADC_CSR_STRT2_Msk (0x1UL << ADC_CSR_STRT2_Pos)
1930#define ADC_CSR_STRT2 ADC_CSR_STRT2_Msk
1931#define ADC_CSR_OVR2_Pos (13U)
1932#define ADC_CSR_OVR2_Msk (0x1UL << ADC_CSR_OVR2_Pos)
1933#define ADC_CSR_OVR2 ADC_CSR_OVR2_Msk
1934#define ADC_CSR_AWD3_Pos (16U)
1935#define ADC_CSR_AWD3_Msk (0x1UL << ADC_CSR_AWD3_Pos)
1936#define ADC_CSR_AWD3 ADC_CSR_AWD3_Msk
1937#define ADC_CSR_EOC3_Pos (17U)
1938#define ADC_CSR_EOC3_Msk (0x1UL << ADC_CSR_EOC3_Pos)
1939#define ADC_CSR_EOC3 ADC_CSR_EOC3_Msk
1940#define ADC_CSR_JEOC3_Pos (18U)
1941#define ADC_CSR_JEOC3_Msk (0x1UL << ADC_CSR_JEOC3_Pos)
1942#define ADC_CSR_JEOC3 ADC_CSR_JEOC3_Msk
1943#define ADC_CSR_JSTRT3_Pos (19U)
1944#define ADC_CSR_JSTRT3_Msk (0x1UL << ADC_CSR_JSTRT3_Pos)
1945#define ADC_CSR_JSTRT3 ADC_CSR_JSTRT3_Msk
1946#define ADC_CSR_STRT3_Pos (20U)
1947#define ADC_CSR_STRT3_Msk (0x1UL << ADC_CSR_STRT3_Pos)
1948#define ADC_CSR_STRT3 ADC_CSR_STRT3_Msk
1949#define ADC_CSR_OVR3_Pos (21U)
1950#define ADC_CSR_OVR3_Msk (0x1UL << ADC_CSR_OVR3_Pos)
1951#define ADC_CSR_OVR3 ADC_CSR_OVR3_Msk
1953/* Legacy defines */
1954#define ADC_CSR_DOVR1 ADC_CSR_OVR1
1955#define ADC_CSR_DOVR2 ADC_CSR_OVR2
1956#define ADC_CSR_DOVR3 ADC_CSR_OVR3
1957
1958
1959/******************* Bit definition for ADC_CCR register ********************/
1960#define ADC_CCR_MULTI_Pos (0U)
1961#define ADC_CCR_MULTI_Msk (0x1FUL << ADC_CCR_MULTI_Pos)
1962#define ADC_CCR_MULTI ADC_CCR_MULTI_Msk
1963#define ADC_CCR_MULTI_0 (0x01UL << ADC_CCR_MULTI_Pos)
1964#define ADC_CCR_MULTI_1 (0x02UL << ADC_CCR_MULTI_Pos)
1965#define ADC_CCR_MULTI_2 (0x04UL << ADC_CCR_MULTI_Pos)
1966#define ADC_CCR_MULTI_3 (0x08UL << ADC_CCR_MULTI_Pos)
1967#define ADC_CCR_MULTI_4 (0x10UL << ADC_CCR_MULTI_Pos)
1968#define ADC_CCR_DELAY_Pos (8U)
1969#define ADC_CCR_DELAY_Msk (0xFUL << ADC_CCR_DELAY_Pos)
1970#define ADC_CCR_DELAY ADC_CCR_DELAY_Msk
1971#define ADC_CCR_DELAY_0 (0x1UL << ADC_CCR_DELAY_Pos)
1972#define ADC_CCR_DELAY_1 (0x2UL << ADC_CCR_DELAY_Pos)
1973#define ADC_CCR_DELAY_2 (0x4UL << ADC_CCR_DELAY_Pos)
1974#define ADC_CCR_DELAY_3 (0x8UL << ADC_CCR_DELAY_Pos)
1975#define ADC_CCR_DDS_Pos (13U)
1976#define ADC_CCR_DDS_Msk (0x1UL << ADC_CCR_DDS_Pos)
1977#define ADC_CCR_DDS ADC_CCR_DDS_Msk
1978#define ADC_CCR_DMA_Pos (14U)
1979#define ADC_CCR_DMA_Msk (0x3UL << ADC_CCR_DMA_Pos)
1980#define ADC_CCR_DMA ADC_CCR_DMA_Msk
1981#define ADC_CCR_DMA_0 (0x1UL << ADC_CCR_DMA_Pos)
1982#define ADC_CCR_DMA_1 (0x2UL << ADC_CCR_DMA_Pos)
1983#define ADC_CCR_ADCPRE_Pos (16U)
1984#define ADC_CCR_ADCPRE_Msk (0x3UL << ADC_CCR_ADCPRE_Pos)
1985#define ADC_CCR_ADCPRE ADC_CCR_ADCPRE_Msk
1986#define ADC_CCR_ADCPRE_0 (0x1UL << ADC_CCR_ADCPRE_Pos)
1987#define ADC_CCR_ADCPRE_1 (0x2UL << ADC_CCR_ADCPRE_Pos)
1988#define ADC_CCR_VBATE_Pos (22U)
1989#define ADC_CCR_VBATE_Msk (0x1UL << ADC_CCR_VBATE_Pos)
1990#define ADC_CCR_VBATE ADC_CCR_VBATE_Msk
1991#define ADC_CCR_TSVREFE_Pos (23U)
1992#define ADC_CCR_TSVREFE_Msk (0x1UL << ADC_CCR_TSVREFE_Pos)
1993#define ADC_CCR_TSVREFE ADC_CCR_TSVREFE_Msk
1995/******************* Bit definition for ADC_CDR register ********************/
1996#define ADC_CDR_DATA1_Pos (0U)
1997#define ADC_CDR_DATA1_Msk (0xFFFFUL << ADC_CDR_DATA1_Pos)
1998#define ADC_CDR_DATA1 ADC_CDR_DATA1_Msk
1999#define ADC_CDR_DATA2_Pos (16U)
2000#define ADC_CDR_DATA2_Msk (0xFFFFUL << ADC_CDR_DATA2_Pos)
2001#define ADC_CDR_DATA2 ADC_CDR_DATA2_Msk
2003/* Legacy defines */
2004#define ADC_CDR_RDATA_MST ADC_CDR_DATA1
2005#define ADC_CDR_RDATA_SLV ADC_CDR_DATA2
2006
2007/******************************************************************************/
2008/* */
2009/* Controller Area Network */
2010/* */
2011/******************************************************************************/
2013/******************* Bit definition for CAN_MCR register ********************/
2014#define CAN_MCR_INRQ_Pos (0U)
2015#define CAN_MCR_INRQ_Msk (0x1UL << CAN_MCR_INRQ_Pos)
2016#define CAN_MCR_INRQ CAN_MCR_INRQ_Msk
2017#define CAN_MCR_SLEEP_Pos (1U)
2018#define CAN_MCR_SLEEP_Msk (0x1UL << CAN_MCR_SLEEP_Pos)
2019#define CAN_MCR_SLEEP CAN_MCR_SLEEP_Msk
2020#define CAN_MCR_TXFP_Pos (2U)
2021#define CAN_MCR_TXFP_Msk (0x1UL << CAN_MCR_TXFP_Pos)
2022#define CAN_MCR_TXFP CAN_MCR_TXFP_Msk
2023#define CAN_MCR_RFLM_Pos (3U)
2024#define CAN_MCR_RFLM_Msk (0x1UL << CAN_MCR_RFLM_Pos)
2025#define CAN_MCR_RFLM CAN_MCR_RFLM_Msk
2026#define CAN_MCR_NART_Pos (4U)
2027#define CAN_MCR_NART_Msk (0x1UL << CAN_MCR_NART_Pos)
2028#define CAN_MCR_NART CAN_MCR_NART_Msk
2029#define CAN_MCR_AWUM_Pos (5U)
2030#define CAN_MCR_AWUM_Msk (0x1UL << CAN_MCR_AWUM_Pos)
2031#define CAN_MCR_AWUM CAN_MCR_AWUM_Msk
2032#define CAN_MCR_ABOM_Pos (6U)
2033#define CAN_MCR_ABOM_Msk (0x1UL << CAN_MCR_ABOM_Pos)
2034#define CAN_MCR_ABOM CAN_MCR_ABOM_Msk
2035#define CAN_MCR_TTCM_Pos (7U)
2036#define CAN_MCR_TTCM_Msk (0x1UL << CAN_MCR_TTCM_Pos)
2037#define CAN_MCR_TTCM CAN_MCR_TTCM_Msk
2038#define CAN_MCR_RESET_Pos (15U)
2039#define CAN_MCR_RESET_Msk (0x1UL << CAN_MCR_RESET_Pos)
2040#define CAN_MCR_RESET CAN_MCR_RESET_Msk
2042/******************* Bit definition for CAN_MSR register ********************/
2043#define CAN_MSR_INAK_Pos (0U)
2044#define CAN_MSR_INAK_Msk (0x1UL << CAN_MSR_INAK_Pos)
2045#define CAN_MSR_INAK CAN_MSR_INAK_Msk
2046#define CAN_MSR_SLAK_Pos (1U)
2047#define CAN_MSR_SLAK_Msk (0x1UL << CAN_MSR_SLAK_Pos)
2048#define CAN_MSR_SLAK CAN_MSR_SLAK_Msk
2049#define CAN_MSR_ERRI_Pos (2U)
2050#define CAN_MSR_ERRI_Msk (0x1UL << CAN_MSR_ERRI_Pos)
2051#define CAN_MSR_ERRI CAN_MSR_ERRI_Msk
2052#define CAN_MSR_WKUI_Pos (3U)
2053#define CAN_MSR_WKUI_Msk (0x1UL << CAN_MSR_WKUI_Pos)
2054#define CAN_MSR_WKUI CAN_MSR_WKUI_Msk
2055#define CAN_MSR_SLAKI_Pos (4U)
2056#define CAN_MSR_SLAKI_Msk (0x1UL << CAN_MSR_SLAKI_Pos)
2057#define CAN_MSR_SLAKI CAN_MSR_SLAKI_Msk
2058#define CAN_MSR_TXM_Pos (8U)
2059#define CAN_MSR_TXM_Msk (0x1UL << CAN_MSR_TXM_Pos)
2060#define CAN_MSR_TXM CAN_MSR_TXM_Msk
2061#define CAN_MSR_RXM_Pos (9U)
2062#define CAN_MSR_RXM_Msk (0x1UL << CAN_MSR_RXM_Pos)
2063#define CAN_MSR_RXM CAN_MSR_RXM_Msk
2064#define CAN_MSR_SAMP_Pos (10U)
2065#define CAN_MSR_SAMP_Msk (0x1UL << CAN_MSR_SAMP_Pos)
2066#define CAN_MSR_SAMP CAN_MSR_SAMP_Msk
2067#define CAN_MSR_RX_Pos (11U)
2068#define CAN_MSR_RX_Msk (0x1UL << CAN_MSR_RX_Pos)
2069#define CAN_MSR_RX CAN_MSR_RX_Msk
2071/******************* Bit definition for CAN_TSR register ********************/
2072#define CAN_TSR_RQCP0_Pos (0U)
2073#define CAN_TSR_RQCP0_Msk (0x1UL << CAN_TSR_RQCP0_Pos)
2074#define CAN_TSR_RQCP0 CAN_TSR_RQCP0_Msk
2075#define CAN_TSR_TXOK0_Pos (1U)
2076#define CAN_TSR_TXOK0_Msk (0x1UL << CAN_TSR_TXOK0_Pos)
2077#define CAN_TSR_TXOK0 CAN_TSR_TXOK0_Msk
2078#define CAN_TSR_ALST0_Pos (2U)
2079#define CAN_TSR_ALST0_Msk (0x1UL << CAN_TSR_ALST0_Pos)
2080#define CAN_TSR_ALST0 CAN_TSR_ALST0_Msk
2081#define CAN_TSR_TERR0_Pos (3U)
2082#define CAN_TSR_TERR0_Msk (0x1UL << CAN_TSR_TERR0_Pos)
2083#define CAN_TSR_TERR0 CAN_TSR_TERR0_Msk
2084#define CAN_TSR_ABRQ0_Pos (7U)
2085#define CAN_TSR_ABRQ0_Msk (0x1UL << CAN_TSR_ABRQ0_Pos)
2086#define CAN_TSR_ABRQ0 CAN_TSR_ABRQ0_Msk
2087#define CAN_TSR_RQCP1_Pos (8U)
2088#define CAN_TSR_RQCP1_Msk (0x1UL << CAN_TSR_RQCP1_Pos)
2089#define CAN_TSR_RQCP1 CAN_TSR_RQCP1_Msk
2090#define CAN_TSR_TXOK1_Pos (9U)
2091#define CAN_TSR_TXOK1_Msk (0x1UL << CAN_TSR_TXOK1_Pos)
2092#define CAN_TSR_TXOK1 CAN_TSR_TXOK1_Msk
2093#define CAN_TSR_ALST1_Pos (10U)
2094#define CAN_TSR_ALST1_Msk (0x1UL << CAN_TSR_ALST1_Pos)
2095#define CAN_TSR_ALST1 CAN_TSR_ALST1_Msk
2096#define CAN_TSR_TERR1_Pos (11U)
2097#define CAN_TSR_TERR1_Msk (0x1UL << CAN_TSR_TERR1_Pos)
2098#define CAN_TSR_TERR1 CAN_TSR_TERR1_Msk
2099#define CAN_TSR_ABRQ1_Pos (15U)
2100#define CAN_TSR_ABRQ1_Msk (0x1UL << CAN_TSR_ABRQ1_Pos)
2101#define CAN_TSR_ABRQ1 CAN_TSR_ABRQ1_Msk
2102#define CAN_TSR_RQCP2_Pos (16U)
2103#define CAN_TSR_RQCP2_Msk (0x1UL << CAN_TSR_RQCP2_Pos)
2104#define CAN_TSR_RQCP2 CAN_TSR_RQCP2_Msk
2105#define CAN_TSR_TXOK2_Pos (17U)
2106#define CAN_TSR_TXOK2_Msk (0x1UL << CAN_TSR_TXOK2_Pos)
2107#define CAN_TSR_TXOK2 CAN_TSR_TXOK2_Msk
2108#define CAN_TSR_ALST2_Pos (18U)
2109#define CAN_TSR_ALST2_Msk (0x1UL << CAN_TSR_ALST2_Pos)
2110#define CAN_TSR_ALST2 CAN_TSR_ALST2_Msk
2111#define CAN_TSR_TERR2_Pos (19U)
2112#define CAN_TSR_TERR2_Msk (0x1UL << CAN_TSR_TERR2_Pos)
2113#define CAN_TSR_TERR2 CAN_TSR_TERR2_Msk
2114#define CAN_TSR_ABRQ2_Pos (23U)
2115#define CAN_TSR_ABRQ2_Msk (0x1UL << CAN_TSR_ABRQ2_Pos)
2116#define CAN_TSR_ABRQ2 CAN_TSR_ABRQ2_Msk
2117#define CAN_TSR_CODE_Pos (24U)
2118#define CAN_TSR_CODE_Msk (0x3UL << CAN_TSR_CODE_Pos)
2119#define CAN_TSR_CODE CAN_TSR_CODE_Msk
2121#define CAN_TSR_TME_Pos (26U)
2122#define CAN_TSR_TME_Msk (0x7UL << CAN_TSR_TME_Pos)
2123#define CAN_TSR_TME CAN_TSR_TME_Msk
2124#define CAN_TSR_TME0_Pos (26U)
2125#define CAN_TSR_TME0_Msk (0x1UL << CAN_TSR_TME0_Pos)
2126#define CAN_TSR_TME0 CAN_TSR_TME0_Msk
2127#define CAN_TSR_TME1_Pos (27U)
2128#define CAN_TSR_TME1_Msk (0x1UL << CAN_TSR_TME1_Pos)
2129#define CAN_TSR_TME1 CAN_TSR_TME1_Msk
2130#define CAN_TSR_TME2_Pos (28U)
2131#define CAN_TSR_TME2_Msk (0x1UL << CAN_TSR_TME2_Pos)
2132#define CAN_TSR_TME2 CAN_TSR_TME2_Msk
2134#define CAN_TSR_LOW_Pos (29U)
2135#define CAN_TSR_LOW_Msk (0x7UL << CAN_TSR_LOW_Pos)
2136#define CAN_TSR_LOW CAN_TSR_LOW_Msk
2137#define CAN_TSR_LOW0_Pos (29U)
2138#define CAN_TSR_LOW0_Msk (0x1UL << CAN_TSR_LOW0_Pos)
2139#define CAN_TSR_LOW0 CAN_TSR_LOW0_Msk
2140#define CAN_TSR_LOW1_Pos (30U)
2141#define CAN_TSR_LOW1_Msk (0x1UL << CAN_TSR_LOW1_Pos)
2142#define CAN_TSR_LOW1 CAN_TSR_LOW1_Msk
2143#define CAN_TSR_LOW2_Pos (31U)
2144#define CAN_TSR_LOW2_Msk (0x1UL << CAN_TSR_LOW2_Pos)
2145#define CAN_TSR_LOW2 CAN_TSR_LOW2_Msk
2147/******************* Bit definition for CAN_RF0R register *******************/
2148#define CAN_RF0R_FMP0_Pos (0U)
2149#define CAN_RF0R_FMP0_Msk (0x3UL << CAN_RF0R_FMP0_Pos)
2150#define CAN_RF0R_FMP0 CAN_RF0R_FMP0_Msk
2151#define CAN_RF0R_FULL0_Pos (3U)
2152#define CAN_RF0R_FULL0_Msk (0x1UL << CAN_RF0R_FULL0_Pos)
2153#define CAN_RF0R_FULL0 CAN_RF0R_FULL0_Msk
2154#define CAN_RF0R_FOVR0_Pos (4U)
2155#define CAN_RF0R_FOVR0_Msk (0x1UL << CAN_RF0R_FOVR0_Pos)
2156#define CAN_RF0R_FOVR0 CAN_RF0R_FOVR0_Msk
2157#define CAN_RF0R_RFOM0_Pos (5U)
2158#define CAN_RF0R_RFOM0_Msk (0x1UL << CAN_RF0R_RFOM0_Pos)
2159#define CAN_RF0R_RFOM0 CAN_RF0R_RFOM0_Msk
2161/******************* Bit definition for CAN_RF1R register *******************/
2162#define CAN_RF1R_FMP1_Pos (0U)
2163#define CAN_RF1R_FMP1_Msk (0x3UL << CAN_RF1R_FMP1_Pos)
2164#define CAN_RF1R_FMP1 CAN_RF1R_FMP1_Msk
2165#define CAN_RF1R_FULL1_Pos (3U)
2166#define CAN_RF1R_FULL1_Msk (0x1UL << CAN_RF1R_FULL1_Pos)
2167#define CAN_RF1R_FULL1 CAN_RF1R_FULL1_Msk
2168#define CAN_RF1R_FOVR1_Pos (4U)
2169#define CAN_RF1R_FOVR1_Msk (0x1UL << CAN_RF1R_FOVR1_Pos)
2170#define CAN_RF1R_FOVR1 CAN_RF1R_FOVR1_Msk
2171#define CAN_RF1R_RFOM1_Pos (5U)
2172#define CAN_RF1R_RFOM1_Msk (0x1UL << CAN_RF1R_RFOM1_Pos)
2173#define CAN_RF1R_RFOM1 CAN_RF1R_RFOM1_Msk
2175/******************** Bit definition for CAN_IER register *******************/
2176#define CAN_IER_TMEIE_Pos (0U)
2177#define CAN_IER_TMEIE_Msk (0x1UL << CAN_IER_TMEIE_Pos)
2178#define CAN_IER_TMEIE CAN_IER_TMEIE_Msk
2179#define CAN_IER_FMPIE0_Pos (1U)
2180#define CAN_IER_FMPIE0_Msk (0x1UL << CAN_IER_FMPIE0_Pos)
2181#define CAN_IER_FMPIE0 CAN_IER_FMPIE0_Msk
2182#define CAN_IER_FFIE0_Pos (2U)
2183#define CAN_IER_FFIE0_Msk (0x1UL << CAN_IER_FFIE0_Pos)
2184#define CAN_IER_FFIE0 CAN_IER_FFIE0_Msk
2185#define CAN_IER_FOVIE0_Pos (3U)
2186#define CAN_IER_FOVIE0_Msk (0x1UL << CAN_IER_FOVIE0_Pos)
2187#define CAN_IER_FOVIE0 CAN_IER_FOVIE0_Msk
2188#define CAN_IER_FMPIE1_Pos (4U)
2189#define CAN_IER_FMPIE1_Msk (0x1UL << CAN_IER_FMPIE1_Pos)
2190#define CAN_IER_FMPIE1 CAN_IER_FMPIE1_Msk
2191#define CAN_IER_FFIE1_Pos (5U)
2192#define CAN_IER_FFIE1_Msk (0x1UL << CAN_IER_FFIE1_Pos)
2193#define CAN_IER_FFIE1 CAN_IER_FFIE1_Msk
2194#define CAN_IER_FOVIE1_Pos (6U)
2195#define CAN_IER_FOVIE1_Msk (0x1UL << CAN_IER_FOVIE1_Pos)
2196#define CAN_IER_FOVIE1 CAN_IER_FOVIE1_Msk
2197#define CAN_IER_EWGIE_Pos (8U)
2198#define CAN_IER_EWGIE_Msk (0x1UL << CAN_IER_EWGIE_Pos)
2199#define CAN_IER_EWGIE CAN_IER_EWGIE_Msk
2200#define CAN_IER_EPVIE_Pos (9U)
2201#define CAN_IER_EPVIE_Msk (0x1UL << CAN_IER_EPVIE_Pos)
2202#define CAN_IER_EPVIE CAN_IER_EPVIE_Msk
2203#define CAN_IER_BOFIE_Pos (10U)
2204#define CAN_IER_BOFIE_Msk (0x1UL << CAN_IER_BOFIE_Pos)
2205#define CAN_IER_BOFIE CAN_IER_BOFIE_Msk
2206#define CAN_IER_LECIE_Pos (11U)
2207#define CAN_IER_LECIE_Msk (0x1UL << CAN_IER_LECIE_Pos)
2208#define CAN_IER_LECIE CAN_IER_LECIE_Msk
2209#define CAN_IER_ERRIE_Pos (15U)
2210#define CAN_IER_ERRIE_Msk (0x1UL << CAN_IER_ERRIE_Pos)
2211#define CAN_IER_ERRIE CAN_IER_ERRIE_Msk
2212#define CAN_IER_WKUIE_Pos (16U)
2213#define CAN_IER_WKUIE_Msk (0x1UL << CAN_IER_WKUIE_Pos)
2214#define CAN_IER_WKUIE CAN_IER_WKUIE_Msk
2215#define CAN_IER_SLKIE_Pos (17U)
2216#define CAN_IER_SLKIE_Msk (0x1UL << CAN_IER_SLKIE_Pos)
2217#define CAN_IER_SLKIE CAN_IER_SLKIE_Msk
2219/******************** Bit definition for CAN_ESR register *******************/
2220#define CAN_ESR_EWGF_Pos (0U)
2221#define CAN_ESR_EWGF_Msk (0x1UL << CAN_ESR_EWGF_Pos)
2222#define CAN_ESR_EWGF CAN_ESR_EWGF_Msk
2223#define CAN_ESR_EPVF_Pos (1U)
2224#define CAN_ESR_EPVF_Msk (0x1UL << CAN_ESR_EPVF_Pos)
2225#define CAN_ESR_EPVF CAN_ESR_EPVF_Msk
2226#define CAN_ESR_BOFF_Pos (2U)
2227#define CAN_ESR_BOFF_Msk (0x1UL << CAN_ESR_BOFF_Pos)
2228#define CAN_ESR_BOFF CAN_ESR_BOFF_Msk
2230#define CAN_ESR_LEC_Pos (4U)
2231#define CAN_ESR_LEC_Msk (0x7UL << CAN_ESR_LEC_Pos)
2232#define CAN_ESR_LEC CAN_ESR_LEC_Msk
2233#define CAN_ESR_LEC_0 (0x1UL << CAN_ESR_LEC_Pos)
2234#define CAN_ESR_LEC_1 (0x2UL << CAN_ESR_LEC_Pos)
2235#define CAN_ESR_LEC_2 (0x4UL << CAN_ESR_LEC_Pos)
2237#define CAN_ESR_TEC_Pos (16U)
2238#define CAN_ESR_TEC_Msk (0xFFUL << CAN_ESR_TEC_Pos)
2239#define CAN_ESR_TEC CAN_ESR_TEC_Msk
2240#define CAN_ESR_REC_Pos (24U)
2241#define CAN_ESR_REC_Msk (0xFFUL << CAN_ESR_REC_Pos)
2242#define CAN_ESR_REC CAN_ESR_REC_Msk
2244/******************* Bit definition for CAN_BTR register ********************/
2245#define CAN_BTR_BRP_Pos (0U)
2246#define CAN_BTR_BRP_Msk (0x3FFUL << CAN_BTR_BRP_Pos)
2247#define CAN_BTR_BRP CAN_BTR_BRP_Msk
2248#define CAN_BTR_TS1_Pos (16U)
2249#define CAN_BTR_TS1_Msk (0xFUL << CAN_BTR_TS1_Pos)
2250#define CAN_BTR_TS1 CAN_BTR_TS1_Msk
2251#define CAN_BTR_TS1_0 (0x1UL << CAN_BTR_TS1_Pos)
2252#define CAN_BTR_TS1_1 (0x2UL << CAN_BTR_TS1_Pos)
2253#define CAN_BTR_TS1_2 (0x4UL << CAN_BTR_TS1_Pos)
2254#define CAN_BTR_TS1_3 (0x8UL << CAN_BTR_TS1_Pos)
2255#define CAN_BTR_TS2_Pos (20U)
2256#define CAN_BTR_TS2_Msk (0x7UL << CAN_BTR_TS2_Pos)
2257#define CAN_BTR_TS2 CAN_BTR_TS2_Msk
2258#define CAN_BTR_TS2_0 (0x1UL << CAN_BTR_TS2_Pos)
2259#define CAN_BTR_TS2_1 (0x2UL << CAN_BTR_TS2_Pos)
2260#define CAN_BTR_TS2_2 (0x4UL << CAN_BTR_TS2_Pos)
2261#define CAN_BTR_SJW_Pos (24U)
2262#define CAN_BTR_SJW_Msk (0x3UL << CAN_BTR_SJW_Pos)
2263#define CAN_BTR_SJW CAN_BTR_SJW_Msk
2264#define CAN_BTR_SJW_0 (0x1UL << CAN_BTR_SJW_Pos)
2265#define CAN_BTR_SJW_1 (0x2UL << CAN_BTR_SJW_Pos)
2266#define CAN_BTR_LBKM_Pos (30U)
2267#define CAN_BTR_LBKM_Msk (0x1UL << CAN_BTR_LBKM_Pos)
2268#define CAN_BTR_LBKM CAN_BTR_LBKM_Msk
2269#define CAN_BTR_SILM_Pos (31U)
2270#define CAN_BTR_SILM_Msk (0x1UL << CAN_BTR_SILM_Pos)
2271#define CAN_BTR_SILM CAN_BTR_SILM_Msk
2274/****************** Bit definition for CAN_TI0R register ********************/
2275#define CAN_TI0R_TXRQ_Pos (0U)
2276#define CAN_TI0R_TXRQ_Msk (0x1UL << CAN_TI0R_TXRQ_Pos)
2277#define CAN_TI0R_TXRQ CAN_TI0R_TXRQ_Msk
2278#define CAN_TI0R_RTR_Pos (1U)
2279#define CAN_TI0R_RTR_Msk (0x1UL << CAN_TI0R_RTR_Pos)
2280#define CAN_TI0R_RTR CAN_TI0R_RTR_Msk
2281#define CAN_TI0R_IDE_Pos (2U)
2282#define CAN_TI0R_IDE_Msk (0x1UL << CAN_TI0R_IDE_Pos)
2283#define CAN_TI0R_IDE CAN_TI0R_IDE_Msk
2284#define CAN_TI0R_EXID_Pos (3U)
2285#define CAN_TI0R_EXID_Msk (0x3FFFFUL << CAN_TI0R_EXID_Pos)
2286#define CAN_TI0R_EXID CAN_TI0R_EXID_Msk
2287#define CAN_TI0R_STID_Pos (21U)
2288#define CAN_TI0R_STID_Msk (0x7FFUL << CAN_TI0R_STID_Pos)
2289#define CAN_TI0R_STID CAN_TI0R_STID_Msk
2291/****************** Bit definition for CAN_TDT0R register *******************/
2292#define CAN_TDT0R_DLC_Pos (0U)
2293#define CAN_TDT0R_DLC_Msk (0xFUL << CAN_TDT0R_DLC_Pos)
2294#define CAN_TDT0R_DLC CAN_TDT0R_DLC_Msk
2295#define CAN_TDT0R_TGT_Pos (8U)
2296#define CAN_TDT0R_TGT_Msk (0x1UL << CAN_TDT0R_TGT_Pos)
2297#define CAN_TDT0R_TGT CAN_TDT0R_TGT_Msk
2298#define CAN_TDT0R_TIME_Pos (16U)
2299#define CAN_TDT0R_TIME_Msk (0xFFFFUL << CAN_TDT0R_TIME_Pos)
2300#define CAN_TDT0R_TIME CAN_TDT0R_TIME_Msk
2302/****************** Bit definition for CAN_TDL0R register *******************/
2303#define CAN_TDL0R_DATA0_Pos (0U)
2304#define CAN_TDL0R_DATA0_Msk (0xFFUL << CAN_TDL0R_DATA0_Pos)
2305#define CAN_TDL0R_DATA0 CAN_TDL0R_DATA0_Msk
2306#define CAN_TDL0R_DATA1_Pos (8U)
2307#define CAN_TDL0R_DATA1_Msk (0xFFUL << CAN_TDL0R_DATA1_Pos)
2308#define CAN_TDL0R_DATA1 CAN_TDL0R_DATA1_Msk
2309#define CAN_TDL0R_DATA2_Pos (16U)
2310#define CAN_TDL0R_DATA2_Msk (0xFFUL << CAN_TDL0R_DATA2_Pos)
2311#define CAN_TDL0R_DATA2 CAN_TDL0R_DATA2_Msk
2312#define CAN_TDL0R_DATA3_Pos (24U)
2313#define CAN_TDL0R_DATA3_Msk (0xFFUL << CAN_TDL0R_DATA3_Pos)
2314#define CAN_TDL0R_DATA3 CAN_TDL0R_DATA3_Msk
2316/****************** Bit definition for CAN_TDH0R register *******************/
2317#define CAN_TDH0R_DATA4_Pos (0U)
2318#define CAN_TDH0R_DATA4_Msk (0xFFUL << CAN_TDH0R_DATA4_Pos)
2319#define CAN_TDH0R_DATA4 CAN_TDH0R_DATA4_Msk
2320#define CAN_TDH0R_DATA5_Pos (8U)
2321#define CAN_TDH0R_DATA5_Msk (0xFFUL << CAN_TDH0R_DATA5_Pos)
2322#define CAN_TDH0R_DATA5 CAN_TDH0R_DATA5_Msk
2323#define CAN_TDH0R_DATA6_Pos (16U)
2324#define CAN_TDH0R_DATA6_Msk (0xFFUL << CAN_TDH0R_DATA6_Pos)
2325#define CAN_TDH0R_DATA6 CAN_TDH0R_DATA6_Msk
2326#define CAN_TDH0R_DATA7_Pos (24U)
2327#define CAN_TDH0R_DATA7_Msk (0xFFUL << CAN_TDH0R_DATA7_Pos)
2328#define CAN_TDH0R_DATA7 CAN_TDH0R_DATA7_Msk
2330/******************* Bit definition for CAN_TI1R register *******************/
2331#define CAN_TI1R_TXRQ_Pos (0U)
2332#define CAN_TI1R_TXRQ_Msk (0x1UL << CAN_TI1R_TXRQ_Pos)
2333#define CAN_TI1R_TXRQ CAN_TI1R_TXRQ_Msk
2334#define CAN_TI1R_RTR_Pos (1U)
2335#define CAN_TI1R_RTR_Msk (0x1UL << CAN_TI1R_RTR_Pos)
2336#define CAN_TI1R_RTR CAN_TI1R_RTR_Msk
2337#define CAN_TI1R_IDE_Pos (2U)
2338#define CAN_TI1R_IDE_Msk (0x1UL << CAN_TI1R_IDE_Pos)
2339#define CAN_TI1R_IDE CAN_TI1R_IDE_Msk
2340#define CAN_TI1R_EXID_Pos (3U)
2341#define CAN_TI1R_EXID_Msk (0x3FFFFUL << CAN_TI1R_EXID_Pos)
2342#define CAN_TI1R_EXID CAN_TI1R_EXID_Msk
2343#define CAN_TI1R_STID_Pos (21U)
2344#define CAN_TI1R_STID_Msk (0x7FFUL << CAN_TI1R_STID_Pos)
2345#define CAN_TI1R_STID CAN_TI1R_STID_Msk
2347/******************* Bit definition for CAN_TDT1R register ******************/
2348#define CAN_TDT1R_DLC_Pos (0U)
2349#define CAN_TDT1R_DLC_Msk (0xFUL << CAN_TDT1R_DLC_Pos)
2350#define CAN_TDT1R_DLC CAN_TDT1R_DLC_Msk
2351#define CAN_TDT1R_TGT_Pos (8U)
2352#define CAN_TDT1R_TGT_Msk (0x1UL << CAN_TDT1R_TGT_Pos)
2353#define CAN_TDT1R_TGT CAN_TDT1R_TGT_Msk
2354#define CAN_TDT1R_TIME_Pos (16U)
2355#define CAN_TDT1R_TIME_Msk (0xFFFFUL << CAN_TDT1R_TIME_Pos)
2356#define CAN_TDT1R_TIME CAN_TDT1R_TIME_Msk
2358/******************* Bit definition for CAN_TDL1R register ******************/
2359#define CAN_TDL1R_DATA0_Pos (0U)
2360#define CAN_TDL1R_DATA0_Msk (0xFFUL << CAN_TDL1R_DATA0_Pos)
2361#define CAN_TDL1R_DATA0 CAN_TDL1R_DATA0_Msk
2362#define CAN_TDL1R_DATA1_Pos (8U)
2363#define CAN_TDL1R_DATA1_Msk (0xFFUL << CAN_TDL1R_DATA1_Pos)
2364#define CAN_TDL1R_DATA1 CAN_TDL1R_DATA1_Msk
2365#define CAN_TDL1R_DATA2_Pos (16U)
2366#define CAN_TDL1R_DATA2_Msk (0xFFUL << CAN_TDL1R_DATA2_Pos)
2367#define CAN_TDL1R_DATA2 CAN_TDL1R_DATA2_Msk
2368#define CAN_TDL1R_DATA3_Pos (24U)
2369#define CAN_TDL1R_DATA3_Msk (0xFFUL << CAN_TDL1R_DATA3_Pos)
2370#define CAN_TDL1R_DATA3 CAN_TDL1R_DATA3_Msk
2372/******************* Bit definition for CAN_TDH1R register ******************/
2373#define CAN_TDH1R_DATA4_Pos (0U)
2374#define CAN_TDH1R_DATA4_Msk (0xFFUL << CAN_TDH1R_DATA4_Pos)
2375#define CAN_TDH1R_DATA4 CAN_TDH1R_DATA4_Msk
2376#define CAN_TDH1R_DATA5_Pos (8U)
2377#define CAN_TDH1R_DATA5_Msk (0xFFUL << CAN_TDH1R_DATA5_Pos)
2378#define CAN_TDH1R_DATA5 CAN_TDH1R_DATA5_Msk
2379#define CAN_TDH1R_DATA6_Pos (16U)
2380#define CAN_TDH1R_DATA6_Msk (0xFFUL << CAN_TDH1R_DATA6_Pos)
2381#define CAN_TDH1R_DATA6 CAN_TDH1R_DATA6_Msk
2382#define CAN_TDH1R_DATA7_Pos (24U)
2383#define CAN_TDH1R_DATA7_Msk (0xFFUL << CAN_TDH1R_DATA7_Pos)
2384#define CAN_TDH1R_DATA7 CAN_TDH1R_DATA7_Msk
2386/******************* Bit definition for CAN_TI2R register *******************/
2387#define CAN_TI2R_TXRQ_Pos (0U)
2388#define CAN_TI2R_TXRQ_Msk (0x1UL << CAN_TI2R_TXRQ_Pos)
2389#define CAN_TI2R_TXRQ CAN_TI2R_TXRQ_Msk
2390#define CAN_TI2R_RTR_Pos (1U)
2391#define CAN_TI2R_RTR_Msk (0x1UL << CAN_TI2R_RTR_Pos)
2392#define CAN_TI2R_RTR CAN_TI2R_RTR_Msk
2393#define CAN_TI2R_IDE_Pos (2U)
2394#define CAN_TI2R_IDE_Msk (0x1UL << CAN_TI2R_IDE_Pos)
2395#define CAN_TI2R_IDE CAN_TI2R_IDE_Msk
2396#define CAN_TI2R_EXID_Pos (3U)
2397#define CAN_TI2R_EXID_Msk (0x3FFFFUL << CAN_TI2R_EXID_Pos)
2398#define CAN_TI2R_EXID CAN_TI2R_EXID_Msk
2399#define CAN_TI2R_STID_Pos (21U)
2400#define CAN_TI2R_STID_Msk (0x7FFUL << CAN_TI2R_STID_Pos)
2401#define CAN_TI2R_STID CAN_TI2R_STID_Msk
2403/******************* Bit definition for CAN_TDT2R register ******************/
2404#define CAN_TDT2R_DLC_Pos (0U)
2405#define CAN_TDT2R_DLC_Msk (0xFUL << CAN_TDT2R_DLC_Pos)
2406#define CAN_TDT2R_DLC CAN_TDT2R_DLC_Msk
2407#define CAN_TDT2R_TGT_Pos (8U)
2408#define CAN_TDT2R_TGT_Msk (0x1UL << CAN_TDT2R_TGT_Pos)
2409#define CAN_TDT2R_TGT CAN_TDT2R_TGT_Msk
2410#define CAN_TDT2R_TIME_Pos (16U)
2411#define CAN_TDT2R_TIME_Msk (0xFFFFUL << CAN_TDT2R_TIME_Pos)
2412#define CAN_TDT2R_TIME CAN_TDT2R_TIME_Msk
2414/******************* Bit definition for CAN_TDL2R register ******************/
2415#define CAN_TDL2R_DATA0_Pos (0U)
2416#define CAN_TDL2R_DATA0_Msk (0xFFUL << CAN_TDL2R_DATA0_Pos)
2417#define CAN_TDL2R_DATA0 CAN_TDL2R_DATA0_Msk
2418#define CAN_TDL2R_DATA1_Pos (8U)
2419#define CAN_TDL2R_DATA1_Msk (0xFFUL << CAN_TDL2R_DATA1_Pos)
2420#define CAN_TDL2R_DATA1 CAN_TDL2R_DATA1_Msk
2421#define CAN_TDL2R_DATA2_Pos (16U)
2422#define CAN_TDL2R_DATA2_Msk (0xFFUL << CAN_TDL2R_DATA2_Pos)
2423#define CAN_TDL2R_DATA2 CAN_TDL2R_DATA2_Msk
2424#define CAN_TDL2R_DATA3_Pos (24U)
2425#define CAN_TDL2R_DATA3_Msk (0xFFUL << CAN_TDL2R_DATA3_Pos)
2426#define CAN_TDL2R_DATA3 CAN_TDL2R_DATA3_Msk
2428/******************* Bit definition for CAN_TDH2R register ******************/
2429#define CAN_TDH2R_DATA4_Pos (0U)
2430#define CAN_TDH2R_DATA4_Msk (0xFFUL << CAN_TDH2R_DATA4_Pos)
2431#define CAN_TDH2R_DATA4 CAN_TDH2R_DATA4_Msk
2432#define CAN_TDH2R_DATA5_Pos (8U)
2433#define CAN_TDH2R_DATA5_Msk (0xFFUL << CAN_TDH2R_DATA5_Pos)
2434#define CAN_TDH2R_DATA5 CAN_TDH2R_DATA5_Msk
2435#define CAN_TDH2R_DATA6_Pos (16U)
2436#define CAN_TDH2R_DATA6_Msk (0xFFUL << CAN_TDH2R_DATA6_Pos)
2437#define CAN_TDH2R_DATA6 CAN_TDH2R_DATA6_Msk
2438#define CAN_TDH2R_DATA7_Pos (24U)
2439#define CAN_TDH2R_DATA7_Msk (0xFFUL << CAN_TDH2R_DATA7_Pos)
2440#define CAN_TDH2R_DATA7 CAN_TDH2R_DATA7_Msk
2442/******************* Bit definition for CAN_RI0R register *******************/
2443#define CAN_RI0R_RTR_Pos (1U)
2444#define CAN_RI0R_RTR_Msk (0x1UL << CAN_RI0R_RTR_Pos)
2445#define CAN_RI0R_RTR CAN_RI0R_RTR_Msk
2446#define CAN_RI0R_IDE_Pos (2U)
2447#define CAN_RI0R_IDE_Msk (0x1UL << CAN_RI0R_IDE_Pos)
2448#define CAN_RI0R_IDE CAN_RI0R_IDE_Msk
2449#define CAN_RI0R_EXID_Pos (3U)
2450#define CAN_RI0R_EXID_Msk (0x3FFFFUL << CAN_RI0R_EXID_Pos)
2451#define CAN_RI0R_EXID CAN_RI0R_EXID_Msk
2452#define CAN_RI0R_STID_Pos (21U)
2453#define CAN_RI0R_STID_Msk (0x7FFUL << CAN_RI0R_STID_Pos)
2454#define CAN_RI0R_STID CAN_RI0R_STID_Msk
2456/******************* Bit definition for CAN_RDT0R register ******************/
2457#define CAN_RDT0R_DLC_Pos (0U)
2458#define CAN_RDT0R_DLC_Msk (0xFUL << CAN_RDT0R_DLC_Pos)
2459#define CAN_RDT0R_DLC CAN_RDT0R_DLC_Msk
2460#define CAN_RDT0R_FMI_Pos (8U)
2461#define CAN_RDT0R_FMI_Msk (0xFFUL << CAN_RDT0R_FMI_Pos)
2462#define CAN_RDT0R_FMI CAN_RDT0R_FMI_Msk
2463#define CAN_RDT0R_TIME_Pos (16U)
2464#define CAN_RDT0R_TIME_Msk (0xFFFFUL << CAN_RDT0R_TIME_Pos)
2465#define CAN_RDT0R_TIME CAN_RDT0R_TIME_Msk
2467/******************* Bit definition for CAN_RDL0R register ******************/
2468#define CAN_RDL0R_DATA0_Pos (0U)
2469#define CAN_RDL0R_DATA0_Msk (0xFFUL << CAN_RDL0R_DATA0_Pos)
2470#define CAN_RDL0R_DATA0 CAN_RDL0R_DATA0_Msk
2471#define CAN_RDL0R_DATA1_Pos (8U)
2472#define CAN_RDL0R_DATA1_Msk (0xFFUL << CAN_RDL0R_DATA1_Pos)
2473#define CAN_RDL0R_DATA1 CAN_RDL0R_DATA1_Msk
2474#define CAN_RDL0R_DATA2_Pos (16U)
2475#define CAN_RDL0R_DATA2_Msk (0xFFUL << CAN_RDL0R_DATA2_Pos)
2476#define CAN_RDL0R_DATA2 CAN_RDL0R_DATA2_Msk
2477#define CAN_RDL0R_DATA3_Pos (24U)
2478#define CAN_RDL0R_DATA3_Msk (0xFFUL << CAN_RDL0R_DATA3_Pos)
2479#define CAN_RDL0R_DATA3 CAN_RDL0R_DATA3_Msk
2481/******************* Bit definition for CAN_RDH0R register ******************/
2482#define CAN_RDH0R_DATA4_Pos (0U)
2483#define CAN_RDH0R_DATA4_Msk (0xFFUL << CAN_RDH0R_DATA4_Pos)
2484#define CAN_RDH0R_DATA4 CAN_RDH0R_DATA4_Msk
2485#define CAN_RDH0R_DATA5_Pos (8U)
2486#define CAN_RDH0R_DATA5_Msk (0xFFUL << CAN_RDH0R_DATA5_Pos)
2487#define CAN_RDH0R_DATA5 CAN_RDH0R_DATA5_Msk
2488#define CAN_RDH0R_DATA6_Pos (16U)
2489#define CAN_RDH0R_DATA6_Msk (0xFFUL << CAN_RDH0R_DATA6_Pos)
2490#define CAN_RDH0R_DATA6 CAN_RDH0R_DATA6_Msk
2491#define CAN_RDH0R_DATA7_Pos (24U)
2492#define CAN_RDH0R_DATA7_Msk (0xFFUL << CAN_RDH0R_DATA7_Pos)
2493#define CAN_RDH0R_DATA7 CAN_RDH0R_DATA7_Msk
2495/******************* Bit definition for CAN_RI1R register *******************/
2496#define CAN_RI1R_RTR_Pos (1U)
2497#define CAN_RI1R_RTR_Msk (0x1UL << CAN_RI1R_RTR_Pos)
2498#define CAN_RI1R_RTR CAN_RI1R_RTR_Msk
2499#define CAN_RI1R_IDE_Pos (2U)
2500#define CAN_RI1R_IDE_Msk (0x1UL << CAN_RI1R_IDE_Pos)
2501#define CAN_RI1R_IDE CAN_RI1R_IDE_Msk
2502#define CAN_RI1R_EXID_Pos (3U)
2503#define CAN_RI1R_EXID_Msk (0x3FFFFUL << CAN_RI1R_EXID_Pos)
2504#define CAN_RI1R_EXID CAN_RI1R_EXID_Msk
2505#define CAN_RI1R_STID_Pos (21U)
2506#define CAN_RI1R_STID_Msk (0x7FFUL << CAN_RI1R_STID_Pos)
2507#define CAN_RI1R_STID CAN_RI1R_STID_Msk
2509/******************* Bit definition for CAN_RDT1R register ******************/
2510#define CAN_RDT1R_DLC_Pos (0U)
2511#define CAN_RDT1R_DLC_Msk (0xFUL << CAN_RDT1R_DLC_Pos)
2512#define CAN_RDT1R_DLC CAN_RDT1R_DLC_Msk
2513#define CAN_RDT1R_FMI_Pos (8U)
2514#define CAN_RDT1R_FMI_Msk (0xFFUL << CAN_RDT1R_FMI_Pos)
2515#define CAN_RDT1R_FMI CAN_RDT1R_FMI_Msk
2516#define CAN_RDT1R_TIME_Pos (16U)
2517#define CAN_RDT1R_TIME_Msk (0xFFFFUL << CAN_RDT1R_TIME_Pos)
2518#define CAN_RDT1R_TIME CAN_RDT1R_TIME_Msk
2520/******************* Bit definition for CAN_RDL1R register ******************/
2521#define CAN_RDL1R_DATA0_Pos (0U)
2522#define CAN_RDL1R_DATA0_Msk (0xFFUL << CAN_RDL1R_DATA0_Pos)
2523#define CAN_RDL1R_DATA0 CAN_RDL1R_DATA0_Msk
2524#define CAN_RDL1R_DATA1_Pos (8U)
2525#define CAN_RDL1R_DATA1_Msk (0xFFUL << CAN_RDL1R_DATA1_Pos)
2526#define CAN_RDL1R_DATA1 CAN_RDL1R_DATA1_Msk
2527#define CAN_RDL1R_DATA2_Pos (16U)
2528#define CAN_RDL1R_DATA2_Msk (0xFFUL << CAN_RDL1R_DATA2_Pos)
2529#define CAN_RDL1R_DATA2 CAN_RDL1R_DATA2_Msk
2530#define CAN_RDL1R_DATA3_Pos (24U)
2531#define CAN_RDL1R_DATA3_Msk (0xFFUL << CAN_RDL1R_DATA3_Pos)
2532#define CAN_RDL1R_DATA3 CAN_RDL1R_DATA3_Msk
2534/******************* Bit definition for CAN_RDH1R register ******************/
2535#define CAN_RDH1R_DATA4_Pos (0U)
2536#define CAN_RDH1R_DATA4_Msk (0xFFUL << CAN_RDH1R_DATA4_Pos)
2537#define CAN_RDH1R_DATA4 CAN_RDH1R_DATA4_Msk
2538#define CAN_RDH1R_DATA5_Pos (8U)
2539#define CAN_RDH1R_DATA5_Msk (0xFFUL << CAN_RDH1R_DATA5_Pos)
2540#define CAN_RDH1R_DATA5 CAN_RDH1R_DATA5_Msk
2541#define CAN_RDH1R_DATA6_Pos (16U)
2542#define CAN_RDH1R_DATA6_Msk (0xFFUL << CAN_RDH1R_DATA6_Pos)
2543#define CAN_RDH1R_DATA6 CAN_RDH1R_DATA6_Msk
2544#define CAN_RDH1R_DATA7_Pos (24U)
2545#define CAN_RDH1R_DATA7_Msk (0xFFUL << CAN_RDH1R_DATA7_Pos)
2546#define CAN_RDH1R_DATA7 CAN_RDH1R_DATA7_Msk
2549/******************* Bit definition for CAN_FMR register ********************/
2550#define CAN_FMR_FINIT ((uint8_t)0x01U)
2551#define CAN_FMR_CAN2SB_Pos (8U)
2552#define CAN_FMR_CAN2SB_Msk (0x3FUL << CAN_FMR_CAN2SB_Pos)
2553#define CAN_FMR_CAN2SB CAN_FMR_CAN2SB_Msk
2555/******************* Bit definition for CAN_FM1R register *******************/
2556#define CAN_FM1R_FBM_Pos (0U)
2557#define CAN_FM1R_FBM_Msk (0x3FFFUL << CAN_FM1R_FBM_Pos)
2558#define CAN_FM1R_FBM CAN_FM1R_FBM_Msk
2559#define CAN_FM1R_FBM0_Pos (0U)
2560#define CAN_FM1R_FBM0_Msk (0x1UL << CAN_FM1R_FBM0_Pos)
2561#define CAN_FM1R_FBM0 CAN_FM1R_FBM0_Msk
2562#define CAN_FM1R_FBM1_Pos (1U)
2563#define CAN_FM1R_FBM1_Msk (0x1UL << CAN_FM1R_FBM1_Pos)
2564#define CAN_FM1R_FBM1 CAN_FM1R_FBM1_Msk
2565#define CAN_FM1R_FBM2_Pos (2U)
2566#define CAN_FM1R_FBM2_Msk (0x1UL << CAN_FM1R_FBM2_Pos)
2567#define CAN_FM1R_FBM2 CAN_FM1R_FBM2_Msk
2568#define CAN_FM1R_FBM3_Pos (3U)
2569#define CAN_FM1R_FBM3_Msk (0x1UL << CAN_FM1R_FBM3_Pos)
2570#define CAN_FM1R_FBM3 CAN_FM1R_FBM3_Msk
2571#define CAN_FM1R_FBM4_Pos (4U)
2572#define CAN_FM1R_FBM4_Msk (0x1UL << CAN_FM1R_FBM4_Pos)
2573#define CAN_FM1R_FBM4 CAN_FM1R_FBM4_Msk
2574#define CAN_FM1R_FBM5_Pos (5U)
2575#define CAN_FM1R_FBM5_Msk (0x1UL << CAN_FM1R_FBM5_Pos)
2576#define CAN_FM1R_FBM5 CAN_FM1R_FBM5_Msk
2577#define CAN_FM1R_FBM6_Pos (6U)
2578#define CAN_FM1R_FBM6_Msk (0x1UL << CAN_FM1R_FBM6_Pos)
2579#define CAN_FM1R_FBM6 CAN_FM1R_FBM6_Msk
2580#define CAN_FM1R_FBM7_Pos (7U)
2581#define CAN_FM1R_FBM7_Msk (0x1UL << CAN_FM1R_FBM7_Pos)
2582#define CAN_FM1R_FBM7 CAN_FM1R_FBM7_Msk
2583#define CAN_FM1R_FBM8_Pos (8U)
2584#define CAN_FM1R_FBM8_Msk (0x1UL << CAN_FM1R_FBM8_Pos)
2585#define CAN_FM1R_FBM8 CAN_FM1R_FBM8_Msk
2586#define CAN_FM1R_FBM9_Pos (9U)
2587#define CAN_FM1R_FBM9_Msk (0x1UL << CAN_FM1R_FBM9_Pos)
2588#define CAN_FM1R_FBM9 CAN_FM1R_FBM9_Msk
2589#define CAN_FM1R_FBM10_Pos (10U)
2590#define CAN_FM1R_FBM10_Msk (0x1UL << CAN_FM1R_FBM10_Pos)
2591#define CAN_FM1R_FBM10 CAN_FM1R_FBM10_Msk
2592#define CAN_FM1R_FBM11_Pos (11U)
2593#define CAN_FM1R_FBM11_Msk (0x1UL << CAN_FM1R_FBM11_Pos)
2594#define CAN_FM1R_FBM11 CAN_FM1R_FBM11_Msk
2595#define CAN_FM1R_FBM12_Pos (12U)
2596#define CAN_FM1R_FBM12_Msk (0x1UL << CAN_FM1R_FBM12_Pos)
2597#define CAN_FM1R_FBM12 CAN_FM1R_FBM12_Msk
2598#define CAN_FM1R_FBM13_Pos (13U)
2599#define CAN_FM1R_FBM13_Msk (0x1UL << CAN_FM1R_FBM13_Pos)
2600#define CAN_FM1R_FBM13 CAN_FM1R_FBM13_Msk
2602/******************* Bit definition for CAN_FS1R register *******************/
2603#define CAN_FS1R_FSC_Pos (0U)
2604#define CAN_FS1R_FSC_Msk (0x3FFFUL << CAN_FS1R_FSC_Pos)
2605#define CAN_FS1R_FSC CAN_FS1R_FSC_Msk
2606#define CAN_FS1R_FSC0_Pos (0U)
2607#define CAN_FS1R_FSC0_Msk (0x1UL << CAN_FS1R_FSC0_Pos)
2608#define CAN_FS1R_FSC0 CAN_FS1R_FSC0_Msk
2609#define CAN_FS1R_FSC1_Pos (1U)
2610#define CAN_FS1R_FSC1_Msk (0x1UL << CAN_FS1R_FSC1_Pos)
2611#define CAN_FS1R_FSC1 CAN_FS1R_FSC1_Msk
2612#define CAN_FS1R_FSC2_Pos (2U)
2613#define CAN_FS1R_FSC2_Msk (0x1UL << CAN_FS1R_FSC2_Pos)
2614#define CAN_FS1R_FSC2 CAN_FS1R_FSC2_Msk
2615#define CAN_FS1R_FSC3_Pos (3U)
2616#define CAN_FS1R_FSC3_Msk (0x1UL << CAN_FS1R_FSC3_Pos)
2617#define CAN_FS1R_FSC3 CAN_FS1R_FSC3_Msk
2618#define CAN_FS1R_FSC4_Pos (4U)
2619#define CAN_FS1R_FSC4_Msk (0x1UL << CAN_FS1R_FSC4_Pos)
2620#define CAN_FS1R_FSC4 CAN_FS1R_FSC4_Msk
2621#define CAN_FS1R_FSC5_Pos (5U)
2622#define CAN_FS1R_FSC5_Msk (0x1UL << CAN_FS1R_FSC5_Pos)
2623#define CAN_FS1R_FSC5 CAN_FS1R_FSC5_Msk
2624#define CAN_FS1R_FSC6_Pos (6U)
2625#define CAN_FS1R_FSC6_Msk (0x1UL << CAN_FS1R_FSC6_Pos)
2626#define CAN_FS1R_FSC6 CAN_FS1R_FSC6_Msk
2627#define CAN_FS1R_FSC7_Pos (7U)
2628#define CAN_FS1R_FSC7_Msk (0x1UL << CAN_FS1R_FSC7_Pos)
2629#define CAN_FS1R_FSC7 CAN_FS1R_FSC7_Msk
2630#define CAN_FS1R_FSC8_Pos (8U)
2631#define CAN_FS1R_FSC8_Msk (0x1UL << CAN_FS1R_FSC8_Pos)
2632#define CAN_FS1R_FSC8 CAN_FS1R_FSC8_Msk
2633#define CAN_FS1R_FSC9_Pos (9U)
2634#define CAN_FS1R_FSC9_Msk (0x1UL << CAN_FS1R_FSC9_Pos)
2635#define CAN_FS1R_FSC9 CAN_FS1R_FSC9_Msk
2636#define CAN_FS1R_FSC10_Pos (10U)
2637#define CAN_FS1R_FSC10_Msk (0x1UL << CAN_FS1R_FSC10_Pos)
2638#define CAN_FS1R_FSC10 CAN_FS1R_FSC10_Msk
2639#define CAN_FS1R_FSC11_Pos (11U)
2640#define CAN_FS1R_FSC11_Msk (0x1UL << CAN_FS1R_FSC11_Pos)
2641#define CAN_FS1R_FSC11 CAN_FS1R_FSC11_Msk
2642#define CAN_FS1R_FSC12_Pos (12U)
2643#define CAN_FS1R_FSC12_Msk (0x1UL << CAN_FS1R_FSC12_Pos)
2644#define CAN_FS1R_FSC12 CAN_FS1R_FSC12_Msk
2645#define CAN_FS1R_FSC13_Pos (13U)
2646#define CAN_FS1R_FSC13_Msk (0x1UL << CAN_FS1R_FSC13_Pos)
2647#define CAN_FS1R_FSC13 CAN_FS1R_FSC13_Msk
2649/****************** Bit definition for CAN_FFA1R register *******************/
2650#define CAN_FFA1R_FFA_Pos (0U)
2651#define CAN_FFA1R_FFA_Msk (0x3FFFUL << CAN_FFA1R_FFA_Pos)
2652#define CAN_FFA1R_FFA CAN_FFA1R_FFA_Msk
2653#define CAN_FFA1R_FFA0_Pos (0U)
2654#define CAN_FFA1R_FFA0_Msk (0x1UL << CAN_FFA1R_FFA0_Pos)
2655#define CAN_FFA1R_FFA0 CAN_FFA1R_FFA0_Msk
2656#define CAN_FFA1R_FFA1_Pos (1U)
2657#define CAN_FFA1R_FFA1_Msk (0x1UL << CAN_FFA1R_FFA1_Pos)
2658#define CAN_FFA1R_FFA1 CAN_FFA1R_FFA1_Msk
2659#define CAN_FFA1R_FFA2_Pos (2U)
2660#define CAN_FFA1R_FFA2_Msk (0x1UL << CAN_FFA1R_FFA2_Pos)
2661#define CAN_FFA1R_FFA2 CAN_FFA1R_FFA2_Msk
2662#define CAN_FFA1R_FFA3_Pos (3U)
2663#define CAN_FFA1R_FFA3_Msk (0x1UL << CAN_FFA1R_FFA3_Pos)
2664#define CAN_FFA1R_FFA3 CAN_FFA1R_FFA3_Msk
2665#define CAN_FFA1R_FFA4_Pos (4U)
2666#define CAN_FFA1R_FFA4_Msk (0x1UL << CAN_FFA1R_FFA4_Pos)
2667#define CAN_FFA1R_FFA4 CAN_FFA1R_FFA4_Msk
2668#define CAN_FFA1R_FFA5_Pos (5U)
2669#define CAN_FFA1R_FFA5_Msk (0x1UL << CAN_FFA1R_FFA5_Pos)
2670#define CAN_FFA1R_FFA5 CAN_FFA1R_FFA5_Msk
2671#define CAN_FFA1R_FFA6_Pos (6U)
2672#define CAN_FFA1R_FFA6_Msk (0x1UL << CAN_FFA1R_FFA6_Pos)
2673#define CAN_FFA1R_FFA6 CAN_FFA1R_FFA6_Msk
2674#define CAN_FFA1R_FFA7_Pos (7U)
2675#define CAN_FFA1R_FFA7_Msk (0x1UL << CAN_FFA1R_FFA7_Pos)
2676#define CAN_FFA1R_FFA7 CAN_FFA1R_FFA7_Msk
2677#define CAN_FFA1R_FFA8_Pos (8U)
2678#define CAN_FFA1R_FFA8_Msk (0x1UL << CAN_FFA1R_FFA8_Pos)
2679#define CAN_FFA1R_FFA8 CAN_FFA1R_FFA8_Msk
2680#define CAN_FFA1R_FFA9_Pos (9U)
2681#define CAN_FFA1R_FFA9_Msk (0x1UL << CAN_FFA1R_FFA9_Pos)
2682#define CAN_FFA1R_FFA9 CAN_FFA1R_FFA9_Msk
2683#define CAN_FFA1R_FFA10_Pos (10U)
2684#define CAN_FFA1R_FFA10_Msk (0x1UL << CAN_FFA1R_FFA10_Pos)
2685#define CAN_FFA1R_FFA10 CAN_FFA1R_FFA10_Msk
2686#define CAN_FFA1R_FFA11_Pos (11U)
2687#define CAN_FFA1R_FFA11_Msk (0x1UL << CAN_FFA1R_FFA11_Pos)
2688#define CAN_FFA1R_FFA11 CAN_FFA1R_FFA11_Msk
2689#define CAN_FFA1R_FFA12_Pos (12U)
2690#define CAN_FFA1R_FFA12_Msk (0x1UL << CAN_FFA1R_FFA12_Pos)
2691#define CAN_FFA1R_FFA12 CAN_FFA1R_FFA12_Msk
2692#define CAN_FFA1R_FFA13_Pos (13U)
2693#define CAN_FFA1R_FFA13_Msk (0x1UL << CAN_FFA1R_FFA13_Pos)
2694#define CAN_FFA1R_FFA13 CAN_FFA1R_FFA13_Msk
2696/******************* Bit definition for CAN_FA1R register *******************/
2697#define CAN_FA1R_FACT_Pos (0U)
2698#define CAN_FA1R_FACT_Msk (0x3FFFUL << CAN_FA1R_FACT_Pos)
2699#define CAN_FA1R_FACT CAN_FA1R_FACT_Msk
2700#define CAN_FA1R_FACT0_Pos (0U)
2701#define CAN_FA1R_FACT0_Msk (0x1UL << CAN_FA1R_FACT0_Pos)
2702#define CAN_FA1R_FACT0 CAN_FA1R_FACT0_Msk
2703#define CAN_FA1R_FACT1_Pos (1U)
2704#define CAN_FA1R_FACT1_Msk (0x1UL << CAN_FA1R_FACT1_Pos)
2705#define CAN_FA1R_FACT1 CAN_FA1R_FACT1_Msk
2706#define CAN_FA1R_FACT2_Pos (2U)
2707#define CAN_FA1R_FACT2_Msk (0x1UL << CAN_FA1R_FACT2_Pos)
2708#define CAN_FA1R_FACT2 CAN_FA1R_FACT2_Msk
2709#define CAN_FA1R_FACT3_Pos (3U)
2710#define CAN_FA1R_FACT3_Msk (0x1UL << CAN_FA1R_FACT3_Pos)
2711#define CAN_FA1R_FACT3 CAN_FA1R_FACT3_Msk
2712#define CAN_FA1R_FACT4_Pos (4U)
2713#define CAN_FA1R_FACT4_Msk (0x1UL << CAN_FA1R_FACT4_Pos)
2714#define CAN_FA1R_FACT4 CAN_FA1R_FACT4_Msk
2715#define CAN_FA1R_FACT5_Pos (5U)
2716#define CAN_FA1R_FACT5_Msk (0x1UL << CAN_FA1R_FACT5_Pos)
2717#define CAN_FA1R_FACT5 CAN_FA1R_FACT5_Msk
2718#define CAN_FA1R_FACT6_Pos (6U)
2719#define CAN_FA1R_FACT6_Msk (0x1UL << CAN_FA1R_FACT6_Pos)
2720#define CAN_FA1R_FACT6 CAN_FA1R_FACT6_Msk
2721#define CAN_FA1R_FACT7_Pos (7U)
2722#define CAN_FA1R_FACT7_Msk (0x1UL << CAN_FA1R_FACT7_Pos)
2723#define CAN_FA1R_FACT7 CAN_FA1R_FACT7_Msk
2724#define CAN_FA1R_FACT8_Pos (8U)
2725#define CAN_FA1R_FACT8_Msk (0x1UL << CAN_FA1R_FACT8_Pos)
2726#define CAN_FA1R_FACT8 CAN_FA1R_FACT8_Msk
2727#define CAN_FA1R_FACT9_Pos (9U)
2728#define CAN_FA1R_FACT9_Msk (0x1UL << CAN_FA1R_FACT9_Pos)
2729#define CAN_FA1R_FACT9 CAN_FA1R_FACT9_Msk
2730#define CAN_FA1R_FACT10_Pos (10U)
2731#define CAN_FA1R_FACT10_Msk (0x1UL << CAN_FA1R_FACT10_Pos)
2732#define CAN_FA1R_FACT10 CAN_FA1R_FACT10_Msk
2733#define CAN_FA1R_FACT11_Pos (11U)
2734#define CAN_FA1R_FACT11_Msk (0x1UL << CAN_FA1R_FACT11_Pos)
2735#define CAN_FA1R_FACT11 CAN_FA1R_FACT11_Msk
2736#define CAN_FA1R_FACT12_Pos (12U)
2737#define CAN_FA1R_FACT12_Msk (0x1UL << CAN_FA1R_FACT12_Pos)
2738#define CAN_FA1R_FACT12 CAN_FA1R_FACT12_Msk
2739#define CAN_FA1R_FACT13_Pos (13U)
2740#define CAN_FA1R_FACT13_Msk (0x1UL << CAN_FA1R_FACT13_Pos)
2741#define CAN_FA1R_FACT13 CAN_FA1R_FACT13_Msk
2743/******************* Bit definition for CAN_F0R1 register *******************/
2744#define CAN_F0R1_FB0_Pos (0U)
2745#define CAN_F0R1_FB0_Msk (0x1UL << CAN_F0R1_FB0_Pos)
2746#define CAN_F0R1_FB0 CAN_F0R1_FB0_Msk
2747#define CAN_F0R1_FB1_Pos (1U)
2748#define CAN_F0R1_FB1_Msk (0x1UL << CAN_F0R1_FB1_Pos)
2749#define CAN_F0R1_FB1 CAN_F0R1_FB1_Msk
2750#define CAN_F0R1_FB2_Pos (2U)
2751#define CAN_F0R1_FB2_Msk (0x1UL << CAN_F0R1_FB2_Pos)
2752#define CAN_F0R1_FB2 CAN_F0R1_FB2_Msk
2753#define CAN_F0R1_FB3_Pos (3U)
2754#define CAN_F0R1_FB3_Msk (0x1UL << CAN_F0R1_FB3_Pos)
2755#define CAN_F0R1_FB3 CAN_F0R1_FB3_Msk
2756#define CAN_F0R1_FB4_Pos (4U)
2757#define CAN_F0R1_FB4_Msk (0x1UL << CAN_F0R1_FB4_Pos)
2758#define CAN_F0R1_FB4 CAN_F0R1_FB4_Msk
2759#define CAN_F0R1_FB5_Pos (5U)
2760#define CAN_F0R1_FB5_Msk (0x1UL << CAN_F0R1_FB5_Pos)
2761#define CAN_F0R1_FB5 CAN_F0R1_FB5_Msk
2762#define CAN_F0R1_FB6_Pos (6U)
2763#define CAN_F0R1_FB6_Msk (0x1UL << CAN_F0R1_FB6_Pos)
2764#define CAN_F0R1_FB6 CAN_F0R1_FB6_Msk
2765#define CAN_F0R1_FB7_Pos (7U)
2766#define CAN_F0R1_FB7_Msk (0x1UL << CAN_F0R1_FB7_Pos)
2767#define CAN_F0R1_FB7 CAN_F0R1_FB7_Msk
2768#define CAN_F0R1_FB8_Pos (8U)
2769#define CAN_F0R1_FB8_Msk (0x1UL << CAN_F0R1_FB8_Pos)
2770#define CAN_F0R1_FB8 CAN_F0R1_FB8_Msk
2771#define CAN_F0R1_FB9_Pos (9U)
2772#define CAN_F0R1_FB9_Msk (0x1UL << CAN_F0R1_FB9_Pos)
2773#define CAN_F0R1_FB9 CAN_F0R1_FB9_Msk
2774#define CAN_F0R1_FB10_Pos (10U)
2775#define CAN_F0R1_FB10_Msk (0x1UL << CAN_F0R1_FB10_Pos)
2776#define CAN_F0R1_FB10 CAN_F0R1_FB10_Msk
2777#define CAN_F0R1_FB11_Pos (11U)
2778#define CAN_F0R1_FB11_Msk (0x1UL << CAN_F0R1_FB11_Pos)
2779#define CAN_F0R1_FB11 CAN_F0R1_FB11_Msk
2780#define CAN_F0R1_FB12_Pos (12U)
2781#define CAN_F0R1_FB12_Msk (0x1UL << CAN_F0R1_FB12_Pos)
2782#define CAN_F0R1_FB12 CAN_F0R1_FB12_Msk
2783#define CAN_F0R1_FB13_Pos (13U)
2784#define CAN_F0R1_FB13_Msk (0x1UL << CAN_F0R1_FB13_Pos)
2785#define CAN_F0R1_FB13 CAN_F0R1_FB13_Msk
2786#define CAN_F0R1_FB14_Pos (14U)
2787#define CAN_F0R1_FB14_Msk (0x1UL << CAN_F0R1_FB14_Pos)
2788#define CAN_F0R1_FB14 CAN_F0R1_FB14_Msk
2789#define CAN_F0R1_FB15_Pos (15U)
2790#define CAN_F0R1_FB15_Msk (0x1UL << CAN_F0R1_FB15_Pos)
2791#define CAN_F0R1_FB15 CAN_F0R1_FB15_Msk
2792#define CAN_F0R1_FB16_Pos (16U)
2793#define CAN_F0R1_FB16_Msk (0x1UL << CAN_F0R1_FB16_Pos)
2794#define CAN_F0R1_FB16 CAN_F0R1_FB16_Msk
2795#define CAN_F0R1_FB17_Pos (17U)
2796#define CAN_F0R1_FB17_Msk (0x1UL << CAN_F0R1_FB17_Pos)
2797#define CAN_F0R1_FB17 CAN_F0R1_FB17_Msk
2798#define CAN_F0R1_FB18_Pos (18U)
2799#define CAN_F0R1_FB18_Msk (0x1UL << CAN_F0R1_FB18_Pos)
2800#define CAN_F0R1_FB18 CAN_F0R1_FB18_Msk
2801#define CAN_F0R1_FB19_Pos (19U)
2802#define CAN_F0R1_FB19_Msk (0x1UL << CAN_F0R1_FB19_Pos)
2803#define CAN_F0R1_FB19 CAN_F0R1_FB19_Msk
2804#define CAN_F0R1_FB20_Pos (20U)
2805#define CAN_F0R1_FB20_Msk (0x1UL << CAN_F0R1_FB20_Pos)
2806#define CAN_F0R1_FB20 CAN_F0R1_FB20_Msk
2807#define CAN_F0R1_FB21_Pos (21U)
2808#define CAN_F0R1_FB21_Msk (0x1UL << CAN_F0R1_FB21_Pos)
2809#define CAN_F0R1_FB21 CAN_F0R1_FB21_Msk
2810#define CAN_F0R1_FB22_Pos (22U)
2811#define CAN_F0R1_FB22_Msk (0x1UL << CAN_F0R1_FB22_Pos)
2812#define CAN_F0R1_FB22 CAN_F0R1_FB22_Msk
2813#define CAN_F0R1_FB23_Pos (23U)
2814#define CAN_F0R1_FB23_Msk (0x1UL << CAN_F0R1_FB23_Pos)
2815#define CAN_F0R1_FB23 CAN_F0R1_FB23_Msk
2816#define CAN_F0R1_FB24_Pos (24U)
2817#define CAN_F0R1_FB24_Msk (0x1UL << CAN_F0R1_FB24_Pos)
2818#define CAN_F0R1_FB24 CAN_F0R1_FB24_Msk
2819#define CAN_F0R1_FB25_Pos (25U)
2820#define CAN_F0R1_FB25_Msk (0x1UL << CAN_F0R1_FB25_Pos)
2821#define CAN_F0R1_FB25 CAN_F0R1_FB25_Msk
2822#define CAN_F0R1_FB26_Pos (26U)
2823#define CAN_F0R1_FB26_Msk (0x1UL << CAN_F0R1_FB26_Pos)
2824#define CAN_F0R1_FB26 CAN_F0R1_FB26_Msk
2825#define CAN_F0R1_FB27_Pos (27U)
2826#define CAN_F0R1_FB27_Msk (0x1UL << CAN_F0R1_FB27_Pos)
2827#define CAN_F0R1_FB27 CAN_F0R1_FB27_Msk
2828#define CAN_F0R1_FB28_Pos (28U)
2829#define CAN_F0R1_FB28_Msk (0x1UL << CAN_F0R1_FB28_Pos)
2830#define CAN_F0R1_FB28 CAN_F0R1_FB28_Msk
2831#define CAN_F0R1_FB29_Pos (29U)
2832#define CAN_F0R1_FB29_Msk (0x1UL << CAN_F0R1_FB29_Pos)
2833#define CAN_F0R1_FB29 CAN_F0R1_FB29_Msk
2834#define CAN_F0R1_FB30_Pos (30U)
2835#define CAN_F0R1_FB30_Msk (0x1UL << CAN_F0R1_FB30_Pos)
2836#define CAN_F0R1_FB30 CAN_F0R1_FB30_Msk
2837#define CAN_F0R1_FB31_Pos (31U)
2838#define CAN_F0R1_FB31_Msk (0x1UL << CAN_F0R1_FB31_Pos)
2839#define CAN_F0R1_FB31 CAN_F0R1_FB31_Msk
2841/******************* Bit definition for CAN_F1R1 register *******************/
2842#define CAN_F1R1_FB0_Pos (0U)
2843#define CAN_F1R1_FB0_Msk (0x1UL << CAN_F1R1_FB0_Pos)
2844#define CAN_F1R1_FB0 CAN_F1R1_FB0_Msk
2845#define CAN_F1R1_FB1_Pos (1U)
2846#define CAN_F1R1_FB1_Msk (0x1UL << CAN_F1R1_FB1_Pos)
2847#define CAN_F1R1_FB1 CAN_F1R1_FB1_Msk
2848#define CAN_F1R1_FB2_Pos (2U)
2849#define CAN_F1R1_FB2_Msk (0x1UL << CAN_F1R1_FB2_Pos)
2850#define CAN_F1R1_FB2 CAN_F1R1_FB2_Msk
2851#define CAN_F1R1_FB3_Pos (3U)
2852#define CAN_F1R1_FB3_Msk (0x1UL << CAN_F1R1_FB3_Pos)
2853#define CAN_F1R1_FB3 CAN_F1R1_FB3_Msk
2854#define CAN_F1R1_FB4_Pos (4U)
2855#define CAN_F1R1_FB4_Msk (0x1UL << CAN_F1R1_FB4_Pos)
2856#define CAN_F1R1_FB4 CAN_F1R1_FB4_Msk
2857#define CAN_F1R1_FB5_Pos (5U)
2858#define CAN_F1R1_FB5_Msk (0x1UL << CAN_F1R1_FB5_Pos)
2859#define CAN_F1R1_FB5 CAN_F1R1_FB5_Msk
2860#define CAN_F1R1_FB6_Pos (6U)
2861#define CAN_F1R1_FB6_Msk (0x1UL << CAN_F1R1_FB6_Pos)
2862#define CAN_F1R1_FB6 CAN_F1R1_FB6_Msk
2863#define CAN_F1R1_FB7_Pos (7U)
2864#define CAN_F1R1_FB7_Msk (0x1UL << CAN_F1R1_FB7_Pos)
2865#define CAN_F1R1_FB7 CAN_F1R1_FB7_Msk
2866#define CAN_F1R1_FB8_Pos (8U)
2867#define CAN_F1R1_FB8_Msk (0x1UL << CAN_F1R1_FB8_Pos)
2868#define CAN_F1R1_FB8 CAN_F1R1_FB8_Msk
2869#define CAN_F1R1_FB9_Pos (9U)
2870#define CAN_F1R1_FB9_Msk (0x1UL << CAN_F1R1_FB9_Pos)
2871#define CAN_F1R1_FB9 CAN_F1R1_FB9_Msk
2872#define CAN_F1R1_FB10_Pos (10U)
2873#define CAN_F1R1_FB10_Msk (0x1UL << CAN_F1R1_FB10_Pos)
2874#define CAN_F1R1_FB10 CAN_F1R1_FB10_Msk
2875#define CAN_F1R1_FB11_Pos (11U)
2876#define CAN_F1R1_FB11_Msk (0x1UL << CAN_F1R1_FB11_Pos)
2877#define CAN_F1R1_FB11 CAN_F1R1_FB11_Msk
2878#define CAN_F1R1_FB12_Pos (12U)
2879#define CAN_F1R1_FB12_Msk (0x1UL << CAN_F1R1_FB12_Pos)
2880#define CAN_F1R1_FB12 CAN_F1R1_FB12_Msk
2881#define CAN_F1R1_FB13_Pos (13U)
2882#define CAN_F1R1_FB13_Msk (0x1UL << CAN_F1R1_FB13_Pos)
2883#define CAN_F1R1_FB13 CAN_F1R1_FB13_Msk
2884#define CAN_F1R1_FB14_Pos (14U)
2885#define CAN_F1R1_FB14_Msk (0x1UL << CAN_F1R1_FB14_Pos)
2886#define CAN_F1R1_FB14 CAN_F1R1_FB14_Msk
2887#define CAN_F1R1_FB15_Pos (15U)
2888#define CAN_F1R1_FB15_Msk (0x1UL << CAN_F1R1_FB15_Pos)
2889#define CAN_F1R1_FB15 CAN_F1R1_FB15_Msk
2890#define CAN_F1R1_FB16_Pos (16U)
2891#define CAN_F1R1_FB16_Msk (0x1UL << CAN_F1R1_FB16_Pos)
2892#define CAN_F1R1_FB16 CAN_F1R1_FB16_Msk
2893#define CAN_F1R1_FB17_Pos (17U)
2894#define CAN_F1R1_FB17_Msk (0x1UL << CAN_F1R1_FB17_Pos)
2895#define CAN_F1R1_FB17 CAN_F1R1_FB17_Msk
2896#define CAN_F1R1_FB18_Pos (18U)
2897#define CAN_F1R1_FB18_Msk (0x1UL << CAN_F1R1_FB18_Pos)
2898#define CAN_F1R1_FB18 CAN_F1R1_FB18_Msk
2899#define CAN_F1R1_FB19_Pos (19U)
2900#define CAN_F1R1_FB19_Msk (0x1UL << CAN_F1R1_FB19_Pos)
2901#define CAN_F1R1_FB19 CAN_F1R1_FB19_Msk
2902#define CAN_F1R1_FB20_Pos (20U)
2903#define CAN_F1R1_FB20_Msk (0x1UL << CAN_F1R1_FB20_Pos)
2904#define CAN_F1R1_FB20 CAN_F1R1_FB20_Msk
2905#define CAN_F1R1_FB21_Pos (21U)
2906#define CAN_F1R1_FB21_Msk (0x1UL << CAN_F1R1_FB21_Pos)
2907#define CAN_F1R1_FB21 CAN_F1R1_FB21_Msk
2908#define CAN_F1R1_FB22_Pos (22U)
2909#define CAN_F1R1_FB22_Msk (0x1UL << CAN_F1R1_FB22_Pos)
2910#define CAN_F1R1_FB22 CAN_F1R1_FB22_Msk
2911#define CAN_F1R1_FB23_Pos (23U)
2912#define CAN_F1R1_FB23_Msk (0x1UL << CAN_F1R1_FB23_Pos)
2913#define CAN_F1R1_FB23 CAN_F1R1_FB23_Msk
2914#define CAN_F1R1_FB24_Pos (24U)
2915#define CAN_F1R1_FB24_Msk (0x1UL << CAN_F1R1_FB24_Pos)
2916#define CAN_F1R1_FB24 CAN_F1R1_FB24_Msk
2917#define CAN_F1R1_FB25_Pos (25U)
2918#define CAN_F1R1_FB25_Msk (0x1UL << CAN_F1R1_FB25_Pos)
2919#define CAN_F1R1_FB25 CAN_F1R1_FB25_Msk
2920#define CAN_F1R1_FB26_Pos (26U)
2921#define CAN_F1R1_FB26_Msk (0x1UL << CAN_F1R1_FB26_Pos)
2922#define CAN_F1R1_FB26 CAN_F1R1_FB26_Msk
2923#define CAN_F1R1_FB27_Pos (27U)
2924#define CAN_F1R1_FB27_Msk (0x1UL << CAN_F1R1_FB27_Pos)
2925#define CAN_F1R1_FB27 CAN_F1R1_FB27_Msk
2926#define CAN_F1R1_FB28_Pos (28U)
2927#define CAN_F1R1_FB28_Msk (0x1UL << CAN_F1R1_FB28_Pos)
2928#define CAN_F1R1_FB28 CAN_F1R1_FB28_Msk
2929#define CAN_F1R1_FB29_Pos (29U)
2930#define CAN_F1R1_FB29_Msk (0x1UL << CAN_F1R1_FB29_Pos)
2931#define CAN_F1R1_FB29 CAN_F1R1_FB29_Msk
2932#define CAN_F1R1_FB30_Pos (30U)
2933#define CAN_F1R1_FB30_Msk (0x1UL << CAN_F1R1_FB30_Pos)
2934#define CAN_F1R1_FB30 CAN_F1R1_FB30_Msk
2935#define CAN_F1R1_FB31_Pos (31U)
2936#define CAN_F1R1_FB31_Msk (0x1UL << CAN_F1R1_FB31_Pos)
2937#define CAN_F1R1_FB31 CAN_F1R1_FB31_Msk
2939/******************* Bit definition for CAN_F2R1 register *******************/
2940#define CAN_F2R1_FB0_Pos (0U)
2941#define CAN_F2R1_FB0_Msk (0x1UL << CAN_F2R1_FB0_Pos)
2942#define CAN_F2R1_FB0 CAN_F2R1_FB0_Msk
2943#define CAN_F2R1_FB1_Pos (1U)
2944#define CAN_F2R1_FB1_Msk (0x1UL << CAN_F2R1_FB1_Pos)
2945#define CAN_F2R1_FB1 CAN_F2R1_FB1_Msk
2946#define CAN_F2R1_FB2_Pos (2U)
2947#define CAN_F2R1_FB2_Msk (0x1UL << CAN_F2R1_FB2_Pos)
2948#define CAN_F2R1_FB2 CAN_F2R1_FB2_Msk
2949#define CAN_F2R1_FB3_Pos (3U)
2950#define CAN_F2R1_FB3_Msk (0x1UL << CAN_F2R1_FB3_Pos)
2951#define CAN_F2R1_FB3 CAN_F2R1_FB3_Msk
2952#define CAN_F2R1_FB4_Pos (4U)
2953#define CAN_F2R1_FB4_Msk (0x1UL << CAN_F2R1_FB4_Pos)
2954#define CAN_F2R1_FB4 CAN_F2R1_FB4_Msk
2955#define CAN_F2R1_FB5_Pos (5U)
2956#define CAN_F2R1_FB5_Msk (0x1UL << CAN_F2R1_FB5_Pos)
2957#define CAN_F2R1_FB5 CAN_F2R1_FB5_Msk
2958#define CAN_F2R1_FB6_Pos (6U)
2959#define CAN_F2R1_FB6_Msk (0x1UL << CAN_F2R1_FB6_Pos)
2960#define CAN_F2R1_FB6 CAN_F2R1_FB6_Msk
2961#define CAN_F2R1_FB7_Pos (7U)
2962#define CAN_F2R1_FB7_Msk (0x1UL << CAN_F2R1_FB7_Pos)
2963#define CAN_F2R1_FB7 CAN_F2R1_FB7_Msk
2964#define CAN_F2R1_FB8_Pos (8U)
2965#define CAN_F2R1_FB8_Msk (0x1UL << CAN_F2R1_FB8_Pos)
2966#define CAN_F2R1_FB8 CAN_F2R1_FB8_Msk
2967#define CAN_F2R1_FB9_Pos (9U)
2968#define CAN_F2R1_FB9_Msk (0x1UL << CAN_F2R1_FB9_Pos)
2969#define CAN_F2R1_FB9 CAN_F2R1_FB9_Msk
2970#define CAN_F2R1_FB10_Pos (10U)
2971#define CAN_F2R1_FB10_Msk (0x1UL << CAN_F2R1_FB10_Pos)
2972#define CAN_F2R1_FB10 CAN_F2R1_FB10_Msk
2973#define CAN_F2R1_FB11_Pos (11U)
2974#define CAN_F2R1_FB11_Msk (0x1UL << CAN_F2R1_FB11_Pos)
2975#define CAN_F2R1_FB11 CAN_F2R1_FB11_Msk
2976#define CAN_F2R1_FB12_Pos (12U)
2977#define CAN_F2R1_FB12_Msk (0x1UL << CAN_F2R1_FB12_Pos)
2978#define CAN_F2R1_FB12 CAN_F2R1_FB12_Msk
2979#define CAN_F2R1_FB13_Pos (13U)
2980#define CAN_F2R1_FB13_Msk (0x1UL << CAN_F2R1_FB13_Pos)
2981#define CAN_F2R1_FB13 CAN_F2R1_FB13_Msk
2982#define CAN_F2R1_FB14_Pos (14U)
2983#define CAN_F2R1_FB14_Msk (0x1UL << CAN_F2R1_FB14_Pos)
2984#define CAN_F2R1_FB14 CAN_F2R1_FB14_Msk
2985#define CAN_F2R1_FB15_Pos (15U)
2986#define CAN_F2R1_FB15_Msk (0x1UL << CAN_F2R1_FB15_Pos)
2987#define CAN_F2R1_FB15 CAN_F2R1_FB15_Msk
2988#define CAN_F2R1_FB16_Pos (16U)
2989#define CAN_F2R1_FB16_Msk (0x1UL << CAN_F2R1_FB16_Pos)
2990#define CAN_F2R1_FB16 CAN_F2R1_FB16_Msk
2991#define CAN_F2R1_FB17_Pos (17U)
2992#define CAN_F2R1_FB17_Msk (0x1UL << CAN_F2R1_FB17_Pos)
2993#define CAN_F2R1_FB17 CAN_F2R1_FB17_Msk
2994#define CAN_F2R1_FB18_Pos (18U)
2995#define CAN_F2R1_FB18_Msk (0x1UL << CAN_F2R1_FB18_Pos)
2996#define CAN_F2R1_FB18 CAN_F2R1_FB18_Msk
2997#define CAN_F2R1_FB19_Pos (19U)
2998#define CAN_F2R1_FB19_Msk (0x1UL << CAN_F2R1_FB19_Pos)
2999#define CAN_F2R1_FB19 CAN_F2R1_FB19_Msk
3000#define CAN_F2R1_FB20_Pos (20U)
3001#define CAN_F2R1_FB20_Msk (0x1UL << CAN_F2R1_FB20_Pos)
3002#define CAN_F2R1_FB20 CAN_F2R1_FB20_Msk
3003#define CAN_F2R1_FB21_Pos (21U)
3004#define CAN_F2R1_FB21_Msk (0x1UL << CAN_F2R1_FB21_Pos)
3005#define CAN_F2R1_FB21 CAN_F2R1_FB21_Msk
3006#define CAN_F2R1_FB22_Pos (22U)
3007#define CAN_F2R1_FB22_Msk (0x1UL << CAN_F2R1_FB22_Pos)
3008#define CAN_F2R1_FB22 CAN_F2R1_FB22_Msk
3009#define CAN_F2R1_FB23_Pos (23U)
3010#define CAN_F2R1_FB23_Msk (0x1UL << CAN_F2R1_FB23_Pos)
3011#define CAN_F2R1_FB23 CAN_F2R1_FB23_Msk
3012#define CAN_F2R1_FB24_Pos (24U)
3013#define CAN_F2R1_FB24_Msk (0x1UL << CAN_F2R1_FB24_Pos)
3014#define CAN_F2R1_FB24 CAN_F2R1_FB24_Msk
3015#define CAN_F2R1_FB25_Pos (25U)
3016#define CAN_F2R1_FB25_Msk (0x1UL << CAN_F2R1_FB25_Pos)
3017#define CAN_F2R1_FB25 CAN_F2R1_FB25_Msk
3018#define CAN_F2R1_FB26_Pos (26U)
3019#define CAN_F2R1_FB26_Msk (0x1UL << CAN_F2R1_FB26_Pos)
3020#define CAN_F2R1_FB26 CAN_F2R1_FB26_Msk
3021#define CAN_F2R1_FB27_Pos (27U)
3022#define CAN_F2R1_FB27_Msk (0x1UL << CAN_F2R1_FB27_Pos)
3023#define CAN_F2R1_FB27 CAN_F2R1_FB27_Msk
3024#define CAN_F2R1_FB28_Pos (28U)
3025#define CAN_F2R1_FB28_Msk (0x1UL << CAN_F2R1_FB28_Pos)
3026#define CAN_F2R1_FB28 CAN_F2R1_FB28_Msk
3027#define CAN_F2R1_FB29_Pos (29U)
3028#define CAN_F2R1_FB29_Msk (0x1UL << CAN_F2R1_FB29_Pos)
3029#define CAN_F2R1_FB29 CAN_F2R1_FB29_Msk
3030#define CAN_F2R1_FB30_Pos (30U)
3031#define CAN_F2R1_FB30_Msk (0x1UL << CAN_F2R1_FB30_Pos)
3032#define CAN_F2R1_FB30 CAN_F2R1_FB30_Msk
3033#define CAN_F2R1_FB31_Pos (31U)
3034#define CAN_F2R1_FB31_Msk (0x1UL << CAN_F2R1_FB31_Pos)
3035#define CAN_F2R1_FB31 CAN_F2R1_FB31_Msk
3037/******************* Bit definition for CAN_F3R1 register *******************/
3038#define CAN_F3R1_FB0_Pos (0U)
3039#define CAN_F3R1_FB0_Msk (0x1UL << CAN_F3R1_FB0_Pos)
3040#define CAN_F3R1_FB0 CAN_F3R1_FB0_Msk
3041#define CAN_F3R1_FB1_Pos (1U)
3042#define CAN_F3R1_FB1_Msk (0x1UL << CAN_F3R1_FB1_Pos)
3043#define CAN_F3R1_FB1 CAN_F3R1_FB1_Msk
3044#define CAN_F3R1_FB2_Pos (2U)
3045#define CAN_F3R1_FB2_Msk (0x1UL << CAN_F3R1_FB2_Pos)
3046#define CAN_F3R1_FB2 CAN_F3R1_FB2_Msk
3047#define CAN_F3R1_FB3_Pos (3U)
3048#define CAN_F3R1_FB3_Msk (0x1UL << CAN_F3R1_FB3_Pos)
3049#define CAN_F3R1_FB3 CAN_F3R1_FB3_Msk
3050#define CAN_F3R1_FB4_Pos (4U)
3051#define CAN_F3R1_FB4_Msk (0x1UL << CAN_F3R1_FB4_Pos)
3052#define CAN_F3R1_FB4 CAN_F3R1_FB4_Msk
3053#define CAN_F3R1_FB5_Pos (5U)
3054#define CAN_F3R1_FB5_Msk (0x1UL << CAN_F3R1_FB5_Pos)
3055#define CAN_F3R1_FB5 CAN_F3R1_FB5_Msk
3056#define CAN_F3R1_FB6_Pos (6U)
3057#define CAN_F3R1_FB6_Msk (0x1UL << CAN_F3R1_FB6_Pos)
3058#define CAN_F3R1_FB6 CAN_F3R1_FB6_Msk
3059#define CAN_F3R1_FB7_Pos (7U)
3060#define CAN_F3R1_FB7_Msk (0x1UL << CAN_F3R1_FB7_Pos)
3061#define CAN_F3R1_FB7 CAN_F3R1_FB7_Msk
3062#define CAN_F3R1_FB8_Pos (8U)
3063#define CAN_F3R1_FB8_Msk (0x1UL << CAN_F3R1_FB8_Pos)
3064#define CAN_F3R1_FB8 CAN_F3R1_FB8_Msk
3065#define CAN_F3R1_FB9_Pos (9U)
3066#define CAN_F3R1_FB9_Msk (0x1UL << CAN_F3R1_FB9_Pos)
3067#define CAN_F3R1_FB9 CAN_F3R1_FB9_Msk
3068#define CAN_F3R1_FB10_Pos (10U)
3069#define CAN_F3R1_FB10_Msk (0x1UL << CAN_F3R1_FB10_Pos)
3070#define CAN_F3R1_FB10 CAN_F3R1_FB10_Msk
3071#define CAN_F3R1_FB11_Pos (11U)
3072#define CAN_F3R1_FB11_Msk (0x1UL << CAN_F3R1_FB11_Pos)
3073#define CAN_F3R1_FB11 CAN_F3R1_FB11_Msk
3074#define CAN_F3R1_FB12_Pos (12U)
3075#define CAN_F3R1_FB12_Msk (0x1UL << CAN_F3R1_FB12_Pos)
3076#define CAN_F3R1_FB12 CAN_F3R1_FB12_Msk
3077#define CAN_F3R1_FB13_Pos (13U)
3078#define CAN_F3R1_FB13_Msk (0x1UL << CAN_F3R1_FB13_Pos)
3079#define CAN_F3R1_FB13 CAN_F3R1_FB13_Msk
3080#define CAN_F3R1_FB14_Pos (14U)
3081#define CAN_F3R1_FB14_Msk (0x1UL << CAN_F3R1_FB14_Pos)
3082#define CAN_F3R1_FB14 CAN_F3R1_FB14_Msk
3083#define CAN_F3R1_FB15_Pos (15U)
3084#define CAN_F3R1_FB15_Msk (0x1UL << CAN_F3R1_FB15_Pos)
3085#define CAN_F3R1_FB15 CAN_F3R1_FB15_Msk
3086#define CAN_F3R1_FB16_Pos (16U)
3087#define CAN_F3R1_FB16_Msk (0x1UL << CAN_F3R1_FB16_Pos)
3088#define CAN_F3R1_FB16 CAN_F3R1_FB16_Msk
3089#define CAN_F3R1_FB17_Pos (17U)
3090#define CAN_F3R1_FB17_Msk (0x1UL << CAN_F3R1_FB17_Pos)
3091#define CAN_F3R1_FB17 CAN_F3R1_FB17_Msk
3092#define CAN_F3R1_FB18_Pos (18U)
3093#define CAN_F3R1_FB18_Msk (0x1UL << CAN_F3R1_FB18_Pos)
3094#define CAN_F3R1_FB18 CAN_F3R1_FB18_Msk
3095#define CAN_F3R1_FB19_Pos (19U)
3096#define CAN_F3R1_FB19_Msk (0x1UL << CAN_F3R1_FB19_Pos)
3097#define CAN_F3R1_FB19 CAN_F3R1_FB19_Msk
3098#define CAN_F3R1_FB20_Pos (20U)
3099#define CAN_F3R1_FB20_Msk (0x1UL << CAN_F3R1_FB20_Pos)
3100#define CAN_F3R1_FB20 CAN_F3R1_FB20_Msk
3101#define CAN_F3R1_FB21_Pos (21U)
3102#define CAN_F3R1_FB21_Msk (0x1UL << CAN_F3R1_FB21_Pos)
3103#define CAN_F3R1_FB21 CAN_F3R1_FB21_Msk
3104#define CAN_F3R1_FB22_Pos (22U)
3105#define CAN_F3R1_FB22_Msk (0x1UL << CAN_F3R1_FB22_Pos)
3106#define CAN_F3R1_FB22 CAN_F3R1_FB22_Msk
3107#define CAN_F3R1_FB23_Pos (23U)
3108#define CAN_F3R1_FB23_Msk (0x1UL << CAN_F3R1_FB23_Pos)
3109#define CAN_F3R1_FB23 CAN_F3R1_FB23_Msk
3110#define CAN_F3R1_FB24_Pos (24U)
3111#define CAN_F3R1_FB24_Msk (0x1UL << CAN_F3R1_FB24_Pos)
3112#define CAN_F3R1_FB24 CAN_F3R1_FB24_Msk
3113#define CAN_F3R1_FB25_Pos (25U)
3114#define CAN_F3R1_FB25_Msk (0x1UL << CAN_F3R1_FB25_Pos)
3115#define CAN_F3R1_FB25 CAN_F3R1_FB25_Msk
3116#define CAN_F3R1_FB26_Pos (26U)
3117#define CAN_F3R1_FB26_Msk (0x1UL << CAN_F3R1_FB26_Pos)
3118#define CAN_F3R1_FB26 CAN_F3R1_FB26_Msk
3119#define CAN_F3R1_FB27_Pos (27U)
3120#define CAN_F3R1_FB27_Msk (0x1UL << CAN_F3R1_FB27_Pos)
3121#define CAN_F3R1_FB27 CAN_F3R1_FB27_Msk
3122#define CAN_F3R1_FB28_Pos (28U)
3123#define CAN_F3R1_FB28_Msk (0x1UL << CAN_F3R1_FB28_Pos)
3124#define CAN_F3R1_FB28 CAN_F3R1_FB28_Msk
3125#define CAN_F3R1_FB29_Pos (29U)
3126#define CAN_F3R1_FB29_Msk (0x1UL << CAN_F3R1_FB29_Pos)
3127#define CAN_F3R1_FB29 CAN_F3R1_FB29_Msk
3128#define CAN_F3R1_FB30_Pos (30U)
3129#define CAN_F3R1_FB30_Msk (0x1UL << CAN_F3R1_FB30_Pos)
3130#define CAN_F3R1_FB30 CAN_F3R1_FB30_Msk
3131#define CAN_F3R1_FB31_Pos (31U)
3132#define CAN_F3R1_FB31_Msk (0x1UL << CAN_F3R1_FB31_Pos)
3133#define CAN_F3R1_FB31 CAN_F3R1_FB31_Msk
3135/******************* Bit definition for CAN_F4R1 register *******************/
3136#define CAN_F4R1_FB0_Pos (0U)
3137#define CAN_F4R1_FB0_Msk (0x1UL << CAN_F4R1_FB0_Pos)
3138#define CAN_F4R1_FB0 CAN_F4R1_FB0_Msk
3139#define CAN_F4R1_FB1_Pos (1U)
3140#define CAN_F4R1_FB1_Msk (0x1UL << CAN_F4R1_FB1_Pos)
3141#define CAN_F4R1_FB1 CAN_F4R1_FB1_Msk
3142#define CAN_F4R1_FB2_Pos (2U)
3143#define CAN_F4R1_FB2_Msk (0x1UL << CAN_F4R1_FB2_Pos)
3144#define CAN_F4R1_FB2 CAN_F4R1_FB2_Msk
3145#define CAN_F4R1_FB3_Pos (3U)
3146#define CAN_F4R1_FB3_Msk (0x1UL << CAN_F4R1_FB3_Pos)
3147#define CAN_F4R1_FB3 CAN_F4R1_FB3_Msk
3148#define CAN_F4R1_FB4_Pos (4U)
3149#define CAN_F4R1_FB4_Msk (0x1UL << CAN_F4R1_FB4_Pos)
3150#define CAN_F4R1_FB4 CAN_F4R1_FB4_Msk
3151#define CAN_F4R1_FB5_Pos (5U)
3152#define CAN_F4R1_FB5_Msk (0x1UL << CAN_F4R1_FB5_Pos)
3153#define CAN_F4R1_FB5 CAN_F4R1_FB5_Msk
3154#define CAN_F4R1_FB6_Pos (6U)
3155#define CAN_F4R1_FB6_Msk (0x1UL << CAN_F4R1_FB6_Pos)
3156#define CAN_F4R1_FB6 CAN_F4R1_FB6_Msk
3157#define CAN_F4R1_FB7_Pos (7U)
3158#define CAN_F4R1_FB7_Msk (0x1UL << CAN_F4R1_FB7_Pos)
3159#define CAN_F4R1_FB7 CAN_F4R1_FB7_Msk
3160#define CAN_F4R1_FB8_Pos (8U)
3161#define CAN_F4R1_FB8_Msk (0x1UL << CAN_F4R1_FB8_Pos)
3162#define CAN_F4R1_FB8 CAN_F4R1_FB8_Msk
3163#define CAN_F4R1_FB9_Pos (9U)
3164#define CAN_F4R1_FB9_Msk (0x1UL << CAN_F4R1_FB9_Pos)
3165#define CAN_F4R1_FB9 CAN_F4R1_FB9_Msk
3166#define CAN_F4R1_FB10_Pos (10U)
3167#define CAN_F4R1_FB10_Msk (0x1UL << CAN_F4R1_FB10_Pos)
3168#define CAN_F4R1_FB10 CAN_F4R1_FB10_Msk
3169#define CAN_F4R1_FB11_Pos (11U)
3170#define CAN_F4R1_FB11_Msk (0x1UL << CAN_F4R1_FB11_Pos)
3171#define CAN_F4R1_FB11 CAN_F4R1_FB11_Msk
3172#define CAN_F4R1_FB12_Pos (12U)
3173#define CAN_F4R1_FB12_Msk (0x1UL << CAN_F4R1_FB12_Pos)
3174#define CAN_F4R1_FB12 CAN_F4R1_FB12_Msk
3175#define CAN_F4R1_FB13_Pos (13U)
3176#define CAN_F4R1_FB13_Msk (0x1UL << CAN_F4R1_FB13_Pos)
3177#define CAN_F4R1_FB13 CAN_F4R1_FB13_Msk
3178#define CAN_F4R1_FB14_Pos (14U)
3179#define CAN_F4R1_FB14_Msk (0x1UL << CAN_F4R1_FB14_Pos)
3180#define CAN_F4R1_FB14 CAN_F4R1_FB14_Msk
3181#define CAN_F4R1_FB15_Pos (15U)
3182#define CAN_F4R1_FB15_Msk (0x1UL << CAN_F4R1_FB15_Pos)
3183#define CAN_F4R1_FB15 CAN_F4R1_FB15_Msk
3184#define CAN_F4R1_FB16_Pos (16U)
3185#define CAN_F4R1_FB16_Msk (0x1UL << CAN_F4R1_FB16_Pos)
3186#define CAN_F4R1_FB16 CAN_F4R1_FB16_Msk
3187#define CAN_F4R1_FB17_Pos (17U)
3188#define CAN_F4R1_FB17_Msk (0x1UL << CAN_F4R1_FB17_Pos)
3189#define CAN_F4R1_FB17 CAN_F4R1_FB17_Msk
3190#define CAN_F4R1_FB18_Pos (18U)
3191#define CAN_F4R1_FB18_Msk (0x1UL << CAN_F4R1_FB18_Pos)
3192#define CAN_F4R1_FB18 CAN_F4R1_FB18_Msk
3193#define CAN_F4R1_FB19_Pos (19U)
3194#define CAN_F4R1_FB19_Msk (0x1UL << CAN_F4R1_FB19_Pos)
3195#define CAN_F4R1_FB19 CAN_F4R1_FB19_Msk
3196#define CAN_F4R1_FB20_Pos (20U)
3197#define CAN_F4R1_FB20_Msk (0x1UL << CAN_F4R1_FB20_Pos)
3198#define CAN_F4R1_FB20 CAN_F4R1_FB20_Msk
3199#define CAN_F4R1_FB21_Pos (21U)
3200#define CAN_F4R1_FB21_Msk (0x1UL << CAN_F4R1_FB21_Pos)
3201#define CAN_F4R1_FB21 CAN_F4R1_FB21_Msk
3202#define CAN_F4R1_FB22_Pos (22U)
3203#define CAN_F4R1_FB22_Msk (0x1UL << CAN_F4R1_FB22_Pos)
3204#define CAN_F4R1_FB22 CAN_F4R1_FB22_Msk
3205#define CAN_F4R1_FB23_Pos (23U)
3206#define CAN_F4R1_FB23_Msk (0x1UL << CAN_F4R1_FB23_Pos)
3207#define CAN_F4R1_FB23 CAN_F4R1_FB23_Msk
3208#define CAN_F4R1_FB24_Pos (24U)
3209#define CAN_F4R1_FB24_Msk (0x1UL << CAN_F4R1_FB24_Pos)
3210#define CAN_F4R1_FB24 CAN_F4R1_FB24_Msk
3211#define CAN_F4R1_FB25_Pos (25U)
3212#define CAN_F4R1_FB25_Msk (0x1UL << CAN_F4R1_FB25_Pos)
3213#define CAN_F4R1_FB25 CAN_F4R1_FB25_Msk
3214#define CAN_F4R1_FB26_Pos (26U)
3215#define CAN_F4R1_FB26_Msk (0x1UL << CAN_F4R1_FB26_Pos)
3216#define CAN_F4R1_FB26 CAN_F4R1_FB26_Msk
3217#define CAN_F4R1_FB27_Pos (27U)
3218#define CAN_F4R1_FB27_Msk (0x1UL << CAN_F4R1_FB27_Pos)
3219#define CAN_F4R1_FB27 CAN_F4R1_FB27_Msk
3220#define CAN_F4R1_FB28_Pos (28U)
3221#define CAN_F4R1_FB28_Msk (0x1UL << CAN_F4R1_FB28_Pos)
3222#define CAN_F4R1_FB28 CAN_F4R1_FB28_Msk
3223#define CAN_F4R1_FB29_Pos (29U)
3224#define CAN_F4R1_FB29_Msk (0x1UL << CAN_F4R1_FB29_Pos)
3225#define CAN_F4R1_FB29 CAN_F4R1_FB29_Msk
3226#define CAN_F4R1_FB30_Pos (30U)
3227#define CAN_F4R1_FB30_Msk (0x1UL << CAN_F4R1_FB30_Pos)
3228#define CAN_F4R1_FB30 CAN_F4R1_FB30_Msk
3229#define CAN_F4R1_FB31_Pos (31U)
3230#define CAN_F4R1_FB31_Msk (0x1UL << CAN_F4R1_FB31_Pos)
3231#define CAN_F4R1_FB31 CAN_F4R1_FB31_Msk
3233/******************* Bit definition for CAN_F5R1 register *******************/
3234#define CAN_F5R1_FB0_Pos (0U)
3235#define CAN_F5R1_FB0_Msk (0x1UL << CAN_F5R1_FB0_Pos)
3236#define CAN_F5R1_FB0 CAN_F5R1_FB0_Msk
3237#define CAN_F5R1_FB1_Pos (1U)
3238#define CAN_F5R1_FB1_Msk (0x1UL << CAN_F5R1_FB1_Pos)
3239#define CAN_F5R1_FB1 CAN_F5R1_FB1_Msk
3240#define CAN_F5R1_FB2_Pos (2U)
3241#define CAN_F5R1_FB2_Msk (0x1UL << CAN_F5R1_FB2_Pos)
3242#define CAN_F5R1_FB2 CAN_F5R1_FB2_Msk
3243#define CAN_F5R1_FB3_Pos (3U)
3244#define CAN_F5R1_FB3_Msk (0x1UL << CAN_F5R1_FB3_Pos)
3245#define CAN_F5R1_FB3 CAN_F5R1_FB3_Msk
3246#define CAN_F5R1_FB4_Pos (4U)
3247#define CAN_F5R1_FB4_Msk (0x1UL << CAN_F5R1_FB4_Pos)
3248#define CAN_F5R1_FB4 CAN_F5R1_FB4_Msk
3249#define CAN_F5R1_FB5_Pos (5U)
3250#define CAN_F5R1_FB5_Msk (0x1UL << CAN_F5R1_FB5_Pos)
3251#define CAN_F5R1_FB5 CAN_F5R1_FB5_Msk
3252#define CAN_F5R1_FB6_Pos (6U)
3253#define CAN_F5R1_FB6_Msk (0x1UL << CAN_F5R1_FB6_Pos)
3254#define CAN_F5R1_FB6 CAN_F5R1_FB6_Msk
3255#define CAN_F5R1_FB7_Pos (7U)
3256#define CAN_F5R1_FB7_Msk (0x1UL << CAN_F5R1_FB7_Pos)
3257#define CAN_F5R1_FB7 CAN_F5R1_FB7_Msk
3258#define CAN_F5R1_FB8_Pos (8U)
3259#define CAN_F5R1_FB8_Msk (0x1UL << CAN_F5R1_FB8_Pos)
3260#define CAN_F5R1_FB8 CAN_F5R1_FB8_Msk
3261#define CAN_F5R1_FB9_Pos (9U)
3262#define CAN_F5R1_FB9_Msk (0x1UL << CAN_F5R1_FB9_Pos)
3263#define CAN_F5R1_FB9 CAN_F5R1_FB9_Msk
3264#define CAN_F5R1_FB10_Pos (10U)
3265#define CAN_F5R1_FB10_Msk (0x1UL << CAN_F5R1_FB10_Pos)
3266#define CAN_F5R1_FB10 CAN_F5R1_FB10_Msk
3267#define CAN_F5R1_FB11_Pos (11U)
3268#define CAN_F5R1_FB11_Msk (0x1UL << CAN_F5R1_FB11_Pos)
3269#define CAN_F5R1_FB11 CAN_F5R1_FB11_Msk
3270#define CAN_F5R1_FB12_Pos (12U)
3271#define CAN_F5R1_FB12_Msk (0x1UL << CAN_F5R1_FB12_Pos)
3272#define CAN_F5R1_FB12 CAN_F5R1_FB12_Msk
3273#define CAN_F5R1_FB13_Pos (13U)
3274#define CAN_F5R1_FB13_Msk (0x1UL << CAN_F5R1_FB13_Pos)
3275#define CAN_F5R1_FB13 CAN_F5R1_FB13_Msk
3276#define CAN_F5R1_FB14_Pos (14U)
3277#define CAN_F5R1_FB14_Msk (0x1UL << CAN_F5R1_FB14_Pos)
3278#define CAN_F5R1_FB14 CAN_F5R1_FB14_Msk
3279#define CAN_F5R1_FB15_Pos (15U)
3280#define CAN_F5R1_FB15_Msk (0x1UL << CAN_F5R1_FB15_Pos)
3281#define CAN_F5R1_FB15 CAN_F5R1_FB15_Msk
3282#define CAN_F5R1_FB16_Pos (16U)
3283#define CAN_F5R1_FB16_Msk (0x1UL << CAN_F5R1_FB16_Pos)
3284#define CAN_F5R1_FB16 CAN_F5R1_FB16_Msk
3285#define CAN_F5R1_FB17_Pos (17U)
3286#define CAN_F5R1_FB17_Msk (0x1UL << CAN_F5R1_FB17_Pos)
3287#define CAN_F5R1_FB17 CAN_F5R1_FB17_Msk
3288#define CAN_F5R1_FB18_Pos (18U)
3289#define CAN_F5R1_FB18_Msk (0x1UL << CAN_F5R1_FB18_Pos)
3290#define CAN_F5R1_FB18 CAN_F5R1_FB18_Msk
3291#define CAN_F5R1_FB19_Pos (19U)
3292#define CAN_F5R1_FB19_Msk (0x1UL << CAN_F5R1_FB19_Pos)
3293#define CAN_F5R1_FB19 CAN_F5R1_FB19_Msk
3294#define CAN_F5R1_FB20_Pos (20U)
3295#define CAN_F5R1_FB20_Msk (0x1UL << CAN_F5R1_FB20_Pos)
3296#define CAN_F5R1_FB20 CAN_F5R1_FB20_Msk
3297#define CAN_F5R1_FB21_Pos (21U)
3298#define CAN_F5R1_FB21_Msk (0x1UL << CAN_F5R1_FB21_Pos)
3299#define CAN_F5R1_FB21 CAN_F5R1_FB21_Msk
3300#define CAN_F5R1_FB22_Pos (22U)
3301#define CAN_F5R1_FB22_Msk (0x1UL << CAN_F5R1_FB22_Pos)
3302#define CAN_F5R1_FB22 CAN_F5R1_FB22_Msk
3303#define CAN_F5R1_FB23_Pos (23U)
3304#define CAN_F5R1_FB23_Msk (0x1UL << CAN_F5R1_FB23_Pos)
3305#define CAN_F5R1_FB23 CAN_F5R1_FB23_Msk
3306#define CAN_F5R1_FB24_Pos (24U)
3307#define CAN_F5R1_FB24_Msk (0x1UL << CAN_F5R1_FB24_Pos)
3308#define CAN_F5R1_FB24 CAN_F5R1_FB24_Msk
3309#define CAN_F5R1_FB25_Pos (25U)
3310#define CAN_F5R1_FB25_Msk (0x1UL << CAN_F5R1_FB25_Pos)
3311#define CAN_F5R1_FB25 CAN_F5R1_FB25_Msk
3312#define CAN_F5R1_FB26_Pos (26U)
3313#define CAN_F5R1_FB26_Msk (0x1UL << CAN_F5R1_FB26_Pos)
3314#define CAN_F5R1_FB26 CAN_F5R1_FB26_Msk
3315#define CAN_F5R1_FB27_Pos (27U)
3316#define CAN_F5R1_FB27_Msk (0x1UL << CAN_F5R1_FB27_Pos)
3317#define CAN_F5R1_FB27 CAN_F5R1_FB27_Msk
3318#define CAN_F5R1_FB28_Pos (28U)
3319#define CAN_F5R1_FB28_Msk (0x1UL << CAN_F5R1_FB28_Pos)
3320#define CAN_F5R1_FB28 CAN_F5R1_FB28_Msk
3321#define CAN_F5R1_FB29_Pos (29U)
3322#define CAN_F5R1_FB29_Msk (0x1UL << CAN_F5R1_FB29_Pos)
3323#define CAN_F5R1_FB29 CAN_F5R1_FB29_Msk
3324#define CAN_F5R1_FB30_Pos (30U)
3325#define CAN_F5R1_FB30_Msk (0x1UL << CAN_F5R1_FB30_Pos)
3326#define CAN_F5R1_FB30 CAN_F5R1_FB30_Msk
3327#define CAN_F5R1_FB31_Pos (31U)
3328#define CAN_F5R1_FB31_Msk (0x1UL << CAN_F5R1_FB31_Pos)
3329#define CAN_F5R1_FB31 CAN_F5R1_FB31_Msk
3331/******************* Bit definition for CAN_F6R1 register *******************/
3332#define CAN_F6R1_FB0_Pos (0U)
3333#define CAN_F6R1_FB0_Msk (0x1UL << CAN_F6R1_FB0_Pos)
3334#define CAN_F6R1_FB0 CAN_F6R1_FB0_Msk
3335#define CAN_F6R1_FB1_Pos (1U)
3336#define CAN_F6R1_FB1_Msk (0x1UL << CAN_F6R1_FB1_Pos)
3337#define CAN_F6R1_FB1 CAN_F6R1_FB1_Msk
3338#define CAN_F6R1_FB2_Pos (2U)
3339#define CAN_F6R1_FB2_Msk (0x1UL << CAN_F6R1_FB2_Pos)
3340#define CAN_F6R1_FB2 CAN_F6R1_FB2_Msk
3341#define CAN_F6R1_FB3_Pos (3U)
3342#define CAN_F6R1_FB3_Msk (0x1UL << CAN_F6R1_FB3_Pos)
3343#define CAN_F6R1_FB3 CAN_F6R1_FB3_Msk
3344#define CAN_F6R1_FB4_Pos (4U)
3345#define CAN_F6R1_FB4_Msk (0x1UL << CAN_F6R1_FB4_Pos)
3346#define CAN_F6R1_FB4 CAN_F6R1_FB4_Msk
3347#define CAN_F6R1_FB5_Pos (5U)
3348#define CAN_F6R1_FB5_Msk (0x1UL << CAN_F6R1_FB5_Pos)
3349#define CAN_F6R1_FB5 CAN_F6R1_FB5_Msk
3350#define CAN_F6R1_FB6_Pos (6U)
3351#define CAN_F6R1_FB6_Msk (0x1UL << CAN_F6R1_FB6_Pos)
3352#define CAN_F6R1_FB6 CAN_F6R1_FB6_Msk
3353#define CAN_F6R1_FB7_Pos (7U)
3354#define CAN_F6R1_FB7_Msk (0x1UL << CAN_F6R1_FB7_Pos)
3355#define CAN_F6R1_FB7 CAN_F6R1_FB7_Msk
3356#define CAN_F6R1_FB8_Pos (8U)
3357#define CAN_F6R1_FB8_Msk (0x1UL << CAN_F6R1_FB8_Pos)
3358#define CAN_F6R1_FB8 CAN_F6R1_FB8_Msk
3359#define CAN_F6R1_FB9_Pos (9U)
3360#define CAN_F6R1_FB9_Msk (0x1UL << CAN_F6R1_FB9_Pos)
3361#define CAN_F6R1_FB9 CAN_F6R1_FB9_Msk
3362#define CAN_F6R1_FB10_Pos (10U)
3363#define CAN_F6R1_FB10_Msk (0x1UL << CAN_F6R1_FB10_Pos)
3364#define CAN_F6R1_FB10 CAN_F6R1_FB10_Msk
3365#define CAN_F6R1_FB11_Pos (11U)
3366#define CAN_F6R1_FB11_Msk (0x1UL << CAN_F6R1_FB11_Pos)
3367#define CAN_F6R1_FB11 CAN_F6R1_FB11_Msk
3368#define CAN_F6R1_FB12_Pos (12U)
3369#define CAN_F6R1_FB12_Msk (0x1UL << CAN_F6R1_FB12_Pos)
3370#define CAN_F6R1_FB12 CAN_F6R1_FB12_Msk
3371#define CAN_F6R1_FB13_Pos (13U)
3372#define CAN_F6R1_FB13_Msk (0x1UL << CAN_F6R1_FB13_Pos)
3373#define CAN_F6R1_FB13 CAN_F6R1_FB13_Msk
3374#define CAN_F6R1_FB14_Pos (14U)
3375#define CAN_F6R1_FB14_Msk (0x1UL << CAN_F6R1_FB14_Pos)
3376#define CAN_F6R1_FB14 CAN_F6R1_FB14_Msk
3377#define CAN_F6R1_FB15_Pos (15U)
3378#define CAN_F6R1_FB15_Msk (0x1UL << CAN_F6R1_FB15_Pos)
3379#define CAN_F6R1_FB15 CAN_F6R1_FB15_Msk
3380#define CAN_F6R1_FB16_Pos (16U)
3381#define CAN_F6R1_FB16_Msk (0x1UL << CAN_F6R1_FB16_Pos)
3382#define CAN_F6R1_FB16 CAN_F6R1_FB16_Msk
3383#define CAN_F6R1_FB17_Pos (17U)
3384#define CAN_F6R1_FB17_Msk (0x1UL << CAN_F6R1_FB17_Pos)
3385#define CAN_F6R1_FB17 CAN_F6R1_FB17_Msk
3386#define CAN_F6R1_FB18_Pos (18U)
3387#define CAN_F6R1_FB18_Msk (0x1UL << CAN_F6R1_FB18_Pos)
3388#define CAN_F6R1_FB18 CAN_F6R1_FB18_Msk
3389#define CAN_F6R1_FB19_Pos (19U)
3390#define CAN_F6R1_FB19_Msk (0x1UL << CAN_F6R1_FB19_Pos)
3391#define CAN_F6R1_FB19 CAN_F6R1_FB19_Msk
3392#define CAN_F6R1_FB20_Pos (20U)
3393#define CAN_F6R1_FB20_Msk (0x1UL << CAN_F6R1_FB20_Pos)
3394#define CAN_F6R1_FB20 CAN_F6R1_FB20_Msk
3395#define CAN_F6R1_FB21_Pos (21U)
3396#define CAN_F6R1_FB21_Msk (0x1UL << CAN_F6R1_FB21_Pos)
3397#define CAN_F6R1_FB21 CAN_F6R1_FB21_Msk
3398#define CAN_F6R1_FB22_Pos (22U)
3399#define CAN_F6R1_FB22_Msk (0x1UL << CAN_F6R1_FB22_Pos)
3400#define CAN_F6R1_FB22 CAN_F6R1_FB22_Msk
3401#define CAN_F6R1_FB23_Pos (23U)
3402#define CAN_F6R1_FB23_Msk (0x1UL << CAN_F6R1_FB23_Pos)
3403#define CAN_F6R1_FB23 CAN_F6R1_FB23_Msk
3404#define CAN_F6R1_FB24_Pos (24U)
3405#define CAN_F6R1_FB24_Msk (0x1UL << CAN_F6R1_FB24_Pos)
3406#define CAN_F6R1_FB24 CAN_F6R1_FB24_Msk
3407#define CAN_F6R1_FB25_Pos (25U)
3408#define CAN_F6R1_FB25_Msk (0x1UL << CAN_F6R1_FB25_Pos)
3409#define CAN_F6R1_FB25 CAN_F6R1_FB25_Msk
3410#define CAN_F6R1_FB26_Pos (26U)
3411#define CAN_F6R1_FB26_Msk (0x1UL << CAN_F6R1_FB26_Pos)
3412#define CAN_F6R1_FB26 CAN_F6R1_FB26_Msk
3413#define CAN_F6R1_FB27_Pos (27U)
3414#define CAN_F6R1_FB27_Msk (0x1UL << CAN_F6R1_FB27_Pos)
3415#define CAN_F6R1_FB27 CAN_F6R1_FB27_Msk
3416#define CAN_F6R1_FB28_Pos (28U)
3417#define CAN_F6R1_FB28_Msk (0x1UL << CAN_F6R1_FB28_Pos)
3418#define CAN_F6R1_FB28 CAN_F6R1_FB28_Msk
3419#define CAN_F6R1_FB29_Pos (29U)
3420#define CAN_F6R1_FB29_Msk (0x1UL << CAN_F6R1_FB29_Pos)
3421#define CAN_F6R1_FB29 CAN_F6R1_FB29_Msk
3422#define CAN_F6R1_FB30_Pos (30U)
3423#define CAN_F6R1_FB30_Msk (0x1UL << CAN_F6R1_FB30_Pos)
3424#define CAN_F6R1_FB30 CAN_F6R1_FB30_Msk
3425#define CAN_F6R1_FB31_Pos (31U)
3426#define CAN_F6R1_FB31_Msk (0x1UL << CAN_F6R1_FB31_Pos)
3427#define CAN_F6R1_FB31 CAN_F6R1_FB31_Msk
3429/******************* Bit definition for CAN_F7R1 register *******************/
3430#define CAN_F7R1_FB0_Pos (0U)
3431#define CAN_F7R1_FB0_Msk (0x1UL << CAN_F7R1_FB0_Pos)
3432#define CAN_F7R1_FB0 CAN_F7R1_FB0_Msk
3433#define CAN_F7R1_FB1_Pos (1U)
3434#define CAN_F7R1_FB1_Msk (0x1UL << CAN_F7R1_FB1_Pos)
3435#define CAN_F7R1_FB1 CAN_F7R1_FB1_Msk
3436#define CAN_F7R1_FB2_Pos (2U)
3437#define CAN_F7R1_FB2_Msk (0x1UL << CAN_F7R1_FB2_Pos)
3438#define CAN_F7R1_FB2 CAN_F7R1_FB2_Msk
3439#define CAN_F7R1_FB3_Pos (3U)
3440#define CAN_F7R1_FB3_Msk (0x1UL << CAN_F7R1_FB3_Pos)
3441#define CAN_F7R1_FB3 CAN_F7R1_FB3_Msk
3442#define CAN_F7R1_FB4_Pos (4U)
3443#define CAN_F7R1_FB4_Msk (0x1UL << CAN_F7R1_FB4_Pos)
3444#define CAN_F7R1_FB4 CAN_F7R1_FB4_Msk
3445#define CAN_F7R1_FB5_Pos (5U)
3446#define CAN_F7R1_FB5_Msk (0x1UL << CAN_F7R1_FB5_Pos)
3447#define CAN_F7R1_FB5 CAN_F7R1_FB5_Msk
3448#define CAN_F7R1_FB6_Pos (6U)
3449#define CAN_F7R1_FB6_Msk (0x1UL << CAN_F7R1_FB6_Pos)
3450#define CAN_F7R1_FB6 CAN_F7R1_FB6_Msk
3451#define CAN_F7R1_FB7_Pos (7U)
3452#define CAN_F7R1_FB7_Msk (0x1UL << CAN_F7R1_FB7_Pos)
3453#define CAN_F7R1_FB7 CAN_F7R1_FB7_Msk
3454#define CAN_F7R1_FB8_Pos (8U)
3455#define CAN_F7R1_FB8_Msk (0x1UL << CAN_F7R1_FB8_Pos)
3456#define CAN_F7R1_FB8 CAN_F7R1_FB8_Msk
3457#define CAN_F7R1_FB9_Pos (9U)
3458#define CAN_F7R1_FB9_Msk (0x1UL << CAN_F7R1_FB9_Pos)
3459#define CAN_F7R1_FB9 CAN_F7R1_FB9_Msk
3460#define CAN_F7R1_FB10_Pos (10U)
3461#define CAN_F7R1_FB10_Msk (0x1UL << CAN_F7R1_FB10_Pos)
3462#define CAN_F7R1_FB10 CAN_F7R1_FB10_Msk
3463#define CAN_F7R1_FB11_Pos (11U)
3464#define CAN_F7R1_FB11_Msk (0x1UL << CAN_F7R1_FB11_Pos)
3465#define CAN_F7R1_FB11 CAN_F7R1_FB11_Msk
3466#define CAN_F7R1_FB12_Pos (12U)
3467#define CAN_F7R1_FB12_Msk (0x1UL << CAN_F7R1_FB12_Pos)
3468#define CAN_F7R1_FB12 CAN_F7R1_FB12_Msk
3469#define CAN_F7R1_FB13_Pos (13U)
3470#define CAN_F7R1_FB13_Msk (0x1UL << CAN_F7R1_FB13_Pos)
3471#define CAN_F7R1_FB13 CAN_F7R1_FB13_Msk
3472#define CAN_F7R1_FB14_Pos (14U)
3473#define CAN_F7R1_FB14_Msk (0x1UL << CAN_F7R1_FB14_Pos)
3474#define CAN_F7R1_FB14 CAN_F7R1_FB14_Msk
3475#define CAN_F7R1_FB15_Pos (15U)
3476#define CAN_F7R1_FB15_Msk (0x1UL << CAN_F7R1_FB15_Pos)
3477#define CAN_F7R1_FB15 CAN_F7R1_FB15_Msk
3478#define CAN_F7R1_FB16_Pos (16U)
3479#define CAN_F7R1_FB16_Msk (0x1UL << CAN_F7R1_FB16_Pos)
3480#define CAN_F7R1_FB16 CAN_F7R1_FB16_Msk
3481#define CAN_F7R1_FB17_Pos (17U)
3482#define CAN_F7R1_FB17_Msk (0x1UL << CAN_F7R1_FB17_Pos)
3483#define CAN_F7R1_FB17 CAN_F7R1_FB17_Msk
3484#define CAN_F7R1_FB18_Pos (18U)
3485#define CAN_F7R1_FB18_Msk (0x1UL << CAN_F7R1_FB18_Pos)
3486#define CAN_F7R1_FB18 CAN_F7R1_FB18_Msk
3487#define CAN_F7R1_FB19_Pos (19U)
3488#define CAN_F7R1_FB19_Msk (0x1UL << CAN_F7R1_FB19_Pos)
3489#define CAN_F7R1_FB19 CAN_F7R1_FB19_Msk
3490#define CAN_F7R1_FB20_Pos (20U)
3491#define CAN_F7R1_FB20_Msk (0x1UL << CAN_F7R1_FB20_Pos)
3492#define CAN_F7R1_FB20 CAN_F7R1_FB20_Msk
3493#define CAN_F7R1_FB21_Pos (21U)
3494#define CAN_F7R1_FB21_Msk (0x1UL << CAN_F7R1_FB21_Pos)
3495#define CAN_F7R1_FB21 CAN_F7R1_FB21_Msk
3496#define CAN_F7R1_FB22_Pos (22U)
3497#define CAN_F7R1_FB22_Msk (0x1UL << CAN_F7R1_FB22_Pos)
3498#define CAN_F7R1_FB22 CAN_F7R1_FB22_Msk
3499#define CAN_F7R1_FB23_Pos (23U)
3500#define CAN_F7R1_FB23_Msk (0x1UL << CAN_F7R1_FB23_Pos)
3501#define CAN_F7R1_FB23 CAN_F7R1_FB23_Msk
3502#define CAN_F7R1_FB24_Pos (24U)
3503#define CAN_F7R1_FB24_Msk (0x1UL << CAN_F7R1_FB24_Pos)
3504#define CAN_F7R1_FB24 CAN_F7R1_FB24_Msk
3505#define CAN_F7R1_FB25_Pos (25U)
3506#define CAN_F7R1_FB25_Msk (0x1UL << CAN_F7R1_FB25_Pos)
3507#define CAN_F7R1_FB25 CAN_F7R1_FB25_Msk
3508#define CAN_F7R1_FB26_Pos (26U)
3509#define CAN_F7R1_FB26_Msk (0x1UL << CAN_F7R1_FB26_Pos)
3510#define CAN_F7R1_FB26 CAN_F7R1_FB26_Msk
3511#define CAN_F7R1_FB27_Pos (27U)
3512#define CAN_F7R1_FB27_Msk (0x1UL << CAN_F7R1_FB27_Pos)
3513#define CAN_F7R1_FB27 CAN_F7R1_FB27_Msk
3514#define CAN_F7R1_FB28_Pos (28U)
3515#define CAN_F7R1_FB28_Msk (0x1UL << CAN_F7R1_FB28_Pos)
3516#define CAN_F7R1_FB28 CAN_F7R1_FB28_Msk
3517#define CAN_F7R1_FB29_Pos (29U)
3518#define CAN_F7R1_FB29_Msk (0x1UL << CAN_F7R1_FB29_Pos)
3519#define CAN_F7R1_FB29 CAN_F7R1_FB29_Msk
3520#define CAN_F7R1_FB30_Pos (30U)
3521#define CAN_F7R1_FB30_Msk (0x1UL << CAN_F7R1_FB30_Pos)
3522#define CAN_F7R1_FB30 CAN_F7R1_FB30_Msk
3523#define CAN_F7R1_FB31_Pos (31U)
3524#define CAN_F7R1_FB31_Msk (0x1UL << CAN_F7R1_FB31_Pos)
3525#define CAN_F7R1_FB31 CAN_F7R1_FB31_Msk
3527/******************* Bit definition for CAN_F8R1 register *******************/
3528#define CAN_F8R1_FB0_Pos (0U)
3529#define CAN_F8R1_FB0_Msk (0x1UL << CAN_F8R1_FB0_Pos)
3530#define CAN_F8R1_FB0 CAN_F8R1_FB0_Msk
3531#define CAN_F8R1_FB1_Pos (1U)
3532#define CAN_F8R1_FB1_Msk (0x1UL << CAN_F8R1_FB1_Pos)
3533#define CAN_F8R1_FB1 CAN_F8R1_FB1_Msk
3534#define CAN_F8R1_FB2_Pos (2U)
3535#define CAN_F8R1_FB2_Msk (0x1UL << CAN_F8R1_FB2_Pos)
3536#define CAN_F8R1_FB2 CAN_F8R1_FB2_Msk
3537#define CAN_F8R1_FB3_Pos (3U)
3538#define CAN_F8R1_FB3_Msk (0x1UL << CAN_F8R1_FB3_Pos)
3539#define CAN_F8R1_FB3 CAN_F8R1_FB3_Msk
3540#define CAN_F8R1_FB4_Pos (4U)
3541#define CAN_F8R1_FB4_Msk (0x1UL << CAN_F8R1_FB4_Pos)
3542#define CAN_F8R1_FB4 CAN_F8R1_FB4_Msk
3543#define CAN_F8R1_FB5_Pos (5U)
3544#define CAN_F8R1_FB5_Msk (0x1UL << CAN_F8R1_FB5_Pos)
3545#define CAN_F8R1_FB5 CAN_F8R1_FB5_Msk
3546#define CAN_F8R1_FB6_Pos (6U)
3547#define CAN_F8R1_FB6_Msk (0x1UL << CAN_F8R1_FB6_Pos)
3548#define CAN_F8R1_FB6 CAN_F8R1_FB6_Msk
3549#define CAN_F8R1_FB7_Pos (7U)
3550#define CAN_F8R1_FB7_Msk (0x1UL << CAN_F8R1_FB7_Pos)
3551#define CAN_F8R1_FB7 CAN_F8R1_FB7_Msk
3552#define CAN_F8R1_FB8_Pos (8U)
3553#define CAN_F8R1_FB8_Msk (0x1UL << CAN_F8R1_FB8_Pos)
3554#define CAN_F8R1_FB8 CAN_F8R1_FB8_Msk
3555#define CAN_F8R1_FB9_Pos (9U)
3556#define CAN_F8R1_FB9_Msk (0x1UL << CAN_F8R1_FB9_Pos)
3557#define CAN_F8R1_FB9 CAN_F8R1_FB9_Msk
3558#define CAN_F8R1_FB10_Pos (10U)
3559#define CAN_F8R1_FB10_Msk (0x1UL << CAN_F8R1_FB10_Pos)
3560#define CAN_F8R1_FB10 CAN_F8R1_FB10_Msk
3561#define CAN_F8R1_FB11_Pos (11U)
3562#define CAN_F8R1_FB11_Msk (0x1UL << CAN_F8R1_FB11_Pos)
3563#define CAN_F8R1_FB11 CAN_F8R1_FB11_Msk
3564#define CAN_F8R1_FB12_Pos (12U)
3565#define CAN_F8R1_FB12_Msk (0x1UL << CAN_F8R1_FB12_Pos)
3566#define CAN_F8R1_FB12 CAN_F8R1_FB12_Msk
3567#define CAN_F8R1_FB13_Pos (13U)
3568#define CAN_F8R1_FB13_Msk (0x1UL << CAN_F8R1_FB13_Pos)
3569#define CAN_F8R1_FB13 CAN_F8R1_FB13_Msk
3570#define CAN_F8R1_FB14_Pos (14U)
3571#define CAN_F8R1_FB14_Msk (0x1UL << CAN_F8R1_FB14_Pos)
3572#define CAN_F8R1_FB14 CAN_F8R1_FB14_Msk
3573#define CAN_F8R1_FB15_Pos (15U)
3574#define CAN_F8R1_FB15_Msk (0x1UL << CAN_F8R1_FB15_Pos)
3575#define CAN_F8R1_FB15 CAN_F8R1_FB15_Msk
3576#define CAN_F8R1_FB16_Pos (16U)
3577#define CAN_F8R1_FB16_Msk (0x1UL << CAN_F8R1_FB16_Pos)
3578#define CAN_F8R1_FB16 CAN_F8R1_FB16_Msk
3579#define CAN_F8R1_FB17_Pos (17U)
3580#define CAN_F8R1_FB17_Msk (0x1UL << CAN_F8R1_FB17_Pos)
3581#define CAN_F8R1_FB17 CAN_F8R1_FB17_Msk
3582#define CAN_F8R1_FB18_Pos (18U)
3583#define CAN_F8R1_FB18_Msk (0x1UL << CAN_F8R1_FB18_Pos)
3584#define CAN_F8R1_FB18 CAN_F8R1_FB18_Msk
3585#define CAN_F8R1_FB19_Pos (19U)
3586#define CAN_F8R1_FB19_Msk (0x1UL << CAN_F8R1_FB19_Pos)
3587#define CAN_F8R1_FB19 CAN_F8R1_FB19_Msk
3588#define CAN_F8R1_FB20_Pos (20U)
3589#define CAN_F8R1_FB20_Msk (0x1UL << CAN_F8R1_FB20_Pos)
3590#define CAN_F8R1_FB20 CAN_F8R1_FB20_Msk
3591#define CAN_F8R1_FB21_Pos (21U)
3592#define CAN_F8R1_FB21_Msk (0x1UL << CAN_F8R1_FB21_Pos)
3593#define CAN_F8R1_FB21 CAN_F8R1_FB21_Msk
3594#define CAN_F8R1_FB22_Pos (22U)
3595#define CAN_F8R1_FB22_Msk (0x1UL << CAN_F8R1_FB22_Pos)
3596#define CAN_F8R1_FB22 CAN_F8R1_FB22_Msk
3597#define CAN_F8R1_FB23_Pos (23U)
3598#define CAN_F8R1_FB23_Msk (0x1UL << CAN_F8R1_FB23_Pos)
3599#define CAN_F8R1_FB23 CAN_F8R1_FB23_Msk
3600#define CAN_F8R1_FB24_Pos (24U)
3601#define CAN_F8R1_FB24_Msk (0x1UL << CAN_F8R1_FB24_Pos)
3602#define CAN_F8R1_FB24 CAN_F8R1_FB24_Msk
3603#define CAN_F8R1_FB25_Pos (25U)
3604#define CAN_F8R1_FB25_Msk (0x1UL << CAN_F8R1_FB25_Pos)
3605#define CAN_F8R1_FB25 CAN_F8R1_FB25_Msk
3606#define CAN_F8R1_FB26_Pos (26U)
3607#define CAN_F8R1_FB26_Msk (0x1UL << CAN_F8R1_FB26_Pos)
3608#define CAN_F8R1_FB26 CAN_F8R1_FB26_Msk
3609#define CAN_F8R1_FB27_Pos (27U)
3610#define CAN_F8R1_FB27_Msk (0x1UL << CAN_F8R1_FB27_Pos)
3611#define CAN_F8R1_FB27 CAN_F8R1_FB27_Msk
3612#define CAN_F8R1_FB28_Pos (28U)
3613#define CAN_F8R1_FB28_Msk (0x1UL << CAN_F8R1_FB28_Pos)
3614#define CAN_F8R1_FB28 CAN_F8R1_FB28_Msk
3615#define CAN_F8R1_FB29_Pos (29U)
3616#define CAN_F8R1_FB29_Msk (0x1UL << CAN_F8R1_FB29_Pos)
3617#define CAN_F8R1_FB29 CAN_F8R1_FB29_Msk
3618#define CAN_F8R1_FB30_Pos (30U)
3619#define CAN_F8R1_FB30_Msk (0x1UL << CAN_F8R1_FB30_Pos)
3620#define CAN_F8R1_FB30 CAN_F8R1_FB30_Msk
3621#define CAN_F8R1_FB31_Pos (31U)
3622#define CAN_F8R1_FB31_Msk (0x1UL << CAN_F8R1_FB31_Pos)
3623#define CAN_F8R1_FB31 CAN_F8R1_FB31_Msk
3625/******************* Bit definition for CAN_F9R1 register *******************/
3626#define CAN_F9R1_FB0_Pos (0U)
3627#define CAN_F9R1_FB0_Msk (0x1UL << CAN_F9R1_FB0_Pos)
3628#define CAN_F9R1_FB0 CAN_F9R1_FB0_Msk
3629#define CAN_F9R1_FB1_Pos (1U)
3630#define CAN_F9R1_FB1_Msk (0x1UL << CAN_F9R1_FB1_Pos)
3631#define CAN_F9R1_FB1 CAN_F9R1_FB1_Msk
3632#define CAN_F9R1_FB2_Pos (2U)
3633#define CAN_F9R1_FB2_Msk (0x1UL << CAN_F9R1_FB2_Pos)
3634#define CAN_F9R1_FB2 CAN_F9R1_FB2_Msk
3635#define CAN_F9R1_FB3_Pos (3U)
3636#define CAN_F9R1_FB3_Msk (0x1UL << CAN_F9R1_FB3_Pos)
3637#define CAN_F9R1_FB3 CAN_F9R1_FB3_Msk
3638#define CAN_F9R1_FB4_Pos (4U)
3639#define CAN_F9R1_FB4_Msk (0x1UL << CAN_F9R1_FB4_Pos)
3640#define CAN_F9R1_FB4 CAN_F9R1_FB4_Msk
3641#define CAN_F9R1_FB5_Pos (5U)
3642#define CAN_F9R1_FB5_Msk (0x1UL << CAN_F9R1_FB5_Pos)
3643#define CAN_F9R1_FB5 CAN_F9R1_FB5_Msk
3644#define CAN_F9R1_FB6_Pos (6U)
3645#define CAN_F9R1_FB6_Msk (0x1UL << CAN_F9R1_FB6_Pos)
3646#define CAN_F9R1_FB6 CAN_F9R1_FB6_Msk
3647#define CAN_F9R1_FB7_Pos (7U)
3648#define CAN_F9R1_FB7_Msk (0x1UL << CAN_F9R1_FB7_Pos)
3649#define CAN_F9R1_FB7 CAN_F9R1_FB7_Msk
3650#define CAN_F9R1_FB8_Pos (8U)
3651#define CAN_F9R1_FB8_Msk (0x1UL << CAN_F9R1_FB8_Pos)
3652#define CAN_F9R1_FB8 CAN_F9R1_FB8_Msk
3653#define CAN_F9R1_FB9_Pos (9U)
3654#define CAN_F9R1_FB9_Msk (0x1UL << CAN_F9R1_FB9_Pos)
3655#define CAN_F9R1_FB9 CAN_F9R1_FB9_Msk
3656#define CAN_F9R1_FB10_Pos (10U)
3657#define CAN_F9R1_FB10_Msk (0x1UL << CAN_F9R1_FB10_Pos)
3658#define CAN_F9R1_FB10 CAN_F9R1_FB10_Msk
3659#define CAN_F9R1_FB11_Pos (11U)
3660#define CAN_F9R1_FB11_Msk (0x1UL << CAN_F9R1_FB11_Pos)
3661#define CAN_F9R1_FB11 CAN_F9R1_FB11_Msk
3662#define CAN_F9R1_FB12_Pos (12U)
3663#define CAN_F9R1_FB12_Msk (0x1UL << CAN_F9R1_FB12_Pos)
3664#define CAN_F9R1_FB12 CAN_F9R1_FB12_Msk
3665#define CAN_F9R1_FB13_Pos (13U)
3666#define CAN_F9R1_FB13_Msk (0x1UL << CAN_F9R1_FB13_Pos)
3667#define CAN_F9R1_FB13 CAN_F9R1_FB13_Msk
3668#define CAN_F9R1_FB14_Pos (14U)
3669#define CAN_F9R1_FB14_Msk (0x1UL << CAN_F9R1_FB14_Pos)
3670#define CAN_F9R1_FB14 CAN_F9R1_FB14_Msk
3671#define CAN_F9R1_FB15_Pos (15U)
3672#define CAN_F9R1_FB15_Msk (0x1UL << CAN_F9R1_FB15_Pos)
3673#define CAN_F9R1_FB15 CAN_F9R1_FB15_Msk
3674#define CAN_F9R1_FB16_Pos (16U)
3675#define CAN_F9R1_FB16_Msk (0x1UL << CAN_F9R1_FB16_Pos)
3676#define CAN_F9R1_FB16 CAN_F9R1_FB16_Msk
3677#define CAN_F9R1_FB17_Pos (17U)
3678#define CAN_F9R1_FB17_Msk (0x1UL << CAN_F9R1_FB17_Pos)
3679#define CAN_F9R1_FB17 CAN_F9R1_FB17_Msk
3680#define CAN_F9R1_FB18_Pos (18U)
3681#define CAN_F9R1_FB18_Msk (0x1UL << CAN_F9R1_FB18_Pos)
3682#define CAN_F9R1_FB18 CAN_F9R1_FB18_Msk
3683#define CAN_F9R1_FB19_Pos (19U)
3684#define CAN_F9R1_FB19_Msk (0x1UL << CAN_F9R1_FB19_Pos)
3685#define CAN_F9R1_FB19 CAN_F9R1_FB19_Msk
3686#define CAN_F9R1_FB20_Pos (20U)
3687#define CAN_F9R1_FB20_Msk (0x1UL << CAN_F9R1_FB20_Pos)
3688#define CAN_F9R1_FB20 CAN_F9R1_FB20_Msk
3689#define CAN_F9R1_FB21_Pos (21U)
3690#define CAN_F9R1_FB21_Msk (0x1UL << CAN_F9R1_FB21_Pos)
3691#define CAN_F9R1_FB21 CAN_F9R1_FB21_Msk
3692#define CAN_F9R1_FB22_Pos (22U)
3693#define CAN_F9R1_FB22_Msk (0x1UL << CAN_F9R1_FB22_Pos)
3694#define CAN_F9R1_FB22 CAN_F9R1_FB22_Msk
3695#define CAN_F9R1_FB23_Pos (23U)
3696#define CAN_F9R1_FB23_Msk (0x1UL << CAN_F9R1_FB23_Pos)
3697#define CAN_F9R1_FB23 CAN_F9R1_FB23_Msk
3698#define CAN_F9R1_FB24_Pos (24U)
3699#define CAN_F9R1_FB24_Msk (0x1UL << CAN_F9R1_FB24_Pos)
3700#define CAN_F9R1_FB24 CAN_F9R1_FB24_Msk
3701#define CAN_F9R1_FB25_Pos (25U)
3702#define CAN_F9R1_FB25_Msk (0x1UL << CAN_F9R1_FB25_Pos)
3703#define CAN_F9R1_FB25 CAN_F9R1_FB25_Msk
3704#define CAN_F9R1_FB26_Pos (26U)
3705#define CAN_F9R1_FB26_Msk (0x1UL << CAN_F9R1_FB26_Pos)
3706#define CAN_F9R1_FB26 CAN_F9R1_FB26_Msk
3707#define CAN_F9R1_FB27_Pos (27U)
3708#define CAN_F9R1_FB27_Msk (0x1UL << CAN_F9R1_FB27_Pos)
3709#define CAN_F9R1_FB27 CAN_F9R1_FB27_Msk
3710#define CAN_F9R1_FB28_Pos (28U)
3711#define CAN_F9R1_FB28_Msk (0x1UL << CAN_F9R1_FB28_Pos)
3712#define CAN_F9R1_FB28 CAN_F9R1_FB28_Msk
3713#define CAN_F9R1_FB29_Pos (29U)
3714#define CAN_F9R1_FB29_Msk (0x1UL << CAN_F9R1_FB29_Pos)
3715#define CAN_F9R1_FB29 CAN_F9R1_FB29_Msk
3716#define CAN_F9R1_FB30_Pos (30U)
3717#define CAN_F9R1_FB30_Msk (0x1UL << CAN_F9R1_FB30_Pos)
3718#define CAN_F9R1_FB30 CAN_F9R1_FB30_Msk
3719#define CAN_F9R1_FB31_Pos (31U)
3720#define CAN_F9R1_FB31_Msk (0x1UL << CAN_F9R1_FB31_Pos)
3721#define CAN_F9R1_FB31 CAN_F9R1_FB31_Msk
3723/******************* Bit definition for CAN_F10R1 register ******************/
3724#define CAN_F10R1_FB0_Pos (0U)
3725#define CAN_F10R1_FB0_Msk (0x1UL << CAN_F10R1_FB0_Pos)
3726#define CAN_F10R1_FB0 CAN_F10R1_FB0_Msk
3727#define CAN_F10R1_FB1_Pos (1U)
3728#define CAN_F10R1_FB1_Msk (0x1UL << CAN_F10R1_FB1_Pos)
3729#define CAN_F10R1_FB1 CAN_F10R1_FB1_Msk
3730#define CAN_F10R1_FB2_Pos (2U)
3731#define CAN_F10R1_FB2_Msk (0x1UL << CAN_F10R1_FB2_Pos)
3732#define CAN_F10R1_FB2 CAN_F10R1_FB2_Msk
3733#define CAN_F10R1_FB3_Pos (3U)
3734#define CAN_F10R1_FB3_Msk (0x1UL << CAN_F10R1_FB3_Pos)
3735#define CAN_F10R1_FB3 CAN_F10R1_FB3_Msk
3736#define CAN_F10R1_FB4_Pos (4U)
3737#define CAN_F10R1_FB4_Msk (0x1UL << CAN_F10R1_FB4_Pos)
3738#define CAN_F10R1_FB4 CAN_F10R1_FB4_Msk
3739#define CAN_F10R1_FB5_Pos (5U)
3740#define CAN_F10R1_FB5_Msk (0x1UL << CAN_F10R1_FB5_Pos)
3741#define CAN_F10R1_FB5 CAN_F10R1_FB5_Msk
3742#define CAN_F10R1_FB6_Pos (6U)
3743#define CAN_F10R1_FB6_Msk (0x1UL << CAN_F10R1_FB6_Pos)
3744#define CAN_F10R1_FB6 CAN_F10R1_FB6_Msk
3745#define CAN_F10R1_FB7_Pos (7U)
3746#define CAN_F10R1_FB7_Msk (0x1UL << CAN_F10R1_FB7_Pos)
3747#define CAN_F10R1_FB7 CAN_F10R1_FB7_Msk
3748#define CAN_F10R1_FB8_Pos (8U)
3749#define CAN_F10R1_FB8_Msk (0x1UL << CAN_F10R1_FB8_Pos)
3750#define CAN_F10R1_FB8 CAN_F10R1_FB8_Msk
3751#define CAN_F10R1_FB9_Pos (9U)
3752#define CAN_F10R1_FB9_Msk (0x1UL << CAN_F10R1_FB9_Pos)
3753#define CAN_F10R1_FB9 CAN_F10R1_FB9_Msk
3754#define CAN_F10R1_FB10_Pos (10U)
3755#define CAN_F10R1_FB10_Msk (0x1UL << CAN_F10R1_FB10_Pos)
3756#define CAN_F10R1_FB10 CAN_F10R1_FB10_Msk
3757#define CAN_F10R1_FB11_Pos (11U)
3758#define CAN_F10R1_FB11_Msk (0x1UL << CAN_F10R1_FB11_Pos)
3759#define CAN_F10R1_FB11 CAN_F10R1_FB11_Msk
3760#define CAN_F10R1_FB12_Pos (12U)
3761#define CAN_F10R1_FB12_Msk (0x1UL << CAN_F10R1_FB12_Pos)
3762#define CAN_F10R1_FB12 CAN_F10R1_FB12_Msk
3763#define CAN_F10R1_FB13_Pos (13U)
3764#define CAN_F10R1_FB13_Msk (0x1UL << CAN_F10R1_FB13_Pos)
3765#define CAN_F10R1_FB13 CAN_F10R1_FB13_Msk
3766#define CAN_F10R1_FB14_Pos (14U)
3767#define CAN_F10R1_FB14_Msk (0x1UL << CAN_F10R1_FB14_Pos)
3768#define CAN_F10R1_FB14 CAN_F10R1_FB14_Msk
3769#define CAN_F10R1_FB15_Pos (15U)
3770#define CAN_F10R1_FB15_Msk (0x1UL << CAN_F10R1_FB15_Pos)
3771#define CAN_F10R1_FB15 CAN_F10R1_FB15_Msk
3772#define CAN_F10R1_FB16_Pos (16U)
3773#define CAN_F10R1_FB16_Msk (0x1UL << CAN_F10R1_FB16_Pos)
3774#define CAN_F10R1_FB16 CAN_F10R1_FB16_Msk
3775#define CAN_F10R1_FB17_Pos (17U)
3776#define CAN_F10R1_FB17_Msk (0x1UL << CAN_F10R1_FB17_Pos)
3777#define CAN_F10R1_FB17 CAN_F10R1_FB17_Msk
3778#define CAN_F10R1_FB18_Pos (18U)
3779#define CAN_F10R1_FB18_Msk (0x1UL << CAN_F10R1_FB18_Pos)
3780#define CAN_F10R1_FB18 CAN_F10R1_FB18_Msk
3781#define CAN_F10R1_FB19_Pos (19U)
3782#define CAN_F10R1_FB19_Msk (0x1UL << CAN_F10R1_FB19_Pos)
3783#define CAN_F10R1_FB19 CAN_F10R1_FB19_Msk
3784#define CAN_F10R1_FB20_Pos (20U)
3785#define CAN_F10R1_FB20_Msk (0x1UL << CAN_F10R1_FB20_Pos)
3786#define CAN_F10R1_FB20 CAN_F10R1_FB20_Msk
3787#define CAN_F10R1_FB21_Pos (21U)
3788#define CAN_F10R1_FB21_Msk (0x1UL << CAN_F10R1_FB21_Pos)
3789#define CAN_F10R1_FB21 CAN_F10R1_FB21_Msk
3790#define CAN_F10R1_FB22_Pos (22U)
3791#define CAN_F10R1_FB22_Msk (0x1UL << CAN_F10R1_FB22_Pos)
3792#define CAN_F10R1_FB22 CAN_F10R1_FB22_Msk
3793#define CAN_F10R1_FB23_Pos (23U)
3794#define CAN_F10R1_FB23_Msk (0x1UL << CAN_F10R1_FB23_Pos)
3795#define CAN_F10R1_FB23 CAN_F10R1_FB23_Msk
3796#define CAN_F10R1_FB24_Pos (24U)
3797#define CAN_F10R1_FB24_Msk (0x1UL << CAN_F10R1_FB24_Pos)
3798#define CAN_F10R1_FB24 CAN_F10R1_FB24_Msk
3799#define CAN_F10R1_FB25_Pos (25U)
3800#define CAN_F10R1_FB25_Msk (0x1UL << CAN_F10R1_FB25_Pos)
3801#define CAN_F10R1_FB25 CAN_F10R1_FB25_Msk
3802#define CAN_F10R1_FB26_Pos (26U)
3803#define CAN_F10R1_FB26_Msk (0x1UL << CAN_F10R1_FB26_Pos)
3804#define CAN_F10R1_FB26 CAN_F10R1_FB26_Msk
3805#define CAN_F10R1_FB27_Pos (27U)
3806#define CAN_F10R1_FB27_Msk (0x1UL << CAN_F10R1_FB27_Pos)
3807#define CAN_F10R1_FB27 CAN_F10R1_FB27_Msk
3808#define CAN_F10R1_FB28_Pos (28U)
3809#define CAN_F10R1_FB28_Msk (0x1UL << CAN_F10R1_FB28_Pos)
3810#define CAN_F10R1_FB28 CAN_F10R1_FB28_Msk
3811#define CAN_F10R1_FB29_Pos (29U)
3812#define CAN_F10R1_FB29_Msk (0x1UL << CAN_F10R1_FB29_Pos)
3813#define CAN_F10R1_FB29 CAN_F10R1_FB29_Msk
3814#define CAN_F10R1_FB30_Pos (30U)
3815#define CAN_F10R1_FB30_Msk (0x1UL << CAN_F10R1_FB30_Pos)
3816#define CAN_F10R1_FB30 CAN_F10R1_FB30_Msk
3817#define CAN_F10R1_FB31_Pos (31U)
3818#define CAN_F10R1_FB31_Msk (0x1UL << CAN_F10R1_FB31_Pos)
3819#define CAN_F10R1_FB31 CAN_F10R1_FB31_Msk
3821/******************* Bit definition for CAN_F11R1 register ******************/
3822#define CAN_F11R1_FB0_Pos (0U)
3823#define CAN_F11R1_FB0_Msk (0x1UL << CAN_F11R1_FB0_Pos)
3824#define CAN_F11R1_FB0 CAN_F11R1_FB0_Msk
3825#define CAN_F11R1_FB1_Pos (1U)
3826#define CAN_F11R1_FB1_Msk (0x1UL << CAN_F11R1_FB1_Pos)
3827#define CAN_F11R1_FB1 CAN_F11R1_FB1_Msk
3828#define CAN_F11R1_FB2_Pos (2U)
3829#define CAN_F11R1_FB2_Msk (0x1UL << CAN_F11R1_FB2_Pos)
3830#define CAN_F11R1_FB2 CAN_F11R1_FB2_Msk
3831#define CAN_F11R1_FB3_Pos (3U)
3832#define CAN_F11R1_FB3_Msk (0x1UL << CAN_F11R1_FB3_Pos)
3833#define CAN_F11R1_FB3 CAN_F11R1_FB3_Msk
3834#define CAN_F11R1_FB4_Pos (4U)
3835#define CAN_F11R1_FB4_Msk (0x1UL << CAN_F11R1_FB4_Pos)
3836#define CAN_F11R1_FB4 CAN_F11R1_FB4_Msk
3837#define CAN_F11R1_FB5_Pos (5U)
3838#define CAN_F11R1_FB5_Msk (0x1UL << CAN_F11R1_FB5_Pos)
3839#define CAN_F11R1_FB5 CAN_F11R1_FB5_Msk
3840#define CAN_F11R1_FB6_Pos (6U)
3841#define CAN_F11R1_FB6_Msk (0x1UL << CAN_F11R1_FB6_Pos)
3842#define CAN_F11R1_FB6 CAN_F11R1_FB6_Msk
3843#define CAN_F11R1_FB7_Pos (7U)
3844#define CAN_F11R1_FB7_Msk (0x1UL << CAN_F11R1_FB7_Pos)
3845#define CAN_F11R1_FB7 CAN_F11R1_FB7_Msk
3846#define CAN_F11R1_FB8_Pos (8U)
3847#define CAN_F11R1_FB8_Msk (0x1UL << CAN_F11R1_FB8_Pos)
3848#define CAN_F11R1_FB8 CAN_F11R1_FB8_Msk
3849#define CAN_F11R1_FB9_Pos (9U)
3850#define CAN_F11R1_FB9_Msk (0x1UL << CAN_F11R1_FB9_Pos)
3851#define CAN_F11R1_FB9 CAN_F11R1_FB9_Msk
3852#define CAN_F11R1_FB10_Pos (10U)
3853#define CAN_F11R1_FB10_Msk (0x1UL << CAN_F11R1_FB10_Pos)
3854#define CAN_F11R1_FB10 CAN_F11R1_FB10_Msk
3855#define CAN_F11R1_FB11_Pos (11U)
3856#define CAN_F11R1_FB11_Msk (0x1UL << CAN_F11R1_FB11_Pos)
3857#define CAN_F11R1_FB11 CAN_F11R1_FB11_Msk
3858#define CAN_F11R1_FB12_Pos (12U)
3859#define CAN_F11R1_FB12_Msk (0x1UL << CAN_F11R1_FB12_Pos)
3860#define CAN_F11R1_FB12 CAN_F11R1_FB12_Msk
3861#define CAN_F11R1_FB13_Pos (13U)
3862#define CAN_F11R1_FB13_Msk (0x1UL << CAN_F11R1_FB13_Pos)
3863#define CAN_F11R1_FB13 CAN_F11R1_FB13_Msk
3864#define CAN_F11R1_FB14_Pos (14U)
3865#define CAN_F11R1_FB14_Msk (0x1UL << CAN_F11R1_FB14_Pos)
3866#define CAN_F11R1_FB14 CAN_F11R1_FB14_Msk
3867#define CAN_F11R1_FB15_Pos (15U)
3868#define CAN_F11R1_FB15_Msk (0x1UL << CAN_F11R1_FB15_Pos)
3869#define CAN_F11R1_FB15 CAN_F11R1_FB15_Msk
3870#define CAN_F11R1_FB16_Pos (16U)
3871#define CAN_F11R1_FB16_Msk (0x1UL << CAN_F11R1_FB16_Pos)
3872#define CAN_F11R1_FB16 CAN_F11R1_FB16_Msk
3873#define CAN_F11R1_FB17_Pos (17U)
3874#define CAN_F11R1_FB17_Msk (0x1UL << CAN_F11R1_FB17_Pos)
3875#define CAN_F11R1_FB17 CAN_F11R1_FB17_Msk
3876#define CAN_F11R1_FB18_Pos (18U)
3877#define CAN_F11R1_FB18_Msk (0x1UL << CAN_F11R1_FB18_Pos)
3878#define CAN_F11R1_FB18 CAN_F11R1_FB18_Msk
3879#define CAN_F11R1_FB19_Pos (19U)
3880#define CAN_F11R1_FB19_Msk (0x1UL << CAN_F11R1_FB19_Pos)
3881#define CAN_F11R1_FB19 CAN_F11R1_FB19_Msk
3882#define CAN_F11R1_FB20_Pos (20U)
3883#define CAN_F11R1_FB20_Msk (0x1UL << CAN_F11R1_FB20_Pos)
3884#define CAN_F11R1_FB20 CAN_F11R1_FB20_Msk
3885#define CAN_F11R1_FB21_Pos (21U)
3886#define CAN_F11R1_FB21_Msk (0x1UL << CAN_F11R1_FB21_Pos)
3887#define CAN_F11R1_FB21 CAN_F11R1_FB21_Msk
3888#define CAN_F11R1_FB22_Pos (22U)
3889#define CAN_F11R1_FB22_Msk (0x1UL << CAN_F11R1_FB22_Pos)
3890#define CAN_F11R1_FB22 CAN_F11R1_FB22_Msk
3891#define CAN_F11R1_FB23_Pos (23U)
3892#define CAN_F11R1_FB23_Msk (0x1UL << CAN_F11R1_FB23_Pos)
3893#define CAN_F11R1_FB23 CAN_F11R1_FB23_Msk
3894#define CAN_F11R1_FB24_Pos (24U)
3895#define CAN_F11R1_FB24_Msk (0x1UL << CAN_F11R1_FB24_Pos)
3896#define CAN_F11R1_FB24 CAN_F11R1_FB24_Msk
3897#define CAN_F11R1_FB25_Pos (25U)
3898#define CAN_F11R1_FB25_Msk (0x1UL << CAN_F11R1_FB25_Pos)
3899#define CAN_F11R1_FB25 CAN_F11R1_FB25_Msk
3900#define CAN_F11R1_FB26_Pos (26U)
3901#define CAN_F11R1_FB26_Msk (0x1UL << CAN_F11R1_FB26_Pos)
3902#define CAN_F11R1_FB26 CAN_F11R1_FB26_Msk
3903#define CAN_F11R1_FB27_Pos (27U)
3904#define CAN_F11R1_FB27_Msk (0x1UL << CAN_F11R1_FB27_Pos)
3905#define CAN_F11R1_FB27 CAN_F11R1_FB27_Msk
3906#define CAN_F11R1_FB28_Pos (28U)
3907#define CAN_F11R1_FB28_Msk (0x1UL << CAN_F11R1_FB28_Pos)
3908#define CAN_F11R1_FB28 CAN_F11R1_FB28_Msk
3909#define CAN_F11R1_FB29_Pos (29U)
3910#define CAN_F11R1_FB29_Msk (0x1UL << CAN_F11R1_FB29_Pos)
3911#define CAN_F11R1_FB29 CAN_F11R1_FB29_Msk
3912#define CAN_F11R1_FB30_Pos (30U)
3913#define CAN_F11R1_FB30_Msk (0x1UL << CAN_F11R1_FB30_Pos)
3914#define CAN_F11R1_FB30 CAN_F11R1_FB30_Msk
3915#define CAN_F11R1_FB31_Pos (31U)
3916#define CAN_F11R1_FB31_Msk (0x1UL << CAN_F11R1_FB31_Pos)
3917#define CAN_F11R1_FB31 CAN_F11R1_FB31_Msk
3919/******************* Bit definition for CAN_F12R1 register ******************/
3920#define CAN_F12R1_FB0_Pos (0U)
3921#define CAN_F12R1_FB0_Msk (0x1UL << CAN_F12R1_FB0_Pos)
3922#define CAN_F12R1_FB0 CAN_F12R1_FB0_Msk
3923#define CAN_F12R1_FB1_Pos (1U)
3924#define CAN_F12R1_FB1_Msk (0x1UL << CAN_F12R1_FB1_Pos)
3925#define CAN_F12R1_FB1 CAN_F12R1_FB1_Msk
3926#define CAN_F12R1_FB2_Pos (2U)
3927#define CAN_F12R1_FB2_Msk (0x1UL << CAN_F12R1_FB2_Pos)
3928#define CAN_F12R1_FB2 CAN_F12R1_FB2_Msk
3929#define CAN_F12R1_FB3_Pos (3U)
3930#define CAN_F12R1_FB3_Msk (0x1UL << CAN_F12R1_FB3_Pos)
3931#define CAN_F12R1_FB3 CAN_F12R1_FB3_Msk
3932#define CAN_F12R1_FB4_Pos (4U)
3933#define CAN_F12R1_FB4_Msk (0x1UL << CAN_F12R1_FB4_Pos)
3934#define CAN_F12R1_FB4 CAN_F12R1_FB4_Msk
3935#define CAN_F12R1_FB5_Pos (5U)
3936#define CAN_F12R1_FB5_Msk (0x1UL << CAN_F12R1_FB5_Pos)
3937#define CAN_F12R1_FB5 CAN_F12R1_FB5_Msk
3938#define CAN_F12R1_FB6_Pos (6U)
3939#define CAN_F12R1_FB6_Msk (0x1UL << CAN_F12R1_FB6_Pos)
3940#define CAN_F12R1_FB6 CAN_F12R1_FB6_Msk
3941#define CAN_F12R1_FB7_Pos (7U)
3942#define CAN_F12R1_FB7_Msk (0x1UL << CAN_F12R1_FB7_Pos)
3943#define CAN_F12R1_FB7 CAN_F12R1_FB7_Msk
3944#define CAN_F12R1_FB8_Pos (8U)
3945#define CAN_F12R1_FB8_Msk (0x1UL << CAN_F12R1_FB8_Pos)
3946#define CAN_F12R1_FB8 CAN_F12R1_FB8_Msk
3947#define CAN_F12R1_FB9_Pos (9U)
3948#define CAN_F12R1_FB9_Msk (0x1UL << CAN_F12R1_FB9_Pos)
3949#define CAN_F12R1_FB9 CAN_F12R1_FB9_Msk
3950#define CAN_F12R1_FB10_Pos (10U)
3951#define CAN_F12R1_FB10_Msk (0x1UL << CAN_F12R1_FB10_Pos)
3952#define CAN_F12R1_FB10 CAN_F12R1_FB10_Msk
3953#define CAN_F12R1_FB11_Pos (11U)
3954#define CAN_F12R1_FB11_Msk (0x1UL << CAN_F12R1_FB11_Pos)
3955#define CAN_F12R1_FB11 CAN_F12R1_FB11_Msk
3956#define CAN_F12R1_FB12_Pos (12U)
3957#define CAN_F12R1_FB12_Msk (0x1UL << CAN_F12R1_FB12_Pos)
3958#define CAN_F12R1_FB12 CAN_F12R1_FB12_Msk
3959#define CAN_F12R1_FB13_Pos (13U)
3960#define CAN_F12R1_FB13_Msk (0x1UL << CAN_F12R1_FB13_Pos)
3961#define CAN_F12R1_FB13 CAN_F12R1_FB13_Msk
3962#define CAN_F12R1_FB14_Pos (14U)
3963#define CAN_F12R1_FB14_Msk (0x1UL << CAN_F12R1_FB14_Pos)
3964#define CAN_F12R1_FB14 CAN_F12R1_FB14_Msk
3965#define CAN_F12R1_FB15_Pos (15U)
3966#define CAN_F12R1_FB15_Msk (0x1UL << CAN_F12R1_FB15_Pos)
3967#define CAN_F12R1_FB15 CAN_F12R1_FB15_Msk
3968#define CAN_F12R1_FB16_Pos (16U)
3969#define CAN_F12R1_FB16_Msk (0x1UL << CAN_F12R1_FB16_Pos)
3970#define CAN_F12R1_FB16 CAN_F12R1_FB16_Msk
3971#define CAN_F12R1_FB17_Pos (17U)
3972#define CAN_F12R1_FB17_Msk (0x1UL << CAN_F12R1_FB17_Pos)
3973#define CAN_F12R1_FB17 CAN_F12R1_FB17_Msk
3974#define CAN_F12R1_FB18_Pos (18U)
3975#define CAN_F12R1_FB18_Msk (0x1UL << CAN_F12R1_FB18_Pos)
3976#define CAN_F12R1_FB18 CAN_F12R1_FB18_Msk
3977#define CAN_F12R1_FB19_Pos (19U)
3978#define CAN_F12R1_FB19_Msk (0x1UL << CAN_F12R1_FB19_Pos)
3979#define CAN_F12R1_FB19 CAN_F12R1_FB19_Msk
3980#define CAN_F12R1_FB20_Pos (20U)
3981#define CAN_F12R1_FB20_Msk (0x1UL << CAN_F12R1_FB20_Pos)
3982#define CAN_F12R1_FB20 CAN_F12R1_FB20_Msk
3983#define CAN_F12R1_FB21_Pos (21U)
3984#define CAN_F12R1_FB21_Msk (0x1UL << CAN_F12R1_FB21_Pos)
3985#define CAN_F12R1_FB21 CAN_F12R1_FB21_Msk
3986#define CAN_F12R1_FB22_Pos (22U)
3987#define CAN_F12R1_FB22_Msk (0x1UL << CAN_F12R1_FB22_Pos)
3988#define CAN_F12R1_FB22 CAN_F12R1_FB22_Msk
3989#define CAN_F12R1_FB23_Pos (23U)
3990#define CAN_F12R1_FB23_Msk (0x1UL << CAN_F12R1_FB23_Pos)
3991#define CAN_F12R1_FB23 CAN_F12R1_FB23_Msk
3992#define CAN_F12R1_FB24_Pos (24U)
3993#define CAN_F12R1_FB24_Msk (0x1UL << CAN_F12R1_FB24_Pos)
3994#define CAN_F12R1_FB24 CAN_F12R1_FB24_Msk
3995#define CAN_F12R1_FB25_Pos (25U)
3996#define CAN_F12R1_FB25_Msk (0x1UL << CAN_F12R1_FB25_Pos)
3997#define CAN_F12R1_FB25 CAN_F12R1_FB25_Msk
3998#define CAN_F12R1_FB26_Pos (26U)
3999#define CAN_F12R1_FB26_Msk (0x1UL << CAN_F12R1_FB26_Pos)
4000#define CAN_F12R1_FB26 CAN_F12R1_FB26_Msk
4001#define CAN_F12R1_FB27_Pos (27U)
4002#define CAN_F12R1_FB27_Msk (0x1UL << CAN_F12R1_FB27_Pos)
4003#define CAN_F12R1_FB27 CAN_F12R1_FB27_Msk
4004#define CAN_F12R1_FB28_Pos (28U)
4005#define CAN_F12R1_FB28_Msk (0x1UL << CAN_F12R1_FB28_Pos)
4006#define CAN_F12R1_FB28 CAN_F12R1_FB28_Msk
4007#define CAN_F12R1_FB29_Pos (29U)
4008#define CAN_F12R1_FB29_Msk (0x1UL << CAN_F12R1_FB29_Pos)
4009#define CAN_F12R1_FB29 CAN_F12R1_FB29_Msk
4010#define CAN_F12R1_FB30_Pos (30U)
4011#define CAN_F12R1_FB30_Msk (0x1UL << CAN_F12R1_FB30_Pos)
4012#define CAN_F12R1_FB30 CAN_F12R1_FB30_Msk
4013#define CAN_F12R1_FB31_Pos (31U)
4014#define CAN_F12R1_FB31_Msk (0x1UL << CAN_F12R1_FB31_Pos)
4015#define CAN_F12R1_FB31 CAN_F12R1_FB31_Msk
4017/******************* Bit definition for CAN_F13R1 register ******************/
4018#define CAN_F13R1_FB0_Pos (0U)
4019#define CAN_F13R1_FB0_Msk (0x1UL << CAN_F13R1_FB0_Pos)
4020#define CAN_F13R1_FB0 CAN_F13R1_FB0_Msk
4021#define CAN_F13R1_FB1_Pos (1U)
4022#define CAN_F13R1_FB1_Msk (0x1UL << CAN_F13R1_FB1_Pos)
4023#define CAN_F13R1_FB1 CAN_F13R1_FB1_Msk
4024#define CAN_F13R1_FB2_Pos (2U)
4025#define CAN_F13R1_FB2_Msk (0x1UL << CAN_F13R1_FB2_Pos)
4026#define CAN_F13R1_FB2 CAN_F13R1_FB2_Msk
4027#define CAN_F13R1_FB3_Pos (3U)
4028#define CAN_F13R1_FB3_Msk (0x1UL << CAN_F13R1_FB3_Pos)
4029#define CAN_F13R1_FB3 CAN_F13R1_FB3_Msk
4030#define CAN_F13R1_FB4_Pos (4U)
4031#define CAN_F13R1_FB4_Msk (0x1UL << CAN_F13R1_FB4_Pos)
4032#define CAN_F13R1_FB4 CAN_F13R1_FB4_Msk
4033#define CAN_F13R1_FB5_Pos (5U)
4034#define CAN_F13R1_FB5_Msk (0x1UL << CAN_F13R1_FB5_Pos)
4035#define CAN_F13R1_FB5 CAN_F13R1_FB5_Msk
4036#define CAN_F13R1_FB6_Pos (6U)
4037#define CAN_F13R1_FB6_Msk (0x1UL << CAN_F13R1_FB6_Pos)
4038#define CAN_F13R1_FB6 CAN_F13R1_FB6_Msk
4039#define CAN_F13R1_FB7_Pos (7U)
4040#define CAN_F13R1_FB7_Msk (0x1UL << CAN_F13R1_FB7_Pos)
4041#define CAN_F13R1_FB7 CAN_F13R1_FB7_Msk
4042#define CAN_F13R1_FB8_Pos (8U)
4043#define CAN_F13R1_FB8_Msk (0x1UL << CAN_F13R1_FB8_Pos)
4044#define CAN_F13R1_FB8 CAN_F13R1_FB8_Msk
4045#define CAN_F13R1_FB9_Pos (9U)
4046#define CAN_F13R1_FB9_Msk (0x1UL << CAN_F13R1_FB9_Pos)
4047#define CAN_F13R1_FB9 CAN_F13R1_FB9_Msk
4048#define CAN_F13R1_FB10_Pos (10U)
4049#define CAN_F13R1_FB10_Msk (0x1UL << CAN_F13R1_FB10_Pos)
4050#define CAN_F13R1_FB10 CAN_F13R1_FB10_Msk
4051#define CAN_F13R1_FB11_Pos (11U)
4052#define CAN_F13R1_FB11_Msk (0x1UL << CAN_F13R1_FB11_Pos)
4053#define CAN_F13R1_FB11 CAN_F13R1_FB11_Msk
4054#define CAN_F13R1_FB12_Pos (12U)
4055#define CAN_F13R1_FB12_Msk (0x1UL << CAN_F13R1_FB12_Pos)
4056#define CAN_F13R1_FB12 CAN_F13R1_FB12_Msk
4057#define CAN_F13R1_FB13_Pos (13U)
4058#define CAN_F13R1_FB13_Msk (0x1UL << CAN_F13R1_FB13_Pos)
4059#define CAN_F13R1_FB13 CAN_F13R1_FB13_Msk
4060#define CAN_F13R1_FB14_Pos (14U)
4061#define CAN_F13R1_FB14_Msk (0x1UL << CAN_F13R1_FB14_Pos)
4062#define CAN_F13R1_FB14 CAN_F13R1_FB14_Msk
4063#define CAN_F13R1_FB15_Pos (15U)
4064#define CAN_F13R1_FB15_Msk (0x1UL << CAN_F13R1_FB15_Pos)
4065#define CAN_F13R1_FB15 CAN_F13R1_FB15_Msk
4066#define CAN_F13R1_FB16_Pos (16U)
4067#define CAN_F13R1_FB16_Msk (0x1UL << CAN_F13R1_FB16_Pos)
4068#define CAN_F13R1_FB16 CAN_F13R1_FB16_Msk
4069#define CAN_F13R1_FB17_Pos (17U)
4070#define CAN_F13R1_FB17_Msk (0x1UL << CAN_F13R1_FB17_Pos)
4071#define CAN_F13R1_FB17 CAN_F13R1_FB17_Msk
4072#define CAN_F13R1_FB18_Pos (18U)
4073#define CAN_F13R1_FB18_Msk (0x1UL << CAN_F13R1_FB18_Pos)
4074#define CAN_F13R1_FB18 CAN_F13R1_FB18_Msk
4075#define CAN_F13R1_FB19_Pos (19U)
4076#define CAN_F13R1_FB19_Msk (0x1UL << CAN_F13R1_FB19_Pos)
4077#define CAN_F13R1_FB19 CAN_F13R1_FB19_Msk
4078#define CAN_F13R1_FB20_Pos (20U)
4079#define CAN_F13R1_FB20_Msk (0x1UL << CAN_F13R1_FB20_Pos)
4080#define CAN_F13R1_FB20 CAN_F13R1_FB20_Msk
4081#define CAN_F13R1_FB21_Pos (21U)
4082#define CAN_F13R1_FB21_Msk (0x1UL << CAN_F13R1_FB21_Pos)
4083#define CAN_F13R1_FB21 CAN_F13R1_FB21_Msk
4084#define CAN_F13R1_FB22_Pos (22U)
4085#define CAN_F13R1_FB22_Msk (0x1UL << CAN_F13R1_FB22_Pos)
4086#define CAN_F13R1_FB22 CAN_F13R1_FB22_Msk
4087#define CAN_F13R1_FB23_Pos (23U)
4088#define CAN_F13R1_FB23_Msk (0x1UL << CAN_F13R1_FB23_Pos)
4089#define CAN_F13R1_FB23 CAN_F13R1_FB23_Msk
4090#define CAN_F13R1_FB24_Pos (24U)
4091#define CAN_F13R1_FB24_Msk (0x1UL << CAN_F13R1_FB24_Pos)
4092#define CAN_F13R1_FB24 CAN_F13R1_FB24_Msk
4093#define CAN_F13R1_FB25_Pos (25U)
4094#define CAN_F13R1_FB25_Msk (0x1UL << CAN_F13R1_FB25_Pos)
4095#define CAN_F13R1_FB25 CAN_F13R1_FB25_Msk
4096#define CAN_F13R1_FB26_Pos (26U)
4097#define CAN_F13R1_FB26_Msk (0x1UL << CAN_F13R1_FB26_Pos)
4098#define CAN_F13R1_FB26 CAN_F13R1_FB26_Msk
4099#define CAN_F13R1_FB27_Pos (27U)
4100#define CAN_F13R1_FB27_Msk (0x1UL << CAN_F13R1_FB27_Pos)
4101#define CAN_F13R1_FB27 CAN_F13R1_FB27_Msk
4102#define CAN_F13R1_FB28_Pos (28U)
4103#define CAN_F13R1_FB28_Msk (0x1UL << CAN_F13R1_FB28_Pos)
4104#define CAN_F13R1_FB28 CAN_F13R1_FB28_Msk
4105#define CAN_F13R1_FB29_Pos (29U)
4106#define CAN_F13R1_FB29_Msk (0x1UL << CAN_F13R1_FB29_Pos)
4107#define CAN_F13R1_FB29 CAN_F13R1_FB29_Msk
4108#define CAN_F13R1_FB30_Pos (30U)
4109#define CAN_F13R1_FB30_Msk (0x1UL << CAN_F13R1_FB30_Pos)
4110#define CAN_F13R1_FB30 CAN_F13R1_FB30_Msk
4111#define CAN_F13R1_FB31_Pos (31U)
4112#define CAN_F13R1_FB31_Msk (0x1UL << CAN_F13R1_FB31_Pos)
4113#define CAN_F13R1_FB31 CAN_F13R1_FB31_Msk
4115/******************* Bit definition for CAN_F0R2 register *******************/
4116#define CAN_F0R2_FB0_Pos (0U)
4117#define CAN_F0R2_FB0_Msk (0x1UL << CAN_F0R2_FB0_Pos)
4118#define CAN_F0R2_FB0 CAN_F0R2_FB0_Msk
4119#define CAN_F0R2_FB1_Pos (1U)
4120#define CAN_F0R2_FB1_Msk (0x1UL << CAN_F0R2_FB1_Pos)
4121#define CAN_F0R2_FB1 CAN_F0R2_FB1_Msk
4122#define CAN_F0R2_FB2_Pos (2U)
4123#define CAN_F0R2_FB2_Msk (0x1UL << CAN_F0R2_FB2_Pos)
4124#define CAN_F0R2_FB2 CAN_F0R2_FB2_Msk
4125#define CAN_F0R2_FB3_Pos (3U)
4126#define CAN_F0R2_FB3_Msk (0x1UL << CAN_F0R2_FB3_Pos)
4127#define CAN_F0R2_FB3 CAN_F0R2_FB3_Msk
4128#define CAN_F0R2_FB4_Pos (4U)
4129#define CAN_F0R2_FB4_Msk (0x1UL << CAN_F0R2_FB4_Pos)
4130#define CAN_F0R2_FB4 CAN_F0R2_FB4_Msk
4131#define CAN_F0R2_FB5_Pos (5U)
4132#define CAN_F0R2_FB5_Msk (0x1UL << CAN_F0R2_FB5_Pos)
4133#define CAN_F0R2_FB5 CAN_F0R2_FB5_Msk
4134#define CAN_F0R2_FB6_Pos (6U)
4135#define CAN_F0R2_FB6_Msk (0x1UL << CAN_F0R2_FB6_Pos)
4136#define CAN_F0R2_FB6 CAN_F0R2_FB6_Msk
4137#define CAN_F0R2_FB7_Pos (7U)
4138#define CAN_F0R2_FB7_Msk (0x1UL << CAN_F0R2_FB7_Pos)
4139#define CAN_F0R2_FB7 CAN_F0R2_FB7_Msk
4140#define CAN_F0R2_FB8_Pos (8U)
4141#define CAN_F0R2_FB8_Msk (0x1UL << CAN_F0R2_FB8_Pos)
4142#define CAN_F0R2_FB8 CAN_F0R2_FB8_Msk
4143#define CAN_F0R2_FB9_Pos (9U)
4144#define CAN_F0R2_FB9_Msk (0x1UL << CAN_F0R2_FB9_Pos)
4145#define CAN_F0R2_FB9 CAN_F0R2_FB9_Msk
4146#define CAN_F0R2_FB10_Pos (10U)
4147#define CAN_F0R2_FB10_Msk (0x1UL << CAN_F0R2_FB10_Pos)
4148#define CAN_F0R2_FB10 CAN_F0R2_FB10_Msk
4149#define CAN_F0R2_FB11_Pos (11U)
4150#define CAN_F0R2_FB11_Msk (0x1UL << CAN_F0R2_FB11_Pos)
4151#define CAN_F0R2_FB11 CAN_F0R2_FB11_Msk
4152#define CAN_F0R2_FB12_Pos (12U)
4153#define CAN_F0R2_FB12_Msk (0x1UL << CAN_F0R2_FB12_Pos)
4154#define CAN_F0R2_FB12 CAN_F0R2_FB12_Msk
4155#define CAN_F0R2_FB13_Pos (13U)
4156#define CAN_F0R2_FB13_Msk (0x1UL << CAN_F0R2_FB13_Pos)
4157#define CAN_F0R2_FB13 CAN_F0R2_FB13_Msk
4158#define CAN_F0R2_FB14_Pos (14U)
4159#define CAN_F0R2_FB14_Msk (0x1UL << CAN_F0R2_FB14_Pos)
4160#define CAN_F0R2_FB14 CAN_F0R2_FB14_Msk
4161#define CAN_F0R2_FB15_Pos (15U)
4162#define CAN_F0R2_FB15_Msk (0x1UL << CAN_F0R2_FB15_Pos)
4163#define CAN_F0R2_FB15 CAN_F0R2_FB15_Msk
4164#define CAN_F0R2_FB16_Pos (16U)
4165#define CAN_F0R2_FB16_Msk (0x1UL << CAN_F0R2_FB16_Pos)
4166#define CAN_F0R2_FB16 CAN_F0R2_FB16_Msk
4167#define CAN_F0R2_FB17_Pos (17U)
4168#define CAN_F0R2_FB17_Msk (0x1UL << CAN_F0R2_FB17_Pos)
4169#define CAN_F0R2_FB17 CAN_F0R2_FB17_Msk
4170#define CAN_F0R2_FB18_Pos (18U)
4171#define CAN_F0R2_FB18_Msk (0x1UL << CAN_F0R2_FB18_Pos)
4172#define CAN_F0R2_FB18 CAN_F0R2_FB18_Msk
4173#define CAN_F0R2_FB19_Pos (19U)
4174#define CAN_F0R2_FB19_Msk (0x1UL << CAN_F0R2_FB19_Pos)
4175#define CAN_F0R2_FB19 CAN_F0R2_FB19_Msk
4176#define CAN_F0R2_FB20_Pos (20U)
4177#define CAN_F0R2_FB20_Msk (0x1UL << CAN_F0R2_FB20_Pos)
4178#define CAN_F0R2_FB20 CAN_F0R2_FB20_Msk
4179#define CAN_F0R2_FB21_Pos (21U)
4180#define CAN_F0R2_FB21_Msk (0x1UL << CAN_F0R2_FB21_Pos)
4181#define CAN_F0R2_FB21 CAN_F0R2_FB21_Msk
4182#define CAN_F0R2_FB22_Pos (22U)
4183#define CAN_F0R2_FB22_Msk (0x1UL << CAN_F0R2_FB22_Pos)
4184#define CAN_F0R2_FB22 CAN_F0R2_FB22_Msk
4185#define CAN_F0R2_FB23_Pos (23U)
4186#define CAN_F0R2_FB23_Msk (0x1UL << CAN_F0R2_FB23_Pos)
4187#define CAN_F0R2_FB23 CAN_F0R2_FB23_Msk
4188#define CAN_F0R2_FB24_Pos (24U)
4189#define CAN_F0R2_FB24_Msk (0x1UL << CAN_F0R2_FB24_Pos)
4190#define CAN_F0R2_FB24 CAN_F0R2_FB24_Msk
4191#define CAN_F0R2_FB25_Pos (25U)
4192#define CAN_F0R2_FB25_Msk (0x1UL << CAN_F0R2_FB25_Pos)
4193#define CAN_F0R2_FB25 CAN_F0R2_FB25_Msk
4194#define CAN_F0R2_FB26_Pos (26U)
4195#define CAN_F0R2_FB26_Msk (0x1UL << CAN_F0R2_FB26_Pos)
4196#define CAN_F0R2_FB26 CAN_F0R2_FB26_Msk
4197#define CAN_F0R2_FB27_Pos (27U)
4198#define CAN_F0R2_FB27_Msk (0x1UL << CAN_F0R2_FB27_Pos)
4199#define CAN_F0R2_FB27 CAN_F0R2_FB27_Msk
4200#define CAN_F0R2_FB28_Pos (28U)
4201#define CAN_F0R2_FB28_Msk (0x1UL << CAN_F0R2_FB28_Pos)
4202#define CAN_F0R2_FB28 CAN_F0R2_FB28_Msk
4203#define CAN_F0R2_FB29_Pos (29U)
4204#define CAN_F0R2_FB29_Msk (0x1UL << CAN_F0R2_FB29_Pos)
4205#define CAN_F0R2_FB29 CAN_F0R2_FB29_Msk
4206#define CAN_F0R2_FB30_Pos (30U)
4207#define CAN_F0R2_FB30_Msk (0x1UL << CAN_F0R2_FB30_Pos)
4208#define CAN_F0R2_FB30 CAN_F0R2_FB30_Msk
4209#define CAN_F0R2_FB31_Pos (31U)
4210#define CAN_F0R2_FB31_Msk (0x1UL << CAN_F0R2_FB31_Pos)
4211#define CAN_F0R2_FB31 CAN_F0R2_FB31_Msk
4213/******************* Bit definition for CAN_F1R2 register *******************/
4214#define CAN_F1R2_FB0_Pos (0U)
4215#define CAN_F1R2_FB0_Msk (0x1UL << CAN_F1R2_FB0_Pos)
4216#define CAN_F1R2_FB0 CAN_F1R2_FB0_Msk
4217#define CAN_F1R2_FB1_Pos (1U)
4218#define CAN_F1R2_FB1_Msk (0x1UL << CAN_F1R2_FB1_Pos)
4219#define CAN_F1R2_FB1 CAN_F1R2_FB1_Msk
4220#define CAN_F1R2_FB2_Pos (2U)
4221#define CAN_F1R2_FB2_Msk (0x1UL << CAN_F1R2_FB2_Pos)
4222#define CAN_F1R2_FB2 CAN_F1R2_FB2_Msk
4223#define CAN_F1R2_FB3_Pos (3U)
4224#define CAN_F1R2_FB3_Msk (0x1UL << CAN_F1R2_FB3_Pos)
4225#define CAN_F1R2_FB3 CAN_F1R2_FB3_Msk
4226#define CAN_F1R2_FB4_Pos (4U)
4227#define CAN_F1R2_FB4_Msk (0x1UL << CAN_F1R2_FB4_Pos)
4228#define CAN_F1R2_FB4 CAN_F1R2_FB4_Msk
4229#define CAN_F1R2_FB5_Pos (5U)
4230#define CAN_F1R2_FB5_Msk (0x1UL << CAN_F1R2_FB5_Pos)
4231#define CAN_F1R2_FB5 CAN_F1R2_FB5_Msk
4232#define CAN_F1R2_FB6_Pos (6U)
4233#define CAN_F1R2_FB6_Msk (0x1UL << CAN_F1R2_FB6_Pos)
4234#define CAN_F1R2_FB6 CAN_F1R2_FB6_Msk
4235#define CAN_F1R2_FB7_Pos (7U)
4236#define CAN_F1R2_FB7_Msk (0x1UL << CAN_F1R2_FB7_Pos)
4237#define CAN_F1R2_FB7 CAN_F1R2_FB7_Msk
4238#define CAN_F1R2_FB8_Pos (8U)
4239#define CAN_F1R2_FB8_Msk (0x1UL << CAN_F1R2_FB8_Pos)
4240#define CAN_F1R2_FB8 CAN_F1R2_FB8_Msk
4241#define CAN_F1R2_FB9_Pos (9U)
4242#define CAN_F1R2_FB9_Msk (0x1UL << CAN_F1R2_FB9_Pos)
4243#define CAN_F1R2_FB9 CAN_F1R2_FB9_Msk
4244#define CAN_F1R2_FB10_Pos (10U)
4245#define CAN_F1R2_FB10_Msk (0x1UL << CAN_F1R2_FB10_Pos)
4246#define CAN_F1R2_FB10 CAN_F1R2_FB10_Msk
4247#define CAN_F1R2_FB11_Pos (11U)
4248#define CAN_F1R2_FB11_Msk (0x1UL << CAN_F1R2_FB11_Pos)
4249#define CAN_F1R2_FB11 CAN_F1R2_FB11_Msk
4250#define CAN_F1R2_FB12_Pos (12U)
4251#define CAN_F1R2_FB12_Msk (0x1UL << CAN_F1R2_FB12_Pos)
4252#define CAN_F1R2_FB12 CAN_F1R2_FB12_Msk
4253#define CAN_F1R2_FB13_Pos (13U)
4254#define CAN_F1R2_FB13_Msk (0x1UL << CAN_F1R2_FB13_Pos)
4255#define CAN_F1R2_FB13 CAN_F1R2_FB13_Msk
4256#define CAN_F1R2_FB14_Pos (14U)
4257#define CAN_F1R2_FB14_Msk (0x1UL << CAN_F1R2_FB14_Pos)
4258#define CAN_F1R2_FB14 CAN_F1R2_FB14_Msk
4259#define CAN_F1R2_FB15_Pos (15U)
4260#define CAN_F1R2_FB15_Msk (0x1UL << CAN_F1R2_FB15_Pos)
4261#define CAN_F1R2_FB15 CAN_F1R2_FB15_Msk
4262#define CAN_F1R2_FB16_Pos (16U)
4263#define CAN_F1R2_FB16_Msk (0x1UL << CAN_F1R2_FB16_Pos)
4264#define CAN_F1R2_FB16 CAN_F1R2_FB16_Msk
4265#define CAN_F1R2_FB17_Pos (17U)
4266#define CAN_F1R2_FB17_Msk (0x1UL << CAN_F1R2_FB17_Pos)
4267#define CAN_F1R2_FB17 CAN_F1R2_FB17_Msk
4268#define CAN_F1R2_FB18_Pos (18U)
4269#define CAN_F1R2_FB18_Msk (0x1UL << CAN_F1R2_FB18_Pos)
4270#define CAN_F1R2_FB18 CAN_F1R2_FB18_Msk
4271#define CAN_F1R2_FB19_Pos (19U)
4272#define CAN_F1R2_FB19_Msk (0x1UL << CAN_F1R2_FB19_Pos)
4273#define CAN_F1R2_FB19 CAN_F1R2_FB19_Msk
4274#define CAN_F1R2_FB20_Pos (20U)
4275#define CAN_F1R2_FB20_Msk (0x1UL << CAN_F1R2_FB20_Pos)
4276#define CAN_F1R2_FB20 CAN_F1R2_FB20_Msk
4277#define CAN_F1R2_FB21_Pos (21U)
4278#define CAN_F1R2_FB21_Msk (0x1UL << CAN_F1R2_FB21_Pos)
4279#define CAN_F1R2_FB21 CAN_F1R2_FB21_Msk
4280#define CAN_F1R2_FB22_Pos (22U)
4281#define CAN_F1R2_FB22_Msk (0x1UL << CAN_F1R2_FB22_Pos)
4282#define CAN_F1R2_FB22 CAN_F1R2_FB22_Msk
4283#define CAN_F1R2_FB23_Pos (23U)
4284#define CAN_F1R2_FB23_Msk (0x1UL << CAN_F1R2_FB23_Pos)
4285#define CAN_F1R2_FB23 CAN_F1R2_FB23_Msk
4286#define CAN_F1R2_FB24_Pos (24U)
4287#define CAN_F1R2_FB24_Msk (0x1UL << CAN_F1R2_FB24_Pos)
4288#define CAN_F1R2_FB24 CAN_F1R2_FB24_Msk
4289#define CAN_F1R2_FB25_Pos (25U)
4290#define CAN_F1R2_FB25_Msk (0x1UL << CAN_F1R2_FB25_Pos)
4291#define CAN_F1R2_FB25 CAN_F1R2_FB25_Msk
4292#define CAN_F1R2_FB26_Pos (26U)
4293#define CAN_F1R2_FB26_Msk (0x1UL << CAN_F1R2_FB26_Pos)
4294#define CAN_F1R2_FB26 CAN_F1R2_FB26_Msk
4295#define CAN_F1R2_FB27_Pos (27U)
4296#define CAN_F1R2_FB27_Msk (0x1UL << CAN_F1R2_FB27_Pos)
4297#define CAN_F1R2_FB27 CAN_F1R2_FB27_Msk
4298#define CAN_F1R2_FB28_Pos (28U)
4299#define CAN_F1R2_FB28_Msk (0x1UL << CAN_F1R2_FB28_Pos)
4300#define CAN_F1R2_FB28 CAN_F1R2_FB28_Msk
4301#define CAN_F1R2_FB29_Pos (29U)
4302#define CAN_F1R2_FB29_Msk (0x1UL << CAN_F1R2_FB29_Pos)
4303#define CAN_F1R2_FB29 CAN_F1R2_FB29_Msk
4304#define CAN_F1R2_FB30_Pos (30U)
4305#define CAN_F1R2_FB30_Msk (0x1UL << CAN_F1R2_FB30_Pos)
4306#define CAN_F1R2_FB30 CAN_F1R2_FB30_Msk
4307#define CAN_F1R2_FB31_Pos (31U)
4308#define CAN_F1R2_FB31_Msk (0x1UL << CAN_F1R2_FB31_Pos)
4309#define CAN_F1R2_FB31 CAN_F1R2_FB31_Msk
4311/******************* Bit definition for CAN_F2R2 register *******************/
4312#define CAN_F2R2_FB0_Pos (0U)
4313#define CAN_F2R2_FB0_Msk (0x1UL << CAN_F2R2_FB0_Pos)
4314#define CAN_F2R2_FB0 CAN_F2R2_FB0_Msk
4315#define CAN_F2R2_FB1_Pos (1U)
4316#define CAN_F2R2_FB1_Msk (0x1UL << CAN_F2R2_FB1_Pos)
4317#define CAN_F2R2_FB1 CAN_F2R2_FB1_Msk
4318#define CAN_F2R2_FB2_Pos (2U)
4319#define CAN_F2R2_FB2_Msk (0x1UL << CAN_F2R2_FB2_Pos)
4320#define CAN_F2R2_FB2 CAN_F2R2_FB2_Msk
4321#define CAN_F2R2_FB3_Pos (3U)
4322#define CAN_F2R2_FB3_Msk (0x1UL << CAN_F2R2_FB3_Pos)
4323#define CAN_F2R2_FB3 CAN_F2R2_FB3_Msk
4324#define CAN_F2R2_FB4_Pos (4U)
4325#define CAN_F2R2_FB4_Msk (0x1UL << CAN_F2R2_FB4_Pos)
4326#define CAN_F2R2_FB4 CAN_F2R2_FB4_Msk
4327#define CAN_F2R2_FB5_Pos (5U)
4328#define CAN_F2R2_FB5_Msk (0x1UL << CAN_F2R2_FB5_Pos)
4329#define CAN_F2R2_FB5 CAN_F2R2_FB5_Msk
4330#define CAN_F2R2_FB6_Pos (6U)
4331#define CAN_F2R2_FB6_Msk (0x1UL << CAN_F2R2_FB6_Pos)
4332#define CAN_F2R2_FB6 CAN_F2R2_FB6_Msk
4333#define CAN_F2R2_FB7_Pos (7U)
4334#define CAN_F2R2_FB7_Msk (0x1UL << CAN_F2R2_FB7_Pos)
4335#define CAN_F2R2_FB7 CAN_F2R2_FB7_Msk
4336#define CAN_F2R2_FB8_Pos (8U)
4337#define CAN_F2R2_FB8_Msk (0x1UL << CAN_F2R2_FB8_Pos)
4338#define CAN_F2R2_FB8 CAN_F2R2_FB8_Msk
4339#define CAN_F2R2_FB9_Pos (9U)
4340#define CAN_F2R2_FB9_Msk (0x1UL << CAN_F2R2_FB9_Pos)
4341#define CAN_F2R2_FB9 CAN_F2R2_FB9_Msk
4342#define CAN_F2R2_FB10_Pos (10U)
4343#define CAN_F2R2_FB10_Msk (0x1UL << CAN_F2R2_FB10_Pos)
4344#define CAN_F2R2_FB10 CAN_F2R2_FB10_Msk
4345#define CAN_F2R2_FB11_Pos (11U)
4346#define CAN_F2R2_FB11_Msk (0x1UL << CAN_F2R2_FB11_Pos)
4347#define CAN_F2R2_FB11 CAN_F2R2_FB11_Msk
4348#define CAN_F2R2_FB12_Pos (12U)
4349#define CAN_F2R2_FB12_Msk (0x1UL << CAN_F2R2_FB12_Pos)
4350#define CAN_F2R2_FB12 CAN_F2R2_FB12_Msk
4351#define CAN_F2R2_FB13_Pos (13U)
4352#define CAN_F2R2_FB13_Msk (0x1UL << CAN_F2R2_FB13_Pos)
4353#define CAN_F2R2_FB13 CAN_F2R2_FB13_Msk
4354#define CAN_F2R2_FB14_Pos (14U)
4355#define CAN_F2R2_FB14_Msk (0x1UL << CAN_F2R2_FB14_Pos)
4356#define CAN_F2R2_FB14 CAN_F2R2_FB14_Msk
4357#define CAN_F2R2_FB15_Pos (15U)
4358#define CAN_F2R2_FB15_Msk (0x1UL << CAN_F2R2_FB15_Pos)
4359#define CAN_F2R2_FB15 CAN_F2R2_FB15_Msk
4360#define CAN_F2R2_FB16_Pos (16U)
4361#define CAN_F2R2_FB16_Msk (0x1UL << CAN_F2R2_FB16_Pos)
4362#define CAN_F2R2_FB16 CAN_F2R2_FB16_Msk
4363#define CAN_F2R2_FB17_Pos (17U)
4364#define CAN_F2R2_FB17_Msk (0x1UL << CAN_F2R2_FB17_Pos)
4365#define CAN_F2R2_FB17 CAN_F2R2_FB17_Msk
4366#define CAN_F2R2_FB18_Pos (18U)
4367#define CAN_F2R2_FB18_Msk (0x1UL << CAN_F2R2_FB18_Pos)
4368#define CAN_F2R2_FB18 CAN_F2R2_FB18_Msk
4369#define CAN_F2R2_FB19_Pos (19U)
4370#define CAN_F2R2_FB19_Msk (0x1UL << CAN_F2R2_FB19_Pos)
4371#define CAN_F2R2_FB19 CAN_F2R2_FB19_Msk
4372#define CAN_F2R2_FB20_Pos (20U)
4373#define CAN_F2R2_FB20_Msk (0x1UL << CAN_F2R2_FB20_Pos)
4374#define CAN_F2R2_FB20 CAN_F2R2_FB20_Msk
4375#define CAN_F2R2_FB21_Pos (21U)
4376#define CAN_F2R2_FB21_Msk (0x1UL << CAN_F2R2_FB21_Pos)
4377#define CAN_F2R2_FB21 CAN_F2R2_FB21_Msk
4378#define CAN_F2R2_FB22_Pos (22U)
4379#define CAN_F2R2_FB22_Msk (0x1UL << CAN_F2R2_FB22_Pos)
4380#define CAN_F2R2_FB22 CAN_F2R2_FB22_Msk
4381#define CAN_F2R2_FB23_Pos (23U)
4382#define CAN_F2R2_FB23_Msk (0x1UL << CAN_F2R2_FB23_Pos)
4383#define CAN_F2R2_FB23 CAN_F2R2_FB23_Msk
4384#define CAN_F2R2_FB24_Pos (24U)
4385#define CAN_F2R2_FB24_Msk (0x1UL << CAN_F2R2_FB24_Pos)
4386#define CAN_F2R2_FB24 CAN_F2R2_FB24_Msk
4387#define CAN_F2R2_FB25_Pos (25U)
4388#define CAN_F2R2_FB25_Msk (0x1UL << CAN_F2R2_FB25_Pos)
4389#define CAN_F2R2_FB25 CAN_F2R2_FB25_Msk
4390#define CAN_F2R2_FB26_Pos (26U)
4391#define CAN_F2R2_FB26_Msk (0x1UL << CAN_F2R2_FB26_Pos)
4392#define CAN_F2R2_FB26 CAN_F2R2_FB26_Msk
4393#define CAN_F2R2_FB27_Pos (27U)
4394#define CAN_F2R2_FB27_Msk (0x1UL << CAN_F2R2_FB27_Pos)
4395#define CAN_F2R2_FB27 CAN_F2R2_FB27_Msk
4396#define CAN_F2R2_FB28_Pos (28U)
4397#define CAN_F2R2_FB28_Msk (0x1UL << CAN_F2R2_FB28_Pos)
4398#define CAN_F2R2_FB28 CAN_F2R2_FB28_Msk
4399#define CAN_F2R2_FB29_Pos (29U)
4400#define CAN_F2R2_FB29_Msk (0x1UL << CAN_F2R2_FB29_Pos)
4401#define CAN_F2R2_FB29 CAN_F2R2_FB29_Msk
4402#define CAN_F2R2_FB30_Pos (30U)
4403#define CAN_F2R2_FB30_Msk (0x1UL << CAN_F2R2_FB30_Pos)
4404#define CAN_F2R2_FB30 CAN_F2R2_FB30_Msk
4405#define CAN_F2R2_FB31_Pos (31U)
4406#define CAN_F2R2_FB31_Msk (0x1UL << CAN_F2R2_FB31_Pos)
4407#define CAN_F2R2_FB31 CAN_F2R2_FB31_Msk
4409/******************* Bit definition for CAN_F3R2 register *******************/
4410#define CAN_F3R2_FB0_Pos (0U)
4411#define CAN_F3R2_FB0_Msk (0x1UL << CAN_F3R2_FB0_Pos)
4412#define CAN_F3R2_FB0 CAN_F3R2_FB0_Msk
4413#define CAN_F3R2_FB1_Pos (1U)
4414#define CAN_F3R2_FB1_Msk (0x1UL << CAN_F3R2_FB1_Pos)
4415#define CAN_F3R2_FB1 CAN_F3R2_FB1_Msk
4416#define CAN_F3R2_FB2_Pos (2U)
4417#define CAN_F3R2_FB2_Msk (0x1UL << CAN_F3R2_FB2_Pos)
4418#define CAN_F3R2_FB2 CAN_F3R2_FB2_Msk
4419#define CAN_F3R2_FB3_Pos (3U)
4420#define CAN_F3R2_FB3_Msk (0x1UL << CAN_F3R2_FB3_Pos)
4421#define CAN_F3R2_FB3 CAN_F3R2_FB3_Msk
4422#define CAN_F3R2_FB4_Pos (4U)
4423#define CAN_F3R2_FB4_Msk (0x1UL << CAN_F3R2_FB4_Pos)
4424#define CAN_F3R2_FB4 CAN_F3R2_FB4_Msk
4425#define CAN_F3R2_FB5_Pos (5U)
4426#define CAN_F3R2_FB5_Msk (0x1UL << CAN_F3R2_FB5_Pos)
4427#define CAN_F3R2_FB5 CAN_F3R2_FB5_Msk
4428#define CAN_F3R2_FB6_Pos (6U)
4429#define CAN_F3R2_FB6_Msk (0x1UL << CAN_F3R2_FB6_Pos)
4430#define CAN_F3R2_FB6 CAN_F3R2_FB6_Msk
4431#define CAN_F3R2_FB7_Pos (7U)
4432#define CAN_F3R2_FB7_Msk (0x1UL << CAN_F3R2_FB7_Pos)
4433#define CAN_F3R2_FB7 CAN_F3R2_FB7_Msk
4434#define CAN_F3R2_FB8_Pos (8U)
4435#define CAN_F3R2_FB8_Msk (0x1UL << CAN_F3R2_FB8_Pos)
4436#define CAN_F3R2_FB8 CAN_F3R2_FB8_Msk
4437#define CAN_F3R2_FB9_Pos (9U)
4438#define CAN_F3R2_FB9_Msk (0x1UL << CAN_F3R2_FB9_Pos)
4439#define CAN_F3R2_FB9 CAN_F3R2_FB9_Msk
4440#define CAN_F3R2_FB10_Pos (10U)
4441#define CAN_F3R2_FB10_Msk (0x1UL << CAN_F3R2_FB10_Pos)
4442#define CAN_F3R2_FB10 CAN_F3R2_FB10_Msk
4443#define CAN_F3R2_FB11_Pos (11U)
4444#define CAN_F3R2_FB11_Msk (0x1UL << CAN_F3R2_FB11_Pos)
4445#define CAN_F3R2_FB11 CAN_F3R2_FB11_Msk
4446#define CAN_F3R2_FB12_Pos (12U)
4447#define CAN_F3R2_FB12_Msk (0x1UL << CAN_F3R2_FB12_Pos)
4448#define CAN_F3R2_FB12 CAN_F3R2_FB12_Msk
4449#define CAN_F3R2_FB13_Pos (13U)
4450#define CAN_F3R2_FB13_Msk (0x1UL << CAN_F3R2_FB13_Pos)
4451#define CAN_F3R2_FB13 CAN_F3R2_FB13_Msk
4452#define CAN_F3R2_FB14_Pos (14U)
4453#define CAN_F3R2_FB14_Msk (0x1UL << CAN_F3R2_FB14_Pos)
4454#define CAN_F3R2_FB14 CAN_F3R2_FB14_Msk
4455#define CAN_F3R2_FB15_Pos (15U)
4456#define CAN_F3R2_FB15_Msk (0x1UL << CAN_F3R2_FB15_Pos)
4457#define CAN_F3R2_FB15 CAN_F3R2_FB15_Msk
4458#define CAN_F3R2_FB16_Pos (16U)
4459#define CAN_F3R2_FB16_Msk (0x1UL << CAN_F3R2_FB16_Pos)
4460#define CAN_F3R2_FB16 CAN_F3R2_FB16_Msk
4461#define CAN_F3R2_FB17_Pos (17U)
4462#define CAN_F3R2_FB17_Msk (0x1UL << CAN_F3R2_FB17_Pos)
4463#define CAN_F3R2_FB17 CAN_F3R2_FB17_Msk
4464#define CAN_F3R2_FB18_Pos (18U)
4465#define CAN_F3R2_FB18_Msk (0x1UL << CAN_F3R2_FB18_Pos)
4466#define CAN_F3R2_FB18 CAN_F3R2_FB18_Msk
4467#define CAN_F3R2_FB19_Pos (19U)
4468#define CAN_F3R2_FB19_Msk (0x1UL << CAN_F3R2_FB19_Pos)
4469#define CAN_F3R2_FB19 CAN_F3R2_FB19_Msk
4470#define CAN_F3R2_FB20_Pos (20U)
4471#define CAN_F3R2_FB20_Msk (0x1UL << CAN_F3R2_FB20_Pos)
4472#define CAN_F3R2_FB20 CAN_F3R2_FB20_Msk
4473#define CAN_F3R2_FB21_Pos (21U)
4474#define CAN_F3R2_FB21_Msk (0x1UL << CAN_F3R2_FB21_Pos)
4475#define CAN_F3R2_FB21 CAN_F3R2_FB21_Msk
4476#define CAN_F3R2_FB22_Pos (22U)
4477#define CAN_F3R2_FB22_Msk (0x1UL << CAN_F3R2_FB22_Pos)
4478#define CAN_F3R2_FB22 CAN_F3R2_FB22_Msk
4479#define CAN_F3R2_FB23_Pos (23U)
4480#define CAN_F3R2_FB23_Msk (0x1UL << CAN_F3R2_FB23_Pos)
4481#define CAN_F3R2_FB23 CAN_F3R2_FB23_Msk
4482#define CAN_F3R2_FB24_Pos (24U)
4483#define CAN_F3R2_FB24_Msk (0x1UL << CAN_F3R2_FB24_Pos)
4484#define CAN_F3R2_FB24 CAN_F3R2_FB24_Msk
4485#define CAN_F3R2_FB25_Pos (25U)
4486#define CAN_F3R2_FB25_Msk (0x1UL << CAN_F3R2_FB25_Pos)
4487#define CAN_F3R2_FB25 CAN_F3R2_FB25_Msk
4488#define CAN_F3R2_FB26_Pos (26U)
4489#define CAN_F3R2_FB26_Msk (0x1UL << CAN_F3R2_FB26_Pos)
4490#define CAN_F3R2_FB26 CAN_F3R2_FB26_Msk
4491#define CAN_F3R2_FB27_Pos (27U)
4492#define CAN_F3R2_FB27_Msk (0x1UL << CAN_F3R2_FB27_Pos)
4493#define CAN_F3R2_FB27 CAN_F3R2_FB27_Msk
4494#define CAN_F3R2_FB28_Pos (28U)
4495#define CAN_F3R2_FB28_Msk (0x1UL << CAN_F3R2_FB28_Pos)
4496#define CAN_F3R2_FB28 CAN_F3R2_FB28_Msk
4497#define CAN_F3R2_FB29_Pos (29U)
4498#define CAN_F3R2_FB29_Msk (0x1UL << CAN_F3R2_FB29_Pos)
4499#define CAN_F3R2_FB29 CAN_F3R2_FB29_Msk
4500#define CAN_F3R2_FB30_Pos (30U)
4501#define CAN_F3R2_FB30_Msk (0x1UL << CAN_F3R2_FB30_Pos)
4502#define CAN_F3R2_FB30 CAN_F3R2_FB30_Msk
4503#define CAN_F3R2_FB31_Pos (31U)
4504#define CAN_F3R2_FB31_Msk (0x1UL << CAN_F3R2_FB31_Pos)
4505#define CAN_F3R2_FB31 CAN_F3R2_FB31_Msk
4507/******************* Bit definition for CAN_F4R2 register *******************/
4508#define CAN_F4R2_FB0_Pos (0U)
4509#define CAN_F4R2_FB0_Msk (0x1UL << CAN_F4R2_FB0_Pos)
4510#define CAN_F4R2_FB0 CAN_F4R2_FB0_Msk
4511#define CAN_F4R2_FB1_Pos (1U)
4512#define CAN_F4R2_FB1_Msk (0x1UL << CAN_F4R2_FB1_Pos)
4513#define CAN_F4R2_FB1 CAN_F4R2_FB1_Msk
4514#define CAN_F4R2_FB2_Pos (2U)
4515#define CAN_F4R2_FB2_Msk (0x1UL << CAN_F4R2_FB2_Pos)
4516#define CAN_F4R2_FB2 CAN_F4R2_FB2_Msk
4517#define CAN_F4R2_FB3_Pos (3U)
4518#define CAN_F4R2_FB3_Msk (0x1UL << CAN_F4R2_FB3_Pos)
4519#define CAN_F4R2_FB3 CAN_F4R2_FB3_Msk
4520#define CAN_F4R2_FB4_Pos (4U)
4521#define CAN_F4R2_FB4_Msk (0x1UL << CAN_F4R2_FB4_Pos)
4522#define CAN_F4R2_FB4 CAN_F4R2_FB4_Msk
4523#define CAN_F4R2_FB5_Pos (5U)
4524#define CAN_F4R2_FB5_Msk (0x1UL << CAN_F4R2_FB5_Pos)
4525#define CAN_F4R2_FB5 CAN_F4R2_FB5_Msk
4526#define CAN_F4R2_FB6_Pos (6U)
4527#define CAN_F4R2_FB6_Msk (0x1UL << CAN_F4R2_FB6_Pos)
4528#define CAN_F4R2_FB6 CAN_F4R2_FB6_Msk
4529#define CAN_F4R2_FB7_Pos (7U)
4530#define CAN_F4R2_FB7_Msk (0x1UL << CAN_F4R2_FB7_Pos)
4531#define CAN_F4R2_FB7 CAN_F4R2_FB7_Msk
4532#define CAN_F4R2_FB8_Pos (8U)
4533#define CAN_F4R2_FB8_Msk (0x1UL << CAN_F4R2_FB8_Pos)
4534#define CAN_F4R2_FB8 CAN_F4R2_FB8_Msk
4535#define CAN_F4R2_FB9_Pos (9U)
4536#define CAN_F4R2_FB9_Msk (0x1UL << CAN_F4R2_FB9_Pos)
4537#define CAN_F4R2_FB9 CAN_F4R2_FB9_Msk
4538#define CAN_F4R2_FB10_Pos (10U)
4539#define CAN_F4R2_FB10_Msk (0x1UL << CAN_F4R2_FB10_Pos)
4540#define CAN_F4R2_FB10 CAN_F4R2_FB10_Msk
4541#define CAN_F4R2_FB11_Pos (11U)
4542#define CAN_F4R2_FB11_Msk (0x1UL << CAN_F4R2_FB11_Pos)
4543#define CAN_F4R2_FB11 CAN_F4R2_FB11_Msk
4544#define CAN_F4R2_FB12_Pos (12U)
4545#define CAN_F4R2_FB12_Msk (0x1UL << CAN_F4R2_FB12_Pos)
4546#define CAN_F4R2_FB12 CAN_F4R2_FB12_Msk
4547#define CAN_F4R2_FB13_Pos (13U)
4548#define CAN_F4R2_FB13_Msk (0x1UL << CAN_F4R2_FB13_Pos)
4549#define CAN_F4R2_FB13 CAN_F4R2_FB13_Msk
4550#define CAN_F4R2_FB14_Pos (14U)
4551#define CAN_F4R2_FB14_Msk (0x1UL << CAN_F4R2_FB14_Pos)
4552#define CAN_F4R2_FB14 CAN_F4R2_FB14_Msk
4553#define CAN_F4R2_FB15_Pos (15U)
4554#define CAN_F4R2_FB15_Msk (0x1UL << CAN_F4R2_FB15_Pos)
4555#define CAN_F4R2_FB15 CAN_F4R2_FB15_Msk
4556#define CAN_F4R2_FB16_Pos (16U)
4557#define CAN_F4R2_FB16_Msk (0x1UL << CAN_F4R2_FB16_Pos)
4558#define CAN_F4R2_FB16 CAN_F4R2_FB16_Msk
4559#define CAN_F4R2_FB17_Pos (17U)
4560#define CAN_F4R2_FB17_Msk (0x1UL << CAN_F4R2_FB17_Pos)
4561#define CAN_F4R2_FB17 CAN_F4R2_FB17_Msk
4562#define CAN_F4R2_FB18_Pos (18U)
4563#define CAN_F4R2_FB18_Msk (0x1UL << CAN_F4R2_FB18_Pos)
4564#define CAN_F4R2_FB18 CAN_F4R2_FB18_Msk
4565#define CAN_F4R2_FB19_Pos (19U)
4566#define CAN_F4R2_FB19_Msk (0x1UL << CAN_F4R2_FB19_Pos)
4567#define CAN_F4R2_FB19 CAN_F4R2_FB19_Msk
4568#define CAN_F4R2_FB20_Pos (20U)
4569#define CAN_F4R2_FB20_Msk (0x1UL << CAN_F4R2_FB20_Pos)
4570#define CAN_F4R2_FB20 CAN_F4R2_FB20_Msk
4571#define CAN_F4R2_FB21_Pos (21U)
4572#define CAN_F4R2_FB21_Msk (0x1UL << CAN_F4R2_FB21_Pos)
4573#define CAN_F4R2_FB21 CAN_F4R2_FB21_Msk
4574#define CAN_F4R2_FB22_Pos (22U)
4575#define CAN_F4R2_FB22_Msk (0x1UL << CAN_F4R2_FB22_Pos)
4576#define CAN_F4R2_FB22 CAN_F4R2_FB22_Msk
4577#define CAN_F4R2_FB23_Pos (23U)
4578#define CAN_F4R2_FB23_Msk (0x1UL << CAN_F4R2_FB23_Pos)
4579#define CAN_F4R2_FB23 CAN_F4R2_FB23_Msk
4580#define CAN_F4R2_FB24_Pos (24U)
4581#define CAN_F4R2_FB24_Msk (0x1UL << CAN_F4R2_FB24_Pos)
4582#define CAN_F4R2_FB24 CAN_F4R2_FB24_Msk
4583#define CAN_F4R2_FB25_Pos (25U)
4584#define CAN_F4R2_FB25_Msk (0x1UL << CAN_F4R2_FB25_Pos)
4585#define CAN_F4R2_FB25 CAN_F4R2_FB25_Msk
4586#define CAN_F4R2_FB26_Pos (26U)
4587#define CAN_F4R2_FB26_Msk (0x1UL << CAN_F4R2_FB26_Pos)
4588#define CAN_F4R2_FB26 CAN_F4R2_FB26_Msk
4589#define CAN_F4R2_FB27_Pos (27U)
4590#define CAN_F4R2_FB27_Msk (0x1UL << CAN_F4R2_FB27_Pos)
4591#define CAN_F4R2_FB27 CAN_F4R2_FB27_Msk
4592#define CAN_F4R2_FB28_Pos (28U)
4593#define CAN_F4R2_FB28_Msk (0x1UL << CAN_F4R2_FB28_Pos)
4594#define CAN_F4R2_FB28 CAN_F4R2_FB28_Msk
4595#define CAN_F4R2_FB29_Pos (29U)
4596#define CAN_F4R2_FB29_Msk (0x1UL << CAN_F4R2_FB29_Pos)
4597#define CAN_F4R2_FB29 CAN_F4R2_FB29_Msk
4598#define CAN_F4R2_FB30_Pos (30U)
4599#define CAN_F4R2_FB30_Msk (0x1UL << CAN_F4R2_FB30_Pos)
4600#define CAN_F4R2_FB30 CAN_F4R2_FB30_Msk
4601#define CAN_F4R2_FB31_Pos (31U)
4602#define CAN_F4R2_FB31_Msk (0x1UL << CAN_F4R2_FB31_Pos)
4603#define CAN_F4R2_FB31 CAN_F4R2_FB31_Msk
4605/******************* Bit definition for CAN_F5R2 register *******************/
4606#define CAN_F5R2_FB0_Pos (0U)
4607#define CAN_F5R2_FB0_Msk (0x1UL << CAN_F5R2_FB0_Pos)
4608#define CAN_F5R2_FB0 CAN_F5R2_FB0_Msk
4609#define CAN_F5R2_FB1_Pos (1U)
4610#define CAN_F5R2_FB1_Msk (0x1UL << CAN_F5R2_FB1_Pos)
4611#define CAN_F5R2_FB1 CAN_F5R2_FB1_Msk
4612#define CAN_F5R2_FB2_Pos (2U)
4613#define CAN_F5R2_FB2_Msk (0x1UL << CAN_F5R2_FB2_Pos)
4614#define CAN_F5R2_FB2 CAN_F5R2_FB2_Msk
4615#define CAN_F5R2_FB3_Pos (3U)
4616#define CAN_F5R2_FB3_Msk (0x1UL << CAN_F5R2_FB3_Pos)
4617#define CAN_F5R2_FB3 CAN_F5R2_FB3_Msk
4618#define CAN_F5R2_FB4_Pos (4U)
4619#define CAN_F5R2_FB4_Msk (0x1UL << CAN_F5R2_FB4_Pos)
4620#define CAN_F5R2_FB4 CAN_F5R2_FB4_Msk
4621#define CAN_F5R2_FB5_Pos (5U)
4622#define CAN_F5R2_FB5_Msk (0x1UL << CAN_F5R2_FB5_Pos)
4623#define CAN_F5R2_FB5 CAN_F5R2_FB5_Msk
4624#define CAN_F5R2_FB6_Pos (6U)
4625#define CAN_F5R2_FB6_Msk (0x1UL << CAN_F5R2_FB6_Pos)
4626#define CAN_F5R2_FB6 CAN_F5R2_FB6_Msk
4627#define CAN_F5R2_FB7_Pos (7U)
4628#define CAN_F5R2_FB7_Msk (0x1UL << CAN_F5R2_FB7_Pos)
4629#define CAN_F5R2_FB7 CAN_F5R2_FB7_Msk
4630#define CAN_F5R2_FB8_Pos (8U)
4631#define CAN_F5R2_FB8_Msk (0x1UL << CAN_F5R2_FB8_Pos)
4632#define CAN_F5R2_FB8 CAN_F5R2_FB8_Msk
4633#define CAN_F5R2_FB9_Pos (9U)
4634#define CAN_F5R2_FB9_Msk (0x1UL << CAN_F5R2_FB9_Pos)
4635#define CAN_F5R2_FB9 CAN_F5R2_FB9_Msk
4636#define CAN_F5R2_FB10_Pos (10U)
4637#define CAN_F5R2_FB10_Msk (0x1UL << CAN_F5R2_FB10_Pos)
4638#define CAN_F5R2_FB10 CAN_F5R2_FB10_Msk
4639#define CAN_F5R2_FB11_Pos (11U)
4640#define CAN_F5R2_FB11_Msk (0x1UL << CAN_F5R2_FB11_Pos)
4641#define CAN_F5R2_FB11 CAN_F5R2_FB11_Msk
4642#define CAN_F5R2_FB12_Pos (12U)
4643#define CAN_F5R2_FB12_Msk (0x1UL << CAN_F5R2_FB12_Pos)
4644#define CAN_F5R2_FB12 CAN_F5R2_FB12_Msk
4645#define CAN_F5R2_FB13_Pos (13U)
4646#define CAN_F5R2_FB13_Msk (0x1UL << CAN_F5R2_FB13_Pos)
4647#define CAN_F5R2_FB13 CAN_F5R2_FB13_Msk
4648#define CAN_F5R2_FB14_Pos (14U)
4649#define CAN_F5R2_FB14_Msk (0x1UL << CAN_F5R2_FB14_Pos)
4650#define CAN_F5R2_FB14 CAN_F5R2_FB14_Msk
4651#define CAN_F5R2_FB15_Pos (15U)
4652#define CAN_F5R2_FB15_Msk (0x1UL << CAN_F5R2_FB15_Pos)
4653#define CAN_F5R2_FB15 CAN_F5R2_FB15_Msk
4654#define CAN_F5R2_FB16_Pos (16U)
4655#define CAN_F5R2_FB16_Msk (0x1UL << CAN_F5R2_FB16_Pos)
4656#define CAN_F5R2_FB16 CAN_F5R2_FB16_Msk
4657#define CAN_F5R2_FB17_Pos (17U)
4658#define CAN_F5R2_FB17_Msk (0x1UL << CAN_F5R2_FB17_Pos)
4659#define CAN_F5R2_FB17 CAN_F5R2_FB17_Msk
4660#define CAN_F5R2_FB18_Pos (18U)
4661#define CAN_F5R2_FB18_Msk (0x1UL << CAN_F5R2_FB18_Pos)
4662#define CAN_F5R2_FB18 CAN_F5R2_FB18_Msk
4663#define CAN_F5R2_FB19_Pos (19U)
4664#define CAN_F5R2_FB19_Msk (0x1UL << CAN_F5R2_FB19_Pos)
4665#define CAN_F5R2_FB19 CAN_F5R2_FB19_Msk
4666#define CAN_F5R2_FB20_Pos (20U)
4667#define CAN_F5R2_FB20_Msk (0x1UL << CAN_F5R2_FB20_Pos)
4668#define CAN_F5R2_FB20 CAN_F5R2_FB20_Msk
4669#define CAN_F5R2_FB21_Pos (21U)
4670#define CAN_F5R2_FB21_Msk (0x1UL << CAN_F5R2_FB21_Pos)
4671#define CAN_F5R2_FB21 CAN_F5R2_FB21_Msk
4672#define CAN_F5R2_FB22_Pos (22U)
4673#define CAN_F5R2_FB22_Msk (0x1UL << CAN_F5R2_FB22_Pos)
4674#define CAN_F5R2_FB22 CAN_F5R2_FB22_Msk
4675#define CAN_F5R2_FB23_Pos (23U)
4676#define CAN_F5R2_FB23_Msk (0x1UL << CAN_F5R2_FB23_Pos)
4677#define CAN_F5R2_FB23 CAN_F5R2_FB23_Msk
4678#define CAN_F5R2_FB24_Pos (24U)
4679#define CAN_F5R2_FB24_Msk (0x1UL << CAN_F5R2_FB24_Pos)
4680#define CAN_F5R2_FB24 CAN_F5R2_FB24_Msk
4681#define CAN_F5R2_FB25_Pos (25U)
4682#define CAN_F5R2_FB25_Msk (0x1UL << CAN_F5R2_FB25_Pos)
4683#define CAN_F5R2_FB25 CAN_F5R2_FB25_Msk
4684#define CAN_F5R2_FB26_Pos (26U)
4685#define CAN_F5R2_FB26_Msk (0x1UL << CAN_F5R2_FB26_Pos)
4686#define CAN_F5R2_FB26 CAN_F5R2_FB26_Msk
4687#define CAN_F5R2_FB27_Pos (27U)
4688#define CAN_F5R2_FB27_Msk (0x1UL << CAN_F5R2_FB27_Pos)
4689#define CAN_F5R2_FB27 CAN_F5R2_FB27_Msk
4690#define CAN_F5R2_FB28_Pos (28U)
4691#define CAN_F5R2_FB28_Msk (0x1UL << CAN_F5R2_FB28_Pos)
4692#define CAN_F5R2_FB28 CAN_F5R2_FB28_Msk
4693#define CAN_F5R2_FB29_Pos (29U)
4694#define CAN_F5R2_FB29_Msk (0x1UL << CAN_F5R2_FB29_Pos)
4695#define CAN_F5R2_FB29 CAN_F5R2_FB29_Msk
4696#define CAN_F5R2_FB30_Pos (30U)
4697#define CAN_F5R2_FB30_Msk (0x1UL << CAN_F5R2_FB30_Pos)
4698#define CAN_F5R2_FB30 CAN_F5R2_FB30_Msk
4699#define CAN_F5R2_FB31_Pos (31U)
4700#define CAN_F5R2_FB31_Msk (0x1UL << CAN_F5R2_FB31_Pos)
4701#define CAN_F5R2_FB31 CAN_F5R2_FB31_Msk
4703/******************* Bit definition for CAN_F6R2 register *******************/
4704#define CAN_F6R2_FB0_Pos (0U)
4705#define CAN_F6R2_FB0_Msk (0x1UL << CAN_F6R2_FB0_Pos)
4706#define CAN_F6R2_FB0 CAN_F6R2_FB0_Msk
4707#define CAN_F6R2_FB1_Pos (1U)
4708#define CAN_F6R2_FB1_Msk (0x1UL << CAN_F6R2_FB1_Pos)
4709#define CAN_F6R2_FB1 CAN_F6R2_FB1_Msk
4710#define CAN_F6R2_FB2_Pos (2U)
4711#define CAN_F6R2_FB2_Msk (0x1UL << CAN_F6R2_FB2_Pos)
4712#define CAN_F6R2_FB2 CAN_F6R2_FB2_Msk
4713#define CAN_F6R2_FB3_Pos (3U)
4714#define CAN_F6R2_FB3_Msk (0x1UL << CAN_F6R2_FB3_Pos)
4715#define CAN_F6R2_FB3 CAN_F6R2_FB3_Msk
4716#define CAN_F6R2_FB4_Pos (4U)
4717#define CAN_F6R2_FB4_Msk (0x1UL << CAN_F6R2_FB4_Pos)
4718#define CAN_F6R2_FB4 CAN_F6R2_FB4_Msk
4719#define CAN_F6R2_FB5_Pos (5U)
4720#define CAN_F6R2_FB5_Msk (0x1UL << CAN_F6R2_FB5_Pos)
4721#define CAN_F6R2_FB5 CAN_F6R2_FB5_Msk
4722#define CAN_F6R2_FB6_Pos (6U)
4723#define CAN_F6R2_FB6_Msk (0x1UL << CAN_F6R2_FB6_Pos)
4724#define CAN_F6R2_FB6 CAN_F6R2_FB6_Msk
4725#define CAN_F6R2_FB7_Pos (7U)
4726#define CAN_F6R2_FB7_Msk (0x1UL << CAN_F6R2_FB7_Pos)
4727#define CAN_F6R2_FB7 CAN_F6R2_FB7_Msk
4728#define CAN_F6R2_FB8_Pos (8U)
4729#define CAN_F6R2_FB8_Msk (0x1UL << CAN_F6R2_FB8_Pos)
4730#define CAN_F6R2_FB8 CAN_F6R2_FB8_Msk
4731#define CAN_F6R2_FB9_Pos (9U)
4732#define CAN_F6R2_FB9_Msk (0x1UL << CAN_F6R2_FB9_Pos)
4733#define CAN_F6R2_FB9 CAN_F6R2_FB9_Msk
4734#define CAN_F6R2_FB10_Pos (10U)
4735#define CAN_F6R2_FB10_Msk (0x1UL << CAN_F6R2_FB10_Pos)
4736#define CAN_F6R2_FB10 CAN_F6R2_FB10_Msk
4737#define CAN_F6R2_FB11_Pos (11U)
4738#define CAN_F6R2_FB11_Msk (0x1UL << CAN_F6R2_FB11_Pos)
4739#define CAN_F6R2_FB11 CAN_F6R2_FB11_Msk
4740#define CAN_F6R2_FB12_Pos (12U)
4741#define CAN_F6R2_FB12_Msk (0x1UL << CAN_F6R2_FB12_Pos)
4742#define CAN_F6R2_FB12 CAN_F6R2_FB12_Msk
4743#define CAN_F6R2_FB13_Pos (13U)
4744#define CAN_F6R2_FB13_Msk (0x1UL << CAN_F6R2_FB13_Pos)
4745#define CAN_F6R2_FB13 CAN_F6R2_FB13_Msk
4746#define CAN_F6R2_FB14_Pos (14U)
4747#define CAN_F6R2_FB14_Msk (0x1UL << CAN_F6R2_FB14_Pos)
4748#define CAN_F6R2_FB14 CAN_F6R2_FB14_Msk
4749#define CAN_F6R2_FB15_Pos (15U)
4750#define CAN_F6R2_FB15_Msk (0x1UL << CAN_F6R2_FB15_Pos)
4751#define CAN_F6R2_FB15 CAN_F6R2_FB15_Msk
4752#define CAN_F6R2_FB16_Pos (16U)
4753#define CAN_F6R2_FB16_Msk (0x1UL << CAN_F6R2_FB16_Pos)
4754#define CAN_F6R2_FB16 CAN_F6R2_FB16_Msk
4755#define CAN_F6R2_FB17_Pos (17U)
4756#define CAN_F6R2_FB17_Msk (0x1UL << CAN_F6R2_FB17_Pos)
4757#define CAN_F6R2_FB17 CAN_F6R2_FB17_Msk
4758#define CAN_F6R2_FB18_Pos (18U)
4759#define CAN_F6R2_FB18_Msk (0x1UL << CAN_F6R2_FB18_Pos)
4760#define CAN_F6R2_FB18 CAN_F6R2_FB18_Msk
4761#define CAN_F6R2_FB19_Pos (19U)
4762#define CAN_F6R2_FB19_Msk (0x1UL << CAN_F6R2_FB19_Pos)
4763#define CAN_F6R2_FB19 CAN_F6R2_FB19_Msk
4764#define CAN_F6R2_FB20_Pos (20U)
4765#define CAN_F6R2_FB20_Msk (0x1UL << CAN_F6R2_FB20_Pos)
4766#define CAN_F6R2_FB20 CAN_F6R2_FB20_Msk
4767#define CAN_F6R2_FB21_Pos (21U)
4768#define CAN_F6R2_FB21_Msk (0x1UL << CAN_F6R2_FB21_Pos)
4769#define CAN_F6R2_FB21 CAN_F6R2_FB21_Msk
4770#define CAN_F6R2_FB22_Pos (22U)
4771#define CAN_F6R2_FB22_Msk (0x1UL << CAN_F6R2_FB22_Pos)
4772#define CAN_F6R2_FB22 CAN_F6R2_FB22_Msk
4773#define CAN_F6R2_FB23_Pos (23U)
4774#define CAN_F6R2_FB23_Msk (0x1UL << CAN_F6R2_FB23_Pos)
4775#define CAN_F6R2_FB23 CAN_F6R2_FB23_Msk
4776#define CAN_F6R2_FB24_Pos (24U)
4777#define CAN_F6R2_FB24_Msk (0x1UL << CAN_F6R2_FB24_Pos)
4778#define CAN_F6R2_FB24 CAN_F6R2_FB24_Msk
4779#define CAN_F6R2_FB25_Pos (25U)
4780#define CAN_F6R2_FB25_Msk (0x1UL << CAN_F6R2_FB25_Pos)
4781#define CAN_F6R2_FB25 CAN_F6R2_FB25_Msk
4782#define CAN_F6R2_FB26_Pos (26U)
4783#define CAN_F6R2_FB26_Msk (0x1UL << CAN_F6R2_FB26_Pos)
4784#define CAN_F6R2_FB26 CAN_F6R2_FB26_Msk
4785#define CAN_F6R2_FB27_Pos (27U)
4786#define CAN_F6R2_FB27_Msk (0x1UL << CAN_F6R2_FB27_Pos)
4787#define CAN_F6R2_FB27 CAN_F6R2_FB27_Msk
4788#define CAN_F6R2_FB28_Pos (28U)
4789#define CAN_F6R2_FB28_Msk (0x1UL << CAN_F6R2_FB28_Pos)
4790#define CAN_F6R2_FB28 CAN_F6R2_FB28_Msk
4791#define CAN_F6R2_FB29_Pos (29U)
4792#define CAN_F6R2_FB29_Msk (0x1UL << CAN_F6R2_FB29_Pos)
4793#define CAN_F6R2_FB29 CAN_F6R2_FB29_Msk
4794#define CAN_F6R2_FB30_Pos (30U)
4795#define CAN_F6R2_FB30_Msk (0x1UL << CAN_F6R2_FB30_Pos)
4796#define CAN_F6R2_FB30 CAN_F6R2_FB30_Msk
4797#define CAN_F6R2_FB31_Pos (31U)
4798#define CAN_F6R2_FB31_Msk (0x1UL << CAN_F6R2_FB31_Pos)
4799#define CAN_F6R2_FB31 CAN_F6R2_FB31_Msk
4801/******************* Bit definition for CAN_F7R2 register *******************/
4802#define CAN_F7R2_FB0_Pos (0U)
4803#define CAN_F7R2_FB0_Msk (0x1UL << CAN_F7R2_FB0_Pos)
4804#define CAN_F7R2_FB0 CAN_F7R2_FB0_Msk
4805#define CAN_F7R2_FB1_Pos (1U)
4806#define CAN_F7R2_FB1_Msk (0x1UL << CAN_F7R2_FB1_Pos)
4807#define CAN_F7R2_FB1 CAN_F7R2_FB1_Msk
4808#define CAN_F7R2_FB2_Pos (2U)
4809#define CAN_F7R2_FB2_Msk (0x1UL << CAN_F7R2_FB2_Pos)
4810#define CAN_F7R2_FB2 CAN_F7R2_FB2_Msk
4811#define CAN_F7R2_FB3_Pos (3U)
4812#define CAN_F7R2_FB3_Msk (0x1UL << CAN_F7R2_FB3_Pos)
4813#define CAN_F7R2_FB3 CAN_F7R2_FB3_Msk
4814#define CAN_F7R2_FB4_Pos (4U)
4815#define CAN_F7R2_FB4_Msk (0x1UL << CAN_F7R2_FB4_Pos)
4816#define CAN_F7R2_FB4 CAN_F7R2_FB4_Msk
4817#define CAN_F7R2_FB5_Pos (5U)
4818#define CAN_F7R2_FB5_Msk (0x1UL << CAN_F7R2_FB5_Pos)
4819#define CAN_F7R2_FB5 CAN_F7R2_FB5_Msk
4820#define CAN_F7R2_FB6_Pos (6U)
4821#define CAN_F7R2_FB6_Msk (0x1UL << CAN_F7R2_FB6_Pos)
4822#define CAN_F7R2_FB6 CAN_F7R2_FB6_Msk
4823#define CAN_F7R2_FB7_Pos (7U)
4824#define CAN_F7R2_FB7_Msk (0x1UL << CAN_F7R2_FB7_Pos)
4825#define CAN_F7R2_FB7 CAN_F7R2_FB7_Msk
4826#define CAN_F7R2_FB8_Pos (8U)
4827#define CAN_F7R2_FB8_Msk (0x1UL << CAN_F7R2_FB8_Pos)
4828#define CAN_F7R2_FB8 CAN_F7R2_FB8_Msk
4829#define CAN_F7R2_FB9_Pos (9U)
4830#define CAN_F7R2_FB9_Msk (0x1UL << CAN_F7R2_FB9_Pos)
4831#define CAN_F7R2_FB9 CAN_F7R2_FB9_Msk
4832#define CAN_F7R2_FB10_Pos (10U)
4833#define CAN_F7R2_FB10_Msk (0x1UL << CAN_F7R2_FB10_Pos)
4834#define CAN_F7R2_FB10 CAN_F7R2_FB10_Msk
4835#define CAN_F7R2_FB11_Pos (11U)
4836#define CAN_F7R2_FB11_Msk (0x1UL << CAN_F7R2_FB11_Pos)
4837#define CAN_F7R2_FB11 CAN_F7R2_FB11_Msk
4838#define CAN_F7R2_FB12_Pos (12U)
4839#define CAN_F7R2_FB12_Msk (0x1UL << CAN_F7R2_FB12_Pos)
4840#define CAN_F7R2_FB12 CAN_F7R2_FB12_Msk
4841#define CAN_F7R2_FB13_Pos (13U)
4842#define CAN_F7R2_FB13_Msk (0x1UL << CAN_F7R2_FB13_Pos)
4843#define CAN_F7R2_FB13 CAN_F7R2_FB13_Msk
4844#define CAN_F7R2_FB14_Pos (14U)
4845#define CAN_F7R2_FB14_Msk (0x1UL << CAN_F7R2_FB14_Pos)
4846#define CAN_F7R2_FB14 CAN_F7R2_FB14_Msk
4847#define CAN_F7R2_FB15_Pos (15U)
4848#define CAN_F7R2_FB15_Msk (0x1UL << CAN_F7R2_FB15_Pos)
4849#define CAN_F7R2_FB15 CAN_F7R2_FB15_Msk
4850#define CAN_F7R2_FB16_Pos (16U)
4851#define CAN_F7R2_FB16_Msk (0x1UL << CAN_F7R2_FB16_Pos)
4852#define CAN_F7R2_FB16 CAN_F7R2_FB16_Msk
4853#define CAN_F7R2_FB17_Pos (17U)
4854#define CAN_F7R2_FB17_Msk (0x1UL << CAN_F7R2_FB17_Pos)
4855#define CAN_F7R2_FB17 CAN_F7R2_FB17_Msk
4856#define CAN_F7R2_FB18_Pos (18U)
4857#define CAN_F7R2_FB18_Msk (0x1UL << CAN_F7R2_FB18_Pos)
4858#define CAN_F7R2_FB18 CAN_F7R2_FB18_Msk
4859#define CAN_F7R2_FB19_Pos (19U)
4860#define CAN_F7R2_FB19_Msk (0x1UL << CAN_F7R2_FB19_Pos)
4861#define CAN_F7R2_FB19 CAN_F7R2_FB19_Msk
4862#define CAN_F7R2_FB20_Pos (20U)
4863#define CAN_F7R2_FB20_Msk (0x1UL << CAN_F7R2_FB20_Pos)
4864#define CAN_F7R2_FB20 CAN_F7R2_FB20_Msk
4865#define CAN_F7R2_FB21_Pos (21U)
4866#define CAN_F7R2_FB21_Msk (0x1UL << CAN_F7R2_FB21_Pos)
4867#define CAN_F7R2_FB21 CAN_F7R2_FB21_Msk
4868#define CAN_F7R2_FB22_Pos (22U)
4869#define CAN_F7R2_FB22_Msk (0x1UL << CAN_F7R2_FB22_Pos)
4870#define CAN_F7R2_FB22 CAN_F7R2_FB22_Msk
4871#define CAN_F7R2_FB23_Pos (23U)
4872#define CAN_F7R2_FB23_Msk (0x1UL << CAN_F7R2_FB23_Pos)
4873#define CAN_F7R2_FB23 CAN_F7R2_FB23_Msk
4874#define CAN_F7R2_FB24_Pos (24U)
4875#define CAN_F7R2_FB24_Msk (0x1UL << CAN_F7R2_FB24_Pos)
4876#define CAN_F7R2_FB24 CAN_F7R2_FB24_Msk
4877#define CAN_F7R2_FB25_Pos (25U)
4878#define CAN_F7R2_FB25_Msk (0x1UL << CAN_F7R2_FB25_Pos)
4879#define CAN_F7R2_FB25 CAN_F7R2_FB25_Msk
4880#define CAN_F7R2_FB26_Pos (26U)
4881#define CAN_F7R2_FB26_Msk (0x1UL << CAN_F7R2_FB26_Pos)
4882#define CAN_F7R2_FB26 CAN_F7R2_FB26_Msk
4883#define CAN_F7R2_FB27_Pos (27U)
4884#define CAN_F7R2_FB27_Msk (0x1UL << CAN_F7R2_FB27_Pos)
4885#define CAN_F7R2_FB27 CAN_F7R2_FB27_Msk
4886#define CAN_F7R2_FB28_Pos (28U)
4887#define CAN_F7R2_FB28_Msk (0x1UL << CAN_F7R2_FB28_Pos)
4888#define CAN_F7R2_FB28 CAN_F7R2_FB28_Msk
4889#define CAN_F7R2_FB29_Pos (29U)
4890#define CAN_F7R2_FB29_Msk (0x1UL << CAN_F7R2_FB29_Pos)
4891#define CAN_F7R2_FB29 CAN_F7R2_FB29_Msk
4892#define CAN_F7R2_FB30_Pos (30U)
4893#define CAN_F7R2_FB30_Msk (0x1UL << CAN_F7R2_FB30_Pos)
4894#define CAN_F7R2_FB30 CAN_F7R2_FB30_Msk
4895#define CAN_F7R2_FB31_Pos (31U)
4896#define CAN_F7R2_FB31_Msk (0x1UL << CAN_F7R2_FB31_Pos)
4897#define CAN_F7R2_FB31 CAN_F7R2_FB31_Msk
4899/******************* Bit definition for CAN_F8R2 register *******************/
4900#define CAN_F8R2_FB0_Pos (0U)
4901#define CAN_F8R2_FB0_Msk (0x1UL << CAN_F8R2_FB0_Pos)
4902#define CAN_F8R2_FB0 CAN_F8R2_FB0_Msk
4903#define CAN_F8R2_FB1_Pos (1U)
4904#define CAN_F8R2_FB1_Msk (0x1UL << CAN_F8R2_FB1_Pos)
4905#define CAN_F8R2_FB1 CAN_F8R2_FB1_Msk
4906#define CAN_F8R2_FB2_Pos (2U)
4907#define CAN_F8R2_FB2_Msk (0x1UL << CAN_F8R2_FB2_Pos)
4908#define CAN_F8R2_FB2 CAN_F8R2_FB2_Msk
4909#define CAN_F8R2_FB3_Pos (3U)
4910#define CAN_F8R2_FB3_Msk (0x1UL << CAN_F8R2_FB3_Pos)
4911#define CAN_F8R2_FB3 CAN_F8R2_FB3_Msk
4912#define CAN_F8R2_FB4_Pos (4U)
4913#define CAN_F8R2_FB4_Msk (0x1UL << CAN_F8R2_FB4_Pos)
4914#define CAN_F8R2_FB4 CAN_F8R2_FB4_Msk
4915#define CAN_F8R2_FB5_Pos (5U)
4916#define CAN_F8R2_FB5_Msk (0x1UL << CAN_F8R2_FB5_Pos)
4917#define CAN_F8R2_FB5 CAN_F8R2_FB5_Msk
4918#define CAN_F8R2_FB6_Pos (6U)
4919#define CAN_F8R2_FB6_Msk (0x1UL << CAN_F8R2_FB6_Pos)
4920#define CAN_F8R2_FB6 CAN_F8R2_FB6_Msk
4921#define CAN_F8R2_FB7_Pos (7U)
4922#define CAN_F8R2_FB7_Msk (0x1UL << CAN_F8R2_FB7_Pos)
4923#define CAN_F8R2_FB7 CAN_F8R2_FB7_Msk
4924#define CAN_F8R2_FB8_Pos (8U)
4925#define CAN_F8R2_FB8_Msk (0x1UL << CAN_F8R2_FB8_Pos)
4926#define CAN_F8R2_FB8 CAN_F8R2_FB8_Msk
4927#define CAN_F8R2_FB9_Pos (9U)
4928#define CAN_F8R2_FB9_Msk (0x1UL << CAN_F8R2_FB9_Pos)
4929#define CAN_F8R2_FB9 CAN_F8R2_FB9_Msk
4930#define CAN_F8R2_FB10_Pos (10U)
4931#define CAN_F8R2_FB10_Msk (0x1UL << CAN_F8R2_FB10_Pos)
4932#define CAN_F8R2_FB10 CAN_F8R2_FB10_Msk
4933#define CAN_F8R2_FB11_Pos (11U)
4934#define CAN_F8R2_FB11_Msk (0x1UL << CAN_F8R2_FB11_Pos)
4935#define CAN_F8R2_FB11 CAN_F8R2_FB11_Msk
4936#define CAN_F8R2_FB12_Pos (12U)
4937#define CAN_F8R2_FB12_Msk (0x1UL << CAN_F8R2_FB12_Pos)
4938#define CAN_F8R2_FB12 CAN_F8R2_FB12_Msk
4939#define CAN_F8R2_FB13_Pos (13U)
4940#define CAN_F8R2_FB13_Msk (0x1UL << CAN_F8R2_FB13_Pos)
4941#define CAN_F8R2_FB13 CAN_F8R2_FB13_Msk
4942#define CAN_F8R2_FB14_Pos (14U)
4943#define CAN_F8R2_FB14_Msk (0x1UL << CAN_F8R2_FB14_Pos)
4944#define CAN_F8R2_FB14 CAN_F8R2_FB14_Msk
4945#define CAN_F8R2_FB15_Pos (15U)
4946#define CAN_F8R2_FB15_Msk (0x1UL << CAN_F8R2_FB15_Pos)
4947#define CAN_F8R2_FB15 CAN_F8R2_FB15_Msk
4948#define CAN_F8R2_FB16_Pos (16U)
4949#define CAN_F8R2_FB16_Msk (0x1UL << CAN_F8R2_FB16_Pos)
4950#define CAN_F8R2_FB16 CAN_F8R2_FB16_Msk
4951#define CAN_F8R2_FB17_Pos (17U)
4952#define CAN_F8R2_FB17_Msk (0x1UL << CAN_F8R2_FB17_Pos)
4953#define CAN_F8R2_FB17 CAN_F8R2_FB17_Msk
4954#define CAN_F8R2_FB18_Pos (18U)
4955#define CAN_F8R2_FB18_Msk (0x1UL << CAN_F8R2_FB18_Pos)
4956#define CAN_F8R2_FB18 CAN_F8R2_FB18_Msk
4957#define CAN_F8R2_FB19_Pos (19U)
4958#define CAN_F8R2_FB19_Msk (0x1UL << CAN_F8R2_FB19_Pos)
4959#define CAN_F8R2_FB19 CAN_F8R2_FB19_Msk
4960#define CAN_F8R2_FB20_Pos (20U)
4961#define CAN_F8R2_FB20_Msk (0x1UL << CAN_F8R2_FB20_Pos)
4962#define CAN_F8R2_FB20 CAN_F8R2_FB20_Msk
4963#define CAN_F8R2_FB21_Pos (21U)
4964#define CAN_F8R2_FB21_Msk (0x1UL << CAN_F8R2_FB21_Pos)
4965#define CAN_F8R2_FB21 CAN_F8R2_FB21_Msk
4966#define CAN_F8R2_FB22_Pos (22U)
4967#define CAN_F8R2_FB22_Msk (0x1UL << CAN_F8R2_FB22_Pos)
4968#define CAN_F8R2_FB22 CAN_F8R2_FB22_Msk
4969#define CAN_F8R2_FB23_Pos (23U)
4970#define CAN_F8R2_FB23_Msk (0x1UL << CAN_F8R2_FB23_Pos)
4971#define CAN_F8R2_FB23 CAN_F8R2_FB23_Msk
4972#define CAN_F8R2_FB24_Pos (24U)
4973#define CAN_F8R2_FB24_Msk (0x1UL << CAN_F8R2_FB24_Pos)
4974#define CAN_F8R2_FB24 CAN_F8R2_FB24_Msk
4975#define CAN_F8R2_FB25_Pos (25U)
4976#define CAN_F8R2_FB25_Msk (0x1UL << CAN_F8R2_FB25_Pos)
4977#define CAN_F8R2_FB25 CAN_F8R2_FB25_Msk
4978#define CAN_F8R2_FB26_Pos (26U)
4979#define CAN_F8R2_FB26_Msk (0x1UL << CAN_F8R2_FB26_Pos)
4980#define CAN_F8R2_FB26 CAN_F8R2_FB26_Msk
4981#define CAN_F8R2_FB27_Pos (27U)
4982#define CAN_F8R2_FB27_Msk (0x1UL << CAN_F8R2_FB27_Pos)
4983#define CAN_F8R2_FB27 CAN_F8R2_FB27_Msk
4984#define CAN_F8R2_FB28_Pos (28U)
4985#define CAN_F8R2_FB28_Msk (0x1UL << CAN_F8R2_FB28_Pos)
4986#define CAN_F8R2_FB28 CAN_F8R2_FB28_Msk
4987#define CAN_F8R2_FB29_Pos (29U)
4988#define CAN_F8R2_FB29_Msk (0x1UL << CAN_F8R2_FB29_Pos)
4989#define CAN_F8R2_FB29 CAN_F8R2_FB29_Msk
4990#define CAN_F8R2_FB30_Pos (30U)
4991#define CAN_F8R2_FB30_Msk (0x1UL << CAN_F8R2_FB30_Pos)
4992#define CAN_F8R2_FB30 CAN_F8R2_FB30_Msk
4993#define CAN_F8R2_FB31_Pos (31U)
4994#define CAN_F8R2_FB31_Msk (0x1UL << CAN_F8R2_FB31_Pos)
4995#define CAN_F8R2_FB31 CAN_F8R2_FB31_Msk
4997/******************* Bit definition for CAN_F9R2 register *******************/
4998#define CAN_F9R2_FB0_Pos (0U)
4999#define CAN_F9R2_FB0_Msk (0x1UL << CAN_F9R2_FB0_Pos)
5000#define CAN_F9R2_FB0 CAN_F9R2_FB0_Msk
5001#define CAN_F9R2_FB1_Pos (1U)
5002#define CAN_F9R2_FB1_Msk (0x1UL << CAN_F9R2_FB1_Pos)
5003#define CAN_F9R2_FB1 CAN_F9R2_FB1_Msk
5004#define CAN_F9R2_FB2_Pos (2U)
5005#define CAN_F9R2_FB2_Msk (0x1UL << CAN_F9R2_FB2_Pos)
5006#define CAN_F9R2_FB2 CAN_F9R2_FB2_Msk
5007#define CAN_F9R2_FB3_Pos (3U)
5008#define CAN_F9R2_FB3_Msk (0x1UL << CAN_F9R2_FB3_Pos)
5009#define CAN_F9R2_FB3 CAN_F9R2_FB3_Msk
5010#define CAN_F9R2_FB4_Pos (4U)
5011#define CAN_F9R2_FB4_Msk (0x1UL << CAN_F9R2_FB4_Pos)
5012#define CAN_F9R2_FB4 CAN_F9R2_FB4_Msk
5013#define CAN_F9R2_FB5_Pos (5U)
5014#define CAN_F9R2_FB5_Msk (0x1UL << CAN_F9R2_FB5_Pos)
5015#define CAN_F9R2_FB5 CAN_F9R2_FB5_Msk
5016#define CAN_F9R2_FB6_Pos (6U)
5017#define CAN_F9R2_FB6_Msk (0x1UL << CAN_F9R2_FB6_Pos)
5018#define CAN_F9R2_FB6 CAN_F9R2_FB6_Msk
5019#define CAN_F9R2_FB7_Pos (7U)
5020#define CAN_F9R2_FB7_Msk (0x1UL << CAN_F9R2_FB7_Pos)
5021#define CAN_F9R2_FB7 CAN_F9R2_FB7_Msk
5022#define CAN_F9R2_FB8_Pos (8U)
5023#define CAN_F9R2_FB8_Msk (0x1UL << CAN_F9R2_FB8_Pos)
5024#define CAN_F9R2_FB8 CAN_F9R2_FB8_Msk
5025#define CAN_F9R2_FB9_Pos (9U)
5026#define CAN_F9R2_FB9_Msk (0x1UL << CAN_F9R2_FB9_Pos)
5027#define CAN_F9R2_FB9 CAN_F9R2_FB9_Msk
5028#define CAN_F9R2_FB10_Pos (10U)
5029#define CAN_F9R2_FB10_Msk (0x1UL << CAN_F9R2_FB10_Pos)
5030#define CAN_F9R2_FB10 CAN_F9R2_FB10_Msk
5031#define CAN_F9R2_FB11_Pos (11U)
5032#define CAN_F9R2_FB11_Msk (0x1UL << CAN_F9R2_FB11_Pos)
5033#define CAN_F9R2_FB11 CAN_F9R2_FB11_Msk
5034#define CAN_F9R2_FB12_Pos (12U)
5035#define CAN_F9R2_FB12_Msk (0x1UL << CAN_F9R2_FB12_Pos)
5036#define CAN_F9R2_FB12 CAN_F9R2_FB12_Msk
5037#define CAN_F9R2_FB13_Pos (13U)
5038#define CAN_F9R2_FB13_Msk (0x1UL << CAN_F9R2_FB13_Pos)
5039#define CAN_F9R2_FB13 CAN_F9R2_FB13_Msk
5040#define CAN_F9R2_FB14_Pos (14U)
5041#define CAN_F9R2_FB14_Msk (0x1UL << CAN_F9R2_FB14_Pos)
5042#define CAN_F9R2_FB14 CAN_F9R2_FB14_Msk
5043#define CAN_F9R2_FB15_Pos (15U)
5044#define CAN_F9R2_FB15_Msk (0x1UL << CAN_F9R2_FB15_Pos)
5045#define CAN_F9R2_FB15 CAN_F9R2_FB15_Msk
5046#define CAN_F9R2_FB16_Pos (16U)
5047#define CAN_F9R2_FB16_Msk (0x1UL << CAN_F9R2_FB16_Pos)
5048#define CAN_F9R2_FB16 CAN_F9R2_FB16_Msk
5049#define CAN_F9R2_FB17_Pos (17U)
5050#define CAN_F9R2_FB17_Msk (0x1UL << CAN_F9R2_FB17_Pos)
5051#define CAN_F9R2_FB17 CAN_F9R2_FB17_Msk
5052#define CAN_F9R2_FB18_Pos (18U)
5053#define CAN_F9R2_FB18_Msk (0x1UL << CAN_F9R2_FB18_Pos)
5054#define CAN_F9R2_FB18 CAN_F9R2_FB18_Msk
5055#define CAN_F9R2_FB19_Pos (19U)
5056#define CAN_F9R2_FB19_Msk (0x1UL << CAN_F9R2_FB19_Pos)
5057#define CAN_F9R2_FB19 CAN_F9R2_FB19_Msk
5058#define CAN_F9R2_FB20_Pos (20U)
5059#define CAN_F9R2_FB20_Msk (0x1UL << CAN_F9R2_FB20_Pos)
5060#define CAN_F9R2_FB20 CAN_F9R2_FB20_Msk
5061#define CAN_F9R2_FB21_Pos (21U)
5062#define CAN_F9R2_FB21_Msk (0x1UL << CAN_F9R2_FB21_Pos)
5063#define CAN_F9R2_FB21 CAN_F9R2_FB21_Msk
5064#define CAN_F9R2_FB22_Pos (22U)
5065#define CAN_F9R2_FB22_Msk (0x1UL << CAN_F9R2_FB22_Pos)
5066#define CAN_F9R2_FB22 CAN_F9R2_FB22_Msk
5067#define CAN_F9R2_FB23_Pos (23U)
5068#define CAN_F9R2_FB23_Msk (0x1UL << CAN_F9R2_FB23_Pos)
5069#define CAN_F9R2_FB23 CAN_F9R2_FB23_Msk
5070#define CAN_F9R2_FB24_Pos (24U)
5071#define CAN_F9R2_FB24_Msk (0x1UL << CAN_F9R2_FB24_Pos)
5072#define CAN_F9R2_FB24 CAN_F9R2_FB24_Msk
5073#define CAN_F9R2_FB25_Pos (25U)
5074#define CAN_F9R2_FB25_Msk (0x1UL << CAN_F9R2_FB25_Pos)
5075#define CAN_F9R2_FB25 CAN_F9R2_FB25_Msk
5076#define CAN_F9R2_FB26_Pos (26U)
5077#define CAN_F9R2_FB26_Msk (0x1UL << CAN_F9R2_FB26_Pos)
5078#define CAN_F9R2_FB26 CAN_F9R2_FB26_Msk
5079#define CAN_F9R2_FB27_Pos (27U)
5080#define CAN_F9R2_FB27_Msk (0x1UL << CAN_F9R2_FB27_Pos)
5081#define CAN_F9R2_FB27 CAN_F9R2_FB27_Msk
5082#define CAN_F9R2_FB28_Pos (28U)
5083#define CAN_F9R2_FB28_Msk (0x1UL << CAN_F9R2_FB28_Pos)
5084#define CAN_F9R2_FB28 CAN_F9R2_FB28_Msk
5085#define CAN_F9R2_FB29_Pos (29U)
5086#define CAN_F9R2_FB29_Msk (0x1UL << CAN_F9R2_FB29_Pos)
5087#define CAN_F9R2_FB29 CAN_F9R2_FB29_Msk
5088#define CAN_F9R2_FB30_Pos (30U)
5089#define CAN_F9R2_FB30_Msk (0x1UL << CAN_F9R2_FB30_Pos)
5090#define CAN_F9R2_FB30 CAN_F9R2_FB30_Msk
5091#define CAN_F9R2_FB31_Pos (31U)
5092#define CAN_F9R2_FB31_Msk (0x1UL << CAN_F9R2_FB31_Pos)
5093#define CAN_F9R2_FB31 CAN_F9R2_FB31_Msk
5095/******************* Bit definition for CAN_F10R2 register ******************/
5096#define CAN_F10R2_FB0_Pos (0U)
5097#define CAN_F10R2_FB0_Msk (0x1UL << CAN_F10R2_FB0_Pos)
5098#define CAN_F10R2_FB0 CAN_F10R2_FB0_Msk
5099#define CAN_F10R2_FB1_Pos (1U)
5100#define CAN_F10R2_FB1_Msk (0x1UL << CAN_F10R2_FB1_Pos)
5101#define CAN_F10R2_FB1 CAN_F10R2_FB1_Msk
5102#define CAN_F10R2_FB2_Pos (2U)
5103#define CAN_F10R2_FB2_Msk (0x1UL << CAN_F10R2_FB2_Pos)
5104#define CAN_F10R2_FB2 CAN_F10R2_FB2_Msk
5105#define CAN_F10R2_FB3_Pos (3U)
5106#define CAN_F10R2_FB3_Msk (0x1UL << CAN_F10R2_FB3_Pos)
5107#define CAN_F10R2_FB3 CAN_F10R2_FB3_Msk
5108#define CAN_F10R2_FB4_Pos (4U)
5109#define CAN_F10R2_FB4_Msk (0x1UL << CAN_F10R2_FB4_Pos)
5110#define CAN_F10R2_FB4 CAN_F10R2_FB4_Msk
5111#define CAN_F10R2_FB5_Pos (5U)
5112#define CAN_F10R2_FB5_Msk (0x1UL << CAN_F10R2_FB5_Pos)
5113#define CAN_F10R2_FB5 CAN_F10R2_FB5_Msk
5114#define CAN_F10R2_FB6_Pos (6U)
5115#define CAN_F10R2_FB6_Msk (0x1UL << CAN_F10R2_FB6_Pos)
5116#define CAN_F10R2_FB6 CAN_F10R2_FB6_Msk
5117#define CAN_F10R2_FB7_Pos (7U)
5118#define CAN_F10R2_FB7_Msk (0x1UL << CAN_F10R2_FB7_Pos)
5119#define CAN_F10R2_FB7 CAN_F10R2_FB7_Msk
5120#define CAN_F10R2_FB8_Pos (8U)
5121#define CAN_F10R2_FB8_Msk (0x1UL << CAN_F10R2_FB8_Pos)
5122#define CAN_F10R2_FB8 CAN_F10R2_FB8_Msk
5123#define CAN_F10R2_FB9_Pos (9U)
5124#define CAN_F10R2_FB9_Msk (0x1UL << CAN_F10R2_FB9_Pos)
5125#define CAN_F10R2_FB9 CAN_F10R2_FB9_Msk
5126#define CAN_F10R2_FB10_Pos (10U)
5127#define CAN_F10R2_FB10_Msk (0x1UL << CAN_F10R2_FB10_Pos)
5128#define CAN_F10R2_FB10 CAN_F10R2_FB10_Msk
5129#define CAN_F10R2_FB11_Pos (11U)
5130#define CAN_F10R2_FB11_Msk (0x1UL << CAN_F10R2_FB11_Pos)
5131#define CAN_F10R2_FB11 CAN_F10R2_FB11_Msk
5132#define CAN_F10R2_FB12_Pos (12U)
5133#define CAN_F10R2_FB12_Msk (0x1UL << CAN_F10R2_FB12_Pos)
5134#define CAN_F10R2_FB12 CAN_F10R2_FB12_Msk
5135#define CAN_F10R2_FB13_Pos (13U)
5136#define CAN_F10R2_FB13_Msk (0x1UL << CAN_F10R2_FB13_Pos)
5137#define CAN_F10R2_FB13 CAN_F10R2_FB13_Msk
5138#define CAN_F10R2_FB14_Pos (14U)
5139#define CAN_F10R2_FB14_Msk (0x1UL << CAN_F10R2_FB14_Pos)
5140#define CAN_F10R2_FB14 CAN_F10R2_FB14_Msk
5141#define CAN_F10R2_FB15_Pos (15U)
5142#define CAN_F10R2_FB15_Msk (0x1UL << CAN_F10R2_FB15_Pos)
5143#define CAN_F10R2_FB15 CAN_F10R2_FB15_Msk
5144#define CAN_F10R2_FB16_Pos (16U)
5145#define CAN_F10R2_FB16_Msk (0x1UL << CAN_F10R2_FB16_Pos)
5146#define CAN_F10R2_FB16 CAN_F10R2_FB16_Msk
5147#define CAN_F10R2_FB17_Pos (17U)
5148#define CAN_F10R2_FB17_Msk (0x1UL << CAN_F10R2_FB17_Pos)
5149#define CAN_F10R2_FB17 CAN_F10R2_FB17_Msk
5150#define CAN_F10R2_FB18_Pos (18U)
5151#define CAN_F10R2_FB18_Msk (0x1UL << CAN_F10R2_FB18_Pos)
5152#define CAN_F10R2_FB18 CAN_F10R2_FB18_Msk
5153#define CAN_F10R2_FB19_Pos (19U)
5154#define CAN_F10R2_FB19_Msk (0x1UL << CAN_F10R2_FB19_Pos)
5155#define CAN_F10R2_FB19 CAN_F10R2_FB19_Msk
5156#define CAN_F10R2_FB20_Pos (20U)
5157#define CAN_F10R2_FB20_Msk (0x1UL << CAN_F10R2_FB20_Pos)
5158#define CAN_F10R2_FB20 CAN_F10R2_FB20_Msk
5159#define CAN_F10R2_FB21_Pos (21U)
5160#define CAN_F10R2_FB21_Msk (0x1UL << CAN_F10R2_FB21_Pos)
5161#define CAN_F10R2_FB21 CAN_F10R2_FB21_Msk
5162#define CAN_F10R2_FB22_Pos (22U)
5163#define CAN_F10R2_FB22_Msk (0x1UL << CAN_F10R2_FB22_Pos)
5164#define CAN_F10R2_FB22 CAN_F10R2_FB22_Msk
5165#define CAN_F10R2_FB23_Pos (23U)
5166#define CAN_F10R2_FB23_Msk (0x1UL << CAN_F10R2_FB23_Pos)
5167#define CAN_F10R2_FB23 CAN_F10R2_FB23_Msk
5168#define CAN_F10R2_FB24_Pos (24U)
5169#define CAN_F10R2_FB24_Msk (0x1UL << CAN_F10R2_FB24_Pos)
5170#define CAN_F10R2_FB24 CAN_F10R2_FB24_Msk
5171#define CAN_F10R2_FB25_Pos (25U)
5172#define CAN_F10R2_FB25_Msk (0x1UL << CAN_F10R2_FB25_Pos)
5173#define CAN_F10R2_FB25 CAN_F10R2_FB25_Msk
5174#define CAN_F10R2_FB26_Pos (26U)
5175#define CAN_F10R2_FB26_Msk (0x1UL << CAN_F10R2_FB26_Pos)
5176#define CAN_F10R2_FB26 CAN_F10R2_FB26_Msk
5177#define CAN_F10R2_FB27_Pos (27U)
5178#define CAN_F10R2_FB27_Msk (0x1UL << CAN_F10R2_FB27_Pos)
5179#define CAN_F10R2_FB27 CAN_F10R2_FB27_Msk
5180#define CAN_F10R2_FB28_Pos (28U)
5181#define CAN_F10R2_FB28_Msk (0x1UL << CAN_F10R2_FB28_Pos)
5182#define CAN_F10R2_FB28 CAN_F10R2_FB28_Msk
5183#define CAN_F10R2_FB29_Pos (29U)
5184#define CAN_F10R2_FB29_Msk (0x1UL << CAN_F10R2_FB29_Pos)
5185#define CAN_F10R2_FB29 CAN_F10R2_FB29_Msk
5186#define CAN_F10R2_FB30_Pos (30U)
5187#define CAN_F10R2_FB30_Msk (0x1UL << CAN_F10R2_FB30_Pos)
5188#define CAN_F10R2_FB30 CAN_F10R2_FB30_Msk
5189#define CAN_F10R2_FB31_Pos (31U)
5190#define CAN_F10R2_FB31_Msk (0x1UL << CAN_F10R2_FB31_Pos)
5191#define CAN_F10R2_FB31 CAN_F10R2_FB31_Msk
5193/******************* Bit definition for CAN_F11R2 register ******************/
5194#define CAN_F11R2_FB0_Pos (0U)
5195#define CAN_F11R2_FB0_Msk (0x1UL << CAN_F11R2_FB0_Pos)
5196#define CAN_F11R2_FB0 CAN_F11R2_FB0_Msk
5197#define CAN_F11R2_FB1_Pos (1U)
5198#define CAN_F11R2_FB1_Msk (0x1UL << CAN_F11R2_FB1_Pos)
5199#define CAN_F11R2_FB1 CAN_F11R2_FB1_Msk
5200#define CAN_F11R2_FB2_Pos (2U)
5201#define CAN_F11R2_FB2_Msk (0x1UL << CAN_F11R2_FB2_Pos)
5202#define CAN_F11R2_FB2 CAN_F11R2_FB2_Msk
5203#define CAN_F11R2_FB3_Pos (3U)
5204#define CAN_F11R2_FB3_Msk (0x1UL << CAN_F11R2_FB3_Pos)
5205#define CAN_F11R2_FB3 CAN_F11R2_FB3_Msk
5206#define CAN_F11R2_FB4_Pos (4U)
5207#define CAN_F11R2_FB4_Msk (0x1UL << CAN_F11R2_FB4_Pos)
5208#define CAN_F11R2_FB4 CAN_F11R2_FB4_Msk
5209#define CAN_F11R2_FB5_Pos (5U)
5210#define CAN_F11R2_FB5_Msk (0x1UL << CAN_F11R2_FB5_Pos)
5211#define CAN_F11R2_FB5 CAN_F11R2_FB5_Msk
5212#define CAN_F11R2_FB6_Pos (6U)
5213#define CAN_F11R2_FB6_Msk (0x1UL << CAN_F11R2_FB6_Pos)
5214#define CAN_F11R2_FB6 CAN_F11R2_FB6_Msk
5215#define CAN_F11R2_FB7_Pos (7U)
5216#define CAN_F11R2_FB7_Msk (0x1UL << CAN_F11R2_FB7_Pos)
5217#define CAN_F11R2_FB7 CAN_F11R2_FB7_Msk
5218#define CAN_F11R2_FB8_Pos (8U)
5219#define CAN_F11R2_FB8_Msk (0x1UL << CAN_F11R2_FB8_Pos)
5220#define CAN_F11R2_FB8 CAN_F11R2_FB8_Msk
5221#define CAN_F11R2_FB9_Pos (9U)
5222#define CAN_F11R2_FB9_Msk (0x1UL << CAN_F11R2_FB9_Pos)
5223#define CAN_F11R2_FB9 CAN_F11R2_FB9_Msk
5224#define CAN_F11R2_FB10_Pos (10U)
5225#define CAN_F11R2_FB10_Msk (0x1UL << CAN_F11R2_FB10_Pos)
5226#define CAN_F11R2_FB10 CAN_F11R2_FB10_Msk
5227#define CAN_F11R2_FB11_Pos (11U)
5228#define CAN_F11R2_FB11_Msk (0x1UL << CAN_F11R2_FB11_Pos)
5229#define CAN_F11R2_FB11 CAN_F11R2_FB11_Msk
5230#define CAN_F11R2_FB12_Pos (12U)
5231#define CAN_F11R2_FB12_Msk (0x1UL << CAN_F11R2_FB12_Pos)
5232#define CAN_F11R2_FB12 CAN_F11R2_FB12_Msk
5233#define CAN_F11R2_FB13_Pos (13U)
5234#define CAN_F11R2_FB13_Msk (0x1UL << CAN_F11R2_FB13_Pos)
5235#define CAN_F11R2_FB13 CAN_F11R2_FB13_Msk
5236#define CAN_F11R2_FB14_Pos (14U)
5237#define CAN_F11R2_FB14_Msk (0x1UL << CAN_F11R2_FB14_Pos)
5238#define CAN_F11R2_FB14 CAN_F11R2_FB14_Msk
5239#define CAN_F11R2_FB15_Pos (15U)
5240#define CAN_F11R2_FB15_Msk (0x1UL << CAN_F11R2_FB15_Pos)
5241#define CAN_F11R2_FB15 CAN_F11R2_FB15_Msk
5242#define CAN_F11R2_FB16_Pos (16U)
5243#define CAN_F11R2_FB16_Msk (0x1UL << CAN_F11R2_FB16_Pos)
5244#define CAN_F11R2_FB16 CAN_F11R2_FB16_Msk
5245#define CAN_F11R2_FB17_Pos (17U)
5246#define CAN_F11R2_FB17_Msk (0x1UL << CAN_F11R2_FB17_Pos)
5247#define CAN_F11R2_FB17 CAN_F11R2_FB17_Msk
5248#define CAN_F11R2_FB18_Pos (18U)
5249#define CAN_F11R2_FB18_Msk (0x1UL << CAN_F11R2_FB18_Pos)
5250#define CAN_F11R2_FB18 CAN_F11R2_FB18_Msk
5251#define CAN_F11R2_FB19_Pos (19U)
5252#define CAN_F11R2_FB19_Msk (0x1UL << CAN_F11R2_FB19_Pos)
5253#define CAN_F11R2_FB19 CAN_F11R2_FB19_Msk
5254#define CAN_F11R2_FB20_Pos (20U)
5255#define CAN_F11R2_FB20_Msk (0x1UL << CAN_F11R2_FB20_Pos)
5256#define CAN_F11R2_FB20 CAN_F11R2_FB20_Msk
5257#define CAN_F11R2_FB21_Pos (21U)
5258#define CAN_F11R2_FB21_Msk (0x1UL << CAN_F11R2_FB21_Pos)
5259#define CAN_F11R2_FB21 CAN_F11R2_FB21_Msk
5260#define CAN_F11R2_FB22_Pos (22U)
5261#define CAN_F11R2_FB22_Msk (0x1UL << CAN_F11R2_FB22_Pos)
5262#define CAN_F11R2_FB22 CAN_F11R2_FB22_Msk
5263#define CAN_F11R2_FB23_Pos (23U)
5264#define CAN_F11R2_FB23_Msk (0x1UL << CAN_F11R2_FB23_Pos)
5265#define CAN_F11R2_FB23 CAN_F11R2_FB23_Msk
5266#define CAN_F11R2_FB24_Pos (24U)
5267#define CAN_F11R2_FB24_Msk (0x1UL << CAN_F11R2_FB24_Pos)
5268#define CAN_F11R2_FB24 CAN_F11R2_FB24_Msk
5269#define CAN_F11R2_FB25_Pos (25U)
5270#define CAN_F11R2_FB25_Msk (0x1UL << CAN_F11R2_FB25_Pos)
5271#define CAN_F11R2_FB25 CAN_F11R2_FB25_Msk
5272#define CAN_F11R2_FB26_Pos (26U)
5273#define CAN_F11R2_FB26_Msk (0x1UL << CAN_F11R2_FB26_Pos)
5274#define CAN_F11R2_FB26 CAN_F11R2_FB26_Msk
5275#define CAN_F11R2_FB27_Pos (27U)
5276#define CAN_F11R2_FB27_Msk (0x1UL << CAN_F11R2_FB27_Pos)
5277#define CAN_F11R2_FB27 CAN_F11R2_FB27_Msk
5278#define CAN_F11R2_FB28_Pos (28U)
5279#define CAN_F11R2_FB28_Msk (0x1UL << CAN_F11R2_FB28_Pos)
5280#define CAN_F11R2_FB28 CAN_F11R2_FB28_Msk
5281#define CAN_F11R2_FB29_Pos (29U)
5282#define CAN_F11R2_FB29_Msk (0x1UL << CAN_F11R2_FB29_Pos)
5283#define CAN_F11R2_FB29 CAN_F11R2_FB29_Msk
5284#define CAN_F11R2_FB30_Pos (30U)
5285#define CAN_F11R2_FB30_Msk (0x1UL << CAN_F11R2_FB30_Pos)
5286#define CAN_F11R2_FB30 CAN_F11R2_FB30_Msk
5287#define CAN_F11R2_FB31_Pos (31U)
5288#define CAN_F11R2_FB31_Msk (0x1UL << CAN_F11R2_FB31_Pos)
5289#define CAN_F11R2_FB31 CAN_F11R2_FB31_Msk
5291/******************* Bit definition for CAN_F12R2 register ******************/
5292#define CAN_F12R2_FB0_Pos (0U)
5293#define CAN_F12R2_FB0_Msk (0x1UL << CAN_F12R2_FB0_Pos)
5294#define CAN_F12R2_FB0 CAN_F12R2_FB0_Msk
5295#define CAN_F12R2_FB1_Pos (1U)
5296#define CAN_F12R2_FB1_Msk (0x1UL << CAN_F12R2_FB1_Pos)
5297#define CAN_F12R2_FB1 CAN_F12R2_FB1_Msk
5298#define CAN_F12R2_FB2_Pos (2U)
5299#define CAN_F12R2_FB2_Msk (0x1UL << CAN_F12R2_FB2_Pos)
5300#define CAN_F12R2_FB2 CAN_F12R2_FB2_Msk
5301#define CAN_F12R2_FB3_Pos (3U)
5302#define CAN_F12R2_FB3_Msk (0x1UL << CAN_F12R2_FB3_Pos)
5303#define CAN_F12R2_FB3 CAN_F12R2_FB3_Msk
5304#define CAN_F12R2_FB4_Pos (4U)
5305#define CAN_F12R2_FB4_Msk (0x1UL << CAN_F12R2_FB4_Pos)
5306#define CAN_F12R2_FB4 CAN_F12R2_FB4_Msk
5307#define CAN_F12R2_FB5_Pos (5U)
5308#define CAN_F12R2_FB5_Msk (0x1UL << CAN_F12R2_FB5_Pos)
5309#define CAN_F12R2_FB5 CAN_F12R2_FB5_Msk
5310#define CAN_F12R2_FB6_Pos (6U)
5311#define CAN_F12R2_FB6_Msk (0x1UL << CAN_F12R2_FB6_Pos)
5312#define CAN_F12R2_FB6 CAN_F12R2_FB6_Msk
5313#define CAN_F12R2_FB7_Pos (7U)
5314#define CAN_F12R2_FB7_Msk (0x1UL << CAN_F12R2_FB7_Pos)
5315#define CAN_F12R2_FB7 CAN_F12R2_FB7_Msk
5316#define CAN_F12R2_FB8_Pos (8U)
5317#define CAN_F12R2_FB8_Msk (0x1UL << CAN_F12R2_FB8_Pos)
5318#define CAN_F12R2_FB8 CAN_F12R2_FB8_Msk
5319#define CAN_F12R2_FB9_Pos (9U)
5320#define CAN_F12R2_FB9_Msk (0x1UL << CAN_F12R2_FB9_Pos)
5321#define CAN_F12R2_FB9 CAN_F12R2_FB9_Msk
5322#define CAN_F12R2_FB10_Pos (10U)
5323#define CAN_F12R2_FB10_Msk (0x1UL << CAN_F12R2_FB10_Pos)
5324#define CAN_F12R2_FB10 CAN_F12R2_FB10_Msk
5325#define CAN_F12R2_FB11_Pos (11U)
5326#define CAN_F12R2_FB11_Msk (0x1UL << CAN_F12R2_FB11_Pos)
5327#define CAN_F12R2_FB11 CAN_F12R2_FB11_Msk
5328#define CAN_F12R2_FB12_Pos (12U)
5329#define CAN_F12R2_FB12_Msk (0x1UL << CAN_F12R2_FB12_Pos)
5330#define CAN_F12R2_FB12 CAN_F12R2_FB12_Msk
5331#define CAN_F12R2_FB13_Pos (13U)
5332#define CAN_F12R2_FB13_Msk (0x1UL << CAN_F12R2_FB13_Pos)
5333#define CAN_F12R2_FB13 CAN_F12R2_FB13_Msk
5334#define CAN_F12R2_FB14_Pos (14U)
5335#define CAN_F12R2_FB14_Msk (0x1UL << CAN_F12R2_FB14_Pos)
5336#define CAN_F12R2_FB14 CAN_F12R2_FB14_Msk
5337#define CAN_F12R2_FB15_Pos (15U)
5338#define CAN_F12R2_FB15_Msk (0x1UL << CAN_F12R2_FB15_Pos)
5339#define CAN_F12R2_FB15 CAN_F12R2_FB15_Msk
5340#define CAN_F12R2_FB16_Pos (16U)
5341#define CAN_F12R2_FB16_Msk (0x1UL << CAN_F12R2_FB16_Pos)
5342#define CAN_F12R2_FB16 CAN_F12R2_FB16_Msk
5343#define CAN_F12R2_FB17_Pos (17U)
5344#define CAN_F12R2_FB17_Msk (0x1UL << CAN_F12R2_FB17_Pos)
5345#define CAN_F12R2_FB17 CAN_F12R2_FB17_Msk
5346#define CAN_F12R2_FB18_Pos (18U)
5347#define CAN_F12R2_FB18_Msk (0x1UL << CAN_F12R2_FB18_Pos)
5348#define CAN_F12R2_FB18 CAN_F12R2_FB18_Msk
5349#define CAN_F12R2_FB19_Pos (19U)
5350#define CAN_F12R2_FB19_Msk (0x1UL << CAN_F12R2_FB19_Pos)
5351#define CAN_F12R2_FB19 CAN_F12R2_FB19_Msk
5352#define CAN_F12R2_FB20_Pos (20U)
5353#define CAN_F12R2_FB20_Msk (0x1UL << CAN_F12R2_FB20_Pos)
5354#define CAN_F12R2_FB20 CAN_F12R2_FB20_Msk
5355#define CAN_F12R2_FB21_Pos (21U)
5356#define CAN_F12R2_FB21_Msk (0x1UL << CAN_F12R2_FB21_Pos)
5357#define CAN_F12R2_FB21 CAN_F12R2_FB21_Msk
5358#define CAN_F12R2_FB22_Pos (22U)
5359#define CAN_F12R2_FB22_Msk (0x1UL << CAN_F12R2_FB22_Pos)
5360#define CAN_F12R2_FB22 CAN_F12R2_FB22_Msk
5361#define CAN_F12R2_FB23_Pos (23U)
5362#define CAN_F12R2_FB23_Msk (0x1UL << CAN_F12R2_FB23_Pos)
5363#define CAN_F12R2_FB23 CAN_F12R2_FB23_Msk
5364#define CAN_F12R2_FB24_Pos (24U)
5365#define CAN_F12R2_FB24_Msk (0x1UL << CAN_F12R2_FB24_Pos)
5366#define CAN_F12R2_FB24 CAN_F12R2_FB24_Msk
5367#define CAN_F12R2_FB25_Pos (25U)
5368#define CAN_F12R2_FB25_Msk (0x1UL << CAN_F12R2_FB25_Pos)
5369#define CAN_F12R2_FB25 CAN_F12R2_FB25_Msk
5370#define CAN_F12R2_FB26_Pos (26U)
5371#define CAN_F12R2_FB26_Msk (0x1UL << CAN_F12R2_FB26_Pos)
5372#define CAN_F12R2_FB26 CAN_F12R2_FB26_Msk
5373#define CAN_F12R2_FB27_Pos (27U)
5374#define CAN_F12R2_FB27_Msk (0x1UL << CAN_F12R2_FB27_Pos)
5375#define CAN_F12R2_FB27 CAN_F12R2_FB27_Msk
5376#define CAN_F12R2_FB28_Pos (28U)
5377#define CAN_F12R2_FB28_Msk (0x1UL << CAN_F12R2_FB28_Pos)
5378#define CAN_F12R2_FB28 CAN_F12R2_FB28_Msk
5379#define CAN_F12R2_FB29_Pos (29U)
5380#define CAN_F12R2_FB29_Msk (0x1UL << CAN_F12R2_FB29_Pos)
5381#define CAN_F12R2_FB29 CAN_F12R2_FB29_Msk
5382#define CAN_F12R2_FB30_Pos (30U)
5383#define CAN_F12R2_FB30_Msk (0x1UL << CAN_F12R2_FB30_Pos)
5384#define CAN_F12R2_FB30 CAN_F12R2_FB30_Msk
5385#define CAN_F12R2_FB31_Pos (31U)
5386#define CAN_F12R2_FB31_Msk (0x1UL << CAN_F12R2_FB31_Pos)
5387#define CAN_F12R2_FB31 CAN_F12R2_FB31_Msk
5389/******************* Bit definition for CAN_F13R2 register ******************/
5390#define CAN_F13R2_FB0_Pos (0U)
5391#define CAN_F13R2_FB0_Msk (0x1UL << CAN_F13R2_FB0_Pos)
5392#define CAN_F13R2_FB0 CAN_F13R2_FB0_Msk
5393#define CAN_F13R2_FB1_Pos (1U)
5394#define CAN_F13R2_FB1_Msk (0x1UL << CAN_F13R2_FB1_Pos)
5395#define CAN_F13R2_FB1 CAN_F13R2_FB1_Msk
5396#define CAN_F13R2_FB2_Pos (2U)
5397#define CAN_F13R2_FB2_Msk (0x1UL << CAN_F13R2_FB2_Pos)
5398#define CAN_F13R2_FB2 CAN_F13R2_FB2_Msk
5399#define CAN_F13R2_FB3_Pos (3U)
5400#define CAN_F13R2_FB3_Msk (0x1UL << CAN_F13R2_FB3_Pos)
5401#define CAN_F13R2_FB3 CAN_F13R2_FB3_Msk
5402#define CAN_F13R2_FB4_Pos (4U)
5403#define CAN_F13R2_FB4_Msk (0x1UL << CAN_F13R2_FB4_Pos)
5404#define CAN_F13R2_FB4 CAN_F13R2_FB4_Msk
5405#define CAN_F13R2_FB5_Pos (5U)
5406#define CAN_F13R2_FB5_Msk (0x1UL << CAN_F13R2_FB5_Pos)
5407#define CAN_F13R2_FB5 CAN_F13R2_FB5_Msk
5408#define CAN_F13R2_FB6_Pos (6U)
5409#define CAN_F13R2_FB6_Msk (0x1UL << CAN_F13R2_FB6_Pos)
5410#define CAN_F13R2_FB6 CAN_F13R2_FB6_Msk
5411#define CAN_F13R2_FB7_Pos (7U)
5412#define CAN_F13R2_FB7_Msk (0x1UL << CAN_F13R2_FB7_Pos)
5413#define CAN_F13R2_FB7 CAN_F13R2_FB7_Msk
5414#define CAN_F13R2_FB8_Pos (8U)
5415#define CAN_F13R2_FB8_Msk (0x1UL << CAN_F13R2_FB8_Pos)
5416#define CAN_F13R2_FB8 CAN_F13R2_FB8_Msk
5417#define CAN_F13R2_FB9_Pos (9U)
5418#define CAN_F13R2_FB9_Msk (0x1UL << CAN_F13R2_FB9_Pos)
5419#define CAN_F13R2_FB9 CAN_F13R2_FB9_Msk
5420#define CAN_F13R2_FB10_Pos (10U)
5421#define CAN_F13R2_FB10_Msk (0x1UL << CAN_F13R2_FB10_Pos)
5422#define CAN_F13R2_FB10 CAN_F13R2_FB10_Msk
5423#define CAN_F13R2_FB11_Pos (11U)
5424#define CAN_F13R2_FB11_Msk (0x1UL << CAN_F13R2_FB11_Pos)
5425#define CAN_F13R2_FB11 CAN_F13R2_FB11_Msk
5426#define CAN_F13R2_FB12_Pos (12U)
5427#define CAN_F13R2_FB12_Msk (0x1UL << CAN_F13R2_FB12_Pos)
5428#define CAN_F13R2_FB12 CAN_F13R2_FB12_Msk
5429#define CAN_F13R2_FB13_Pos (13U)
5430#define CAN_F13R2_FB13_Msk (0x1UL << CAN_F13R2_FB13_Pos)
5431#define CAN_F13R2_FB13 CAN_F13R2_FB13_Msk
5432#define CAN_F13R2_FB14_Pos (14U)
5433#define CAN_F13R2_FB14_Msk (0x1UL << CAN_F13R2_FB14_Pos)
5434#define CAN_F13R2_FB14 CAN_F13R2_FB14_Msk
5435#define CAN_F13R2_FB15_Pos (15U)
5436#define CAN_F13R2_FB15_Msk (0x1UL << CAN_F13R2_FB15_Pos)
5437#define CAN_F13R2_FB15 CAN_F13R2_FB15_Msk
5438#define CAN_F13R2_FB16_Pos (16U)
5439#define CAN_F13R2_FB16_Msk (0x1UL << CAN_F13R2_FB16_Pos)
5440#define CAN_F13R2_FB16 CAN_F13R2_FB16_Msk
5441#define CAN_F13R2_FB17_Pos (17U)
5442#define CAN_F13R2_FB17_Msk (0x1UL << CAN_F13R2_FB17_Pos)
5443#define CAN_F13R2_FB17 CAN_F13R2_FB17_Msk
5444#define CAN_F13R2_FB18_Pos (18U)
5445#define CAN_F13R2_FB18_Msk (0x1UL << CAN_F13R2_FB18_Pos)
5446#define CAN_F13R2_FB18 CAN_F13R2_FB18_Msk
5447#define CAN_F13R2_FB19_Pos (19U)
5448#define CAN_F13R2_FB19_Msk (0x1UL << CAN_F13R2_FB19_Pos)
5449#define CAN_F13R2_FB19 CAN_F13R2_FB19_Msk
5450#define CAN_F13R2_FB20_Pos (20U)
5451#define CAN_F13R2_FB20_Msk (0x1UL << CAN_F13R2_FB20_Pos)
5452#define CAN_F13R2_FB20 CAN_F13R2_FB20_Msk
5453#define CAN_F13R2_FB21_Pos (21U)
5454#define CAN_F13R2_FB21_Msk (0x1UL << CAN_F13R2_FB21_Pos)
5455#define CAN_F13R2_FB21 CAN_F13R2_FB21_Msk
5456#define CAN_F13R2_FB22_Pos (22U)
5457#define CAN_F13R2_FB22_Msk (0x1UL << CAN_F13R2_FB22_Pos)
5458#define CAN_F13R2_FB22 CAN_F13R2_FB22_Msk
5459#define CAN_F13R2_FB23_Pos (23U)
5460#define CAN_F13R2_FB23_Msk (0x1UL << CAN_F13R2_FB23_Pos)
5461#define CAN_F13R2_FB23 CAN_F13R2_FB23_Msk
5462#define CAN_F13R2_FB24_Pos (24U)
5463#define CAN_F13R2_FB24_Msk (0x1UL << CAN_F13R2_FB24_Pos)
5464#define CAN_F13R2_FB24 CAN_F13R2_FB24_Msk
5465#define CAN_F13R2_FB25_Pos (25U)
5466#define CAN_F13R2_FB25_Msk (0x1UL << CAN_F13R2_FB25_Pos)
5467#define CAN_F13R2_FB25 CAN_F13R2_FB25_Msk
5468#define CAN_F13R2_FB26_Pos (26U)
5469#define CAN_F13R2_FB26_Msk (0x1UL << CAN_F13R2_FB26_Pos)
5470#define CAN_F13R2_FB26 CAN_F13R2_FB26_Msk
5471#define CAN_F13R2_FB27_Pos (27U)
5472#define CAN_F13R2_FB27_Msk (0x1UL << CAN_F13R2_FB27_Pos)
5473#define CAN_F13R2_FB27 CAN_F13R2_FB27_Msk
5474#define CAN_F13R2_FB28_Pos (28U)
5475#define CAN_F13R2_FB28_Msk (0x1UL << CAN_F13R2_FB28_Pos)
5476#define CAN_F13R2_FB28 CAN_F13R2_FB28_Msk
5477#define CAN_F13R2_FB29_Pos (29U)
5478#define CAN_F13R2_FB29_Msk (0x1UL << CAN_F13R2_FB29_Pos)
5479#define CAN_F13R2_FB29 CAN_F13R2_FB29_Msk
5480#define CAN_F13R2_FB30_Pos (30U)
5481#define CAN_F13R2_FB30_Msk (0x1UL << CAN_F13R2_FB30_Pos)
5482#define CAN_F13R2_FB30 CAN_F13R2_FB30_Msk
5483#define CAN_F13R2_FB31_Pos (31U)
5484#define CAN_F13R2_FB31_Msk (0x1UL << CAN_F13R2_FB31_Pos)
5485#define CAN_F13R2_FB31 CAN_F13R2_FB31_Msk
5487/******************************************************************************/
5488/* */
5489/* HDMI-CEC (CEC) */
5490/* */
5491/******************************************************************************/
5492
5493/******************* Bit definition for CEC_CR register *********************/
5494#define CEC_CR_CECEN_Pos (0U)
5495#define CEC_CR_CECEN_Msk (0x1UL << CEC_CR_CECEN_Pos)
5496#define CEC_CR_CECEN CEC_CR_CECEN_Msk
5497#define CEC_CR_TXSOM_Pos (1U)
5498#define CEC_CR_TXSOM_Msk (0x1UL << CEC_CR_TXSOM_Pos)
5499#define CEC_CR_TXSOM CEC_CR_TXSOM_Msk
5500#define CEC_CR_TXEOM_Pos (2U)
5501#define CEC_CR_TXEOM_Msk (0x1UL << CEC_CR_TXEOM_Pos)
5502#define CEC_CR_TXEOM CEC_CR_TXEOM_Msk
5504/******************* Bit definition for CEC_CFGR register *******************/
5505#define CEC_CFGR_SFT_Pos (0U)
5506#define CEC_CFGR_SFT_Msk (0x7UL << CEC_CFGR_SFT_Pos)
5507#define CEC_CFGR_SFT CEC_CFGR_SFT_Msk
5508#define CEC_CFGR_RXTOL_Pos (3U)
5509#define CEC_CFGR_RXTOL_Msk (0x1UL << CEC_CFGR_RXTOL_Pos)
5510#define CEC_CFGR_RXTOL CEC_CFGR_RXTOL_Msk
5511#define CEC_CFGR_BRESTP_Pos (4U)
5512#define CEC_CFGR_BRESTP_Msk (0x1UL << CEC_CFGR_BRESTP_Pos)
5513#define CEC_CFGR_BRESTP CEC_CFGR_BRESTP_Msk
5514#define CEC_CFGR_BREGEN_Pos (5U)
5515#define CEC_CFGR_BREGEN_Msk (0x1UL << CEC_CFGR_BREGEN_Pos)
5516#define CEC_CFGR_BREGEN CEC_CFGR_BREGEN_Msk
5517#define CEC_CFGR_LBPEGEN_Pos (6U)
5518#define CEC_CFGR_LBPEGEN_Msk (0x1UL << CEC_CFGR_LBPEGEN_Pos)
5519#define CEC_CFGR_LBPEGEN CEC_CFGR_LBPEGEN_Msk
5520#define CEC_CFGR_BRDNOGEN_Pos (7U)
5521#define CEC_CFGR_BRDNOGEN_Msk (0x1UL << CEC_CFGR_BRDNOGEN_Pos)
5522#define CEC_CFGR_BRDNOGEN CEC_CFGR_BRDNOGEN_Msk
5523#define CEC_CFGR_SFTOPT_Pos (8U)
5524#define CEC_CFGR_SFTOPT_Msk (0x1UL << CEC_CFGR_SFTOPT_Pos)
5525#define CEC_CFGR_SFTOPT CEC_CFGR_SFTOPT_Msk
5526#define CEC_CFGR_OAR_Pos (16U)
5527#define CEC_CFGR_OAR_Msk (0x7FFFUL << CEC_CFGR_OAR_Pos)
5528#define CEC_CFGR_OAR CEC_CFGR_OAR_Msk
5529#define CEC_CFGR_LSTN_Pos (31U)
5530#define CEC_CFGR_LSTN_Msk (0x1UL << CEC_CFGR_LSTN_Pos)
5531#define CEC_CFGR_LSTN CEC_CFGR_LSTN_Msk
5533/******************* Bit definition for CEC_TXDR register *******************/
5534#define CEC_TXDR_TXD_Pos (0U)
5535#define CEC_TXDR_TXD_Msk (0xFFUL << CEC_TXDR_TXD_Pos)
5536#define CEC_TXDR_TXD CEC_TXDR_TXD_Msk
5538/******************* Bit definition for CEC_RXDR register *******************/
5539#define CEC_RXDR_RXD_Pos (0U)
5540#define CEC_RXDR_RXD_Msk (0xFFU << CEC_RXDR_RXD_Pos)
5541#define CEC_RXDR_RXD CEC_RXDR_RXD_Msk
5543/******************* Bit definition for CEC_ISR register ********************/
5544#define CEC_ISR_RXBR_Pos (0U)
5545#define CEC_ISR_RXBR_Msk (0x1UL << CEC_ISR_RXBR_Pos)
5546#define CEC_ISR_RXBR CEC_ISR_RXBR_Msk
5547#define CEC_ISR_RXEND_Pos (1U)
5548#define CEC_ISR_RXEND_Msk (0x1UL << CEC_ISR_RXEND_Pos)
5549#define CEC_ISR_RXEND CEC_ISR_RXEND_Msk
5550#define CEC_ISR_RXOVR_Pos (2U)
5551#define CEC_ISR_RXOVR_Msk (0x1UL << CEC_ISR_RXOVR_Pos)
5552#define CEC_ISR_RXOVR CEC_ISR_RXOVR_Msk
5553#define CEC_ISR_BRE_Pos (3U)
5554#define CEC_ISR_BRE_Msk (0x1UL << CEC_ISR_BRE_Pos)
5555#define CEC_ISR_BRE CEC_ISR_BRE_Msk
5556#define CEC_ISR_SBPE_Pos (4U)
5557#define CEC_ISR_SBPE_Msk (0x1UL << CEC_ISR_SBPE_Pos)
5558#define CEC_ISR_SBPE CEC_ISR_SBPE_Msk
5559#define CEC_ISR_LBPE_Pos (5U)
5560#define CEC_ISR_LBPE_Msk (0x1UL << CEC_ISR_LBPE_Pos)
5561#define CEC_ISR_LBPE CEC_ISR_LBPE_Msk
5562#define CEC_ISR_RXACKE_Pos (6U)
5563#define CEC_ISR_RXACKE_Msk (0x1UL << CEC_ISR_RXACKE_Pos)
5564#define CEC_ISR_RXACKE CEC_ISR_RXACKE_Msk
5565#define CEC_ISR_ARBLST_Pos (7U)
5566#define CEC_ISR_ARBLST_Msk (0x1UL << CEC_ISR_ARBLST_Pos)
5567#define CEC_ISR_ARBLST CEC_ISR_ARBLST_Msk
5568#define CEC_ISR_TXBR_Pos (8U)
5569#define CEC_ISR_TXBR_Msk (0x1UL << CEC_ISR_TXBR_Pos)
5570#define CEC_ISR_TXBR CEC_ISR_TXBR_Msk
5571#define CEC_ISR_TXEND_Pos (9U)
5572#define CEC_ISR_TXEND_Msk (0x1UL << CEC_ISR_TXEND_Pos)
5573#define CEC_ISR_TXEND CEC_ISR_TXEND_Msk
5574#define CEC_ISR_TXUDR_Pos (10U)
5575#define CEC_ISR_TXUDR_Msk (0x1UL << CEC_ISR_TXUDR_Pos)
5576#define CEC_ISR_TXUDR CEC_ISR_TXUDR_Msk
5577#define CEC_ISR_TXERR_Pos (11U)
5578#define CEC_ISR_TXERR_Msk (0x1UL << CEC_ISR_TXERR_Pos)
5579#define CEC_ISR_TXERR CEC_ISR_TXERR_Msk
5580#define CEC_ISR_TXACKE_Pos (12U)
5581#define CEC_ISR_TXACKE_Msk (0x1UL << CEC_ISR_TXACKE_Pos)
5582#define CEC_ISR_TXACKE CEC_ISR_TXACKE_Msk
5584/******************* Bit definition for CEC_IER register ********************/
5585#define CEC_IER_RXBRIE_Pos (0U)
5586#define CEC_IER_RXBRIE_Msk (0x1UL << CEC_IER_RXBRIE_Pos)
5587#define CEC_IER_RXBRIE CEC_IER_RXBRIE_Msk
5588#define CEC_IER_RXENDIE_Pos (1U)
5589#define CEC_IER_RXENDIE_Msk (0x1UL << CEC_IER_RXENDIE_Pos)
5590#define CEC_IER_RXENDIE CEC_IER_RXENDIE_Msk
5591#define CEC_IER_RXOVRIE_Pos (2U)
5592#define CEC_IER_RXOVRIE_Msk (0x1UL << CEC_IER_RXOVRIE_Pos)
5593#define CEC_IER_RXOVRIE CEC_IER_RXOVRIE_Msk
5594#define CEC_IER_BREIE_Pos (3U)
5595#define CEC_IER_BREIE_Msk (0x1UL << CEC_IER_BREIE_Pos)
5596#define CEC_IER_BREIE CEC_IER_BREIE_Msk
5597#define CEC_IER_SBPEIE_Pos (4U)
5598#define CEC_IER_SBPEIE_Msk (0x1UL << CEC_IER_SBPEIE_Pos)
5599#define CEC_IER_SBPEIE CEC_IER_SBPEIE_Msk
5600#define CEC_IER_LBPEIE_Pos (5U)
5601#define CEC_IER_LBPEIE_Msk (0x1UL << CEC_IER_LBPEIE_Pos)
5602#define CEC_IER_LBPEIE CEC_IER_LBPEIE_Msk
5603#define CEC_IER_RXACKEIE_Pos (6U)
5604#define CEC_IER_RXACKEIE_Msk (0x1UL << CEC_IER_RXACKEIE_Pos)
5605#define CEC_IER_RXACKEIE CEC_IER_RXACKEIE_Msk
5606#define CEC_IER_ARBLSTIE_Pos (7U)
5607#define CEC_IER_ARBLSTIE_Msk (0x1UL << CEC_IER_ARBLSTIE_Pos)
5608#define CEC_IER_ARBLSTIE CEC_IER_ARBLSTIE_Msk
5609#define CEC_IER_TXBRIE_Pos (8U)
5610#define CEC_IER_TXBRIE_Msk (0x1UL << CEC_IER_TXBRIE_Pos)
5611#define CEC_IER_TXBRIE CEC_IER_TXBRIE_Msk
5612#define CEC_IER_TXENDIE_Pos (9U)
5613#define CEC_IER_TXENDIE_Msk (0x1UL << CEC_IER_TXENDIE_Pos)
5614#define CEC_IER_TXENDIE CEC_IER_TXENDIE_Msk
5615#define CEC_IER_TXUDRIE_Pos (10U)
5616#define CEC_IER_TXUDRIE_Msk (0x1UL << CEC_IER_TXUDRIE_Pos)
5617#define CEC_IER_TXUDRIE CEC_IER_TXUDRIE_Msk
5618#define CEC_IER_TXERRIE_Pos (11U)
5619#define CEC_IER_TXERRIE_Msk (0x1UL << CEC_IER_TXERRIE_Pos)
5620#define CEC_IER_TXERRIE CEC_IER_TXERRIE_Msk
5621#define CEC_IER_TXACKEIE_Pos (12U)
5622#define CEC_IER_TXACKEIE_Msk (0x1UL << CEC_IER_TXACKEIE_Pos)
5623#define CEC_IER_TXACKEIE CEC_IER_TXACKEIE_Msk
5625/******************************************************************************/
5626/* */
5627/* CRC calculation unit */
5628/* */
5629/******************************************************************************/
5630/******************* Bit definition for CRC_DR register *********************/
5631#define CRC_DR_DR_Pos (0U)
5632#define CRC_DR_DR_Msk (0xFFFFFFFFUL << CRC_DR_DR_Pos)
5633#define CRC_DR_DR CRC_DR_DR_Msk
5635/******************* Bit definition for CRC_IDR register ********************/
5636#define CRC_IDR_IDR_Pos (0U)
5637#define CRC_IDR_IDR_Msk (0xFFUL << CRC_IDR_IDR_Pos)
5638#define CRC_IDR_IDR CRC_IDR_IDR_Msk
5640/******************** Bit definition for CRC_CR register ********************/
5641#define CRC_CR_RESET_Pos (0U)
5642#define CRC_CR_RESET_Msk (0x1UL << CRC_CR_RESET_Pos)
5643#define CRC_CR_RESET CRC_CR_RESET_Msk
5644#define CRC_CR_POLYSIZE_Pos (3U)
5645#define CRC_CR_POLYSIZE_Msk (0x3UL << CRC_CR_POLYSIZE_Pos)
5646#define CRC_CR_POLYSIZE CRC_CR_POLYSIZE_Msk
5647#define CRC_CR_POLYSIZE_0 (0x1UL << CRC_CR_POLYSIZE_Pos)
5648#define CRC_CR_POLYSIZE_1 (0x2UL << CRC_CR_POLYSIZE_Pos)
5649#define CRC_CR_REV_IN_Pos (5U)
5650#define CRC_CR_REV_IN_Msk (0x3UL << CRC_CR_REV_IN_Pos)
5651#define CRC_CR_REV_IN CRC_CR_REV_IN_Msk
5652#define CRC_CR_REV_IN_0 (0x1UL << CRC_CR_REV_IN_Pos)
5653#define CRC_CR_REV_IN_1 (0x2UL << CRC_CR_REV_IN_Pos)
5654#define CRC_CR_REV_OUT_Pos (7U)
5655#define CRC_CR_REV_OUT_Msk (0x1UL << CRC_CR_REV_OUT_Pos)
5656#define CRC_CR_REV_OUT CRC_CR_REV_OUT_Msk
5658/******************* Bit definition for CRC_INIT register *******************/
5659#define CRC_INIT_INIT_Pos (0U)
5660#define CRC_INIT_INIT_Msk (0xFFFFFFFFUL << CRC_INIT_INIT_Pos)
5661#define CRC_INIT_INIT CRC_INIT_INIT_Msk
5663/******************* Bit definition for CRC_POL register ********************/
5664#define CRC_POL_POL_Pos (0U)
5665#define CRC_POL_POL_Msk (0xFFFFFFFFUL << CRC_POL_POL_Pos)
5666#define CRC_POL_POL CRC_POL_POL_Msk
5669/******************************************************************************/
5670/* */
5671/* Digital to Analog Converter */
5672/* */
5673/******************************************************************************/
5674/******************** Bit definition for DAC_CR register ********************/
5675#define DAC_CR_EN1_Pos (0U)
5676#define DAC_CR_EN1_Msk (0x1UL << DAC_CR_EN1_Pos)
5677#define DAC_CR_EN1 DAC_CR_EN1_Msk
5678#define DAC_CR_BOFF1_Pos (1U)
5679#define DAC_CR_BOFF1_Msk (0x1UL << DAC_CR_BOFF1_Pos)
5680#define DAC_CR_BOFF1 DAC_CR_BOFF1_Msk
5681#define DAC_CR_TEN1_Pos (2U)
5682#define DAC_CR_TEN1_Msk (0x1UL << DAC_CR_TEN1_Pos)
5683#define DAC_CR_TEN1 DAC_CR_TEN1_Msk
5684#define DAC_CR_TSEL1_Pos (3U)
5685#define DAC_CR_TSEL1_Msk (0x7UL << DAC_CR_TSEL1_Pos)
5686#define DAC_CR_TSEL1 DAC_CR_TSEL1_Msk
5687#define DAC_CR_TSEL1_0 (0x1UL << DAC_CR_TSEL1_Pos)
5688#define DAC_CR_TSEL1_1 (0x2UL << DAC_CR_TSEL1_Pos)
5689#define DAC_CR_TSEL1_2 (0x4UL << DAC_CR_TSEL1_Pos)
5690#define DAC_CR_WAVE1_Pos (6U)
5691#define DAC_CR_WAVE1_Msk (0x3UL << DAC_CR_WAVE1_Pos)
5692#define DAC_CR_WAVE1 DAC_CR_WAVE1_Msk
5693#define DAC_CR_WAVE1_0 (0x1UL << DAC_CR_WAVE1_Pos)
5694#define DAC_CR_WAVE1_1 (0x2UL << DAC_CR_WAVE1_Pos)
5695#define DAC_CR_MAMP1_Pos (8U)
5696#define DAC_CR_MAMP1_Msk (0xFUL << DAC_CR_MAMP1_Pos)
5697#define DAC_CR_MAMP1 DAC_CR_MAMP1_Msk
5698#define DAC_CR_MAMP1_0 (0x1UL << DAC_CR_MAMP1_Pos)
5699#define DAC_CR_MAMP1_1 (0x2UL << DAC_CR_MAMP1_Pos)
5700#define DAC_CR_MAMP1_2 (0x4UL << DAC_CR_MAMP1_Pos)
5701#define DAC_CR_MAMP1_3 (0x8UL << DAC_CR_MAMP1_Pos)
5702#define DAC_CR_DMAEN1_Pos (12U)
5703#define DAC_CR_DMAEN1_Msk (0x1UL << DAC_CR_DMAEN1_Pos)
5704#define DAC_CR_DMAEN1 DAC_CR_DMAEN1_Msk
5705#define DAC_CR_DMAUDRIE1_Pos (13U)
5706#define DAC_CR_DMAUDRIE1_Msk (0x1UL << DAC_CR_DMAUDRIE1_Pos)
5707#define DAC_CR_DMAUDRIE1 DAC_CR_DMAUDRIE1_Msk
5708#define DAC_CR_EN2_Pos (16U)
5709#define DAC_CR_EN2_Msk (0x1UL << DAC_CR_EN2_Pos)
5710#define DAC_CR_EN2 DAC_CR_EN2_Msk
5711#define DAC_CR_BOFF2_Pos (17U)
5712#define DAC_CR_BOFF2_Msk (0x1UL << DAC_CR_BOFF2_Pos)
5713#define DAC_CR_BOFF2 DAC_CR_BOFF2_Msk
5714#define DAC_CR_TEN2_Pos (18U)
5715#define DAC_CR_TEN2_Msk (0x1UL << DAC_CR_TEN2_Pos)
5716#define DAC_CR_TEN2 DAC_CR_TEN2_Msk
5717#define DAC_CR_TSEL2_Pos (19U)
5718#define DAC_CR_TSEL2_Msk (0x7UL << DAC_CR_TSEL2_Pos)
5719#define DAC_CR_TSEL2 DAC_CR_TSEL2_Msk
5720#define DAC_CR_TSEL2_0 (0x1UL << DAC_CR_TSEL2_Pos)
5721#define DAC_CR_TSEL2_1 (0x2UL << DAC_CR_TSEL2_Pos)
5722#define DAC_CR_TSEL2_2 (0x4UL << DAC_CR_TSEL2_Pos)
5723#define DAC_CR_WAVE2_Pos (22U)
5724#define DAC_CR_WAVE2_Msk (0x3UL << DAC_CR_WAVE2_Pos)
5725#define DAC_CR_WAVE2 DAC_CR_WAVE2_Msk
5726#define DAC_CR_WAVE2_0 (0x1UL << DAC_CR_WAVE2_Pos)
5727#define DAC_CR_WAVE2_1 (0x2UL << DAC_CR_WAVE2_Pos)
5728#define DAC_CR_MAMP2_Pos (24U)
5729#define DAC_CR_MAMP2_Msk (0xFUL << DAC_CR_MAMP2_Pos)
5730#define DAC_CR_MAMP2 DAC_CR_MAMP2_Msk
5731#define DAC_CR_MAMP2_0 (0x1UL << DAC_CR_MAMP2_Pos)
5732#define DAC_CR_MAMP2_1 (0x2UL << DAC_CR_MAMP2_Pos)
5733#define DAC_CR_MAMP2_2 (0x4UL << DAC_CR_MAMP2_Pos)
5734#define DAC_CR_MAMP2_3 (0x8UL << DAC_CR_MAMP2_Pos)
5735#define DAC_CR_DMAEN2_Pos (28U)
5736#define DAC_CR_DMAEN2_Msk (0x1UL << DAC_CR_DMAEN2_Pos)
5737#define DAC_CR_DMAEN2 DAC_CR_DMAEN2_Msk
5738#define DAC_CR_DMAUDRIE2_Pos (29U)
5739#define DAC_CR_DMAUDRIE2_Msk (0x1UL << DAC_CR_DMAUDRIE2_Pos)
5740#define DAC_CR_DMAUDRIE2 DAC_CR_DMAUDRIE2_Msk
5742/***************** Bit definition for DAC_SWTRIGR register ******************/
5743#define DAC_SWTRIGR_SWTRIG1_Pos (0U)
5744#define DAC_SWTRIGR_SWTRIG1_Msk (0x1UL << DAC_SWTRIGR_SWTRIG1_Pos)
5745#define DAC_SWTRIGR_SWTRIG1 DAC_SWTRIGR_SWTRIG1_Msk
5746#define DAC_SWTRIGR_SWTRIG2_Pos (1U)
5747#define DAC_SWTRIGR_SWTRIG2_Msk (0x1UL << DAC_SWTRIGR_SWTRIG2_Pos)
5748#define DAC_SWTRIGR_SWTRIG2 DAC_SWTRIGR_SWTRIG2_Msk
5750/***************** Bit definition for DAC_DHR12R1 register ******************/
5751#define DAC_DHR12R1_DACC1DHR_Pos (0U)
5752#define DAC_DHR12R1_DACC1DHR_Msk (0xFFFUL << DAC_DHR12R1_DACC1DHR_Pos)
5753#define DAC_DHR12R1_DACC1DHR DAC_DHR12R1_DACC1DHR_Msk
5755/***************** Bit definition for DAC_DHR12L1 register ******************/
5756#define DAC_DHR12L1_DACC1DHR_Pos (4U)
5757#define DAC_DHR12L1_DACC1DHR_Msk (0xFFFUL << DAC_DHR12L1_DACC1DHR_Pos)
5758#define DAC_DHR12L1_DACC1DHR DAC_DHR12L1_DACC1DHR_Msk
5760/****************** Bit definition for DAC_DHR8R1 register ******************/
5761#define DAC_DHR8R1_DACC1DHR_Pos (0U)
5762#define DAC_DHR8R1_DACC1DHR_Msk (0xFFUL << DAC_DHR8R1_DACC1DHR_Pos)
5763#define DAC_DHR8R1_DACC1DHR DAC_DHR8R1_DACC1DHR_Msk
5765/***************** Bit definition for DAC_DHR12R2 register ******************/
5766#define DAC_DHR12R2_DACC2DHR_Pos (0U)
5767#define DAC_DHR12R2_DACC2DHR_Msk (0xFFFUL << DAC_DHR12R2_DACC2DHR_Pos)
5768#define DAC_DHR12R2_DACC2DHR DAC_DHR12R2_DACC2DHR_Msk
5770/***************** Bit definition for DAC_DHR12L2 register ******************/
5771#define DAC_DHR12L2_DACC2DHR_Pos (4U)
5772#define DAC_DHR12L2_DACC2DHR_Msk (0xFFFUL << DAC_DHR12L2_DACC2DHR_Pos)
5773#define DAC_DHR12L2_DACC2DHR DAC_DHR12L2_DACC2DHR_Msk
5775/****************** Bit definition for DAC_DHR8R2 register ******************/
5776#define DAC_DHR8R2_DACC2DHR_Pos (0U)
5777#define DAC_DHR8R2_DACC2DHR_Msk (0xFFUL << DAC_DHR8R2_DACC2DHR_Pos)
5778#define DAC_DHR8R2_DACC2DHR DAC_DHR8R2_DACC2DHR_Msk
5780/***************** Bit definition for DAC_DHR12RD register ******************/
5781#define DAC_DHR12RD_DACC1DHR_Pos (0U)
5782#define DAC_DHR12RD_DACC1DHR_Msk (0xFFFUL << DAC_DHR12RD_DACC1DHR_Pos)
5783#define DAC_DHR12RD_DACC1DHR DAC_DHR12RD_DACC1DHR_Msk
5784#define DAC_DHR12RD_DACC2DHR_Pos (16U)
5785#define DAC_DHR12RD_DACC2DHR_Msk (0xFFFUL << DAC_DHR12RD_DACC2DHR_Pos)
5786#define DAC_DHR12RD_DACC2DHR DAC_DHR12RD_DACC2DHR_Msk
5788/***************** Bit definition for DAC_DHR12LD register ******************/
5789#define DAC_DHR12LD_DACC1DHR_Pos (4U)
5790#define DAC_DHR12LD_DACC1DHR_Msk (0xFFFUL << DAC_DHR12LD_DACC1DHR_Pos)
5791#define DAC_DHR12LD_DACC1DHR DAC_DHR12LD_DACC1DHR_Msk
5792#define DAC_DHR12LD_DACC2DHR_Pos (20U)
5793#define DAC_DHR12LD_DACC2DHR_Msk (0xFFFUL << DAC_DHR12LD_DACC2DHR_Pos)
5794#define DAC_DHR12LD_DACC2DHR DAC_DHR12LD_DACC2DHR_Msk
5796/****************** Bit definition for DAC_DHR8RD register ******************/
5797#define DAC_DHR8RD_DACC1DHR_Pos (0U)
5798#define DAC_DHR8RD_DACC1DHR_Msk (0xFFUL << DAC_DHR8RD_DACC1DHR_Pos)
5799#define DAC_DHR8RD_DACC1DHR DAC_DHR8RD_DACC1DHR_Msk
5800#define DAC_DHR8RD_DACC2DHR_Pos (8U)
5801#define DAC_DHR8RD_DACC2DHR_Msk (0xFFUL << DAC_DHR8RD_DACC2DHR_Pos)
5802#define DAC_DHR8RD_DACC2DHR DAC_DHR8RD_DACC2DHR_Msk
5804/******************* Bit definition for DAC_DOR1 register *******************/
5805#define DAC_DOR1_DACC1DOR_Pos (0U)
5806#define DAC_DOR1_DACC1DOR_Msk (0xFFFUL << DAC_DOR1_DACC1DOR_Pos)
5807#define DAC_DOR1_DACC1DOR DAC_DOR1_DACC1DOR_Msk
5809/******************* Bit definition for DAC_DOR2 register *******************/
5810#define DAC_DOR2_DACC2DOR_Pos (0U)
5811#define DAC_DOR2_DACC2DOR_Msk (0xFFFUL << DAC_DOR2_DACC2DOR_Pos)
5812#define DAC_DOR2_DACC2DOR DAC_DOR2_DACC2DOR_Msk
5814/******************** Bit definition for DAC_SR register ********************/
5815#define DAC_SR_DMAUDR1_Pos (13U)
5816#define DAC_SR_DMAUDR1_Msk (0x1UL << DAC_SR_DMAUDR1_Pos)
5817#define DAC_SR_DMAUDR1 DAC_SR_DMAUDR1_Msk
5818#define DAC_SR_DMAUDR2_Pos (29U)
5819#define DAC_SR_DMAUDR2_Msk (0x1UL << DAC_SR_DMAUDR2_Pos)
5820#define DAC_SR_DMAUDR2 DAC_SR_DMAUDR2_Msk
5823/******************************************************************************/
5824/* */
5825/* Debug MCU */
5826/* */
5827/******************************************************************************/
5828
5829/******************************************************************************/
5830/* */
5831/* DCMI */
5832/* */
5833/******************************************************************************/
5834/******************** Bits definition for DCMI_CR register ******************/
5835#define DCMI_CR_CAPTURE_Pos (0U)
5836#define DCMI_CR_CAPTURE_Msk (0x1UL << DCMI_CR_CAPTURE_Pos)
5837#define DCMI_CR_CAPTURE DCMI_CR_CAPTURE_Msk
5838#define DCMI_CR_CM_Pos (1U)
5839#define DCMI_CR_CM_Msk (0x1UL << DCMI_CR_CM_Pos)
5840#define DCMI_CR_CM DCMI_CR_CM_Msk
5841#define DCMI_CR_CROP_Pos (2U)
5842#define DCMI_CR_CROP_Msk (0x1UL << DCMI_CR_CROP_Pos)
5843#define DCMI_CR_CROP DCMI_CR_CROP_Msk
5844#define DCMI_CR_JPEG_Pos (3U)
5845#define DCMI_CR_JPEG_Msk (0x1UL << DCMI_CR_JPEG_Pos)
5846#define DCMI_CR_JPEG DCMI_CR_JPEG_Msk
5847#define DCMI_CR_ESS_Pos (4U)
5848#define DCMI_CR_ESS_Msk (0x1UL << DCMI_CR_ESS_Pos)
5849#define DCMI_CR_ESS DCMI_CR_ESS_Msk
5850#define DCMI_CR_PCKPOL_Pos (5U)
5851#define DCMI_CR_PCKPOL_Msk (0x1UL << DCMI_CR_PCKPOL_Pos)
5852#define DCMI_CR_PCKPOL DCMI_CR_PCKPOL_Msk
5853#define DCMI_CR_HSPOL_Pos (6U)
5854#define DCMI_CR_HSPOL_Msk (0x1UL << DCMI_CR_HSPOL_Pos)
5855#define DCMI_CR_HSPOL DCMI_CR_HSPOL_Msk
5856#define DCMI_CR_VSPOL_Pos (7U)
5857#define DCMI_CR_VSPOL_Msk (0x1UL << DCMI_CR_VSPOL_Pos)
5858#define DCMI_CR_VSPOL DCMI_CR_VSPOL_Msk
5859#define DCMI_CR_FCRC_0 0x00000100U
5860#define DCMI_CR_FCRC_1 0x00000200U
5861#define DCMI_CR_EDM_0 0x00000400U
5862#define DCMI_CR_EDM_1 0x00000800U
5863#define DCMI_CR_CRE_Pos (12U)
5864#define DCMI_CR_CRE_Msk (0x1UL << DCMI_CR_CRE_Pos)
5865#define DCMI_CR_CRE DCMI_CR_CRE_Msk
5866#define DCMI_CR_ENABLE_Pos (14U)
5867#define DCMI_CR_ENABLE_Msk (0x1UL << DCMI_CR_ENABLE_Pos)
5868#define DCMI_CR_ENABLE DCMI_CR_ENABLE_Msk
5869#define DCMI_CR_BSM_Pos (16U)
5870#define DCMI_CR_BSM_Msk (0x3UL << DCMI_CR_BSM_Pos)
5871#define DCMI_CR_BSM DCMI_CR_BSM_Msk
5872#define DCMI_CR_BSM_0 (0x1UL << DCMI_CR_BSM_Pos)
5873#define DCMI_CR_BSM_1 (0x2UL << DCMI_CR_BSM_Pos)
5874#define DCMI_CR_OEBS_Pos (18U)
5875#define DCMI_CR_OEBS_Msk (0x1UL << DCMI_CR_OEBS_Pos)
5876#define DCMI_CR_OEBS DCMI_CR_OEBS_Msk
5877#define DCMI_CR_LSM_Pos (19U)
5878#define DCMI_CR_LSM_Msk (0x1UL << DCMI_CR_LSM_Pos)
5879#define DCMI_CR_LSM DCMI_CR_LSM_Msk
5880#define DCMI_CR_OELS_Pos (20U)
5881#define DCMI_CR_OELS_Msk (0x1UL << DCMI_CR_OELS_Pos)
5882#define DCMI_CR_OELS DCMI_CR_OELS_Msk
5883
5884/******************** Bits definition for DCMI_SR register ******************/
5885#define DCMI_SR_HSYNC_Pos (0U)
5886#define DCMI_SR_HSYNC_Msk (0x1UL << DCMI_SR_HSYNC_Pos)
5887#define DCMI_SR_HSYNC DCMI_SR_HSYNC_Msk
5888#define DCMI_SR_VSYNC_Pos (1U)
5889#define DCMI_SR_VSYNC_Msk (0x1UL << DCMI_SR_VSYNC_Pos)
5890#define DCMI_SR_VSYNC DCMI_SR_VSYNC_Msk
5891#define DCMI_SR_FNE_Pos (2U)
5892#define DCMI_SR_FNE_Msk (0x1UL << DCMI_SR_FNE_Pos)
5893#define DCMI_SR_FNE DCMI_SR_FNE_Msk
5894
5895/******************** Bits definition for DCMI_RIS register ****************/
5896#define DCMI_RIS_FRAME_RIS_Pos (0U)
5897#define DCMI_RIS_FRAME_RIS_Msk (0x1UL << DCMI_RIS_FRAME_RIS_Pos)
5898#define DCMI_RIS_FRAME_RIS DCMI_RIS_FRAME_RIS_Msk
5899#define DCMI_RIS_OVR_RIS_Pos (1U)
5900#define DCMI_RIS_OVR_RIS_Msk (0x1UL << DCMI_RIS_OVR_RIS_Pos)
5901#define DCMI_RIS_OVR_RIS DCMI_RIS_OVR_RIS_Msk
5902#define DCMI_RIS_ERR_RIS_Pos (2U)
5903#define DCMI_RIS_ERR_RIS_Msk (0x1UL << DCMI_RIS_ERR_RIS_Pos)
5904#define DCMI_RIS_ERR_RIS DCMI_RIS_ERR_RIS_Msk
5905#define DCMI_RIS_VSYNC_RIS_Pos (3U)
5906#define DCMI_RIS_VSYNC_RIS_Msk (0x1UL << DCMI_RIS_VSYNC_RIS_Pos)
5907#define DCMI_RIS_VSYNC_RIS DCMI_RIS_VSYNC_RIS_Msk
5908#define DCMI_RIS_LINE_RIS_Pos (4U)
5909#define DCMI_RIS_LINE_RIS_Msk (0x1UL << DCMI_RIS_LINE_RIS_Pos)
5910#define DCMI_RIS_LINE_RIS DCMI_RIS_LINE_RIS_Msk
5911
5912/* Legacy defines */
5913#define DCMI_RISR_FRAME_RIS DCMI_RIS_FRAME_RIS
5914#define DCMI_RISR_OVF_RIS DCMI_RIS_OVR_RIS
5915#define DCMI_RISR_ERR_RIS DCMI_RIS_ERR_RIS
5916#define DCMI_RISR_VSYNC_RIS DCMI_RIS_VSYNC_RIS
5917#define DCMI_RISR_LINE_RIS DCMI_RIS_LINE_RIS
5918
5919/******************** Bits definition for DCMI_IER register *****************/
5920#define DCMI_IER_FRAME_IE_Pos (0U)
5921#define DCMI_IER_FRAME_IE_Msk (0x1UL << DCMI_IER_FRAME_IE_Pos)
5922#define DCMI_IER_FRAME_IE DCMI_IER_FRAME_IE_Msk
5923#define DCMI_IER_OVR_IE_Pos (1U)
5924#define DCMI_IER_OVR_IE_Msk (0x1UL << DCMI_IER_OVR_IE_Pos)
5925#define DCMI_IER_OVR_IE DCMI_IER_OVR_IE_Msk
5926#define DCMI_IER_ERR_IE_Pos (2U)
5927#define DCMI_IER_ERR_IE_Msk (0x1UL << DCMI_IER_ERR_IE_Pos)
5928#define DCMI_IER_ERR_IE DCMI_IER_ERR_IE_Msk
5929#define DCMI_IER_VSYNC_IE_Pos (3U)
5930#define DCMI_IER_VSYNC_IE_Msk (0x1UL << DCMI_IER_VSYNC_IE_Pos)
5931#define DCMI_IER_VSYNC_IE DCMI_IER_VSYNC_IE_Msk
5932#define DCMI_IER_LINE_IE_Pos (4U)
5933#define DCMI_IER_LINE_IE_Msk (0x1UL << DCMI_IER_LINE_IE_Pos)
5934#define DCMI_IER_LINE_IE DCMI_IER_LINE_IE_Msk
5935
5936/* Legacy define */
5937#define DCMI_IER_OVF_IE DCMI_IER_OVR_IE
5938
5939/******************** Bits definition for DCMI_MIS register *****************/
5940#define DCMI_MIS_FRAME_MIS_Pos (0U)
5941#define DCMI_MIS_FRAME_MIS_Msk (0x1UL << DCMI_MIS_FRAME_MIS_Pos)
5942#define DCMI_MIS_FRAME_MIS DCMI_MIS_FRAME_MIS_Msk
5943#define DCMI_MIS_OVR_MIS_Pos (1U)
5944#define DCMI_MIS_OVR_MIS_Msk (0x1UL << DCMI_MIS_OVR_MIS_Pos)
5945#define DCMI_MIS_OVR_MIS DCMI_MIS_OVR_MIS_Msk
5946#define DCMI_MIS_ERR_MIS_Pos (2U)
5947#define DCMI_MIS_ERR_MIS_Msk (0x1UL << DCMI_MIS_ERR_MIS_Pos)
5948#define DCMI_MIS_ERR_MIS DCMI_MIS_ERR_MIS_Msk
5949#define DCMI_MIS_VSYNC_MIS_Pos (3U)
5950#define DCMI_MIS_VSYNC_MIS_Msk (0x1UL << DCMI_MIS_VSYNC_MIS_Pos)
5951#define DCMI_MIS_VSYNC_MIS DCMI_MIS_VSYNC_MIS_Msk
5952#define DCMI_MIS_LINE_MIS_Pos (4U)
5953#define DCMI_MIS_LINE_MIS_Msk (0x1UL << DCMI_MIS_LINE_MIS_Pos)
5954#define DCMI_MIS_LINE_MIS DCMI_MIS_LINE_MIS_Msk
5955
5956/* Legacy defines */
5957#define DCMI_MISR_FRAME_MIS DCMI_MIS_FRAME_MIS
5958#define DCMI_MISR_OVF_MIS DCMI_MIS_OVR_MIS
5959#define DCMI_MISR_ERR_MIS DCMI_MIS_ERR_MIS
5960#define DCMI_MISR_VSYNC_MIS DCMI_MIS_VSYNC_MIS
5961#define DCMI_MISR_LINE_MIS DCMI_MIS_LINE_MIS
5962
5963/******************** Bits definition for DCMI_ICR register *****************/
5964#define DCMI_ICR_FRAME_ISC_Pos (0U)
5965#define DCMI_ICR_FRAME_ISC_Msk (0x1UL << DCMI_ICR_FRAME_ISC_Pos)
5966#define DCMI_ICR_FRAME_ISC DCMI_ICR_FRAME_ISC_Msk
5967#define DCMI_ICR_OVR_ISC_Pos (1U)
5968#define DCMI_ICR_OVR_ISC_Msk (0x1UL << DCMI_ICR_OVR_ISC_Pos)
5969#define DCMI_ICR_OVR_ISC DCMI_ICR_OVR_ISC_Msk
5970#define DCMI_ICR_ERR_ISC_Pos (2U)
5971#define DCMI_ICR_ERR_ISC_Msk (0x1UL << DCMI_ICR_ERR_ISC_Pos)
5972#define DCMI_ICR_ERR_ISC DCMI_ICR_ERR_ISC_Msk
5973#define DCMI_ICR_VSYNC_ISC_Pos (3U)
5974#define DCMI_ICR_VSYNC_ISC_Msk (0x1UL << DCMI_ICR_VSYNC_ISC_Pos)
5975#define DCMI_ICR_VSYNC_ISC DCMI_ICR_VSYNC_ISC_Msk
5976#define DCMI_ICR_LINE_ISC_Pos (4U)
5977#define DCMI_ICR_LINE_ISC_Msk (0x1UL << DCMI_ICR_LINE_ISC_Pos)
5978#define DCMI_ICR_LINE_ISC DCMI_ICR_LINE_ISC_Msk
5979
5980/* Legacy defines */
5981#define DCMI_ICR_OVF_ISC DCMI_ICR_OVR_ISC
5982
5983/******************** Bits definition for DCMI_ESCR register ******************/
5984#define DCMI_ESCR_FSC_Pos (0U)
5985#define DCMI_ESCR_FSC_Msk (0xFFUL << DCMI_ESCR_FSC_Pos)
5986#define DCMI_ESCR_FSC DCMI_ESCR_FSC_Msk
5987#define DCMI_ESCR_LSC_Pos (8U)
5988#define DCMI_ESCR_LSC_Msk (0xFFUL << DCMI_ESCR_LSC_Pos)
5989#define DCMI_ESCR_LSC DCMI_ESCR_LSC_Msk
5990#define DCMI_ESCR_LEC_Pos (16U)
5991#define DCMI_ESCR_LEC_Msk (0xFFUL << DCMI_ESCR_LEC_Pos)
5992#define DCMI_ESCR_LEC DCMI_ESCR_LEC_Msk
5993#define DCMI_ESCR_FEC_Pos (24U)
5994#define DCMI_ESCR_FEC_Msk (0xFFUL << DCMI_ESCR_FEC_Pos)
5995#define DCMI_ESCR_FEC DCMI_ESCR_FEC_Msk
5996
5997/******************** Bits definition for DCMI_ESUR register ******************/
5998#define DCMI_ESUR_FSU_Pos (0U)
5999#define DCMI_ESUR_FSU_Msk (0xFFUL << DCMI_ESUR_FSU_Pos)
6000#define DCMI_ESUR_FSU DCMI_ESUR_FSU_Msk
6001#define DCMI_ESUR_LSU_Pos (8U)
6002#define DCMI_ESUR_LSU_Msk (0xFFUL << DCMI_ESUR_LSU_Pos)
6003#define DCMI_ESUR_LSU DCMI_ESUR_LSU_Msk
6004#define DCMI_ESUR_LEU_Pos (16U)
6005#define DCMI_ESUR_LEU_Msk (0xFFUL << DCMI_ESUR_LEU_Pos)
6006#define DCMI_ESUR_LEU DCMI_ESUR_LEU_Msk
6007#define DCMI_ESUR_FEU_Pos (24U)
6008#define DCMI_ESUR_FEU_Msk (0xFFUL << DCMI_ESUR_FEU_Pos)
6009#define DCMI_ESUR_FEU DCMI_ESUR_FEU_Msk
6010
6011/******************** Bits definition for DCMI_CWSTRT register ******************/
6012#define DCMI_CWSTRT_HOFFCNT_Pos (0U)
6013#define DCMI_CWSTRT_HOFFCNT_Msk (0x3FFFUL << DCMI_CWSTRT_HOFFCNT_Pos)
6014#define DCMI_CWSTRT_HOFFCNT DCMI_CWSTRT_HOFFCNT_Msk
6015#define DCMI_CWSTRT_VST_Pos (16U)
6016#define DCMI_CWSTRT_VST_Msk (0x1FFFUL << DCMI_CWSTRT_VST_Pos)
6017#define DCMI_CWSTRT_VST DCMI_CWSTRT_VST_Msk
6018
6019/******************** Bits definition for DCMI_CWSIZE register ******************/
6020#define DCMI_CWSIZE_CAPCNT_Pos (0U)
6021#define DCMI_CWSIZE_CAPCNT_Msk (0x3FFFUL << DCMI_CWSIZE_CAPCNT_Pos)
6022#define DCMI_CWSIZE_CAPCNT DCMI_CWSIZE_CAPCNT_Msk
6023#define DCMI_CWSIZE_VLINE_Pos (16U)
6024#define DCMI_CWSIZE_VLINE_Msk (0x3FFFUL << DCMI_CWSIZE_VLINE_Pos)
6025#define DCMI_CWSIZE_VLINE DCMI_CWSIZE_VLINE_Msk
6026
6027/******************** Bits definition for DCMI_DR register ******************/
6028#define DCMI_DR_BYTE0_Pos (0U)
6029#define DCMI_DR_BYTE0_Msk (0xFFUL << DCMI_DR_BYTE0_Pos)
6030#define DCMI_DR_BYTE0 DCMI_DR_BYTE0_Msk
6031#define DCMI_DR_BYTE1_Pos (8U)
6032#define DCMI_DR_BYTE1_Msk (0xFFUL << DCMI_DR_BYTE1_Pos)
6033#define DCMI_DR_BYTE1 DCMI_DR_BYTE1_Msk
6034#define DCMI_DR_BYTE2_Pos (16U)
6035#define DCMI_DR_BYTE2_Msk (0xFFUL << DCMI_DR_BYTE2_Pos)
6036#define DCMI_DR_BYTE2 DCMI_DR_BYTE2_Msk
6037#define DCMI_DR_BYTE3_Pos (24U)
6038#define DCMI_DR_BYTE3_Msk (0xFFUL << DCMI_DR_BYTE3_Pos)
6039#define DCMI_DR_BYTE3 DCMI_DR_BYTE3_Msk
6040
6041/******************************************************************************/
6042/* */
6043/* DMA Controller */
6044/* */
6045/******************************************************************************/
6046/******************** Bits definition for DMA_SxCR register *****************/
6047#define DMA_SxCR_CHSEL_Pos (25U)
6048#define DMA_SxCR_CHSEL_Msk (0x7UL << DMA_SxCR_CHSEL_Pos)
6049#define DMA_SxCR_CHSEL DMA_SxCR_CHSEL_Msk
6050#define DMA_SxCR_CHSEL_0 (0x1UL << DMA_SxCR_CHSEL_Pos)
6051#define DMA_SxCR_CHSEL_1 (0x2UL << DMA_SxCR_CHSEL_Pos)
6052#define DMA_SxCR_CHSEL_2 (0x4UL << DMA_SxCR_CHSEL_Pos)
6053#define DMA_SxCR_MBURST_Pos (23U)
6054#define DMA_SxCR_MBURST_Msk (0x3UL << DMA_SxCR_MBURST_Pos)
6055#define DMA_SxCR_MBURST DMA_SxCR_MBURST_Msk
6056#define DMA_SxCR_MBURST_0 (0x1UL << DMA_SxCR_MBURST_Pos)
6057#define DMA_SxCR_MBURST_1 (0x2UL << DMA_SxCR_MBURST_Pos)
6058#define DMA_SxCR_PBURST_Pos (21U)
6059#define DMA_SxCR_PBURST_Msk (0x3UL << DMA_SxCR_PBURST_Pos)
6060#define DMA_SxCR_PBURST DMA_SxCR_PBURST_Msk
6061#define DMA_SxCR_PBURST_0 (0x1UL << DMA_SxCR_PBURST_Pos)
6062#define DMA_SxCR_PBURST_1 (0x2UL << DMA_SxCR_PBURST_Pos)
6063#define DMA_SxCR_CT_Pos (19U)
6064#define DMA_SxCR_CT_Msk (0x1UL << DMA_SxCR_CT_Pos)
6065#define DMA_SxCR_CT DMA_SxCR_CT_Msk
6066#define DMA_SxCR_DBM_Pos (18U)
6067#define DMA_SxCR_DBM_Msk (0x1UL << DMA_SxCR_DBM_Pos)
6068#define DMA_SxCR_DBM DMA_SxCR_DBM_Msk
6069#define DMA_SxCR_PL_Pos (16U)
6070#define DMA_SxCR_PL_Msk (0x3UL << DMA_SxCR_PL_Pos)
6071#define DMA_SxCR_PL DMA_SxCR_PL_Msk
6072#define DMA_SxCR_PL_0 (0x1UL << DMA_SxCR_PL_Pos)
6073#define DMA_SxCR_PL_1 (0x2UL << DMA_SxCR_PL_Pos)
6074#define DMA_SxCR_PINCOS_Pos (15U)
6075#define DMA_SxCR_PINCOS_Msk (0x1UL << DMA_SxCR_PINCOS_Pos)
6076#define DMA_SxCR_PINCOS DMA_SxCR_PINCOS_Msk
6077#define DMA_SxCR_MSIZE_Pos (13U)
6078#define DMA_SxCR_MSIZE_Msk (0x3UL << DMA_SxCR_MSIZE_Pos)
6079#define DMA_SxCR_MSIZE DMA_SxCR_MSIZE_Msk
6080#define DMA_SxCR_MSIZE_0 (0x1UL << DMA_SxCR_MSIZE_Pos)
6081#define DMA_SxCR_MSIZE_1 (0x2UL << DMA_SxCR_MSIZE_Pos)
6082#define DMA_SxCR_PSIZE_Pos (11U)
6083#define DMA_SxCR_PSIZE_Msk (0x3UL << DMA_SxCR_PSIZE_Pos)
6084#define DMA_SxCR_PSIZE DMA_SxCR_PSIZE_Msk
6085#define DMA_SxCR_PSIZE_0 (0x1UL << DMA_SxCR_PSIZE_Pos)
6086#define DMA_SxCR_PSIZE_1 (0x2UL << DMA_SxCR_PSIZE_Pos)
6087#define DMA_SxCR_MINC_Pos (10U)
6088#define DMA_SxCR_MINC_Msk (0x1UL << DMA_SxCR_MINC_Pos)
6089#define DMA_SxCR_MINC DMA_SxCR_MINC_Msk
6090#define DMA_SxCR_PINC_Pos (9U)
6091#define DMA_SxCR_PINC_Msk (0x1UL << DMA_SxCR_PINC_Pos)
6092#define DMA_SxCR_PINC DMA_SxCR_PINC_Msk
6093#define DMA_SxCR_CIRC_Pos (8U)
6094#define DMA_SxCR_CIRC_Msk (0x1UL << DMA_SxCR_CIRC_Pos)
6095#define DMA_SxCR_CIRC DMA_SxCR_CIRC_Msk
6096#define DMA_SxCR_DIR_Pos (6U)
6097#define DMA_SxCR_DIR_Msk (0x3UL << DMA_SxCR_DIR_Pos)
6098#define DMA_SxCR_DIR DMA_SxCR_DIR_Msk
6099#define DMA_SxCR_DIR_0 (0x1UL << DMA_SxCR_DIR_Pos)
6100#define DMA_SxCR_DIR_1 (0x2UL << DMA_SxCR_DIR_Pos)
6101#define DMA_SxCR_PFCTRL_Pos (5U)
6102#define DMA_SxCR_PFCTRL_Msk (0x1UL << DMA_SxCR_PFCTRL_Pos)
6103#define DMA_SxCR_PFCTRL DMA_SxCR_PFCTRL_Msk
6104#define DMA_SxCR_TCIE_Pos (4U)
6105#define DMA_SxCR_TCIE_Msk (0x1UL << DMA_SxCR_TCIE_Pos)
6106#define DMA_SxCR_TCIE DMA_SxCR_TCIE_Msk
6107#define DMA_SxCR_HTIE_Pos (3U)
6108#define DMA_SxCR_HTIE_Msk (0x1UL << DMA_SxCR_HTIE_Pos)
6109#define DMA_SxCR_HTIE DMA_SxCR_HTIE_Msk
6110#define DMA_SxCR_TEIE_Pos (2U)
6111#define DMA_SxCR_TEIE_Msk (0x1UL << DMA_SxCR_TEIE_Pos)
6112#define DMA_SxCR_TEIE DMA_SxCR_TEIE_Msk
6113#define DMA_SxCR_DMEIE_Pos (1U)
6114#define DMA_SxCR_DMEIE_Msk (0x1UL << DMA_SxCR_DMEIE_Pos)
6115#define DMA_SxCR_DMEIE DMA_SxCR_DMEIE_Msk
6116#define DMA_SxCR_EN_Pos (0U)
6117#define DMA_SxCR_EN_Msk (0x1UL << DMA_SxCR_EN_Pos)
6118#define DMA_SxCR_EN DMA_SxCR_EN_Msk
6119
6120/******************** Bits definition for DMA_SxCNDTR register **************/
6121#define DMA_SxNDT_Pos (0U)
6122#define DMA_SxNDT_Msk (0xFFFFUL << DMA_SxNDT_Pos)
6123#define DMA_SxNDT DMA_SxNDT_Msk
6124#define DMA_SxNDT_0 (0x0001UL << DMA_SxNDT_Pos)
6125#define DMA_SxNDT_1 (0x0002UL << DMA_SxNDT_Pos)
6126#define DMA_SxNDT_2 (0x0004UL << DMA_SxNDT_Pos)
6127#define DMA_SxNDT_3 (0x0008UL << DMA_SxNDT_Pos)
6128#define DMA_SxNDT_4 (0x0010UL << DMA_SxNDT_Pos)
6129#define DMA_SxNDT_5 (0x0020UL << DMA_SxNDT_Pos)
6130#define DMA_SxNDT_6 (0x0040UL << DMA_SxNDT_Pos)
6131#define DMA_SxNDT_7 (0x0080UL << DMA_SxNDT_Pos)
6132#define DMA_SxNDT_8 (0x0100UL << DMA_SxNDT_Pos)
6133#define DMA_SxNDT_9 (0x0200UL << DMA_SxNDT_Pos)
6134#define DMA_SxNDT_10 (0x0400UL << DMA_SxNDT_Pos)
6135#define DMA_SxNDT_11 (0x0800UL << DMA_SxNDT_Pos)
6136#define DMA_SxNDT_12 (0x1000UL << DMA_SxNDT_Pos)
6137#define DMA_SxNDT_13 (0x2000UL << DMA_SxNDT_Pos)
6138#define DMA_SxNDT_14 (0x4000UL << DMA_SxNDT_Pos)
6139#define DMA_SxNDT_15 (0x8000UL << DMA_SxNDT_Pos)
6141/******************** Bits definition for DMA_SxFCR register ****************/
6142#define DMA_SxFCR_FEIE_Pos (7U)
6143#define DMA_SxFCR_FEIE_Msk (0x1UL << DMA_SxFCR_FEIE_Pos)
6144#define DMA_SxFCR_FEIE DMA_SxFCR_FEIE_Msk
6145#define DMA_SxFCR_FS_Pos (3U)
6146#define DMA_SxFCR_FS_Msk (0x7UL << DMA_SxFCR_FS_Pos)
6147#define DMA_SxFCR_FS DMA_SxFCR_FS_Msk
6148#define DMA_SxFCR_FS_0 (0x1UL << DMA_SxFCR_FS_Pos)
6149#define DMA_SxFCR_FS_1 (0x2UL << DMA_SxFCR_FS_Pos)
6150#define DMA_SxFCR_FS_2 (0x4UL << DMA_SxFCR_FS_Pos)
6151#define DMA_SxFCR_DMDIS_Pos (2U)
6152#define DMA_SxFCR_DMDIS_Msk (0x1UL << DMA_SxFCR_DMDIS_Pos)
6153#define DMA_SxFCR_DMDIS DMA_SxFCR_DMDIS_Msk
6154#define DMA_SxFCR_FTH_Pos (0U)
6155#define DMA_SxFCR_FTH_Msk (0x3UL << DMA_SxFCR_FTH_Pos)
6156#define DMA_SxFCR_FTH DMA_SxFCR_FTH_Msk
6157#define DMA_SxFCR_FTH_0 (0x1UL << DMA_SxFCR_FTH_Pos)
6158#define DMA_SxFCR_FTH_1 (0x2UL << DMA_SxFCR_FTH_Pos)
6160/******************** Bits definition for DMA_LISR register *****************/
6161#define DMA_LISR_TCIF3_Pos (27U)
6162#define DMA_LISR_TCIF3_Msk (0x1UL << DMA_LISR_TCIF3_Pos)
6163#define DMA_LISR_TCIF3 DMA_LISR_TCIF3_Msk
6164#define DMA_LISR_HTIF3_Pos (26U)
6165#define DMA_LISR_HTIF3_Msk (0x1UL << DMA_LISR_HTIF3_Pos)
6166#define DMA_LISR_HTIF3 DMA_LISR_HTIF3_Msk
6167#define DMA_LISR_TEIF3_Pos (25U)
6168#define DMA_LISR_TEIF3_Msk (0x1UL << DMA_LISR_TEIF3_Pos)
6169#define DMA_LISR_TEIF3 DMA_LISR_TEIF3_Msk
6170#define DMA_LISR_DMEIF3_Pos (24U)
6171#define DMA_LISR_DMEIF3_Msk (0x1UL << DMA_LISR_DMEIF3_Pos)
6172#define DMA_LISR_DMEIF3 DMA_LISR_DMEIF3_Msk
6173#define DMA_LISR_FEIF3_Pos (22U)
6174#define DMA_LISR_FEIF3_Msk (0x1UL << DMA_LISR_FEIF3_Pos)
6175#define DMA_LISR_FEIF3 DMA_LISR_FEIF3_Msk
6176#define DMA_LISR_TCIF2_Pos (21U)
6177#define DMA_LISR_TCIF2_Msk (0x1UL << DMA_LISR_TCIF2_Pos)
6178#define DMA_LISR_TCIF2 DMA_LISR_TCIF2_Msk
6179#define DMA_LISR_HTIF2_Pos (20U)
6180#define DMA_LISR_HTIF2_Msk (0x1UL << DMA_LISR_HTIF2_Pos)
6181#define DMA_LISR_HTIF2 DMA_LISR_HTIF2_Msk
6182#define DMA_LISR_TEIF2_Pos (19U)
6183#define DMA_LISR_TEIF2_Msk (0x1UL << DMA_LISR_TEIF2_Pos)
6184#define DMA_LISR_TEIF2 DMA_LISR_TEIF2_Msk
6185#define DMA_LISR_DMEIF2_Pos (18U)
6186#define DMA_LISR_DMEIF2_Msk (0x1UL << DMA_LISR_DMEIF2_Pos)
6187#define DMA_LISR_DMEIF2 DMA_LISR_DMEIF2_Msk
6188#define DMA_LISR_FEIF2_Pos (16U)
6189#define DMA_LISR_FEIF2_Msk (0x1UL << DMA_LISR_FEIF2_Pos)
6190#define DMA_LISR_FEIF2 DMA_LISR_FEIF2_Msk
6191#define DMA_LISR_TCIF1_Pos (11U)
6192#define DMA_LISR_TCIF1_Msk (0x1UL << DMA_LISR_TCIF1_Pos)
6193#define DMA_LISR_TCIF1 DMA_LISR_TCIF1_Msk
6194#define DMA_LISR_HTIF1_Pos (10U)
6195#define DMA_LISR_HTIF1_Msk (0x1UL << DMA_LISR_HTIF1_Pos)
6196#define DMA_LISR_HTIF1 DMA_LISR_HTIF1_Msk
6197#define DMA_LISR_TEIF1_Pos (9U)
6198#define DMA_LISR_TEIF1_Msk (0x1UL << DMA_LISR_TEIF1_Pos)
6199#define DMA_LISR_TEIF1 DMA_LISR_TEIF1_Msk
6200#define DMA_LISR_DMEIF1_Pos (8U)
6201#define DMA_LISR_DMEIF1_Msk (0x1UL << DMA_LISR_DMEIF1_Pos)
6202#define DMA_LISR_DMEIF1 DMA_LISR_DMEIF1_Msk
6203#define DMA_LISR_FEIF1_Pos (6U)
6204#define DMA_LISR_FEIF1_Msk (0x1UL << DMA_LISR_FEIF1_Pos)
6205#define DMA_LISR_FEIF1 DMA_LISR_FEIF1_Msk
6206#define DMA_LISR_TCIF0_Pos (5U)
6207#define DMA_LISR_TCIF0_Msk (0x1UL << DMA_LISR_TCIF0_Pos)
6208#define DMA_LISR_TCIF0 DMA_LISR_TCIF0_Msk
6209#define DMA_LISR_HTIF0_Pos (4U)
6210#define DMA_LISR_HTIF0_Msk (0x1UL << DMA_LISR_HTIF0_Pos)
6211#define DMA_LISR_HTIF0 DMA_LISR_HTIF0_Msk
6212#define DMA_LISR_TEIF0_Pos (3U)
6213#define DMA_LISR_TEIF0_Msk (0x1UL << DMA_LISR_TEIF0_Pos)
6214#define DMA_LISR_TEIF0 DMA_LISR_TEIF0_Msk
6215#define DMA_LISR_DMEIF0_Pos (2U)
6216#define DMA_LISR_DMEIF0_Msk (0x1UL << DMA_LISR_DMEIF0_Pos)
6217#define DMA_LISR_DMEIF0 DMA_LISR_DMEIF0_Msk
6218#define DMA_LISR_FEIF0_Pos (0U)
6219#define DMA_LISR_FEIF0_Msk (0x1UL << DMA_LISR_FEIF0_Pos)
6220#define DMA_LISR_FEIF0 DMA_LISR_FEIF0_Msk
6221
6222/******************** Bits definition for DMA_HISR register *****************/
6223#define DMA_HISR_TCIF7_Pos (27U)
6224#define DMA_HISR_TCIF7_Msk (0x1UL << DMA_HISR_TCIF7_Pos)
6225#define DMA_HISR_TCIF7 DMA_HISR_TCIF7_Msk
6226#define DMA_HISR_HTIF7_Pos (26U)
6227#define DMA_HISR_HTIF7_Msk (0x1UL << DMA_HISR_HTIF7_Pos)
6228#define DMA_HISR_HTIF7 DMA_HISR_HTIF7_Msk
6229#define DMA_HISR_TEIF7_Pos (25U)
6230#define DMA_HISR_TEIF7_Msk (0x1UL << DMA_HISR_TEIF7_Pos)
6231#define DMA_HISR_TEIF7 DMA_HISR_TEIF7_Msk
6232#define DMA_HISR_DMEIF7_Pos (24U)
6233#define DMA_HISR_DMEIF7_Msk (0x1UL << DMA_HISR_DMEIF7_Pos)
6234#define DMA_HISR_DMEIF7 DMA_HISR_DMEIF7_Msk
6235#define DMA_HISR_FEIF7_Pos (22U)
6236#define DMA_HISR_FEIF7_Msk (0x1UL << DMA_HISR_FEIF7_Pos)
6237#define DMA_HISR_FEIF7 DMA_HISR_FEIF7_Msk
6238#define DMA_HISR_TCIF6_Pos (21U)
6239#define DMA_HISR_TCIF6_Msk (0x1UL << DMA_HISR_TCIF6_Pos)
6240#define DMA_HISR_TCIF6 DMA_HISR_TCIF6_Msk
6241#define DMA_HISR_HTIF6_Pos (20U)
6242#define DMA_HISR_HTIF6_Msk (0x1UL << DMA_HISR_HTIF6_Pos)
6243#define DMA_HISR_HTIF6 DMA_HISR_HTIF6_Msk
6244#define DMA_HISR_TEIF6_Pos (19U)
6245#define DMA_HISR_TEIF6_Msk (0x1UL << DMA_HISR_TEIF6_Pos)
6246#define DMA_HISR_TEIF6 DMA_HISR_TEIF6_Msk
6247#define DMA_HISR_DMEIF6_Pos (18U)
6248#define DMA_HISR_DMEIF6_Msk (0x1UL << DMA_HISR_DMEIF6_Pos)
6249#define DMA_HISR_DMEIF6 DMA_HISR_DMEIF6_Msk
6250#define DMA_HISR_FEIF6_Pos (16U)
6251#define DMA_HISR_FEIF6_Msk (0x1UL << DMA_HISR_FEIF6_Pos)
6252#define DMA_HISR_FEIF6 DMA_HISR_FEIF6_Msk
6253#define DMA_HISR_TCIF5_Pos (11U)
6254#define DMA_HISR_TCIF5_Msk (0x1UL << DMA_HISR_TCIF5_Pos)
6255#define DMA_HISR_TCIF5 DMA_HISR_TCIF5_Msk
6256#define DMA_HISR_HTIF5_Pos (10U)
6257#define DMA_HISR_HTIF5_Msk (0x1UL << DMA_HISR_HTIF5_Pos)
6258#define DMA_HISR_HTIF5 DMA_HISR_HTIF5_Msk
6259#define DMA_HISR_TEIF5_Pos (9U)
6260#define DMA_HISR_TEIF5_Msk (0x1UL << DMA_HISR_TEIF5_Pos)
6261#define DMA_HISR_TEIF5 DMA_HISR_TEIF5_Msk
6262#define DMA_HISR_DMEIF5_Pos (8U)
6263#define DMA_HISR_DMEIF5_Msk (0x1UL << DMA_HISR_DMEIF5_Pos)
6264#define DMA_HISR_DMEIF5 DMA_HISR_DMEIF5_Msk
6265#define DMA_HISR_FEIF5_Pos (6U)
6266#define DMA_HISR_FEIF5_Msk (0x1UL << DMA_HISR_FEIF5_Pos)
6267#define DMA_HISR_FEIF5 DMA_HISR_FEIF5_Msk
6268#define DMA_HISR_TCIF4_Pos (5U)
6269#define DMA_HISR_TCIF4_Msk (0x1UL << DMA_HISR_TCIF4_Pos)
6270#define DMA_HISR_TCIF4 DMA_HISR_TCIF4_Msk
6271#define DMA_HISR_HTIF4_Pos (4U)
6272#define DMA_HISR_HTIF4_Msk (0x1UL << DMA_HISR_HTIF4_Pos)
6273#define DMA_HISR_HTIF4 DMA_HISR_HTIF4_Msk
6274#define DMA_HISR_TEIF4_Pos (3U)
6275#define DMA_HISR_TEIF4_Msk (0x1UL << DMA_HISR_TEIF4_Pos)
6276#define DMA_HISR_TEIF4 DMA_HISR_TEIF4_Msk
6277#define DMA_HISR_DMEIF4_Pos (2U)
6278#define DMA_HISR_DMEIF4_Msk (0x1UL << DMA_HISR_DMEIF4_Pos)
6279#define DMA_HISR_DMEIF4 DMA_HISR_DMEIF4_Msk
6280#define DMA_HISR_FEIF4_Pos (0U)
6281#define DMA_HISR_FEIF4_Msk (0x1UL << DMA_HISR_FEIF4_Pos)
6282#define DMA_HISR_FEIF4 DMA_HISR_FEIF4_Msk
6283
6284/******************** Bits definition for DMA_LIFCR register ****************/
6285#define DMA_LIFCR_CTCIF3_Pos (27U)
6286#define DMA_LIFCR_CTCIF3_Msk (0x1UL << DMA_LIFCR_CTCIF3_Pos)
6287#define DMA_LIFCR_CTCIF3 DMA_LIFCR_CTCIF3_Msk
6288#define DMA_LIFCR_CHTIF3_Pos (26U)
6289#define DMA_LIFCR_CHTIF3_Msk (0x1UL << DMA_LIFCR_CHTIF3_Pos)
6290#define DMA_LIFCR_CHTIF3 DMA_LIFCR_CHTIF3_Msk
6291#define DMA_LIFCR_CTEIF3_Pos (25U)
6292#define DMA_LIFCR_CTEIF3_Msk (0x1UL << DMA_LIFCR_CTEIF3_Pos)
6293#define DMA_LIFCR_CTEIF3 DMA_LIFCR_CTEIF3_Msk
6294#define DMA_LIFCR_CDMEIF3_Pos (24U)
6295#define DMA_LIFCR_CDMEIF3_Msk (0x1UL << DMA_LIFCR_CDMEIF3_Pos)
6296#define DMA_LIFCR_CDMEIF3 DMA_LIFCR_CDMEIF3_Msk
6297#define DMA_LIFCR_CFEIF3_Pos (22U)
6298#define DMA_LIFCR_CFEIF3_Msk (0x1UL << DMA_LIFCR_CFEIF3_Pos)
6299#define DMA_LIFCR_CFEIF3 DMA_LIFCR_CFEIF3_Msk
6300#define DMA_LIFCR_CTCIF2_Pos (21U)
6301#define DMA_LIFCR_CTCIF2_Msk (0x1UL << DMA_LIFCR_CTCIF2_Pos)
6302#define DMA_LIFCR_CTCIF2 DMA_LIFCR_CTCIF2_Msk
6303#define DMA_LIFCR_CHTIF2_Pos (20U)
6304#define DMA_LIFCR_CHTIF2_Msk (0x1UL << DMA_LIFCR_CHTIF2_Pos)
6305#define DMA_LIFCR_CHTIF2 DMA_LIFCR_CHTIF2_Msk
6306#define DMA_LIFCR_CTEIF2_Pos (19U)
6307#define DMA_LIFCR_CTEIF2_Msk (0x1UL << DMA_LIFCR_CTEIF2_Pos)
6308#define DMA_LIFCR_CTEIF2 DMA_LIFCR_CTEIF2_Msk
6309#define DMA_LIFCR_CDMEIF2_Pos (18U)
6310#define DMA_LIFCR_CDMEIF2_Msk (0x1UL << DMA_LIFCR_CDMEIF2_Pos)
6311#define DMA_LIFCR_CDMEIF2 DMA_LIFCR_CDMEIF2_Msk
6312#define DMA_LIFCR_CFEIF2_Pos (16U)
6313#define DMA_LIFCR_CFEIF2_Msk (0x1UL << DMA_LIFCR_CFEIF2_Pos)
6314#define DMA_LIFCR_CFEIF2 DMA_LIFCR_CFEIF2_Msk
6315#define DMA_LIFCR_CTCIF1_Pos (11U)
6316#define DMA_LIFCR_CTCIF1_Msk (0x1UL << DMA_LIFCR_CTCIF1_Pos)
6317#define DMA_LIFCR_CTCIF1 DMA_LIFCR_CTCIF1_Msk
6318#define DMA_LIFCR_CHTIF1_Pos (10U)
6319#define DMA_LIFCR_CHTIF1_Msk (0x1UL << DMA_LIFCR_CHTIF1_Pos)
6320#define DMA_LIFCR_CHTIF1 DMA_LIFCR_CHTIF1_Msk
6321#define DMA_LIFCR_CTEIF1_Pos (9U)
6322#define DMA_LIFCR_CTEIF1_Msk (0x1UL << DMA_LIFCR_CTEIF1_Pos)
6323#define DMA_LIFCR_CTEIF1 DMA_LIFCR_CTEIF1_Msk
6324#define DMA_LIFCR_CDMEIF1_Pos (8U)
6325#define DMA_LIFCR_CDMEIF1_Msk (0x1UL << DMA_LIFCR_CDMEIF1_Pos)
6326#define DMA_LIFCR_CDMEIF1 DMA_LIFCR_CDMEIF1_Msk
6327#define DMA_LIFCR_CFEIF1_Pos (6U)
6328#define DMA_LIFCR_CFEIF1_Msk (0x1UL << DMA_LIFCR_CFEIF1_Pos)
6329#define DMA_LIFCR_CFEIF1 DMA_LIFCR_CFEIF1_Msk
6330#define DMA_LIFCR_CTCIF0_Pos (5U)
6331#define DMA_LIFCR_CTCIF0_Msk (0x1UL << DMA_LIFCR_CTCIF0_Pos)
6332#define DMA_LIFCR_CTCIF0 DMA_LIFCR_CTCIF0_Msk
6333#define DMA_LIFCR_CHTIF0_Pos (4U)
6334#define DMA_LIFCR_CHTIF0_Msk (0x1UL << DMA_LIFCR_CHTIF0_Pos)
6335#define DMA_LIFCR_CHTIF0 DMA_LIFCR_CHTIF0_Msk
6336#define DMA_LIFCR_CTEIF0_Pos (3U)
6337#define DMA_LIFCR_CTEIF0_Msk (0x1UL << DMA_LIFCR_CTEIF0_Pos)
6338#define DMA_LIFCR_CTEIF0 DMA_LIFCR_CTEIF0_Msk
6339#define DMA_LIFCR_CDMEIF0_Pos (2U)
6340#define DMA_LIFCR_CDMEIF0_Msk (0x1UL << DMA_LIFCR_CDMEIF0_Pos)
6341#define DMA_LIFCR_CDMEIF0 DMA_LIFCR_CDMEIF0_Msk
6342#define DMA_LIFCR_CFEIF0_Pos (0U)
6343#define DMA_LIFCR_CFEIF0_Msk (0x1UL << DMA_LIFCR_CFEIF0_Pos)
6344#define DMA_LIFCR_CFEIF0 DMA_LIFCR_CFEIF0_Msk
6345
6346/******************** Bits definition for DMA_HIFCR register ****************/
6347#define DMA_HIFCR_CTCIF7_Pos (27U)
6348#define DMA_HIFCR_CTCIF7_Msk (0x1UL << DMA_HIFCR_CTCIF7_Pos)
6349#define DMA_HIFCR_CTCIF7 DMA_HIFCR_CTCIF7_Msk
6350#define DMA_HIFCR_CHTIF7_Pos (26U)
6351#define DMA_HIFCR_CHTIF7_Msk (0x1UL << DMA_HIFCR_CHTIF7_Pos)
6352#define DMA_HIFCR_CHTIF7 DMA_HIFCR_CHTIF7_Msk
6353#define DMA_HIFCR_CTEIF7_Pos (25U)
6354#define DMA_HIFCR_CTEIF7_Msk (0x1UL << DMA_HIFCR_CTEIF7_Pos)
6355#define DMA_HIFCR_CTEIF7 DMA_HIFCR_CTEIF7_Msk
6356#define DMA_HIFCR_CDMEIF7_Pos (24U)
6357#define DMA_HIFCR_CDMEIF7_Msk (0x1UL << DMA_HIFCR_CDMEIF7_Pos)
6358#define DMA_HIFCR_CDMEIF7 DMA_HIFCR_CDMEIF7_Msk
6359#define DMA_HIFCR_CFEIF7_Pos (22U)
6360#define DMA_HIFCR_CFEIF7_Msk (0x1UL << DMA_HIFCR_CFEIF7_Pos)
6361#define DMA_HIFCR_CFEIF7 DMA_HIFCR_CFEIF7_Msk
6362#define DMA_HIFCR_CTCIF6_Pos (21U)
6363#define DMA_HIFCR_CTCIF6_Msk (0x1UL << DMA_HIFCR_CTCIF6_Pos)
6364#define DMA_HIFCR_CTCIF6 DMA_HIFCR_CTCIF6_Msk
6365#define DMA_HIFCR_CHTIF6_Pos (20U)
6366#define DMA_HIFCR_CHTIF6_Msk (0x1UL << DMA_HIFCR_CHTIF6_Pos)
6367#define DMA_HIFCR_CHTIF6 DMA_HIFCR_CHTIF6_Msk
6368#define DMA_HIFCR_CTEIF6_Pos (19U)
6369#define DMA_HIFCR_CTEIF6_Msk (0x1UL << DMA_HIFCR_CTEIF6_Pos)
6370#define DMA_HIFCR_CTEIF6 DMA_HIFCR_CTEIF6_Msk
6371#define DMA_HIFCR_CDMEIF6_Pos (18U)
6372#define DMA_HIFCR_CDMEIF6_Msk (0x1UL << DMA_HIFCR_CDMEIF6_Pos)
6373#define DMA_HIFCR_CDMEIF6 DMA_HIFCR_CDMEIF6_Msk
6374#define DMA_HIFCR_CFEIF6_Pos (16U)
6375#define DMA_HIFCR_CFEIF6_Msk (0x1UL << DMA_HIFCR_CFEIF6_Pos)
6376#define DMA_HIFCR_CFEIF6 DMA_HIFCR_CFEIF6_Msk
6377#define DMA_HIFCR_CTCIF5_Pos (11U)
6378#define DMA_HIFCR_CTCIF5_Msk (0x1UL << DMA_HIFCR_CTCIF5_Pos)
6379#define DMA_HIFCR_CTCIF5 DMA_HIFCR_CTCIF5_Msk
6380#define DMA_HIFCR_CHTIF5_Pos (10U)
6381#define DMA_HIFCR_CHTIF5_Msk (0x1UL << DMA_HIFCR_CHTIF5_Pos)
6382#define DMA_HIFCR_CHTIF5 DMA_HIFCR_CHTIF5_Msk
6383#define DMA_HIFCR_CTEIF5_Pos (9U)
6384#define DMA_HIFCR_CTEIF5_Msk (0x1UL << DMA_HIFCR_CTEIF5_Pos)
6385#define DMA_HIFCR_CTEIF5 DMA_HIFCR_CTEIF5_Msk
6386#define DMA_HIFCR_CDMEIF5_Pos (8U)
6387#define DMA_HIFCR_CDMEIF5_Msk (0x1UL << DMA_HIFCR_CDMEIF5_Pos)
6388#define DMA_HIFCR_CDMEIF5 DMA_HIFCR_CDMEIF5_Msk
6389#define DMA_HIFCR_CFEIF5_Pos (6U)
6390#define DMA_HIFCR_CFEIF5_Msk (0x1UL << DMA_HIFCR_CFEIF5_Pos)
6391#define DMA_HIFCR_CFEIF5 DMA_HIFCR_CFEIF5_Msk
6392#define DMA_HIFCR_CTCIF4_Pos (5U)
6393#define DMA_HIFCR_CTCIF4_Msk (0x1UL << DMA_HIFCR_CTCIF4_Pos)
6394#define DMA_HIFCR_CTCIF4 DMA_HIFCR_CTCIF4_Msk
6395#define DMA_HIFCR_CHTIF4_Pos (4U)
6396#define DMA_HIFCR_CHTIF4_Msk (0x1UL << DMA_HIFCR_CHTIF4_Pos)
6397#define DMA_HIFCR_CHTIF4 DMA_HIFCR_CHTIF4_Msk
6398#define DMA_HIFCR_CTEIF4_Pos (3U)
6399#define DMA_HIFCR_CTEIF4_Msk (0x1UL << DMA_HIFCR_CTEIF4_Pos)
6400#define DMA_HIFCR_CTEIF4 DMA_HIFCR_CTEIF4_Msk
6401#define DMA_HIFCR_CDMEIF4_Pos (2U)
6402#define DMA_HIFCR_CDMEIF4_Msk (0x1UL << DMA_HIFCR_CDMEIF4_Pos)
6403#define DMA_HIFCR_CDMEIF4 DMA_HIFCR_CDMEIF4_Msk
6404#define DMA_HIFCR_CFEIF4_Pos (0U)
6405#define DMA_HIFCR_CFEIF4_Msk (0x1UL << DMA_HIFCR_CFEIF4_Pos)
6406#define DMA_HIFCR_CFEIF4 DMA_HIFCR_CFEIF4_Msk
6407
6408/****************** Bit definition for DMA_SxPAR register ********************/
6409#define DMA_SxPAR_PA_Pos (0U)
6410#define DMA_SxPAR_PA_Msk (0xFFFFFFFFUL << DMA_SxPAR_PA_Pos)
6411#define DMA_SxPAR_PA DMA_SxPAR_PA_Msk
6413/****************** Bit definition for DMA_SxM0AR register ********************/
6414#define DMA_SxM0AR_M0A_Pos (0U)
6415#define DMA_SxM0AR_M0A_Msk (0xFFFFFFFFUL << DMA_SxM0AR_M0A_Pos)
6416#define DMA_SxM0AR_M0A DMA_SxM0AR_M0A_Msk
6418/****************** Bit definition for DMA_SxM1AR register ********************/
6419#define DMA_SxM1AR_M1A_Pos (0U)
6420#define DMA_SxM1AR_M1A_Msk (0xFFFFFFFFUL << DMA_SxM1AR_M1A_Pos)
6421#define DMA_SxM1AR_M1A DMA_SxM1AR_M1A_Msk
6423/******************************************************************************/
6424/* */
6425/* AHB Master DMA2D Controller (DMA2D) */
6426/* */
6427/******************************************************************************/
6428/******************** Bit definition for DMA2D_CR register ******************/
6429
6430#define DMA2D_CR_START_Pos (0U)
6431#define DMA2D_CR_START_Msk (0x1UL << DMA2D_CR_START_Pos)
6432#define DMA2D_CR_START DMA2D_CR_START_Msk
6433#define DMA2D_CR_SUSP_Pos (1U)
6434#define DMA2D_CR_SUSP_Msk (0x1UL << DMA2D_CR_SUSP_Pos)
6435#define DMA2D_CR_SUSP DMA2D_CR_SUSP_Msk
6436#define DMA2D_CR_ABORT_Pos (2U)
6437#define DMA2D_CR_ABORT_Msk (0x1UL << DMA2D_CR_ABORT_Pos)
6438#define DMA2D_CR_ABORT DMA2D_CR_ABORT_Msk
6439#define DMA2D_CR_TEIE_Pos (8U)
6440#define DMA2D_CR_TEIE_Msk (0x1UL << DMA2D_CR_TEIE_Pos)
6441#define DMA2D_CR_TEIE DMA2D_CR_TEIE_Msk
6442#define DMA2D_CR_TCIE_Pos (9U)
6443#define DMA2D_CR_TCIE_Msk (0x1UL << DMA2D_CR_TCIE_Pos)
6444#define DMA2D_CR_TCIE DMA2D_CR_TCIE_Msk
6445#define DMA2D_CR_TWIE_Pos (10U)
6446#define DMA2D_CR_TWIE_Msk (0x1UL << DMA2D_CR_TWIE_Pos)
6447#define DMA2D_CR_TWIE DMA2D_CR_TWIE_Msk
6448#define DMA2D_CR_CAEIE_Pos (11U)
6449#define DMA2D_CR_CAEIE_Msk (0x1UL << DMA2D_CR_CAEIE_Pos)
6450#define DMA2D_CR_CAEIE DMA2D_CR_CAEIE_Msk
6451#define DMA2D_CR_CTCIE_Pos (12U)
6452#define DMA2D_CR_CTCIE_Msk (0x1UL << DMA2D_CR_CTCIE_Pos)
6453#define DMA2D_CR_CTCIE DMA2D_CR_CTCIE_Msk
6454#define DMA2D_CR_CEIE_Pos (13U)
6455#define DMA2D_CR_CEIE_Msk (0x1UL << DMA2D_CR_CEIE_Pos)
6456#define DMA2D_CR_CEIE DMA2D_CR_CEIE_Msk
6457#define DMA2D_CR_MODE_Pos (16U)
6458#define DMA2D_CR_MODE_Msk (0x3UL << DMA2D_CR_MODE_Pos)
6459#define DMA2D_CR_MODE DMA2D_CR_MODE_Msk
6460#define DMA2D_CR_MODE_0 (0x1UL << DMA2D_CR_MODE_Pos)
6461#define DMA2D_CR_MODE_1 (0x2UL << DMA2D_CR_MODE_Pos)
6463/******************** Bit definition for DMA2D_ISR register *****************/
6464
6465#define DMA2D_ISR_TEIF_Pos (0U)
6466#define DMA2D_ISR_TEIF_Msk (0x1UL << DMA2D_ISR_TEIF_Pos)
6467#define DMA2D_ISR_TEIF DMA2D_ISR_TEIF_Msk
6468#define DMA2D_ISR_TCIF_Pos (1U)
6469#define DMA2D_ISR_TCIF_Msk (0x1UL << DMA2D_ISR_TCIF_Pos)
6470#define DMA2D_ISR_TCIF DMA2D_ISR_TCIF_Msk
6471#define DMA2D_ISR_TWIF_Pos (2U)
6472#define DMA2D_ISR_TWIF_Msk (0x1UL << DMA2D_ISR_TWIF_Pos)
6473#define DMA2D_ISR_TWIF DMA2D_ISR_TWIF_Msk
6474#define DMA2D_ISR_CAEIF_Pos (3U)
6475#define DMA2D_ISR_CAEIF_Msk (0x1UL << DMA2D_ISR_CAEIF_Pos)
6476#define DMA2D_ISR_CAEIF DMA2D_ISR_CAEIF_Msk
6477#define DMA2D_ISR_CTCIF_Pos (4U)
6478#define DMA2D_ISR_CTCIF_Msk (0x1UL << DMA2D_ISR_CTCIF_Pos)
6479#define DMA2D_ISR_CTCIF DMA2D_ISR_CTCIF_Msk
6480#define DMA2D_ISR_CEIF_Pos (5U)
6481#define DMA2D_ISR_CEIF_Msk (0x1UL << DMA2D_ISR_CEIF_Pos)
6482#define DMA2D_ISR_CEIF DMA2D_ISR_CEIF_Msk
6484/******************** Bit definition for DMA2D_IFCR register ****************/
6485
6486#define DMA2D_IFCR_CTEIF_Pos (0U)
6487#define DMA2D_IFCR_CTEIF_Msk (0x1UL << DMA2D_IFCR_CTEIF_Pos)
6488#define DMA2D_IFCR_CTEIF DMA2D_IFCR_CTEIF_Msk
6489#define DMA2D_IFCR_CTCIF_Pos (1U)
6490#define DMA2D_IFCR_CTCIF_Msk (0x1UL << DMA2D_IFCR_CTCIF_Pos)
6491#define DMA2D_IFCR_CTCIF DMA2D_IFCR_CTCIF_Msk
6492#define DMA2D_IFCR_CTWIF_Pos (2U)
6493#define DMA2D_IFCR_CTWIF_Msk (0x1UL << DMA2D_IFCR_CTWIF_Pos)
6494#define DMA2D_IFCR_CTWIF DMA2D_IFCR_CTWIF_Msk
6495#define DMA2D_IFCR_CAECIF_Pos (3U)
6496#define DMA2D_IFCR_CAECIF_Msk (0x1UL << DMA2D_IFCR_CAECIF_Pos)
6497#define DMA2D_IFCR_CAECIF DMA2D_IFCR_CAECIF_Msk
6498#define DMA2D_IFCR_CCTCIF_Pos (4U)
6499#define DMA2D_IFCR_CCTCIF_Msk (0x1UL << DMA2D_IFCR_CCTCIF_Pos)
6500#define DMA2D_IFCR_CCTCIF DMA2D_IFCR_CCTCIF_Msk
6501#define DMA2D_IFCR_CCEIF_Pos (5U)
6502#define DMA2D_IFCR_CCEIF_Msk (0x1UL << DMA2D_IFCR_CCEIF_Pos)
6503#define DMA2D_IFCR_CCEIF DMA2D_IFCR_CCEIF_Msk
6505/* Legacy defines */
6506#define DMA2D_IFSR_CTEIF DMA2D_IFCR_CTEIF
6507#define DMA2D_IFSR_CTCIF DMA2D_IFCR_CTCIF
6508#define DMA2D_IFSR_CTWIF DMA2D_IFCR_CTWIF
6509#define DMA2D_IFSR_CCAEIF DMA2D_IFCR_CAECIF
6510#define DMA2D_IFSR_CCTCIF DMA2D_IFCR_CCTCIF
6511#define DMA2D_IFSR_CCEIF DMA2D_IFCR_CCEIF
6513/******************** Bit definition for DMA2D_FGMAR register ***************/
6514
6515#define DMA2D_FGMAR_MA_Pos (0U)
6516#define DMA2D_FGMAR_MA_Msk (0xFFFFFFFFUL << DMA2D_FGMAR_MA_Pos)
6517#define DMA2D_FGMAR_MA DMA2D_FGMAR_MA_Msk
6519/******************** Bit definition for DMA2D_FGOR register ****************/
6520
6521#define DMA2D_FGOR_LO_Pos (0U)
6522#define DMA2D_FGOR_LO_Msk (0x3FFFUL << DMA2D_FGOR_LO_Pos)
6523#define DMA2D_FGOR_LO DMA2D_FGOR_LO_Msk
6525/******************** Bit definition for DMA2D_BGMAR register ***************/
6526
6527#define DMA2D_BGMAR_MA_Pos (0U)
6528#define DMA2D_BGMAR_MA_Msk (0xFFFFFFFFUL << DMA2D_BGMAR_MA_Pos)
6529#define DMA2D_BGMAR_MA DMA2D_BGMAR_MA_Msk
6531/******************** Bit definition for DMA2D_BGOR register ****************/
6532
6533#define DMA2D_BGOR_LO_Pos (0U)
6534#define DMA2D_BGOR_LO_Msk (0x3FFFUL << DMA2D_BGOR_LO_Pos)
6535#define DMA2D_BGOR_LO DMA2D_BGOR_LO_Msk
6537/******************** Bit definition for DMA2D_FGPFCCR register *************/
6538
6539#define DMA2D_FGPFCCR_CM_Pos (0U)
6540#define DMA2D_FGPFCCR_CM_Msk (0xFUL << DMA2D_FGPFCCR_CM_Pos)
6541#define DMA2D_FGPFCCR_CM DMA2D_FGPFCCR_CM_Msk
6542#define DMA2D_FGPFCCR_CM_0 (0x1UL << DMA2D_FGPFCCR_CM_Pos)
6543#define DMA2D_FGPFCCR_CM_1 (0x2UL << DMA2D_FGPFCCR_CM_Pos)
6544#define DMA2D_FGPFCCR_CM_2 (0x4UL << DMA2D_FGPFCCR_CM_Pos)
6545#define DMA2D_FGPFCCR_CM_3 (0x8UL << DMA2D_FGPFCCR_CM_Pos)
6546#define DMA2D_FGPFCCR_CCM_Pos (4U)
6547#define DMA2D_FGPFCCR_CCM_Msk (0x1UL << DMA2D_FGPFCCR_CCM_Pos)
6548#define DMA2D_FGPFCCR_CCM DMA2D_FGPFCCR_CCM_Msk
6549#define DMA2D_FGPFCCR_START_Pos (5U)
6550#define DMA2D_FGPFCCR_START_Msk (0x1UL << DMA2D_FGPFCCR_START_Pos)
6551#define DMA2D_FGPFCCR_START DMA2D_FGPFCCR_START_Msk
6552#define DMA2D_FGPFCCR_CS_Pos (8U)
6553#define DMA2D_FGPFCCR_CS_Msk (0xFFUL << DMA2D_FGPFCCR_CS_Pos)
6554#define DMA2D_FGPFCCR_CS DMA2D_FGPFCCR_CS_Msk
6555#define DMA2D_FGPFCCR_AM_Pos (16U)
6556#define DMA2D_FGPFCCR_AM_Msk (0x3UL << DMA2D_FGPFCCR_AM_Pos)
6557#define DMA2D_FGPFCCR_AM DMA2D_FGPFCCR_AM_Msk
6558#define DMA2D_FGPFCCR_AM_0 (0x1UL << DMA2D_FGPFCCR_AM_Pos)
6559#define DMA2D_FGPFCCR_AM_1 (0x2UL << DMA2D_FGPFCCR_AM_Pos)
6560#define DMA2D_FGPFCCR_ALPHA_Pos (24U)
6561#define DMA2D_FGPFCCR_ALPHA_Msk (0xFFUL << DMA2D_FGPFCCR_ALPHA_Pos)
6562#define DMA2D_FGPFCCR_ALPHA DMA2D_FGPFCCR_ALPHA_Msk
6564/******************** Bit definition for DMA2D_FGCOLR register **************/
6565
6566#define DMA2D_FGCOLR_BLUE_Pos (0U)
6567#define DMA2D_FGCOLR_BLUE_Msk (0xFFUL << DMA2D_FGCOLR_BLUE_Pos)
6568#define DMA2D_FGCOLR_BLUE DMA2D_FGCOLR_BLUE_Msk
6569#define DMA2D_FGCOLR_GREEN_Pos (8U)
6570#define DMA2D_FGCOLR_GREEN_Msk (0xFFUL << DMA2D_FGCOLR_GREEN_Pos)
6571#define DMA2D_FGCOLR_GREEN DMA2D_FGCOLR_GREEN_Msk
6572#define DMA2D_FGCOLR_RED_Pos (16U)
6573#define DMA2D_FGCOLR_RED_Msk (0xFFUL << DMA2D_FGCOLR_RED_Pos)
6574#define DMA2D_FGCOLR_RED DMA2D_FGCOLR_RED_Msk
6576/******************** Bit definition for DMA2D_BGPFCCR register *************/
6577
6578#define DMA2D_BGPFCCR_CM_Pos (0U)
6579#define DMA2D_BGPFCCR_CM_Msk (0xFUL << DMA2D_BGPFCCR_CM_Pos)
6580#define DMA2D_BGPFCCR_CM DMA2D_BGPFCCR_CM_Msk
6581#define DMA2D_BGPFCCR_CM_0 (0x1UL << DMA2D_BGPFCCR_CM_Pos)
6582#define DMA2D_BGPFCCR_CM_1 (0x2UL << DMA2D_BGPFCCR_CM_Pos)
6583#define DMA2D_BGPFCCR_CM_2 (0x4UL << DMA2D_BGPFCCR_CM_Pos)
6584#define DMA2D_BGPFCCR_CM_3 0x00000008U
6585#define DMA2D_BGPFCCR_CCM_Pos (4U)
6586#define DMA2D_BGPFCCR_CCM_Msk (0x1UL << DMA2D_BGPFCCR_CCM_Pos)
6587#define DMA2D_BGPFCCR_CCM DMA2D_BGPFCCR_CCM_Msk
6588#define DMA2D_BGPFCCR_START_Pos (5U)
6589#define DMA2D_BGPFCCR_START_Msk (0x1UL << DMA2D_BGPFCCR_START_Pos)
6590#define DMA2D_BGPFCCR_START DMA2D_BGPFCCR_START_Msk
6591#define DMA2D_BGPFCCR_CS_Pos (8U)
6592#define DMA2D_BGPFCCR_CS_Msk (0xFFUL << DMA2D_BGPFCCR_CS_Pos)
6593#define DMA2D_BGPFCCR_CS DMA2D_BGPFCCR_CS_Msk
6594#define DMA2D_BGPFCCR_AM_Pos (16U)
6595#define DMA2D_BGPFCCR_AM_Msk (0x3UL << DMA2D_BGPFCCR_AM_Pos)
6596#define DMA2D_BGPFCCR_AM DMA2D_BGPFCCR_AM_Msk
6597#define DMA2D_BGPFCCR_AM_0 (0x1UL << DMA2D_BGPFCCR_AM_Pos)
6598#define DMA2D_BGPFCCR_AM_1 (0x2UL << DMA2D_BGPFCCR_AM_Pos)
6599#define DMA2D_BGPFCCR_ALPHA_Pos (24U)
6600#define DMA2D_BGPFCCR_ALPHA_Msk (0xFFUL << DMA2D_BGPFCCR_ALPHA_Pos)
6601#define DMA2D_BGPFCCR_ALPHA DMA2D_BGPFCCR_ALPHA_Msk
6603/******************** Bit definition for DMA2D_BGCOLR register **************/
6604
6605#define DMA2D_BGCOLR_BLUE_Pos (0U)
6606#define DMA2D_BGCOLR_BLUE_Msk (0xFFUL << DMA2D_BGCOLR_BLUE_Pos)
6607#define DMA2D_BGCOLR_BLUE DMA2D_BGCOLR_BLUE_Msk
6608#define DMA2D_BGCOLR_GREEN_Pos (8U)
6609#define DMA2D_BGCOLR_GREEN_Msk (0xFFUL << DMA2D_BGCOLR_GREEN_Pos)
6610#define DMA2D_BGCOLR_GREEN DMA2D_BGCOLR_GREEN_Msk
6611#define DMA2D_BGCOLR_RED_Pos (16U)
6612#define DMA2D_BGCOLR_RED_Msk (0xFFUL << DMA2D_BGCOLR_RED_Pos)
6613#define DMA2D_BGCOLR_RED DMA2D_BGCOLR_RED_Msk
6615/******************** Bit definition for DMA2D_FGCMAR register **************/
6616
6617#define DMA2D_FGCMAR_MA_Pos (0U)
6618#define DMA2D_FGCMAR_MA_Msk (0xFFFFFFFFUL << DMA2D_FGCMAR_MA_Pos)
6619#define DMA2D_FGCMAR_MA DMA2D_FGCMAR_MA_Msk
6621/******************** Bit definition for DMA2D_BGCMAR register **************/
6622
6623#define DMA2D_BGCMAR_MA_Pos (0U)
6624#define DMA2D_BGCMAR_MA_Msk (0xFFFFFFFFUL << DMA2D_BGCMAR_MA_Pos)
6625#define DMA2D_BGCMAR_MA DMA2D_BGCMAR_MA_Msk
6627/******************** Bit definition for DMA2D_OPFCCR register **************/
6628
6629#define DMA2D_OPFCCR_CM_Pos (0U)
6630#define DMA2D_OPFCCR_CM_Msk (0x7UL << DMA2D_OPFCCR_CM_Pos)
6631#define DMA2D_OPFCCR_CM DMA2D_OPFCCR_CM_Msk
6632#define DMA2D_OPFCCR_CM_0 (0x1UL << DMA2D_OPFCCR_CM_Pos)
6633#define DMA2D_OPFCCR_CM_1 (0x2UL << DMA2D_OPFCCR_CM_Pos)
6634#define DMA2D_OPFCCR_CM_2 (0x4UL << DMA2D_OPFCCR_CM_Pos)
6636/******************** Bit definition for DMA2D_OCOLR register ***************/
6637
6640#define DMA2D_OCOLR_BLUE_1 0x000000FFU
6641#define DMA2D_OCOLR_GREEN_1 0x0000FF00U
6642#define DMA2D_OCOLR_RED_1 0x00FF0000U
6643#define DMA2D_OCOLR_ALPHA_1 0xFF000000U
6646#define DMA2D_OCOLR_BLUE_2 0x0000001FU
6647#define DMA2D_OCOLR_GREEN_2 0x000007E0U
6648#define DMA2D_OCOLR_RED_2 0x0000F800U
6651#define DMA2D_OCOLR_BLUE_3 0x0000001FU
6652#define DMA2D_OCOLR_GREEN_3 0x000003E0U
6653#define DMA2D_OCOLR_RED_3 0x00007C00U
6654#define DMA2D_OCOLR_ALPHA_3 0x00008000U
6657#define DMA2D_OCOLR_BLUE_4 0x0000000FU
6658#define DMA2D_OCOLR_GREEN_4 0x000000F0U
6659#define DMA2D_OCOLR_RED_4 0x00000F00U
6660#define DMA2D_OCOLR_ALPHA_4 0x0000F000U
6662/******************** Bit definition for DMA2D_OMAR register ****************/
6663
6664#define DMA2D_OMAR_MA_Pos (0U)
6665#define DMA2D_OMAR_MA_Msk (0xFFFFFFFFUL << DMA2D_OMAR_MA_Pos)
6666#define DMA2D_OMAR_MA DMA2D_OMAR_MA_Msk
6668/******************** Bit definition for DMA2D_OOR register *****************/
6669
6670#define DMA2D_OOR_LO_Pos (0U)
6671#define DMA2D_OOR_LO_Msk (0x3FFFUL << DMA2D_OOR_LO_Pos)
6672#define DMA2D_OOR_LO DMA2D_OOR_LO_Msk
6674/******************** Bit definition for DMA2D_NLR register *****************/
6675
6676#define DMA2D_NLR_NL_Pos (0U)
6677#define DMA2D_NLR_NL_Msk (0xFFFFUL << DMA2D_NLR_NL_Pos)
6678#define DMA2D_NLR_NL DMA2D_NLR_NL_Msk
6679#define DMA2D_NLR_PL_Pos (16U)
6680#define DMA2D_NLR_PL_Msk (0x3FFFUL << DMA2D_NLR_PL_Pos)
6681#define DMA2D_NLR_PL DMA2D_NLR_PL_Msk
6683/******************** Bit definition for DMA2D_LWR register *****************/
6684
6685#define DMA2D_LWR_LW_Pos (0U)
6686#define DMA2D_LWR_LW_Msk (0xFFFFUL << DMA2D_LWR_LW_Pos)
6687#define DMA2D_LWR_LW DMA2D_LWR_LW_Msk
6689/******************** Bit definition for DMA2D_AMTCR register ***************/
6690
6691#define DMA2D_AMTCR_EN_Pos (0U)
6692#define DMA2D_AMTCR_EN_Msk (0x1UL << DMA2D_AMTCR_EN_Pos)
6693#define DMA2D_AMTCR_EN DMA2D_AMTCR_EN_Msk
6694#define DMA2D_AMTCR_DT_Pos (8U)
6695#define DMA2D_AMTCR_DT_Msk (0xFFUL << DMA2D_AMTCR_DT_Pos)
6696#define DMA2D_AMTCR_DT DMA2D_AMTCR_DT_Msk
6699/******************** Bit definition for DMA2D_FGCLUT register **************/
6700
6701/******************** Bit definition for DMA2D_BGCLUT register **************/
6702
6703/******************************************************************************/
6704/* */
6705/* External Interrupt/Event Controller */
6706/* */
6707/******************************************************************************/
6708/******************* Bit definition for EXTI_IMR register *******************/
6709#define EXTI_IMR_MR0_Pos (0U)
6710#define EXTI_IMR_MR0_Msk (0x1UL << EXTI_IMR_MR0_Pos)
6711#define EXTI_IMR_MR0 EXTI_IMR_MR0_Msk
6712#define EXTI_IMR_MR1_Pos (1U)
6713#define EXTI_IMR_MR1_Msk (0x1UL << EXTI_IMR_MR1_Pos)
6714#define EXTI_IMR_MR1 EXTI_IMR_MR1_Msk
6715#define EXTI_IMR_MR2_Pos (2U)
6716#define EXTI_IMR_MR2_Msk (0x1UL << EXTI_IMR_MR2_Pos)
6717#define EXTI_IMR_MR2 EXTI_IMR_MR2_Msk
6718#define EXTI_IMR_MR3_Pos (3U)
6719#define EXTI_IMR_MR3_Msk (0x1UL << EXTI_IMR_MR3_Pos)
6720#define EXTI_IMR_MR3 EXTI_IMR_MR3_Msk
6721#define EXTI_IMR_MR4_Pos (4U)
6722#define EXTI_IMR_MR4_Msk (0x1UL << EXTI_IMR_MR4_Pos)
6723#define EXTI_IMR_MR4 EXTI_IMR_MR4_Msk
6724#define EXTI_IMR_MR5_Pos (5U)
6725#define EXTI_IMR_MR5_Msk (0x1UL << EXTI_IMR_MR5_Pos)
6726#define EXTI_IMR_MR5 EXTI_IMR_MR5_Msk
6727#define EXTI_IMR_MR6_Pos (6U)
6728#define EXTI_IMR_MR6_Msk (0x1UL << EXTI_IMR_MR6_Pos)
6729#define EXTI_IMR_MR6 EXTI_IMR_MR6_Msk
6730#define EXTI_IMR_MR7_Pos (7U)
6731#define EXTI_IMR_MR7_Msk (0x1UL << EXTI_IMR_MR7_Pos)
6732#define EXTI_IMR_MR7 EXTI_IMR_MR7_Msk
6733#define EXTI_IMR_MR8_Pos (8U)
6734#define EXTI_IMR_MR8_Msk (0x1UL << EXTI_IMR_MR8_Pos)
6735#define EXTI_IMR_MR8 EXTI_IMR_MR8_Msk
6736#define EXTI_IMR_MR9_Pos (9U)
6737#define EXTI_IMR_MR9_Msk (0x1UL << EXTI_IMR_MR9_Pos)
6738#define EXTI_IMR_MR9 EXTI_IMR_MR9_Msk
6739#define EXTI_IMR_MR10_Pos (10U)
6740#define EXTI_IMR_MR10_Msk (0x1UL << EXTI_IMR_MR10_Pos)
6741#define EXTI_IMR_MR10 EXTI_IMR_MR10_Msk
6742#define EXTI_IMR_MR11_Pos (11U)
6743#define EXTI_IMR_MR11_Msk (0x1UL << EXTI_IMR_MR11_Pos)
6744#define EXTI_IMR_MR11 EXTI_IMR_MR11_Msk
6745#define EXTI_IMR_MR12_Pos (12U)
6746#define EXTI_IMR_MR12_Msk (0x1UL << EXTI_IMR_MR12_Pos)
6747#define EXTI_IMR_MR12 EXTI_IMR_MR12_Msk
6748#define EXTI_IMR_MR13_Pos (13U)
6749#define EXTI_IMR_MR13_Msk (0x1UL << EXTI_IMR_MR13_Pos)
6750#define EXTI_IMR_MR13 EXTI_IMR_MR13_Msk
6751#define EXTI_IMR_MR14_Pos (14U)
6752#define EXTI_IMR_MR14_Msk (0x1UL << EXTI_IMR_MR14_Pos)
6753#define EXTI_IMR_MR14 EXTI_IMR_MR14_Msk
6754#define EXTI_IMR_MR15_Pos (15U)
6755#define EXTI_IMR_MR15_Msk (0x1UL << EXTI_IMR_MR15_Pos)
6756#define EXTI_IMR_MR15 EXTI_IMR_MR15_Msk
6757#define EXTI_IMR_MR16_Pos (16U)
6758#define EXTI_IMR_MR16_Msk (0x1UL << EXTI_IMR_MR16_Pos)
6759#define EXTI_IMR_MR16 EXTI_IMR_MR16_Msk
6760#define EXTI_IMR_MR17_Pos (17U)
6761#define EXTI_IMR_MR17_Msk (0x1UL << EXTI_IMR_MR17_Pos)
6762#define EXTI_IMR_MR17 EXTI_IMR_MR17_Msk
6763#define EXTI_IMR_MR18_Pos (18U)
6764#define EXTI_IMR_MR18_Msk (0x1UL << EXTI_IMR_MR18_Pos)
6765#define EXTI_IMR_MR18 EXTI_IMR_MR18_Msk
6766#define EXTI_IMR_MR19_Pos (19U)
6767#define EXTI_IMR_MR19_Msk (0x1UL << EXTI_IMR_MR19_Pos)
6768#define EXTI_IMR_MR19 EXTI_IMR_MR19_Msk
6769#define EXTI_IMR_MR20_Pos (20U)
6770#define EXTI_IMR_MR20_Msk (0x1UL << EXTI_IMR_MR20_Pos)
6771#define EXTI_IMR_MR20 EXTI_IMR_MR20_Msk
6772#define EXTI_IMR_MR21_Pos (21U)
6773#define EXTI_IMR_MR21_Msk (0x1UL << EXTI_IMR_MR21_Pos)
6774#define EXTI_IMR_MR21 EXTI_IMR_MR21_Msk
6775#define EXTI_IMR_MR22_Pos (22U)
6776#define EXTI_IMR_MR22_Msk (0x1UL << EXTI_IMR_MR22_Pos)
6777#define EXTI_IMR_MR22 EXTI_IMR_MR22_Msk
6778#define EXTI_IMR_MR23_Pos (23U)
6779#define EXTI_IMR_MR23_Msk (0x1UL << EXTI_IMR_MR23_Pos)
6780#define EXTI_IMR_MR23 EXTI_IMR_MR23_Msk
6782/* Reference Defines */
6783#define EXTI_IMR_IM0 EXTI_IMR_MR0
6784#define EXTI_IMR_IM1 EXTI_IMR_MR1
6785#define EXTI_IMR_IM2 EXTI_IMR_MR2
6786#define EXTI_IMR_IM3 EXTI_IMR_MR3
6787#define EXTI_IMR_IM4 EXTI_IMR_MR4
6788#define EXTI_IMR_IM5 EXTI_IMR_MR5
6789#define EXTI_IMR_IM6 EXTI_IMR_MR6
6790#define EXTI_IMR_IM7 EXTI_IMR_MR7
6791#define EXTI_IMR_IM8 EXTI_IMR_MR8
6792#define EXTI_IMR_IM9 EXTI_IMR_MR9
6793#define EXTI_IMR_IM10 EXTI_IMR_MR10
6794#define EXTI_IMR_IM11 EXTI_IMR_MR11
6795#define EXTI_IMR_IM12 EXTI_IMR_MR12
6796#define EXTI_IMR_IM13 EXTI_IMR_MR13
6797#define EXTI_IMR_IM14 EXTI_IMR_MR14
6798#define EXTI_IMR_IM15 EXTI_IMR_MR15
6799#define EXTI_IMR_IM16 EXTI_IMR_MR16
6800#define EXTI_IMR_IM17 EXTI_IMR_MR17
6801#define EXTI_IMR_IM18 EXTI_IMR_MR18
6802#define EXTI_IMR_IM19 EXTI_IMR_MR19
6803#define EXTI_IMR_IM20 EXTI_IMR_MR20
6804#define EXTI_IMR_IM21 EXTI_IMR_MR21
6805#define EXTI_IMR_IM22 EXTI_IMR_MR22
6806#define EXTI_IMR_IM23 EXTI_IMR_MR23
6807
6808#define EXTI_IMR_IM_Pos (0U)
6809#define EXTI_IMR_IM_Msk (0xFFFFFFUL << EXTI_IMR_IM_Pos)
6810#define EXTI_IMR_IM EXTI_IMR_IM_Msk
6812/******************* Bit definition for EXTI_EMR register *******************/
6813#define EXTI_EMR_MR0_Pos (0U)
6814#define EXTI_EMR_MR0_Msk (0x1UL << EXTI_EMR_MR0_Pos)
6815#define EXTI_EMR_MR0 EXTI_EMR_MR0_Msk
6816#define EXTI_EMR_MR1_Pos (1U)
6817#define EXTI_EMR_MR1_Msk (0x1UL << EXTI_EMR_MR1_Pos)
6818#define EXTI_EMR_MR1 EXTI_EMR_MR1_Msk
6819#define EXTI_EMR_MR2_Pos (2U)
6820#define EXTI_EMR_MR2_Msk (0x1UL << EXTI_EMR_MR2_Pos)
6821#define EXTI_EMR_MR2 EXTI_EMR_MR2_Msk
6822#define EXTI_EMR_MR3_Pos (3U)
6823#define EXTI_EMR_MR3_Msk (0x1UL << EXTI_EMR_MR3_Pos)
6824#define EXTI_EMR_MR3 EXTI_EMR_MR3_Msk
6825#define EXTI_EMR_MR4_Pos (4U)
6826#define EXTI_EMR_MR4_Msk (0x1UL << EXTI_EMR_MR4_Pos)
6827#define EXTI_EMR_MR4 EXTI_EMR_MR4_Msk
6828#define EXTI_EMR_MR5_Pos (5U)
6829#define EXTI_EMR_MR5_Msk (0x1UL << EXTI_EMR_MR5_Pos)
6830#define EXTI_EMR_MR5 EXTI_EMR_MR5_Msk
6831#define EXTI_EMR_MR6_Pos (6U)
6832#define EXTI_EMR_MR6_Msk (0x1UL << EXTI_EMR_MR6_Pos)
6833#define EXTI_EMR_MR6 EXTI_EMR_MR6_Msk
6834#define EXTI_EMR_MR7_Pos (7U)
6835#define EXTI_EMR_MR7_Msk (0x1UL << EXTI_EMR_MR7_Pos)
6836#define EXTI_EMR_MR7 EXTI_EMR_MR7_Msk
6837#define EXTI_EMR_MR8_Pos (8U)
6838#define EXTI_EMR_MR8_Msk (0x1UL << EXTI_EMR_MR8_Pos)
6839#define EXTI_EMR_MR8 EXTI_EMR_MR8_Msk
6840#define EXTI_EMR_MR9_Pos (9U)
6841#define EXTI_EMR_MR9_Msk (0x1UL << EXTI_EMR_MR9_Pos)
6842#define EXTI_EMR_MR9 EXTI_EMR_MR9_Msk
6843#define EXTI_EMR_MR10_Pos (10U)
6844#define EXTI_EMR_MR10_Msk (0x1UL << EXTI_EMR_MR10_Pos)
6845#define EXTI_EMR_MR10 EXTI_EMR_MR10_Msk
6846#define EXTI_EMR_MR11_Pos (11U)
6847#define EXTI_EMR_MR11_Msk (0x1UL << EXTI_EMR_MR11_Pos)
6848#define EXTI_EMR_MR11 EXTI_EMR_MR11_Msk
6849#define EXTI_EMR_MR12_Pos (12U)
6850#define EXTI_EMR_MR12_Msk (0x1UL << EXTI_EMR_MR12_Pos)
6851#define EXTI_EMR_MR12 EXTI_EMR_MR12_Msk
6852#define EXTI_EMR_MR13_Pos (13U)
6853#define EXTI_EMR_MR13_Msk (0x1UL << EXTI_EMR_MR13_Pos)
6854#define EXTI_EMR_MR13 EXTI_EMR_MR13_Msk
6855#define EXTI_EMR_MR14_Pos (14U)
6856#define EXTI_EMR_MR14_Msk (0x1UL << EXTI_EMR_MR14_Pos)
6857#define EXTI_EMR_MR14 EXTI_EMR_MR14_Msk
6858#define EXTI_EMR_MR15_Pos (15U)
6859#define EXTI_EMR_MR15_Msk (0x1UL << EXTI_EMR_MR15_Pos)
6860#define EXTI_EMR_MR15 EXTI_EMR_MR15_Msk
6861#define EXTI_EMR_MR16_Pos (16U)
6862#define EXTI_EMR_MR16_Msk (0x1UL << EXTI_EMR_MR16_Pos)
6863#define EXTI_EMR_MR16 EXTI_EMR_MR16_Msk
6864#define EXTI_EMR_MR17_Pos (17U)
6865#define EXTI_EMR_MR17_Msk (0x1UL << EXTI_EMR_MR17_Pos)
6866#define EXTI_EMR_MR17 EXTI_EMR_MR17_Msk
6867#define EXTI_EMR_MR18_Pos (18U)
6868#define EXTI_EMR_MR18_Msk (0x1UL << EXTI_EMR_MR18_Pos)
6869#define EXTI_EMR_MR18 EXTI_EMR_MR18_Msk
6870#define EXTI_EMR_MR19_Pos (19U)
6871#define EXTI_EMR_MR19_Msk (0x1UL << EXTI_EMR_MR19_Pos)
6872#define EXTI_EMR_MR19 EXTI_EMR_MR19_Msk
6873#define EXTI_EMR_MR20_Pos (20U)
6874#define EXTI_EMR_MR20_Msk (0x1UL << EXTI_EMR_MR20_Pos)
6875#define EXTI_EMR_MR20 EXTI_EMR_MR20_Msk
6876#define EXTI_EMR_MR21_Pos (21U)
6877#define EXTI_EMR_MR21_Msk (0x1UL << EXTI_EMR_MR21_Pos)
6878#define EXTI_EMR_MR21 EXTI_EMR_MR21_Msk
6879#define EXTI_EMR_MR22_Pos (22U)
6880#define EXTI_EMR_MR22_Msk (0x1UL << EXTI_EMR_MR22_Pos)
6881#define EXTI_EMR_MR22 EXTI_EMR_MR22_Msk
6882#define EXTI_EMR_MR23_Pos (23U)
6883#define EXTI_EMR_MR23_Msk (0x1UL << EXTI_EMR_MR23_Pos)
6884#define EXTI_EMR_MR23 EXTI_EMR_MR23_Msk
6886/* Reference Defines */
6887#define EXTI_EMR_EM0 EXTI_EMR_MR0
6888#define EXTI_EMR_EM1 EXTI_EMR_MR1
6889#define EXTI_EMR_EM2 EXTI_EMR_MR2
6890#define EXTI_EMR_EM3 EXTI_EMR_MR3
6891#define EXTI_EMR_EM4 EXTI_EMR_MR4
6892#define EXTI_EMR_EM5 EXTI_EMR_MR5
6893#define EXTI_EMR_EM6 EXTI_EMR_MR6
6894#define EXTI_EMR_EM7 EXTI_EMR_MR7
6895#define EXTI_EMR_EM8 EXTI_EMR_MR8
6896#define EXTI_EMR_EM9 EXTI_EMR_MR9
6897#define EXTI_EMR_EM10 EXTI_EMR_MR10
6898#define EXTI_EMR_EM11 EXTI_EMR_MR11
6899#define EXTI_EMR_EM12 EXTI_EMR_MR12
6900#define EXTI_EMR_EM13 EXTI_EMR_MR13
6901#define EXTI_EMR_EM14 EXTI_EMR_MR14
6902#define EXTI_EMR_EM15 EXTI_EMR_MR15
6903#define EXTI_EMR_EM16 EXTI_EMR_MR16
6904#define EXTI_EMR_EM17 EXTI_EMR_MR17
6905#define EXTI_EMR_EM18 EXTI_EMR_MR18
6906#define EXTI_EMR_EM19 EXTI_EMR_MR19
6907#define EXTI_EMR_EM20 EXTI_EMR_MR20
6908#define EXTI_EMR_EM21 EXTI_EMR_MR21
6909#define EXTI_EMR_EM22 EXTI_EMR_MR22
6910#define EXTI_EMR_EM23 EXTI_EMR_MR23
6911
6912
6913/****************** Bit definition for EXTI_RTSR register *******************/
6914#define EXTI_RTSR_TR0_Pos (0U)
6915#define EXTI_RTSR_TR0_Msk (0x1UL << EXTI_RTSR_TR0_Pos)
6916#define EXTI_RTSR_TR0 EXTI_RTSR_TR0_Msk
6917#define EXTI_RTSR_TR1_Pos (1U)
6918#define EXTI_RTSR_TR1_Msk (0x1UL << EXTI_RTSR_TR1_Pos)
6919#define EXTI_RTSR_TR1 EXTI_RTSR_TR1_Msk
6920#define EXTI_RTSR_TR2_Pos (2U)
6921#define EXTI_RTSR_TR2_Msk (0x1UL << EXTI_RTSR_TR2_Pos)
6922#define EXTI_RTSR_TR2 EXTI_RTSR_TR2_Msk
6923#define EXTI_RTSR_TR3_Pos (3U)
6924#define EXTI_RTSR_TR3_Msk (0x1UL << EXTI_RTSR_TR3_Pos)
6925#define EXTI_RTSR_TR3 EXTI_RTSR_TR3_Msk
6926#define EXTI_RTSR_TR4_Pos (4U)
6927#define EXTI_RTSR_TR4_Msk (0x1UL << EXTI_RTSR_TR4_Pos)
6928#define EXTI_RTSR_TR4 EXTI_RTSR_TR4_Msk
6929#define EXTI_RTSR_TR5_Pos (5U)
6930#define EXTI_RTSR_TR5_Msk (0x1UL << EXTI_RTSR_TR5_Pos)
6931#define EXTI_RTSR_TR5 EXTI_RTSR_TR5_Msk
6932#define EXTI_RTSR_TR6_Pos (6U)
6933#define EXTI_RTSR_TR6_Msk (0x1UL << EXTI_RTSR_TR6_Pos)
6934#define EXTI_RTSR_TR6 EXTI_RTSR_TR6_Msk
6935#define EXTI_RTSR_TR7_Pos (7U)
6936#define EXTI_RTSR_TR7_Msk (0x1UL << EXTI_RTSR_TR7_Pos)
6937#define EXTI_RTSR_TR7 EXTI_RTSR_TR7_Msk
6938#define EXTI_RTSR_TR8_Pos (8U)
6939#define EXTI_RTSR_TR8_Msk (0x1UL << EXTI_RTSR_TR8_Pos)
6940#define EXTI_RTSR_TR8 EXTI_RTSR_TR8_Msk
6941#define EXTI_RTSR_TR9_Pos (9U)
6942#define EXTI_RTSR_TR9_Msk (0x1UL << EXTI_RTSR_TR9_Pos)
6943#define EXTI_RTSR_TR9 EXTI_RTSR_TR9_Msk
6944#define EXTI_RTSR_TR10_Pos (10U)
6945#define EXTI_RTSR_TR10_Msk (0x1UL << EXTI_RTSR_TR10_Pos)
6946#define EXTI_RTSR_TR10 EXTI_RTSR_TR10_Msk
6947#define EXTI_RTSR_TR11_Pos (11U)
6948#define EXTI_RTSR_TR11_Msk (0x1UL << EXTI_RTSR_TR11_Pos)
6949#define EXTI_RTSR_TR11 EXTI_RTSR_TR11_Msk
6950#define EXTI_RTSR_TR12_Pos (12U)
6951#define EXTI_RTSR_TR12_Msk (0x1UL << EXTI_RTSR_TR12_Pos)
6952#define EXTI_RTSR_TR12 EXTI_RTSR_TR12_Msk
6953#define EXTI_RTSR_TR13_Pos (13U)
6954#define EXTI_RTSR_TR13_Msk (0x1UL << EXTI_RTSR_TR13_Pos)
6955#define EXTI_RTSR_TR13 EXTI_RTSR_TR13_Msk
6956#define EXTI_RTSR_TR14_Pos (14U)
6957#define EXTI_RTSR_TR14_Msk (0x1UL << EXTI_RTSR_TR14_Pos)
6958#define EXTI_RTSR_TR14 EXTI_RTSR_TR14_Msk
6959#define EXTI_RTSR_TR15_Pos (15U)
6960#define EXTI_RTSR_TR15_Msk (0x1UL << EXTI_RTSR_TR15_Pos)
6961#define EXTI_RTSR_TR15 EXTI_RTSR_TR15_Msk
6962#define EXTI_RTSR_TR16_Pos (16U)
6963#define EXTI_RTSR_TR16_Msk (0x1UL << EXTI_RTSR_TR16_Pos)
6964#define EXTI_RTSR_TR16 EXTI_RTSR_TR16_Msk
6965#define EXTI_RTSR_TR17_Pos (17U)
6966#define EXTI_RTSR_TR17_Msk (0x1UL << EXTI_RTSR_TR17_Pos)
6967#define EXTI_RTSR_TR17 EXTI_RTSR_TR17_Msk
6968#define EXTI_RTSR_TR18_Pos (18U)
6969#define EXTI_RTSR_TR18_Msk (0x1UL << EXTI_RTSR_TR18_Pos)
6970#define EXTI_RTSR_TR18 EXTI_RTSR_TR18_Msk
6971#define EXTI_RTSR_TR19_Pos (19U)
6972#define EXTI_RTSR_TR19_Msk (0x1UL << EXTI_RTSR_TR19_Pos)
6973#define EXTI_RTSR_TR19 EXTI_RTSR_TR19_Msk
6974#define EXTI_RTSR_TR20_Pos (20U)
6975#define EXTI_RTSR_TR20_Msk (0x1UL << EXTI_RTSR_TR20_Pos)
6976#define EXTI_RTSR_TR20 EXTI_RTSR_TR20_Msk
6977#define EXTI_RTSR_TR21_Pos (21U)
6978#define EXTI_RTSR_TR21_Msk (0x1UL << EXTI_RTSR_TR21_Pos)
6979#define EXTI_RTSR_TR21 EXTI_RTSR_TR21_Msk
6980#define EXTI_RTSR_TR22_Pos (22U)
6981#define EXTI_RTSR_TR22_Msk (0x1UL << EXTI_RTSR_TR22_Pos)
6982#define EXTI_RTSR_TR22 EXTI_RTSR_TR22_Msk
6983#define EXTI_RTSR_TR23_Pos (23U)
6984#define EXTI_RTSR_TR23_Msk (0x1UL << EXTI_RTSR_TR23_Pos)
6985#define EXTI_RTSR_TR23 EXTI_RTSR_TR23_Msk
6987/****************** Bit definition for EXTI_FTSR register *******************/
6988#define EXTI_FTSR_TR0_Pos (0U)
6989#define EXTI_FTSR_TR0_Msk (0x1UL << EXTI_FTSR_TR0_Pos)
6990#define EXTI_FTSR_TR0 EXTI_FTSR_TR0_Msk
6991#define EXTI_FTSR_TR1_Pos (1U)
6992#define EXTI_FTSR_TR1_Msk (0x1UL << EXTI_FTSR_TR1_Pos)
6993#define EXTI_FTSR_TR1 EXTI_FTSR_TR1_Msk
6994#define EXTI_FTSR_TR2_Pos (2U)
6995#define EXTI_FTSR_TR2_Msk (0x1UL << EXTI_FTSR_TR2_Pos)
6996#define EXTI_FTSR_TR2 EXTI_FTSR_TR2_Msk
6997#define EXTI_FTSR_TR3_Pos (3U)
6998#define EXTI_FTSR_TR3_Msk (0x1UL << EXTI_FTSR_TR3_Pos)
6999#define EXTI_FTSR_TR3 EXTI_FTSR_TR3_Msk
7000#define EXTI_FTSR_TR4_Pos (4U)
7001#define EXTI_FTSR_TR4_Msk (0x1UL << EXTI_FTSR_TR4_Pos)
7002#define EXTI_FTSR_TR4 EXTI_FTSR_TR4_Msk
7003#define EXTI_FTSR_TR5_Pos (5U)
7004#define EXTI_FTSR_TR5_Msk (0x1UL << EXTI_FTSR_TR5_Pos)
7005#define EXTI_FTSR_TR5 EXTI_FTSR_TR5_Msk
7006#define EXTI_FTSR_TR6_Pos (6U)
7007#define EXTI_FTSR_TR6_Msk (0x1UL << EXTI_FTSR_TR6_Pos)
7008#define EXTI_FTSR_TR6 EXTI_FTSR_TR6_Msk
7009#define EXTI_FTSR_TR7_Pos (7U)
7010#define EXTI_FTSR_TR7_Msk (0x1UL << EXTI_FTSR_TR7_Pos)
7011#define EXTI_FTSR_TR7 EXTI_FTSR_TR7_Msk
7012#define EXTI_FTSR_TR8_Pos (8U)
7013#define EXTI_FTSR_TR8_Msk (0x1UL << EXTI_FTSR_TR8_Pos)
7014#define EXTI_FTSR_TR8 EXTI_FTSR_TR8_Msk
7015#define EXTI_FTSR_TR9_Pos (9U)
7016#define EXTI_FTSR_TR9_Msk (0x1UL << EXTI_FTSR_TR9_Pos)
7017#define EXTI_FTSR_TR9 EXTI_FTSR_TR9_Msk
7018#define EXTI_FTSR_TR10_Pos (10U)
7019#define EXTI_FTSR_TR10_Msk (0x1UL << EXTI_FTSR_TR10_Pos)
7020#define EXTI_FTSR_TR10 EXTI_FTSR_TR10_Msk
7021#define EXTI_FTSR_TR11_Pos (11U)
7022#define EXTI_FTSR_TR11_Msk (0x1UL << EXTI_FTSR_TR11_Pos)
7023#define EXTI_FTSR_TR11 EXTI_FTSR_TR11_Msk
7024#define EXTI_FTSR_TR12_Pos (12U)
7025#define EXTI_FTSR_TR12_Msk (0x1UL << EXTI_FTSR_TR12_Pos)
7026#define EXTI_FTSR_TR12 EXTI_FTSR_TR12_Msk
7027#define EXTI_FTSR_TR13_Pos (13U)
7028#define EXTI_FTSR_TR13_Msk (0x1UL << EXTI_FTSR_TR13_Pos)
7029#define EXTI_FTSR_TR13 EXTI_FTSR_TR13_Msk
7030#define EXTI_FTSR_TR14_Pos (14U)
7031#define EXTI_FTSR_TR14_Msk (0x1UL << EXTI_FTSR_TR14_Pos)
7032#define EXTI_FTSR_TR14 EXTI_FTSR_TR14_Msk
7033#define EXTI_FTSR_TR15_Pos (15U)
7034#define EXTI_FTSR_TR15_Msk (0x1UL << EXTI_FTSR_TR15_Pos)
7035#define EXTI_FTSR_TR15 EXTI_FTSR_TR15_Msk
7036#define EXTI_FTSR_TR16_Pos (16U)
7037#define EXTI_FTSR_TR16_Msk (0x1UL << EXTI_FTSR_TR16_Pos)
7038#define EXTI_FTSR_TR16 EXTI_FTSR_TR16_Msk
7039#define EXTI_FTSR_TR17_Pos (17U)
7040#define EXTI_FTSR_TR17_Msk (0x1UL << EXTI_FTSR_TR17_Pos)
7041#define EXTI_FTSR_TR17 EXTI_FTSR_TR17_Msk
7042#define EXTI_FTSR_TR18_Pos (18U)
7043#define EXTI_FTSR_TR18_Msk (0x1UL << EXTI_FTSR_TR18_Pos)
7044#define EXTI_FTSR_TR18 EXTI_FTSR_TR18_Msk
7045#define EXTI_FTSR_TR19_Pos (19U)
7046#define EXTI_FTSR_TR19_Msk (0x1UL << EXTI_FTSR_TR19_Pos)
7047#define EXTI_FTSR_TR19 EXTI_FTSR_TR19_Msk
7048#define EXTI_FTSR_TR20_Pos (20U)
7049#define EXTI_FTSR_TR20_Msk (0x1UL << EXTI_FTSR_TR20_Pos)
7050#define EXTI_FTSR_TR20 EXTI_FTSR_TR20_Msk
7051#define EXTI_FTSR_TR21_Pos (21U)
7052#define EXTI_FTSR_TR21_Msk (0x1UL << EXTI_FTSR_TR21_Pos)
7053#define EXTI_FTSR_TR21 EXTI_FTSR_TR21_Msk
7054#define EXTI_FTSR_TR22_Pos (22U)
7055#define EXTI_FTSR_TR22_Msk (0x1UL << EXTI_FTSR_TR22_Pos)
7056#define EXTI_FTSR_TR22 EXTI_FTSR_TR22_Msk
7057#define EXTI_FTSR_TR23_Pos (23U)
7058#define EXTI_FTSR_TR23_Msk (0x1UL << EXTI_FTSR_TR23_Pos)
7059#define EXTI_FTSR_TR23 EXTI_FTSR_TR23_Msk
7061/****************** Bit definition for EXTI_SWIER register ******************/
7062#define EXTI_SWIER_SWIER0_Pos (0U)
7063#define EXTI_SWIER_SWIER0_Msk (0x1UL << EXTI_SWIER_SWIER0_Pos)
7064#define EXTI_SWIER_SWIER0 EXTI_SWIER_SWIER0_Msk
7065#define EXTI_SWIER_SWIER1_Pos (1U)
7066#define EXTI_SWIER_SWIER1_Msk (0x1UL << EXTI_SWIER_SWIER1_Pos)
7067#define EXTI_SWIER_SWIER1 EXTI_SWIER_SWIER1_Msk
7068#define EXTI_SWIER_SWIER2_Pos (2U)
7069#define EXTI_SWIER_SWIER2_Msk (0x1UL << EXTI_SWIER_SWIER2_Pos)
7070#define EXTI_SWIER_SWIER2 EXTI_SWIER_SWIER2_Msk
7071#define EXTI_SWIER_SWIER3_Pos (3U)
7072#define EXTI_SWIER_SWIER3_Msk (0x1UL << EXTI_SWIER_SWIER3_Pos)
7073#define EXTI_SWIER_SWIER3 EXTI_SWIER_SWIER3_Msk
7074#define EXTI_SWIER_SWIER4_Pos (4U)
7075#define EXTI_SWIER_SWIER4_Msk (0x1UL << EXTI_SWIER_SWIER4_Pos)
7076#define EXTI_SWIER_SWIER4 EXTI_SWIER_SWIER4_Msk
7077#define EXTI_SWIER_SWIER5_Pos (5U)
7078#define EXTI_SWIER_SWIER5_Msk (0x1UL << EXTI_SWIER_SWIER5_Pos)
7079#define EXTI_SWIER_SWIER5 EXTI_SWIER_SWIER5_Msk
7080#define EXTI_SWIER_SWIER6_Pos (6U)
7081#define EXTI_SWIER_SWIER6_Msk (0x1UL << EXTI_SWIER_SWIER6_Pos)
7082#define EXTI_SWIER_SWIER6 EXTI_SWIER_SWIER6_Msk
7083#define EXTI_SWIER_SWIER7_Pos (7U)
7084#define EXTI_SWIER_SWIER7_Msk (0x1UL << EXTI_SWIER_SWIER7_Pos)
7085#define EXTI_SWIER_SWIER7 EXTI_SWIER_SWIER7_Msk
7086#define EXTI_SWIER_SWIER8_Pos (8U)
7087#define EXTI_SWIER_SWIER8_Msk (0x1UL << EXTI_SWIER_SWIER8_Pos)
7088#define EXTI_SWIER_SWIER8 EXTI_SWIER_SWIER8_Msk
7089#define EXTI_SWIER_SWIER9_Pos (9U)
7090#define EXTI_SWIER_SWIER9_Msk (0x1UL << EXTI_SWIER_SWIER9_Pos)
7091#define EXTI_SWIER_SWIER9 EXTI_SWIER_SWIER9_Msk
7092#define EXTI_SWIER_SWIER10_Pos (10U)
7093#define EXTI_SWIER_SWIER10_Msk (0x1UL << EXTI_SWIER_SWIER10_Pos)
7094#define EXTI_SWIER_SWIER10 EXTI_SWIER_SWIER10_Msk
7095#define EXTI_SWIER_SWIER11_Pos (11U)
7096#define EXTI_SWIER_SWIER11_Msk (0x1UL << EXTI_SWIER_SWIER11_Pos)
7097#define EXTI_SWIER_SWIER11 EXTI_SWIER_SWIER11_Msk
7098#define EXTI_SWIER_SWIER12_Pos (12U)
7099#define EXTI_SWIER_SWIER12_Msk (0x1UL << EXTI_SWIER_SWIER12_Pos)
7100#define EXTI_SWIER_SWIER12 EXTI_SWIER_SWIER12_Msk
7101#define EXTI_SWIER_SWIER13_Pos (13U)
7102#define EXTI_SWIER_SWIER13_Msk (0x1UL << EXTI_SWIER_SWIER13_Pos)
7103#define EXTI_SWIER_SWIER13 EXTI_SWIER_SWIER13_Msk
7104#define EXTI_SWIER_SWIER14_Pos (14U)
7105#define EXTI_SWIER_SWIER14_Msk (0x1UL << EXTI_SWIER_SWIER14_Pos)
7106#define EXTI_SWIER_SWIER14 EXTI_SWIER_SWIER14_Msk
7107#define EXTI_SWIER_SWIER15_Pos (15U)
7108#define EXTI_SWIER_SWIER15_Msk (0x1UL << EXTI_SWIER_SWIER15_Pos)
7109#define EXTI_SWIER_SWIER15 EXTI_SWIER_SWIER15_Msk
7110#define EXTI_SWIER_SWIER16_Pos (16U)
7111#define EXTI_SWIER_SWIER16_Msk (0x1UL << EXTI_SWIER_SWIER16_Pos)
7112#define EXTI_SWIER_SWIER16 EXTI_SWIER_SWIER16_Msk
7113#define EXTI_SWIER_SWIER17_Pos (17U)
7114#define EXTI_SWIER_SWIER17_Msk (0x1UL << EXTI_SWIER_SWIER17_Pos)
7115#define EXTI_SWIER_SWIER17 EXTI_SWIER_SWIER17_Msk
7116#define EXTI_SWIER_SWIER18_Pos (18U)
7117#define EXTI_SWIER_SWIER18_Msk (0x1UL << EXTI_SWIER_SWIER18_Pos)
7118#define EXTI_SWIER_SWIER18 EXTI_SWIER_SWIER18_Msk
7119#define EXTI_SWIER_SWIER19_Pos (19U)
7120#define EXTI_SWIER_SWIER19_Msk (0x1UL << EXTI_SWIER_SWIER19_Pos)
7121#define EXTI_SWIER_SWIER19 EXTI_SWIER_SWIER19_Msk
7122#define EXTI_SWIER_SWIER20_Pos (20U)
7123#define EXTI_SWIER_SWIER20_Msk (0x1UL << EXTI_SWIER_SWIER20_Pos)
7124#define EXTI_SWIER_SWIER20 EXTI_SWIER_SWIER20_Msk
7125#define EXTI_SWIER_SWIER21_Pos (21U)
7126#define EXTI_SWIER_SWIER21_Msk (0x1UL << EXTI_SWIER_SWIER21_Pos)
7127#define EXTI_SWIER_SWIER21 EXTI_SWIER_SWIER21_Msk
7128#define EXTI_SWIER_SWIER22_Pos (22U)
7129#define EXTI_SWIER_SWIER22_Msk (0x1UL << EXTI_SWIER_SWIER22_Pos)
7130#define EXTI_SWIER_SWIER22 EXTI_SWIER_SWIER22_Msk
7131#define EXTI_SWIER_SWIER23_Pos (23U)
7132#define EXTI_SWIER_SWIER23_Msk (0x1UL << EXTI_SWIER_SWIER23_Pos)
7133#define EXTI_SWIER_SWIER23 EXTI_SWIER_SWIER23_Msk
7135/******************* Bit definition for EXTI_PR register ********************/
7136#define EXTI_PR_PR0_Pos (0U)
7137#define EXTI_PR_PR0_Msk (0x1UL << EXTI_PR_PR0_Pos)
7138#define EXTI_PR_PR0 EXTI_PR_PR0_Msk
7139#define EXTI_PR_PR1_Pos (1U)
7140#define EXTI_PR_PR1_Msk (0x1UL << EXTI_PR_PR1_Pos)
7141#define EXTI_PR_PR1 EXTI_PR_PR1_Msk
7142#define EXTI_PR_PR2_Pos (2U)
7143#define EXTI_PR_PR2_Msk (0x1UL << EXTI_PR_PR2_Pos)
7144#define EXTI_PR_PR2 EXTI_PR_PR2_Msk
7145#define EXTI_PR_PR3_Pos (3U)
7146#define EXTI_PR_PR3_Msk (0x1UL << EXTI_PR_PR3_Pos)
7147#define EXTI_PR_PR3 EXTI_PR_PR3_Msk
7148#define EXTI_PR_PR4_Pos (4U)
7149#define EXTI_PR_PR4_Msk (0x1UL << EXTI_PR_PR4_Pos)
7150#define EXTI_PR_PR4 EXTI_PR_PR4_Msk
7151#define EXTI_PR_PR5_Pos (5U)
7152#define EXTI_PR_PR5_Msk (0x1UL << EXTI_PR_PR5_Pos)
7153#define EXTI_PR_PR5 EXTI_PR_PR5_Msk
7154#define EXTI_PR_PR6_Pos (6U)
7155#define EXTI_PR_PR6_Msk (0x1UL << EXTI_PR_PR6_Pos)
7156#define EXTI_PR_PR6 EXTI_PR_PR6_Msk
7157#define EXTI_PR_PR7_Pos (7U)
7158#define EXTI_PR_PR7_Msk (0x1UL << EXTI_PR_PR7_Pos)
7159#define EXTI_PR_PR7 EXTI_PR_PR7_Msk
7160#define EXTI_PR_PR8_Pos (8U)
7161#define EXTI_PR_PR8_Msk (0x1UL << EXTI_PR_PR8_Pos)
7162#define EXTI_PR_PR8 EXTI_PR_PR8_Msk
7163#define EXTI_PR_PR9_Pos (9U)
7164#define EXTI_PR_PR9_Msk (0x1UL << EXTI_PR_PR9_Pos)
7165#define EXTI_PR_PR9 EXTI_PR_PR9_Msk
7166#define EXTI_PR_PR10_Pos (10U)
7167#define EXTI_PR_PR10_Msk (0x1UL << EXTI_PR_PR10_Pos)
7168#define EXTI_PR_PR10 EXTI_PR_PR10_Msk
7169#define EXTI_PR_PR11_Pos (11U)
7170#define EXTI_PR_PR11_Msk (0x1UL << EXTI_PR_PR11_Pos)
7171#define EXTI_PR_PR11 EXTI_PR_PR11_Msk
7172#define EXTI_PR_PR12_Pos (12U)
7173#define EXTI_PR_PR12_Msk (0x1UL << EXTI_PR_PR12_Pos)
7174#define EXTI_PR_PR12 EXTI_PR_PR12_Msk
7175#define EXTI_PR_PR13_Pos (13U)
7176#define EXTI_PR_PR13_Msk (0x1UL << EXTI_PR_PR13_Pos)
7177#define EXTI_PR_PR13 EXTI_PR_PR13_Msk
7178#define EXTI_PR_PR14_Pos (14U)
7179#define EXTI_PR_PR14_Msk (0x1UL << EXTI_PR_PR14_Pos)
7180#define EXTI_PR_PR14 EXTI_PR_PR14_Msk
7181#define EXTI_PR_PR15_Pos (15U)
7182#define EXTI_PR_PR15_Msk (0x1UL << EXTI_PR_PR15_Pos)
7183#define EXTI_PR_PR15 EXTI_PR_PR15_Msk
7184#define EXTI_PR_PR16_Pos (16U)
7185#define EXTI_PR_PR16_Msk (0x1UL << EXTI_PR_PR16_Pos)
7186#define EXTI_PR_PR16 EXTI_PR_PR16_Msk
7187#define EXTI_PR_PR17_Pos (17U)
7188#define EXTI_PR_PR17_Msk (0x1UL << EXTI_PR_PR17_Pos)
7189#define EXTI_PR_PR17 EXTI_PR_PR17_Msk
7190#define EXTI_PR_PR18_Pos (18U)
7191#define EXTI_PR_PR18_Msk (0x1UL << EXTI_PR_PR18_Pos)
7192#define EXTI_PR_PR18 EXTI_PR_PR18_Msk
7193#define EXTI_PR_PR19_Pos (19U)
7194#define EXTI_PR_PR19_Msk (0x1UL << EXTI_PR_PR19_Pos)
7195#define EXTI_PR_PR19 EXTI_PR_PR19_Msk
7196#define EXTI_PR_PR20_Pos (20U)
7197#define EXTI_PR_PR20_Msk (0x1UL << EXTI_PR_PR20_Pos)
7198#define EXTI_PR_PR20 EXTI_PR_PR20_Msk
7199#define EXTI_PR_PR21_Pos (21U)
7200#define EXTI_PR_PR21_Msk (0x1UL << EXTI_PR_PR21_Pos)
7201#define EXTI_PR_PR21 EXTI_PR_PR21_Msk
7202#define EXTI_PR_PR22_Pos (22U)
7203#define EXTI_PR_PR22_Msk (0x1UL << EXTI_PR_PR22_Pos)
7204#define EXTI_PR_PR22 EXTI_PR_PR22_Msk
7205#define EXTI_PR_PR23_Pos (23U)
7206#define EXTI_PR_PR23_Msk (0x1UL << EXTI_PR_PR23_Pos)
7207#define EXTI_PR_PR23 EXTI_PR_PR23_Msk
7209/******************************************************************************/
7210/* */
7211/* FLASH */
7212/* */
7213/******************************************************************************/
7214/*
7215* @brief FLASH Total Sectors Number
7216*/
7217#define FLASH_SECTOR_TOTAL 8
7218
7219/******************* Bits definition for FLASH_ACR register *****************/
7220#define FLASH_ACR_LATENCY_Pos (0U)
7221#define FLASH_ACR_LATENCY_Msk (0xFUL << FLASH_ACR_LATENCY_Pos)
7222#define FLASH_ACR_LATENCY FLASH_ACR_LATENCY_Msk
7223#define FLASH_ACR_LATENCY_0WS 0x00000000U
7224#define FLASH_ACR_LATENCY_1WS 0x00000001U
7225#define FLASH_ACR_LATENCY_2WS 0x00000002U
7226#define FLASH_ACR_LATENCY_3WS 0x00000003U
7227#define FLASH_ACR_LATENCY_4WS 0x00000004U
7228#define FLASH_ACR_LATENCY_5WS 0x00000005U
7229#define FLASH_ACR_LATENCY_6WS 0x00000006U
7230#define FLASH_ACR_LATENCY_7WS 0x00000007U
7231#define FLASH_ACR_LATENCY_8WS 0x00000008U
7232#define FLASH_ACR_LATENCY_9WS 0x00000009U
7233#define FLASH_ACR_LATENCY_10WS 0x0000000AU
7234#define FLASH_ACR_LATENCY_11WS 0x0000000BU
7235#define FLASH_ACR_LATENCY_12WS 0x0000000CU
7236#define FLASH_ACR_LATENCY_13WS 0x0000000DU
7237#define FLASH_ACR_LATENCY_14WS 0x0000000EU
7238#define FLASH_ACR_LATENCY_15WS 0x0000000FU
7239#define FLASH_ACR_PRFTEN_Pos (8U)
7240#define FLASH_ACR_PRFTEN_Msk (0x1UL << FLASH_ACR_PRFTEN_Pos)
7241#define FLASH_ACR_PRFTEN FLASH_ACR_PRFTEN_Msk
7242#define FLASH_ACR_ARTEN_Pos (9U)
7243#define FLASH_ACR_ARTEN_Msk (0x1UL << FLASH_ACR_ARTEN_Pos)
7244#define FLASH_ACR_ARTEN FLASH_ACR_ARTEN_Msk
7245#define FLASH_ACR_ARTRST_Pos (11U)
7246#define FLASH_ACR_ARTRST_Msk (0x1UL << FLASH_ACR_ARTRST_Pos)
7247#define FLASH_ACR_ARTRST FLASH_ACR_ARTRST_Msk
7248
7249/******************* Bits definition for FLASH_SR register ******************/
7250#define FLASH_SR_EOP_Pos (0U)
7251#define FLASH_SR_EOP_Msk (0x1UL << FLASH_SR_EOP_Pos)
7252#define FLASH_SR_EOP FLASH_SR_EOP_Msk
7253#define FLASH_SR_OPERR_Pos (1U)
7254#define FLASH_SR_OPERR_Msk (0x1UL << FLASH_SR_OPERR_Pos)
7255#define FLASH_SR_OPERR FLASH_SR_OPERR_Msk
7256#define FLASH_SR_WRPERR_Pos (4U)
7257#define FLASH_SR_WRPERR_Msk (0x1UL << FLASH_SR_WRPERR_Pos)
7258#define FLASH_SR_WRPERR FLASH_SR_WRPERR_Msk
7259#define FLASH_SR_PGAERR_Pos (5U)
7260#define FLASH_SR_PGAERR_Msk (0x1UL << FLASH_SR_PGAERR_Pos)
7261#define FLASH_SR_PGAERR FLASH_SR_PGAERR_Msk
7262#define FLASH_SR_PGPERR_Pos (6U)
7263#define FLASH_SR_PGPERR_Msk (0x1UL << FLASH_SR_PGPERR_Pos)
7264#define FLASH_SR_PGPERR FLASH_SR_PGPERR_Msk
7265#define FLASH_SR_ERSERR_Pos (7U)
7266#define FLASH_SR_ERSERR_Msk (0x1UL << FLASH_SR_ERSERR_Pos)
7267#define FLASH_SR_ERSERR FLASH_SR_ERSERR_Msk
7268#define FLASH_SR_BSY_Pos (16U)
7269#define FLASH_SR_BSY_Msk (0x1UL << FLASH_SR_BSY_Pos)
7270#define FLASH_SR_BSY FLASH_SR_BSY_Msk
7271
7272/******************* Bits definition for FLASH_CR register ******************/
7273#define FLASH_CR_PG_Pos (0U)
7274#define FLASH_CR_PG_Msk (0x1UL << FLASH_CR_PG_Pos)
7275#define FLASH_CR_PG FLASH_CR_PG_Msk
7276#define FLASH_CR_SER_Pos (1U)
7277#define FLASH_CR_SER_Msk (0x1UL << FLASH_CR_SER_Pos)
7278#define FLASH_CR_SER FLASH_CR_SER_Msk
7279#define FLASH_CR_MER_Pos (2U)
7280#define FLASH_CR_MER_Msk (0x1UL << FLASH_CR_MER_Pos)
7281#define FLASH_CR_MER FLASH_CR_MER_Msk
7282#define FLASH_CR_SNB_Pos (3U)
7283#define FLASH_CR_SNB_Msk (0xFUL << FLASH_CR_SNB_Pos)
7284#define FLASH_CR_SNB FLASH_CR_SNB_Msk
7285#define FLASH_CR_SNB_0 0x00000008U
7286#define FLASH_CR_SNB_1 0x00000010U
7287#define FLASH_CR_SNB_2 0x00000020U
7288#define FLASH_CR_SNB_3 0x00000040U
7289#define FLASH_CR_PSIZE_Pos (8U)
7290#define FLASH_CR_PSIZE_Msk (0x3UL << FLASH_CR_PSIZE_Pos)
7291#define FLASH_CR_PSIZE FLASH_CR_PSIZE_Msk
7292#define FLASH_CR_PSIZE_0 (0x1UL << FLASH_CR_PSIZE_Pos)
7293#define FLASH_CR_PSIZE_1 (0x2UL << FLASH_CR_PSIZE_Pos)
7294#define FLASH_CR_STRT_Pos (16U)
7295#define FLASH_CR_STRT_Msk (0x1UL << FLASH_CR_STRT_Pos)
7296#define FLASH_CR_STRT FLASH_CR_STRT_Msk
7297#define FLASH_CR_EOPIE_Pos (24U)
7298#define FLASH_CR_EOPIE_Msk (0x1UL << FLASH_CR_EOPIE_Pos)
7299#define FLASH_CR_EOPIE FLASH_CR_EOPIE_Msk
7300#define FLASH_CR_ERRIE_Pos (25U)
7301#define FLASH_CR_ERRIE_Msk (0x1UL << FLASH_CR_ERRIE_Pos)
7302#define FLASH_CR_ERRIE FLASH_CR_ERRIE_Msk
7303#define FLASH_CR_LOCK_Pos (31U)
7304#define FLASH_CR_LOCK_Msk (0x1UL << FLASH_CR_LOCK_Pos)
7305#define FLASH_CR_LOCK FLASH_CR_LOCK_Msk
7306
7307/******************* Bits definition for FLASH_OPTCR register ***************/
7308#define FLASH_OPTCR_OPTLOCK_Pos (0U)
7309#define FLASH_OPTCR_OPTLOCK_Msk (0x1UL << FLASH_OPTCR_OPTLOCK_Pos)
7310#define FLASH_OPTCR_OPTLOCK FLASH_OPTCR_OPTLOCK_Msk
7311#define FLASH_OPTCR_OPTSTRT_Pos (1U)
7312#define FLASH_OPTCR_OPTSTRT_Msk (0x1UL << FLASH_OPTCR_OPTSTRT_Pos)
7313#define FLASH_OPTCR_OPTSTRT FLASH_OPTCR_OPTSTRT_Msk
7314#define FLASH_OPTCR_BOR_LEV_Pos (2U)
7315#define FLASH_OPTCR_BOR_LEV_Msk (0x3UL << FLASH_OPTCR_BOR_LEV_Pos)
7316#define FLASH_OPTCR_BOR_LEV FLASH_OPTCR_BOR_LEV_Msk
7317#define FLASH_OPTCR_BOR_LEV_0 (0x1UL << FLASH_OPTCR_BOR_LEV_Pos)
7318#define FLASH_OPTCR_BOR_LEV_1 (0x2UL << FLASH_OPTCR_BOR_LEV_Pos)
7319#define FLASH_OPTCR_WWDG_SW_Pos (4U)
7320#define FLASH_OPTCR_WWDG_SW_Msk (0x1UL << FLASH_OPTCR_WWDG_SW_Pos)
7321#define FLASH_OPTCR_WWDG_SW FLASH_OPTCR_WWDG_SW_Msk
7322#define FLASH_OPTCR_IWDG_SW_Pos (5U)
7323#define FLASH_OPTCR_IWDG_SW_Msk (0x1UL << FLASH_OPTCR_IWDG_SW_Pos)
7324#define FLASH_OPTCR_IWDG_SW FLASH_OPTCR_IWDG_SW_Msk
7325#define FLASH_OPTCR_nRST_STOP_Pos (6U)
7326#define FLASH_OPTCR_nRST_STOP_Msk (0x1UL << FLASH_OPTCR_nRST_STOP_Pos)
7327#define FLASH_OPTCR_nRST_STOP FLASH_OPTCR_nRST_STOP_Msk
7328#define FLASH_OPTCR_nRST_STDBY_Pos (7U)
7329#define FLASH_OPTCR_nRST_STDBY_Msk (0x1UL << FLASH_OPTCR_nRST_STDBY_Pos)
7330#define FLASH_OPTCR_nRST_STDBY FLASH_OPTCR_nRST_STDBY_Msk
7331#define FLASH_OPTCR_RDP_Pos (8U)
7332#define FLASH_OPTCR_RDP_Msk (0xFFUL << FLASH_OPTCR_RDP_Pos)
7333#define FLASH_OPTCR_RDP FLASH_OPTCR_RDP_Msk
7334#define FLASH_OPTCR_RDP_0 (0x01UL << FLASH_OPTCR_RDP_Pos)
7335#define FLASH_OPTCR_RDP_1 (0x02UL << FLASH_OPTCR_RDP_Pos)
7336#define FLASH_OPTCR_RDP_2 (0x04UL << FLASH_OPTCR_RDP_Pos)
7337#define FLASH_OPTCR_RDP_3 (0x08UL << FLASH_OPTCR_RDP_Pos)
7338#define FLASH_OPTCR_RDP_4 (0x10UL << FLASH_OPTCR_RDP_Pos)
7339#define FLASH_OPTCR_RDP_5 (0x20UL << FLASH_OPTCR_RDP_Pos)
7340#define FLASH_OPTCR_RDP_6 (0x40UL << FLASH_OPTCR_RDP_Pos)
7341#define FLASH_OPTCR_RDP_7 (0x80UL << FLASH_OPTCR_RDP_Pos)
7342#define FLASH_OPTCR_nWRP_Pos (16U)
7343#define FLASH_OPTCR_nWRP_Msk (0xFFUL << FLASH_OPTCR_nWRP_Pos)
7344#define FLASH_OPTCR_nWRP FLASH_OPTCR_nWRP_Msk
7345#define FLASH_OPTCR_nWRP_0 0x00010000U
7346#define FLASH_OPTCR_nWRP_1 0x00020000U
7347#define FLASH_OPTCR_nWRP_2 0x00040000U
7348#define FLASH_OPTCR_nWRP_3 0x00080000U
7349#define FLASH_OPTCR_nWRP_4 0x00100000U
7350#define FLASH_OPTCR_nWRP_5 0x00200000U
7351#define FLASH_OPTCR_nWRP_6 0x00400000U
7352#define FLASH_OPTCR_nWRP_7 0x00800000U
7353#define FLASH_OPTCR_IWDG_STDBY_Pos (30U)
7354#define FLASH_OPTCR_IWDG_STDBY_Msk (0x1UL << FLASH_OPTCR_IWDG_STDBY_Pos)
7355#define FLASH_OPTCR_IWDG_STDBY FLASH_OPTCR_IWDG_STDBY_Msk
7356#define FLASH_OPTCR_IWDG_STOP_Pos (31U)
7357#define FLASH_OPTCR_IWDG_STOP_Msk (0x1UL << FLASH_OPTCR_IWDG_STOP_Pos)
7358#define FLASH_OPTCR_IWDG_STOP FLASH_OPTCR_IWDG_STOP_Msk
7359
7360/******************* Bits definition for FLASH_OPTCR1 register ***************/
7361#define FLASH_OPTCR1_BOOT_ADD0_Pos (0U)
7362#define FLASH_OPTCR1_BOOT_ADD0_Msk (0xFFFFUL << FLASH_OPTCR1_BOOT_ADD0_Pos)
7363#define FLASH_OPTCR1_BOOT_ADD0 FLASH_OPTCR1_BOOT_ADD0_Msk
7364#define FLASH_OPTCR1_BOOT_ADD1_Pos (16U)
7365#define FLASH_OPTCR1_BOOT_ADD1_Msk (0xFFFFUL << FLASH_OPTCR1_BOOT_ADD1_Pos)
7366#define FLASH_OPTCR1_BOOT_ADD1 FLASH_OPTCR1_BOOT_ADD1_Msk
7367
7368
7369/******************************************************************************/
7370/* */
7371/* Flexible Memory Controller */
7372/* */
7373/******************************************************************************/
7374/****************** Bit definition for FMC_BCR1 register *******************/
7375#define FMC_BCR1_MBKEN_Pos (0U)
7376#define FMC_BCR1_MBKEN_Msk (0x1UL << FMC_BCR1_MBKEN_Pos)
7377#define FMC_BCR1_MBKEN FMC_BCR1_MBKEN_Msk
7378#define FMC_BCR1_MUXEN_Pos (1U)
7379#define FMC_BCR1_MUXEN_Msk (0x1UL << FMC_BCR1_MUXEN_Pos)
7380#define FMC_BCR1_MUXEN FMC_BCR1_MUXEN_Msk
7381#define FMC_BCR1_MTYP_Pos (2U)
7382#define FMC_BCR1_MTYP_Msk (0x3UL << FMC_BCR1_MTYP_Pos)
7383#define FMC_BCR1_MTYP FMC_BCR1_MTYP_Msk
7384#define FMC_BCR1_MTYP_0 (0x1UL << FMC_BCR1_MTYP_Pos)
7385#define FMC_BCR1_MTYP_1 (0x2UL << FMC_BCR1_MTYP_Pos)
7386#define FMC_BCR1_MWID_Pos (4U)
7387#define FMC_BCR1_MWID_Msk (0x3UL << FMC_BCR1_MWID_Pos)
7388#define FMC_BCR1_MWID FMC_BCR1_MWID_Msk
7389#define FMC_BCR1_MWID_0 (0x1UL << FMC_BCR1_MWID_Pos)
7390#define FMC_BCR1_MWID_1 (0x2UL << FMC_BCR1_MWID_Pos)
7391#define FMC_BCR1_FACCEN_Pos (6U)
7392#define FMC_BCR1_FACCEN_Msk (0x1UL << FMC_BCR1_FACCEN_Pos)
7393#define FMC_BCR1_FACCEN FMC_BCR1_FACCEN_Msk
7394#define FMC_BCR1_BURSTEN_Pos (8U)
7395#define FMC_BCR1_BURSTEN_Msk (0x1UL << FMC_BCR1_BURSTEN_Pos)
7396#define FMC_BCR1_BURSTEN FMC_BCR1_BURSTEN_Msk
7397#define FMC_BCR1_WAITPOL_Pos (9U)
7398#define FMC_BCR1_WAITPOL_Msk (0x1UL << FMC_BCR1_WAITPOL_Pos)
7399#define FMC_BCR1_WAITPOL FMC_BCR1_WAITPOL_Msk
7400#define FMC_BCR1_WRAPMOD_Pos (10U)
7401#define FMC_BCR1_WRAPMOD_Msk (0x1UL << FMC_BCR1_WRAPMOD_Pos)
7402#define FMC_BCR1_WRAPMOD FMC_BCR1_WRAPMOD_Msk
7403#define FMC_BCR1_WAITCFG_Pos (11U)
7404#define FMC_BCR1_WAITCFG_Msk (0x1UL << FMC_BCR1_WAITCFG_Pos)
7405#define FMC_BCR1_WAITCFG FMC_BCR1_WAITCFG_Msk
7406#define FMC_BCR1_WREN_Pos (12U)
7407#define FMC_BCR1_WREN_Msk (0x1UL << FMC_BCR1_WREN_Pos)
7408#define FMC_BCR1_WREN FMC_BCR1_WREN_Msk
7409#define FMC_BCR1_WAITEN_Pos (13U)
7410#define FMC_BCR1_WAITEN_Msk (0x1UL << FMC_BCR1_WAITEN_Pos)
7411#define FMC_BCR1_WAITEN FMC_BCR1_WAITEN_Msk
7412#define FMC_BCR1_EXTMOD_Pos (14U)
7413#define FMC_BCR1_EXTMOD_Msk (0x1UL << FMC_BCR1_EXTMOD_Pos)
7414#define FMC_BCR1_EXTMOD FMC_BCR1_EXTMOD_Msk
7415#define FMC_BCR1_ASYNCWAIT_Pos (15U)
7416#define FMC_BCR1_ASYNCWAIT_Msk (0x1UL << FMC_BCR1_ASYNCWAIT_Pos)
7417#define FMC_BCR1_ASYNCWAIT FMC_BCR1_ASYNCWAIT_Msk
7418#define FMC_BCR1_CPSIZE_Pos (16U)
7419#define FMC_BCR1_CPSIZE_Msk (0x7UL << FMC_BCR1_CPSIZE_Pos)
7420#define FMC_BCR1_CPSIZE FMC_BCR1_CPSIZE_Msk
7421#define FMC_BCR1_CPSIZE_0 (0x1UL << FMC_BCR1_CPSIZE_Pos)
7422#define FMC_BCR1_CPSIZE_1 (0x2UL << FMC_BCR1_CPSIZE_Pos)
7423#define FMC_BCR1_CPSIZE_2 (0x4UL << FMC_BCR1_CPSIZE_Pos)
7424#define FMC_BCR1_CBURSTRW_Pos (19U)
7425#define FMC_BCR1_CBURSTRW_Msk (0x1UL << FMC_BCR1_CBURSTRW_Pos)
7426#define FMC_BCR1_CBURSTRW FMC_BCR1_CBURSTRW_Msk
7427#define FMC_BCR1_CCLKEN_Pos (20U)
7428#define FMC_BCR1_CCLKEN_Msk (0x1UL << FMC_BCR1_CCLKEN_Pos)
7429#define FMC_BCR1_CCLKEN FMC_BCR1_CCLKEN_Msk
7430#define FMC_BCR1_WFDIS_Pos (21U)
7431#define FMC_BCR1_WFDIS_Msk (0x1UL << FMC_BCR1_WFDIS_Pos)
7432#define FMC_BCR1_WFDIS FMC_BCR1_WFDIS_Msk
7434/****************** Bit definition for FMC_BCR2 register *******************/
7435#define FMC_BCR2_MBKEN_Pos (0U)
7436#define FMC_BCR2_MBKEN_Msk (0x1UL << FMC_BCR2_MBKEN_Pos)
7437#define FMC_BCR2_MBKEN FMC_BCR2_MBKEN_Msk
7438#define FMC_BCR2_MUXEN_Pos (1U)
7439#define FMC_BCR2_MUXEN_Msk (0x1UL << FMC_BCR2_MUXEN_Pos)
7440#define FMC_BCR2_MUXEN FMC_BCR2_MUXEN_Msk
7441#define FMC_BCR2_MTYP_Pos (2U)
7442#define FMC_BCR2_MTYP_Msk (0x3UL << FMC_BCR2_MTYP_Pos)
7443#define FMC_BCR2_MTYP FMC_BCR2_MTYP_Msk
7444#define FMC_BCR2_MTYP_0 (0x1UL << FMC_BCR2_MTYP_Pos)
7445#define FMC_BCR2_MTYP_1 (0x2UL << FMC_BCR2_MTYP_Pos)
7446#define FMC_BCR2_MWID_Pos (4U)
7447#define FMC_BCR2_MWID_Msk (0x3UL << FMC_BCR2_MWID_Pos)
7448#define FMC_BCR2_MWID FMC_BCR2_MWID_Msk
7449#define FMC_BCR2_MWID_0 (0x1UL << FMC_BCR2_MWID_Pos)
7450#define FMC_BCR2_MWID_1 (0x2UL << FMC_BCR2_MWID_Pos)
7451#define FMC_BCR2_FACCEN_Pos (6U)
7452#define FMC_BCR2_FACCEN_Msk (0x1UL << FMC_BCR2_FACCEN_Pos)
7453#define FMC_BCR2_FACCEN FMC_BCR2_FACCEN_Msk
7454#define FMC_BCR2_BURSTEN_Pos (8U)
7455#define FMC_BCR2_BURSTEN_Msk (0x1UL << FMC_BCR2_BURSTEN_Pos)
7456#define FMC_BCR2_BURSTEN FMC_BCR2_BURSTEN_Msk
7457#define FMC_BCR2_WAITPOL_Pos (9U)
7458#define FMC_BCR2_WAITPOL_Msk (0x1UL << FMC_BCR2_WAITPOL_Pos)
7459#define FMC_BCR2_WAITPOL FMC_BCR2_WAITPOL_Msk
7460#define FMC_BCR2_WRAPMOD_Pos (10U)
7461#define FMC_BCR2_WRAPMOD_Msk (0x1UL << FMC_BCR2_WRAPMOD_Pos)
7462#define FMC_BCR2_WRAPMOD FMC_BCR2_WRAPMOD_Msk
7463#define FMC_BCR2_WAITCFG_Pos (11U)
7464#define FMC_BCR2_WAITCFG_Msk (0x1UL << FMC_BCR2_WAITCFG_Pos)
7465#define FMC_BCR2_WAITCFG FMC_BCR2_WAITCFG_Msk
7466#define FMC_BCR2_WREN_Pos (12U)
7467#define FMC_BCR2_WREN_Msk (0x1UL << FMC_BCR2_WREN_Pos)
7468#define FMC_BCR2_WREN FMC_BCR2_WREN_Msk
7469#define FMC_BCR2_WAITEN_Pos (13U)
7470#define FMC_BCR2_WAITEN_Msk (0x1UL << FMC_BCR2_WAITEN_Pos)
7471#define FMC_BCR2_WAITEN FMC_BCR2_WAITEN_Msk
7472#define FMC_BCR2_EXTMOD_Pos (14U)
7473#define FMC_BCR2_EXTMOD_Msk (0x1UL << FMC_BCR2_EXTMOD_Pos)
7474#define FMC_BCR2_EXTMOD FMC_BCR2_EXTMOD_Msk
7475#define FMC_BCR2_ASYNCWAIT_Pos (15U)
7476#define FMC_BCR2_ASYNCWAIT_Msk (0x1UL << FMC_BCR2_ASYNCWAIT_Pos)
7477#define FMC_BCR2_ASYNCWAIT FMC_BCR2_ASYNCWAIT_Msk
7478#define FMC_BCR2_CPSIZE_Pos (16U)
7479#define FMC_BCR2_CPSIZE_Msk (0x7UL << FMC_BCR2_CPSIZE_Pos)
7480#define FMC_BCR2_CPSIZE FMC_BCR2_CPSIZE_Msk
7481#define FMC_BCR2_CPSIZE_0 (0x1UL << FMC_BCR2_CPSIZE_Pos)
7482#define FMC_BCR2_CPSIZE_1 (0x2UL << FMC_BCR2_CPSIZE_Pos)
7483#define FMC_BCR2_CPSIZE_2 (0x4UL << FMC_BCR2_CPSIZE_Pos)
7484#define FMC_BCR2_CBURSTRW_Pos (19U)
7485#define FMC_BCR2_CBURSTRW_Msk (0x1UL << FMC_BCR2_CBURSTRW_Pos)
7486#define FMC_BCR2_CBURSTRW FMC_BCR2_CBURSTRW_Msk
7488/****************** Bit definition for FMC_BCR3 register *******************/
7489#define FMC_BCR3_MBKEN_Pos (0U)
7490#define FMC_BCR3_MBKEN_Msk (0x1UL << FMC_BCR3_MBKEN_Pos)
7491#define FMC_BCR3_MBKEN FMC_BCR3_MBKEN_Msk
7492#define FMC_BCR3_MUXEN_Pos (1U)
7493#define FMC_BCR3_MUXEN_Msk (0x1UL << FMC_BCR3_MUXEN_Pos)
7494#define FMC_BCR3_MUXEN FMC_BCR3_MUXEN_Msk
7495#define FMC_BCR3_MTYP_Pos (2U)
7496#define FMC_BCR3_MTYP_Msk (0x3UL << FMC_BCR3_MTYP_Pos)
7497#define FMC_BCR3_MTYP FMC_BCR3_MTYP_Msk
7498#define FMC_BCR3_MTYP_0 (0x1UL << FMC_BCR3_MTYP_Pos)
7499#define FMC_BCR3_MTYP_1 (0x2UL << FMC_BCR3_MTYP_Pos)
7500#define FMC_BCR3_MWID_Pos (4U)
7501#define FMC_BCR3_MWID_Msk (0x3UL << FMC_BCR3_MWID_Pos)
7502#define FMC_BCR3_MWID FMC_BCR3_MWID_Msk
7503#define FMC_BCR3_MWID_0 (0x1UL << FMC_BCR3_MWID_Pos)
7504#define FMC_BCR3_MWID_1 (0x2UL << FMC_BCR3_MWID_Pos)
7505#define FMC_BCR3_FACCEN_Pos (6U)
7506#define FMC_BCR3_FACCEN_Msk (0x1UL << FMC_BCR3_FACCEN_Pos)
7507#define FMC_BCR3_FACCEN FMC_BCR3_FACCEN_Msk
7508#define FMC_BCR3_BURSTEN_Pos (8U)
7509#define FMC_BCR3_BURSTEN_Msk (0x1UL << FMC_BCR3_BURSTEN_Pos)
7510#define FMC_BCR3_BURSTEN FMC_BCR3_BURSTEN_Msk
7511#define FMC_BCR3_WAITPOL_Pos (9U)
7512#define FMC_BCR3_WAITPOL_Msk (0x1UL << FMC_BCR3_WAITPOL_Pos)
7513#define FMC_BCR3_WAITPOL FMC_BCR3_WAITPOL_Msk
7514#define FMC_BCR3_WRAPMOD_Pos (10U)
7515#define FMC_BCR3_WRAPMOD_Msk (0x1UL << FMC_BCR3_WRAPMOD_Pos)
7516#define FMC_BCR3_WRAPMOD FMC_BCR3_WRAPMOD_Msk
7517#define FMC_BCR3_WAITCFG_Pos (11U)
7518#define FMC_BCR3_WAITCFG_Msk (0x1UL << FMC_BCR3_WAITCFG_Pos)
7519#define FMC_BCR3_WAITCFG FMC_BCR3_WAITCFG_Msk
7520#define FMC_BCR3_WREN_Pos (12U)
7521#define FMC_BCR3_WREN_Msk (0x1UL << FMC_BCR3_WREN_Pos)
7522#define FMC_BCR3_WREN FMC_BCR3_WREN_Msk
7523#define FMC_BCR3_WAITEN_Pos (13U)
7524#define FMC_BCR3_WAITEN_Msk (0x1UL << FMC_BCR3_WAITEN_Pos)
7525#define FMC_BCR3_WAITEN FMC_BCR3_WAITEN_Msk
7526#define FMC_BCR3_EXTMOD_Pos (14U)
7527#define FMC_BCR3_EXTMOD_Msk (0x1UL << FMC_BCR3_EXTMOD_Pos)
7528#define FMC_BCR3_EXTMOD FMC_BCR3_EXTMOD_Msk
7529#define FMC_BCR3_ASYNCWAIT_Pos (15U)
7530#define FMC_BCR3_ASYNCWAIT_Msk (0x1UL << FMC_BCR3_ASYNCWAIT_Pos)
7531#define FMC_BCR3_ASYNCWAIT FMC_BCR3_ASYNCWAIT_Msk
7532#define FMC_BCR3_CPSIZE_Pos (16U)
7533#define FMC_BCR3_CPSIZE_Msk (0x7UL << FMC_BCR3_CPSIZE_Pos)
7534#define FMC_BCR3_CPSIZE FMC_BCR3_CPSIZE_Msk
7535#define FMC_BCR3_CPSIZE_0 (0x1UL << FMC_BCR3_CPSIZE_Pos)
7536#define FMC_BCR3_CPSIZE_1 (0x2UL << FMC_BCR3_CPSIZE_Pos)
7537#define FMC_BCR3_CPSIZE_2 (0x4UL << FMC_BCR3_CPSIZE_Pos)
7538#define FMC_BCR3_CBURSTRW_Pos (19U)
7539#define FMC_BCR3_CBURSTRW_Msk (0x1UL << FMC_BCR3_CBURSTRW_Pos)
7540#define FMC_BCR3_CBURSTRW FMC_BCR3_CBURSTRW_Msk
7542/****************** Bit definition for FMC_BCR4 register *******************/
7543#define FMC_BCR4_MBKEN_Pos (0U)
7544#define FMC_BCR4_MBKEN_Msk (0x1UL << FMC_BCR4_MBKEN_Pos)
7545#define FMC_BCR4_MBKEN FMC_BCR4_MBKEN_Msk
7546#define FMC_BCR4_MUXEN_Pos (1U)
7547#define FMC_BCR4_MUXEN_Msk (0x1UL << FMC_BCR4_MUXEN_Pos)
7548#define FMC_BCR4_MUXEN FMC_BCR4_MUXEN_Msk
7549#define FMC_BCR4_MTYP_Pos (2U)
7550#define FMC_BCR4_MTYP_Msk (0x3UL << FMC_BCR4_MTYP_Pos)
7551#define FMC_BCR4_MTYP FMC_BCR4_MTYP_Msk
7552#define FMC_BCR4_MTYP_0 (0x1UL << FMC_BCR4_MTYP_Pos)
7553#define FMC_BCR4_MTYP_1 (0x2UL << FMC_BCR4_MTYP_Pos)
7554#define FMC_BCR4_MWID_Pos (4U)
7555#define FMC_BCR4_MWID_Msk (0x3UL << FMC_BCR4_MWID_Pos)
7556#define FMC_BCR4_MWID FMC_BCR4_MWID_Msk
7557#define FMC_BCR4_MWID_0 (0x1UL << FMC_BCR4_MWID_Pos)
7558#define FMC_BCR4_MWID_1 (0x2UL << FMC_BCR4_MWID_Pos)
7559#define FMC_BCR4_FACCEN_Pos (6U)
7560#define FMC_BCR4_FACCEN_Msk (0x1UL << FMC_BCR4_FACCEN_Pos)
7561#define FMC_BCR4_FACCEN FMC_BCR4_FACCEN_Msk
7562#define FMC_BCR4_BURSTEN_Pos (8U)
7563#define FMC_BCR4_BURSTEN_Msk (0x1UL << FMC_BCR4_BURSTEN_Pos)
7564#define FMC_BCR4_BURSTEN FMC_BCR4_BURSTEN_Msk
7565#define FMC_BCR4_WAITPOL_Pos (9U)
7566#define FMC_BCR4_WAITPOL_Msk (0x1UL << FMC_BCR4_WAITPOL_Pos)
7567#define FMC_BCR4_WAITPOL FMC_BCR4_WAITPOL_Msk
7568#define FMC_BCR4_WRAPMOD_Pos (10U)
7569#define FMC_BCR4_WRAPMOD_Msk (0x1UL << FMC_BCR4_WRAPMOD_Pos)
7570#define FMC_BCR4_WRAPMOD FMC_BCR4_WRAPMOD_Msk
7571#define FMC_BCR4_WAITCFG_Pos (11U)
7572#define FMC_BCR4_WAITCFG_Msk (0x1UL << FMC_BCR4_WAITCFG_Pos)
7573#define FMC_BCR4_WAITCFG FMC_BCR4_WAITCFG_Msk
7574#define FMC_BCR4_WREN_Pos (12U)
7575#define FMC_BCR4_WREN_Msk (0x1UL << FMC_BCR4_WREN_Pos)
7576#define FMC_BCR4_WREN FMC_BCR4_WREN_Msk
7577#define FMC_BCR4_WAITEN_Pos (13U)
7578#define FMC_BCR4_WAITEN_Msk (0x1UL << FMC_BCR4_WAITEN_Pos)
7579#define FMC_BCR4_WAITEN FMC_BCR4_WAITEN_Msk
7580#define FMC_BCR4_EXTMOD_Pos (14U)
7581#define FMC_BCR4_EXTMOD_Msk (0x1UL << FMC_BCR4_EXTMOD_Pos)
7582#define FMC_BCR4_EXTMOD FMC_BCR4_EXTMOD_Msk
7583#define FMC_BCR4_ASYNCWAIT_Pos (15U)
7584#define FMC_BCR4_ASYNCWAIT_Msk (0x1UL << FMC_BCR4_ASYNCWAIT_Pos)
7585#define FMC_BCR4_ASYNCWAIT FMC_BCR4_ASYNCWAIT_Msk
7586#define FMC_BCR4_CPSIZE_Pos (16U)
7587#define FMC_BCR4_CPSIZE_Msk (0x7UL << FMC_BCR4_CPSIZE_Pos)
7588#define FMC_BCR4_CPSIZE FMC_BCR4_CPSIZE_Msk
7589#define FMC_BCR4_CPSIZE_0 (0x1UL << FMC_BCR4_CPSIZE_Pos)
7590#define FMC_BCR4_CPSIZE_1 (0x2UL << FMC_BCR4_CPSIZE_Pos)
7591#define FMC_BCR4_CPSIZE_2 (0x4UL << FMC_BCR4_CPSIZE_Pos)
7592#define FMC_BCR4_CBURSTRW_Pos (19U)
7593#define FMC_BCR4_CBURSTRW_Msk (0x1UL << FMC_BCR4_CBURSTRW_Pos)
7594#define FMC_BCR4_CBURSTRW FMC_BCR4_CBURSTRW_Msk
7596/****************** Bit definition for FMC_BTR1 register ******************/
7597#define FMC_BTR1_ADDSET_Pos (0U)
7598#define FMC_BTR1_ADDSET_Msk (0xFUL << FMC_BTR1_ADDSET_Pos)
7599#define FMC_BTR1_ADDSET FMC_BTR1_ADDSET_Msk
7600#define FMC_BTR1_ADDSET_0 (0x1UL << FMC_BTR1_ADDSET_Pos)
7601#define FMC_BTR1_ADDSET_1 (0x2UL << FMC_BTR1_ADDSET_Pos)
7602#define FMC_BTR1_ADDSET_2 (0x4UL << FMC_BTR1_ADDSET_Pos)
7603#define FMC_BTR1_ADDSET_3 (0x8UL << FMC_BTR1_ADDSET_Pos)
7604#define FMC_BTR1_ADDHLD_Pos (4U)
7605#define FMC_BTR1_ADDHLD_Msk (0xFUL << FMC_BTR1_ADDHLD_Pos)
7606#define FMC_BTR1_ADDHLD FMC_BTR1_ADDHLD_Msk
7607#define FMC_BTR1_ADDHLD_0 (0x1UL << FMC_BTR1_ADDHLD_Pos)
7608#define FMC_BTR1_ADDHLD_1 (0x2UL << FMC_BTR1_ADDHLD_Pos)
7609#define FMC_BTR1_ADDHLD_2 (0x4UL << FMC_BTR1_ADDHLD_Pos)
7610#define FMC_BTR1_ADDHLD_3 (0x8UL << FMC_BTR1_ADDHLD_Pos)
7611#define FMC_BTR1_DATAST_Pos (8U)
7612#define FMC_BTR1_DATAST_Msk (0xFFUL << FMC_BTR1_DATAST_Pos)
7613#define FMC_BTR1_DATAST FMC_BTR1_DATAST_Msk
7614#define FMC_BTR1_DATAST_0 (0x01UL << FMC_BTR1_DATAST_Pos)
7615#define FMC_BTR1_DATAST_1 (0x02UL << FMC_BTR1_DATAST_Pos)
7616#define FMC_BTR1_DATAST_2 (0x04UL << FMC_BTR1_DATAST_Pos)
7617#define FMC_BTR1_DATAST_3 (0x08UL << FMC_BTR1_DATAST_Pos)
7618#define FMC_BTR1_DATAST_4 (0x10UL << FMC_BTR1_DATAST_Pos)
7619#define FMC_BTR1_DATAST_5 (0x20UL << FMC_BTR1_DATAST_Pos)
7620#define FMC_BTR1_DATAST_6 (0x40UL << FMC_BTR1_DATAST_Pos)
7621#define FMC_BTR1_DATAST_7 (0x80UL << FMC_BTR1_DATAST_Pos)
7622#define FMC_BTR1_BUSTURN_Pos (16U)
7623#define FMC_BTR1_BUSTURN_Msk (0xFUL << FMC_BTR1_BUSTURN_Pos)
7624#define FMC_BTR1_BUSTURN FMC_BTR1_BUSTURN_Msk
7625#define FMC_BTR1_BUSTURN_0 (0x1UL << FMC_BTR1_BUSTURN_Pos)
7626#define FMC_BTR1_BUSTURN_1 (0x2UL << FMC_BTR1_BUSTURN_Pos)
7627#define FMC_BTR1_BUSTURN_2 (0x4UL << FMC_BTR1_BUSTURN_Pos)
7628#define FMC_BTR1_BUSTURN_3 (0x8UL << FMC_BTR1_BUSTURN_Pos)
7629#define FMC_BTR1_CLKDIV_Pos (20U)
7630#define FMC_BTR1_CLKDIV_Msk (0xFUL << FMC_BTR1_CLKDIV_Pos)
7631#define FMC_BTR1_CLKDIV FMC_BTR1_CLKDIV_Msk
7632#define FMC_BTR1_CLKDIV_0 (0x1UL << FMC_BTR1_CLKDIV_Pos)
7633#define FMC_BTR1_CLKDIV_1 (0x2UL << FMC_BTR1_CLKDIV_Pos)
7634#define FMC_BTR1_CLKDIV_2 (0x4UL << FMC_BTR1_CLKDIV_Pos)
7635#define FMC_BTR1_CLKDIV_3 (0x8UL << FMC_BTR1_CLKDIV_Pos)
7636#define FMC_BTR1_DATLAT_Pos (24U)
7637#define FMC_BTR1_DATLAT_Msk (0xFUL << FMC_BTR1_DATLAT_Pos)
7638#define FMC_BTR1_DATLAT FMC_BTR1_DATLAT_Msk
7639#define FMC_BTR1_DATLAT_0 (0x1UL << FMC_BTR1_DATLAT_Pos)
7640#define FMC_BTR1_DATLAT_1 (0x2UL << FMC_BTR1_DATLAT_Pos)
7641#define FMC_BTR1_DATLAT_2 (0x4UL << FMC_BTR1_DATLAT_Pos)
7642#define FMC_BTR1_DATLAT_3 (0x8UL << FMC_BTR1_DATLAT_Pos)
7643#define FMC_BTR1_ACCMOD_Pos (28U)
7644#define FMC_BTR1_ACCMOD_Msk (0x3UL << FMC_BTR1_ACCMOD_Pos)
7645#define FMC_BTR1_ACCMOD FMC_BTR1_ACCMOD_Msk
7646#define FMC_BTR1_ACCMOD_0 (0x1UL << FMC_BTR1_ACCMOD_Pos)
7647#define FMC_BTR1_ACCMOD_1 (0x2UL << FMC_BTR1_ACCMOD_Pos)
7649/****************** Bit definition for FMC_BTR2 register *******************/
7650#define FMC_BTR2_ADDSET_Pos (0U)
7651#define FMC_BTR2_ADDSET_Msk (0xFUL << FMC_BTR2_ADDSET_Pos)
7652#define FMC_BTR2_ADDSET FMC_BTR2_ADDSET_Msk
7653#define FMC_BTR2_ADDSET_0 (0x1UL << FMC_BTR2_ADDSET_Pos)
7654#define FMC_BTR2_ADDSET_1 (0x2UL << FMC_BTR2_ADDSET_Pos)
7655#define FMC_BTR2_ADDSET_2 (0x4UL << FMC_BTR2_ADDSET_Pos)
7656#define FMC_BTR2_ADDSET_3 (0x8UL << FMC_BTR2_ADDSET_Pos)
7657#define FMC_BTR2_ADDHLD_Pos (4U)
7658#define FMC_BTR2_ADDHLD_Msk (0xFUL << FMC_BTR2_ADDHLD_Pos)
7659#define FMC_BTR2_ADDHLD FMC_BTR2_ADDHLD_Msk
7660#define FMC_BTR2_ADDHLD_0 (0x1UL << FMC_BTR2_ADDHLD_Pos)
7661#define FMC_BTR2_ADDHLD_1 (0x2UL << FMC_BTR2_ADDHLD_Pos)
7662#define FMC_BTR2_ADDHLD_2 (0x4UL << FMC_BTR2_ADDHLD_Pos)
7663#define FMC_BTR2_ADDHLD_3 (0x8UL << FMC_BTR2_ADDHLD_Pos)
7664#define FMC_BTR2_DATAST_Pos (8U)
7665#define FMC_BTR2_DATAST_Msk (0xFFUL << FMC_BTR2_DATAST_Pos)
7666#define FMC_BTR2_DATAST FMC_BTR2_DATAST_Msk
7667#define FMC_BTR2_DATAST_0 (0x01UL << FMC_BTR2_DATAST_Pos)
7668#define FMC_BTR2_DATAST_1 (0x02UL << FMC_BTR2_DATAST_Pos)
7669#define FMC_BTR2_DATAST_2 (0x04UL << FMC_BTR2_DATAST_Pos)
7670#define FMC_BTR2_DATAST_3 (0x08UL << FMC_BTR2_DATAST_Pos)
7671#define FMC_BTR2_DATAST_4 (0x10UL << FMC_BTR2_DATAST_Pos)
7672#define FMC_BTR2_DATAST_5 (0x20UL << FMC_BTR2_DATAST_Pos)
7673#define FMC_BTR2_DATAST_6 (0x40UL << FMC_BTR2_DATAST_Pos)
7674#define FMC_BTR2_DATAST_7 (0x80UL << FMC_BTR2_DATAST_Pos)
7675#define FMC_BTR2_BUSTURN_Pos (16U)
7676#define FMC_BTR2_BUSTURN_Msk (0xFUL << FMC_BTR2_BUSTURN_Pos)
7677#define FMC_BTR2_BUSTURN FMC_BTR2_BUSTURN_Msk
7678#define FMC_BTR2_BUSTURN_0 (0x1UL << FMC_BTR2_BUSTURN_Pos)
7679#define FMC_BTR2_BUSTURN_1 (0x2UL << FMC_BTR2_BUSTURN_Pos)
7680#define FMC_BTR2_BUSTURN_2 (0x4UL << FMC_BTR2_BUSTURN_Pos)
7681#define FMC_BTR2_BUSTURN_3 (0x8UL << FMC_BTR2_BUSTURN_Pos)
7682#define FMC_BTR2_CLKDIV_Pos (20U)
7683#define FMC_BTR2_CLKDIV_Msk (0xFUL << FMC_BTR2_CLKDIV_Pos)
7684#define FMC_BTR2_CLKDIV FMC_BTR2_CLKDIV_Msk
7685#define FMC_BTR2_CLKDIV_0 (0x1UL << FMC_BTR2_CLKDIV_Pos)
7686#define FMC_BTR2_CLKDIV_1 (0x2UL << FMC_BTR2_CLKDIV_Pos)
7687#define FMC_BTR2_CLKDIV_2 (0x4UL << FMC_BTR2_CLKDIV_Pos)
7688#define FMC_BTR2_CLKDIV_3 (0x8UL << FMC_BTR2_CLKDIV_Pos)
7689#define FMC_BTR2_DATLAT_Pos (24U)
7690#define FMC_BTR2_DATLAT_Msk (0xFUL << FMC_BTR2_DATLAT_Pos)
7691#define FMC_BTR2_DATLAT FMC_BTR2_DATLAT_Msk
7692#define FMC_BTR2_DATLAT_0 (0x1UL << FMC_BTR2_DATLAT_Pos)
7693#define FMC_BTR2_DATLAT_1 (0x2UL << FMC_BTR2_DATLAT_Pos)
7694#define FMC_BTR2_DATLAT_2 (0x4UL << FMC_BTR2_DATLAT_Pos)
7695#define FMC_BTR2_DATLAT_3 (0x8UL << FMC_BTR2_DATLAT_Pos)
7696#define FMC_BTR2_ACCMOD_Pos (28U)
7697#define FMC_BTR2_ACCMOD_Msk (0x3UL << FMC_BTR2_ACCMOD_Pos)
7698#define FMC_BTR2_ACCMOD FMC_BTR2_ACCMOD_Msk
7699#define FMC_BTR2_ACCMOD_0 (0x1UL << FMC_BTR2_ACCMOD_Pos)
7700#define FMC_BTR2_ACCMOD_1 (0x2UL << FMC_BTR2_ACCMOD_Pos)
7702/******************* Bit definition for FMC_BTR3 register *******************/
7703#define FMC_BTR3_ADDSET_Pos (0U)
7704#define FMC_BTR3_ADDSET_Msk (0xFUL << FMC_BTR3_ADDSET_Pos)
7705#define FMC_BTR3_ADDSET FMC_BTR3_ADDSET_Msk
7706#define FMC_BTR3_ADDSET_0 (0x1UL << FMC_BTR3_ADDSET_Pos)
7707#define FMC_BTR3_ADDSET_1 (0x2UL << FMC_BTR3_ADDSET_Pos)
7708#define FMC_BTR3_ADDSET_2 (0x4UL << FMC_BTR3_ADDSET_Pos)
7709#define FMC_BTR3_ADDSET_3 (0x8UL << FMC_BTR3_ADDSET_Pos)
7710#define FMC_BTR3_ADDHLD_Pos (4U)
7711#define FMC_BTR3_ADDHLD_Msk (0xFUL << FMC_BTR3_ADDHLD_Pos)
7712#define FMC_BTR3_ADDHLD FMC_BTR3_ADDHLD_Msk
7713#define FMC_BTR3_ADDHLD_0 (0x1UL << FMC_BTR3_ADDHLD_Pos)
7714#define FMC_BTR3_ADDHLD_1 (0x2UL << FMC_BTR3_ADDHLD_Pos)
7715#define FMC_BTR3_ADDHLD_2 (0x4UL << FMC_BTR3_ADDHLD_Pos)
7716#define FMC_BTR3_ADDHLD_3 (0x8UL << FMC_BTR3_ADDHLD_Pos)
7717#define FMC_BTR3_DATAST_Pos (8U)
7718#define FMC_BTR3_DATAST_Msk (0xFFUL << FMC_BTR3_DATAST_Pos)
7719#define FMC_BTR3_DATAST FMC_BTR3_DATAST_Msk
7720#define FMC_BTR3_DATAST_0 (0x01UL << FMC_BTR3_DATAST_Pos)
7721#define FMC_BTR3_DATAST_1 (0x02UL << FMC_BTR3_DATAST_Pos)
7722#define FMC_BTR3_DATAST_2 (0x04UL << FMC_BTR3_DATAST_Pos)
7723#define FMC_BTR3_DATAST_3 (0x08UL << FMC_BTR3_DATAST_Pos)
7724#define FMC_BTR3_DATAST_4 (0x10UL << FMC_BTR3_DATAST_Pos)
7725#define FMC_BTR3_DATAST_5 (0x20UL << FMC_BTR3_DATAST_Pos)
7726#define FMC_BTR3_DATAST_6 (0x40UL << FMC_BTR3_DATAST_Pos)
7727#define FMC_BTR3_DATAST_7 (0x80UL << FMC_BTR3_DATAST_Pos)
7728#define FMC_BTR3_BUSTURN_Pos (16U)
7729#define FMC_BTR3_BUSTURN_Msk (0xFUL << FMC_BTR3_BUSTURN_Pos)
7730#define FMC_BTR3_BUSTURN FMC_BTR3_BUSTURN_Msk
7731#define FMC_BTR3_BUSTURN_0 (0x1UL << FMC_BTR3_BUSTURN_Pos)
7732#define FMC_BTR3_BUSTURN_1 (0x2UL << FMC_BTR3_BUSTURN_Pos)
7733#define FMC_BTR3_BUSTURN_2 (0x4UL << FMC_BTR3_BUSTURN_Pos)
7734#define FMC_BTR3_BUSTURN_3 (0x8UL << FMC_BTR3_BUSTURN_Pos)
7735#define FMC_BTR3_CLKDIV_Pos (20U)
7736#define FMC_BTR3_CLKDIV_Msk (0xFUL << FMC_BTR3_CLKDIV_Pos)
7737#define FMC_BTR3_CLKDIV FMC_BTR3_CLKDIV_Msk
7738#define FMC_BTR3_CLKDIV_0 (0x1UL << FMC_BTR3_CLKDIV_Pos)
7739#define FMC_BTR3_CLKDIV_1 (0x2UL << FMC_BTR3_CLKDIV_Pos)
7740#define FMC_BTR3_CLKDIV_2 (0x4UL << FMC_BTR3_CLKDIV_Pos)
7741#define FMC_BTR3_CLKDIV_3 (0x8UL << FMC_BTR3_CLKDIV_Pos)
7742#define FMC_BTR3_DATLAT_Pos (24U)
7743#define FMC_BTR3_DATLAT_Msk (0xFUL << FMC_BTR3_DATLAT_Pos)
7744#define FMC_BTR3_DATLAT FMC_BTR3_DATLAT_Msk
7745#define FMC_BTR3_DATLAT_0 (0x1UL << FMC_BTR3_DATLAT_Pos)
7746#define FMC_BTR3_DATLAT_1 (0x2UL << FMC_BTR3_DATLAT_Pos)
7747#define FMC_BTR3_DATLAT_2 (0x4UL << FMC_BTR3_DATLAT_Pos)
7748#define FMC_BTR3_DATLAT_3 (0x8UL << FMC_BTR3_DATLAT_Pos)
7749#define FMC_BTR3_ACCMOD_Pos (28U)
7750#define FMC_BTR3_ACCMOD_Msk (0x3UL << FMC_BTR3_ACCMOD_Pos)
7751#define FMC_BTR3_ACCMOD FMC_BTR3_ACCMOD_Msk
7752#define FMC_BTR3_ACCMOD_0 (0x1UL << FMC_BTR3_ACCMOD_Pos)
7753#define FMC_BTR3_ACCMOD_1 (0x2UL << FMC_BTR3_ACCMOD_Pos)
7755/****************** Bit definition for FMC_BTR4 register *******************/
7756#define FMC_BTR4_ADDSET_Pos (0U)
7757#define FMC_BTR4_ADDSET_Msk (0xFUL << FMC_BTR4_ADDSET_Pos)
7758#define FMC_BTR4_ADDSET FMC_BTR4_ADDSET_Msk
7759#define FMC_BTR4_ADDSET_0 (0x1UL << FMC_BTR4_ADDSET_Pos)
7760#define FMC_BTR4_ADDSET_1 (0x2UL << FMC_BTR4_ADDSET_Pos)
7761#define FMC_BTR4_ADDSET_2 (0x4UL << FMC_BTR4_ADDSET_Pos)
7762#define FMC_BTR4_ADDSET_3 (0x8UL << FMC_BTR4_ADDSET_Pos)
7763#define FMC_BTR4_ADDHLD_Pos (4U)
7764#define FMC_BTR4_ADDHLD_Msk (0xFUL << FMC_BTR4_ADDHLD_Pos)
7765#define FMC_BTR4_ADDHLD FMC_BTR4_ADDHLD_Msk
7766#define FMC_BTR4_ADDHLD_0 (0x1UL << FMC_BTR4_ADDHLD_Pos)
7767#define FMC_BTR4_ADDHLD_1 (0x2UL << FMC_BTR4_ADDHLD_Pos)
7768#define FMC_BTR4_ADDHLD_2 (0x4UL << FMC_BTR4_ADDHLD_Pos)
7769#define FMC_BTR4_ADDHLD_3 (0x8UL << FMC_BTR4_ADDHLD_Pos)
7770#define FMC_BTR4_DATAST_Pos (8U)
7771#define FMC_BTR4_DATAST_Msk (0xFFUL << FMC_BTR4_DATAST_Pos)
7772#define FMC_BTR4_DATAST FMC_BTR4_DATAST_Msk
7773#define FMC_BTR4_DATAST_0 (0x01UL << FMC_BTR4_DATAST_Pos)
7774#define FMC_BTR4_DATAST_1 (0x02UL << FMC_BTR4_DATAST_Pos)
7775#define FMC_BTR4_DATAST_2 (0x04UL << FMC_BTR4_DATAST_Pos)
7776#define FMC_BTR4_DATAST_3 (0x08UL << FMC_BTR4_DATAST_Pos)
7777#define FMC_BTR4_DATAST_4 (0x10UL << FMC_BTR4_DATAST_Pos)
7778#define FMC_BTR4_DATAST_5 (0x20UL << FMC_BTR4_DATAST_Pos)
7779#define FMC_BTR4_DATAST_6 (0x40UL << FMC_BTR4_DATAST_Pos)
7780#define FMC_BTR4_DATAST_7 (0x80UL << FMC_BTR4_DATAST_Pos)
7781#define FMC_BTR4_BUSTURN_Pos (16U)
7782#define FMC_BTR4_BUSTURN_Msk (0xFUL << FMC_BTR4_BUSTURN_Pos)
7783#define FMC_BTR4_BUSTURN FMC_BTR4_BUSTURN_Msk
7784#define FMC_BTR4_BUSTURN_0 (0x1UL << FMC_BTR4_BUSTURN_Pos)
7785#define FMC_BTR4_BUSTURN_1 (0x2UL << FMC_BTR4_BUSTURN_Pos)
7786#define FMC_BTR4_BUSTURN_2 (0x4UL << FMC_BTR4_BUSTURN_Pos)
7787#define FMC_BTR4_BUSTURN_3 (0x8UL << FMC_BTR4_BUSTURN_Pos)
7788#define FMC_BTR4_CLKDIV_Pos (20U)
7789#define FMC_BTR4_CLKDIV_Msk (0xFUL << FMC_BTR4_CLKDIV_Pos)
7790#define FMC_BTR4_CLKDIV FMC_BTR4_CLKDIV_Msk
7791#define FMC_BTR4_CLKDIV_0 (0x1UL << FMC_BTR4_CLKDIV_Pos)
7792#define FMC_BTR4_CLKDIV_1 (0x2UL << FMC_BTR4_CLKDIV_Pos)
7793#define FMC_BTR4_CLKDIV_2 (0x4UL << FMC_BTR4_CLKDIV_Pos)
7794#define FMC_BTR4_CLKDIV_3 (0x8UL << FMC_BTR4_CLKDIV_Pos)
7795#define FMC_BTR4_DATLAT_Pos (24U)
7796#define FMC_BTR4_DATLAT_Msk (0xFUL << FMC_BTR4_DATLAT_Pos)
7797#define FMC_BTR4_DATLAT FMC_BTR4_DATLAT_Msk
7798#define FMC_BTR4_DATLAT_0 (0x1UL << FMC_BTR4_DATLAT_Pos)
7799#define FMC_BTR4_DATLAT_1 (0x2UL << FMC_BTR4_DATLAT_Pos)
7800#define FMC_BTR4_DATLAT_2 (0x4UL << FMC_BTR4_DATLAT_Pos)
7801#define FMC_BTR4_DATLAT_3 (0x8UL << FMC_BTR4_DATLAT_Pos)
7802#define FMC_BTR4_ACCMOD_Pos (28U)
7803#define FMC_BTR4_ACCMOD_Msk (0x3UL << FMC_BTR4_ACCMOD_Pos)
7804#define FMC_BTR4_ACCMOD FMC_BTR4_ACCMOD_Msk
7805#define FMC_BTR4_ACCMOD_0 (0x1UL << FMC_BTR4_ACCMOD_Pos)
7806#define FMC_BTR4_ACCMOD_1 (0x2UL << FMC_BTR4_ACCMOD_Pos)
7808/****************** Bit definition for FMC_BWTR1 register ******************/
7809#define FMC_BWTR1_ADDSET_Pos (0U)
7810#define FMC_BWTR1_ADDSET_Msk (0xFUL << FMC_BWTR1_ADDSET_Pos)
7811#define FMC_BWTR1_ADDSET FMC_BWTR1_ADDSET_Msk
7812#define FMC_BWTR1_ADDSET_0 (0x1UL << FMC_BWTR1_ADDSET_Pos)
7813#define FMC_BWTR1_ADDSET_1 (0x2UL << FMC_BWTR1_ADDSET_Pos)
7814#define FMC_BWTR1_ADDSET_2 (0x4UL << FMC_BWTR1_ADDSET_Pos)
7815#define FMC_BWTR1_ADDSET_3 (0x8UL << FMC_BWTR1_ADDSET_Pos)
7816#define FMC_BWTR1_ADDHLD_Pos (4U)
7817#define FMC_BWTR1_ADDHLD_Msk (0xFUL << FMC_BWTR1_ADDHLD_Pos)
7818#define FMC_BWTR1_ADDHLD FMC_BWTR1_ADDHLD_Msk
7819#define FMC_BWTR1_ADDHLD_0 (0x1UL << FMC_BWTR1_ADDHLD_Pos)
7820#define FMC_BWTR1_ADDHLD_1 (0x2UL << FMC_BWTR1_ADDHLD_Pos)
7821#define FMC_BWTR1_ADDHLD_2 (0x4UL << FMC_BWTR1_ADDHLD_Pos)
7822#define FMC_BWTR1_ADDHLD_3 (0x8UL << FMC_BWTR1_ADDHLD_Pos)
7823#define FMC_BWTR1_DATAST_Pos (8U)
7824#define FMC_BWTR1_DATAST_Msk (0xFFUL << FMC_BWTR1_DATAST_Pos)
7825#define FMC_BWTR1_DATAST FMC_BWTR1_DATAST_Msk
7826#define FMC_BWTR1_DATAST_0 (0x01UL << FMC_BWTR1_DATAST_Pos)
7827#define FMC_BWTR1_DATAST_1 (0x02UL << FMC_BWTR1_DATAST_Pos)
7828#define FMC_BWTR1_DATAST_2 (0x04UL << FMC_BWTR1_DATAST_Pos)
7829#define FMC_BWTR1_DATAST_3 (0x08UL << FMC_BWTR1_DATAST_Pos)
7830#define FMC_BWTR1_DATAST_4 (0x10UL << FMC_BWTR1_DATAST_Pos)
7831#define FMC_BWTR1_DATAST_5 (0x20UL << FMC_BWTR1_DATAST_Pos)
7832#define FMC_BWTR1_DATAST_6 (0x40UL << FMC_BWTR1_DATAST_Pos)
7833#define FMC_BWTR1_DATAST_7 (0x80UL << FMC_BWTR1_DATAST_Pos)
7834#define FMC_BWTR1_BUSTURN_Pos (16U)
7835#define FMC_BWTR1_BUSTURN_Msk (0xFUL << FMC_BWTR1_BUSTURN_Pos)
7836#define FMC_BWTR1_BUSTURN FMC_BWTR1_BUSTURN_Msk
7837#define FMC_BWTR1_BUSTURN_0 (0x1UL << FMC_BWTR1_BUSTURN_Pos)
7838#define FMC_BWTR1_BUSTURN_1 (0x2UL << FMC_BWTR1_BUSTURN_Pos)
7839#define FMC_BWTR1_BUSTURN_2 (0x4UL << FMC_BWTR1_BUSTURN_Pos)
7840#define FMC_BWTR1_BUSTURN_3 (0x8UL << FMC_BWTR1_BUSTURN_Pos)
7841#define FMC_BWTR1_ACCMOD_Pos (28U)
7842#define FMC_BWTR1_ACCMOD_Msk (0x3UL << FMC_BWTR1_ACCMOD_Pos)
7843#define FMC_BWTR1_ACCMOD FMC_BWTR1_ACCMOD_Msk
7844#define FMC_BWTR1_ACCMOD_0 (0x1UL << FMC_BWTR1_ACCMOD_Pos)
7845#define FMC_BWTR1_ACCMOD_1 (0x2UL << FMC_BWTR1_ACCMOD_Pos)
7847/****************** Bit definition for FMC_BWTR2 register ******************/
7848#define FMC_BWTR2_ADDSET_Pos (0U)
7849#define FMC_BWTR2_ADDSET_Msk (0xFUL << FMC_BWTR2_ADDSET_Pos)
7850#define FMC_BWTR2_ADDSET FMC_BWTR2_ADDSET_Msk
7851#define FMC_BWTR2_ADDSET_0 (0x1UL << FMC_BWTR2_ADDSET_Pos)
7852#define FMC_BWTR2_ADDSET_1 (0x2UL << FMC_BWTR2_ADDSET_Pos)
7853#define FMC_BWTR2_ADDSET_2 (0x4UL << FMC_BWTR2_ADDSET_Pos)
7854#define FMC_BWTR2_ADDSET_3 (0x8UL << FMC_BWTR2_ADDSET_Pos)
7855#define FMC_BWTR2_ADDHLD_Pos (4U)
7856#define FMC_BWTR2_ADDHLD_Msk (0xFUL << FMC_BWTR2_ADDHLD_Pos)
7857#define FMC_BWTR2_ADDHLD FMC_BWTR2_ADDHLD_Msk
7858#define FMC_BWTR2_ADDHLD_0 (0x1UL << FMC_BWTR2_ADDHLD_Pos)
7859#define FMC_BWTR2_ADDHLD_1 (0x2UL << FMC_BWTR2_ADDHLD_Pos)
7860#define FMC_BWTR2_ADDHLD_2 (0x4UL << FMC_BWTR2_ADDHLD_Pos)
7861#define FMC_BWTR2_ADDHLD_3 (0x8UL << FMC_BWTR2_ADDHLD_Pos)
7862#define FMC_BWTR2_DATAST_Pos (8U)
7863#define FMC_BWTR2_DATAST_Msk (0xFFUL << FMC_BWTR2_DATAST_Pos)
7864#define FMC_BWTR2_DATAST FMC_BWTR2_DATAST_Msk
7865#define FMC_BWTR2_DATAST_0 (0x01UL << FMC_BWTR2_DATAST_Pos)
7866#define FMC_BWTR2_DATAST_1 (0x02UL << FMC_BWTR2_DATAST_Pos)
7867#define FMC_BWTR2_DATAST_2 (0x04UL << FMC_BWTR2_DATAST_Pos)
7868#define FMC_BWTR2_DATAST_3 (0x08UL << FMC_BWTR2_DATAST_Pos)
7869#define FMC_BWTR2_DATAST_4 (0x10UL << FMC_BWTR2_DATAST_Pos)
7870#define FMC_BWTR2_DATAST_5 (0x20UL << FMC_BWTR2_DATAST_Pos)
7871#define FMC_BWTR2_DATAST_6 (0x40UL << FMC_BWTR2_DATAST_Pos)
7872#define FMC_BWTR2_DATAST_7 (0x80UL << FMC_BWTR2_DATAST_Pos)
7873#define FMC_BWTR2_BUSTURN_Pos (16U)
7874#define FMC_BWTR2_BUSTURN_Msk (0xFUL << FMC_BWTR2_BUSTURN_Pos)
7875#define FMC_BWTR2_BUSTURN FMC_BWTR2_BUSTURN_Msk
7876#define FMC_BWTR2_BUSTURN_0 (0x1UL << FMC_BWTR2_BUSTURN_Pos)
7877#define FMC_BWTR2_BUSTURN_1 (0x2UL << FMC_BWTR2_BUSTURN_Pos)
7878#define FMC_BWTR2_BUSTURN_2 (0x4UL << FMC_BWTR2_BUSTURN_Pos)
7879#define FMC_BWTR2_BUSTURN_3 (0x8UL << FMC_BWTR2_BUSTURN_Pos)
7880#define FMC_BWTR2_ACCMOD_Pos (28U)
7881#define FMC_BWTR2_ACCMOD_Msk (0x3UL << FMC_BWTR2_ACCMOD_Pos)
7882#define FMC_BWTR2_ACCMOD FMC_BWTR2_ACCMOD_Msk
7883#define FMC_BWTR2_ACCMOD_0 (0x1UL << FMC_BWTR2_ACCMOD_Pos)
7884#define FMC_BWTR2_ACCMOD_1 (0x2UL << FMC_BWTR2_ACCMOD_Pos)
7886/****************** Bit definition for FMC_BWTR3 register ******************/
7887#define FMC_BWTR3_ADDSET_Pos (0U)
7888#define FMC_BWTR3_ADDSET_Msk (0xFUL << FMC_BWTR3_ADDSET_Pos)
7889#define FMC_BWTR3_ADDSET FMC_BWTR3_ADDSET_Msk
7890#define FMC_BWTR3_ADDSET_0 (0x1UL << FMC_BWTR3_ADDSET_Pos)
7891#define FMC_BWTR3_ADDSET_1 (0x2UL << FMC_BWTR3_ADDSET_Pos)
7892#define FMC_BWTR3_ADDSET_2 (0x4UL << FMC_BWTR3_ADDSET_Pos)
7893#define FMC_BWTR3_ADDSET_3 (0x8UL << FMC_BWTR3_ADDSET_Pos)
7894#define FMC_BWTR3_ADDHLD_Pos (4U)
7895#define FMC_BWTR3_ADDHLD_Msk (0xFUL << FMC_BWTR3_ADDHLD_Pos)
7896#define FMC_BWTR3_ADDHLD FMC_BWTR3_ADDHLD_Msk
7897#define FMC_BWTR3_ADDHLD_0 (0x1UL << FMC_BWTR3_ADDHLD_Pos)
7898#define FMC_BWTR3_ADDHLD_1 (0x2UL << FMC_BWTR3_ADDHLD_Pos)
7899#define FMC_BWTR3_ADDHLD_2 (0x4UL << FMC_BWTR3_ADDHLD_Pos)
7900#define FMC_BWTR3_ADDHLD_3 (0x8UL << FMC_BWTR3_ADDHLD_Pos)
7901#define FMC_BWTR3_DATAST_Pos (8U)
7902#define FMC_BWTR3_DATAST_Msk (0xFFUL << FMC_BWTR3_DATAST_Pos)
7903#define FMC_BWTR3_DATAST FMC_BWTR3_DATAST_Msk
7904#define FMC_BWTR3_DATAST_0 (0x01UL << FMC_BWTR3_DATAST_Pos)
7905#define FMC_BWTR3_DATAST_1 (0x02UL << FMC_BWTR3_DATAST_Pos)
7906#define FMC_BWTR3_DATAST_2 (0x04UL << FMC_BWTR3_DATAST_Pos)
7907#define FMC_BWTR3_DATAST_3 (0x08UL << FMC_BWTR3_DATAST_Pos)
7908#define FMC_BWTR3_DATAST_4 (0x10UL << FMC_BWTR3_DATAST_Pos)
7909#define FMC_BWTR3_DATAST_5 (0x20UL << FMC_BWTR3_DATAST_Pos)
7910#define FMC_BWTR3_DATAST_6 (0x40UL << FMC_BWTR3_DATAST_Pos)
7911#define FMC_BWTR3_DATAST_7 (0x80UL << FMC_BWTR3_DATAST_Pos)
7912#define FMC_BWTR3_BUSTURN_Pos (16U)
7913#define FMC_BWTR3_BUSTURN_Msk (0xFUL << FMC_BWTR3_BUSTURN_Pos)
7914#define FMC_BWTR3_BUSTURN FMC_BWTR3_BUSTURN_Msk
7915#define FMC_BWTR3_BUSTURN_0 (0x1UL << FMC_BWTR3_BUSTURN_Pos)
7916#define FMC_BWTR3_BUSTURN_1 (0x2UL << FMC_BWTR3_BUSTURN_Pos)
7917#define FMC_BWTR3_BUSTURN_2 (0x4UL << FMC_BWTR3_BUSTURN_Pos)
7918#define FMC_BWTR3_BUSTURN_3 (0x8UL << FMC_BWTR3_BUSTURN_Pos)
7919#define FMC_BWTR3_ACCMOD_Pos (28U)
7920#define FMC_BWTR3_ACCMOD_Msk (0x3UL << FMC_BWTR3_ACCMOD_Pos)
7921#define FMC_BWTR3_ACCMOD FMC_BWTR3_ACCMOD_Msk
7922#define FMC_BWTR3_ACCMOD_0 (0x1UL << FMC_BWTR3_ACCMOD_Pos)
7923#define FMC_BWTR3_ACCMOD_1 (0x2UL << FMC_BWTR3_ACCMOD_Pos)
7925/****************** Bit definition for FMC_BWTR4 register ******************/
7926#define FMC_BWTR4_ADDSET_Pos (0U)
7927#define FMC_BWTR4_ADDSET_Msk (0xFUL << FMC_BWTR4_ADDSET_Pos)
7928#define FMC_BWTR4_ADDSET FMC_BWTR4_ADDSET_Msk
7929#define FMC_BWTR4_ADDSET_0 (0x1UL << FMC_BWTR4_ADDSET_Pos)
7930#define FMC_BWTR4_ADDSET_1 (0x2UL << FMC_BWTR4_ADDSET_Pos)
7931#define FMC_BWTR4_ADDSET_2 (0x4UL << FMC_BWTR4_ADDSET_Pos)
7932#define FMC_BWTR4_ADDSET_3 (0x8UL << FMC_BWTR4_ADDSET_Pos)
7933#define FMC_BWTR4_ADDHLD_Pos (4U)
7934#define FMC_BWTR4_ADDHLD_Msk (0xFUL << FMC_BWTR4_ADDHLD_Pos)
7935#define FMC_BWTR4_ADDHLD FMC_BWTR4_ADDHLD_Msk
7936#define FMC_BWTR4_ADDHLD_0 (0x1UL << FMC_BWTR4_ADDHLD_Pos)
7937#define FMC_BWTR4_ADDHLD_1 (0x2UL << FMC_BWTR4_ADDHLD_Pos)
7938#define FMC_BWTR4_ADDHLD_2 (0x4UL << FMC_BWTR4_ADDHLD_Pos)
7939#define FMC_BWTR4_ADDHLD_3 (0x8UL << FMC_BWTR4_ADDHLD_Pos)
7940#define FMC_BWTR4_DATAST_Pos (8U)
7941#define FMC_BWTR4_DATAST_Msk (0xFFUL << FMC_BWTR4_DATAST_Pos)
7942#define FMC_BWTR4_DATAST FMC_BWTR4_DATAST_Msk
7943#define FMC_BWTR4_DATAST_0 (0x01UL << FMC_BWTR4_DATAST_Pos)
7944#define FMC_BWTR4_DATAST_1 (0x02UL << FMC_BWTR4_DATAST_Pos)
7945#define FMC_BWTR4_DATAST_2 (0x04UL << FMC_BWTR4_DATAST_Pos)
7946#define FMC_BWTR4_DATAST_3 (0x08UL << FMC_BWTR4_DATAST_Pos)
7947#define FMC_BWTR4_DATAST_4 (0x10UL << FMC_BWTR4_DATAST_Pos)
7948#define FMC_BWTR4_DATAST_5 (0x20UL << FMC_BWTR4_DATAST_Pos)
7949#define FMC_BWTR4_DATAST_6 (0x40UL << FMC_BWTR4_DATAST_Pos)
7950#define FMC_BWTR4_DATAST_7 (0x80UL << FMC_BWTR4_DATAST_Pos)
7951#define FMC_BWTR4_BUSTURN_Pos (16U)
7952#define FMC_BWTR4_BUSTURN_Msk (0xFUL << FMC_BWTR4_BUSTURN_Pos)
7953#define FMC_BWTR4_BUSTURN FMC_BWTR4_BUSTURN_Msk
7954#define FMC_BWTR4_BUSTURN_0 (0x1UL << FMC_BWTR4_BUSTURN_Pos)
7955#define FMC_BWTR4_BUSTURN_1 (0x2UL << FMC_BWTR4_BUSTURN_Pos)
7956#define FMC_BWTR4_BUSTURN_2 (0x4UL << FMC_BWTR4_BUSTURN_Pos)
7957#define FMC_BWTR4_BUSTURN_3 (0x8UL << FMC_BWTR4_BUSTURN_Pos)
7958#define FMC_BWTR4_ACCMOD_Pos (28U)
7959#define FMC_BWTR4_ACCMOD_Msk (0x3UL << FMC_BWTR4_ACCMOD_Pos)
7960#define FMC_BWTR4_ACCMOD FMC_BWTR4_ACCMOD_Msk
7961#define FMC_BWTR4_ACCMOD_0 (0x1UL << FMC_BWTR4_ACCMOD_Pos)
7962#define FMC_BWTR4_ACCMOD_1 (0x2UL << FMC_BWTR4_ACCMOD_Pos)
7964/****************** Bit definition for FMC_PCR register *******************/
7965#define FMC_PCR_PWAITEN_Pos (1U)
7966#define FMC_PCR_PWAITEN_Msk (0x1UL << FMC_PCR_PWAITEN_Pos)
7967#define FMC_PCR_PWAITEN FMC_PCR_PWAITEN_Msk
7968#define FMC_PCR_PBKEN_Pos (2U)
7969#define FMC_PCR_PBKEN_Msk (0x1UL << FMC_PCR_PBKEN_Pos)
7970#define FMC_PCR_PBKEN FMC_PCR_PBKEN_Msk
7971#define FMC_PCR_PTYP_Pos (3U)
7972#define FMC_PCR_PTYP_Msk (0x1UL << FMC_PCR_PTYP_Pos)
7973#define FMC_PCR_PTYP FMC_PCR_PTYP_Msk
7974#define FMC_PCR_PWID_Pos (4U)
7975#define FMC_PCR_PWID_Msk (0x3UL << FMC_PCR_PWID_Pos)
7976#define FMC_PCR_PWID FMC_PCR_PWID_Msk
7977#define FMC_PCR_PWID_0 (0x1UL << FMC_PCR_PWID_Pos)
7978#define FMC_PCR_PWID_1 (0x2UL << FMC_PCR_PWID_Pos)
7979#define FMC_PCR_ECCEN_Pos (6U)
7980#define FMC_PCR_ECCEN_Msk (0x1UL << FMC_PCR_ECCEN_Pos)
7981#define FMC_PCR_ECCEN FMC_PCR_ECCEN_Msk
7982#define FMC_PCR_TCLR_Pos (9U)
7983#define FMC_PCR_TCLR_Msk (0xFUL << FMC_PCR_TCLR_Pos)
7984#define FMC_PCR_TCLR FMC_PCR_TCLR_Msk
7985#define FMC_PCR_TCLR_0 (0x1UL << FMC_PCR_TCLR_Pos)
7986#define FMC_PCR_TCLR_1 (0x2UL << FMC_PCR_TCLR_Pos)
7987#define FMC_PCR_TCLR_2 (0x4UL << FMC_PCR_TCLR_Pos)
7988#define FMC_PCR_TCLR_3 (0x8UL << FMC_PCR_TCLR_Pos)
7989#define FMC_PCR_TAR_Pos (13U)
7990#define FMC_PCR_TAR_Msk (0xFUL << FMC_PCR_TAR_Pos)
7991#define FMC_PCR_TAR FMC_PCR_TAR_Msk
7992#define FMC_PCR_TAR_0 (0x1UL << FMC_PCR_TAR_Pos)
7993#define FMC_PCR_TAR_1 (0x2UL << FMC_PCR_TAR_Pos)
7994#define FMC_PCR_TAR_2 (0x4UL << FMC_PCR_TAR_Pos)
7995#define FMC_PCR_TAR_3 (0x8UL << FMC_PCR_TAR_Pos)
7996#define FMC_PCR_ECCPS_Pos (17U)
7997#define FMC_PCR_ECCPS_Msk (0x7UL << FMC_PCR_ECCPS_Pos)
7998#define FMC_PCR_ECCPS FMC_PCR_ECCPS_Msk
7999#define FMC_PCR_ECCPS_0 (0x1UL << FMC_PCR_ECCPS_Pos)
8000#define FMC_PCR_ECCPS_1 (0x2UL << FMC_PCR_ECCPS_Pos)
8001#define FMC_PCR_ECCPS_2 (0x4UL << FMC_PCR_ECCPS_Pos)
8003/******************* Bit definition for FMC_SR register *******************/
8004#define FMC_SR_IRS_Pos (0U)
8005#define FMC_SR_IRS_Msk (0x1UL << FMC_SR_IRS_Pos)
8006#define FMC_SR_IRS FMC_SR_IRS_Msk
8007#define FMC_SR_ILS_Pos (1U)
8008#define FMC_SR_ILS_Msk (0x1UL << FMC_SR_ILS_Pos)
8009#define FMC_SR_ILS FMC_SR_ILS_Msk
8010#define FMC_SR_IFS_Pos (2U)
8011#define FMC_SR_IFS_Msk (0x1UL << FMC_SR_IFS_Pos)
8012#define FMC_SR_IFS FMC_SR_IFS_Msk
8013#define FMC_SR_IREN_Pos (3U)
8014#define FMC_SR_IREN_Msk (0x1UL << FMC_SR_IREN_Pos)
8015#define FMC_SR_IREN FMC_SR_IREN_Msk
8016#define FMC_SR_ILEN_Pos (4U)
8017#define FMC_SR_ILEN_Msk (0x1UL << FMC_SR_ILEN_Pos)
8018#define FMC_SR_ILEN FMC_SR_ILEN_Msk
8019#define FMC_SR_IFEN_Pos (5U)
8020#define FMC_SR_IFEN_Msk (0x1UL << FMC_SR_IFEN_Pos)
8021#define FMC_SR_IFEN FMC_SR_IFEN_Msk
8022#define FMC_SR_FEMPT_Pos (6U)
8023#define FMC_SR_FEMPT_Msk (0x1UL << FMC_SR_FEMPT_Pos)
8024#define FMC_SR_FEMPT FMC_SR_FEMPT_Msk
8026/****************** Bit definition for FMC_PMEM register ******************/
8027#define FMC_PMEM_MEMSET3_Pos (0U)
8028#define FMC_PMEM_MEMSET3_Msk (0xFFUL << FMC_PMEM_MEMSET3_Pos)
8029#define FMC_PMEM_MEMSET3 FMC_PMEM_MEMSET3_Msk
8030#define FMC_PMEM_MEMSET3_0 (0x01UL << FMC_PMEM_MEMSET3_Pos)
8031#define FMC_PMEM_MEMSET3_1 (0x02UL << FMC_PMEM_MEMSET3_Pos)
8032#define FMC_PMEM_MEMSET3_2 (0x04UL << FMC_PMEM_MEMSET3_Pos)
8033#define FMC_PMEM_MEMSET3_3 (0x08UL << FMC_PMEM_MEMSET3_Pos)
8034#define FMC_PMEM_MEMSET3_4 (0x10UL << FMC_PMEM_MEMSET3_Pos)
8035#define FMC_PMEM_MEMSET3_5 (0x20UL << FMC_PMEM_MEMSET3_Pos)
8036#define FMC_PMEM_MEMSET3_6 (0x40UL << FMC_PMEM_MEMSET3_Pos)
8037#define FMC_PMEM_MEMSET3_7 (0x80UL << FMC_PMEM_MEMSET3_Pos)
8038#define FMC_PMEM_MEMWAIT3_Pos (8U)
8039#define FMC_PMEM_MEMWAIT3_Msk (0xFFUL << FMC_PMEM_MEMWAIT3_Pos)
8040#define FMC_PMEM_MEMWAIT3 FMC_PMEM_MEMWAIT3_Msk
8041#define FMC_PMEM_MEMWAIT3_0 (0x01UL << FMC_PMEM_MEMWAIT3_Pos)
8042#define FMC_PMEM_MEMWAIT3_1 (0x02UL << FMC_PMEM_MEMWAIT3_Pos)
8043#define FMC_PMEM_MEMWAIT3_2 (0x04UL << FMC_PMEM_MEMWAIT3_Pos)
8044#define FMC_PMEM_MEMWAIT3_3 (0x08UL << FMC_PMEM_MEMWAIT3_Pos)
8045#define FMC_PMEM_MEMWAIT3_4 (0x10UL << FMC_PMEM_MEMWAIT3_Pos)
8046#define FMC_PMEM_MEMWAIT3_5 (0x20UL << FMC_PMEM_MEMWAIT3_Pos)
8047#define FMC_PMEM_MEMWAIT3_6 (0x40UL << FMC_PMEM_MEMWAIT3_Pos)
8048#define FMC_PMEM_MEMWAIT3_7 (0x80UL << FMC_PMEM_MEMWAIT3_Pos)
8049#define FMC_PMEM_MEMHOLD3_Pos (16U)
8050#define FMC_PMEM_MEMHOLD3_Msk (0xFFUL << FMC_PMEM_MEMHOLD3_Pos)
8051#define FMC_PMEM_MEMHOLD3 FMC_PMEM_MEMHOLD3_Msk
8052#define FMC_PMEM_MEMHOLD3_0 (0x01UL << FMC_PMEM_MEMHOLD3_Pos)
8053#define FMC_PMEM_MEMHOLD3_1 (0x02UL << FMC_PMEM_MEMHOLD3_Pos)
8054#define FMC_PMEM_MEMHOLD3_2 (0x04UL << FMC_PMEM_MEMHOLD3_Pos)
8055#define FMC_PMEM_MEMHOLD3_3 (0x08UL << FMC_PMEM_MEMHOLD3_Pos)
8056#define FMC_PMEM_MEMHOLD3_4 (0x10UL << FMC_PMEM_MEMHOLD3_Pos)
8057#define FMC_PMEM_MEMHOLD3_5 (0x20UL << FMC_PMEM_MEMHOLD3_Pos)
8058#define FMC_PMEM_MEMHOLD3_6 (0x40UL << FMC_PMEM_MEMHOLD3_Pos)
8059#define FMC_PMEM_MEMHOLD3_7 (0x80UL << FMC_PMEM_MEMHOLD3_Pos)
8060#define FMC_PMEM_MEMHIZ3_Pos (24U)
8061#define FMC_PMEM_MEMHIZ3_Msk (0xFFUL << FMC_PMEM_MEMHIZ3_Pos)
8062#define FMC_PMEM_MEMHIZ3 FMC_PMEM_MEMHIZ3_Msk
8063#define FMC_PMEM_MEMHIZ3_0 (0x01UL << FMC_PMEM_MEMHIZ3_Pos)
8064#define FMC_PMEM_MEMHIZ3_1 (0x02UL << FMC_PMEM_MEMHIZ3_Pos)
8065#define FMC_PMEM_MEMHIZ3_2 (0x04UL << FMC_PMEM_MEMHIZ3_Pos)
8066#define FMC_PMEM_MEMHIZ3_3 (0x08UL << FMC_PMEM_MEMHIZ3_Pos)
8067#define FMC_PMEM_MEMHIZ3_4 (0x10UL << FMC_PMEM_MEMHIZ3_Pos)
8068#define FMC_PMEM_MEMHIZ3_5 (0x20UL << FMC_PMEM_MEMHIZ3_Pos)
8069#define FMC_PMEM_MEMHIZ3_6 (0x40UL << FMC_PMEM_MEMHIZ3_Pos)
8070#define FMC_PMEM_MEMHIZ3_7 (0x80UL << FMC_PMEM_MEMHIZ3_Pos)
8072/****************** Bit definition for FMC_PATT register ******************/
8073#define FMC_PATT_ATTSET3_Pos (0U)
8074#define FMC_PATT_ATTSET3_Msk (0xFFUL << FMC_PATT_ATTSET3_Pos)
8075#define FMC_PATT_ATTSET3 FMC_PATT_ATTSET3_Msk
8076#define FMC_PATT_ATTSET3_0 (0x01UL << FMC_PATT_ATTSET3_Pos)
8077#define FMC_PATT_ATTSET3_1 (0x02UL << FMC_PATT_ATTSET3_Pos)
8078#define FMC_PATT_ATTSET3_2 (0x04UL << FMC_PATT_ATTSET3_Pos)
8079#define FMC_PATT_ATTSET3_3 (0x08UL << FMC_PATT_ATTSET3_Pos)
8080#define FMC_PATT_ATTSET3_4 (0x10UL << FMC_PATT_ATTSET3_Pos)
8081#define FMC_PATT_ATTSET3_5 (0x20UL << FMC_PATT_ATTSET3_Pos)
8082#define FMC_PATT_ATTSET3_6 (0x40UL << FMC_PATT_ATTSET3_Pos)
8083#define FMC_PATT_ATTSET3_7 (0x80UL << FMC_PATT_ATTSET3_Pos)
8084#define FMC_PATT_ATTWAIT3_Pos (8U)
8085#define FMC_PATT_ATTWAIT3_Msk (0xFFUL << FMC_PATT_ATTWAIT3_Pos)
8086#define FMC_PATT_ATTWAIT3 FMC_PATT_ATTWAIT3_Msk
8087#define FMC_PATT_ATTWAIT3_0 (0x01UL << FMC_PATT_ATTWAIT3_Pos)
8088#define FMC_PATT_ATTWAIT3_1 (0x02UL << FMC_PATT_ATTWAIT3_Pos)
8089#define FMC_PATT_ATTWAIT3_2 (0x04UL << FMC_PATT_ATTWAIT3_Pos)
8090#define FMC_PATT_ATTWAIT3_3 (0x08UL << FMC_PATT_ATTWAIT3_Pos)
8091#define FMC_PATT_ATTWAIT3_4 (0x10UL << FMC_PATT_ATTWAIT3_Pos)
8092#define FMC_PATT_ATTWAIT3_5 (0x20UL << FMC_PATT_ATTWAIT3_Pos)
8093#define FMC_PATT_ATTWAIT3_6 (0x40UL << FMC_PATT_ATTWAIT3_Pos)
8094#define FMC_PATT_ATTWAIT3_7 (0x80UL << FMC_PATT_ATTWAIT3_Pos)
8095#define FMC_PATT_ATTHOLD3_Pos (16U)
8096#define FMC_PATT_ATTHOLD3_Msk (0xFFUL << FMC_PATT_ATTHOLD3_Pos)
8097#define FMC_PATT_ATTHOLD3 FMC_PATT_ATTHOLD3_Msk
8098#define FMC_PATT_ATTHOLD3_0 (0x01UL << FMC_PATT_ATTHOLD3_Pos)
8099#define FMC_PATT_ATTHOLD3_1 (0x02UL << FMC_PATT_ATTHOLD3_Pos)
8100#define FMC_PATT_ATTHOLD3_2 (0x04UL << FMC_PATT_ATTHOLD3_Pos)
8101#define FMC_PATT_ATTHOLD3_3 (0x08UL << FMC_PATT_ATTHOLD3_Pos)
8102#define FMC_PATT_ATTHOLD3_4 (0x10UL << FMC_PATT_ATTHOLD3_Pos)
8103#define FMC_PATT_ATTHOLD3_5 (0x20UL << FMC_PATT_ATTHOLD3_Pos)
8104#define FMC_PATT_ATTHOLD3_6 (0x40UL << FMC_PATT_ATTHOLD3_Pos)
8105#define FMC_PATT_ATTHOLD3_7 (0x80UL << FMC_PATT_ATTHOLD3_Pos)
8106#define FMC_PATT_ATTHIZ3_Pos (24U)
8107#define FMC_PATT_ATTHIZ3_Msk (0xFFUL << FMC_PATT_ATTHIZ3_Pos)
8108#define FMC_PATT_ATTHIZ3 FMC_PATT_ATTHIZ3_Msk
8109#define FMC_PATT_ATTHIZ3_0 (0x01UL << FMC_PATT_ATTHIZ3_Pos)
8110#define FMC_PATT_ATTHIZ3_1 (0x02UL << FMC_PATT_ATTHIZ3_Pos)
8111#define FMC_PATT_ATTHIZ3_2 (0x04UL << FMC_PATT_ATTHIZ3_Pos)
8112#define FMC_PATT_ATTHIZ3_3 (0x08UL << FMC_PATT_ATTHIZ3_Pos)
8113#define FMC_PATT_ATTHIZ3_4 (0x10UL << FMC_PATT_ATTHIZ3_Pos)
8114#define FMC_PATT_ATTHIZ3_5 (0x20UL << FMC_PATT_ATTHIZ3_Pos)
8115#define FMC_PATT_ATTHIZ3_6 (0x40UL << FMC_PATT_ATTHIZ3_Pos)
8116#define FMC_PATT_ATTHIZ3_7 (0x80UL << FMC_PATT_ATTHIZ3_Pos)
8118/****************** Bit definition for FMC_ECCR register ******************/
8119#define FMC_ECCR_ECC3_Pos (0U)
8120#define FMC_ECCR_ECC3_Msk (0xFFFFFFFFUL << FMC_ECCR_ECC3_Pos)
8121#define FMC_ECCR_ECC3 FMC_ECCR_ECC3_Msk
8123/****************** Bit definition for FMC_SDCR1 register ******************/
8124#define FMC_SDCR1_NC_Pos (0U)
8125#define FMC_SDCR1_NC_Msk (0x3UL << FMC_SDCR1_NC_Pos)
8126#define FMC_SDCR1_NC FMC_SDCR1_NC_Msk
8127#define FMC_SDCR1_NC_0 (0x1UL << FMC_SDCR1_NC_Pos)
8128#define FMC_SDCR1_NC_1 (0x2UL << FMC_SDCR1_NC_Pos)
8129#define FMC_SDCR1_NR_Pos (2U)
8130#define FMC_SDCR1_NR_Msk (0x3UL << FMC_SDCR1_NR_Pos)
8131#define FMC_SDCR1_NR FMC_SDCR1_NR_Msk
8132#define FMC_SDCR1_NR_0 (0x1UL << FMC_SDCR1_NR_Pos)
8133#define FMC_SDCR1_NR_1 (0x2UL << FMC_SDCR1_NR_Pos)
8134#define FMC_SDCR1_MWID_Pos (4U)
8135#define FMC_SDCR1_MWID_Msk (0x3UL << FMC_SDCR1_MWID_Pos)
8136#define FMC_SDCR1_MWID FMC_SDCR1_MWID_Msk
8137#define FMC_SDCR1_MWID_0 (0x1UL << FMC_SDCR1_MWID_Pos)
8138#define FMC_SDCR1_MWID_1 (0x2UL << FMC_SDCR1_MWID_Pos)
8139#define FMC_SDCR1_NB_Pos (6U)
8140#define FMC_SDCR1_NB_Msk (0x1UL << FMC_SDCR1_NB_Pos)
8141#define FMC_SDCR1_NB FMC_SDCR1_NB_Msk
8142#define FMC_SDCR1_CAS_Pos (7U)
8143#define FMC_SDCR1_CAS_Msk (0x3UL << FMC_SDCR1_CAS_Pos)
8144#define FMC_SDCR1_CAS FMC_SDCR1_CAS_Msk
8145#define FMC_SDCR1_CAS_0 (0x1UL << FMC_SDCR1_CAS_Pos)
8146#define FMC_SDCR1_CAS_1 (0x2UL << FMC_SDCR1_CAS_Pos)
8147#define FMC_SDCR1_WP_Pos (9U)
8148#define FMC_SDCR1_WP_Msk (0x1UL << FMC_SDCR1_WP_Pos)
8149#define FMC_SDCR1_WP FMC_SDCR1_WP_Msk
8150#define FMC_SDCR1_SDCLK_Pos (10U)
8151#define FMC_SDCR1_SDCLK_Msk (0x3UL << FMC_SDCR1_SDCLK_Pos)
8152#define FMC_SDCR1_SDCLK FMC_SDCR1_SDCLK_Msk
8153#define FMC_SDCR1_SDCLK_0 (0x1UL << FMC_SDCR1_SDCLK_Pos)
8154#define FMC_SDCR1_SDCLK_1 (0x2UL << FMC_SDCR1_SDCLK_Pos)
8155#define FMC_SDCR1_RBURST_Pos (12U)
8156#define FMC_SDCR1_RBURST_Msk (0x1UL << FMC_SDCR1_RBURST_Pos)
8157#define FMC_SDCR1_RBURST FMC_SDCR1_RBURST_Msk
8158#define FMC_SDCR1_RPIPE_Pos (13U)
8159#define FMC_SDCR1_RPIPE_Msk (0x3UL << FMC_SDCR1_RPIPE_Pos)
8160#define FMC_SDCR1_RPIPE FMC_SDCR1_RPIPE_Msk
8161#define FMC_SDCR1_RPIPE_0 (0x1UL << FMC_SDCR1_RPIPE_Pos)
8162#define FMC_SDCR1_RPIPE_1 (0x2UL << FMC_SDCR1_RPIPE_Pos)
8164/****************** Bit definition for FMC_SDCR2 register ******************/
8165#define FMC_SDCR2_NC_Pos (0U)
8166#define FMC_SDCR2_NC_Msk (0x3UL << FMC_SDCR2_NC_Pos)
8167#define FMC_SDCR2_NC FMC_SDCR2_NC_Msk
8168#define FMC_SDCR2_NC_0 (0x1UL << FMC_SDCR2_NC_Pos)
8169#define FMC_SDCR2_NC_1 (0x2UL << FMC_SDCR2_NC_Pos)
8170#define FMC_SDCR2_NR_Pos (2U)
8171#define FMC_SDCR2_NR_Msk (0x3UL << FMC_SDCR2_NR_Pos)
8172#define FMC_SDCR2_NR FMC_SDCR2_NR_Msk
8173#define FMC_SDCR2_NR_0 (0x1UL << FMC_SDCR2_NR_Pos)
8174#define FMC_SDCR2_NR_1 (0x2UL << FMC_SDCR2_NR_Pos)
8175#define FMC_SDCR2_MWID_Pos (4U)
8176#define FMC_SDCR2_MWID_Msk (0x3UL << FMC_SDCR2_MWID_Pos)
8177#define FMC_SDCR2_MWID FMC_SDCR2_MWID_Msk
8178#define FMC_SDCR2_MWID_0 (0x1UL << FMC_SDCR2_MWID_Pos)
8179#define FMC_SDCR2_MWID_1 (0x2UL << FMC_SDCR2_MWID_Pos)
8180#define FMC_SDCR2_NB_Pos (6U)
8181#define FMC_SDCR2_NB_Msk (0x1UL << FMC_SDCR2_NB_Pos)
8182#define FMC_SDCR2_NB FMC_SDCR2_NB_Msk
8183#define FMC_SDCR2_CAS_Pos (7U)
8184#define FMC_SDCR2_CAS_Msk (0x3UL << FMC_SDCR2_CAS_Pos)
8185#define FMC_SDCR2_CAS FMC_SDCR2_CAS_Msk
8186#define FMC_SDCR2_CAS_0 (0x1UL << FMC_SDCR2_CAS_Pos)
8187#define FMC_SDCR2_CAS_1 (0x2UL << FMC_SDCR2_CAS_Pos)
8188#define FMC_SDCR2_WP_Pos (9U)
8189#define FMC_SDCR2_WP_Msk (0x1UL << FMC_SDCR2_WP_Pos)
8190#define FMC_SDCR2_WP FMC_SDCR2_WP_Msk
8191#define FMC_SDCR2_SDCLK_Pos (10U)
8192#define FMC_SDCR2_SDCLK_Msk (0x3UL << FMC_SDCR2_SDCLK_Pos)
8193#define FMC_SDCR2_SDCLK FMC_SDCR2_SDCLK_Msk
8194#define FMC_SDCR2_SDCLK_0 (0x1UL << FMC_SDCR2_SDCLK_Pos)
8195#define FMC_SDCR2_SDCLK_1 (0x2UL << FMC_SDCR2_SDCLK_Pos)
8196#define FMC_SDCR2_RBURST_Pos (12U)
8197#define FMC_SDCR2_RBURST_Msk (0x1UL << FMC_SDCR2_RBURST_Pos)
8198#define FMC_SDCR2_RBURST FMC_SDCR2_RBURST_Msk
8199#define FMC_SDCR2_RPIPE_Pos (13U)
8200#define FMC_SDCR2_RPIPE_Msk (0x3UL << FMC_SDCR2_RPIPE_Pos)
8201#define FMC_SDCR2_RPIPE FMC_SDCR2_RPIPE_Msk
8202#define FMC_SDCR2_RPIPE_0 (0x1UL << FMC_SDCR2_RPIPE_Pos)
8203#define FMC_SDCR2_RPIPE_1 (0x2UL << FMC_SDCR2_RPIPE_Pos)
8205/****************** Bit definition for FMC_SDTR1 register ******************/
8206#define FMC_SDTR1_TMRD_Pos (0U)
8207#define FMC_SDTR1_TMRD_Msk (0xFUL << FMC_SDTR1_TMRD_Pos)
8208#define FMC_SDTR1_TMRD FMC_SDTR1_TMRD_Msk
8209#define FMC_SDTR1_TMRD_0 (0x1UL << FMC_SDTR1_TMRD_Pos)
8210#define FMC_SDTR1_TMRD_1 (0x2UL << FMC_SDTR1_TMRD_Pos)
8211#define FMC_SDTR1_TMRD_2 (0x4UL << FMC_SDTR1_TMRD_Pos)
8212#define FMC_SDTR1_TMRD_3 (0x8UL << FMC_SDTR1_TMRD_Pos)
8213#define FMC_SDTR1_TXSR_Pos (4U)
8214#define FMC_SDTR1_TXSR_Msk (0xFUL << FMC_SDTR1_TXSR_Pos)
8215#define FMC_SDTR1_TXSR FMC_SDTR1_TXSR_Msk
8216#define FMC_SDTR1_TXSR_0 (0x1UL << FMC_SDTR1_TXSR_Pos)
8217#define FMC_SDTR1_TXSR_1 (0x2UL << FMC_SDTR1_TXSR_Pos)
8218#define FMC_SDTR1_TXSR_2 (0x4UL << FMC_SDTR1_TXSR_Pos)
8219#define FMC_SDTR1_TXSR_3 (0x8UL << FMC_SDTR1_TXSR_Pos)
8220#define FMC_SDTR1_TRAS_Pos (8U)
8221#define FMC_SDTR1_TRAS_Msk (0xFUL << FMC_SDTR1_TRAS_Pos)
8222#define FMC_SDTR1_TRAS FMC_SDTR1_TRAS_Msk
8223#define FMC_SDTR1_TRAS_0 (0x1UL << FMC_SDTR1_TRAS_Pos)
8224#define FMC_SDTR1_TRAS_1 (0x2UL << FMC_SDTR1_TRAS_Pos)
8225#define FMC_SDTR1_TRAS_2 (0x4UL << FMC_SDTR1_TRAS_Pos)
8226#define FMC_SDTR1_TRAS_3 (0x8UL << FMC_SDTR1_TRAS_Pos)
8227#define FMC_SDTR1_TRC_Pos (12U)
8228#define FMC_SDTR1_TRC_Msk (0xFUL << FMC_SDTR1_TRC_Pos)
8229#define FMC_SDTR1_TRC FMC_SDTR1_TRC_Msk
8230#define FMC_SDTR1_TRC_0 (0x1UL << FMC_SDTR1_TRC_Pos)
8231#define FMC_SDTR1_TRC_1 (0x2UL << FMC_SDTR1_TRC_Pos)
8232#define FMC_SDTR1_TRC_2 (0x4UL << FMC_SDTR1_TRC_Pos)
8233#define FMC_SDTR1_TWR_Pos (16U)
8234#define FMC_SDTR1_TWR_Msk (0xFUL << FMC_SDTR1_TWR_Pos)
8235#define FMC_SDTR1_TWR FMC_SDTR1_TWR_Msk
8236#define FMC_SDTR1_TWR_0 (0x1UL << FMC_SDTR1_TWR_Pos)
8237#define FMC_SDTR1_TWR_1 (0x2UL << FMC_SDTR1_TWR_Pos)
8238#define FMC_SDTR1_TWR_2 (0x4UL << FMC_SDTR1_TWR_Pos)
8239#define FMC_SDTR1_TRP_Pos (20U)
8240#define FMC_SDTR1_TRP_Msk (0xFUL << FMC_SDTR1_TRP_Pos)
8241#define FMC_SDTR1_TRP FMC_SDTR1_TRP_Msk
8242#define FMC_SDTR1_TRP_0 (0x1UL << FMC_SDTR1_TRP_Pos)
8243#define FMC_SDTR1_TRP_1 (0x2UL << FMC_SDTR1_TRP_Pos)
8244#define FMC_SDTR1_TRP_2 (0x4UL << FMC_SDTR1_TRP_Pos)
8245#define FMC_SDTR1_TRCD_Pos (24U)
8246#define FMC_SDTR1_TRCD_Msk (0xFUL << FMC_SDTR1_TRCD_Pos)
8247#define FMC_SDTR1_TRCD FMC_SDTR1_TRCD_Msk
8248#define FMC_SDTR1_TRCD_0 (0x1UL << FMC_SDTR1_TRCD_Pos)
8249#define FMC_SDTR1_TRCD_1 (0x2UL << FMC_SDTR1_TRCD_Pos)
8250#define FMC_SDTR1_TRCD_2 (0x4UL << FMC_SDTR1_TRCD_Pos)
8252/****************** Bit definition for FMC_SDTR2 register ******************/
8253#define FMC_SDTR2_TMRD_Pos (0U)
8254#define FMC_SDTR2_TMRD_Msk (0xFUL << FMC_SDTR2_TMRD_Pos)
8255#define FMC_SDTR2_TMRD FMC_SDTR2_TMRD_Msk
8256#define FMC_SDTR2_TMRD_0 (0x1UL << FMC_SDTR2_TMRD_Pos)
8257#define FMC_SDTR2_TMRD_1 (0x2UL << FMC_SDTR2_TMRD_Pos)
8258#define FMC_SDTR2_TMRD_2 (0x4UL << FMC_SDTR2_TMRD_Pos)
8259#define FMC_SDTR2_TMRD_3 (0x8UL << FMC_SDTR2_TMRD_Pos)
8260#define FMC_SDTR2_TXSR_Pos (4U)
8261#define FMC_SDTR2_TXSR_Msk (0xFUL << FMC_SDTR2_TXSR_Pos)
8262#define FMC_SDTR2_TXSR FMC_SDTR2_TXSR_Msk
8263#define FMC_SDTR2_TXSR_0 (0x1UL << FMC_SDTR2_TXSR_Pos)
8264#define FMC_SDTR2_TXSR_1 (0x2UL << FMC_SDTR2_TXSR_Pos)
8265#define FMC_SDTR2_TXSR_2 (0x4UL << FMC_SDTR2_TXSR_Pos)
8266#define FMC_SDTR2_TXSR_3 (0x8UL << FMC_SDTR2_TXSR_Pos)
8267#define FMC_SDTR2_TRAS_Pos (8U)
8268#define FMC_SDTR2_TRAS_Msk (0xFUL << FMC_SDTR2_TRAS_Pos)
8269#define FMC_SDTR2_TRAS FMC_SDTR2_TRAS_Msk
8270#define FMC_SDTR2_TRAS_0 (0x1UL << FMC_SDTR2_TRAS_Pos)
8271#define FMC_SDTR2_TRAS_1 (0x2UL << FMC_SDTR2_TRAS_Pos)
8272#define FMC_SDTR2_TRAS_2 (0x4UL << FMC_SDTR2_TRAS_Pos)
8273#define FMC_SDTR2_TRAS_3 (0x8UL << FMC_SDTR2_TRAS_Pos)
8274#define FMC_SDTR2_TRC_Pos (12U)
8275#define FMC_SDTR2_TRC_Msk (0xFUL << FMC_SDTR2_TRC_Pos)
8276#define FMC_SDTR2_TRC FMC_SDTR2_TRC_Msk
8277#define FMC_SDTR2_TRC_0 (0x1UL << FMC_SDTR2_TRC_Pos)
8278#define FMC_SDTR2_TRC_1 (0x2UL << FMC_SDTR2_TRC_Pos)
8279#define FMC_SDTR2_TRC_2 (0x4UL << FMC_SDTR2_TRC_Pos)
8280#define FMC_SDTR2_TWR_Pos (16U)
8281#define FMC_SDTR2_TWR_Msk (0xFUL << FMC_SDTR2_TWR_Pos)
8282#define FMC_SDTR2_TWR FMC_SDTR2_TWR_Msk
8283#define FMC_SDTR2_TWR_0 (0x1UL << FMC_SDTR2_TWR_Pos)
8284#define FMC_SDTR2_TWR_1 (0x2UL << FMC_SDTR2_TWR_Pos)
8285#define FMC_SDTR2_TWR_2 (0x4UL << FMC_SDTR2_TWR_Pos)
8286#define FMC_SDTR2_TRP_Pos (20U)
8287#define FMC_SDTR2_TRP_Msk (0xFUL << FMC_SDTR2_TRP_Pos)
8288#define FMC_SDTR2_TRP FMC_SDTR2_TRP_Msk
8289#define FMC_SDTR2_TRP_0 (0x1UL << FMC_SDTR2_TRP_Pos)
8290#define FMC_SDTR2_TRP_1 (0x2UL << FMC_SDTR2_TRP_Pos)
8291#define FMC_SDTR2_TRP_2 (0x4UL << FMC_SDTR2_TRP_Pos)
8292#define FMC_SDTR2_TRCD_Pos (24U)
8293#define FMC_SDTR2_TRCD_Msk (0xFUL << FMC_SDTR2_TRCD_Pos)
8294#define FMC_SDTR2_TRCD FMC_SDTR2_TRCD_Msk
8295#define FMC_SDTR2_TRCD_0 (0x1UL << FMC_SDTR2_TRCD_Pos)
8296#define FMC_SDTR2_TRCD_1 (0x2UL << FMC_SDTR2_TRCD_Pos)
8297#define FMC_SDTR2_TRCD_2 (0x4UL << FMC_SDTR2_TRCD_Pos)
8299/****************** Bit definition for FMC_SDCMR register ******************/
8300#define FMC_SDCMR_MODE_Pos (0U)
8301#define FMC_SDCMR_MODE_Msk (0x7UL << FMC_SDCMR_MODE_Pos)
8302#define FMC_SDCMR_MODE FMC_SDCMR_MODE_Msk
8303#define FMC_SDCMR_MODE_0 (0x1UL << FMC_SDCMR_MODE_Pos)
8304#define FMC_SDCMR_MODE_1 (0x2UL << FMC_SDCMR_MODE_Pos)
8305#define FMC_SDCMR_MODE_2 (0x4UL << FMC_SDCMR_MODE_Pos)
8306#define FMC_SDCMR_CTB2_Pos (3U)
8307#define FMC_SDCMR_CTB2_Msk (0x1UL << FMC_SDCMR_CTB2_Pos)
8308#define FMC_SDCMR_CTB2 FMC_SDCMR_CTB2_Msk
8309#define FMC_SDCMR_CTB1_Pos (4U)
8310#define FMC_SDCMR_CTB1_Msk (0x1UL << FMC_SDCMR_CTB1_Pos)
8311#define FMC_SDCMR_CTB1 FMC_SDCMR_CTB1_Msk
8312#define FMC_SDCMR_NRFS_Pos (5U)
8313#define FMC_SDCMR_NRFS_Msk (0xFUL << FMC_SDCMR_NRFS_Pos)
8314#define FMC_SDCMR_NRFS FMC_SDCMR_NRFS_Msk
8315#define FMC_SDCMR_NRFS_0 (0x1UL << FMC_SDCMR_NRFS_Pos)
8316#define FMC_SDCMR_NRFS_1 (0x2UL << FMC_SDCMR_NRFS_Pos)
8317#define FMC_SDCMR_NRFS_2 (0x4UL << FMC_SDCMR_NRFS_Pos)
8318#define FMC_SDCMR_NRFS_3 (0x8UL << FMC_SDCMR_NRFS_Pos)
8319#define FMC_SDCMR_MRD_Pos (9U)
8320#define FMC_SDCMR_MRD_Msk (0x1FFFUL << FMC_SDCMR_MRD_Pos)
8321#define FMC_SDCMR_MRD FMC_SDCMR_MRD_Msk
8323/****************** Bit definition for FMC_SDRTR register ******************/
8324#define FMC_SDRTR_CRE_Pos (0U)
8325#define FMC_SDRTR_CRE_Msk (0x1UL << FMC_SDRTR_CRE_Pos)
8326#define FMC_SDRTR_CRE FMC_SDRTR_CRE_Msk
8327#define FMC_SDRTR_COUNT_Pos (1U)
8328#define FMC_SDRTR_COUNT_Msk (0x1FFFUL << FMC_SDRTR_COUNT_Pos)
8329#define FMC_SDRTR_COUNT FMC_SDRTR_COUNT_Msk
8330#define FMC_SDRTR_REIE_Pos (14U)
8331#define FMC_SDRTR_REIE_Msk (0x1UL << FMC_SDRTR_REIE_Pos)
8332#define FMC_SDRTR_REIE FMC_SDRTR_REIE_Msk
8334/****************** Bit definition for FMC_SDSR register ******************/
8335#define FMC_SDSR_RE_Pos (0U)
8336#define FMC_SDSR_RE_Msk (0x1UL << FMC_SDSR_RE_Pos)
8337#define FMC_SDSR_RE FMC_SDSR_RE_Msk
8338#define FMC_SDSR_MODES1_Pos (1U)
8339#define FMC_SDSR_MODES1_Msk (0x3UL << FMC_SDSR_MODES1_Pos)
8340#define FMC_SDSR_MODES1 FMC_SDSR_MODES1_Msk
8341#define FMC_SDSR_MODES1_0 (0x1UL << FMC_SDSR_MODES1_Pos)
8342#define FMC_SDSR_MODES1_1 (0x2UL << FMC_SDSR_MODES1_Pos)
8343#define FMC_SDSR_MODES2_Pos (3U)
8344#define FMC_SDSR_MODES2_Msk (0x3UL << FMC_SDSR_MODES2_Pos)
8345#define FMC_SDSR_MODES2 FMC_SDSR_MODES2_Msk
8346#define FMC_SDSR_MODES2_0 (0x1UL << FMC_SDSR_MODES2_Pos)
8347#define FMC_SDSR_MODES2_1 (0x2UL << FMC_SDSR_MODES2_Pos)
8348#define FMC_SDSR_BUSY_Pos (5U)
8349#define FMC_SDSR_BUSY_Msk (0x1UL << FMC_SDSR_BUSY_Pos)
8350#define FMC_SDSR_BUSY FMC_SDSR_BUSY_Msk
8352/******************************************************************************/
8353/* */
8354/* General Purpose I/O */
8355/* */
8356/******************************************************************************/
8357/****************** Bits definition for GPIO_MODER register *****************/
8358#define GPIO_MODER_MODER0_Pos (0U)
8359#define GPIO_MODER_MODER0_Msk (0x3UL << GPIO_MODER_MODER0_Pos)
8360#define GPIO_MODER_MODER0 GPIO_MODER_MODER0_Msk
8361#define GPIO_MODER_MODER0_0 (0x1UL << GPIO_MODER_MODER0_Pos)
8362#define GPIO_MODER_MODER0_1 (0x2UL << GPIO_MODER_MODER0_Pos)
8363#define GPIO_MODER_MODER1_Pos (2U)
8364#define GPIO_MODER_MODER1_Msk (0x3UL << GPIO_MODER_MODER1_Pos)
8365#define GPIO_MODER_MODER1 GPIO_MODER_MODER1_Msk
8366#define GPIO_MODER_MODER1_0 (0x1UL << GPIO_MODER_MODER1_Pos)
8367#define GPIO_MODER_MODER1_1 (0x2UL << GPIO_MODER_MODER1_Pos)
8368#define GPIO_MODER_MODER2_Pos (4U)
8369#define GPIO_MODER_MODER2_Msk (0x3UL << GPIO_MODER_MODER2_Pos)
8370#define GPIO_MODER_MODER2 GPIO_MODER_MODER2_Msk
8371#define GPIO_MODER_MODER2_0 (0x1UL << GPIO_MODER_MODER2_Pos)
8372#define GPIO_MODER_MODER2_1 (0x2UL << GPIO_MODER_MODER2_Pos)
8373#define GPIO_MODER_MODER3_Pos (6U)
8374#define GPIO_MODER_MODER3_Msk (0x3UL << GPIO_MODER_MODER3_Pos)
8375#define GPIO_MODER_MODER3 GPIO_MODER_MODER3_Msk
8376#define GPIO_MODER_MODER3_0 (0x1UL << GPIO_MODER_MODER3_Pos)
8377#define GPIO_MODER_MODER3_1 (0x2UL << GPIO_MODER_MODER3_Pos)
8378#define GPIO_MODER_MODER4_Pos (8U)
8379#define GPIO_MODER_MODER4_Msk (0x3UL << GPIO_MODER_MODER4_Pos)
8380#define GPIO_MODER_MODER4 GPIO_MODER_MODER4_Msk
8381#define GPIO_MODER_MODER4_0 (0x1UL << GPIO_MODER_MODER4_Pos)
8382#define GPIO_MODER_MODER4_1 (0x2UL << GPIO_MODER_MODER4_Pos)
8383#define GPIO_MODER_MODER5_Pos (10U)
8384#define GPIO_MODER_MODER5_Msk (0x3UL << GPIO_MODER_MODER5_Pos)
8385#define GPIO_MODER_MODER5 GPIO_MODER_MODER5_Msk
8386#define GPIO_MODER_MODER5_0 (0x1UL << GPIO_MODER_MODER5_Pos)
8387#define GPIO_MODER_MODER5_1 (0x2UL << GPIO_MODER_MODER5_Pos)
8388#define GPIO_MODER_MODER6_Pos (12U)
8389#define GPIO_MODER_MODER6_Msk (0x3UL << GPIO_MODER_MODER6_Pos)
8390#define GPIO_MODER_MODER6 GPIO_MODER_MODER6_Msk
8391#define GPIO_MODER_MODER6_0 (0x1UL << GPIO_MODER_MODER6_Pos)
8392#define GPIO_MODER_MODER6_1 (0x2UL << GPIO_MODER_MODER6_Pos)
8393#define GPIO_MODER_MODER7_Pos (14U)
8394#define GPIO_MODER_MODER7_Msk (0x3UL << GPIO_MODER_MODER7_Pos)
8395#define GPIO_MODER_MODER7 GPIO_MODER_MODER7_Msk
8396#define GPIO_MODER_MODER7_0 (0x1UL << GPIO_MODER_MODER7_Pos)
8397#define GPIO_MODER_MODER7_1 (0x2UL << GPIO_MODER_MODER7_Pos)
8398#define GPIO_MODER_MODER8_Pos (16U)
8399#define GPIO_MODER_MODER8_Msk (0x3UL << GPIO_MODER_MODER8_Pos)
8400#define GPIO_MODER_MODER8 GPIO_MODER_MODER8_Msk
8401#define GPIO_MODER_MODER8_0 (0x1UL << GPIO_MODER_MODER8_Pos)
8402#define GPIO_MODER_MODER8_1 (0x2UL << GPIO_MODER_MODER8_Pos)
8403#define GPIO_MODER_MODER9_Pos (18U)
8404#define GPIO_MODER_MODER9_Msk (0x3UL << GPIO_MODER_MODER9_Pos)
8405#define GPIO_MODER_MODER9 GPIO_MODER_MODER9_Msk
8406#define GPIO_MODER_MODER9_0 (0x1UL << GPIO_MODER_MODER9_Pos)
8407#define GPIO_MODER_MODER9_1 (0x2UL << GPIO_MODER_MODER9_Pos)
8408#define GPIO_MODER_MODER10_Pos (20U)
8409#define GPIO_MODER_MODER10_Msk (0x3UL << GPIO_MODER_MODER10_Pos)
8410#define GPIO_MODER_MODER10 GPIO_MODER_MODER10_Msk
8411#define GPIO_MODER_MODER10_0 (0x1UL << GPIO_MODER_MODER10_Pos)
8412#define GPIO_MODER_MODER10_1 (0x2UL << GPIO_MODER_MODER10_Pos)
8413#define GPIO_MODER_MODER11_Pos (22U)
8414#define GPIO_MODER_MODER11_Msk (0x3UL << GPIO_MODER_MODER11_Pos)
8415#define GPIO_MODER_MODER11 GPIO_MODER_MODER11_Msk
8416#define GPIO_MODER_MODER11_0 (0x1UL << GPIO_MODER_MODER11_Pos)
8417#define GPIO_MODER_MODER11_1 (0x2UL << GPIO_MODER_MODER11_Pos)
8418#define GPIO_MODER_MODER12_Pos (24U)
8419#define GPIO_MODER_MODER12_Msk (0x3UL << GPIO_MODER_MODER12_Pos)
8420#define GPIO_MODER_MODER12 GPIO_MODER_MODER12_Msk
8421#define GPIO_MODER_MODER12_0 (0x1UL << GPIO_MODER_MODER12_Pos)
8422#define GPIO_MODER_MODER12_1 (0x2UL << GPIO_MODER_MODER12_Pos)
8423#define GPIO_MODER_MODER13_Pos (26U)
8424#define GPIO_MODER_MODER13_Msk (0x3UL << GPIO_MODER_MODER13_Pos)
8425#define GPIO_MODER_MODER13 GPIO_MODER_MODER13_Msk
8426#define GPIO_MODER_MODER13_0 (0x1UL << GPIO_MODER_MODER13_Pos)
8427#define GPIO_MODER_MODER13_1 (0x2UL << GPIO_MODER_MODER13_Pos)
8428#define GPIO_MODER_MODER14_Pos (28U)
8429#define GPIO_MODER_MODER14_Msk (0x3UL << GPIO_MODER_MODER14_Pos)
8430#define GPIO_MODER_MODER14 GPIO_MODER_MODER14_Msk
8431#define GPIO_MODER_MODER14_0 (0x1UL << GPIO_MODER_MODER14_Pos)
8432#define GPIO_MODER_MODER14_1 (0x2UL << GPIO_MODER_MODER14_Pos)
8433#define GPIO_MODER_MODER15_Pos (30U)
8434#define GPIO_MODER_MODER15_Msk (0x3UL << GPIO_MODER_MODER15_Pos)
8435#define GPIO_MODER_MODER15 GPIO_MODER_MODER15_Msk
8436#define GPIO_MODER_MODER15_0 (0x1UL << GPIO_MODER_MODER15_Pos)
8437#define GPIO_MODER_MODER15_1 (0x2UL << GPIO_MODER_MODER15_Pos)
8439/****************** Bits definition for GPIO_OTYPER register ****************/
8440#define GPIO_OTYPER_OT0_Pos (0U)
8441#define GPIO_OTYPER_OT0_Msk (0x1UL << GPIO_OTYPER_OT0_Pos)
8442#define GPIO_OTYPER_OT0 GPIO_OTYPER_OT0_Msk
8443#define GPIO_OTYPER_OT1_Pos (1U)
8444#define GPIO_OTYPER_OT1_Msk (0x1UL << GPIO_OTYPER_OT1_Pos)
8445#define GPIO_OTYPER_OT1 GPIO_OTYPER_OT1_Msk
8446#define GPIO_OTYPER_OT2_Pos (2U)
8447#define GPIO_OTYPER_OT2_Msk (0x1UL << GPIO_OTYPER_OT2_Pos)
8448#define GPIO_OTYPER_OT2 GPIO_OTYPER_OT2_Msk
8449#define GPIO_OTYPER_OT3_Pos (3U)
8450#define GPIO_OTYPER_OT3_Msk (0x1UL << GPIO_OTYPER_OT3_Pos)
8451#define GPIO_OTYPER_OT3 GPIO_OTYPER_OT3_Msk
8452#define GPIO_OTYPER_OT4_Pos (4U)
8453#define GPIO_OTYPER_OT4_Msk (0x1UL << GPIO_OTYPER_OT4_Pos)
8454#define GPIO_OTYPER_OT4 GPIO_OTYPER_OT4_Msk
8455#define GPIO_OTYPER_OT5_Pos (5U)
8456#define GPIO_OTYPER_OT5_Msk (0x1UL << GPIO_OTYPER_OT5_Pos)
8457#define GPIO_OTYPER_OT5 GPIO_OTYPER_OT5_Msk
8458#define GPIO_OTYPER_OT6_Pos (6U)
8459#define GPIO_OTYPER_OT6_Msk (0x1UL << GPIO_OTYPER_OT6_Pos)
8460#define GPIO_OTYPER_OT6 GPIO_OTYPER_OT6_Msk
8461#define GPIO_OTYPER_OT7_Pos (7U)
8462#define GPIO_OTYPER_OT7_Msk (0x1UL << GPIO_OTYPER_OT7_Pos)
8463#define GPIO_OTYPER_OT7 GPIO_OTYPER_OT7_Msk
8464#define GPIO_OTYPER_OT8_Pos (8U)
8465#define GPIO_OTYPER_OT8_Msk (0x1UL << GPIO_OTYPER_OT8_Pos)
8466#define GPIO_OTYPER_OT8 GPIO_OTYPER_OT8_Msk
8467#define GPIO_OTYPER_OT9_Pos (9U)
8468#define GPIO_OTYPER_OT9_Msk (0x1UL << GPIO_OTYPER_OT9_Pos)
8469#define GPIO_OTYPER_OT9 GPIO_OTYPER_OT9_Msk
8470#define GPIO_OTYPER_OT10_Pos (10U)
8471#define GPIO_OTYPER_OT10_Msk (0x1UL << GPIO_OTYPER_OT10_Pos)
8472#define GPIO_OTYPER_OT10 GPIO_OTYPER_OT10_Msk
8473#define GPIO_OTYPER_OT11_Pos (11U)
8474#define GPIO_OTYPER_OT11_Msk (0x1UL << GPIO_OTYPER_OT11_Pos)
8475#define GPIO_OTYPER_OT11 GPIO_OTYPER_OT11_Msk
8476#define GPIO_OTYPER_OT12_Pos (12U)
8477#define GPIO_OTYPER_OT12_Msk (0x1UL << GPIO_OTYPER_OT12_Pos)
8478#define GPIO_OTYPER_OT12 GPIO_OTYPER_OT12_Msk
8479#define GPIO_OTYPER_OT13_Pos (13U)
8480#define GPIO_OTYPER_OT13_Msk (0x1UL << GPIO_OTYPER_OT13_Pos)
8481#define GPIO_OTYPER_OT13 GPIO_OTYPER_OT13_Msk
8482#define GPIO_OTYPER_OT14_Pos (14U)
8483#define GPIO_OTYPER_OT14_Msk (0x1UL << GPIO_OTYPER_OT14_Pos)
8484#define GPIO_OTYPER_OT14 GPIO_OTYPER_OT14_Msk
8485#define GPIO_OTYPER_OT15_Pos (15U)
8486#define GPIO_OTYPER_OT15_Msk (0x1UL << GPIO_OTYPER_OT15_Pos)
8487#define GPIO_OTYPER_OT15 GPIO_OTYPER_OT15_Msk
8488
8489/* Legacy defines */
8490#define GPIO_OTYPER_OT_0 GPIO_OTYPER_OT0
8491#define GPIO_OTYPER_OT_1 GPIO_OTYPER_OT1
8492#define GPIO_OTYPER_OT_2 GPIO_OTYPER_OT2
8493#define GPIO_OTYPER_OT_3 GPIO_OTYPER_OT3
8494#define GPIO_OTYPER_OT_4 GPIO_OTYPER_OT4
8495#define GPIO_OTYPER_OT_5 GPIO_OTYPER_OT5
8496#define GPIO_OTYPER_OT_6 GPIO_OTYPER_OT6
8497#define GPIO_OTYPER_OT_7 GPIO_OTYPER_OT7
8498#define GPIO_OTYPER_OT_8 GPIO_OTYPER_OT8
8499#define GPIO_OTYPER_OT_9 GPIO_OTYPER_OT9
8500#define GPIO_OTYPER_OT_10 GPIO_OTYPER_OT10
8501#define GPIO_OTYPER_OT_11 GPIO_OTYPER_OT11
8502#define GPIO_OTYPER_OT_12 GPIO_OTYPER_OT12
8503#define GPIO_OTYPER_OT_13 GPIO_OTYPER_OT13
8504#define GPIO_OTYPER_OT_14 GPIO_OTYPER_OT14
8505#define GPIO_OTYPER_OT_15 GPIO_OTYPER_OT15
8506
8507/****************** Bits definition for GPIO_OSPEEDR register ***************/
8508#define GPIO_OSPEEDR_OSPEEDR0_Pos (0U)
8509#define GPIO_OSPEEDR_OSPEEDR0_Msk (0x3UL << GPIO_OSPEEDR_OSPEEDR0_Pos)
8510#define GPIO_OSPEEDR_OSPEEDR0 GPIO_OSPEEDR_OSPEEDR0_Msk
8511#define GPIO_OSPEEDR_OSPEEDR0_0 (0x1UL << GPIO_OSPEEDR_OSPEEDR0_Pos)
8512#define GPIO_OSPEEDR_OSPEEDR0_1 (0x2UL << GPIO_OSPEEDR_OSPEEDR0_Pos)
8513#define GPIO_OSPEEDR_OSPEEDR1_Pos (2U)
8514#define GPIO_OSPEEDR_OSPEEDR1_Msk (0x3UL << GPIO_OSPEEDR_OSPEEDR1_Pos)
8515#define GPIO_OSPEEDR_OSPEEDR1 GPIO_OSPEEDR_OSPEEDR1_Msk
8516#define GPIO_OSPEEDR_OSPEEDR1_0 (0x1UL << GPIO_OSPEEDR_OSPEEDR1_Pos)
8517#define GPIO_OSPEEDR_OSPEEDR1_1 (0x2UL << GPIO_OSPEEDR_OSPEEDR1_Pos)
8518#define GPIO_OSPEEDR_OSPEEDR2_Pos (4U)
8519#define GPIO_OSPEEDR_OSPEEDR2_Msk (0x3UL << GPIO_OSPEEDR_OSPEEDR2_Pos)
8520#define GPIO_OSPEEDR_OSPEEDR2 GPIO_OSPEEDR_OSPEEDR2_Msk
8521#define GPIO_OSPEEDR_OSPEEDR2_0 (0x1UL << GPIO_OSPEEDR_OSPEEDR2_Pos)
8522#define GPIO_OSPEEDR_OSPEEDR2_1 (0x2UL << GPIO_OSPEEDR_OSPEEDR2_Pos)
8523#define GPIO_OSPEEDR_OSPEEDR3_Pos (6U)
8524#define GPIO_OSPEEDR_OSPEEDR3_Msk (0x3UL << GPIO_OSPEEDR_OSPEEDR3_Pos)
8525#define GPIO_OSPEEDR_OSPEEDR3 GPIO_OSPEEDR_OSPEEDR3_Msk
8526#define GPIO_OSPEEDR_OSPEEDR3_0 (0x1UL << GPIO_OSPEEDR_OSPEEDR3_Pos)
8527#define GPIO_OSPEEDR_OSPEEDR3_1 (0x2UL << GPIO_OSPEEDR_OSPEEDR3_Pos)
8528#define GPIO_OSPEEDR_OSPEEDR4_Pos (8U)
8529#define GPIO_OSPEEDR_OSPEEDR4_Msk (0x3UL << GPIO_OSPEEDR_OSPEEDR4_Pos)
8530#define GPIO_OSPEEDR_OSPEEDR4 GPIO_OSPEEDR_OSPEEDR4_Msk
8531#define GPIO_OSPEEDR_OSPEEDR4_0 (0x1UL << GPIO_OSPEEDR_OSPEEDR4_Pos)
8532#define GPIO_OSPEEDR_OSPEEDR4_1 (0x2UL << GPIO_OSPEEDR_OSPEEDR4_Pos)
8533#define GPIO_OSPEEDR_OSPEEDR5_Pos (10U)
8534#define GPIO_OSPEEDR_OSPEEDR5_Msk (0x3UL << GPIO_OSPEEDR_OSPEEDR5_Pos)
8535#define GPIO_OSPEEDR_OSPEEDR5 GPIO_OSPEEDR_OSPEEDR5_Msk
8536#define GPIO_OSPEEDR_OSPEEDR5_0 (0x1UL << GPIO_OSPEEDR_OSPEEDR5_Pos)
8537#define GPIO_OSPEEDR_OSPEEDR5_1 (0x2UL << GPIO_OSPEEDR_OSPEEDR5_Pos)
8538#define GPIO_OSPEEDR_OSPEEDR6_Pos (12U)
8539#define GPIO_OSPEEDR_OSPEEDR6_Msk (0x3UL << GPIO_OSPEEDR_OSPEEDR6_Pos)
8540#define GPIO_OSPEEDR_OSPEEDR6 GPIO_OSPEEDR_OSPEEDR6_Msk
8541#define GPIO_OSPEEDR_OSPEEDR6_0 (0x1UL << GPIO_OSPEEDR_OSPEEDR6_Pos)
8542#define GPIO_OSPEEDR_OSPEEDR6_1 (0x2UL << GPIO_OSPEEDR_OSPEEDR6_Pos)
8543#define GPIO_OSPEEDR_OSPEEDR7_Pos (14U)
8544#define GPIO_OSPEEDR_OSPEEDR7_Msk (0x3UL << GPIO_OSPEEDR_OSPEEDR7_Pos)
8545#define GPIO_OSPEEDR_OSPEEDR7 GPIO_OSPEEDR_OSPEEDR7_Msk
8546#define GPIO_OSPEEDR_OSPEEDR7_0 (0x1UL << GPIO_OSPEEDR_OSPEEDR7_Pos)
8547#define GPIO_OSPEEDR_OSPEEDR7_1 (0x2UL << GPIO_OSPEEDR_OSPEEDR7_Pos)
8548#define GPIO_OSPEEDR_OSPEEDR8_Pos (16U)
8549#define GPIO_OSPEEDR_OSPEEDR8_Msk (0x3UL << GPIO_OSPEEDR_OSPEEDR8_Pos)
8550#define GPIO_OSPEEDR_OSPEEDR8 GPIO_OSPEEDR_OSPEEDR8_Msk
8551#define GPIO_OSPEEDR_OSPEEDR8_0 (0x1UL << GPIO_OSPEEDR_OSPEEDR8_Pos)
8552#define GPIO_OSPEEDR_OSPEEDR8_1 (0x2UL << GPIO_OSPEEDR_OSPEEDR8_Pos)
8553#define GPIO_OSPEEDR_OSPEEDR9_Pos (18U)
8554#define GPIO_OSPEEDR_OSPEEDR9_Msk (0x3UL << GPIO_OSPEEDR_OSPEEDR9_Pos)
8555#define GPIO_OSPEEDR_OSPEEDR9 GPIO_OSPEEDR_OSPEEDR9_Msk
8556#define GPIO_OSPEEDR_OSPEEDR9_0 (0x1UL << GPIO_OSPEEDR_OSPEEDR9_Pos)
8557#define GPIO_OSPEEDR_OSPEEDR9_1 (0x2UL << GPIO_OSPEEDR_OSPEEDR9_Pos)
8558#define GPIO_OSPEEDR_OSPEEDR10_Pos (20U)
8559#define GPIO_OSPEEDR_OSPEEDR10_Msk (0x3UL << GPIO_OSPEEDR_OSPEEDR10_Pos)
8560#define GPIO_OSPEEDR_OSPEEDR10 GPIO_OSPEEDR_OSPEEDR10_Msk
8561#define GPIO_OSPEEDR_OSPEEDR10_0 (0x1UL << GPIO_OSPEEDR_OSPEEDR10_Pos)
8562#define GPIO_OSPEEDR_OSPEEDR10_1 (0x2UL << GPIO_OSPEEDR_OSPEEDR10_Pos)
8563#define GPIO_OSPEEDR_OSPEEDR11_Pos (22U)
8564#define GPIO_OSPEEDR_OSPEEDR11_Msk (0x3UL << GPIO_OSPEEDR_OSPEEDR11_Pos)
8565#define GPIO_OSPEEDR_OSPEEDR11 GPIO_OSPEEDR_OSPEEDR11_Msk
8566#define GPIO_OSPEEDR_OSPEEDR11_0 (0x1UL << GPIO_OSPEEDR_OSPEEDR11_Pos)
8567#define GPIO_OSPEEDR_OSPEEDR11_1 (0x2UL << GPIO_OSPEEDR_OSPEEDR11_Pos)
8568#define GPIO_OSPEEDR_OSPEEDR12_Pos (24U)
8569#define GPIO_OSPEEDR_OSPEEDR12_Msk (0x3UL << GPIO_OSPEEDR_OSPEEDR12_Pos)
8570#define GPIO_OSPEEDR_OSPEEDR12 GPIO_OSPEEDR_OSPEEDR12_Msk
8571#define GPIO_OSPEEDR_OSPEEDR12_0 (0x1UL << GPIO_OSPEEDR_OSPEEDR12_Pos)
8572#define GPIO_OSPEEDR_OSPEEDR12_1 (0x2UL << GPIO_OSPEEDR_OSPEEDR12_Pos)
8573#define GPIO_OSPEEDR_OSPEEDR13_Pos (26U)
8574#define GPIO_OSPEEDR_OSPEEDR13_Msk (0x3UL << GPIO_OSPEEDR_OSPEEDR13_Pos)
8575#define GPIO_OSPEEDR_OSPEEDR13 GPIO_OSPEEDR_OSPEEDR13_Msk
8576#define GPIO_OSPEEDR_OSPEEDR13_0 (0x1UL << GPIO_OSPEEDR_OSPEEDR13_Pos)
8577#define GPIO_OSPEEDR_OSPEEDR13_1 (0x2UL << GPIO_OSPEEDR_OSPEEDR13_Pos)
8578#define GPIO_OSPEEDR_OSPEEDR14_Pos (28U)
8579#define GPIO_OSPEEDR_OSPEEDR14_Msk (0x3UL << GPIO_OSPEEDR_OSPEEDR14_Pos)
8580#define GPIO_OSPEEDR_OSPEEDR14 GPIO_OSPEEDR_OSPEEDR14_Msk
8581#define GPIO_OSPEEDR_OSPEEDR14_0 (0x1UL << GPIO_OSPEEDR_OSPEEDR14_Pos)
8582#define GPIO_OSPEEDR_OSPEEDR14_1 (0x2UL << GPIO_OSPEEDR_OSPEEDR14_Pos)
8583#define GPIO_OSPEEDR_OSPEEDR15_Pos (30U)
8584#define GPIO_OSPEEDR_OSPEEDR15_Msk (0x3UL << GPIO_OSPEEDR_OSPEEDR15_Pos)
8585#define GPIO_OSPEEDR_OSPEEDR15 GPIO_OSPEEDR_OSPEEDR15_Msk
8586#define GPIO_OSPEEDR_OSPEEDR15_0 (0x1UL << GPIO_OSPEEDR_OSPEEDR15_Pos)
8587#define GPIO_OSPEEDR_OSPEEDR15_1 (0x2UL << GPIO_OSPEEDR_OSPEEDR15_Pos)
8589/* legacy defines */
8590#define GPIO_OSPEEDER_OSPEEDR0_Pos GPIO_OSPEEDR_OSPEEDR0_Pos
8591#define GPIO_OSPEEDER_OSPEEDR0_Msk GPIO_OSPEEDR_OSPEEDR0_Msk
8592#define GPIO_OSPEEDER_OSPEEDR0 GPIO_OSPEEDR_OSPEEDR0
8593#define GPIO_OSPEEDER_OSPEEDR0_0 GPIO_OSPEEDR_OSPEEDR0_0
8594#define GPIO_OSPEEDER_OSPEEDR0_1 GPIO_OSPEEDR_OSPEEDR0_1
8595#define GPIO_OSPEEDER_OSPEEDR1_Pos GPIO_OSPEEDR_OSPEEDR1_Pos
8596#define GPIO_OSPEEDER_OSPEEDR1_Msk GPIO_OSPEEDR_OSPEEDR1_Msk
8597#define GPIO_OSPEEDER_OSPEEDR1 GPIO_OSPEEDR_OSPEEDR1
8598#define GPIO_OSPEEDER_OSPEEDR1_0 GPIO_OSPEEDR_OSPEEDR1_0
8599#define GPIO_OSPEEDER_OSPEEDR1_1 GPIO_OSPEEDR_OSPEEDR1_1
8600#define GPIO_OSPEEDER_OSPEEDR2_Pos GPIO_OSPEEDR_OSPEEDR2_Pos
8601#define GPIO_OSPEEDER_OSPEEDR2_Msk GPIO_OSPEEDR_OSPEEDR2_Msk
8602#define GPIO_OSPEEDER_OSPEEDR2 GPIO_OSPEEDR_OSPEEDR2
8603#define GPIO_OSPEEDER_OSPEEDR2_0 GPIO_OSPEEDR_OSPEEDR2_0
8604#define GPIO_OSPEEDER_OSPEEDR2_1 GPIO_OSPEEDR_OSPEEDR2_1
8605#define GPIO_OSPEEDER_OSPEEDR3_Pos GPIO_OSPEEDR_OSPEEDR3_Pos
8606#define GPIO_OSPEEDER_OSPEEDR3_Msk GPIO_OSPEEDR_OSPEEDR3_Msk
8607#define GPIO_OSPEEDER_OSPEEDR3 GPIO_OSPEEDR_OSPEEDR3
8608#define GPIO_OSPEEDER_OSPEEDR3_0 GPIO_OSPEEDR_OSPEEDR3_0
8609#define GPIO_OSPEEDER_OSPEEDR3_1 GPIO_OSPEEDR_OSPEEDR3_1
8610#define GPIO_OSPEEDER_OSPEEDR4_Pos GPIO_OSPEEDR_OSPEEDR4_Pos
8611#define GPIO_OSPEEDER_OSPEEDR4_Msk GPIO_OSPEEDR_OSPEEDR4_Msk
8612#define GPIO_OSPEEDER_OSPEEDR4 GPIO_OSPEEDR_OSPEEDR4
8613#define GPIO_OSPEEDER_OSPEEDR4_0 GPIO_OSPEEDR_OSPEEDR4_0
8614#define GPIO_OSPEEDER_OSPEEDR4_1 GPIO_OSPEEDR_OSPEEDR4_1
8615#define GPIO_OSPEEDER_OSPEEDR5_Pos GPIO_OSPEEDR_OSPEEDR5_Pos
8616#define GPIO_OSPEEDER_OSPEEDR5_Msk GPIO_OSPEEDR_OSPEEDR5_Msk
8617#define GPIO_OSPEEDER_OSPEEDR5 GPIO_OSPEEDR_OSPEEDR5
8618#define GPIO_OSPEEDER_OSPEEDR5_0 GPIO_OSPEEDR_OSPEEDR5_0
8619#define GPIO_OSPEEDER_OSPEEDR5_1 GPIO_OSPEEDR_OSPEEDR5_1
8620#define GPIO_OSPEEDER_OSPEEDR6_Pos GPIO_OSPEEDR_OSPEEDR6_Pos
8621#define GPIO_OSPEEDER_OSPEEDR6_Msk GPIO_OSPEEDR_OSPEEDR6_Msk
8622#define GPIO_OSPEEDER_OSPEEDR6 GPIO_OSPEEDR_OSPEEDR6
8623#define GPIO_OSPEEDER_OSPEEDR6_0 GPIO_OSPEEDR_OSPEEDR6_0
8624#define GPIO_OSPEEDER_OSPEEDR6_1 GPIO_OSPEEDR_OSPEEDR6_1
8625#define GPIO_OSPEEDER_OSPEEDR7_Pos GPIO_OSPEEDR_OSPEEDR7_Pos
8626#define GPIO_OSPEEDER_OSPEEDR7_Msk GPIO_OSPEEDR_OSPEEDR7_Msk
8627#define GPIO_OSPEEDER_OSPEEDR7 GPIO_OSPEEDR_OSPEEDR7
8628#define GPIO_OSPEEDER_OSPEEDR7_0 GPIO_OSPEEDR_OSPEEDR7_0
8629#define GPIO_OSPEEDER_OSPEEDR7_1 GPIO_OSPEEDR_OSPEEDR7_1
8630#define GPIO_OSPEEDER_OSPEEDR8_Pos GPIO_OSPEEDR_OSPEEDR8_Pos
8631#define GPIO_OSPEEDER_OSPEEDR8_Msk GPIO_OSPEEDR_OSPEEDR8_Msk
8632#define GPIO_OSPEEDER_OSPEEDR8 GPIO_OSPEEDR_OSPEEDR8
8633#define GPIO_OSPEEDER_OSPEEDR8_0 GPIO_OSPEEDR_OSPEEDR8_0
8634#define GPIO_OSPEEDER_OSPEEDR8_1 GPIO_OSPEEDR_OSPEEDR8_1
8635#define GPIO_OSPEEDER_OSPEEDR9_Pos GPIO_OSPEEDR_OSPEEDR9_Pos
8636#define GPIO_OSPEEDER_OSPEEDR9_Msk GPIO_OSPEEDR_OSPEEDR9_Msk
8637#define GPIO_OSPEEDER_OSPEEDR9 GPIO_OSPEEDR_OSPEEDR9
8638#define GPIO_OSPEEDER_OSPEEDR9_0 GPIO_OSPEEDR_OSPEEDR9_0
8639#define GPIO_OSPEEDER_OSPEEDR9_1 GPIO_OSPEEDR_OSPEEDR9_1
8640#define GPIO_OSPEEDER_OSPEEDR10_Pos GPIO_OSPEEDR_OSPEEDR10_Pos
8641#define GPIO_OSPEEDER_OSPEEDR10_Msk GPIO_OSPEEDR_OSPEEDR10_Msk
8642#define GPIO_OSPEEDER_OSPEEDR10 GPIO_OSPEEDR_OSPEEDR10
8643#define GPIO_OSPEEDER_OSPEEDR10_0 GPIO_OSPEEDR_OSPEEDR10_0
8644#define GPIO_OSPEEDER_OSPEEDR10_1 GPIO_OSPEEDR_OSPEEDR10_1
8645#define GPIO_OSPEEDER_OSPEEDR11_Pos GPIO_OSPEEDR_OSPEEDR11_Pos
8646#define GPIO_OSPEEDER_OSPEEDR11_Msk GPIO_OSPEEDR_OSPEEDR11_Msk
8647#define GPIO_OSPEEDER_OSPEEDR11 GPIO_OSPEEDR_OSPEEDR11
8648#define GPIO_OSPEEDER_OSPEEDR11_0 GPIO_OSPEEDR_OSPEEDR11_0
8649#define GPIO_OSPEEDER_OSPEEDR11_1 GPIO_OSPEEDR_OSPEEDR11_1
8650#define GPIO_OSPEEDER_OSPEEDR12_Pos GPIO_OSPEEDR_OSPEEDR12_Pos
8651#define GPIO_OSPEEDER_OSPEEDR12_Msk GPIO_OSPEEDR_OSPEEDR12_Msk
8652#define GPIO_OSPEEDER_OSPEEDR12 GPIO_OSPEEDR_OSPEEDR12
8653#define GPIO_OSPEEDER_OSPEEDR12_0 GPIO_OSPEEDR_OSPEEDR12_0
8654#define GPIO_OSPEEDER_OSPEEDR12_1 GPIO_OSPEEDR_OSPEEDR12_1
8655#define GPIO_OSPEEDER_OSPEEDR13_Pos GPIO_OSPEEDR_OSPEEDR13_Pos
8656#define GPIO_OSPEEDER_OSPEEDR13_Msk GPIO_OSPEEDR_OSPEEDR13_Msk
8657#define GPIO_OSPEEDER_OSPEEDR13 GPIO_OSPEEDR_OSPEEDR13
8658#define GPIO_OSPEEDER_OSPEEDR13_0 GPIO_OSPEEDR_OSPEEDR13_0
8659#define GPIO_OSPEEDER_OSPEEDR13_1 GPIO_OSPEEDR_OSPEEDR13_1
8660#define GPIO_OSPEEDER_OSPEEDR14_Pos GPIO_OSPEEDR_OSPEEDR14_Pos
8661#define GPIO_OSPEEDER_OSPEEDR14_Msk GPIO_OSPEEDR_OSPEEDR14_Msk
8662#define GPIO_OSPEEDER_OSPEEDR14 GPIO_OSPEEDR_OSPEEDR14
8663#define GPIO_OSPEEDER_OSPEEDR14_0 GPIO_OSPEEDR_OSPEEDR14_0
8664#define GPIO_OSPEEDER_OSPEEDR14_1 GPIO_OSPEEDR_OSPEEDR14_1
8665#define GPIO_OSPEEDER_OSPEEDR15_Pos GPIO_OSPEEDR_OSPEEDR15_Pos
8666#define GPIO_OSPEEDER_OSPEEDR15_Msk GPIO_OSPEEDR_OSPEEDR15_Msk
8667#define GPIO_OSPEEDER_OSPEEDR15 GPIO_OSPEEDR_OSPEEDR15
8668#define GPIO_OSPEEDER_OSPEEDR15_0 GPIO_OSPEEDR_OSPEEDR15_0
8669#define GPIO_OSPEEDER_OSPEEDR15_1 GPIO_OSPEEDR_OSPEEDR15_1
8670
8671/****************** Bits definition for GPIO_PUPDR register *****************/
8672#define GPIO_PUPDR_PUPDR0_Pos (0U)
8673#define GPIO_PUPDR_PUPDR0_Msk (0x3UL << GPIO_PUPDR_PUPDR0_Pos)
8674#define GPIO_PUPDR_PUPDR0 GPIO_PUPDR_PUPDR0_Msk
8675#define GPIO_PUPDR_PUPDR0_0 (0x1UL << GPIO_PUPDR_PUPDR0_Pos)
8676#define GPIO_PUPDR_PUPDR0_1 (0x2UL << GPIO_PUPDR_PUPDR0_Pos)
8677#define GPIO_PUPDR_PUPDR1_Pos (2U)
8678#define GPIO_PUPDR_PUPDR1_Msk (0x3UL << GPIO_PUPDR_PUPDR1_Pos)
8679#define GPIO_PUPDR_PUPDR1 GPIO_PUPDR_PUPDR1_Msk
8680#define GPIO_PUPDR_PUPDR1_0 (0x1UL << GPIO_PUPDR_PUPDR1_Pos)
8681#define GPIO_PUPDR_PUPDR1_1 (0x2UL << GPIO_PUPDR_PUPDR1_Pos)
8682#define GPIO_PUPDR_PUPDR2_Pos (4U)
8683#define GPIO_PUPDR_PUPDR2_Msk (0x3UL << GPIO_PUPDR_PUPDR2_Pos)
8684#define GPIO_PUPDR_PUPDR2 GPIO_PUPDR_PUPDR2_Msk
8685#define GPIO_PUPDR_PUPDR2_0 (0x1UL << GPIO_PUPDR_PUPDR2_Pos)
8686#define GPIO_PUPDR_PUPDR2_1 (0x2UL << GPIO_PUPDR_PUPDR2_Pos)
8687#define GPIO_PUPDR_PUPDR3_Pos (6U)
8688#define GPIO_PUPDR_PUPDR3_Msk (0x3UL << GPIO_PUPDR_PUPDR3_Pos)
8689#define GPIO_PUPDR_PUPDR3 GPIO_PUPDR_PUPDR3_Msk
8690#define GPIO_PUPDR_PUPDR3_0 (0x1UL << GPIO_PUPDR_PUPDR3_Pos)
8691#define GPIO_PUPDR_PUPDR3_1 (0x2UL << GPIO_PUPDR_PUPDR3_Pos)
8692#define GPIO_PUPDR_PUPDR4_Pos (8U)
8693#define GPIO_PUPDR_PUPDR4_Msk (0x3UL << GPIO_PUPDR_PUPDR4_Pos)
8694#define GPIO_PUPDR_PUPDR4 GPIO_PUPDR_PUPDR4_Msk
8695#define GPIO_PUPDR_PUPDR4_0 (0x1UL << GPIO_PUPDR_PUPDR4_Pos)
8696#define GPIO_PUPDR_PUPDR4_1 (0x2UL << GPIO_PUPDR_PUPDR4_Pos)
8697#define GPIO_PUPDR_PUPDR5_Pos (10U)
8698#define GPIO_PUPDR_PUPDR5_Msk (0x3UL << GPIO_PUPDR_PUPDR5_Pos)
8699#define GPIO_PUPDR_PUPDR5 GPIO_PUPDR_PUPDR5_Msk
8700#define GPIO_PUPDR_PUPDR5_0 (0x1UL << GPIO_PUPDR_PUPDR5_Pos)
8701#define GPIO_PUPDR_PUPDR5_1 (0x2UL << GPIO_PUPDR_PUPDR5_Pos)
8702#define GPIO_PUPDR_PUPDR6_Pos (12U)
8703#define GPIO_PUPDR_PUPDR6_Msk (0x3UL << GPIO_PUPDR_PUPDR6_Pos)
8704#define GPIO_PUPDR_PUPDR6 GPIO_PUPDR_PUPDR6_Msk
8705#define GPIO_PUPDR_PUPDR6_0 (0x1UL << GPIO_PUPDR_PUPDR6_Pos)
8706#define GPIO_PUPDR_PUPDR6_1 (0x2UL << GPIO_PUPDR_PUPDR6_Pos)
8707#define GPIO_PUPDR_PUPDR7_Pos (14U)
8708#define GPIO_PUPDR_PUPDR7_Msk (0x3UL << GPIO_PUPDR_PUPDR7_Pos)
8709#define GPIO_PUPDR_PUPDR7 GPIO_PUPDR_PUPDR7_Msk
8710#define GPIO_PUPDR_PUPDR7_0 (0x1UL << GPIO_PUPDR_PUPDR7_Pos)
8711#define GPIO_PUPDR_PUPDR7_1 (0x2UL << GPIO_PUPDR_PUPDR7_Pos)
8712#define GPIO_PUPDR_PUPDR8_Pos (16U)
8713#define GPIO_PUPDR_PUPDR8_Msk (0x3UL << GPIO_PUPDR_PUPDR8_Pos)
8714#define GPIO_PUPDR_PUPDR8 GPIO_PUPDR_PUPDR8_Msk
8715#define GPIO_PUPDR_PUPDR8_0 (0x1UL << GPIO_PUPDR_PUPDR8_Pos)
8716#define GPIO_PUPDR_PUPDR8_1 (0x2UL << GPIO_PUPDR_PUPDR8_Pos)
8717#define GPIO_PUPDR_PUPDR9_Pos (18U)
8718#define GPIO_PUPDR_PUPDR9_Msk (0x3UL << GPIO_PUPDR_PUPDR9_Pos)
8719#define GPIO_PUPDR_PUPDR9 GPIO_PUPDR_PUPDR9_Msk
8720#define GPIO_PUPDR_PUPDR9_0 (0x1UL << GPIO_PUPDR_PUPDR9_Pos)
8721#define GPIO_PUPDR_PUPDR9_1 (0x2UL << GPIO_PUPDR_PUPDR9_Pos)
8722#define GPIO_PUPDR_PUPDR10_Pos (20U)
8723#define GPIO_PUPDR_PUPDR10_Msk (0x3UL << GPIO_PUPDR_PUPDR10_Pos)
8724#define GPIO_PUPDR_PUPDR10 GPIO_PUPDR_PUPDR10_Msk
8725#define GPIO_PUPDR_PUPDR10_0 (0x1UL << GPIO_PUPDR_PUPDR10_Pos)
8726#define GPIO_PUPDR_PUPDR10_1 (0x2UL << GPIO_PUPDR_PUPDR10_Pos)
8727#define GPIO_PUPDR_PUPDR11_Pos (22U)
8728#define GPIO_PUPDR_PUPDR11_Msk (0x3UL << GPIO_PUPDR_PUPDR11_Pos)
8729#define GPIO_PUPDR_PUPDR11 GPIO_PUPDR_PUPDR11_Msk
8730#define GPIO_PUPDR_PUPDR11_0 (0x1UL << GPIO_PUPDR_PUPDR11_Pos)
8731#define GPIO_PUPDR_PUPDR11_1 (0x2UL << GPIO_PUPDR_PUPDR11_Pos)
8732#define GPIO_PUPDR_PUPDR12_Pos (24U)
8733#define GPIO_PUPDR_PUPDR12_Msk (0x3UL << GPIO_PUPDR_PUPDR12_Pos)
8734#define GPIO_PUPDR_PUPDR12 GPIO_PUPDR_PUPDR12_Msk
8735#define GPIO_PUPDR_PUPDR12_0 (0x1UL << GPIO_PUPDR_PUPDR12_Pos)
8736#define GPIO_PUPDR_PUPDR12_1 (0x2UL << GPIO_PUPDR_PUPDR12_Pos)
8737#define GPIO_PUPDR_PUPDR13_Pos (26U)
8738#define GPIO_PUPDR_PUPDR13_Msk (0x3UL << GPIO_PUPDR_PUPDR13_Pos)
8739#define GPIO_PUPDR_PUPDR13 GPIO_PUPDR_PUPDR13_Msk
8740#define GPIO_PUPDR_PUPDR13_0 (0x1UL << GPIO_PUPDR_PUPDR13_Pos)
8741#define GPIO_PUPDR_PUPDR13_1 (0x2UL << GPIO_PUPDR_PUPDR13_Pos)
8742#define GPIO_PUPDR_PUPDR14_Pos (28U)
8743#define GPIO_PUPDR_PUPDR14_Msk (0x3UL << GPIO_PUPDR_PUPDR14_Pos)
8744#define GPIO_PUPDR_PUPDR14 GPIO_PUPDR_PUPDR14_Msk
8745#define GPIO_PUPDR_PUPDR14_0 (0x1UL << GPIO_PUPDR_PUPDR14_Pos)
8746#define GPIO_PUPDR_PUPDR14_1 (0x2UL << GPIO_PUPDR_PUPDR14_Pos)
8747#define GPIO_PUPDR_PUPDR15_Pos (30U)
8748#define GPIO_PUPDR_PUPDR15_Msk (0x3UL << GPIO_PUPDR_PUPDR15_Pos)
8749#define GPIO_PUPDR_PUPDR15 GPIO_PUPDR_PUPDR15_Msk
8750#define GPIO_PUPDR_PUPDR15_0 (0x1UL << GPIO_PUPDR_PUPDR15_Pos)
8751#define GPIO_PUPDR_PUPDR15_1 (0x2UL << GPIO_PUPDR_PUPDR15_Pos)
8753/****************** Bits definition for GPIO_IDR register *******************/
8754#define GPIO_IDR_ID0_Pos (0U)
8755#define GPIO_IDR_ID0_Msk (0x1UL << GPIO_IDR_ID0_Pos)
8756#define GPIO_IDR_ID0 GPIO_IDR_ID0_Msk
8757#define GPIO_IDR_ID1_Pos (1U)
8758#define GPIO_IDR_ID1_Msk (0x1UL << GPIO_IDR_ID1_Pos)
8759#define GPIO_IDR_ID1 GPIO_IDR_ID1_Msk
8760#define GPIO_IDR_ID2_Pos (2U)
8761#define GPIO_IDR_ID2_Msk (0x1UL << GPIO_IDR_ID2_Pos)
8762#define GPIO_IDR_ID2 GPIO_IDR_ID2_Msk
8763#define GPIO_IDR_ID3_Pos (3U)
8764#define GPIO_IDR_ID3_Msk (0x1UL << GPIO_IDR_ID3_Pos)
8765#define GPIO_IDR_ID3 GPIO_IDR_ID3_Msk
8766#define GPIO_IDR_ID4_Pos (4U)
8767#define GPIO_IDR_ID4_Msk (0x1UL << GPIO_IDR_ID4_Pos)
8768#define GPIO_IDR_ID4 GPIO_IDR_ID4_Msk
8769#define GPIO_IDR_ID5_Pos (5U)
8770#define GPIO_IDR_ID5_Msk (0x1UL << GPIO_IDR_ID5_Pos)
8771#define GPIO_IDR_ID5 GPIO_IDR_ID5_Msk
8772#define GPIO_IDR_ID6_Pos (6U)
8773#define GPIO_IDR_ID6_Msk (0x1UL << GPIO_IDR_ID6_Pos)
8774#define GPIO_IDR_ID6 GPIO_IDR_ID6_Msk
8775#define GPIO_IDR_ID7_Pos (7U)
8776#define GPIO_IDR_ID7_Msk (0x1UL << GPIO_IDR_ID7_Pos)
8777#define GPIO_IDR_ID7 GPIO_IDR_ID7_Msk
8778#define GPIO_IDR_ID8_Pos (8U)
8779#define GPIO_IDR_ID8_Msk (0x1UL << GPIO_IDR_ID8_Pos)
8780#define GPIO_IDR_ID8 GPIO_IDR_ID8_Msk
8781#define GPIO_IDR_ID9_Pos (9U)
8782#define GPIO_IDR_ID9_Msk (0x1UL << GPIO_IDR_ID9_Pos)
8783#define GPIO_IDR_ID9 GPIO_IDR_ID9_Msk
8784#define GPIO_IDR_ID10_Pos (10U)
8785#define GPIO_IDR_ID10_Msk (0x1UL << GPIO_IDR_ID10_Pos)
8786#define GPIO_IDR_ID10 GPIO_IDR_ID10_Msk
8787#define GPIO_IDR_ID11_Pos (11U)
8788#define GPIO_IDR_ID11_Msk (0x1UL << GPIO_IDR_ID11_Pos)
8789#define GPIO_IDR_ID11 GPIO_IDR_ID11_Msk
8790#define GPIO_IDR_ID12_Pos (12U)
8791#define GPIO_IDR_ID12_Msk (0x1UL << GPIO_IDR_ID12_Pos)
8792#define GPIO_IDR_ID12 GPIO_IDR_ID12_Msk
8793#define GPIO_IDR_ID13_Pos (13U)
8794#define GPIO_IDR_ID13_Msk (0x1UL << GPIO_IDR_ID13_Pos)
8795#define GPIO_IDR_ID13 GPIO_IDR_ID13_Msk
8796#define GPIO_IDR_ID14_Pos (14U)
8797#define GPIO_IDR_ID14_Msk (0x1UL << GPIO_IDR_ID14_Pos)
8798#define GPIO_IDR_ID14 GPIO_IDR_ID14_Msk
8799#define GPIO_IDR_ID15_Pos (15U)
8800#define GPIO_IDR_ID15_Msk (0x1UL << GPIO_IDR_ID15_Pos)
8801#define GPIO_IDR_ID15 GPIO_IDR_ID15_Msk
8802
8803/* Legacy defines */
8804#define GPIO_IDR_IDR_0 GPIO_IDR_ID0
8805#define GPIO_IDR_IDR_1 GPIO_IDR_ID1
8806#define GPIO_IDR_IDR_2 GPIO_IDR_ID2
8807#define GPIO_IDR_IDR_3 GPIO_IDR_ID3
8808#define GPIO_IDR_IDR_4 GPIO_IDR_ID4
8809#define GPIO_IDR_IDR_5 GPIO_IDR_ID5
8810#define GPIO_IDR_IDR_6 GPIO_IDR_ID6
8811#define GPIO_IDR_IDR_7 GPIO_IDR_ID7
8812#define GPIO_IDR_IDR_8 GPIO_IDR_ID8
8813#define GPIO_IDR_IDR_9 GPIO_IDR_ID9
8814#define GPIO_IDR_IDR_10 GPIO_IDR_ID10
8815#define GPIO_IDR_IDR_11 GPIO_IDR_ID11
8816#define GPIO_IDR_IDR_12 GPIO_IDR_ID12
8817#define GPIO_IDR_IDR_13 GPIO_IDR_ID13
8818#define GPIO_IDR_IDR_14 GPIO_IDR_ID14
8819#define GPIO_IDR_IDR_15 GPIO_IDR_ID15
8820
8821/****************** Bits definition for GPIO_ODR register *******************/
8822#define GPIO_ODR_OD0_Pos (0U)
8823#define GPIO_ODR_OD0_Msk (0x1UL << GPIO_ODR_OD0_Pos)
8824#define GPIO_ODR_OD0 GPIO_ODR_OD0_Msk
8825#define GPIO_ODR_OD1_Pos (1U)
8826#define GPIO_ODR_OD1_Msk (0x1UL << GPIO_ODR_OD1_Pos)
8827#define GPIO_ODR_OD1 GPIO_ODR_OD1_Msk
8828#define GPIO_ODR_OD2_Pos (2U)
8829#define GPIO_ODR_OD2_Msk (0x1UL << GPIO_ODR_OD2_Pos)
8830#define GPIO_ODR_OD2 GPIO_ODR_OD2_Msk
8831#define GPIO_ODR_OD3_Pos (3U)
8832#define GPIO_ODR_OD3_Msk (0x1UL << GPIO_ODR_OD3_Pos)
8833#define GPIO_ODR_OD3 GPIO_ODR_OD3_Msk
8834#define GPIO_ODR_OD4_Pos (4U)
8835#define GPIO_ODR_OD4_Msk (0x1UL << GPIO_ODR_OD4_Pos)
8836#define GPIO_ODR_OD4 GPIO_ODR_OD4_Msk
8837#define GPIO_ODR_OD5_Pos (5U)
8838#define GPIO_ODR_OD5_Msk (0x1UL << GPIO_ODR_OD5_Pos)
8839#define GPIO_ODR_OD5 GPIO_ODR_OD5_Msk
8840#define GPIO_ODR_OD6_Pos (6U)
8841#define GPIO_ODR_OD6_Msk (0x1UL << GPIO_ODR_OD6_Pos)
8842#define GPIO_ODR_OD6 GPIO_ODR_OD6_Msk
8843#define GPIO_ODR_OD7_Pos (7U)
8844#define GPIO_ODR_OD7_Msk (0x1UL << GPIO_ODR_OD7_Pos)
8845#define GPIO_ODR_OD7 GPIO_ODR_OD7_Msk
8846#define GPIO_ODR_OD8_Pos (8U)
8847#define GPIO_ODR_OD8_Msk (0x1UL << GPIO_ODR_OD8_Pos)
8848#define GPIO_ODR_OD8 GPIO_ODR_OD8_Msk
8849#define GPIO_ODR_OD9_Pos (9U)
8850#define GPIO_ODR_OD9_Msk (0x1UL << GPIO_ODR_OD9_Pos)
8851#define GPIO_ODR_OD9 GPIO_ODR_OD9_Msk
8852#define GPIO_ODR_OD10_Pos (10U)
8853#define GPIO_ODR_OD10_Msk (0x1UL << GPIO_ODR_OD10_Pos)
8854#define GPIO_ODR_OD10 GPIO_ODR_OD10_Msk
8855#define GPIO_ODR_OD11_Pos (11U)
8856#define GPIO_ODR_OD11_Msk (0x1UL << GPIO_ODR_OD11_Pos)
8857#define GPIO_ODR_OD11 GPIO_ODR_OD11_Msk
8858#define GPIO_ODR_OD12_Pos (12U)
8859#define GPIO_ODR_OD12_Msk (0x1UL << GPIO_ODR_OD12_Pos)
8860#define GPIO_ODR_OD12 GPIO_ODR_OD12_Msk
8861#define GPIO_ODR_OD13_Pos (13U)
8862#define GPIO_ODR_OD13_Msk (0x1UL << GPIO_ODR_OD13_Pos)
8863#define GPIO_ODR_OD13 GPIO_ODR_OD13_Msk
8864#define GPIO_ODR_OD14_Pos (14U)
8865#define GPIO_ODR_OD14_Msk (0x1UL << GPIO_ODR_OD14_Pos)
8866#define GPIO_ODR_OD14 GPIO_ODR_OD14_Msk
8867#define GPIO_ODR_OD15_Pos (15U)
8868#define GPIO_ODR_OD15_Msk (0x1UL << GPIO_ODR_OD15_Pos)
8869#define GPIO_ODR_OD15 GPIO_ODR_OD15_Msk
8870
8871/* Legacy defines */
8872#define GPIO_ODR_ODR_0 GPIO_ODR_OD0
8873#define GPIO_ODR_ODR_1 GPIO_ODR_OD1
8874#define GPIO_ODR_ODR_2 GPIO_ODR_OD2
8875#define GPIO_ODR_ODR_3 GPIO_ODR_OD3
8876#define GPIO_ODR_ODR_4 GPIO_ODR_OD4
8877#define GPIO_ODR_ODR_5 GPIO_ODR_OD5
8878#define GPIO_ODR_ODR_6 GPIO_ODR_OD6
8879#define GPIO_ODR_ODR_7 GPIO_ODR_OD7
8880#define GPIO_ODR_ODR_8 GPIO_ODR_OD8
8881#define GPIO_ODR_ODR_9 GPIO_ODR_OD9
8882#define GPIO_ODR_ODR_10 GPIO_ODR_OD10
8883#define GPIO_ODR_ODR_11 GPIO_ODR_OD11
8884#define GPIO_ODR_ODR_12 GPIO_ODR_OD12
8885#define GPIO_ODR_ODR_13 GPIO_ODR_OD13
8886#define GPIO_ODR_ODR_14 GPIO_ODR_OD14
8887#define GPIO_ODR_ODR_15 GPIO_ODR_OD15
8888
8889/****************** Bits definition for GPIO_BSRR register ******************/
8890#define GPIO_BSRR_BS0_Pos (0U)
8891#define GPIO_BSRR_BS0_Msk (0x1UL << GPIO_BSRR_BS0_Pos)
8892#define GPIO_BSRR_BS0 GPIO_BSRR_BS0_Msk
8893#define GPIO_BSRR_BS1_Pos (1U)
8894#define GPIO_BSRR_BS1_Msk (0x1UL << GPIO_BSRR_BS1_Pos)
8895#define GPIO_BSRR_BS1 GPIO_BSRR_BS1_Msk
8896#define GPIO_BSRR_BS2_Pos (2U)
8897#define GPIO_BSRR_BS2_Msk (0x1UL << GPIO_BSRR_BS2_Pos)
8898#define GPIO_BSRR_BS2 GPIO_BSRR_BS2_Msk
8899#define GPIO_BSRR_BS3_Pos (3U)
8900#define GPIO_BSRR_BS3_Msk (0x1UL << GPIO_BSRR_BS3_Pos)
8901#define GPIO_BSRR_BS3 GPIO_BSRR_BS3_Msk
8902#define GPIO_BSRR_BS4_Pos (4U)
8903#define GPIO_BSRR_BS4_Msk (0x1UL << GPIO_BSRR_BS4_Pos)
8904#define GPIO_BSRR_BS4 GPIO_BSRR_BS4_Msk
8905#define GPIO_BSRR_BS5_Pos (5U)
8906#define GPIO_BSRR_BS5_Msk (0x1UL << GPIO_BSRR_BS5_Pos)
8907#define GPIO_BSRR_BS5 GPIO_BSRR_BS5_Msk
8908#define GPIO_BSRR_BS6_Pos (6U)
8909#define GPIO_BSRR_BS6_Msk (0x1UL << GPIO_BSRR_BS6_Pos)
8910#define GPIO_BSRR_BS6 GPIO_BSRR_BS6_Msk
8911#define GPIO_BSRR_BS7_Pos (7U)
8912#define GPIO_BSRR_BS7_Msk (0x1UL << GPIO_BSRR_BS7_Pos)
8913#define GPIO_BSRR_BS7 GPIO_BSRR_BS7_Msk
8914#define GPIO_BSRR_BS8_Pos (8U)
8915#define GPIO_BSRR_BS8_Msk (0x1UL << GPIO_BSRR_BS8_Pos)
8916#define GPIO_BSRR_BS8 GPIO_BSRR_BS8_Msk
8917#define GPIO_BSRR_BS9_Pos (9U)
8918#define GPIO_BSRR_BS9_Msk (0x1UL << GPIO_BSRR_BS9_Pos)
8919#define GPIO_BSRR_BS9 GPIO_BSRR_BS9_Msk
8920#define GPIO_BSRR_BS10_Pos (10U)
8921#define GPIO_BSRR_BS10_Msk (0x1UL << GPIO_BSRR_BS10_Pos)
8922#define GPIO_BSRR_BS10 GPIO_BSRR_BS10_Msk
8923#define GPIO_BSRR_BS11_Pos (11U)
8924#define GPIO_BSRR_BS11_Msk (0x1UL << GPIO_BSRR_BS11_Pos)
8925#define GPIO_BSRR_BS11 GPIO_BSRR_BS11_Msk
8926#define GPIO_BSRR_BS12_Pos (12U)
8927#define GPIO_BSRR_BS12_Msk (0x1UL << GPIO_BSRR_BS12_Pos)
8928#define GPIO_BSRR_BS12 GPIO_BSRR_BS12_Msk
8929#define GPIO_BSRR_BS13_Pos (13U)
8930#define GPIO_BSRR_BS13_Msk (0x1UL << GPIO_BSRR_BS13_Pos)
8931#define GPIO_BSRR_BS13 GPIO_BSRR_BS13_Msk
8932#define GPIO_BSRR_BS14_Pos (14U)
8933#define GPIO_BSRR_BS14_Msk (0x1UL << GPIO_BSRR_BS14_Pos)
8934#define GPIO_BSRR_BS14 GPIO_BSRR_BS14_Msk
8935#define GPIO_BSRR_BS15_Pos (15U)
8936#define GPIO_BSRR_BS15_Msk (0x1UL << GPIO_BSRR_BS15_Pos)
8937#define GPIO_BSRR_BS15 GPIO_BSRR_BS15_Msk
8938#define GPIO_BSRR_BR0_Pos (16U)
8939#define GPIO_BSRR_BR0_Msk (0x1UL << GPIO_BSRR_BR0_Pos)
8940#define GPIO_BSRR_BR0 GPIO_BSRR_BR0_Msk
8941#define GPIO_BSRR_BR1_Pos (17U)
8942#define GPIO_BSRR_BR1_Msk (0x1UL << GPIO_BSRR_BR1_Pos)
8943#define GPIO_BSRR_BR1 GPIO_BSRR_BR1_Msk
8944#define GPIO_BSRR_BR2_Pos (18U)
8945#define GPIO_BSRR_BR2_Msk (0x1UL << GPIO_BSRR_BR2_Pos)
8946#define GPIO_BSRR_BR2 GPIO_BSRR_BR2_Msk
8947#define GPIO_BSRR_BR3_Pos (19U)
8948#define GPIO_BSRR_BR3_Msk (0x1UL << GPIO_BSRR_BR3_Pos)
8949#define GPIO_BSRR_BR3 GPIO_BSRR_BR3_Msk
8950#define GPIO_BSRR_BR4_Pos (20U)
8951#define GPIO_BSRR_BR4_Msk (0x1UL << GPIO_BSRR_BR4_Pos)
8952#define GPIO_BSRR_BR4 GPIO_BSRR_BR4_Msk
8953#define GPIO_BSRR_BR5_Pos (21U)
8954#define GPIO_BSRR_BR5_Msk (0x1UL << GPIO_BSRR_BR5_Pos)
8955#define GPIO_BSRR_BR5 GPIO_BSRR_BR5_Msk
8956#define GPIO_BSRR_BR6_Pos (22U)
8957#define GPIO_BSRR_BR6_Msk (0x1UL << GPIO_BSRR_BR6_Pos)
8958#define GPIO_BSRR_BR6 GPIO_BSRR_BR6_Msk
8959#define GPIO_BSRR_BR7_Pos (23U)
8960#define GPIO_BSRR_BR7_Msk (0x1UL << GPIO_BSRR_BR7_Pos)
8961#define GPIO_BSRR_BR7 GPIO_BSRR_BR7_Msk
8962#define GPIO_BSRR_BR8_Pos (24U)
8963#define GPIO_BSRR_BR8_Msk (0x1UL << GPIO_BSRR_BR8_Pos)
8964#define GPIO_BSRR_BR8 GPIO_BSRR_BR8_Msk
8965#define GPIO_BSRR_BR9_Pos (25U)
8966#define GPIO_BSRR_BR9_Msk (0x1UL << GPIO_BSRR_BR9_Pos)
8967#define GPIO_BSRR_BR9 GPIO_BSRR_BR9_Msk
8968#define GPIO_BSRR_BR10_Pos (26U)
8969#define GPIO_BSRR_BR10_Msk (0x1UL << GPIO_BSRR_BR10_Pos)
8970#define GPIO_BSRR_BR10 GPIO_BSRR_BR10_Msk
8971#define GPIO_BSRR_BR11_Pos (27U)
8972#define GPIO_BSRR_BR11_Msk (0x1UL << GPIO_BSRR_BR11_Pos)
8973#define GPIO_BSRR_BR11 GPIO_BSRR_BR11_Msk
8974#define GPIO_BSRR_BR12_Pos (28U)
8975#define GPIO_BSRR_BR12_Msk (0x1UL << GPIO_BSRR_BR12_Pos)
8976#define GPIO_BSRR_BR12 GPIO_BSRR_BR12_Msk
8977#define GPIO_BSRR_BR13_Pos (29U)
8978#define GPIO_BSRR_BR13_Msk (0x1UL << GPIO_BSRR_BR13_Pos)
8979#define GPIO_BSRR_BR13 GPIO_BSRR_BR13_Msk
8980#define GPIO_BSRR_BR14_Pos (30U)
8981#define GPIO_BSRR_BR14_Msk (0x1UL << GPIO_BSRR_BR14_Pos)
8982#define GPIO_BSRR_BR14 GPIO_BSRR_BR14_Msk
8983#define GPIO_BSRR_BR15_Pos (31U)
8984#define GPIO_BSRR_BR15_Msk (0x1UL << GPIO_BSRR_BR15_Pos)
8985#define GPIO_BSRR_BR15 GPIO_BSRR_BR15_Msk
8986
8987/* Legacy defines */
8988#define GPIO_BSRR_BS_0 GPIO_BSRR_BS0
8989#define GPIO_BSRR_BS_1 GPIO_BSRR_BS1
8990#define GPIO_BSRR_BS_2 GPIO_BSRR_BS2
8991#define GPIO_BSRR_BS_3 GPIO_BSRR_BS3
8992#define GPIO_BSRR_BS_4 GPIO_BSRR_BS4
8993#define GPIO_BSRR_BS_5 GPIO_BSRR_BS5
8994#define GPIO_BSRR_BS_6 GPIO_BSRR_BS6
8995#define GPIO_BSRR_BS_7 GPIO_BSRR_BS7
8996#define GPIO_BSRR_BS_8 GPIO_BSRR_BS8
8997#define GPIO_BSRR_BS_9 GPIO_BSRR_BS9
8998#define GPIO_BSRR_BS_10 GPIO_BSRR_BS10
8999#define GPIO_BSRR_BS_11 GPIO_BSRR_BS11
9000#define GPIO_BSRR_BS_12 GPIO_BSRR_BS12
9001#define GPIO_BSRR_BS_13 GPIO_BSRR_BS13
9002#define GPIO_BSRR_BS_14 GPIO_BSRR_BS14
9003#define GPIO_BSRR_BS_15 GPIO_BSRR_BS15
9004#define GPIO_BSRR_BR_0 GPIO_BSRR_BR0
9005#define GPIO_BSRR_BR_1 GPIO_BSRR_BR1
9006#define GPIO_BSRR_BR_2 GPIO_BSRR_BR2
9007#define GPIO_BSRR_BR_3 GPIO_BSRR_BR3
9008#define GPIO_BSRR_BR_4 GPIO_BSRR_BR4
9009#define GPIO_BSRR_BR_5 GPIO_BSRR_BR5
9010#define GPIO_BSRR_BR_6 GPIO_BSRR_BR6
9011#define GPIO_BSRR_BR_7 GPIO_BSRR_BR7
9012#define GPIO_BSRR_BR_8 GPIO_BSRR_BR8
9013#define GPIO_BSRR_BR_9 GPIO_BSRR_BR9
9014#define GPIO_BSRR_BR_10 GPIO_BSRR_BR10
9015#define GPIO_BSRR_BR_11 GPIO_BSRR_BR11
9016#define GPIO_BSRR_BR_12 GPIO_BSRR_BR12
9017#define GPIO_BSRR_BR_13 GPIO_BSRR_BR13
9018#define GPIO_BSRR_BR_14 GPIO_BSRR_BR14
9019#define GPIO_BSRR_BR_15 GPIO_BSRR_BR15
9020
9021/****************** Bit definition for GPIO_LCKR register *********************/
9022#define GPIO_LCKR_LCK0_Pos (0U)
9023#define GPIO_LCKR_LCK0_Msk (0x1UL << GPIO_LCKR_LCK0_Pos)
9024#define GPIO_LCKR_LCK0 GPIO_LCKR_LCK0_Msk
9025#define GPIO_LCKR_LCK1_Pos (1U)
9026#define GPIO_LCKR_LCK1_Msk (0x1UL << GPIO_LCKR_LCK1_Pos)
9027#define GPIO_LCKR_LCK1 GPIO_LCKR_LCK1_Msk
9028#define GPIO_LCKR_LCK2_Pos (2U)
9029#define GPIO_LCKR_LCK2_Msk (0x1UL << GPIO_LCKR_LCK2_Pos)
9030#define GPIO_LCKR_LCK2 GPIO_LCKR_LCK2_Msk
9031#define GPIO_LCKR_LCK3_Pos (3U)
9032#define GPIO_LCKR_LCK3_Msk (0x1UL << GPIO_LCKR_LCK3_Pos)
9033#define GPIO_LCKR_LCK3 GPIO_LCKR_LCK3_Msk
9034#define GPIO_LCKR_LCK4_Pos (4U)
9035#define GPIO_LCKR_LCK4_Msk (0x1UL << GPIO_LCKR_LCK4_Pos)
9036#define GPIO_LCKR_LCK4 GPIO_LCKR_LCK4_Msk
9037#define GPIO_LCKR_LCK5_Pos (5U)
9038#define GPIO_LCKR_LCK5_Msk (0x1UL << GPIO_LCKR_LCK5_Pos)
9039#define GPIO_LCKR_LCK5 GPIO_LCKR_LCK5_Msk
9040#define GPIO_LCKR_LCK6_Pos (6U)
9041#define GPIO_LCKR_LCK6_Msk (0x1UL << GPIO_LCKR_LCK6_Pos)
9042#define GPIO_LCKR_LCK6 GPIO_LCKR_LCK6_Msk
9043#define GPIO_LCKR_LCK7_Pos (7U)
9044#define GPIO_LCKR_LCK7_Msk (0x1UL << GPIO_LCKR_LCK7_Pos)
9045#define GPIO_LCKR_LCK7 GPIO_LCKR_LCK7_Msk
9046#define GPIO_LCKR_LCK8_Pos (8U)
9047#define GPIO_LCKR_LCK8_Msk (0x1UL << GPIO_LCKR_LCK8_Pos)
9048#define GPIO_LCKR_LCK8 GPIO_LCKR_LCK8_Msk
9049#define GPIO_LCKR_LCK9_Pos (9U)
9050#define GPIO_LCKR_LCK9_Msk (0x1UL << GPIO_LCKR_LCK9_Pos)
9051#define GPIO_LCKR_LCK9 GPIO_LCKR_LCK9_Msk
9052#define GPIO_LCKR_LCK10_Pos (10U)
9053#define GPIO_LCKR_LCK10_Msk (0x1UL << GPIO_LCKR_LCK10_Pos)
9054#define GPIO_LCKR_LCK10 GPIO_LCKR_LCK10_Msk
9055#define GPIO_LCKR_LCK11_Pos (11U)
9056#define GPIO_LCKR_LCK11_Msk (0x1UL << GPIO_LCKR_LCK11_Pos)
9057#define GPIO_LCKR_LCK11 GPIO_LCKR_LCK11_Msk
9058#define GPIO_LCKR_LCK12_Pos (12U)
9059#define GPIO_LCKR_LCK12_Msk (0x1UL << GPIO_LCKR_LCK12_Pos)
9060#define GPIO_LCKR_LCK12 GPIO_LCKR_LCK12_Msk
9061#define GPIO_LCKR_LCK13_Pos (13U)
9062#define GPIO_LCKR_LCK13_Msk (0x1UL << GPIO_LCKR_LCK13_Pos)
9063#define GPIO_LCKR_LCK13 GPIO_LCKR_LCK13_Msk
9064#define GPIO_LCKR_LCK14_Pos (14U)
9065#define GPIO_LCKR_LCK14_Msk (0x1UL << GPIO_LCKR_LCK14_Pos)
9066#define GPIO_LCKR_LCK14 GPIO_LCKR_LCK14_Msk
9067#define GPIO_LCKR_LCK15_Pos (15U)
9068#define GPIO_LCKR_LCK15_Msk (0x1UL << GPIO_LCKR_LCK15_Pos)
9069#define GPIO_LCKR_LCK15 GPIO_LCKR_LCK15_Msk
9070#define GPIO_LCKR_LCKK_Pos (16U)
9071#define GPIO_LCKR_LCKK_Msk (0x1UL << GPIO_LCKR_LCKK_Pos)
9072#define GPIO_LCKR_LCKK GPIO_LCKR_LCKK_Msk
9073
9074/****************** Bit definition for GPIO_AFRL register *********************/
9075#define GPIO_AFRL_AFRL0_Pos (0U)
9076#define GPIO_AFRL_AFRL0_Msk (0xFUL << GPIO_AFRL_AFRL0_Pos)
9077#define GPIO_AFRL_AFRL0 GPIO_AFRL_AFRL0_Msk
9078#define GPIO_AFRL_AFRL0_0 (0x1UL << GPIO_AFRL_AFRL0_Pos)
9079#define GPIO_AFRL_AFRL0_1 (0x2UL << GPIO_AFRL_AFRL0_Pos)
9080#define GPIO_AFRL_AFRL0_2 (0x4UL << GPIO_AFRL_AFRL0_Pos)
9081#define GPIO_AFRL_AFRL0_3 (0x8UL << GPIO_AFRL_AFRL0_Pos)
9082#define GPIO_AFRL_AFRL1_Pos (4U)
9083#define GPIO_AFRL_AFRL1_Msk (0xFUL << GPIO_AFRL_AFRL1_Pos)
9084#define GPIO_AFRL_AFRL1 GPIO_AFRL_AFRL1_Msk
9085#define GPIO_AFRL_AFRL1_0 (0x1UL << GPIO_AFRL_AFRL1_Pos)
9086#define GPIO_AFRL_AFRL1_1 (0x2UL << GPIO_AFRL_AFRL1_Pos)
9087#define GPIO_AFRL_AFRL1_2 (0x4UL << GPIO_AFRL_AFRL1_Pos)
9088#define GPIO_AFRL_AFRL1_3 (0x8UL << GPIO_AFRL_AFRL1_Pos)
9089#define GPIO_AFRL_AFRL2_Pos (8U)
9090#define GPIO_AFRL_AFRL2_Msk (0xFUL << GPIO_AFRL_AFRL2_Pos)
9091#define GPIO_AFRL_AFRL2 GPIO_AFRL_AFRL2_Msk
9092#define GPIO_AFRL_AFRL2_0 (0x1UL << GPIO_AFRL_AFRL2_Pos)
9093#define GPIO_AFRL_AFRL2_1 (0x2UL << GPIO_AFRL_AFRL2_Pos)
9094#define GPIO_AFRL_AFRL2_2 (0x4UL << GPIO_AFRL_AFRL2_Pos)
9095#define GPIO_AFRL_AFRL2_3 (0x8UL << GPIO_AFRL_AFRL2_Pos)
9096#define GPIO_AFRL_AFRL3_Pos (12U)
9097#define GPIO_AFRL_AFRL3_Msk (0xFUL << GPIO_AFRL_AFRL3_Pos)
9098#define GPIO_AFRL_AFRL3 GPIO_AFRL_AFRL3_Msk
9099#define GPIO_AFRL_AFRL3_0 (0x1UL << GPIO_AFRL_AFRL3_Pos)
9100#define GPIO_AFRL_AFRL3_1 (0x2UL << GPIO_AFRL_AFRL3_Pos)
9101#define GPIO_AFRL_AFRL3_2 (0x4UL << GPIO_AFRL_AFRL3_Pos)
9102#define GPIO_AFRL_AFRL3_3 (0x8UL << GPIO_AFRL_AFRL3_Pos)
9103#define GPIO_AFRL_AFRL4_Pos (16U)
9104#define GPIO_AFRL_AFRL4_Msk (0xFUL << GPIO_AFRL_AFRL4_Pos)
9105#define GPIO_AFRL_AFRL4 GPIO_AFRL_AFRL4_Msk
9106#define GPIO_AFRL_AFRL4_0 (0x1UL << GPIO_AFRL_AFRL4_Pos)
9107#define GPIO_AFRL_AFRL4_1 (0x2UL << GPIO_AFRL_AFRL4_Pos)
9108#define GPIO_AFRL_AFRL4_2 (0x4UL << GPIO_AFRL_AFRL4_Pos)
9109#define GPIO_AFRL_AFRL4_3 (0x8UL << GPIO_AFRL_AFRL4_Pos)
9110#define GPIO_AFRL_AFRL5_Pos (20U)
9111#define GPIO_AFRL_AFRL5_Msk (0xFUL << GPIO_AFRL_AFRL5_Pos)
9112#define GPIO_AFRL_AFRL5 GPIO_AFRL_AFRL5_Msk
9113#define GPIO_AFRL_AFRL5_0 (0x1UL << GPIO_AFRL_AFRL5_Pos)
9114#define GPIO_AFRL_AFRL5_1 (0x2UL << GPIO_AFRL_AFRL5_Pos)
9115#define GPIO_AFRL_AFRL5_2 (0x4UL << GPIO_AFRL_AFRL5_Pos)
9116#define GPIO_AFRL_AFRL5_3 (0x8UL << GPIO_AFRL_AFRL5_Pos)
9117#define GPIO_AFRL_AFRL6_Pos (24U)
9118#define GPIO_AFRL_AFRL6_Msk (0xFUL << GPIO_AFRL_AFRL6_Pos)
9119#define GPIO_AFRL_AFRL6 GPIO_AFRL_AFRL6_Msk
9120#define GPIO_AFRL_AFRL6_0 (0x1UL << GPIO_AFRL_AFRL6_Pos)
9121#define GPIO_AFRL_AFRL6_1 (0x2UL << GPIO_AFRL_AFRL6_Pos)
9122#define GPIO_AFRL_AFRL6_2 (0x4UL << GPIO_AFRL_AFRL6_Pos)
9123#define GPIO_AFRL_AFRL6_3 (0x8UL << GPIO_AFRL_AFRL6_Pos)
9124#define GPIO_AFRL_AFRL7_Pos (28U)
9125#define GPIO_AFRL_AFRL7_Msk (0xFUL << GPIO_AFRL_AFRL7_Pos)
9126#define GPIO_AFRL_AFRL7 GPIO_AFRL_AFRL7_Msk
9127#define GPIO_AFRL_AFRL7_0 (0x1UL << GPIO_AFRL_AFRL7_Pos)
9128#define GPIO_AFRL_AFRL7_1 (0x2UL << GPIO_AFRL_AFRL7_Pos)
9129#define GPIO_AFRL_AFRL7_2 (0x4UL << GPIO_AFRL_AFRL7_Pos)
9130#define GPIO_AFRL_AFRL7_3 (0x8UL << GPIO_AFRL_AFRL7_Pos)
9132/****************** Bit definition for GPIO_AFRH register *********************/
9133#define GPIO_AFRH_AFRH0_Pos (0U)
9134#define GPIO_AFRH_AFRH0_Msk (0xFUL << GPIO_AFRH_AFRH0_Pos)
9135#define GPIO_AFRH_AFRH0 GPIO_AFRH_AFRH0_Msk
9136#define GPIO_AFRH_AFRH0_0 (0x1UL << GPIO_AFRH_AFRH0_Pos)
9137#define GPIO_AFRH_AFRH0_1 (0x2UL << GPIO_AFRH_AFRH0_Pos)
9138#define GPIO_AFRH_AFRH0_2 (0x4UL << GPIO_AFRH_AFRH0_Pos)
9139#define GPIO_AFRH_AFRH0_3 (0x8UL << GPIO_AFRH_AFRH0_Pos)
9140#define GPIO_AFRH_AFRH1_Pos (4U)
9141#define GPIO_AFRH_AFRH1_Msk (0xFUL << GPIO_AFRH_AFRH1_Pos)
9142#define GPIO_AFRH_AFRH1 GPIO_AFRH_AFRH1_Msk
9143#define GPIO_AFRH_AFRH1_0 (0x1UL << GPIO_AFRH_AFRH1_Pos)
9144#define GPIO_AFRH_AFRH1_1 (0x2UL << GPIO_AFRH_AFRH1_Pos)
9145#define GPIO_AFRH_AFRH1_2 (0x4UL << GPIO_AFRH_AFRH1_Pos)
9146#define GPIO_AFRH_AFRH1_3 (0x8UL << GPIO_AFRH_AFRH1_Pos)
9147#define GPIO_AFRH_AFRH2_Pos (8U)
9148#define GPIO_AFRH_AFRH2_Msk (0xFUL << GPIO_AFRH_AFRH2_Pos)
9149#define GPIO_AFRH_AFRH2 GPIO_AFRH_AFRH2_Msk
9150#define GPIO_AFRH_AFRH2_0 (0x1UL << GPIO_AFRH_AFRH2_Pos)
9151#define GPIO_AFRH_AFRH2_1 (0x2UL << GPIO_AFRH_AFRH2_Pos)
9152#define GPIO_AFRH_AFRH2_2 (0x4UL << GPIO_AFRH_AFRH2_Pos)
9153#define GPIO_AFRH_AFRH2_3 (0x8UL << GPIO_AFRH_AFRH2_Pos)
9154#define GPIO_AFRH_AFRH3_Pos (12U)
9155#define GPIO_AFRH_AFRH3_Msk (0xFUL << GPIO_AFRH_AFRH3_Pos)
9156#define GPIO_AFRH_AFRH3 GPIO_AFRH_AFRH3_Msk
9157#define GPIO_AFRH_AFRH3_0 (0x1UL << GPIO_AFRH_AFRH3_Pos)
9158#define GPIO_AFRH_AFRH3_1 (0x2UL << GPIO_AFRH_AFRH3_Pos)
9159#define GPIO_AFRH_AFRH3_2 (0x4UL << GPIO_AFRH_AFRH3_Pos)
9160#define GPIO_AFRH_AFRH3_3 (0x8UL << GPIO_AFRH_AFRH3_Pos)
9161#define GPIO_AFRH_AFRH4_Pos (16U)
9162#define GPIO_AFRH_AFRH4_Msk (0xFUL << GPIO_AFRH_AFRH4_Pos)
9163#define GPIO_AFRH_AFRH4 GPIO_AFRH_AFRH4_Msk
9164#define GPIO_AFRH_AFRH4_0 (0x1UL << GPIO_AFRH_AFRH4_Pos)
9165#define GPIO_AFRH_AFRH4_1 (0x2UL << GPIO_AFRH_AFRH4_Pos)
9166#define GPIO_AFRH_AFRH4_2 (0x4UL << GPIO_AFRH_AFRH4_Pos)
9167#define GPIO_AFRH_AFRH4_3 (0x8UL << GPIO_AFRH_AFRH4_Pos)
9168#define GPIO_AFRH_AFRH5_Pos (20U)
9169#define GPIO_AFRH_AFRH5_Msk (0xFUL << GPIO_AFRH_AFRH5_Pos)
9170#define GPIO_AFRH_AFRH5 GPIO_AFRH_AFRH5_Msk
9171#define GPIO_AFRH_AFRH5_0 (0x1UL << GPIO_AFRH_AFRH5_Pos)
9172#define GPIO_AFRH_AFRH5_1 (0x2UL << GPIO_AFRH_AFRH5_Pos)
9173#define GPIO_AFRH_AFRH5_2 (0x4UL << GPIO_AFRH_AFRH5_Pos)
9174#define GPIO_AFRH_AFRH5_3 (0x8UL << GPIO_AFRH_AFRH5_Pos)
9175#define GPIO_AFRH_AFRH6_Pos (24U)
9176#define GPIO_AFRH_AFRH6_Msk (0xFUL << GPIO_AFRH_AFRH6_Pos)
9177#define GPIO_AFRH_AFRH6 GPIO_AFRH_AFRH6_Msk
9178#define GPIO_AFRH_AFRH6_0 (0x1UL << GPIO_AFRH_AFRH6_Pos)
9179#define GPIO_AFRH_AFRH6_1 (0x2UL << GPIO_AFRH_AFRH6_Pos)
9180#define GPIO_AFRH_AFRH6_2 (0x4UL << GPIO_AFRH_AFRH6_Pos)
9181#define GPIO_AFRH_AFRH6_3 (0x8UL << GPIO_AFRH_AFRH6_Pos)
9182#define GPIO_AFRH_AFRH7_Pos (28U)
9183#define GPIO_AFRH_AFRH7_Msk (0xFUL << GPIO_AFRH_AFRH7_Pos)
9184#define GPIO_AFRH_AFRH7 GPIO_AFRH_AFRH7_Msk
9185#define GPIO_AFRH_AFRH7_0 (0x1UL << GPIO_AFRH_AFRH7_Pos)
9186#define GPIO_AFRH_AFRH7_1 (0x2UL << GPIO_AFRH_AFRH7_Pos)
9187#define GPIO_AFRH_AFRH7_2 (0x4UL << GPIO_AFRH_AFRH7_Pos)
9188#define GPIO_AFRH_AFRH7_3 (0x8UL << GPIO_AFRH_AFRH7_Pos)
9191/******************************************************************************/
9192/* */
9193/* Inter-integrated Circuit Interface (I2C) */
9194/* */
9195/******************************************************************************/
9196/******************* Bit definition for I2C_CR1 register *******************/
9197#define I2C_CR1_PE_Pos (0U)
9198#define I2C_CR1_PE_Msk (0x1UL << I2C_CR1_PE_Pos)
9199#define I2C_CR1_PE I2C_CR1_PE_Msk
9200#define I2C_CR1_TXIE_Pos (1U)
9201#define I2C_CR1_TXIE_Msk (0x1UL << I2C_CR1_TXIE_Pos)
9202#define I2C_CR1_TXIE I2C_CR1_TXIE_Msk
9203#define I2C_CR1_RXIE_Pos (2U)
9204#define I2C_CR1_RXIE_Msk (0x1UL << I2C_CR1_RXIE_Pos)
9205#define I2C_CR1_RXIE I2C_CR1_RXIE_Msk
9206#define I2C_CR1_ADDRIE_Pos (3U)
9207#define I2C_CR1_ADDRIE_Msk (0x1UL << I2C_CR1_ADDRIE_Pos)
9208#define I2C_CR1_ADDRIE I2C_CR1_ADDRIE_Msk
9209#define I2C_CR1_NACKIE_Pos (4U)
9210#define I2C_CR1_NACKIE_Msk (0x1UL << I2C_CR1_NACKIE_Pos)
9211#define I2C_CR1_NACKIE I2C_CR1_NACKIE_Msk
9212#define I2C_CR1_STOPIE_Pos (5U)
9213#define I2C_CR1_STOPIE_Msk (0x1UL << I2C_CR1_STOPIE_Pos)
9214#define I2C_CR1_STOPIE I2C_CR1_STOPIE_Msk
9215#define I2C_CR1_TCIE_Pos (6U)
9216#define I2C_CR1_TCIE_Msk (0x1UL << I2C_CR1_TCIE_Pos)
9217#define I2C_CR1_TCIE I2C_CR1_TCIE_Msk
9218#define I2C_CR1_ERRIE_Pos (7U)
9219#define I2C_CR1_ERRIE_Msk (0x1UL << I2C_CR1_ERRIE_Pos)
9220#define I2C_CR1_ERRIE I2C_CR1_ERRIE_Msk
9221#define I2C_CR1_DNF_Pos (8U)
9222#define I2C_CR1_DNF_Msk (0xFUL << I2C_CR1_DNF_Pos)
9223#define I2C_CR1_DNF I2C_CR1_DNF_Msk
9224#define I2C_CR1_ANFOFF_Pos (12U)
9225#define I2C_CR1_ANFOFF_Msk (0x1UL << I2C_CR1_ANFOFF_Pos)
9226#define I2C_CR1_ANFOFF I2C_CR1_ANFOFF_Msk
9227#define I2C_CR1_TXDMAEN_Pos (14U)
9228#define I2C_CR1_TXDMAEN_Msk (0x1UL << I2C_CR1_TXDMAEN_Pos)
9229#define I2C_CR1_TXDMAEN I2C_CR1_TXDMAEN_Msk
9230#define I2C_CR1_RXDMAEN_Pos (15U)
9231#define I2C_CR1_RXDMAEN_Msk (0x1UL << I2C_CR1_RXDMAEN_Pos)
9232#define I2C_CR1_RXDMAEN I2C_CR1_RXDMAEN_Msk
9233#define I2C_CR1_SBC_Pos (16U)
9234#define I2C_CR1_SBC_Msk (0x1UL << I2C_CR1_SBC_Pos)
9235#define I2C_CR1_SBC I2C_CR1_SBC_Msk
9236#define I2C_CR1_NOSTRETCH_Pos (17U)
9237#define I2C_CR1_NOSTRETCH_Msk (0x1UL << I2C_CR1_NOSTRETCH_Pos)
9238#define I2C_CR1_NOSTRETCH I2C_CR1_NOSTRETCH_Msk
9239#define I2C_CR1_GCEN_Pos (19U)
9240#define I2C_CR1_GCEN_Msk (0x1UL << I2C_CR1_GCEN_Pos)
9241#define I2C_CR1_GCEN I2C_CR1_GCEN_Msk
9242#define I2C_CR1_SMBHEN_Pos (20U)
9243#define I2C_CR1_SMBHEN_Msk (0x1UL << I2C_CR1_SMBHEN_Pos)
9244#define I2C_CR1_SMBHEN I2C_CR1_SMBHEN_Msk
9245#define I2C_CR1_SMBDEN_Pos (21U)
9246#define I2C_CR1_SMBDEN_Msk (0x1UL << I2C_CR1_SMBDEN_Pos)
9247#define I2C_CR1_SMBDEN I2C_CR1_SMBDEN_Msk
9248#define I2C_CR1_ALERTEN_Pos (22U)
9249#define I2C_CR1_ALERTEN_Msk (0x1UL << I2C_CR1_ALERTEN_Pos)
9250#define I2C_CR1_ALERTEN I2C_CR1_ALERTEN_Msk
9251#define I2C_CR1_PECEN_Pos (23U)
9252#define I2C_CR1_PECEN_Msk (0x1UL << I2C_CR1_PECEN_Pos)
9253#define I2C_CR1_PECEN I2C_CR1_PECEN_Msk
9255/* Legacy define */
9256#define I2C_CR1_DFN I2C_CR1_DNF
9258/****************** Bit definition for I2C_CR2 register ********************/
9259#define I2C_CR2_SADD_Pos (0U)
9260#define I2C_CR2_SADD_Msk (0x3FFUL << I2C_CR2_SADD_Pos)
9261#define I2C_CR2_SADD I2C_CR2_SADD_Msk
9262#define I2C_CR2_RD_WRN_Pos (10U)
9263#define I2C_CR2_RD_WRN_Msk (0x1UL << I2C_CR2_RD_WRN_Pos)
9264#define I2C_CR2_RD_WRN I2C_CR2_RD_WRN_Msk
9265#define I2C_CR2_ADD10_Pos (11U)
9266#define I2C_CR2_ADD10_Msk (0x1UL << I2C_CR2_ADD10_Pos)
9267#define I2C_CR2_ADD10 I2C_CR2_ADD10_Msk
9268#define I2C_CR2_HEAD10R_Pos (12U)
9269#define I2C_CR2_HEAD10R_Msk (0x1UL << I2C_CR2_HEAD10R_Pos)
9270#define I2C_CR2_HEAD10R I2C_CR2_HEAD10R_Msk
9271#define I2C_CR2_START_Pos (13U)
9272#define I2C_CR2_START_Msk (0x1UL << I2C_CR2_START_Pos)
9273#define I2C_CR2_START I2C_CR2_START_Msk
9274#define I2C_CR2_STOP_Pos (14U)
9275#define I2C_CR2_STOP_Msk (0x1UL << I2C_CR2_STOP_Pos)
9276#define I2C_CR2_STOP I2C_CR2_STOP_Msk
9277#define I2C_CR2_NACK_Pos (15U)
9278#define I2C_CR2_NACK_Msk (0x1UL << I2C_CR2_NACK_Pos)
9279#define I2C_CR2_NACK I2C_CR2_NACK_Msk
9280#define I2C_CR2_NBYTES_Pos (16U)
9281#define I2C_CR2_NBYTES_Msk (0xFFUL << I2C_CR2_NBYTES_Pos)
9282#define I2C_CR2_NBYTES I2C_CR2_NBYTES_Msk
9283#define I2C_CR2_RELOAD_Pos (24U)
9284#define I2C_CR2_RELOAD_Msk (0x1UL << I2C_CR2_RELOAD_Pos)
9285#define I2C_CR2_RELOAD I2C_CR2_RELOAD_Msk
9286#define I2C_CR2_AUTOEND_Pos (25U)
9287#define I2C_CR2_AUTOEND_Msk (0x1UL << I2C_CR2_AUTOEND_Pos)
9288#define I2C_CR2_AUTOEND I2C_CR2_AUTOEND_Msk
9289#define I2C_CR2_PECBYTE_Pos (26U)
9290#define I2C_CR2_PECBYTE_Msk (0x1UL << I2C_CR2_PECBYTE_Pos)
9291#define I2C_CR2_PECBYTE I2C_CR2_PECBYTE_Msk
9293/******************* Bit definition for I2C_OAR1 register ******************/
9294#define I2C_OAR1_OA1_Pos (0U)
9295#define I2C_OAR1_OA1_Msk (0x3FFUL << I2C_OAR1_OA1_Pos)
9296#define I2C_OAR1_OA1 I2C_OAR1_OA1_Msk
9297#define I2C_OAR1_OA1MODE_Pos (10U)
9298#define I2C_OAR1_OA1MODE_Msk (0x1UL << I2C_OAR1_OA1MODE_Pos)
9299#define I2C_OAR1_OA1MODE I2C_OAR1_OA1MODE_Msk
9300#define I2C_OAR1_OA1EN_Pos (15U)
9301#define I2C_OAR1_OA1EN_Msk (0x1UL << I2C_OAR1_OA1EN_Pos)
9302#define I2C_OAR1_OA1EN I2C_OAR1_OA1EN_Msk
9304/******************* Bit definition for I2C_OAR2 register ******************/
9305#define I2C_OAR2_OA2_Pos (1U)
9306#define I2C_OAR2_OA2_Msk (0x7FUL << I2C_OAR2_OA2_Pos)
9307#define I2C_OAR2_OA2 I2C_OAR2_OA2_Msk
9308#define I2C_OAR2_OA2MSK_Pos (8U)
9309#define I2C_OAR2_OA2MSK_Msk (0x7UL << I2C_OAR2_OA2MSK_Pos)
9310#define I2C_OAR2_OA2MSK I2C_OAR2_OA2MSK_Msk
9311#define I2C_OAR2_OA2NOMASK 0x00000000U
9312#define I2C_OAR2_OA2MASK01_Pos (8U)
9313#define I2C_OAR2_OA2MASK01_Msk (0x1UL << I2C_OAR2_OA2MASK01_Pos)
9314#define I2C_OAR2_OA2MASK01 I2C_OAR2_OA2MASK01_Msk
9315#define I2C_OAR2_OA2MASK02_Pos (9U)
9316#define I2C_OAR2_OA2MASK02_Msk (0x1UL << I2C_OAR2_OA2MASK02_Pos)
9317#define I2C_OAR2_OA2MASK02 I2C_OAR2_OA2MASK02_Msk
9318#define I2C_OAR2_OA2MASK03_Pos (8U)
9319#define I2C_OAR2_OA2MASK03_Msk (0x3UL << I2C_OAR2_OA2MASK03_Pos)
9320#define I2C_OAR2_OA2MASK03 I2C_OAR2_OA2MASK03_Msk
9321#define I2C_OAR2_OA2MASK04_Pos (10U)
9322#define I2C_OAR2_OA2MASK04_Msk (0x1UL << I2C_OAR2_OA2MASK04_Pos)
9323#define I2C_OAR2_OA2MASK04 I2C_OAR2_OA2MASK04_Msk
9324#define I2C_OAR2_OA2MASK05_Pos (8U)
9325#define I2C_OAR2_OA2MASK05_Msk (0x5UL << I2C_OAR2_OA2MASK05_Pos)
9326#define I2C_OAR2_OA2MASK05 I2C_OAR2_OA2MASK05_Msk
9327#define I2C_OAR2_OA2MASK06_Pos (9U)
9328#define I2C_OAR2_OA2MASK06_Msk (0x3UL << I2C_OAR2_OA2MASK06_Pos)
9329#define I2C_OAR2_OA2MASK06 I2C_OAR2_OA2MASK06_Msk
9330#define I2C_OAR2_OA2MASK07_Pos (8U)
9331#define I2C_OAR2_OA2MASK07_Msk (0x7UL << I2C_OAR2_OA2MASK07_Pos)
9332#define I2C_OAR2_OA2MASK07 I2C_OAR2_OA2MASK07_Msk
9333#define I2C_OAR2_OA2EN_Pos (15U)
9334#define I2C_OAR2_OA2EN_Msk (0x1UL << I2C_OAR2_OA2EN_Pos)
9335#define I2C_OAR2_OA2EN I2C_OAR2_OA2EN_Msk
9337/******************* Bit definition for I2C_TIMINGR register *******************/
9338#define I2C_TIMINGR_SCLL_Pos (0U)
9339#define I2C_TIMINGR_SCLL_Msk (0xFFUL << I2C_TIMINGR_SCLL_Pos)
9340#define I2C_TIMINGR_SCLL I2C_TIMINGR_SCLL_Msk
9341#define I2C_TIMINGR_SCLH_Pos (8U)
9342#define I2C_TIMINGR_SCLH_Msk (0xFFUL << I2C_TIMINGR_SCLH_Pos)
9343#define I2C_TIMINGR_SCLH I2C_TIMINGR_SCLH_Msk
9344#define I2C_TIMINGR_SDADEL_Pos (16U)
9345#define I2C_TIMINGR_SDADEL_Msk (0xFUL << I2C_TIMINGR_SDADEL_Pos)
9346#define I2C_TIMINGR_SDADEL I2C_TIMINGR_SDADEL_Msk
9347#define I2C_TIMINGR_SCLDEL_Pos (20U)
9348#define I2C_TIMINGR_SCLDEL_Msk (0xFUL << I2C_TIMINGR_SCLDEL_Pos)
9349#define I2C_TIMINGR_SCLDEL I2C_TIMINGR_SCLDEL_Msk
9350#define I2C_TIMINGR_PRESC_Pos (28U)
9351#define I2C_TIMINGR_PRESC_Msk (0xFUL << I2C_TIMINGR_PRESC_Pos)
9352#define I2C_TIMINGR_PRESC I2C_TIMINGR_PRESC_Msk
9354/******************* Bit definition for I2C_TIMEOUTR register *******************/
9355#define I2C_TIMEOUTR_TIMEOUTA_Pos (0U)
9356#define I2C_TIMEOUTR_TIMEOUTA_Msk (0xFFFUL << I2C_TIMEOUTR_TIMEOUTA_Pos)
9357#define I2C_TIMEOUTR_TIMEOUTA I2C_TIMEOUTR_TIMEOUTA_Msk
9358#define I2C_TIMEOUTR_TIDLE_Pos (12U)
9359#define I2C_TIMEOUTR_TIDLE_Msk (0x1UL << I2C_TIMEOUTR_TIDLE_Pos)
9360#define I2C_TIMEOUTR_TIDLE I2C_TIMEOUTR_TIDLE_Msk
9361#define I2C_TIMEOUTR_TIMOUTEN_Pos (15U)
9362#define I2C_TIMEOUTR_TIMOUTEN_Msk (0x1UL << I2C_TIMEOUTR_TIMOUTEN_Pos)
9363#define I2C_TIMEOUTR_TIMOUTEN I2C_TIMEOUTR_TIMOUTEN_Msk
9364#define I2C_TIMEOUTR_TIMEOUTB_Pos (16U)
9365#define I2C_TIMEOUTR_TIMEOUTB_Msk (0xFFFUL << I2C_TIMEOUTR_TIMEOUTB_Pos)
9366#define I2C_TIMEOUTR_TIMEOUTB I2C_TIMEOUTR_TIMEOUTB_Msk
9367#define I2C_TIMEOUTR_TEXTEN_Pos (31U)
9368#define I2C_TIMEOUTR_TEXTEN_Msk (0x1UL << I2C_TIMEOUTR_TEXTEN_Pos)
9369#define I2C_TIMEOUTR_TEXTEN I2C_TIMEOUTR_TEXTEN_Msk
9371/****************** Bit definition for I2C_ISR register *********************/
9372#define I2C_ISR_TXE_Pos (0U)
9373#define I2C_ISR_TXE_Msk (0x1UL << I2C_ISR_TXE_Pos)
9374#define I2C_ISR_TXE I2C_ISR_TXE_Msk
9375#define I2C_ISR_TXIS_Pos (1U)
9376#define I2C_ISR_TXIS_Msk (0x1UL << I2C_ISR_TXIS_Pos)
9377#define I2C_ISR_TXIS I2C_ISR_TXIS_Msk
9378#define I2C_ISR_RXNE_Pos (2U)
9379#define I2C_ISR_RXNE_Msk (0x1UL << I2C_ISR_RXNE_Pos)
9380#define I2C_ISR_RXNE I2C_ISR_RXNE_Msk
9381#define I2C_ISR_ADDR_Pos (3U)
9382#define I2C_ISR_ADDR_Msk (0x1UL << I2C_ISR_ADDR_Pos)
9383#define I2C_ISR_ADDR I2C_ISR_ADDR_Msk
9384#define I2C_ISR_NACKF_Pos (4U)
9385#define I2C_ISR_NACKF_Msk (0x1UL << I2C_ISR_NACKF_Pos)
9386#define I2C_ISR_NACKF I2C_ISR_NACKF_Msk
9387#define I2C_ISR_STOPF_Pos (5U)
9388#define I2C_ISR_STOPF_Msk (0x1UL << I2C_ISR_STOPF_Pos)
9389#define I2C_ISR_STOPF I2C_ISR_STOPF_Msk
9390#define I2C_ISR_TC_Pos (6U)
9391#define I2C_ISR_TC_Msk (0x1UL << I2C_ISR_TC_Pos)
9392#define I2C_ISR_TC I2C_ISR_TC_Msk
9393#define I2C_ISR_TCR_Pos (7U)
9394#define I2C_ISR_TCR_Msk (0x1UL << I2C_ISR_TCR_Pos)
9395#define I2C_ISR_TCR I2C_ISR_TCR_Msk
9396#define I2C_ISR_BERR_Pos (8U)
9397#define I2C_ISR_BERR_Msk (0x1UL << I2C_ISR_BERR_Pos)
9398#define I2C_ISR_BERR I2C_ISR_BERR_Msk
9399#define I2C_ISR_ARLO_Pos (9U)
9400#define I2C_ISR_ARLO_Msk (0x1UL << I2C_ISR_ARLO_Pos)
9401#define I2C_ISR_ARLO I2C_ISR_ARLO_Msk
9402#define I2C_ISR_OVR_Pos (10U)
9403#define I2C_ISR_OVR_Msk (0x1UL << I2C_ISR_OVR_Pos)
9404#define I2C_ISR_OVR I2C_ISR_OVR_Msk
9405#define I2C_ISR_PECERR_Pos (11U)
9406#define I2C_ISR_PECERR_Msk (0x1UL << I2C_ISR_PECERR_Pos)
9407#define I2C_ISR_PECERR I2C_ISR_PECERR_Msk
9408#define I2C_ISR_TIMEOUT_Pos (12U)
9409#define I2C_ISR_TIMEOUT_Msk (0x1UL << I2C_ISR_TIMEOUT_Pos)
9410#define I2C_ISR_TIMEOUT I2C_ISR_TIMEOUT_Msk
9411#define I2C_ISR_ALERT_Pos (13U)
9412#define I2C_ISR_ALERT_Msk (0x1UL << I2C_ISR_ALERT_Pos)
9413#define I2C_ISR_ALERT I2C_ISR_ALERT_Msk
9414#define I2C_ISR_BUSY_Pos (15U)
9415#define I2C_ISR_BUSY_Msk (0x1UL << I2C_ISR_BUSY_Pos)
9416#define I2C_ISR_BUSY I2C_ISR_BUSY_Msk
9417#define I2C_ISR_DIR_Pos (16U)
9418#define I2C_ISR_DIR_Msk (0x1UL << I2C_ISR_DIR_Pos)
9419#define I2C_ISR_DIR I2C_ISR_DIR_Msk
9420#define I2C_ISR_ADDCODE_Pos (17U)
9421#define I2C_ISR_ADDCODE_Msk (0x7FUL << I2C_ISR_ADDCODE_Pos)
9422#define I2C_ISR_ADDCODE I2C_ISR_ADDCODE_Msk
9424/****************** Bit definition for I2C_ICR register *********************/
9425#define I2C_ICR_ADDRCF_Pos (3U)
9426#define I2C_ICR_ADDRCF_Msk (0x1UL << I2C_ICR_ADDRCF_Pos)
9427#define I2C_ICR_ADDRCF I2C_ICR_ADDRCF_Msk
9428#define I2C_ICR_NACKCF_Pos (4U)
9429#define I2C_ICR_NACKCF_Msk (0x1UL << I2C_ICR_NACKCF_Pos)
9430#define I2C_ICR_NACKCF I2C_ICR_NACKCF_Msk
9431#define I2C_ICR_STOPCF_Pos (5U)
9432#define I2C_ICR_STOPCF_Msk (0x1UL << I2C_ICR_STOPCF_Pos)
9433#define I2C_ICR_STOPCF I2C_ICR_STOPCF_Msk
9434#define I2C_ICR_BERRCF_Pos (8U)
9435#define I2C_ICR_BERRCF_Msk (0x1UL << I2C_ICR_BERRCF_Pos)
9436#define I2C_ICR_BERRCF I2C_ICR_BERRCF_Msk
9437#define I2C_ICR_ARLOCF_Pos (9U)
9438#define I2C_ICR_ARLOCF_Msk (0x1UL << I2C_ICR_ARLOCF_Pos)
9439#define I2C_ICR_ARLOCF I2C_ICR_ARLOCF_Msk
9440#define I2C_ICR_OVRCF_Pos (10U)
9441#define I2C_ICR_OVRCF_Msk (0x1UL << I2C_ICR_OVRCF_Pos)
9442#define I2C_ICR_OVRCF I2C_ICR_OVRCF_Msk
9443#define I2C_ICR_PECCF_Pos (11U)
9444#define I2C_ICR_PECCF_Msk (0x1UL << I2C_ICR_PECCF_Pos)
9445#define I2C_ICR_PECCF I2C_ICR_PECCF_Msk
9446#define I2C_ICR_TIMOUTCF_Pos (12U)
9447#define I2C_ICR_TIMOUTCF_Msk (0x1UL << I2C_ICR_TIMOUTCF_Pos)
9448#define I2C_ICR_TIMOUTCF I2C_ICR_TIMOUTCF_Msk
9449#define I2C_ICR_ALERTCF_Pos (13U)
9450#define I2C_ICR_ALERTCF_Msk (0x1UL << I2C_ICR_ALERTCF_Pos)
9451#define I2C_ICR_ALERTCF I2C_ICR_ALERTCF_Msk
9453/****************** Bit definition for I2C_PECR register *********************/
9454#define I2C_PECR_PEC_Pos (0U)
9455#define I2C_PECR_PEC_Msk (0xFFUL << I2C_PECR_PEC_Pos)
9456#define I2C_PECR_PEC I2C_PECR_PEC_Msk
9458/****************** Bit definition for I2C_RXDR register *********************/
9459#define I2C_RXDR_RXDATA_Pos (0U)
9460#define I2C_RXDR_RXDATA_Msk (0xFFUL << I2C_RXDR_RXDATA_Pos)
9461#define I2C_RXDR_RXDATA I2C_RXDR_RXDATA_Msk
9463/****************** Bit definition for I2C_TXDR register *********************/
9464#define I2C_TXDR_TXDATA_Pos (0U)
9465#define I2C_TXDR_TXDATA_Msk (0xFFUL << I2C_TXDR_TXDATA_Pos)
9466#define I2C_TXDR_TXDATA I2C_TXDR_TXDATA_Msk
9469/******************************************************************************/
9470/* */
9471/* Independent WATCHDOG */
9472/* */
9473/******************************************************************************/
9474/******************* Bit definition for IWDG_KR register ********************/
9475#define IWDG_KR_KEY_Pos (0U)
9476#define IWDG_KR_KEY_Msk (0xFFFFUL << IWDG_KR_KEY_Pos)
9477#define IWDG_KR_KEY IWDG_KR_KEY_Msk
9479/******************* Bit definition for IWDG_PR register ********************/
9480#define IWDG_PR_PR_Pos (0U)
9481#define IWDG_PR_PR_Msk (0x7UL << IWDG_PR_PR_Pos)
9482#define IWDG_PR_PR IWDG_PR_PR_Msk
9483#define IWDG_PR_PR_0 (0x1UL << IWDG_PR_PR_Pos)
9484#define IWDG_PR_PR_1 (0x2UL << IWDG_PR_PR_Pos)
9485#define IWDG_PR_PR_2 (0x4UL << IWDG_PR_PR_Pos)
9487/******************* Bit definition for IWDG_RLR register *******************/
9488#define IWDG_RLR_RL_Pos (0U)
9489#define IWDG_RLR_RL_Msk (0xFFFUL << IWDG_RLR_RL_Pos)
9490#define IWDG_RLR_RL IWDG_RLR_RL_Msk
9492/******************* Bit definition for IWDG_SR register ********************/
9493#define IWDG_SR_PVU_Pos (0U)
9494#define IWDG_SR_PVU_Msk (0x1UL << IWDG_SR_PVU_Pos)
9495#define IWDG_SR_PVU IWDG_SR_PVU_Msk
9496#define IWDG_SR_RVU_Pos (1U)
9497#define IWDG_SR_RVU_Msk (0x1UL << IWDG_SR_RVU_Pos)
9498#define IWDG_SR_RVU IWDG_SR_RVU_Msk
9499#define IWDG_SR_WVU_Pos (2U)
9500#define IWDG_SR_WVU_Msk (0x1UL << IWDG_SR_WVU_Pos)
9501#define IWDG_SR_WVU IWDG_SR_WVU_Msk
9503/******************* Bit definition for IWDG_KR register ********************/
9504#define IWDG_WINR_WIN_Pos (0U)
9505#define IWDG_WINR_WIN_Msk (0xFFFUL << IWDG_WINR_WIN_Pos)
9506#define IWDG_WINR_WIN IWDG_WINR_WIN_Msk
9508/******************************************************************************/
9509/* */
9510/* LCD-TFT Display Controller (LTDC) */
9511/* */
9512/******************************************************************************/
9513
9514/******************** Bit definition for LTDC_SSCR register *****************/
9515
9516#define LTDC_SSCR_VSH_Pos (0U)
9517#define LTDC_SSCR_VSH_Msk (0x7FFUL << LTDC_SSCR_VSH_Pos)
9518#define LTDC_SSCR_VSH LTDC_SSCR_VSH_Msk
9519#define LTDC_SSCR_HSW_Pos (16U)
9520#define LTDC_SSCR_HSW_Msk (0xFFFUL << LTDC_SSCR_HSW_Pos)
9521#define LTDC_SSCR_HSW LTDC_SSCR_HSW_Msk
9523/******************** Bit definition for LTDC_BPCR register *****************/
9524
9525#define LTDC_BPCR_AVBP_Pos (0U)
9526#define LTDC_BPCR_AVBP_Msk (0x7FFUL << LTDC_BPCR_AVBP_Pos)
9527#define LTDC_BPCR_AVBP LTDC_BPCR_AVBP_Msk
9528#define LTDC_BPCR_AHBP_Pos (16U)
9529#define LTDC_BPCR_AHBP_Msk (0xFFFUL << LTDC_BPCR_AHBP_Pos)
9530#define LTDC_BPCR_AHBP LTDC_BPCR_AHBP_Msk
9532/******************** Bit definition for LTDC_AWCR register *****************/
9533
9534#define LTDC_AWCR_AAH_Pos (0U)
9535#define LTDC_AWCR_AAH_Msk (0x7FFUL << LTDC_AWCR_AAH_Pos)
9536#define LTDC_AWCR_AAH LTDC_AWCR_AAH_Msk
9537#define LTDC_AWCR_AAW_Pos (16U)
9538#define LTDC_AWCR_AAW_Msk (0xFFFUL << LTDC_AWCR_AAW_Pos)
9539#define LTDC_AWCR_AAW LTDC_AWCR_AAW_Msk
9541/******************** Bit definition for LTDC_TWCR register *****************/
9542
9543#define LTDC_TWCR_TOTALH_Pos (0U)
9544#define LTDC_TWCR_TOTALH_Msk (0x7FFUL << LTDC_TWCR_TOTALH_Pos)
9545#define LTDC_TWCR_TOTALH LTDC_TWCR_TOTALH_Msk
9546#define LTDC_TWCR_TOTALW_Pos (16U)
9547#define LTDC_TWCR_TOTALW_Msk (0xFFFUL << LTDC_TWCR_TOTALW_Pos)
9548#define LTDC_TWCR_TOTALW LTDC_TWCR_TOTALW_Msk
9550/******************** Bit definition for LTDC_GCR register ******************/
9551
9552#define LTDC_GCR_LTDCEN_Pos (0U)
9553#define LTDC_GCR_LTDCEN_Msk (0x1UL << LTDC_GCR_LTDCEN_Pos)
9554#define LTDC_GCR_LTDCEN LTDC_GCR_LTDCEN_Msk
9555#define LTDC_GCR_DBW_Pos (4U)
9556#define LTDC_GCR_DBW_Msk (0x7UL << LTDC_GCR_DBW_Pos)
9557#define LTDC_GCR_DBW LTDC_GCR_DBW_Msk
9558#define LTDC_GCR_DGW_Pos (8U)
9559#define LTDC_GCR_DGW_Msk (0x7UL << LTDC_GCR_DGW_Pos)
9560#define LTDC_GCR_DGW LTDC_GCR_DGW_Msk
9561#define LTDC_GCR_DRW_Pos (12U)
9562#define LTDC_GCR_DRW_Msk (0x7UL << LTDC_GCR_DRW_Pos)
9563#define LTDC_GCR_DRW LTDC_GCR_DRW_Msk
9564#define LTDC_GCR_DEN_Pos (16U)
9565#define LTDC_GCR_DEN_Msk (0x1UL << LTDC_GCR_DEN_Pos)
9566#define LTDC_GCR_DEN LTDC_GCR_DEN_Msk
9567#define LTDC_GCR_PCPOL_Pos (28U)
9568#define LTDC_GCR_PCPOL_Msk (0x1UL << LTDC_GCR_PCPOL_Pos)
9569#define LTDC_GCR_PCPOL LTDC_GCR_PCPOL_Msk
9570#define LTDC_GCR_DEPOL_Pos (29U)
9571#define LTDC_GCR_DEPOL_Msk (0x1UL << LTDC_GCR_DEPOL_Pos)
9572#define LTDC_GCR_DEPOL LTDC_GCR_DEPOL_Msk
9573#define LTDC_GCR_VSPOL_Pos (30U)
9574#define LTDC_GCR_VSPOL_Msk (0x1UL << LTDC_GCR_VSPOL_Pos)
9575#define LTDC_GCR_VSPOL LTDC_GCR_VSPOL_Msk
9576#define LTDC_GCR_HSPOL_Pos (31U)
9577#define LTDC_GCR_HSPOL_Msk (0x1UL << LTDC_GCR_HSPOL_Pos)
9578#define LTDC_GCR_HSPOL LTDC_GCR_HSPOL_Msk
9580/* Legacy define */
9581#define LTDC_GCR_DTEN LTDC_GCR_DEN
9582
9583/******************** Bit definition for LTDC_SRCR register *****************/
9584
9585#define LTDC_SRCR_IMR_Pos (0U)
9586#define LTDC_SRCR_IMR_Msk (0x1UL << LTDC_SRCR_IMR_Pos)
9587#define LTDC_SRCR_IMR LTDC_SRCR_IMR_Msk
9588#define LTDC_SRCR_VBR_Pos (1U)
9589#define LTDC_SRCR_VBR_Msk (0x1UL << LTDC_SRCR_VBR_Pos)
9590#define LTDC_SRCR_VBR LTDC_SRCR_VBR_Msk
9592/******************** Bit definition for LTDC_BCCR register *****************/
9593
9594#define LTDC_BCCR_BCBLUE_Pos (0U)
9595#define LTDC_BCCR_BCBLUE_Msk (0xFFUL << LTDC_BCCR_BCBLUE_Pos)
9596#define LTDC_BCCR_BCBLUE LTDC_BCCR_BCBLUE_Msk
9597#define LTDC_BCCR_BCGREEN_Pos (8U)
9598#define LTDC_BCCR_BCGREEN_Msk (0xFFUL << LTDC_BCCR_BCGREEN_Pos)
9599#define LTDC_BCCR_BCGREEN LTDC_BCCR_BCGREEN_Msk
9600#define LTDC_BCCR_BCRED_Pos (16U)
9601#define LTDC_BCCR_BCRED_Msk (0xFFUL << LTDC_BCCR_BCRED_Pos)
9602#define LTDC_BCCR_BCRED LTDC_BCCR_BCRED_Msk
9604/******************** Bit definition for LTDC_IER register ******************/
9605
9606#define LTDC_IER_LIE_Pos (0U)
9607#define LTDC_IER_LIE_Msk (0x1UL << LTDC_IER_LIE_Pos)
9608#define LTDC_IER_LIE LTDC_IER_LIE_Msk
9609#define LTDC_IER_FUIE_Pos (1U)
9610#define LTDC_IER_FUIE_Msk (0x1UL << LTDC_IER_FUIE_Pos)
9611#define LTDC_IER_FUIE LTDC_IER_FUIE_Msk
9612#define LTDC_IER_TERRIE_Pos (2U)
9613#define LTDC_IER_TERRIE_Msk (0x1UL << LTDC_IER_TERRIE_Pos)
9614#define LTDC_IER_TERRIE LTDC_IER_TERRIE_Msk
9615#define LTDC_IER_RRIE_Pos (3U)
9616#define LTDC_IER_RRIE_Msk (0x1UL << LTDC_IER_RRIE_Pos)
9617#define LTDC_IER_RRIE LTDC_IER_RRIE_Msk
9619/******************** Bit definition for LTDC_ISR register ******************/
9620
9621#define LTDC_ISR_LIF_Pos (0U)
9622#define LTDC_ISR_LIF_Msk (0x1UL << LTDC_ISR_LIF_Pos)
9623#define LTDC_ISR_LIF LTDC_ISR_LIF_Msk
9624#define LTDC_ISR_FUIF_Pos (1U)
9625#define LTDC_ISR_FUIF_Msk (0x1UL << LTDC_ISR_FUIF_Pos)
9626#define LTDC_ISR_FUIF LTDC_ISR_FUIF_Msk
9627#define LTDC_ISR_TERRIF_Pos (2U)
9628#define LTDC_ISR_TERRIF_Msk (0x1UL << LTDC_ISR_TERRIF_Pos)
9629#define LTDC_ISR_TERRIF LTDC_ISR_TERRIF_Msk
9630#define LTDC_ISR_RRIF_Pos (3U)
9631#define LTDC_ISR_RRIF_Msk (0x1UL << LTDC_ISR_RRIF_Pos)
9632#define LTDC_ISR_RRIF LTDC_ISR_RRIF_Msk
9634/******************** Bit definition for LTDC_ICR register ******************/
9635
9636#define LTDC_ICR_CLIF_Pos (0U)
9637#define LTDC_ICR_CLIF_Msk (0x1UL << LTDC_ICR_CLIF_Pos)
9638#define LTDC_ICR_CLIF LTDC_ICR_CLIF_Msk
9639#define LTDC_ICR_CFUIF_Pos (1U)
9640#define LTDC_ICR_CFUIF_Msk (0x1UL << LTDC_ICR_CFUIF_Pos)
9641#define LTDC_ICR_CFUIF LTDC_ICR_CFUIF_Msk
9642#define LTDC_ICR_CTERRIF_Pos (2U)
9643#define LTDC_ICR_CTERRIF_Msk (0x1UL << LTDC_ICR_CTERRIF_Pos)
9644#define LTDC_ICR_CTERRIF LTDC_ICR_CTERRIF_Msk
9645#define LTDC_ICR_CRRIF_Pos (3U)
9646#define LTDC_ICR_CRRIF_Msk (0x1UL << LTDC_ICR_CRRIF_Pos)
9647#define LTDC_ICR_CRRIF LTDC_ICR_CRRIF_Msk
9649/******************** Bit definition for LTDC_LIPCR register ****************/
9650
9651#define LTDC_LIPCR_LIPOS_Pos (0U)
9652#define LTDC_LIPCR_LIPOS_Msk (0x7FFUL << LTDC_LIPCR_LIPOS_Pos)
9653#define LTDC_LIPCR_LIPOS LTDC_LIPCR_LIPOS_Msk
9655/******************** Bit definition for LTDC_CPSR register *****************/
9656
9657#define LTDC_CPSR_CYPOS_Pos (0U)
9658#define LTDC_CPSR_CYPOS_Msk (0xFFFFUL << LTDC_CPSR_CYPOS_Pos)
9659#define LTDC_CPSR_CYPOS LTDC_CPSR_CYPOS_Msk
9660#define LTDC_CPSR_CXPOS_Pos (16U)
9661#define LTDC_CPSR_CXPOS_Msk (0xFFFFUL << LTDC_CPSR_CXPOS_Pos)
9662#define LTDC_CPSR_CXPOS LTDC_CPSR_CXPOS_Msk
9664/******************** Bit definition for LTDC_CDSR register *****************/
9665
9666#define LTDC_CDSR_VDES_Pos (0U)
9667#define LTDC_CDSR_VDES_Msk (0x1UL << LTDC_CDSR_VDES_Pos)
9668#define LTDC_CDSR_VDES LTDC_CDSR_VDES_Msk
9669#define LTDC_CDSR_HDES_Pos (1U)
9670#define LTDC_CDSR_HDES_Msk (0x1UL << LTDC_CDSR_HDES_Pos)
9671#define LTDC_CDSR_HDES LTDC_CDSR_HDES_Msk
9672#define LTDC_CDSR_VSYNCS_Pos (2U)
9673#define LTDC_CDSR_VSYNCS_Msk (0x1UL << LTDC_CDSR_VSYNCS_Pos)
9674#define LTDC_CDSR_VSYNCS LTDC_CDSR_VSYNCS_Msk
9675#define LTDC_CDSR_HSYNCS_Pos (3U)
9676#define LTDC_CDSR_HSYNCS_Msk (0x1UL << LTDC_CDSR_HSYNCS_Pos)
9677#define LTDC_CDSR_HSYNCS LTDC_CDSR_HSYNCS_Msk
9679/******************** Bit definition for LTDC_LxCR register *****************/
9680
9681#define LTDC_LxCR_LEN_Pos (0U)
9682#define LTDC_LxCR_LEN_Msk (0x1UL << LTDC_LxCR_LEN_Pos)
9683#define LTDC_LxCR_LEN LTDC_LxCR_LEN_Msk
9684#define LTDC_LxCR_COLKEN_Pos (1U)
9685#define LTDC_LxCR_COLKEN_Msk (0x1UL << LTDC_LxCR_COLKEN_Pos)
9686#define LTDC_LxCR_COLKEN LTDC_LxCR_COLKEN_Msk
9687#define LTDC_LxCR_CLUTEN_Pos (4U)
9688#define LTDC_LxCR_CLUTEN_Msk (0x1UL << LTDC_LxCR_CLUTEN_Pos)
9689#define LTDC_LxCR_CLUTEN LTDC_LxCR_CLUTEN_Msk
9691/******************** Bit definition for LTDC_LxWHPCR register **************/
9692
9693#define LTDC_LxWHPCR_WHSTPOS_Pos (0U)
9694#define LTDC_LxWHPCR_WHSTPOS_Msk (0xFFFUL << LTDC_LxWHPCR_WHSTPOS_Pos)
9695#define LTDC_LxWHPCR_WHSTPOS LTDC_LxWHPCR_WHSTPOS_Msk
9696#define LTDC_LxWHPCR_WHSPPOS_Pos (16U)
9697#define LTDC_LxWHPCR_WHSPPOS_Msk (0xFFFFUL << LTDC_LxWHPCR_WHSPPOS_Pos)
9698#define LTDC_LxWHPCR_WHSPPOS LTDC_LxWHPCR_WHSPPOS_Msk
9700/******************** Bit definition for LTDC_LxWVPCR register **************/
9701
9702#define LTDC_LxWVPCR_WVSTPOS_Pos (0U)
9703#define LTDC_LxWVPCR_WVSTPOS_Msk (0xFFFUL << LTDC_LxWVPCR_WVSTPOS_Pos)
9704#define LTDC_LxWVPCR_WVSTPOS LTDC_LxWVPCR_WVSTPOS_Msk
9705#define LTDC_LxWVPCR_WVSPPOS_Pos (16U)
9706#define LTDC_LxWVPCR_WVSPPOS_Msk (0xFFFFUL << LTDC_LxWVPCR_WVSPPOS_Pos)
9707#define LTDC_LxWVPCR_WVSPPOS LTDC_LxWVPCR_WVSPPOS_Msk
9709/******************** Bit definition for LTDC_LxCKCR register ***************/
9710
9711#define LTDC_LxCKCR_CKBLUE_Pos (0U)
9712#define LTDC_LxCKCR_CKBLUE_Msk (0xFFUL << LTDC_LxCKCR_CKBLUE_Pos)
9713#define LTDC_LxCKCR_CKBLUE LTDC_LxCKCR_CKBLUE_Msk
9714#define LTDC_LxCKCR_CKGREEN_Pos (8U)
9715#define LTDC_LxCKCR_CKGREEN_Msk (0xFFUL << LTDC_LxCKCR_CKGREEN_Pos)
9716#define LTDC_LxCKCR_CKGREEN LTDC_LxCKCR_CKGREEN_Msk
9717#define LTDC_LxCKCR_CKRED_Pos (16U)
9718#define LTDC_LxCKCR_CKRED_Msk (0xFFUL << LTDC_LxCKCR_CKRED_Pos)
9719#define LTDC_LxCKCR_CKRED LTDC_LxCKCR_CKRED_Msk
9721/******************** Bit definition for LTDC_LxPFCR register ***************/
9722
9723#define LTDC_LxPFCR_PF_Pos (0U)
9724#define LTDC_LxPFCR_PF_Msk (0x7UL << LTDC_LxPFCR_PF_Pos)
9725#define LTDC_LxPFCR_PF LTDC_LxPFCR_PF_Msk
9727/******************** Bit definition for LTDC_LxCACR register ***************/
9728
9729#define LTDC_LxCACR_CONSTA_Pos (0U)
9730#define LTDC_LxCACR_CONSTA_Msk (0xFFUL << LTDC_LxCACR_CONSTA_Pos)
9731#define LTDC_LxCACR_CONSTA LTDC_LxCACR_CONSTA_Msk
9733/******************** Bit definition for LTDC_LxDCCR register ***************/
9734
9735#define LTDC_LxDCCR_DCBLUE_Pos (0U)
9736#define LTDC_LxDCCR_DCBLUE_Msk (0xFFUL << LTDC_LxDCCR_DCBLUE_Pos)
9737#define LTDC_LxDCCR_DCBLUE LTDC_LxDCCR_DCBLUE_Msk
9738#define LTDC_LxDCCR_DCGREEN_Pos (8U)
9739#define LTDC_LxDCCR_DCGREEN_Msk (0xFFUL << LTDC_LxDCCR_DCGREEN_Pos)
9740#define LTDC_LxDCCR_DCGREEN LTDC_LxDCCR_DCGREEN_Msk
9741#define LTDC_LxDCCR_DCRED_Pos (16U)
9742#define LTDC_LxDCCR_DCRED_Msk (0xFFUL << LTDC_LxDCCR_DCRED_Pos)
9743#define LTDC_LxDCCR_DCRED LTDC_LxDCCR_DCRED_Msk
9744#define LTDC_LxDCCR_DCALPHA_Pos (24U)
9745#define LTDC_LxDCCR_DCALPHA_Msk (0xFFUL << LTDC_LxDCCR_DCALPHA_Pos)
9746#define LTDC_LxDCCR_DCALPHA LTDC_LxDCCR_DCALPHA_Msk
9748/******************** Bit definition for LTDC_LxBFCR register ***************/
9749
9750#define LTDC_LxBFCR_BF2_Pos (0U)
9751#define LTDC_LxBFCR_BF2_Msk (0x7UL << LTDC_LxBFCR_BF2_Pos)
9752#define LTDC_LxBFCR_BF2 LTDC_LxBFCR_BF2_Msk
9753#define LTDC_LxBFCR_BF1_Pos (8U)
9754#define LTDC_LxBFCR_BF1_Msk (0x7UL << LTDC_LxBFCR_BF1_Pos)
9755#define LTDC_LxBFCR_BF1 LTDC_LxBFCR_BF1_Msk
9757/******************** Bit definition for LTDC_LxCFBAR register **************/
9758
9759#define LTDC_LxCFBAR_CFBADD_Pos (0U)
9760#define LTDC_LxCFBAR_CFBADD_Msk (0xFFFFFFFFUL << LTDC_LxCFBAR_CFBADD_Pos)
9761#define LTDC_LxCFBAR_CFBADD LTDC_LxCFBAR_CFBADD_Msk
9763/******************** Bit definition for LTDC_LxCFBLR register **************/
9764
9765#define LTDC_LxCFBLR_CFBLL_Pos (0U)
9766#define LTDC_LxCFBLR_CFBLL_Msk (0x1FFFUL << LTDC_LxCFBLR_CFBLL_Pos)
9767#define LTDC_LxCFBLR_CFBLL LTDC_LxCFBLR_CFBLL_Msk
9768#define LTDC_LxCFBLR_CFBP_Pos (16U)
9769#define LTDC_LxCFBLR_CFBP_Msk (0x1FFFUL << LTDC_LxCFBLR_CFBP_Pos)
9770#define LTDC_LxCFBLR_CFBP LTDC_LxCFBLR_CFBP_Msk
9772/******************** Bit definition for LTDC_LxCFBLNR register *************/
9773
9774#define LTDC_LxCFBLNR_CFBLNBR_Pos (0U)
9775#define LTDC_LxCFBLNR_CFBLNBR_Msk (0x7FFUL << LTDC_LxCFBLNR_CFBLNBR_Pos)
9776#define LTDC_LxCFBLNR_CFBLNBR LTDC_LxCFBLNR_CFBLNBR_Msk
9778/******************** Bit definition for LTDC_LxCLUTWR register *************/
9779
9780#define LTDC_LxCLUTWR_BLUE_Pos (0U)
9781#define LTDC_LxCLUTWR_BLUE_Msk (0xFFUL << LTDC_LxCLUTWR_BLUE_Pos)
9782#define LTDC_LxCLUTWR_BLUE LTDC_LxCLUTWR_BLUE_Msk
9783#define LTDC_LxCLUTWR_GREEN_Pos (8U)
9784#define LTDC_LxCLUTWR_GREEN_Msk (0xFFUL << LTDC_LxCLUTWR_GREEN_Pos)
9785#define LTDC_LxCLUTWR_GREEN LTDC_LxCLUTWR_GREEN_Msk
9786#define LTDC_LxCLUTWR_RED_Pos (16U)
9787#define LTDC_LxCLUTWR_RED_Msk (0xFFUL << LTDC_LxCLUTWR_RED_Pos)
9788#define LTDC_LxCLUTWR_RED LTDC_LxCLUTWR_RED_Msk
9789#define LTDC_LxCLUTWR_CLUTADD_Pos (24U)
9790#define LTDC_LxCLUTWR_CLUTADD_Msk (0xFFUL << LTDC_LxCLUTWR_CLUTADD_Pos)
9791#define LTDC_LxCLUTWR_CLUTADD LTDC_LxCLUTWR_CLUTADD_Msk
9793/******************************************************************************/
9794/* */
9795/* Power Control */
9796/* */
9797/******************************************************************************/
9798/******************** Bit definition for PWR_CR1 register ********************/
9799#define PWR_CR1_LPDS_Pos (0U)
9800#define PWR_CR1_LPDS_Msk (0x1UL << PWR_CR1_LPDS_Pos)
9801#define PWR_CR1_LPDS PWR_CR1_LPDS_Msk
9802#define PWR_CR1_PDDS_Pos (1U)
9803#define PWR_CR1_PDDS_Msk (0x1UL << PWR_CR1_PDDS_Pos)
9804#define PWR_CR1_PDDS PWR_CR1_PDDS_Msk
9805#define PWR_CR1_CSBF_Pos (3U)
9806#define PWR_CR1_CSBF_Msk (0x1UL << PWR_CR1_CSBF_Pos)
9807#define PWR_CR1_CSBF PWR_CR1_CSBF_Msk
9808#define PWR_CR1_PVDE_Pos (4U)
9809#define PWR_CR1_PVDE_Msk (0x1UL << PWR_CR1_PVDE_Pos)
9810#define PWR_CR1_PVDE PWR_CR1_PVDE_Msk
9811#define PWR_CR1_PLS_Pos (5U)
9812#define PWR_CR1_PLS_Msk (0x7UL << PWR_CR1_PLS_Pos)
9813#define PWR_CR1_PLS PWR_CR1_PLS_Msk
9814#define PWR_CR1_PLS_0 (0x1UL << PWR_CR1_PLS_Pos)
9815#define PWR_CR1_PLS_1 (0x2UL << PWR_CR1_PLS_Pos)
9816#define PWR_CR1_PLS_2 (0x4UL << PWR_CR1_PLS_Pos)
9819#define PWR_CR1_PLS_LEV0 0x00000000U
9820#define PWR_CR1_PLS_LEV1_Pos (5U)
9821#define PWR_CR1_PLS_LEV1_Msk (0x1UL << PWR_CR1_PLS_LEV1_Pos)
9822#define PWR_CR1_PLS_LEV1 PWR_CR1_PLS_LEV1_Msk
9823#define PWR_CR1_PLS_LEV2_Pos (6U)
9824#define PWR_CR1_PLS_LEV2_Msk (0x1UL << PWR_CR1_PLS_LEV2_Pos)
9825#define PWR_CR1_PLS_LEV2 PWR_CR1_PLS_LEV2_Msk
9826#define PWR_CR1_PLS_LEV3_Pos (5U)
9827#define PWR_CR1_PLS_LEV3_Msk (0x3UL << PWR_CR1_PLS_LEV3_Pos)
9828#define PWR_CR1_PLS_LEV3 PWR_CR1_PLS_LEV3_Msk
9829#define PWR_CR1_PLS_LEV4_Pos (7U)
9830#define PWR_CR1_PLS_LEV4_Msk (0x1UL << PWR_CR1_PLS_LEV4_Pos)
9831#define PWR_CR1_PLS_LEV4 PWR_CR1_PLS_LEV4_Msk
9832#define PWR_CR1_PLS_LEV5_Pos (5U)
9833#define PWR_CR1_PLS_LEV5_Msk (0x5UL << PWR_CR1_PLS_LEV5_Pos)
9834#define PWR_CR1_PLS_LEV5 PWR_CR1_PLS_LEV5_Msk
9835#define PWR_CR1_PLS_LEV6_Pos (6U)
9836#define PWR_CR1_PLS_LEV6_Msk (0x3UL << PWR_CR1_PLS_LEV6_Pos)
9837#define PWR_CR1_PLS_LEV6 PWR_CR1_PLS_LEV6_Msk
9838#define PWR_CR1_PLS_LEV7_Pos (5U)
9839#define PWR_CR1_PLS_LEV7_Msk (0x7UL << PWR_CR1_PLS_LEV7_Pos)
9840#define PWR_CR1_PLS_LEV7 PWR_CR1_PLS_LEV7_Msk
9841#define PWR_CR1_DBP_Pos (8U)
9842#define PWR_CR1_DBP_Msk (0x1UL << PWR_CR1_DBP_Pos)
9843#define PWR_CR1_DBP PWR_CR1_DBP_Msk
9844#define PWR_CR1_FPDS_Pos (9U)
9845#define PWR_CR1_FPDS_Msk (0x1UL << PWR_CR1_FPDS_Pos)
9846#define PWR_CR1_FPDS PWR_CR1_FPDS_Msk
9847#define PWR_CR1_LPUDS_Pos (10U)
9848#define PWR_CR1_LPUDS_Msk (0x1UL << PWR_CR1_LPUDS_Pos)
9849#define PWR_CR1_LPUDS PWR_CR1_LPUDS_Msk
9850#define PWR_CR1_MRUDS_Pos (11U)
9851#define PWR_CR1_MRUDS_Msk (0x1UL << PWR_CR1_MRUDS_Pos)
9852#define PWR_CR1_MRUDS PWR_CR1_MRUDS_Msk
9853#define PWR_CR1_ADCDC1_Pos (13U)
9854#define PWR_CR1_ADCDC1_Msk (0x1UL << PWR_CR1_ADCDC1_Pos)
9855#define PWR_CR1_ADCDC1 PWR_CR1_ADCDC1_Msk
9856#define PWR_CR1_VOS_Pos (14U)
9857#define PWR_CR1_VOS_Msk (0x3UL << PWR_CR1_VOS_Pos)
9858#define PWR_CR1_VOS PWR_CR1_VOS_Msk
9859#define PWR_CR1_VOS_0 (0x1UL << PWR_CR1_VOS_Pos)
9860#define PWR_CR1_VOS_1 (0x2UL << PWR_CR1_VOS_Pos)
9861#define PWR_CR1_ODEN_Pos (16U)
9862#define PWR_CR1_ODEN_Msk (0x1UL << PWR_CR1_ODEN_Pos)
9863#define PWR_CR1_ODEN PWR_CR1_ODEN_Msk
9864#define PWR_CR1_ODSWEN_Pos (17U)
9865#define PWR_CR1_ODSWEN_Msk (0x1UL << PWR_CR1_ODSWEN_Pos)
9866#define PWR_CR1_ODSWEN PWR_CR1_ODSWEN_Msk
9867#define PWR_CR1_UDEN_Pos (18U)
9868#define PWR_CR1_UDEN_Msk (0x3UL << PWR_CR1_UDEN_Pos)
9869#define PWR_CR1_UDEN PWR_CR1_UDEN_Msk
9870#define PWR_CR1_UDEN_0 (0x1UL << PWR_CR1_UDEN_Pos)
9871#define PWR_CR1_UDEN_1 (0x2UL << PWR_CR1_UDEN_Pos)
9873/******************* Bit definition for PWR_CSR1 register ********************/
9874#define PWR_CSR1_WUIF_Pos (0U)
9875#define PWR_CSR1_WUIF_Msk (0x1UL << PWR_CSR1_WUIF_Pos)
9876#define PWR_CSR1_WUIF PWR_CSR1_WUIF_Msk
9877#define PWR_CSR1_SBF_Pos (1U)
9878#define PWR_CSR1_SBF_Msk (0x1UL << PWR_CSR1_SBF_Pos)
9879#define PWR_CSR1_SBF PWR_CSR1_SBF_Msk
9880#define PWR_CSR1_PVDO_Pos (2U)
9881#define PWR_CSR1_PVDO_Msk (0x1UL << PWR_CSR1_PVDO_Pos)
9882#define PWR_CSR1_PVDO PWR_CSR1_PVDO_Msk
9883#define PWR_CSR1_BRR_Pos (3U)
9884#define PWR_CSR1_BRR_Msk (0x1UL << PWR_CSR1_BRR_Pos)
9885#define PWR_CSR1_BRR PWR_CSR1_BRR_Msk
9886#define PWR_CSR1_EIWUP_Pos (8U)
9887#define PWR_CSR1_EIWUP_Msk (0x1UL << PWR_CSR1_EIWUP_Pos)
9888#define PWR_CSR1_EIWUP PWR_CSR1_EIWUP_Msk
9889#define PWR_CSR1_BRE_Pos (9U)
9890#define PWR_CSR1_BRE_Msk (0x1UL << PWR_CSR1_BRE_Pos)
9891#define PWR_CSR1_BRE PWR_CSR1_BRE_Msk
9892#define PWR_CSR1_VOSRDY_Pos (14U)
9893#define PWR_CSR1_VOSRDY_Msk (0x1UL << PWR_CSR1_VOSRDY_Pos)
9894#define PWR_CSR1_VOSRDY PWR_CSR1_VOSRDY_Msk
9895#define PWR_CSR1_ODRDY_Pos (16U)
9896#define PWR_CSR1_ODRDY_Msk (0x1UL << PWR_CSR1_ODRDY_Pos)
9897#define PWR_CSR1_ODRDY PWR_CSR1_ODRDY_Msk
9898#define PWR_CSR1_ODSWRDY_Pos (17U)
9899#define PWR_CSR1_ODSWRDY_Msk (0x1UL << PWR_CSR1_ODSWRDY_Pos)
9900#define PWR_CSR1_ODSWRDY PWR_CSR1_ODSWRDY_Msk
9901#define PWR_CSR1_UDRDY_Pos (18U)
9902#define PWR_CSR1_UDRDY_Msk (0x3UL << PWR_CSR1_UDRDY_Pos)
9903#define PWR_CSR1_UDRDY PWR_CSR1_UDRDY_Msk
9905/* Legacy define */
9906#define PWR_CSR1_UDSWRDY PWR_CSR1_UDRDY
9907
9908/******************** Bit definition for PWR_CR2 register ********************/
9909#define PWR_CR2_CWUPF1_Pos (0U)
9910#define PWR_CR2_CWUPF1_Msk (0x1UL << PWR_CR2_CWUPF1_Pos)
9911#define PWR_CR2_CWUPF1 PWR_CR2_CWUPF1_Msk
9912#define PWR_CR2_CWUPF2_Pos (1U)
9913#define PWR_CR2_CWUPF2_Msk (0x1UL << PWR_CR2_CWUPF2_Pos)
9914#define PWR_CR2_CWUPF2 PWR_CR2_CWUPF2_Msk
9915#define PWR_CR2_CWUPF3_Pos (2U)
9916#define PWR_CR2_CWUPF3_Msk (0x1UL << PWR_CR2_CWUPF3_Pos)
9917#define PWR_CR2_CWUPF3 PWR_CR2_CWUPF3_Msk
9918#define PWR_CR2_CWUPF4_Pos (3U)
9919#define PWR_CR2_CWUPF4_Msk (0x1UL << PWR_CR2_CWUPF4_Pos)
9920#define PWR_CR2_CWUPF4 PWR_CR2_CWUPF4_Msk
9921#define PWR_CR2_CWUPF5_Pos (4U)
9922#define PWR_CR2_CWUPF5_Msk (0x1UL << PWR_CR2_CWUPF5_Pos)
9923#define PWR_CR2_CWUPF5 PWR_CR2_CWUPF5_Msk
9924#define PWR_CR2_CWUPF6_Pos (5U)
9925#define PWR_CR2_CWUPF6_Msk (0x1UL << PWR_CR2_CWUPF6_Pos)
9926#define PWR_CR2_CWUPF6 PWR_CR2_CWUPF6_Msk
9927#define PWR_CR2_WUPP1_Pos (8U)
9928#define PWR_CR2_WUPP1_Msk (0x1UL << PWR_CR2_WUPP1_Pos)
9929#define PWR_CR2_WUPP1 PWR_CR2_WUPP1_Msk
9930#define PWR_CR2_WUPP2_Pos (9U)
9931#define PWR_CR2_WUPP2_Msk (0x1UL << PWR_CR2_WUPP2_Pos)
9932#define PWR_CR2_WUPP2 PWR_CR2_WUPP2_Msk
9933#define PWR_CR2_WUPP3_Pos (10U)
9934#define PWR_CR2_WUPP3_Msk (0x1UL << PWR_CR2_WUPP3_Pos)
9935#define PWR_CR2_WUPP3 PWR_CR2_WUPP3_Msk
9936#define PWR_CR2_WUPP4_Pos (11U)
9937#define PWR_CR2_WUPP4_Msk (0x1UL << PWR_CR2_WUPP4_Pos)
9938#define PWR_CR2_WUPP4 PWR_CR2_WUPP4_Msk
9939#define PWR_CR2_WUPP5_Pos (12U)
9940#define PWR_CR2_WUPP5_Msk (0x1UL << PWR_CR2_WUPP5_Pos)
9941#define PWR_CR2_WUPP5 PWR_CR2_WUPP5_Msk
9942#define PWR_CR2_WUPP6_Pos (13U)
9943#define PWR_CR2_WUPP6_Msk (0x1UL << PWR_CR2_WUPP6_Pos)
9944#define PWR_CR2_WUPP6 PWR_CR2_WUPP6_Msk
9946/******************* Bit definition for PWR_CSR2 register ********************/
9947#define PWR_CSR2_WUPF1_Pos (0U)
9948#define PWR_CSR2_WUPF1_Msk (0x1UL << PWR_CSR2_WUPF1_Pos)
9949#define PWR_CSR2_WUPF1 PWR_CSR2_WUPF1_Msk
9950#define PWR_CSR2_WUPF2_Pos (1U)
9951#define PWR_CSR2_WUPF2_Msk (0x1UL << PWR_CSR2_WUPF2_Pos)
9952#define PWR_CSR2_WUPF2 PWR_CSR2_WUPF2_Msk
9953#define PWR_CSR2_WUPF3_Pos (2U)
9954#define PWR_CSR2_WUPF3_Msk (0x1UL << PWR_CSR2_WUPF3_Pos)
9955#define PWR_CSR2_WUPF3 PWR_CSR2_WUPF3_Msk
9956#define PWR_CSR2_WUPF4_Pos (3U)
9957#define PWR_CSR2_WUPF4_Msk (0x1UL << PWR_CSR2_WUPF4_Pos)
9958#define PWR_CSR2_WUPF4 PWR_CSR2_WUPF4_Msk
9959#define PWR_CSR2_WUPF5_Pos (4U)
9960#define PWR_CSR2_WUPF5_Msk (0x1UL << PWR_CSR2_WUPF5_Pos)
9961#define PWR_CSR2_WUPF5 PWR_CSR2_WUPF5_Msk
9962#define PWR_CSR2_WUPF6_Pos (5U)
9963#define PWR_CSR2_WUPF6_Msk (0x1UL << PWR_CSR2_WUPF6_Pos)
9964#define PWR_CSR2_WUPF6 PWR_CSR2_WUPF6_Msk
9965#define PWR_CSR2_EWUP1_Pos (8U)
9966#define PWR_CSR2_EWUP1_Msk (0x1UL << PWR_CSR2_EWUP1_Pos)
9967#define PWR_CSR2_EWUP1 PWR_CSR2_EWUP1_Msk
9968#define PWR_CSR2_EWUP2_Pos (9U)
9969#define PWR_CSR2_EWUP2_Msk (0x1UL << PWR_CSR2_EWUP2_Pos)
9970#define PWR_CSR2_EWUP2 PWR_CSR2_EWUP2_Msk
9971#define PWR_CSR2_EWUP3_Pos (10U)
9972#define PWR_CSR2_EWUP3_Msk (0x1UL << PWR_CSR2_EWUP3_Pos)
9973#define PWR_CSR2_EWUP3 PWR_CSR2_EWUP3_Msk
9974#define PWR_CSR2_EWUP4_Pos (11U)
9975#define PWR_CSR2_EWUP4_Msk (0x1UL << PWR_CSR2_EWUP4_Pos)
9976#define PWR_CSR2_EWUP4 PWR_CSR2_EWUP4_Msk
9977#define PWR_CSR2_EWUP5_Pos (12U)
9978#define PWR_CSR2_EWUP5_Msk (0x1UL << PWR_CSR2_EWUP5_Pos)
9979#define PWR_CSR2_EWUP5 PWR_CSR2_EWUP5_Msk
9980#define PWR_CSR2_EWUP6_Pos (13U)
9981#define PWR_CSR2_EWUP6_Msk (0x1UL << PWR_CSR2_EWUP6_Pos)
9982#define PWR_CSR2_EWUP6 PWR_CSR2_EWUP6_Msk
9984/******************************************************************************/
9985/* */
9986/* QUADSPI */
9987/* */
9988/******************************************************************************/
9989/* QUADSPI IP version */
9990#define QSPI1_V1_0
9991/***************** Bit definition for QUADSPI_CR register *******************/
9992#define QUADSPI_CR_EN_Pos (0U)
9993#define QUADSPI_CR_EN_Msk (0x1UL << QUADSPI_CR_EN_Pos)
9994#define QUADSPI_CR_EN QUADSPI_CR_EN_Msk
9995#define QUADSPI_CR_ABORT_Pos (1U)
9996#define QUADSPI_CR_ABORT_Msk (0x1UL << QUADSPI_CR_ABORT_Pos)
9997#define QUADSPI_CR_ABORT QUADSPI_CR_ABORT_Msk
9998#define QUADSPI_CR_DMAEN_Pos (2U)
9999#define QUADSPI_CR_DMAEN_Msk (0x1UL << QUADSPI_CR_DMAEN_Pos)
10000#define QUADSPI_CR_DMAEN QUADSPI_CR_DMAEN_Msk
10001#define QUADSPI_CR_TCEN_Pos (3U)
10002#define QUADSPI_CR_TCEN_Msk (0x1UL << QUADSPI_CR_TCEN_Pos)
10003#define QUADSPI_CR_TCEN QUADSPI_CR_TCEN_Msk
10004#define QUADSPI_CR_SSHIFT_Pos (4U)
10005#define QUADSPI_CR_SSHIFT_Msk (0x1UL << QUADSPI_CR_SSHIFT_Pos)
10006#define QUADSPI_CR_SSHIFT QUADSPI_CR_SSHIFT_Msk
10007#define QUADSPI_CR_DFM_Pos (6U)
10008#define QUADSPI_CR_DFM_Msk (0x1UL << QUADSPI_CR_DFM_Pos)
10009#define QUADSPI_CR_DFM QUADSPI_CR_DFM_Msk
10010#define QUADSPI_CR_FSEL_Pos (7U)
10011#define QUADSPI_CR_FSEL_Msk (0x1UL << QUADSPI_CR_FSEL_Pos)
10012#define QUADSPI_CR_FSEL QUADSPI_CR_FSEL_Msk
10013#define QUADSPI_CR_FTHRES_Pos (8U)
10014#define QUADSPI_CR_FTHRES_Msk (0x1FUL << QUADSPI_CR_FTHRES_Pos)
10015#define QUADSPI_CR_FTHRES QUADSPI_CR_FTHRES_Msk
10016#define QUADSPI_CR_FTHRES_0 (0x01UL << QUADSPI_CR_FTHRES_Pos)
10017#define QUADSPI_CR_FTHRES_1 (0x02UL << QUADSPI_CR_FTHRES_Pos)
10018#define QUADSPI_CR_FTHRES_2 (0x04UL << QUADSPI_CR_FTHRES_Pos)
10019#define QUADSPI_CR_FTHRES_3 (0x08UL << QUADSPI_CR_FTHRES_Pos)
10020#define QUADSPI_CR_FTHRES_4 (0x10UL << QUADSPI_CR_FTHRES_Pos)
10021#define QUADSPI_CR_TEIE_Pos (16U)
10022#define QUADSPI_CR_TEIE_Msk (0x1UL << QUADSPI_CR_TEIE_Pos)
10023#define QUADSPI_CR_TEIE QUADSPI_CR_TEIE_Msk
10024#define QUADSPI_CR_TCIE_Pos (17U)
10025#define QUADSPI_CR_TCIE_Msk (0x1UL << QUADSPI_CR_TCIE_Pos)
10026#define QUADSPI_CR_TCIE QUADSPI_CR_TCIE_Msk
10027#define QUADSPI_CR_FTIE_Pos (18U)
10028#define QUADSPI_CR_FTIE_Msk (0x1UL << QUADSPI_CR_FTIE_Pos)
10029#define QUADSPI_CR_FTIE QUADSPI_CR_FTIE_Msk
10030#define QUADSPI_CR_SMIE_Pos (19U)
10031#define QUADSPI_CR_SMIE_Msk (0x1UL << QUADSPI_CR_SMIE_Pos)
10032#define QUADSPI_CR_SMIE QUADSPI_CR_SMIE_Msk
10033#define QUADSPI_CR_TOIE_Pos (20U)
10034#define QUADSPI_CR_TOIE_Msk (0x1UL << QUADSPI_CR_TOIE_Pos)
10035#define QUADSPI_CR_TOIE QUADSPI_CR_TOIE_Msk
10036#define QUADSPI_CR_APMS_Pos (22U)
10037#define QUADSPI_CR_APMS_Msk (0x1UL << QUADSPI_CR_APMS_Pos)
10038#define QUADSPI_CR_APMS QUADSPI_CR_APMS_Msk
10039#define QUADSPI_CR_PMM_Pos (23U)
10040#define QUADSPI_CR_PMM_Msk (0x1UL << QUADSPI_CR_PMM_Pos)
10041#define QUADSPI_CR_PMM QUADSPI_CR_PMM_Msk
10042#define QUADSPI_CR_PRESCALER_Pos (24U)
10043#define QUADSPI_CR_PRESCALER_Msk (0xFFUL << QUADSPI_CR_PRESCALER_Pos)
10044#define QUADSPI_CR_PRESCALER QUADSPI_CR_PRESCALER_Msk
10045#define QUADSPI_CR_PRESCALER_0 (0x01UL << QUADSPI_CR_PRESCALER_Pos)
10046#define QUADSPI_CR_PRESCALER_1 (0x02UL << QUADSPI_CR_PRESCALER_Pos)
10047#define QUADSPI_CR_PRESCALER_2 (0x04UL << QUADSPI_CR_PRESCALER_Pos)
10048#define QUADSPI_CR_PRESCALER_3 (0x08UL << QUADSPI_CR_PRESCALER_Pos)
10049#define QUADSPI_CR_PRESCALER_4 (0x10UL << QUADSPI_CR_PRESCALER_Pos)
10050#define QUADSPI_CR_PRESCALER_5 (0x20UL << QUADSPI_CR_PRESCALER_Pos)
10051#define QUADSPI_CR_PRESCALER_6 (0x40UL << QUADSPI_CR_PRESCALER_Pos)
10052#define QUADSPI_CR_PRESCALER_7 (0x80UL << QUADSPI_CR_PRESCALER_Pos)
10054/***************** Bit definition for QUADSPI_DCR register ******************/
10055#define QUADSPI_DCR_CKMODE_Pos (0U)
10056#define QUADSPI_DCR_CKMODE_Msk (0x1UL << QUADSPI_DCR_CKMODE_Pos)
10057#define QUADSPI_DCR_CKMODE QUADSPI_DCR_CKMODE_Msk
10058#define QUADSPI_DCR_CSHT_Pos (8U)
10059#define QUADSPI_DCR_CSHT_Msk (0x7UL << QUADSPI_DCR_CSHT_Pos)
10060#define QUADSPI_DCR_CSHT QUADSPI_DCR_CSHT_Msk
10061#define QUADSPI_DCR_CSHT_0 (0x1UL << QUADSPI_DCR_CSHT_Pos)
10062#define QUADSPI_DCR_CSHT_1 (0x2UL << QUADSPI_DCR_CSHT_Pos)
10063#define QUADSPI_DCR_CSHT_2 (0x4UL << QUADSPI_DCR_CSHT_Pos)
10064#define QUADSPI_DCR_FSIZE_Pos (16U)
10065#define QUADSPI_DCR_FSIZE_Msk (0x1FUL << QUADSPI_DCR_FSIZE_Pos)
10066#define QUADSPI_DCR_FSIZE QUADSPI_DCR_FSIZE_Msk
10067#define QUADSPI_DCR_FSIZE_0 (0x01UL << QUADSPI_DCR_FSIZE_Pos)
10068#define QUADSPI_DCR_FSIZE_1 (0x02UL << QUADSPI_DCR_FSIZE_Pos)
10069#define QUADSPI_DCR_FSIZE_2 (0x04UL << QUADSPI_DCR_FSIZE_Pos)
10070#define QUADSPI_DCR_FSIZE_3 (0x08UL << QUADSPI_DCR_FSIZE_Pos)
10071#define QUADSPI_DCR_FSIZE_4 (0x10UL << QUADSPI_DCR_FSIZE_Pos)
10073/****************** Bit definition for QUADSPI_SR register *******************/
10074#define QUADSPI_SR_TEF_Pos (0U)
10075#define QUADSPI_SR_TEF_Msk (0x1UL << QUADSPI_SR_TEF_Pos)
10076#define QUADSPI_SR_TEF QUADSPI_SR_TEF_Msk
10077#define QUADSPI_SR_TCF_Pos (1U)
10078#define QUADSPI_SR_TCF_Msk (0x1UL << QUADSPI_SR_TCF_Pos)
10079#define QUADSPI_SR_TCF QUADSPI_SR_TCF_Msk
10080#define QUADSPI_SR_FTF_Pos (2U)
10081#define QUADSPI_SR_FTF_Msk (0x1UL << QUADSPI_SR_FTF_Pos)
10082#define QUADSPI_SR_FTF QUADSPI_SR_FTF_Msk
10083#define QUADSPI_SR_SMF_Pos (3U)
10084#define QUADSPI_SR_SMF_Msk (0x1UL << QUADSPI_SR_SMF_Pos)
10085#define QUADSPI_SR_SMF QUADSPI_SR_SMF_Msk
10086#define QUADSPI_SR_TOF_Pos (4U)
10087#define QUADSPI_SR_TOF_Msk (0x1UL << QUADSPI_SR_TOF_Pos)
10088#define QUADSPI_SR_TOF QUADSPI_SR_TOF_Msk
10089#define QUADSPI_SR_BUSY_Pos (5U)
10090#define QUADSPI_SR_BUSY_Msk (0x1UL << QUADSPI_SR_BUSY_Pos)
10091#define QUADSPI_SR_BUSY QUADSPI_SR_BUSY_Msk
10092#define QUADSPI_SR_FLEVEL_Pos (8U)
10093#define QUADSPI_SR_FLEVEL_Msk (0x3FUL << QUADSPI_SR_FLEVEL_Pos)
10094#define QUADSPI_SR_FLEVEL QUADSPI_SR_FLEVEL_Msk
10095#define QUADSPI_SR_FLEVEL_0 (0x01UL << QUADSPI_SR_FLEVEL_Pos)
10096#define QUADSPI_SR_FLEVEL_1 (0x02UL << QUADSPI_SR_FLEVEL_Pos)
10097#define QUADSPI_SR_FLEVEL_2 (0x04UL << QUADSPI_SR_FLEVEL_Pos)
10098#define QUADSPI_SR_FLEVEL_3 (0x08UL << QUADSPI_SR_FLEVEL_Pos)
10099#define QUADSPI_SR_FLEVEL_4 (0x10UL << QUADSPI_SR_FLEVEL_Pos)
10100#define QUADSPI_SR_FLEVEL_5 (0x20UL << QUADSPI_SR_FLEVEL_Pos)
10102/****************** Bit definition for QUADSPI_FCR register ******************/
10103#define QUADSPI_FCR_CTEF_Pos (0U)
10104#define QUADSPI_FCR_CTEF_Msk (0x1UL << QUADSPI_FCR_CTEF_Pos)
10105#define QUADSPI_FCR_CTEF QUADSPI_FCR_CTEF_Msk
10106#define QUADSPI_FCR_CTCF_Pos (1U)
10107#define QUADSPI_FCR_CTCF_Msk (0x1UL << QUADSPI_FCR_CTCF_Pos)
10108#define QUADSPI_FCR_CTCF QUADSPI_FCR_CTCF_Msk
10109#define QUADSPI_FCR_CSMF_Pos (3U)
10110#define QUADSPI_FCR_CSMF_Msk (0x1UL << QUADSPI_FCR_CSMF_Pos)
10111#define QUADSPI_FCR_CSMF QUADSPI_FCR_CSMF_Msk
10112#define QUADSPI_FCR_CTOF_Pos (4U)
10113#define QUADSPI_FCR_CTOF_Msk (0x1UL << QUADSPI_FCR_CTOF_Pos)
10114#define QUADSPI_FCR_CTOF QUADSPI_FCR_CTOF_Msk
10116/****************** Bit definition for QUADSPI_DLR register ******************/
10117#define QUADSPI_DLR_DL_Pos (0U)
10118#define QUADSPI_DLR_DL_Msk (0xFFFFFFFFUL << QUADSPI_DLR_DL_Pos)
10119#define QUADSPI_DLR_DL QUADSPI_DLR_DL_Msk
10121/****************** Bit definition for QUADSPI_CCR register ******************/
10122#define QUADSPI_CCR_INSTRUCTION_Pos (0U)
10123#define QUADSPI_CCR_INSTRUCTION_Msk (0xFFUL << QUADSPI_CCR_INSTRUCTION_Pos)
10124#define QUADSPI_CCR_INSTRUCTION QUADSPI_CCR_INSTRUCTION_Msk
10125#define QUADSPI_CCR_INSTRUCTION_0 (0x01UL << QUADSPI_CCR_INSTRUCTION_Pos)
10126#define QUADSPI_CCR_INSTRUCTION_1 (0x02UL << QUADSPI_CCR_INSTRUCTION_Pos)
10127#define QUADSPI_CCR_INSTRUCTION_2 (0x04UL << QUADSPI_CCR_INSTRUCTION_Pos)
10128#define QUADSPI_CCR_INSTRUCTION_3 (0x08UL << QUADSPI_CCR_INSTRUCTION_Pos)
10129#define QUADSPI_CCR_INSTRUCTION_4 (0x10UL << QUADSPI_CCR_INSTRUCTION_Pos)
10130#define QUADSPI_CCR_INSTRUCTION_5 (0x20UL << QUADSPI_CCR_INSTRUCTION_Pos)
10131#define QUADSPI_CCR_INSTRUCTION_6 (0x40UL << QUADSPI_CCR_INSTRUCTION_Pos)
10132#define QUADSPI_CCR_INSTRUCTION_7 (0x80UL << QUADSPI_CCR_INSTRUCTION_Pos)
10133#define QUADSPI_CCR_IMODE_Pos (8U)
10134#define QUADSPI_CCR_IMODE_Msk (0x3UL << QUADSPI_CCR_IMODE_Pos)
10135#define QUADSPI_CCR_IMODE QUADSPI_CCR_IMODE_Msk
10136#define QUADSPI_CCR_IMODE_0 (0x1UL << QUADSPI_CCR_IMODE_Pos)
10137#define QUADSPI_CCR_IMODE_1 (0x2UL << QUADSPI_CCR_IMODE_Pos)
10138#define QUADSPI_CCR_ADMODE_Pos (10U)
10139#define QUADSPI_CCR_ADMODE_Msk (0x3UL << QUADSPI_CCR_ADMODE_Pos)
10140#define QUADSPI_CCR_ADMODE QUADSPI_CCR_ADMODE_Msk
10141#define QUADSPI_CCR_ADMODE_0 (0x1UL << QUADSPI_CCR_ADMODE_Pos)
10142#define QUADSPI_CCR_ADMODE_1 (0x2UL << QUADSPI_CCR_ADMODE_Pos)
10143#define QUADSPI_CCR_ADSIZE_Pos (12U)
10144#define QUADSPI_CCR_ADSIZE_Msk (0x3UL << QUADSPI_CCR_ADSIZE_Pos)
10145#define QUADSPI_CCR_ADSIZE QUADSPI_CCR_ADSIZE_Msk
10146#define QUADSPI_CCR_ADSIZE_0 (0x1UL << QUADSPI_CCR_ADSIZE_Pos)
10147#define QUADSPI_CCR_ADSIZE_1 (0x2UL << QUADSPI_CCR_ADSIZE_Pos)
10148#define QUADSPI_CCR_ABMODE_Pos (14U)
10149#define QUADSPI_CCR_ABMODE_Msk (0x3UL << QUADSPI_CCR_ABMODE_Pos)
10150#define QUADSPI_CCR_ABMODE QUADSPI_CCR_ABMODE_Msk
10151#define QUADSPI_CCR_ABMODE_0 (0x1UL << QUADSPI_CCR_ABMODE_Pos)
10152#define QUADSPI_CCR_ABMODE_1 (0x2UL << QUADSPI_CCR_ABMODE_Pos)
10153#define QUADSPI_CCR_ABSIZE_Pos (16U)
10154#define QUADSPI_CCR_ABSIZE_Msk (0x3UL << QUADSPI_CCR_ABSIZE_Pos)
10155#define QUADSPI_CCR_ABSIZE QUADSPI_CCR_ABSIZE_Msk
10156#define QUADSPI_CCR_ABSIZE_0 (0x1UL << QUADSPI_CCR_ABSIZE_Pos)
10157#define QUADSPI_CCR_ABSIZE_1 (0x2UL << QUADSPI_CCR_ABSIZE_Pos)
10158#define QUADSPI_CCR_DCYC_Pos (18U)
10159#define QUADSPI_CCR_DCYC_Msk (0x1FUL << QUADSPI_CCR_DCYC_Pos)
10160#define QUADSPI_CCR_DCYC QUADSPI_CCR_DCYC_Msk
10161#define QUADSPI_CCR_DCYC_0 (0x01UL << QUADSPI_CCR_DCYC_Pos)
10162#define QUADSPI_CCR_DCYC_1 (0x02UL << QUADSPI_CCR_DCYC_Pos)
10163#define QUADSPI_CCR_DCYC_2 (0x04UL << QUADSPI_CCR_DCYC_Pos)
10164#define QUADSPI_CCR_DCYC_3 (0x08UL << QUADSPI_CCR_DCYC_Pos)
10165#define QUADSPI_CCR_DCYC_4 (0x10UL << QUADSPI_CCR_DCYC_Pos)
10166#define QUADSPI_CCR_DMODE_Pos (24U)
10167#define QUADSPI_CCR_DMODE_Msk (0x3UL << QUADSPI_CCR_DMODE_Pos)
10168#define QUADSPI_CCR_DMODE QUADSPI_CCR_DMODE_Msk
10169#define QUADSPI_CCR_DMODE_0 (0x1UL << QUADSPI_CCR_DMODE_Pos)
10170#define QUADSPI_CCR_DMODE_1 (0x2UL << QUADSPI_CCR_DMODE_Pos)
10171#define QUADSPI_CCR_FMODE_Pos (26U)
10172#define QUADSPI_CCR_FMODE_Msk (0x3UL << QUADSPI_CCR_FMODE_Pos)
10173#define QUADSPI_CCR_FMODE QUADSPI_CCR_FMODE_Msk
10174#define QUADSPI_CCR_FMODE_0 (0x1UL << QUADSPI_CCR_FMODE_Pos)
10175#define QUADSPI_CCR_FMODE_1 (0x2UL << QUADSPI_CCR_FMODE_Pos)
10176#define QUADSPI_CCR_SIOO_Pos (28U)
10177#define QUADSPI_CCR_SIOO_Msk (0x1UL << QUADSPI_CCR_SIOO_Pos)
10178#define QUADSPI_CCR_SIOO QUADSPI_CCR_SIOO_Msk
10179#define QUADSPI_CCR_DHHC_Pos (30U)
10180#define QUADSPI_CCR_DHHC_Msk (0x1UL << QUADSPI_CCR_DHHC_Pos)
10181#define QUADSPI_CCR_DHHC QUADSPI_CCR_DHHC_Msk
10182#define QUADSPI_CCR_DDRM_Pos (31U)
10183#define QUADSPI_CCR_DDRM_Msk (0x1UL << QUADSPI_CCR_DDRM_Pos)
10184#define QUADSPI_CCR_DDRM QUADSPI_CCR_DDRM_Msk
10185/****************** Bit definition for QUADSPI_AR register *******************/
10186#define QUADSPI_AR_ADDRESS_Pos (0U)
10187#define QUADSPI_AR_ADDRESS_Msk (0xFFFFFFFFUL << QUADSPI_AR_ADDRESS_Pos)
10188#define QUADSPI_AR_ADDRESS QUADSPI_AR_ADDRESS_Msk
10190/****************** Bit definition for QUADSPI_ABR register ******************/
10191#define QUADSPI_ABR_ALTERNATE_Pos (0U)
10192#define QUADSPI_ABR_ALTERNATE_Msk (0xFFFFFFFFUL << QUADSPI_ABR_ALTERNATE_Pos)
10193#define QUADSPI_ABR_ALTERNATE QUADSPI_ABR_ALTERNATE_Msk
10195/****************** Bit definition for QUADSPI_DR register *******************/
10196#define QUADSPI_DR_DATA_Pos (0U)
10197#define QUADSPI_DR_DATA_Msk (0xFFFFFFFFUL << QUADSPI_DR_DATA_Pos)
10198#define QUADSPI_DR_DATA QUADSPI_DR_DATA_Msk
10200/****************** Bit definition for QUADSPI_PSMKR register ****************/
10201#define QUADSPI_PSMKR_MASK_Pos (0U)
10202#define QUADSPI_PSMKR_MASK_Msk (0xFFFFFFFFUL << QUADSPI_PSMKR_MASK_Pos)
10203#define QUADSPI_PSMKR_MASK QUADSPI_PSMKR_MASK_Msk
10205/****************** Bit definition for QUADSPI_PSMAR register ****************/
10206#define QUADSPI_PSMAR_MATCH_Pos (0U)
10207#define QUADSPI_PSMAR_MATCH_Msk (0xFFFFFFFFUL << QUADSPI_PSMAR_MATCH_Pos)
10208#define QUADSPI_PSMAR_MATCH QUADSPI_PSMAR_MATCH_Msk
10210/****************** Bit definition for QUADSPI_PIR register *****************/
10211#define QUADSPI_PIR_INTERVAL_Pos (0U)
10212#define QUADSPI_PIR_INTERVAL_Msk (0xFFFFUL << QUADSPI_PIR_INTERVAL_Pos)
10213#define QUADSPI_PIR_INTERVAL QUADSPI_PIR_INTERVAL_Msk
10215/****************** Bit definition for QUADSPI_LPTR register *****************/
10216#define QUADSPI_LPTR_TIMEOUT_Pos (0U)
10217#define QUADSPI_LPTR_TIMEOUT_Msk (0xFFFFUL << QUADSPI_LPTR_TIMEOUT_Pos)
10218#define QUADSPI_LPTR_TIMEOUT QUADSPI_LPTR_TIMEOUT_Msk
10220/******************************************************************************/
10221/* */
10222/* Reset and Clock Control */
10223/* */
10224/******************************************************************************/
10225/******************** Bit definition for RCC_CR register ********************/
10226#define RCC_CR_HSION_Pos (0U)
10227#define RCC_CR_HSION_Msk (0x1UL << RCC_CR_HSION_Pos)
10228#define RCC_CR_HSION RCC_CR_HSION_Msk
10229#define RCC_CR_HSIRDY_Pos (1U)
10230#define RCC_CR_HSIRDY_Msk (0x1UL << RCC_CR_HSIRDY_Pos)
10231#define RCC_CR_HSIRDY RCC_CR_HSIRDY_Msk
10232#define RCC_CR_HSITRIM_Pos (3U)
10233#define RCC_CR_HSITRIM_Msk (0x1FUL << RCC_CR_HSITRIM_Pos)
10234#define RCC_CR_HSITRIM RCC_CR_HSITRIM_Msk
10235#define RCC_CR_HSITRIM_0 (0x01UL << RCC_CR_HSITRIM_Pos)
10236#define RCC_CR_HSITRIM_1 (0x02UL << RCC_CR_HSITRIM_Pos)
10237#define RCC_CR_HSITRIM_2 (0x04UL << RCC_CR_HSITRIM_Pos)
10238#define RCC_CR_HSITRIM_3 (0x08UL << RCC_CR_HSITRIM_Pos)
10239#define RCC_CR_HSITRIM_4 (0x10UL << RCC_CR_HSITRIM_Pos)
10240#define RCC_CR_HSICAL_Pos (8U)
10241#define RCC_CR_HSICAL_Msk (0xFFUL << RCC_CR_HSICAL_Pos)
10242#define RCC_CR_HSICAL RCC_CR_HSICAL_Msk
10243#define RCC_CR_HSICAL_0 (0x01UL << RCC_CR_HSICAL_Pos)
10244#define RCC_CR_HSICAL_1 (0x02UL << RCC_CR_HSICAL_Pos)
10245#define RCC_CR_HSICAL_2 (0x04UL << RCC_CR_HSICAL_Pos)
10246#define RCC_CR_HSICAL_3 (0x08UL << RCC_CR_HSICAL_Pos)
10247#define RCC_CR_HSICAL_4 (0x10UL << RCC_CR_HSICAL_Pos)
10248#define RCC_CR_HSICAL_5 (0x20UL << RCC_CR_HSICAL_Pos)
10249#define RCC_CR_HSICAL_6 (0x40UL << RCC_CR_HSICAL_Pos)
10250#define RCC_CR_HSICAL_7 (0x80UL << RCC_CR_HSICAL_Pos)
10251#define RCC_CR_HSEON_Pos (16U)
10252#define RCC_CR_HSEON_Msk (0x1UL << RCC_CR_HSEON_Pos)
10253#define RCC_CR_HSEON RCC_CR_HSEON_Msk
10254#define RCC_CR_HSERDY_Pos (17U)
10255#define RCC_CR_HSERDY_Msk (0x1UL << RCC_CR_HSERDY_Pos)
10256#define RCC_CR_HSERDY RCC_CR_HSERDY_Msk
10257#define RCC_CR_HSEBYP_Pos (18U)
10258#define RCC_CR_HSEBYP_Msk (0x1UL << RCC_CR_HSEBYP_Pos)
10259#define RCC_CR_HSEBYP RCC_CR_HSEBYP_Msk
10260#define RCC_CR_CSSON_Pos (19U)
10261#define RCC_CR_CSSON_Msk (0x1UL << RCC_CR_CSSON_Pos)
10262#define RCC_CR_CSSON RCC_CR_CSSON_Msk
10263#define RCC_CR_PLLON_Pos (24U)
10264#define RCC_CR_PLLON_Msk (0x1UL << RCC_CR_PLLON_Pos)
10265#define RCC_CR_PLLON RCC_CR_PLLON_Msk
10266#define RCC_CR_PLLRDY_Pos (25U)
10267#define RCC_CR_PLLRDY_Msk (0x1UL << RCC_CR_PLLRDY_Pos)
10268#define RCC_CR_PLLRDY RCC_CR_PLLRDY_Msk
10269#define RCC_CR_PLLI2SON_Pos (26U)
10270#define RCC_CR_PLLI2SON_Msk (0x1UL << RCC_CR_PLLI2SON_Pos)
10271#define RCC_CR_PLLI2SON RCC_CR_PLLI2SON_Msk
10272#define RCC_CR_PLLI2SRDY_Pos (27U)
10273#define RCC_CR_PLLI2SRDY_Msk (0x1UL << RCC_CR_PLLI2SRDY_Pos)
10274#define RCC_CR_PLLI2SRDY RCC_CR_PLLI2SRDY_Msk
10275#define RCC_CR_PLLSAION_Pos (28U)
10276#define RCC_CR_PLLSAION_Msk (0x1UL << RCC_CR_PLLSAION_Pos)
10277#define RCC_CR_PLLSAION RCC_CR_PLLSAION_Msk
10278#define RCC_CR_PLLSAIRDY_Pos (29U)
10279#define RCC_CR_PLLSAIRDY_Msk (0x1UL << RCC_CR_PLLSAIRDY_Pos)
10280#define RCC_CR_PLLSAIRDY RCC_CR_PLLSAIRDY_Msk
10281
10282/******************** Bit definition for RCC_PLLCFGR register ***************/
10283#define RCC_PLLCFGR_PLLM_Pos (0U)
10284#define RCC_PLLCFGR_PLLM_Msk (0x3FUL << RCC_PLLCFGR_PLLM_Pos)
10285#define RCC_PLLCFGR_PLLM RCC_PLLCFGR_PLLM_Msk
10286#define RCC_PLLCFGR_PLLM_0 (0x01UL << RCC_PLLCFGR_PLLM_Pos)
10287#define RCC_PLLCFGR_PLLM_1 (0x02UL << RCC_PLLCFGR_PLLM_Pos)
10288#define RCC_PLLCFGR_PLLM_2 (0x04UL << RCC_PLLCFGR_PLLM_Pos)
10289#define RCC_PLLCFGR_PLLM_3 (0x08UL << RCC_PLLCFGR_PLLM_Pos)
10290#define RCC_PLLCFGR_PLLM_4 (0x10UL << RCC_PLLCFGR_PLLM_Pos)
10291#define RCC_PLLCFGR_PLLM_5 (0x20UL << RCC_PLLCFGR_PLLM_Pos)
10292#define RCC_PLLCFGR_PLLN_Pos (6U)
10293#define RCC_PLLCFGR_PLLN_Msk (0x1FFUL << RCC_PLLCFGR_PLLN_Pos)
10294#define RCC_PLLCFGR_PLLN RCC_PLLCFGR_PLLN_Msk
10295#define RCC_PLLCFGR_PLLN_0 (0x001UL << RCC_PLLCFGR_PLLN_Pos)
10296#define RCC_PLLCFGR_PLLN_1 (0x002UL << RCC_PLLCFGR_PLLN_Pos)
10297#define RCC_PLLCFGR_PLLN_2 (0x004UL << RCC_PLLCFGR_PLLN_Pos)
10298#define RCC_PLLCFGR_PLLN_3 (0x008UL << RCC_PLLCFGR_PLLN_Pos)
10299#define RCC_PLLCFGR_PLLN_4 (0x010UL << RCC_PLLCFGR_PLLN_Pos)
10300#define RCC_PLLCFGR_PLLN_5 (0x020UL << RCC_PLLCFGR_PLLN_Pos)
10301#define RCC_PLLCFGR_PLLN_6 (0x040UL << RCC_PLLCFGR_PLLN_Pos)
10302#define RCC_PLLCFGR_PLLN_7 (0x080UL << RCC_PLLCFGR_PLLN_Pos)
10303#define RCC_PLLCFGR_PLLN_8 (0x100UL << RCC_PLLCFGR_PLLN_Pos)
10304#define RCC_PLLCFGR_PLLP_Pos (16U)
10305#define RCC_PLLCFGR_PLLP_Msk (0x3UL << RCC_PLLCFGR_PLLP_Pos)
10306#define RCC_PLLCFGR_PLLP RCC_PLLCFGR_PLLP_Msk
10307#define RCC_PLLCFGR_PLLP_0 (0x1UL << RCC_PLLCFGR_PLLP_Pos)
10308#define RCC_PLLCFGR_PLLP_1 (0x2UL << RCC_PLLCFGR_PLLP_Pos)
10309#define RCC_PLLCFGR_PLLSRC_Pos (22U)
10310#define RCC_PLLCFGR_PLLSRC_Msk (0x1UL << RCC_PLLCFGR_PLLSRC_Pos)
10311#define RCC_PLLCFGR_PLLSRC RCC_PLLCFGR_PLLSRC_Msk
10312#define RCC_PLLCFGR_PLLSRC_HSE_Pos (22U)
10313#define RCC_PLLCFGR_PLLSRC_HSE_Msk (0x1UL << RCC_PLLCFGR_PLLSRC_HSE_Pos)
10314#define RCC_PLLCFGR_PLLSRC_HSE RCC_PLLCFGR_PLLSRC_HSE_Msk
10315#define RCC_PLLCFGR_PLLSRC_HSI 0x00000000U
10316#define RCC_PLLCFGR_PLLQ_Pos (24U)
10317#define RCC_PLLCFGR_PLLQ_Msk (0xFUL << RCC_PLLCFGR_PLLQ_Pos)
10318#define RCC_PLLCFGR_PLLQ RCC_PLLCFGR_PLLQ_Msk
10319#define RCC_PLLCFGR_PLLQ_0 (0x1UL << RCC_PLLCFGR_PLLQ_Pos)
10320#define RCC_PLLCFGR_PLLQ_1 (0x2UL << RCC_PLLCFGR_PLLQ_Pos)
10321#define RCC_PLLCFGR_PLLQ_2 (0x4UL << RCC_PLLCFGR_PLLQ_Pos)
10322#define RCC_PLLCFGR_PLLQ_3 (0x8UL << RCC_PLLCFGR_PLLQ_Pos)
10325/******************** Bit definition for RCC_CFGR register ******************/
10327#define RCC_CFGR_SW_Pos (0U)
10328#define RCC_CFGR_SW_Msk (0x3UL << RCC_CFGR_SW_Pos)
10329#define RCC_CFGR_SW RCC_CFGR_SW_Msk
10330#define RCC_CFGR_SW_0 (0x1UL << RCC_CFGR_SW_Pos)
10331#define RCC_CFGR_SW_1 (0x2UL << RCC_CFGR_SW_Pos)
10332#define RCC_CFGR_SW_HSI 0x00000000U
10333#define RCC_CFGR_SW_HSE 0x00000001U
10334#define RCC_CFGR_SW_PLL 0x00000002U
10337#define RCC_CFGR_SWS_Pos (2U)
10338#define RCC_CFGR_SWS_Msk (0x3UL << RCC_CFGR_SWS_Pos)
10339#define RCC_CFGR_SWS RCC_CFGR_SWS_Msk
10340#define RCC_CFGR_SWS_0 (0x1UL << RCC_CFGR_SWS_Pos)
10341#define RCC_CFGR_SWS_1 (0x2UL << RCC_CFGR_SWS_Pos)
10342#define RCC_CFGR_SWS_HSI 0x00000000U
10343#define RCC_CFGR_SWS_HSE 0x00000004U
10344#define RCC_CFGR_SWS_PLL 0x00000008U
10347#define RCC_CFGR_HPRE_Pos (4U)
10348#define RCC_CFGR_HPRE_Msk (0xFUL << RCC_CFGR_HPRE_Pos)
10349#define RCC_CFGR_HPRE RCC_CFGR_HPRE_Msk
10350#define RCC_CFGR_HPRE_0 (0x1UL << RCC_CFGR_HPRE_Pos)
10351#define RCC_CFGR_HPRE_1 (0x2UL << RCC_CFGR_HPRE_Pos)
10352#define RCC_CFGR_HPRE_2 (0x4UL << RCC_CFGR_HPRE_Pos)
10353#define RCC_CFGR_HPRE_3 (0x8UL << RCC_CFGR_HPRE_Pos)
10355#define RCC_CFGR_HPRE_DIV1 0x00000000U
10356#define RCC_CFGR_HPRE_DIV2 0x00000080U
10357#define RCC_CFGR_HPRE_DIV4 0x00000090U
10358#define RCC_CFGR_HPRE_DIV8 0x000000A0U
10359#define RCC_CFGR_HPRE_DIV16 0x000000B0U
10360#define RCC_CFGR_HPRE_DIV64 0x000000C0U
10361#define RCC_CFGR_HPRE_DIV128 0x000000D0U
10362#define RCC_CFGR_HPRE_DIV256 0x000000E0U
10363#define RCC_CFGR_HPRE_DIV512 0x000000F0U
10366#define RCC_CFGR_PPRE1_Pos (10U)
10367#define RCC_CFGR_PPRE1_Msk (0x7UL << RCC_CFGR_PPRE1_Pos)
10368#define RCC_CFGR_PPRE1 RCC_CFGR_PPRE1_Msk
10369#define RCC_CFGR_PPRE1_0 (0x1UL << RCC_CFGR_PPRE1_Pos)
10370#define RCC_CFGR_PPRE1_1 (0x2UL << RCC_CFGR_PPRE1_Pos)
10371#define RCC_CFGR_PPRE1_2 (0x4UL << RCC_CFGR_PPRE1_Pos)
10373#define RCC_CFGR_PPRE1_DIV1 0x00000000U
10374#define RCC_CFGR_PPRE1_DIV2 0x00001000U
10375#define RCC_CFGR_PPRE1_DIV4 0x00001400U
10376#define RCC_CFGR_PPRE1_DIV8 0x00001800U
10377#define RCC_CFGR_PPRE1_DIV16 0x00001C00U
10380#define RCC_CFGR_PPRE2_Pos (13U)
10381#define RCC_CFGR_PPRE2_Msk (0x7UL << RCC_CFGR_PPRE2_Pos)
10382#define RCC_CFGR_PPRE2 RCC_CFGR_PPRE2_Msk
10383#define RCC_CFGR_PPRE2_0 (0x1UL << RCC_CFGR_PPRE2_Pos)
10384#define RCC_CFGR_PPRE2_1 (0x2UL << RCC_CFGR_PPRE2_Pos)
10385#define RCC_CFGR_PPRE2_2 (0x4UL << RCC_CFGR_PPRE2_Pos)
10387#define RCC_CFGR_PPRE2_DIV1 0x00000000U
10388#define RCC_CFGR_PPRE2_DIV2 0x00008000U
10389#define RCC_CFGR_PPRE2_DIV4 0x0000A000U
10390#define RCC_CFGR_PPRE2_DIV8 0x0000C000U
10391#define RCC_CFGR_PPRE2_DIV16 0x0000E000U
10394#define RCC_CFGR_RTCPRE_Pos (16U)
10395#define RCC_CFGR_RTCPRE_Msk (0x1FUL << RCC_CFGR_RTCPRE_Pos)
10396#define RCC_CFGR_RTCPRE RCC_CFGR_RTCPRE_Msk
10397#define RCC_CFGR_RTCPRE_0 (0x01UL << RCC_CFGR_RTCPRE_Pos)
10398#define RCC_CFGR_RTCPRE_1 (0x02UL << RCC_CFGR_RTCPRE_Pos)
10399#define RCC_CFGR_RTCPRE_2 (0x04UL << RCC_CFGR_RTCPRE_Pos)
10400#define RCC_CFGR_RTCPRE_3 (0x08UL << RCC_CFGR_RTCPRE_Pos)
10401#define RCC_CFGR_RTCPRE_4 (0x10UL << RCC_CFGR_RTCPRE_Pos)
10404#define RCC_CFGR_MCO1_Pos (21U)
10405#define RCC_CFGR_MCO1_Msk (0x3UL << RCC_CFGR_MCO1_Pos)
10406#define RCC_CFGR_MCO1 RCC_CFGR_MCO1_Msk
10407#define RCC_CFGR_MCO1_0 (0x1UL << RCC_CFGR_MCO1_Pos)
10408#define RCC_CFGR_MCO1_1 (0x2UL << RCC_CFGR_MCO1_Pos)
10410#define RCC_CFGR_I2SSRC_Pos (23U)
10411#define RCC_CFGR_I2SSRC_Msk (0x1UL << RCC_CFGR_I2SSRC_Pos)
10412#define RCC_CFGR_I2SSRC RCC_CFGR_I2SSRC_Msk
10413
10414#define RCC_CFGR_MCO1PRE_Pos (24U)
10415#define RCC_CFGR_MCO1PRE_Msk (0x7UL << RCC_CFGR_MCO1PRE_Pos)
10416#define RCC_CFGR_MCO1PRE RCC_CFGR_MCO1PRE_Msk
10417#define RCC_CFGR_MCO1PRE_0 (0x1UL << RCC_CFGR_MCO1PRE_Pos)
10418#define RCC_CFGR_MCO1PRE_1 (0x2UL << RCC_CFGR_MCO1PRE_Pos)
10419#define RCC_CFGR_MCO1PRE_2 (0x4UL << RCC_CFGR_MCO1PRE_Pos)
10421#define RCC_CFGR_MCO2PRE_Pos (27U)
10422#define RCC_CFGR_MCO2PRE_Msk (0x7UL << RCC_CFGR_MCO2PRE_Pos)
10423#define RCC_CFGR_MCO2PRE RCC_CFGR_MCO2PRE_Msk
10424#define RCC_CFGR_MCO2PRE_0 (0x1UL << RCC_CFGR_MCO2PRE_Pos)
10425#define RCC_CFGR_MCO2PRE_1 (0x2UL << RCC_CFGR_MCO2PRE_Pos)
10426#define RCC_CFGR_MCO2PRE_2 (0x4UL << RCC_CFGR_MCO2PRE_Pos)
10428#define RCC_CFGR_MCO2_Pos (30U)
10429#define RCC_CFGR_MCO2_Msk (0x3UL << RCC_CFGR_MCO2_Pos)
10430#define RCC_CFGR_MCO2 RCC_CFGR_MCO2_Msk
10431#define RCC_CFGR_MCO2_0 (0x1UL << RCC_CFGR_MCO2_Pos)
10432#define RCC_CFGR_MCO2_1 (0x2UL << RCC_CFGR_MCO2_Pos)
10434/******************** Bit definition for RCC_CIR register *******************/
10435#define RCC_CIR_LSIRDYF_Pos (0U)
10436#define RCC_CIR_LSIRDYF_Msk (0x1UL << RCC_CIR_LSIRDYF_Pos)
10437#define RCC_CIR_LSIRDYF RCC_CIR_LSIRDYF_Msk
10438#define RCC_CIR_LSERDYF_Pos (1U)
10439#define RCC_CIR_LSERDYF_Msk (0x1UL << RCC_CIR_LSERDYF_Pos)
10440#define RCC_CIR_LSERDYF RCC_CIR_LSERDYF_Msk
10441#define RCC_CIR_HSIRDYF_Pos (2U)
10442#define RCC_CIR_HSIRDYF_Msk (0x1UL << RCC_CIR_HSIRDYF_Pos)
10443#define RCC_CIR_HSIRDYF RCC_CIR_HSIRDYF_Msk
10444#define RCC_CIR_HSERDYF_Pos (3U)
10445#define RCC_CIR_HSERDYF_Msk (0x1UL << RCC_CIR_HSERDYF_Pos)
10446#define RCC_CIR_HSERDYF RCC_CIR_HSERDYF_Msk
10447#define RCC_CIR_PLLRDYF_Pos (4U)
10448#define RCC_CIR_PLLRDYF_Msk (0x1UL << RCC_CIR_PLLRDYF_Pos)
10449#define RCC_CIR_PLLRDYF RCC_CIR_PLLRDYF_Msk
10450#define RCC_CIR_PLLI2SRDYF_Pos (5U)
10451#define RCC_CIR_PLLI2SRDYF_Msk (0x1UL << RCC_CIR_PLLI2SRDYF_Pos)
10452#define RCC_CIR_PLLI2SRDYF RCC_CIR_PLLI2SRDYF_Msk
10453#define RCC_CIR_PLLSAIRDYF_Pos (6U)
10454#define RCC_CIR_PLLSAIRDYF_Msk (0x1UL << RCC_CIR_PLLSAIRDYF_Pos)
10455#define RCC_CIR_PLLSAIRDYF RCC_CIR_PLLSAIRDYF_Msk
10456#define RCC_CIR_CSSF_Pos (7U)
10457#define RCC_CIR_CSSF_Msk (0x1UL << RCC_CIR_CSSF_Pos)
10458#define RCC_CIR_CSSF RCC_CIR_CSSF_Msk
10459#define RCC_CIR_LSIRDYIE_Pos (8U)
10460#define RCC_CIR_LSIRDYIE_Msk (0x1UL << RCC_CIR_LSIRDYIE_Pos)
10461#define RCC_CIR_LSIRDYIE RCC_CIR_LSIRDYIE_Msk
10462#define RCC_CIR_LSERDYIE_Pos (9U)
10463#define RCC_CIR_LSERDYIE_Msk (0x1UL << RCC_CIR_LSERDYIE_Pos)
10464#define RCC_CIR_LSERDYIE RCC_CIR_LSERDYIE_Msk
10465#define RCC_CIR_HSIRDYIE_Pos (10U)
10466#define RCC_CIR_HSIRDYIE_Msk (0x1UL << RCC_CIR_HSIRDYIE_Pos)
10467#define RCC_CIR_HSIRDYIE RCC_CIR_HSIRDYIE_Msk
10468#define RCC_CIR_HSERDYIE_Pos (11U)
10469#define RCC_CIR_HSERDYIE_Msk (0x1UL << RCC_CIR_HSERDYIE_Pos)
10470#define RCC_CIR_HSERDYIE RCC_CIR_HSERDYIE_Msk
10471#define RCC_CIR_PLLRDYIE_Pos (12U)
10472#define RCC_CIR_PLLRDYIE_Msk (0x1UL << RCC_CIR_PLLRDYIE_Pos)
10473#define RCC_CIR_PLLRDYIE RCC_CIR_PLLRDYIE_Msk
10474#define RCC_CIR_PLLI2SRDYIE_Pos (13U)
10475#define RCC_CIR_PLLI2SRDYIE_Msk (0x1UL << RCC_CIR_PLLI2SRDYIE_Pos)
10476#define RCC_CIR_PLLI2SRDYIE RCC_CIR_PLLI2SRDYIE_Msk
10477#define RCC_CIR_PLLSAIRDYIE_Pos (14U)
10478#define RCC_CIR_PLLSAIRDYIE_Msk (0x1UL << RCC_CIR_PLLSAIRDYIE_Pos)
10479#define RCC_CIR_PLLSAIRDYIE RCC_CIR_PLLSAIRDYIE_Msk
10480#define RCC_CIR_LSIRDYC_Pos (16U)
10481#define RCC_CIR_LSIRDYC_Msk (0x1UL << RCC_CIR_LSIRDYC_Pos)
10482#define RCC_CIR_LSIRDYC RCC_CIR_LSIRDYC_Msk
10483#define RCC_CIR_LSERDYC_Pos (17U)
10484#define RCC_CIR_LSERDYC_Msk (0x1UL << RCC_CIR_LSERDYC_Pos)
10485#define RCC_CIR_LSERDYC RCC_CIR_LSERDYC_Msk
10486#define RCC_CIR_HSIRDYC_Pos (18U)
10487#define RCC_CIR_HSIRDYC_Msk (0x1UL << RCC_CIR_HSIRDYC_Pos)
10488#define RCC_CIR_HSIRDYC RCC_CIR_HSIRDYC_Msk
10489#define RCC_CIR_HSERDYC_Pos (19U)
10490#define RCC_CIR_HSERDYC_Msk (0x1UL << RCC_CIR_HSERDYC_Pos)
10491#define RCC_CIR_HSERDYC RCC_CIR_HSERDYC_Msk
10492#define RCC_CIR_PLLRDYC_Pos (20U)
10493#define RCC_CIR_PLLRDYC_Msk (0x1UL << RCC_CIR_PLLRDYC_Pos)
10494#define RCC_CIR_PLLRDYC RCC_CIR_PLLRDYC_Msk
10495#define RCC_CIR_PLLI2SRDYC_Pos (21U)
10496#define RCC_CIR_PLLI2SRDYC_Msk (0x1UL << RCC_CIR_PLLI2SRDYC_Pos)
10497#define RCC_CIR_PLLI2SRDYC RCC_CIR_PLLI2SRDYC_Msk
10498#define RCC_CIR_PLLSAIRDYC_Pos (22U)
10499#define RCC_CIR_PLLSAIRDYC_Msk (0x1UL << RCC_CIR_PLLSAIRDYC_Pos)
10500#define RCC_CIR_PLLSAIRDYC RCC_CIR_PLLSAIRDYC_Msk
10501#define RCC_CIR_CSSC_Pos (23U)
10502#define RCC_CIR_CSSC_Msk (0x1UL << RCC_CIR_CSSC_Pos)
10503#define RCC_CIR_CSSC RCC_CIR_CSSC_Msk
10504
10505/******************** Bit definition for RCC_AHB1RSTR register **************/
10506#define RCC_AHB1RSTR_GPIOARST_Pos (0U)
10507#define RCC_AHB1RSTR_GPIOARST_Msk (0x1UL << RCC_AHB1RSTR_GPIOARST_Pos)
10508#define RCC_AHB1RSTR_GPIOARST RCC_AHB1RSTR_GPIOARST_Msk
10509#define RCC_AHB1RSTR_GPIOBRST_Pos (1U)
10510#define RCC_AHB1RSTR_GPIOBRST_Msk (0x1UL << RCC_AHB1RSTR_GPIOBRST_Pos)
10511#define RCC_AHB1RSTR_GPIOBRST RCC_AHB1RSTR_GPIOBRST_Msk
10512#define RCC_AHB1RSTR_GPIOCRST_Pos (2U)
10513#define RCC_AHB1RSTR_GPIOCRST_Msk (0x1UL << RCC_AHB1RSTR_GPIOCRST_Pos)
10514#define RCC_AHB1RSTR_GPIOCRST RCC_AHB1RSTR_GPIOCRST_Msk
10515#define RCC_AHB1RSTR_GPIODRST_Pos (3U)
10516#define RCC_AHB1RSTR_GPIODRST_Msk (0x1UL << RCC_AHB1RSTR_GPIODRST_Pos)
10517#define RCC_AHB1RSTR_GPIODRST RCC_AHB1RSTR_GPIODRST_Msk
10518#define RCC_AHB1RSTR_GPIOERST_Pos (4U)
10519#define RCC_AHB1RSTR_GPIOERST_Msk (0x1UL << RCC_AHB1RSTR_GPIOERST_Pos)
10520#define RCC_AHB1RSTR_GPIOERST RCC_AHB1RSTR_GPIOERST_Msk
10521#define RCC_AHB1RSTR_GPIOFRST_Pos (5U)
10522#define RCC_AHB1RSTR_GPIOFRST_Msk (0x1UL << RCC_AHB1RSTR_GPIOFRST_Pos)
10523#define RCC_AHB1RSTR_GPIOFRST RCC_AHB1RSTR_GPIOFRST_Msk
10524#define RCC_AHB1RSTR_GPIOGRST_Pos (6U)
10525#define RCC_AHB1RSTR_GPIOGRST_Msk (0x1UL << RCC_AHB1RSTR_GPIOGRST_Pos)
10526#define RCC_AHB1RSTR_GPIOGRST RCC_AHB1RSTR_GPIOGRST_Msk
10527#define RCC_AHB1RSTR_GPIOHRST_Pos (7U)
10528#define RCC_AHB1RSTR_GPIOHRST_Msk (0x1UL << RCC_AHB1RSTR_GPIOHRST_Pos)
10529#define RCC_AHB1RSTR_GPIOHRST RCC_AHB1RSTR_GPIOHRST_Msk
10530#define RCC_AHB1RSTR_GPIOIRST_Pos (8U)
10531#define RCC_AHB1RSTR_GPIOIRST_Msk (0x1UL << RCC_AHB1RSTR_GPIOIRST_Pos)
10532#define RCC_AHB1RSTR_GPIOIRST RCC_AHB1RSTR_GPIOIRST_Msk
10533#define RCC_AHB1RSTR_GPIOJRST_Pos (9U)
10534#define RCC_AHB1RSTR_GPIOJRST_Msk (0x1UL << RCC_AHB1RSTR_GPIOJRST_Pos)
10535#define RCC_AHB1RSTR_GPIOJRST RCC_AHB1RSTR_GPIOJRST_Msk
10536#define RCC_AHB1RSTR_GPIOKRST_Pos (10U)
10537#define RCC_AHB1RSTR_GPIOKRST_Msk (0x1UL << RCC_AHB1RSTR_GPIOKRST_Pos)
10538#define RCC_AHB1RSTR_GPIOKRST RCC_AHB1RSTR_GPIOKRST_Msk
10539#define RCC_AHB1RSTR_CRCRST_Pos (12U)
10540#define RCC_AHB1RSTR_CRCRST_Msk (0x1UL << RCC_AHB1RSTR_CRCRST_Pos)
10541#define RCC_AHB1RSTR_CRCRST RCC_AHB1RSTR_CRCRST_Msk
10542#define RCC_AHB1RSTR_DMA1RST_Pos (21U)
10543#define RCC_AHB1RSTR_DMA1RST_Msk (0x1UL << RCC_AHB1RSTR_DMA1RST_Pos)
10544#define RCC_AHB1RSTR_DMA1RST RCC_AHB1RSTR_DMA1RST_Msk
10545#define RCC_AHB1RSTR_DMA2RST_Pos (22U)
10546#define RCC_AHB1RSTR_DMA2RST_Msk (0x1UL << RCC_AHB1RSTR_DMA2RST_Pos)
10547#define RCC_AHB1RSTR_DMA2RST RCC_AHB1RSTR_DMA2RST_Msk
10548#define RCC_AHB1RSTR_DMA2DRST_Pos (23U)
10549#define RCC_AHB1RSTR_DMA2DRST_Msk (0x1UL << RCC_AHB1RSTR_DMA2DRST_Pos)
10550#define RCC_AHB1RSTR_DMA2DRST RCC_AHB1RSTR_DMA2DRST_Msk
10551#define RCC_AHB1RSTR_ETHMACRST_Pos (25U)
10552#define RCC_AHB1RSTR_ETHMACRST_Msk (0x1UL << RCC_AHB1RSTR_ETHMACRST_Pos)
10553#define RCC_AHB1RSTR_ETHMACRST RCC_AHB1RSTR_ETHMACRST_Msk
10554#define RCC_AHB1RSTR_OTGHRST_Pos (29U)
10555#define RCC_AHB1RSTR_OTGHRST_Msk (0x1UL << RCC_AHB1RSTR_OTGHRST_Pos)
10556#define RCC_AHB1RSTR_OTGHRST RCC_AHB1RSTR_OTGHRST_Msk
10557
10558/******************** Bit definition for RCC_AHB2RSTR register **************/
10559#define RCC_AHB2RSTR_DCMIRST_Pos (0U)
10560#define RCC_AHB2RSTR_DCMIRST_Msk (0x1UL << RCC_AHB2RSTR_DCMIRST_Pos)
10561#define RCC_AHB2RSTR_DCMIRST RCC_AHB2RSTR_DCMIRST_Msk
10562#define RCC_AHB2RSTR_RNGRST_Pos (6U)
10563#define RCC_AHB2RSTR_RNGRST_Msk (0x1UL << RCC_AHB2RSTR_RNGRST_Pos)
10564#define RCC_AHB2RSTR_RNGRST RCC_AHB2RSTR_RNGRST_Msk
10565#define RCC_AHB2RSTR_OTGFSRST_Pos (7U)
10566#define RCC_AHB2RSTR_OTGFSRST_Msk (0x1UL << RCC_AHB2RSTR_OTGFSRST_Pos)
10567#define RCC_AHB2RSTR_OTGFSRST RCC_AHB2RSTR_OTGFSRST_Msk
10568
10569/******************** Bit definition for RCC_AHB3RSTR register **************/
10570
10571#define RCC_AHB3RSTR_FMCRST_Pos (0U)
10572#define RCC_AHB3RSTR_FMCRST_Msk (0x1UL << RCC_AHB3RSTR_FMCRST_Pos)
10573#define RCC_AHB3RSTR_FMCRST RCC_AHB3RSTR_FMCRST_Msk
10574#define RCC_AHB3RSTR_QSPIRST_Pos (1U)
10575#define RCC_AHB3RSTR_QSPIRST_Msk (0x1UL << RCC_AHB3RSTR_QSPIRST_Pos)
10576#define RCC_AHB3RSTR_QSPIRST RCC_AHB3RSTR_QSPIRST_Msk
10577
10578/******************** Bit definition for RCC_APB1RSTR register **************/
10579#define RCC_APB1RSTR_TIM2RST_Pos (0U)
10580#define RCC_APB1RSTR_TIM2RST_Msk (0x1UL << RCC_APB1RSTR_TIM2RST_Pos)
10581#define RCC_APB1RSTR_TIM2RST RCC_APB1RSTR_TIM2RST_Msk
10582#define RCC_APB1RSTR_TIM3RST_Pos (1U)
10583#define RCC_APB1RSTR_TIM3RST_Msk (0x1UL << RCC_APB1RSTR_TIM3RST_Pos)
10584#define RCC_APB1RSTR_TIM3RST RCC_APB1RSTR_TIM3RST_Msk
10585#define RCC_APB1RSTR_TIM4RST_Pos (2U)
10586#define RCC_APB1RSTR_TIM4RST_Msk (0x1UL << RCC_APB1RSTR_TIM4RST_Pos)
10587#define RCC_APB1RSTR_TIM4RST RCC_APB1RSTR_TIM4RST_Msk
10588#define RCC_APB1RSTR_TIM5RST_Pos (3U)
10589#define RCC_APB1RSTR_TIM5RST_Msk (0x1UL << RCC_APB1RSTR_TIM5RST_Pos)
10590#define RCC_APB1RSTR_TIM5RST RCC_APB1RSTR_TIM5RST_Msk
10591#define RCC_APB1RSTR_TIM6RST_Pos (4U)
10592#define RCC_APB1RSTR_TIM6RST_Msk (0x1UL << RCC_APB1RSTR_TIM6RST_Pos)
10593#define RCC_APB1RSTR_TIM6RST RCC_APB1RSTR_TIM6RST_Msk
10594#define RCC_APB1RSTR_TIM7RST_Pos (5U)
10595#define RCC_APB1RSTR_TIM7RST_Msk (0x1UL << RCC_APB1RSTR_TIM7RST_Pos)
10596#define RCC_APB1RSTR_TIM7RST RCC_APB1RSTR_TIM7RST_Msk
10597#define RCC_APB1RSTR_TIM12RST_Pos (6U)
10598#define RCC_APB1RSTR_TIM12RST_Msk (0x1UL << RCC_APB1RSTR_TIM12RST_Pos)
10599#define RCC_APB1RSTR_TIM12RST RCC_APB1RSTR_TIM12RST_Msk
10600#define RCC_APB1RSTR_TIM13RST_Pos (7U)
10601#define RCC_APB1RSTR_TIM13RST_Msk (0x1UL << RCC_APB1RSTR_TIM13RST_Pos)
10602#define RCC_APB1RSTR_TIM13RST RCC_APB1RSTR_TIM13RST_Msk
10603#define RCC_APB1RSTR_TIM14RST_Pos (8U)
10604#define RCC_APB1RSTR_TIM14RST_Msk (0x1UL << RCC_APB1RSTR_TIM14RST_Pos)
10605#define RCC_APB1RSTR_TIM14RST RCC_APB1RSTR_TIM14RST_Msk
10606#define RCC_APB1RSTR_LPTIM1RST_Pos (9U)
10607#define RCC_APB1RSTR_LPTIM1RST_Msk (0x1UL << RCC_APB1RSTR_LPTIM1RST_Pos)
10608#define RCC_APB1RSTR_LPTIM1RST RCC_APB1RSTR_LPTIM1RST_Msk
10609#define RCC_APB1RSTR_WWDGRST_Pos (11U)
10610#define RCC_APB1RSTR_WWDGRST_Msk (0x1UL << RCC_APB1RSTR_WWDGRST_Pos)
10611#define RCC_APB1RSTR_WWDGRST RCC_APB1RSTR_WWDGRST_Msk
10612#define RCC_APB1RSTR_SPI2RST_Pos (14U)
10613#define RCC_APB1RSTR_SPI2RST_Msk (0x1UL << RCC_APB1RSTR_SPI2RST_Pos)
10614#define RCC_APB1RSTR_SPI2RST RCC_APB1RSTR_SPI2RST_Msk
10615#define RCC_APB1RSTR_SPI3RST_Pos (15U)
10616#define RCC_APB1RSTR_SPI3RST_Msk (0x1UL << RCC_APB1RSTR_SPI3RST_Pos)
10617#define RCC_APB1RSTR_SPI3RST RCC_APB1RSTR_SPI3RST_Msk
10618#define RCC_APB1RSTR_SPDIFRXRST_Pos (16U)
10619#define RCC_APB1RSTR_SPDIFRXRST_Msk (0x1UL << RCC_APB1RSTR_SPDIFRXRST_Pos)
10620#define RCC_APB1RSTR_SPDIFRXRST RCC_APB1RSTR_SPDIFRXRST_Msk
10621#define RCC_APB1RSTR_USART2RST_Pos (17U)
10622#define RCC_APB1RSTR_USART2RST_Msk (0x1UL << RCC_APB1RSTR_USART2RST_Pos)
10623#define RCC_APB1RSTR_USART2RST RCC_APB1RSTR_USART2RST_Msk
10624#define RCC_APB1RSTR_USART3RST_Pos (18U)
10625#define RCC_APB1RSTR_USART3RST_Msk (0x1UL << RCC_APB1RSTR_USART3RST_Pos)
10626#define RCC_APB1RSTR_USART3RST RCC_APB1RSTR_USART3RST_Msk
10627#define RCC_APB1RSTR_UART4RST_Pos (19U)
10628#define RCC_APB1RSTR_UART4RST_Msk (0x1UL << RCC_APB1RSTR_UART4RST_Pos)
10629#define RCC_APB1RSTR_UART4RST RCC_APB1RSTR_UART4RST_Msk
10630#define RCC_APB1RSTR_UART5RST_Pos (20U)
10631#define RCC_APB1RSTR_UART5RST_Msk (0x1UL << RCC_APB1RSTR_UART5RST_Pos)
10632#define RCC_APB1RSTR_UART5RST RCC_APB1RSTR_UART5RST_Msk
10633#define RCC_APB1RSTR_I2C1RST_Pos (21U)
10634#define RCC_APB1RSTR_I2C1RST_Msk (0x1UL << RCC_APB1RSTR_I2C1RST_Pos)
10635#define RCC_APB1RSTR_I2C1RST RCC_APB1RSTR_I2C1RST_Msk
10636#define RCC_APB1RSTR_I2C2RST_Pos (22U)
10637#define RCC_APB1RSTR_I2C2RST_Msk (0x1UL << RCC_APB1RSTR_I2C2RST_Pos)
10638#define RCC_APB1RSTR_I2C2RST RCC_APB1RSTR_I2C2RST_Msk
10639#define RCC_APB1RSTR_I2C3RST_Pos (23U)
10640#define RCC_APB1RSTR_I2C3RST_Msk (0x1UL << RCC_APB1RSTR_I2C3RST_Pos)
10641#define RCC_APB1RSTR_I2C3RST RCC_APB1RSTR_I2C3RST_Msk
10642#define RCC_APB1RSTR_I2C4RST_Pos (24U)
10643#define RCC_APB1RSTR_I2C4RST_Msk (0x1UL << RCC_APB1RSTR_I2C4RST_Pos)
10644#define RCC_APB1RSTR_I2C4RST RCC_APB1RSTR_I2C4RST_Msk
10645#define RCC_APB1RSTR_CAN1RST_Pos (25U)
10646#define RCC_APB1RSTR_CAN1RST_Msk (0x1UL << RCC_APB1RSTR_CAN1RST_Pos)
10647#define RCC_APB1RSTR_CAN1RST RCC_APB1RSTR_CAN1RST_Msk
10648#define RCC_APB1RSTR_CAN2RST_Pos (26U)
10649#define RCC_APB1RSTR_CAN2RST_Msk (0x1UL << RCC_APB1RSTR_CAN2RST_Pos)
10650#define RCC_APB1RSTR_CAN2RST RCC_APB1RSTR_CAN2RST_Msk
10651#define RCC_APB1RSTR_CECRST_Pos (27U)
10652#define RCC_APB1RSTR_CECRST_Msk (0x1UL << RCC_APB1RSTR_CECRST_Pos)
10653#define RCC_APB1RSTR_CECRST RCC_APB1RSTR_CECRST_Msk
10654#define RCC_APB1RSTR_PWRRST_Pos (28U)
10655#define RCC_APB1RSTR_PWRRST_Msk (0x1UL << RCC_APB1RSTR_PWRRST_Pos)
10656#define RCC_APB1RSTR_PWRRST RCC_APB1RSTR_PWRRST_Msk
10657#define RCC_APB1RSTR_DACRST_Pos (29U)
10658#define RCC_APB1RSTR_DACRST_Msk (0x1UL << RCC_APB1RSTR_DACRST_Pos)
10659#define RCC_APB1RSTR_DACRST RCC_APB1RSTR_DACRST_Msk
10660#define RCC_APB1RSTR_UART7RST_Pos (30U)
10661#define RCC_APB1RSTR_UART7RST_Msk (0x1UL << RCC_APB1RSTR_UART7RST_Pos)
10662#define RCC_APB1RSTR_UART7RST RCC_APB1RSTR_UART7RST_Msk
10663#define RCC_APB1RSTR_UART8RST_Pos (31U)
10664#define RCC_APB1RSTR_UART8RST_Msk (0x1UL << RCC_APB1RSTR_UART8RST_Pos)
10665#define RCC_APB1RSTR_UART8RST RCC_APB1RSTR_UART8RST_Msk
10666
10667/******************** Bit definition for RCC_APB2RSTR register **************/
10668#define RCC_APB2RSTR_TIM1RST_Pos (0U)
10669#define RCC_APB2RSTR_TIM1RST_Msk (0x1UL << RCC_APB2RSTR_TIM1RST_Pos)
10670#define RCC_APB2RSTR_TIM1RST RCC_APB2RSTR_TIM1RST_Msk
10671#define RCC_APB2RSTR_TIM8RST_Pos (1U)
10672#define RCC_APB2RSTR_TIM8RST_Msk (0x1UL << RCC_APB2RSTR_TIM8RST_Pos)
10673#define RCC_APB2RSTR_TIM8RST RCC_APB2RSTR_TIM8RST_Msk
10674#define RCC_APB2RSTR_USART1RST_Pos (4U)
10675#define RCC_APB2RSTR_USART1RST_Msk (0x1UL << RCC_APB2RSTR_USART1RST_Pos)
10676#define RCC_APB2RSTR_USART1RST RCC_APB2RSTR_USART1RST_Msk
10677#define RCC_APB2RSTR_USART6RST_Pos (5U)
10678#define RCC_APB2RSTR_USART6RST_Msk (0x1UL << RCC_APB2RSTR_USART6RST_Pos)
10679#define RCC_APB2RSTR_USART6RST RCC_APB2RSTR_USART6RST_Msk
10680#define RCC_APB2RSTR_ADCRST_Pos (8U)
10681#define RCC_APB2RSTR_ADCRST_Msk (0x1UL << RCC_APB2RSTR_ADCRST_Pos)
10682#define RCC_APB2RSTR_ADCRST RCC_APB2RSTR_ADCRST_Msk
10683#define RCC_APB2RSTR_SDMMC1RST_Pos (11U)
10684#define RCC_APB2RSTR_SDMMC1RST_Msk (0x1UL << RCC_APB2RSTR_SDMMC1RST_Pos)
10685#define RCC_APB2RSTR_SDMMC1RST RCC_APB2RSTR_SDMMC1RST_Msk
10686#define RCC_APB2RSTR_SPI1RST_Pos (12U)
10687#define RCC_APB2RSTR_SPI1RST_Msk (0x1UL << RCC_APB2RSTR_SPI1RST_Pos)
10688#define RCC_APB2RSTR_SPI1RST RCC_APB2RSTR_SPI1RST_Msk
10689#define RCC_APB2RSTR_SPI4RST_Pos (13U)
10690#define RCC_APB2RSTR_SPI4RST_Msk (0x1UL << RCC_APB2RSTR_SPI4RST_Pos)
10691#define RCC_APB2RSTR_SPI4RST RCC_APB2RSTR_SPI4RST_Msk
10692#define RCC_APB2RSTR_SYSCFGRST_Pos (14U)
10693#define RCC_APB2RSTR_SYSCFGRST_Msk (0x1UL << RCC_APB2RSTR_SYSCFGRST_Pos)
10694#define RCC_APB2RSTR_SYSCFGRST RCC_APB2RSTR_SYSCFGRST_Msk
10695#define RCC_APB2RSTR_TIM9RST_Pos (16U)
10696#define RCC_APB2RSTR_TIM9RST_Msk (0x1UL << RCC_APB2RSTR_TIM9RST_Pos)
10697#define RCC_APB2RSTR_TIM9RST RCC_APB2RSTR_TIM9RST_Msk
10698#define RCC_APB2RSTR_TIM10RST_Pos (17U)
10699#define RCC_APB2RSTR_TIM10RST_Msk (0x1UL << RCC_APB2RSTR_TIM10RST_Pos)
10700#define RCC_APB2RSTR_TIM10RST RCC_APB2RSTR_TIM10RST_Msk
10701#define RCC_APB2RSTR_TIM11RST_Pos (18U)
10702#define RCC_APB2RSTR_TIM11RST_Msk (0x1UL << RCC_APB2RSTR_TIM11RST_Pos)
10703#define RCC_APB2RSTR_TIM11RST RCC_APB2RSTR_TIM11RST_Msk
10704#define RCC_APB2RSTR_SPI5RST_Pos (20U)
10705#define RCC_APB2RSTR_SPI5RST_Msk (0x1UL << RCC_APB2RSTR_SPI5RST_Pos)
10706#define RCC_APB2RSTR_SPI5RST RCC_APB2RSTR_SPI5RST_Msk
10707#define RCC_APB2RSTR_SPI6RST_Pos (21U)
10708#define RCC_APB2RSTR_SPI6RST_Msk (0x1UL << RCC_APB2RSTR_SPI6RST_Pos)
10709#define RCC_APB2RSTR_SPI6RST RCC_APB2RSTR_SPI6RST_Msk
10710#define RCC_APB2RSTR_SAI1RST_Pos (22U)
10711#define RCC_APB2RSTR_SAI1RST_Msk (0x1UL << RCC_APB2RSTR_SAI1RST_Pos)
10712#define RCC_APB2RSTR_SAI1RST RCC_APB2RSTR_SAI1RST_Msk
10713#define RCC_APB2RSTR_SAI2RST_Pos (23U)
10714#define RCC_APB2RSTR_SAI2RST_Msk (0x1UL << RCC_APB2RSTR_SAI2RST_Pos)
10715#define RCC_APB2RSTR_SAI2RST RCC_APB2RSTR_SAI2RST_Msk
10716#define RCC_APB2RSTR_LTDCRST_Pos (26U)
10717#define RCC_APB2RSTR_LTDCRST_Msk (0x1UL << RCC_APB2RSTR_LTDCRST_Pos)
10718#define RCC_APB2RSTR_LTDCRST RCC_APB2RSTR_LTDCRST_Msk
10719
10720/******************** Bit definition for RCC_AHB1ENR register ***************/
10721#define RCC_AHB1ENR_GPIOAEN_Pos (0U)
10722#define RCC_AHB1ENR_GPIOAEN_Msk (0x1UL << RCC_AHB1ENR_GPIOAEN_Pos)
10723#define RCC_AHB1ENR_GPIOAEN RCC_AHB1ENR_GPIOAEN_Msk
10724#define RCC_AHB1ENR_GPIOBEN_Pos (1U)
10725#define RCC_AHB1ENR_GPIOBEN_Msk (0x1UL << RCC_AHB1ENR_GPIOBEN_Pos)
10726#define RCC_AHB1ENR_GPIOBEN RCC_AHB1ENR_GPIOBEN_Msk
10727#define RCC_AHB1ENR_GPIOCEN_Pos (2U)
10728#define RCC_AHB1ENR_GPIOCEN_Msk (0x1UL << RCC_AHB1ENR_GPIOCEN_Pos)
10729#define RCC_AHB1ENR_GPIOCEN RCC_AHB1ENR_GPIOCEN_Msk
10730#define RCC_AHB1ENR_GPIODEN_Pos (3U)
10731#define RCC_AHB1ENR_GPIODEN_Msk (0x1UL << RCC_AHB1ENR_GPIODEN_Pos)
10732#define RCC_AHB1ENR_GPIODEN RCC_AHB1ENR_GPIODEN_Msk
10733#define RCC_AHB1ENR_GPIOEEN_Pos (4U)
10734#define RCC_AHB1ENR_GPIOEEN_Msk (0x1UL << RCC_AHB1ENR_GPIOEEN_Pos)
10735#define RCC_AHB1ENR_GPIOEEN RCC_AHB1ENR_GPIOEEN_Msk
10736#define RCC_AHB1ENR_GPIOFEN_Pos (5U)
10737#define RCC_AHB1ENR_GPIOFEN_Msk (0x1UL << RCC_AHB1ENR_GPIOFEN_Pos)
10738#define RCC_AHB1ENR_GPIOFEN RCC_AHB1ENR_GPIOFEN_Msk
10739#define RCC_AHB1ENR_GPIOGEN_Pos (6U)
10740#define RCC_AHB1ENR_GPIOGEN_Msk (0x1UL << RCC_AHB1ENR_GPIOGEN_Pos)
10741#define RCC_AHB1ENR_GPIOGEN RCC_AHB1ENR_GPIOGEN_Msk
10742#define RCC_AHB1ENR_GPIOHEN_Pos (7U)
10743#define RCC_AHB1ENR_GPIOHEN_Msk (0x1UL << RCC_AHB1ENR_GPIOHEN_Pos)
10744#define RCC_AHB1ENR_GPIOHEN RCC_AHB1ENR_GPIOHEN_Msk
10745#define RCC_AHB1ENR_GPIOIEN_Pos (8U)
10746#define RCC_AHB1ENR_GPIOIEN_Msk (0x1UL << RCC_AHB1ENR_GPIOIEN_Pos)
10747#define RCC_AHB1ENR_GPIOIEN RCC_AHB1ENR_GPIOIEN_Msk
10748#define RCC_AHB1ENR_GPIOJEN_Pos (9U)
10749#define RCC_AHB1ENR_GPIOJEN_Msk (0x1UL << RCC_AHB1ENR_GPIOJEN_Pos)
10750#define RCC_AHB1ENR_GPIOJEN RCC_AHB1ENR_GPIOJEN_Msk
10751#define RCC_AHB1ENR_GPIOKEN_Pos (10U)
10752#define RCC_AHB1ENR_GPIOKEN_Msk (0x1UL << RCC_AHB1ENR_GPIOKEN_Pos)
10753#define RCC_AHB1ENR_GPIOKEN RCC_AHB1ENR_GPIOKEN_Msk
10754#define RCC_AHB1ENR_CRCEN_Pos (12U)
10755#define RCC_AHB1ENR_CRCEN_Msk (0x1UL << RCC_AHB1ENR_CRCEN_Pos)
10756#define RCC_AHB1ENR_CRCEN RCC_AHB1ENR_CRCEN_Msk
10757#define RCC_AHB1ENR_BKPSRAMEN_Pos (18U)
10758#define RCC_AHB1ENR_BKPSRAMEN_Msk (0x1UL << RCC_AHB1ENR_BKPSRAMEN_Pos)
10759#define RCC_AHB1ENR_BKPSRAMEN RCC_AHB1ENR_BKPSRAMEN_Msk
10760#define RCC_AHB1ENR_DTCMRAMEN_Pos (20U)
10761#define RCC_AHB1ENR_DTCMRAMEN_Msk (0x1UL << RCC_AHB1ENR_DTCMRAMEN_Pos)
10762#define RCC_AHB1ENR_DTCMRAMEN RCC_AHB1ENR_DTCMRAMEN_Msk
10763#define RCC_AHB1ENR_DMA1EN_Pos (21U)
10764#define RCC_AHB1ENR_DMA1EN_Msk (0x1UL << RCC_AHB1ENR_DMA1EN_Pos)
10765#define RCC_AHB1ENR_DMA1EN RCC_AHB1ENR_DMA1EN_Msk
10766#define RCC_AHB1ENR_DMA2EN_Pos (22U)
10767#define RCC_AHB1ENR_DMA2EN_Msk (0x1UL << RCC_AHB1ENR_DMA2EN_Pos)
10768#define RCC_AHB1ENR_DMA2EN RCC_AHB1ENR_DMA2EN_Msk
10769#define RCC_AHB1ENR_DMA2DEN_Pos (23U)
10770#define RCC_AHB1ENR_DMA2DEN_Msk (0x1UL << RCC_AHB1ENR_DMA2DEN_Pos)
10771#define RCC_AHB1ENR_DMA2DEN RCC_AHB1ENR_DMA2DEN_Msk
10772#define RCC_AHB1ENR_ETHMACEN_Pos (25U)
10773#define RCC_AHB1ENR_ETHMACEN_Msk (0x1UL << RCC_AHB1ENR_ETHMACEN_Pos)
10774#define RCC_AHB1ENR_ETHMACEN RCC_AHB1ENR_ETHMACEN_Msk
10775#define RCC_AHB1ENR_ETHMACTXEN_Pos (26U)
10776#define RCC_AHB1ENR_ETHMACTXEN_Msk (0x1UL << RCC_AHB1ENR_ETHMACTXEN_Pos)
10777#define RCC_AHB1ENR_ETHMACTXEN RCC_AHB1ENR_ETHMACTXEN_Msk
10778#define RCC_AHB1ENR_ETHMACRXEN_Pos (27U)
10779#define RCC_AHB1ENR_ETHMACRXEN_Msk (0x1UL << RCC_AHB1ENR_ETHMACRXEN_Pos)
10780#define RCC_AHB1ENR_ETHMACRXEN RCC_AHB1ENR_ETHMACRXEN_Msk
10781#define RCC_AHB1ENR_ETHMACPTPEN_Pos (28U)
10782#define RCC_AHB1ENR_ETHMACPTPEN_Msk (0x1UL << RCC_AHB1ENR_ETHMACPTPEN_Pos)
10783#define RCC_AHB1ENR_ETHMACPTPEN RCC_AHB1ENR_ETHMACPTPEN_Msk
10784#define RCC_AHB1ENR_OTGHSEN_Pos (29U)
10785#define RCC_AHB1ENR_OTGHSEN_Msk (0x1UL << RCC_AHB1ENR_OTGHSEN_Pos)
10786#define RCC_AHB1ENR_OTGHSEN RCC_AHB1ENR_OTGHSEN_Msk
10787#define RCC_AHB1ENR_OTGHSULPIEN_Pos (30U)
10788#define RCC_AHB1ENR_OTGHSULPIEN_Msk (0x1UL << RCC_AHB1ENR_OTGHSULPIEN_Pos)
10789#define RCC_AHB1ENR_OTGHSULPIEN RCC_AHB1ENR_OTGHSULPIEN_Msk
10790
10791/******************** Bit definition for RCC_AHB2ENR register ***************/
10792#define RCC_AHB2ENR_DCMIEN_Pos (0U)
10793#define RCC_AHB2ENR_DCMIEN_Msk (0x1UL << RCC_AHB2ENR_DCMIEN_Pos)
10794#define RCC_AHB2ENR_DCMIEN RCC_AHB2ENR_DCMIEN_Msk
10795#define RCC_AHB2ENR_RNGEN_Pos (6U)
10796#define RCC_AHB2ENR_RNGEN_Msk (0x1UL << RCC_AHB2ENR_RNGEN_Pos)
10797#define RCC_AHB2ENR_RNGEN RCC_AHB2ENR_RNGEN_Msk
10798#define RCC_AHB2ENR_OTGFSEN_Pos (7U)
10799#define RCC_AHB2ENR_OTGFSEN_Msk (0x1UL << RCC_AHB2ENR_OTGFSEN_Pos)
10800#define RCC_AHB2ENR_OTGFSEN RCC_AHB2ENR_OTGFSEN_Msk
10801
10802/******************** Bit definition for RCC_AHB3ENR register ***************/
10803#define RCC_AHB3ENR_FMCEN_Pos (0U)
10804#define RCC_AHB3ENR_FMCEN_Msk (0x1UL << RCC_AHB3ENR_FMCEN_Pos)
10805#define RCC_AHB3ENR_FMCEN RCC_AHB3ENR_FMCEN_Msk
10806#define RCC_AHB3ENR_QSPIEN_Pos (1U)
10807#define RCC_AHB3ENR_QSPIEN_Msk (0x1UL << RCC_AHB3ENR_QSPIEN_Pos)
10808#define RCC_AHB3ENR_QSPIEN RCC_AHB3ENR_QSPIEN_Msk
10809
10810/******************** Bit definition for RCC_APB1ENR register ***************/
10811#define RCC_APB1ENR_TIM2EN_Pos (0U)
10812#define RCC_APB1ENR_TIM2EN_Msk (0x1UL << RCC_APB1ENR_TIM2EN_Pos)
10813#define RCC_APB1ENR_TIM2EN RCC_APB1ENR_TIM2EN_Msk
10814#define RCC_APB1ENR_TIM3EN_Pos (1U)
10815#define RCC_APB1ENR_TIM3EN_Msk (0x1UL << RCC_APB1ENR_TIM3EN_Pos)
10816#define RCC_APB1ENR_TIM3EN RCC_APB1ENR_TIM3EN_Msk
10817#define RCC_APB1ENR_TIM4EN_Pos (2U)
10818#define RCC_APB1ENR_TIM4EN_Msk (0x1UL << RCC_APB1ENR_TIM4EN_Pos)
10819#define RCC_APB1ENR_TIM4EN RCC_APB1ENR_TIM4EN_Msk
10820#define RCC_APB1ENR_TIM5EN_Pos (3U)
10821#define RCC_APB1ENR_TIM5EN_Msk (0x1UL << RCC_APB1ENR_TIM5EN_Pos)
10822#define RCC_APB1ENR_TIM5EN RCC_APB1ENR_TIM5EN_Msk
10823#define RCC_APB1ENR_TIM6EN_Pos (4U)
10824#define RCC_APB1ENR_TIM6EN_Msk (0x1UL << RCC_APB1ENR_TIM6EN_Pos)
10825#define RCC_APB1ENR_TIM6EN RCC_APB1ENR_TIM6EN_Msk
10826#define RCC_APB1ENR_TIM7EN_Pos (5U)
10827#define RCC_APB1ENR_TIM7EN_Msk (0x1UL << RCC_APB1ENR_TIM7EN_Pos)
10828#define RCC_APB1ENR_TIM7EN RCC_APB1ENR_TIM7EN_Msk
10829#define RCC_APB1ENR_TIM12EN_Pos (6U)
10830#define RCC_APB1ENR_TIM12EN_Msk (0x1UL << RCC_APB1ENR_TIM12EN_Pos)
10831#define RCC_APB1ENR_TIM12EN RCC_APB1ENR_TIM12EN_Msk
10832#define RCC_APB1ENR_TIM13EN_Pos (7U)
10833#define RCC_APB1ENR_TIM13EN_Msk (0x1UL << RCC_APB1ENR_TIM13EN_Pos)
10834#define RCC_APB1ENR_TIM13EN RCC_APB1ENR_TIM13EN_Msk
10835#define RCC_APB1ENR_TIM14EN_Pos (8U)
10836#define RCC_APB1ENR_TIM14EN_Msk (0x1UL << RCC_APB1ENR_TIM14EN_Pos)
10837#define RCC_APB1ENR_TIM14EN RCC_APB1ENR_TIM14EN_Msk
10838#define RCC_APB1ENR_LPTIM1EN_Pos (9U)
10839#define RCC_APB1ENR_LPTIM1EN_Msk (0x1UL << RCC_APB1ENR_LPTIM1EN_Pos)
10840#define RCC_APB1ENR_LPTIM1EN RCC_APB1ENR_LPTIM1EN_Msk
10841#define RCC_APB1ENR_WWDGEN_Pos (11U)
10842#define RCC_APB1ENR_WWDGEN_Msk (0x1UL << RCC_APB1ENR_WWDGEN_Pos)
10843#define RCC_APB1ENR_WWDGEN RCC_APB1ENR_WWDGEN_Msk
10844#define RCC_APB1ENR_SPI2EN_Pos (14U)
10845#define RCC_APB1ENR_SPI2EN_Msk (0x1UL << RCC_APB1ENR_SPI2EN_Pos)
10846#define RCC_APB1ENR_SPI2EN RCC_APB1ENR_SPI2EN_Msk
10847#define RCC_APB1ENR_SPI3EN_Pos (15U)
10848#define RCC_APB1ENR_SPI3EN_Msk (0x1UL << RCC_APB1ENR_SPI3EN_Pos)
10849#define RCC_APB1ENR_SPI3EN RCC_APB1ENR_SPI3EN_Msk
10850#define RCC_APB1ENR_SPDIFRXEN_Pos (16U)
10851#define RCC_APB1ENR_SPDIFRXEN_Msk (0x1UL << RCC_APB1ENR_SPDIFRXEN_Pos)
10852#define RCC_APB1ENR_SPDIFRXEN RCC_APB1ENR_SPDIFRXEN_Msk
10853#define RCC_APB1ENR_USART2EN_Pos (17U)
10854#define RCC_APB1ENR_USART2EN_Msk (0x1UL << RCC_APB1ENR_USART2EN_Pos)
10855#define RCC_APB1ENR_USART2EN RCC_APB1ENR_USART2EN_Msk
10856#define RCC_APB1ENR_USART3EN_Pos (18U)
10857#define RCC_APB1ENR_USART3EN_Msk (0x1UL << RCC_APB1ENR_USART3EN_Pos)
10858#define RCC_APB1ENR_USART3EN RCC_APB1ENR_USART3EN_Msk
10859#define RCC_APB1ENR_UART4EN_Pos (19U)
10860#define RCC_APB1ENR_UART4EN_Msk (0x1UL << RCC_APB1ENR_UART4EN_Pos)
10861#define RCC_APB1ENR_UART4EN RCC_APB1ENR_UART4EN_Msk
10862#define RCC_APB1ENR_UART5EN_Pos (20U)
10863#define RCC_APB1ENR_UART5EN_Msk (0x1UL << RCC_APB1ENR_UART5EN_Pos)
10864#define RCC_APB1ENR_UART5EN RCC_APB1ENR_UART5EN_Msk
10865#define RCC_APB1ENR_I2C1EN_Pos (21U)
10866#define RCC_APB1ENR_I2C1EN_Msk (0x1UL << RCC_APB1ENR_I2C1EN_Pos)
10867#define RCC_APB1ENR_I2C1EN RCC_APB1ENR_I2C1EN_Msk
10868#define RCC_APB1ENR_I2C2EN_Pos (22U)
10869#define RCC_APB1ENR_I2C2EN_Msk (0x1UL << RCC_APB1ENR_I2C2EN_Pos)
10870#define RCC_APB1ENR_I2C2EN RCC_APB1ENR_I2C2EN_Msk
10871#define RCC_APB1ENR_I2C3EN_Pos (23U)
10872#define RCC_APB1ENR_I2C3EN_Msk (0x1UL << RCC_APB1ENR_I2C3EN_Pos)
10873#define RCC_APB1ENR_I2C3EN RCC_APB1ENR_I2C3EN_Msk
10874#define RCC_APB1ENR_I2C4EN_Pos (24U)
10875#define RCC_APB1ENR_I2C4EN_Msk (0x1UL << RCC_APB1ENR_I2C4EN_Pos)
10876#define RCC_APB1ENR_I2C4EN RCC_APB1ENR_I2C4EN_Msk
10877#define RCC_APB1ENR_CAN1EN_Pos (25U)
10878#define RCC_APB1ENR_CAN1EN_Msk (0x1UL << RCC_APB1ENR_CAN1EN_Pos)
10879#define RCC_APB1ENR_CAN1EN RCC_APB1ENR_CAN1EN_Msk
10880#define RCC_APB1ENR_CAN2EN_Pos (26U)
10881#define RCC_APB1ENR_CAN2EN_Msk (0x1UL << RCC_APB1ENR_CAN2EN_Pos)
10882#define RCC_APB1ENR_CAN2EN RCC_APB1ENR_CAN2EN_Msk
10883#define RCC_APB1ENR_CECEN_Pos (27U)
10884#define RCC_APB1ENR_CECEN_Msk (0x1UL << RCC_APB1ENR_CECEN_Pos)
10885#define RCC_APB1ENR_CECEN RCC_APB1ENR_CECEN_Msk
10886#define RCC_APB1ENR_PWREN_Pos (28U)
10887#define RCC_APB1ENR_PWREN_Msk (0x1UL << RCC_APB1ENR_PWREN_Pos)
10888#define RCC_APB1ENR_PWREN RCC_APB1ENR_PWREN_Msk
10889#define RCC_APB1ENR_DACEN_Pos (29U)
10890#define RCC_APB1ENR_DACEN_Msk (0x1UL << RCC_APB1ENR_DACEN_Pos)
10891#define RCC_APB1ENR_DACEN RCC_APB1ENR_DACEN_Msk
10892#define RCC_APB1ENR_UART7EN_Pos (30U)
10893#define RCC_APB1ENR_UART7EN_Msk (0x1UL << RCC_APB1ENR_UART7EN_Pos)
10894#define RCC_APB1ENR_UART7EN RCC_APB1ENR_UART7EN_Msk
10895#define RCC_APB1ENR_UART8EN_Pos (31U)
10896#define RCC_APB1ENR_UART8EN_Msk (0x1UL << RCC_APB1ENR_UART8EN_Pos)
10897#define RCC_APB1ENR_UART8EN RCC_APB1ENR_UART8EN_Msk
10898
10899/******************** Bit definition for RCC_APB2ENR register ***************/
10900#define RCC_APB2ENR_TIM1EN_Pos (0U)
10901#define RCC_APB2ENR_TIM1EN_Msk (0x1UL << RCC_APB2ENR_TIM1EN_Pos)
10902#define RCC_APB2ENR_TIM1EN RCC_APB2ENR_TIM1EN_Msk
10903#define RCC_APB2ENR_TIM8EN_Pos (1U)
10904#define RCC_APB2ENR_TIM8EN_Msk (0x1UL << RCC_APB2ENR_TIM8EN_Pos)
10905#define RCC_APB2ENR_TIM8EN RCC_APB2ENR_TIM8EN_Msk
10906#define RCC_APB2ENR_USART1EN_Pos (4U)
10907#define RCC_APB2ENR_USART1EN_Msk (0x1UL << RCC_APB2ENR_USART1EN_Pos)
10908#define RCC_APB2ENR_USART1EN RCC_APB2ENR_USART1EN_Msk
10909#define RCC_APB2ENR_USART6EN_Pos (5U)
10910#define RCC_APB2ENR_USART6EN_Msk (0x1UL << RCC_APB2ENR_USART6EN_Pos)
10911#define RCC_APB2ENR_USART6EN RCC_APB2ENR_USART6EN_Msk
10912#define RCC_APB2ENR_ADC1EN_Pos (8U)
10913#define RCC_APB2ENR_ADC1EN_Msk (0x1UL << RCC_APB2ENR_ADC1EN_Pos)
10914#define RCC_APB2ENR_ADC1EN RCC_APB2ENR_ADC1EN_Msk
10915#define RCC_APB2ENR_ADC2EN_Pos (9U)
10916#define RCC_APB2ENR_ADC2EN_Msk (0x1UL << RCC_APB2ENR_ADC2EN_Pos)
10917#define RCC_APB2ENR_ADC2EN RCC_APB2ENR_ADC2EN_Msk
10918#define RCC_APB2ENR_ADC3EN_Pos (10U)
10919#define RCC_APB2ENR_ADC3EN_Msk (0x1UL << RCC_APB2ENR_ADC3EN_Pos)
10920#define RCC_APB2ENR_ADC3EN RCC_APB2ENR_ADC3EN_Msk
10921#define RCC_APB2ENR_SDMMC1EN_Pos (11U)
10922#define RCC_APB2ENR_SDMMC1EN_Msk (0x1UL << RCC_APB2ENR_SDMMC1EN_Pos)
10923#define RCC_APB2ENR_SDMMC1EN RCC_APB2ENR_SDMMC1EN_Msk
10924#define RCC_APB2ENR_SPI1EN_Pos (12U)
10925#define RCC_APB2ENR_SPI1EN_Msk (0x1UL << RCC_APB2ENR_SPI1EN_Pos)
10926#define RCC_APB2ENR_SPI1EN RCC_APB2ENR_SPI1EN_Msk
10927#define RCC_APB2ENR_SPI4EN_Pos (13U)
10928#define RCC_APB2ENR_SPI4EN_Msk (0x1UL << RCC_APB2ENR_SPI4EN_Pos)
10929#define RCC_APB2ENR_SPI4EN RCC_APB2ENR_SPI4EN_Msk
10930#define RCC_APB2ENR_SYSCFGEN_Pos (14U)
10931#define RCC_APB2ENR_SYSCFGEN_Msk (0x1UL << RCC_APB2ENR_SYSCFGEN_Pos)
10932#define RCC_APB2ENR_SYSCFGEN RCC_APB2ENR_SYSCFGEN_Msk
10933#define RCC_APB2ENR_TIM9EN_Pos (16U)
10934#define RCC_APB2ENR_TIM9EN_Msk (0x1UL << RCC_APB2ENR_TIM9EN_Pos)
10935#define RCC_APB2ENR_TIM9EN RCC_APB2ENR_TIM9EN_Msk
10936#define RCC_APB2ENR_TIM10EN_Pos (17U)
10937#define RCC_APB2ENR_TIM10EN_Msk (0x1UL << RCC_APB2ENR_TIM10EN_Pos)
10938#define RCC_APB2ENR_TIM10EN RCC_APB2ENR_TIM10EN_Msk
10939#define RCC_APB2ENR_TIM11EN_Pos (18U)
10940#define RCC_APB2ENR_TIM11EN_Msk (0x1UL << RCC_APB2ENR_TIM11EN_Pos)
10941#define RCC_APB2ENR_TIM11EN RCC_APB2ENR_TIM11EN_Msk
10942#define RCC_APB2ENR_SPI5EN_Pos (20U)
10943#define RCC_APB2ENR_SPI5EN_Msk (0x1UL << RCC_APB2ENR_SPI5EN_Pos)
10944#define RCC_APB2ENR_SPI5EN RCC_APB2ENR_SPI5EN_Msk
10945#define RCC_APB2ENR_SPI6EN_Pos (21U)
10946#define RCC_APB2ENR_SPI6EN_Msk (0x1UL << RCC_APB2ENR_SPI6EN_Pos)
10947#define RCC_APB2ENR_SPI6EN RCC_APB2ENR_SPI6EN_Msk
10948#define RCC_APB2ENR_SAI1EN_Pos (22U)
10949#define RCC_APB2ENR_SAI1EN_Msk (0x1UL << RCC_APB2ENR_SAI1EN_Pos)
10950#define RCC_APB2ENR_SAI1EN RCC_APB2ENR_SAI1EN_Msk
10951#define RCC_APB2ENR_SAI2EN_Pos (23U)
10952#define RCC_APB2ENR_SAI2EN_Msk (0x1UL << RCC_APB2ENR_SAI2EN_Pos)
10953#define RCC_APB2ENR_SAI2EN RCC_APB2ENR_SAI2EN_Msk
10954#define RCC_APB2ENR_LTDCEN_Pos (26U)
10955#define RCC_APB2ENR_LTDCEN_Msk (0x1UL << RCC_APB2ENR_LTDCEN_Pos)
10956#define RCC_APB2ENR_LTDCEN RCC_APB2ENR_LTDCEN_Msk
10957
10958/******************** Bit definition for RCC_AHB1LPENR register *************/
10959#define RCC_AHB1LPENR_GPIOALPEN_Pos (0U)
10960#define RCC_AHB1LPENR_GPIOALPEN_Msk (0x1UL << RCC_AHB1LPENR_GPIOALPEN_Pos)
10961#define RCC_AHB1LPENR_GPIOALPEN RCC_AHB1LPENR_GPIOALPEN_Msk
10962#define RCC_AHB1LPENR_GPIOBLPEN_Pos (1U)
10963#define RCC_AHB1LPENR_GPIOBLPEN_Msk (0x1UL << RCC_AHB1LPENR_GPIOBLPEN_Pos)
10964#define RCC_AHB1LPENR_GPIOBLPEN RCC_AHB1LPENR_GPIOBLPEN_Msk
10965#define RCC_AHB1LPENR_GPIOCLPEN_Pos (2U)
10966#define RCC_AHB1LPENR_GPIOCLPEN_Msk (0x1UL << RCC_AHB1LPENR_GPIOCLPEN_Pos)
10967#define RCC_AHB1LPENR_GPIOCLPEN RCC_AHB1LPENR_GPIOCLPEN_Msk
10968#define RCC_AHB1LPENR_GPIODLPEN_Pos (3U)
10969#define RCC_AHB1LPENR_GPIODLPEN_Msk (0x1UL << RCC_AHB1LPENR_GPIODLPEN_Pos)
10970#define RCC_AHB1LPENR_GPIODLPEN RCC_AHB1LPENR_GPIODLPEN_Msk
10971#define RCC_AHB1LPENR_GPIOELPEN_Pos (4U)
10972#define RCC_AHB1LPENR_GPIOELPEN_Msk (0x1UL << RCC_AHB1LPENR_GPIOELPEN_Pos)
10973#define RCC_AHB1LPENR_GPIOELPEN RCC_AHB1LPENR_GPIOELPEN_Msk
10974#define RCC_AHB1LPENR_GPIOFLPEN_Pos (5U)
10975#define RCC_AHB1LPENR_GPIOFLPEN_Msk (0x1UL << RCC_AHB1LPENR_GPIOFLPEN_Pos)
10976#define RCC_AHB1LPENR_GPIOFLPEN RCC_AHB1LPENR_GPIOFLPEN_Msk
10977#define RCC_AHB1LPENR_GPIOGLPEN_Pos (6U)
10978#define RCC_AHB1LPENR_GPIOGLPEN_Msk (0x1UL << RCC_AHB1LPENR_GPIOGLPEN_Pos)
10979#define RCC_AHB1LPENR_GPIOGLPEN RCC_AHB1LPENR_GPIOGLPEN_Msk
10980#define RCC_AHB1LPENR_GPIOHLPEN_Pos (7U)
10981#define RCC_AHB1LPENR_GPIOHLPEN_Msk (0x1UL << RCC_AHB1LPENR_GPIOHLPEN_Pos)
10982#define RCC_AHB1LPENR_GPIOHLPEN RCC_AHB1LPENR_GPIOHLPEN_Msk
10983#define RCC_AHB1LPENR_GPIOILPEN_Pos (8U)
10984#define RCC_AHB1LPENR_GPIOILPEN_Msk (0x1UL << RCC_AHB1LPENR_GPIOILPEN_Pos)
10985#define RCC_AHB1LPENR_GPIOILPEN RCC_AHB1LPENR_GPIOILPEN_Msk
10986#define RCC_AHB1LPENR_GPIOJLPEN_Pos (9U)
10987#define RCC_AHB1LPENR_GPIOJLPEN_Msk (0x1UL << RCC_AHB1LPENR_GPIOJLPEN_Pos)
10988#define RCC_AHB1LPENR_GPIOJLPEN RCC_AHB1LPENR_GPIOJLPEN_Msk
10989#define RCC_AHB1LPENR_GPIOKLPEN_Pos (10U)
10990#define RCC_AHB1LPENR_GPIOKLPEN_Msk (0x1UL << RCC_AHB1LPENR_GPIOKLPEN_Pos)
10991#define RCC_AHB1LPENR_GPIOKLPEN RCC_AHB1LPENR_GPIOKLPEN_Msk
10992#define RCC_AHB1LPENR_CRCLPEN_Pos (12U)
10993#define RCC_AHB1LPENR_CRCLPEN_Msk (0x1UL << RCC_AHB1LPENR_CRCLPEN_Pos)
10994#define RCC_AHB1LPENR_CRCLPEN RCC_AHB1LPENR_CRCLPEN_Msk
10995#define RCC_AHB1LPENR_AXILPEN_Pos (13U)
10996#define RCC_AHB1LPENR_AXILPEN_Msk (0x1UL << RCC_AHB1LPENR_AXILPEN_Pos)
10997#define RCC_AHB1LPENR_AXILPEN RCC_AHB1LPENR_AXILPEN_Msk
10998#define RCC_AHB1LPENR_FLITFLPEN_Pos (15U)
10999#define RCC_AHB1LPENR_FLITFLPEN_Msk (0x1UL << RCC_AHB1LPENR_FLITFLPEN_Pos)
11000#define RCC_AHB1LPENR_FLITFLPEN RCC_AHB1LPENR_FLITFLPEN_Msk
11001#define RCC_AHB1LPENR_SRAM1LPEN_Pos (16U)
11002#define RCC_AHB1LPENR_SRAM1LPEN_Msk (0x1UL << RCC_AHB1LPENR_SRAM1LPEN_Pos)
11003#define RCC_AHB1LPENR_SRAM1LPEN RCC_AHB1LPENR_SRAM1LPEN_Msk
11004#define RCC_AHB1LPENR_SRAM2LPEN_Pos (17U)
11005#define RCC_AHB1LPENR_SRAM2LPEN_Msk (0x1UL << RCC_AHB1LPENR_SRAM2LPEN_Pos)
11006#define RCC_AHB1LPENR_SRAM2LPEN RCC_AHB1LPENR_SRAM2LPEN_Msk
11007#define RCC_AHB1LPENR_BKPSRAMLPEN_Pos (18U)
11008#define RCC_AHB1LPENR_BKPSRAMLPEN_Msk (0x1UL << RCC_AHB1LPENR_BKPSRAMLPEN_Pos)
11009#define RCC_AHB1LPENR_BKPSRAMLPEN RCC_AHB1LPENR_BKPSRAMLPEN_Msk
11010#define RCC_AHB1LPENR_DTCMLPEN_Pos (20U)
11011#define RCC_AHB1LPENR_DTCMLPEN_Msk (0x1UL << RCC_AHB1LPENR_DTCMLPEN_Pos)
11012#define RCC_AHB1LPENR_DTCMLPEN RCC_AHB1LPENR_DTCMLPEN_Msk
11013#define RCC_AHB1LPENR_DMA1LPEN_Pos (21U)
11014#define RCC_AHB1LPENR_DMA1LPEN_Msk (0x1UL << RCC_AHB1LPENR_DMA1LPEN_Pos)
11015#define RCC_AHB1LPENR_DMA1LPEN RCC_AHB1LPENR_DMA1LPEN_Msk
11016#define RCC_AHB1LPENR_DMA2LPEN_Pos (22U)
11017#define RCC_AHB1LPENR_DMA2LPEN_Msk (0x1UL << RCC_AHB1LPENR_DMA2LPEN_Pos)
11018#define RCC_AHB1LPENR_DMA2LPEN RCC_AHB1LPENR_DMA2LPEN_Msk
11019#define RCC_AHB1LPENR_DMA2DLPEN_Pos (23U)
11020#define RCC_AHB1LPENR_DMA2DLPEN_Msk (0x1UL << RCC_AHB1LPENR_DMA2DLPEN_Pos)
11021#define RCC_AHB1LPENR_DMA2DLPEN RCC_AHB1LPENR_DMA2DLPEN_Msk
11022#define RCC_AHB1LPENR_ETHMACLPEN_Pos (25U)
11023#define RCC_AHB1LPENR_ETHMACLPEN_Msk (0x1UL << RCC_AHB1LPENR_ETHMACLPEN_Pos)
11024#define RCC_AHB1LPENR_ETHMACLPEN RCC_AHB1LPENR_ETHMACLPEN_Msk
11025#define RCC_AHB1LPENR_ETHMACTXLPEN_Pos (26U)
11026#define RCC_AHB1LPENR_ETHMACTXLPEN_Msk (0x1UL << RCC_AHB1LPENR_ETHMACTXLPEN_Pos)
11027#define RCC_AHB1LPENR_ETHMACTXLPEN RCC_AHB1LPENR_ETHMACTXLPEN_Msk
11028#define RCC_AHB1LPENR_ETHMACRXLPEN_Pos (27U)
11029#define RCC_AHB1LPENR_ETHMACRXLPEN_Msk (0x1UL << RCC_AHB1LPENR_ETHMACRXLPEN_Pos)
11030#define RCC_AHB1LPENR_ETHMACRXLPEN RCC_AHB1LPENR_ETHMACRXLPEN_Msk
11031#define RCC_AHB1LPENR_ETHMACPTPLPEN_Pos (28U)
11032#define RCC_AHB1LPENR_ETHMACPTPLPEN_Msk (0x1UL << RCC_AHB1LPENR_ETHMACPTPLPEN_Pos)
11033#define RCC_AHB1LPENR_ETHMACPTPLPEN RCC_AHB1LPENR_ETHMACPTPLPEN_Msk
11034#define RCC_AHB1LPENR_OTGHSLPEN_Pos (29U)
11035#define RCC_AHB1LPENR_OTGHSLPEN_Msk (0x1UL << RCC_AHB1LPENR_OTGHSLPEN_Pos)
11036#define RCC_AHB1LPENR_OTGHSLPEN RCC_AHB1LPENR_OTGHSLPEN_Msk
11037#define RCC_AHB1LPENR_OTGHSULPILPEN_Pos (30U)
11038#define RCC_AHB1LPENR_OTGHSULPILPEN_Msk (0x1UL << RCC_AHB1LPENR_OTGHSULPILPEN_Pos)
11039#define RCC_AHB1LPENR_OTGHSULPILPEN RCC_AHB1LPENR_OTGHSULPILPEN_Msk
11040
11041/******************** Bit definition for RCC_AHB2LPENR register *************/
11042#define RCC_AHB2LPENR_DCMILPEN_Pos (0U)
11043#define RCC_AHB2LPENR_DCMILPEN_Msk (0x1UL << RCC_AHB2LPENR_DCMILPEN_Pos)
11044#define RCC_AHB2LPENR_DCMILPEN RCC_AHB2LPENR_DCMILPEN_Msk
11045#define RCC_AHB2LPENR_RNGLPEN_Pos (6U)
11046#define RCC_AHB2LPENR_RNGLPEN_Msk (0x1UL << RCC_AHB2LPENR_RNGLPEN_Pos)
11047#define RCC_AHB2LPENR_RNGLPEN RCC_AHB2LPENR_RNGLPEN_Msk
11048#define RCC_AHB2LPENR_OTGFSLPEN_Pos (7U)
11049#define RCC_AHB2LPENR_OTGFSLPEN_Msk (0x1UL << RCC_AHB2LPENR_OTGFSLPEN_Pos)
11050#define RCC_AHB2LPENR_OTGFSLPEN RCC_AHB2LPENR_OTGFSLPEN_Msk
11051
11052/******************** Bit definition for RCC_AHB3LPENR register *************/
11053#define RCC_AHB3LPENR_FMCLPEN_Pos (0U)
11054#define RCC_AHB3LPENR_FMCLPEN_Msk (0x1UL << RCC_AHB3LPENR_FMCLPEN_Pos)
11055#define RCC_AHB3LPENR_FMCLPEN RCC_AHB3LPENR_FMCLPEN_Msk
11056#define RCC_AHB3LPENR_QSPILPEN_Pos (1U)
11057#define RCC_AHB3LPENR_QSPILPEN_Msk (0x1UL << RCC_AHB3LPENR_QSPILPEN_Pos)
11058#define RCC_AHB3LPENR_QSPILPEN RCC_AHB3LPENR_QSPILPEN_Msk
11059/******************** Bit definition for RCC_APB1LPENR register *************/
11060#define RCC_APB1LPENR_TIM2LPEN_Pos (0U)
11061#define RCC_APB1LPENR_TIM2LPEN_Msk (0x1UL << RCC_APB1LPENR_TIM2LPEN_Pos)
11062#define RCC_APB1LPENR_TIM2LPEN RCC_APB1LPENR_TIM2LPEN_Msk
11063#define RCC_APB1LPENR_TIM3LPEN_Pos (1U)
11064#define RCC_APB1LPENR_TIM3LPEN_Msk (0x1UL << RCC_APB1LPENR_TIM3LPEN_Pos)
11065#define RCC_APB1LPENR_TIM3LPEN RCC_APB1LPENR_TIM3LPEN_Msk
11066#define RCC_APB1LPENR_TIM4LPEN_Pos (2U)
11067#define RCC_APB1LPENR_TIM4LPEN_Msk (0x1UL << RCC_APB1LPENR_TIM4LPEN_Pos)
11068#define RCC_APB1LPENR_TIM4LPEN RCC_APB1LPENR_TIM4LPEN_Msk
11069#define RCC_APB1LPENR_TIM5LPEN_Pos (3U)
11070#define RCC_APB1LPENR_TIM5LPEN_Msk (0x1UL << RCC_APB1LPENR_TIM5LPEN_Pos)
11071#define RCC_APB1LPENR_TIM5LPEN RCC_APB1LPENR_TIM5LPEN_Msk
11072#define RCC_APB1LPENR_TIM6LPEN_Pos (4U)
11073#define RCC_APB1LPENR_TIM6LPEN_Msk (0x1UL << RCC_APB1LPENR_TIM6LPEN_Pos)
11074#define RCC_APB1LPENR_TIM6LPEN RCC_APB1LPENR_TIM6LPEN_Msk
11075#define RCC_APB1LPENR_TIM7LPEN_Pos (5U)
11076#define RCC_APB1LPENR_TIM7LPEN_Msk (0x1UL << RCC_APB1LPENR_TIM7LPEN_Pos)
11077#define RCC_APB1LPENR_TIM7LPEN RCC_APB1LPENR_TIM7LPEN_Msk
11078#define RCC_APB1LPENR_TIM12LPEN_Pos (6U)
11079#define RCC_APB1LPENR_TIM12LPEN_Msk (0x1UL << RCC_APB1LPENR_TIM12LPEN_Pos)
11080#define RCC_APB1LPENR_TIM12LPEN RCC_APB1LPENR_TIM12LPEN_Msk
11081#define RCC_APB1LPENR_TIM13LPEN_Pos (7U)
11082#define RCC_APB1LPENR_TIM13LPEN_Msk (0x1UL << RCC_APB1LPENR_TIM13LPEN_Pos)
11083#define RCC_APB1LPENR_TIM13LPEN RCC_APB1LPENR_TIM13LPEN_Msk
11084#define RCC_APB1LPENR_TIM14LPEN_Pos (8U)
11085#define RCC_APB1LPENR_TIM14LPEN_Msk (0x1UL << RCC_APB1LPENR_TIM14LPEN_Pos)
11086#define RCC_APB1LPENR_TIM14LPEN RCC_APB1LPENR_TIM14LPEN_Msk
11087#define RCC_APB1LPENR_LPTIM1LPEN_Pos (9U)
11088#define RCC_APB1LPENR_LPTIM1LPEN_Msk (0x1UL << RCC_APB1LPENR_LPTIM1LPEN_Pos)
11089#define RCC_APB1LPENR_LPTIM1LPEN RCC_APB1LPENR_LPTIM1LPEN_Msk
11090#define RCC_APB1LPENR_WWDGLPEN_Pos (11U)
11091#define RCC_APB1LPENR_WWDGLPEN_Msk (0x1UL << RCC_APB1LPENR_WWDGLPEN_Pos)
11092#define RCC_APB1LPENR_WWDGLPEN RCC_APB1LPENR_WWDGLPEN_Msk
11093#define RCC_APB1LPENR_SPI2LPEN_Pos (14U)
11094#define RCC_APB1LPENR_SPI2LPEN_Msk (0x1UL << RCC_APB1LPENR_SPI2LPEN_Pos)
11095#define RCC_APB1LPENR_SPI2LPEN RCC_APB1LPENR_SPI2LPEN_Msk
11096#define RCC_APB1LPENR_SPI3LPEN_Pos (15U)
11097#define RCC_APB1LPENR_SPI3LPEN_Msk (0x1UL << RCC_APB1LPENR_SPI3LPEN_Pos)
11098#define RCC_APB1LPENR_SPI3LPEN RCC_APB1LPENR_SPI3LPEN_Msk
11099#define RCC_APB1LPENR_SPDIFRXLPEN_Pos (16U)
11100#define RCC_APB1LPENR_SPDIFRXLPEN_Msk (0x1UL << RCC_APB1LPENR_SPDIFRXLPEN_Pos)
11101#define RCC_APB1LPENR_SPDIFRXLPEN RCC_APB1LPENR_SPDIFRXLPEN_Msk
11102#define RCC_APB1LPENR_USART2LPEN_Pos (17U)
11103#define RCC_APB1LPENR_USART2LPEN_Msk (0x1UL << RCC_APB1LPENR_USART2LPEN_Pos)
11104#define RCC_APB1LPENR_USART2LPEN RCC_APB1LPENR_USART2LPEN_Msk
11105#define RCC_APB1LPENR_USART3LPEN_Pos (18U)
11106#define RCC_APB1LPENR_USART3LPEN_Msk (0x1UL << RCC_APB1LPENR_USART3LPEN_Pos)
11107#define RCC_APB1LPENR_USART3LPEN RCC_APB1LPENR_USART3LPEN_Msk
11108#define RCC_APB1LPENR_UART4LPEN_Pos (19U)
11109#define RCC_APB1LPENR_UART4LPEN_Msk (0x1UL << RCC_APB1LPENR_UART4LPEN_Pos)
11110#define RCC_APB1LPENR_UART4LPEN RCC_APB1LPENR_UART4LPEN_Msk
11111#define RCC_APB1LPENR_UART5LPEN_Pos (20U)
11112#define RCC_APB1LPENR_UART5LPEN_Msk (0x1UL << RCC_APB1LPENR_UART5LPEN_Pos)
11113#define RCC_APB1LPENR_UART5LPEN RCC_APB1LPENR_UART5LPEN_Msk
11114#define RCC_APB1LPENR_I2C1LPEN_Pos (21U)
11115#define RCC_APB1LPENR_I2C1LPEN_Msk (0x1UL << RCC_APB1LPENR_I2C1LPEN_Pos)
11116#define RCC_APB1LPENR_I2C1LPEN RCC_APB1LPENR_I2C1LPEN_Msk
11117#define RCC_APB1LPENR_I2C2LPEN_Pos (22U)
11118#define RCC_APB1LPENR_I2C2LPEN_Msk (0x1UL << RCC_APB1LPENR_I2C2LPEN_Pos)
11119#define RCC_APB1LPENR_I2C2LPEN RCC_APB1LPENR_I2C2LPEN_Msk
11120#define RCC_APB1LPENR_I2C3LPEN_Pos (23U)
11121#define RCC_APB1LPENR_I2C3LPEN_Msk (0x1UL << RCC_APB1LPENR_I2C3LPEN_Pos)
11122#define RCC_APB1LPENR_I2C3LPEN RCC_APB1LPENR_I2C3LPEN_Msk
11123#define RCC_APB1LPENR_I2C4LPEN_Pos (24U)
11124#define RCC_APB1LPENR_I2C4LPEN_Msk (0x1UL << RCC_APB1LPENR_I2C4LPEN_Pos)
11125#define RCC_APB1LPENR_I2C4LPEN RCC_APB1LPENR_I2C4LPEN_Msk
11126#define RCC_APB1LPENR_CAN1LPEN_Pos (25U)
11127#define RCC_APB1LPENR_CAN1LPEN_Msk (0x1UL << RCC_APB1LPENR_CAN1LPEN_Pos)
11128#define RCC_APB1LPENR_CAN1LPEN RCC_APB1LPENR_CAN1LPEN_Msk
11129#define RCC_APB1LPENR_CAN2LPEN_Pos (26U)
11130#define RCC_APB1LPENR_CAN2LPEN_Msk (0x1UL << RCC_APB1LPENR_CAN2LPEN_Pos)
11131#define RCC_APB1LPENR_CAN2LPEN RCC_APB1LPENR_CAN2LPEN_Msk
11132#define RCC_APB1LPENR_CECLPEN_Pos (27U)
11133#define RCC_APB1LPENR_CECLPEN_Msk (0x1UL << RCC_APB1LPENR_CECLPEN_Pos)
11134#define RCC_APB1LPENR_CECLPEN RCC_APB1LPENR_CECLPEN_Msk
11135#define RCC_APB1LPENR_PWRLPEN_Pos (28U)
11136#define RCC_APB1LPENR_PWRLPEN_Msk (0x1UL << RCC_APB1LPENR_PWRLPEN_Pos)
11137#define RCC_APB1LPENR_PWRLPEN RCC_APB1LPENR_PWRLPEN_Msk
11138#define RCC_APB1LPENR_DACLPEN_Pos (29U)
11139#define RCC_APB1LPENR_DACLPEN_Msk (0x1UL << RCC_APB1LPENR_DACLPEN_Pos)
11140#define RCC_APB1LPENR_DACLPEN RCC_APB1LPENR_DACLPEN_Msk
11141#define RCC_APB1LPENR_UART7LPEN_Pos (30U)
11142#define RCC_APB1LPENR_UART7LPEN_Msk (0x1UL << RCC_APB1LPENR_UART7LPEN_Pos)
11143#define RCC_APB1LPENR_UART7LPEN RCC_APB1LPENR_UART7LPEN_Msk
11144#define RCC_APB1LPENR_UART8LPEN_Pos (31U)
11145#define RCC_APB1LPENR_UART8LPEN_Msk (0x1UL << RCC_APB1LPENR_UART8LPEN_Pos)
11146#define RCC_APB1LPENR_UART8LPEN RCC_APB1LPENR_UART8LPEN_Msk
11147
11148/******************** Bit definition for RCC_APB2LPENR register *************/
11149#define RCC_APB2LPENR_TIM1LPEN_Pos (0U)
11150#define RCC_APB2LPENR_TIM1LPEN_Msk (0x1UL << RCC_APB2LPENR_TIM1LPEN_Pos)
11151#define RCC_APB2LPENR_TIM1LPEN RCC_APB2LPENR_TIM1LPEN_Msk
11152#define RCC_APB2LPENR_TIM8LPEN_Pos (1U)
11153#define RCC_APB2LPENR_TIM8LPEN_Msk (0x1UL << RCC_APB2LPENR_TIM8LPEN_Pos)
11154#define RCC_APB2LPENR_TIM8LPEN RCC_APB2LPENR_TIM8LPEN_Msk
11155#define RCC_APB2LPENR_USART1LPEN_Pos (4U)
11156#define RCC_APB2LPENR_USART1LPEN_Msk (0x1UL << RCC_APB2LPENR_USART1LPEN_Pos)
11157#define RCC_APB2LPENR_USART1LPEN RCC_APB2LPENR_USART1LPEN_Msk
11158#define RCC_APB2LPENR_USART6LPEN_Pos (5U)
11159#define RCC_APB2LPENR_USART6LPEN_Msk (0x1UL << RCC_APB2LPENR_USART6LPEN_Pos)
11160#define RCC_APB2LPENR_USART6LPEN RCC_APB2LPENR_USART6LPEN_Msk
11161#define RCC_APB2LPENR_ADC1LPEN_Pos (8U)
11162#define RCC_APB2LPENR_ADC1LPEN_Msk (0x1UL << RCC_APB2LPENR_ADC1LPEN_Pos)
11163#define RCC_APB2LPENR_ADC1LPEN RCC_APB2LPENR_ADC1LPEN_Msk
11164#define RCC_APB2LPENR_ADC2LPEN_Pos (9U)
11165#define RCC_APB2LPENR_ADC2LPEN_Msk (0x1UL << RCC_APB2LPENR_ADC2LPEN_Pos)
11166#define RCC_APB2LPENR_ADC2LPEN RCC_APB2LPENR_ADC2LPEN_Msk
11167#define RCC_APB2LPENR_ADC3LPEN_Pos (10U)
11168#define RCC_APB2LPENR_ADC3LPEN_Msk (0x1UL << RCC_APB2LPENR_ADC3LPEN_Pos)
11169#define RCC_APB2LPENR_ADC3LPEN RCC_APB2LPENR_ADC3LPEN_Msk
11170#define RCC_APB2LPENR_SDMMC1LPEN_Pos (11U)
11171#define RCC_APB2LPENR_SDMMC1LPEN_Msk (0x1UL << RCC_APB2LPENR_SDMMC1LPEN_Pos)
11172#define RCC_APB2LPENR_SDMMC1LPEN RCC_APB2LPENR_SDMMC1LPEN_Msk
11173#define RCC_APB2LPENR_SPI1LPEN_Pos (12U)
11174#define RCC_APB2LPENR_SPI1LPEN_Msk (0x1UL << RCC_APB2LPENR_SPI1LPEN_Pos)
11175#define RCC_APB2LPENR_SPI1LPEN RCC_APB2LPENR_SPI1LPEN_Msk
11176#define RCC_APB2LPENR_SPI4LPEN_Pos (13U)
11177#define RCC_APB2LPENR_SPI4LPEN_Msk (0x1UL << RCC_APB2LPENR_SPI4LPEN_Pos)
11178#define RCC_APB2LPENR_SPI4LPEN RCC_APB2LPENR_SPI4LPEN_Msk
11179#define RCC_APB2LPENR_SYSCFGLPEN_Pos (14U)
11180#define RCC_APB2LPENR_SYSCFGLPEN_Msk (0x1UL << RCC_APB2LPENR_SYSCFGLPEN_Pos)
11181#define RCC_APB2LPENR_SYSCFGLPEN RCC_APB2LPENR_SYSCFGLPEN_Msk
11182#define RCC_APB2LPENR_TIM9LPEN_Pos (16U)
11183#define RCC_APB2LPENR_TIM9LPEN_Msk (0x1UL << RCC_APB2LPENR_TIM9LPEN_Pos)
11184#define RCC_APB2LPENR_TIM9LPEN RCC_APB2LPENR_TIM9LPEN_Msk
11185#define RCC_APB2LPENR_TIM10LPEN_Pos (17U)
11186#define RCC_APB2LPENR_TIM10LPEN_Msk (0x1UL << RCC_APB2LPENR_TIM10LPEN_Pos)
11187#define RCC_APB2LPENR_TIM10LPEN RCC_APB2LPENR_TIM10LPEN_Msk
11188#define RCC_APB2LPENR_TIM11LPEN_Pos (18U)
11189#define RCC_APB2LPENR_TIM11LPEN_Msk (0x1UL << RCC_APB2LPENR_TIM11LPEN_Pos)
11190#define RCC_APB2LPENR_TIM11LPEN RCC_APB2LPENR_TIM11LPEN_Msk
11191#define RCC_APB2LPENR_SPI5LPEN_Pos (20U)
11192#define RCC_APB2LPENR_SPI5LPEN_Msk (0x1UL << RCC_APB2LPENR_SPI5LPEN_Pos)
11193#define RCC_APB2LPENR_SPI5LPEN RCC_APB2LPENR_SPI5LPEN_Msk
11194#define RCC_APB2LPENR_SPI6LPEN_Pos (21U)
11195#define RCC_APB2LPENR_SPI6LPEN_Msk (0x1UL << RCC_APB2LPENR_SPI6LPEN_Pos)
11196#define RCC_APB2LPENR_SPI6LPEN RCC_APB2LPENR_SPI6LPEN_Msk
11197#define RCC_APB2LPENR_SAI1LPEN_Pos (22U)
11198#define RCC_APB2LPENR_SAI1LPEN_Msk (0x1UL << RCC_APB2LPENR_SAI1LPEN_Pos)
11199#define RCC_APB2LPENR_SAI1LPEN RCC_APB2LPENR_SAI1LPEN_Msk
11200#define RCC_APB2LPENR_SAI2LPEN_Pos (23U)
11201#define RCC_APB2LPENR_SAI2LPEN_Msk (0x1UL << RCC_APB2LPENR_SAI2LPEN_Pos)
11202#define RCC_APB2LPENR_SAI2LPEN RCC_APB2LPENR_SAI2LPEN_Msk
11203#define RCC_APB2LPENR_LTDCLPEN_Pos (26U)
11204#define RCC_APB2LPENR_LTDCLPEN_Msk (0x1UL << RCC_APB2LPENR_LTDCLPEN_Pos)
11205#define RCC_APB2LPENR_LTDCLPEN RCC_APB2LPENR_LTDCLPEN_Msk
11206
11207/******************** Bit definition for RCC_BDCR register ******************/
11208#define RCC_BDCR_LSEON_Pos (0U)
11209#define RCC_BDCR_LSEON_Msk (0x1UL << RCC_BDCR_LSEON_Pos)
11210#define RCC_BDCR_LSEON RCC_BDCR_LSEON_Msk
11211#define RCC_BDCR_LSERDY_Pos (1U)
11212#define RCC_BDCR_LSERDY_Msk (0x1UL << RCC_BDCR_LSERDY_Pos)
11213#define RCC_BDCR_LSERDY RCC_BDCR_LSERDY_Msk
11214#define RCC_BDCR_LSEBYP_Pos (2U)
11215#define RCC_BDCR_LSEBYP_Msk (0x1UL << RCC_BDCR_LSEBYP_Pos)
11216#define RCC_BDCR_LSEBYP RCC_BDCR_LSEBYP_Msk
11217#define RCC_BDCR_LSEDRV_Pos (3U)
11218#define RCC_BDCR_LSEDRV_Msk (0x3UL << RCC_BDCR_LSEDRV_Pos)
11219#define RCC_BDCR_LSEDRV RCC_BDCR_LSEDRV_Msk
11220#define RCC_BDCR_LSEDRV_0 (0x1UL << RCC_BDCR_LSEDRV_Pos)
11221#define RCC_BDCR_LSEDRV_1 (0x2UL << RCC_BDCR_LSEDRV_Pos)
11222#define RCC_BDCR_RTCSEL_Pos (8U)
11223#define RCC_BDCR_RTCSEL_Msk (0x3UL << RCC_BDCR_RTCSEL_Pos)
11224#define RCC_BDCR_RTCSEL RCC_BDCR_RTCSEL_Msk
11225#define RCC_BDCR_RTCSEL_0 (0x1UL << RCC_BDCR_RTCSEL_Pos)
11226#define RCC_BDCR_RTCSEL_1 (0x2UL << RCC_BDCR_RTCSEL_Pos)
11227#define RCC_BDCR_RTCEN_Pos (15U)
11228#define RCC_BDCR_RTCEN_Msk (0x1UL << RCC_BDCR_RTCEN_Pos)
11229#define RCC_BDCR_RTCEN RCC_BDCR_RTCEN_Msk
11230#define RCC_BDCR_BDRST_Pos (16U)
11231#define RCC_BDCR_BDRST_Msk (0x1UL << RCC_BDCR_BDRST_Pos)
11232#define RCC_BDCR_BDRST RCC_BDCR_BDRST_Msk
11233
11234/******************** Bit definition for RCC_CSR register *******************/
11235#define RCC_CSR_LSION_Pos (0U)
11236#define RCC_CSR_LSION_Msk (0x1UL << RCC_CSR_LSION_Pos)
11237#define RCC_CSR_LSION RCC_CSR_LSION_Msk
11238#define RCC_CSR_LSIRDY_Pos (1U)
11239#define RCC_CSR_LSIRDY_Msk (0x1UL << RCC_CSR_LSIRDY_Pos)
11240#define RCC_CSR_LSIRDY RCC_CSR_LSIRDY_Msk
11241#define RCC_CSR_RMVF_Pos (24U)
11242#define RCC_CSR_RMVF_Msk (0x1UL << RCC_CSR_RMVF_Pos)
11243#define RCC_CSR_RMVF RCC_CSR_RMVF_Msk
11244#define RCC_CSR_BORRSTF_Pos (25U)
11245#define RCC_CSR_BORRSTF_Msk (0x1UL << RCC_CSR_BORRSTF_Pos)
11246#define RCC_CSR_BORRSTF RCC_CSR_BORRSTF_Msk
11247#define RCC_CSR_PINRSTF_Pos (26U)
11248#define RCC_CSR_PINRSTF_Msk (0x1UL << RCC_CSR_PINRSTF_Pos)
11249#define RCC_CSR_PINRSTF RCC_CSR_PINRSTF_Msk
11250#define RCC_CSR_PORRSTF_Pos (27U)
11251#define RCC_CSR_PORRSTF_Msk (0x1UL << RCC_CSR_PORRSTF_Pos)
11252#define RCC_CSR_PORRSTF RCC_CSR_PORRSTF_Msk
11253#define RCC_CSR_SFTRSTF_Pos (28U)
11254#define RCC_CSR_SFTRSTF_Msk (0x1UL << RCC_CSR_SFTRSTF_Pos)
11255#define RCC_CSR_SFTRSTF RCC_CSR_SFTRSTF_Msk
11256#define RCC_CSR_IWDGRSTF_Pos (29U)
11257#define RCC_CSR_IWDGRSTF_Msk (0x1UL << RCC_CSR_IWDGRSTF_Pos)
11258#define RCC_CSR_IWDGRSTF RCC_CSR_IWDGRSTF_Msk
11259#define RCC_CSR_WWDGRSTF_Pos (30U)
11260#define RCC_CSR_WWDGRSTF_Msk (0x1UL << RCC_CSR_WWDGRSTF_Pos)
11261#define RCC_CSR_WWDGRSTF RCC_CSR_WWDGRSTF_Msk
11262#define RCC_CSR_LPWRRSTF_Pos (31U)
11263#define RCC_CSR_LPWRRSTF_Msk (0x1UL << RCC_CSR_LPWRRSTF_Pos)
11264#define RCC_CSR_LPWRRSTF RCC_CSR_LPWRRSTF_Msk
11265
11266/******************** Bit definition for RCC_SSCGR register *****************/
11267#define RCC_SSCGR_MODPER_Pos (0U)
11268#define RCC_SSCGR_MODPER_Msk (0x1FFFUL << RCC_SSCGR_MODPER_Pos)
11269#define RCC_SSCGR_MODPER RCC_SSCGR_MODPER_Msk
11270#define RCC_SSCGR_INCSTEP_Pos (13U)
11271#define RCC_SSCGR_INCSTEP_Msk (0x7FFFUL << RCC_SSCGR_INCSTEP_Pos)
11272#define RCC_SSCGR_INCSTEP RCC_SSCGR_INCSTEP_Msk
11273#define RCC_SSCGR_SPREADSEL_Pos (30U)
11274#define RCC_SSCGR_SPREADSEL_Msk (0x1UL << RCC_SSCGR_SPREADSEL_Pos)
11275#define RCC_SSCGR_SPREADSEL RCC_SSCGR_SPREADSEL_Msk
11276#define RCC_SSCGR_SSCGEN_Pos (31U)
11277#define RCC_SSCGR_SSCGEN_Msk (0x1UL << RCC_SSCGR_SSCGEN_Pos)
11278#define RCC_SSCGR_SSCGEN RCC_SSCGR_SSCGEN_Msk
11279
11280/******************** Bit definition for RCC_PLLI2SCFGR register ************/
11281#define RCC_PLLI2SCFGR_PLLI2SN_Pos (6U)
11282#define RCC_PLLI2SCFGR_PLLI2SN_Msk (0x1FFUL << RCC_PLLI2SCFGR_PLLI2SN_Pos)
11283#define RCC_PLLI2SCFGR_PLLI2SN RCC_PLLI2SCFGR_PLLI2SN_Msk
11284#define RCC_PLLI2SCFGR_PLLI2SN_0 (0x001UL << RCC_PLLI2SCFGR_PLLI2SN_Pos)
11285#define RCC_PLLI2SCFGR_PLLI2SN_1 (0x002UL << RCC_PLLI2SCFGR_PLLI2SN_Pos)
11286#define RCC_PLLI2SCFGR_PLLI2SN_2 (0x004UL << RCC_PLLI2SCFGR_PLLI2SN_Pos)
11287#define RCC_PLLI2SCFGR_PLLI2SN_3 (0x008UL << RCC_PLLI2SCFGR_PLLI2SN_Pos)
11288#define RCC_PLLI2SCFGR_PLLI2SN_4 (0x010UL << RCC_PLLI2SCFGR_PLLI2SN_Pos)
11289#define RCC_PLLI2SCFGR_PLLI2SN_5 (0x020UL << RCC_PLLI2SCFGR_PLLI2SN_Pos)
11290#define RCC_PLLI2SCFGR_PLLI2SN_6 (0x040UL << RCC_PLLI2SCFGR_PLLI2SN_Pos)
11291#define RCC_PLLI2SCFGR_PLLI2SN_7 (0x080UL << RCC_PLLI2SCFGR_PLLI2SN_Pos)
11292#define RCC_PLLI2SCFGR_PLLI2SN_8 (0x100UL << RCC_PLLI2SCFGR_PLLI2SN_Pos)
11293#define RCC_PLLI2SCFGR_PLLI2SP_Pos (16U)
11294#define RCC_PLLI2SCFGR_PLLI2SP_Msk (0x3UL << RCC_PLLI2SCFGR_PLLI2SP_Pos)
11295#define RCC_PLLI2SCFGR_PLLI2SP RCC_PLLI2SCFGR_PLLI2SP_Msk
11296#define RCC_PLLI2SCFGR_PLLI2SP_0 (0x1UL << RCC_PLLI2SCFGR_PLLI2SP_Pos)
11297#define RCC_PLLI2SCFGR_PLLI2SP_1 (0x2UL << RCC_PLLI2SCFGR_PLLI2SP_Pos)
11298#define RCC_PLLI2SCFGR_PLLI2SQ_Pos (24U)
11299#define RCC_PLLI2SCFGR_PLLI2SQ_Msk (0xFUL << RCC_PLLI2SCFGR_PLLI2SQ_Pos)
11300#define RCC_PLLI2SCFGR_PLLI2SQ RCC_PLLI2SCFGR_PLLI2SQ_Msk
11301#define RCC_PLLI2SCFGR_PLLI2SQ_0 (0x1UL << RCC_PLLI2SCFGR_PLLI2SQ_Pos)
11302#define RCC_PLLI2SCFGR_PLLI2SQ_1 (0x2UL << RCC_PLLI2SCFGR_PLLI2SQ_Pos)
11303#define RCC_PLLI2SCFGR_PLLI2SQ_2 (0x4UL << RCC_PLLI2SCFGR_PLLI2SQ_Pos)
11304#define RCC_PLLI2SCFGR_PLLI2SQ_3 (0x8UL << RCC_PLLI2SCFGR_PLLI2SQ_Pos)
11305#define RCC_PLLI2SCFGR_PLLI2SR_Pos (28U)
11306#define RCC_PLLI2SCFGR_PLLI2SR_Msk (0x7UL << RCC_PLLI2SCFGR_PLLI2SR_Pos)
11307#define RCC_PLLI2SCFGR_PLLI2SR RCC_PLLI2SCFGR_PLLI2SR_Msk
11308#define RCC_PLLI2SCFGR_PLLI2SR_0 (0x1UL << RCC_PLLI2SCFGR_PLLI2SR_Pos)
11309#define RCC_PLLI2SCFGR_PLLI2SR_1 (0x2UL << RCC_PLLI2SCFGR_PLLI2SR_Pos)
11310#define RCC_PLLI2SCFGR_PLLI2SR_2 (0x4UL << RCC_PLLI2SCFGR_PLLI2SR_Pos)
11312/******************** Bit definition for RCC_PLLSAICFGR register ************/
11313#define RCC_PLLSAICFGR_PLLSAIN_Pos (6U)
11314#define RCC_PLLSAICFGR_PLLSAIN_Msk (0x1FFUL << RCC_PLLSAICFGR_PLLSAIN_Pos)
11315#define RCC_PLLSAICFGR_PLLSAIN RCC_PLLSAICFGR_PLLSAIN_Msk
11316#define RCC_PLLSAICFGR_PLLSAIN_0 (0x001UL << RCC_PLLSAICFGR_PLLSAIN_Pos)
11317#define RCC_PLLSAICFGR_PLLSAIN_1 (0x002UL << RCC_PLLSAICFGR_PLLSAIN_Pos)
11318#define RCC_PLLSAICFGR_PLLSAIN_2 (0x004UL << RCC_PLLSAICFGR_PLLSAIN_Pos)
11319#define RCC_PLLSAICFGR_PLLSAIN_3 (0x008UL << RCC_PLLSAICFGR_PLLSAIN_Pos)
11320#define RCC_PLLSAICFGR_PLLSAIN_4 (0x010UL << RCC_PLLSAICFGR_PLLSAIN_Pos)
11321#define RCC_PLLSAICFGR_PLLSAIN_5 (0x020UL << RCC_PLLSAICFGR_PLLSAIN_Pos)
11322#define RCC_PLLSAICFGR_PLLSAIN_6 (0x040UL << RCC_PLLSAICFGR_PLLSAIN_Pos)
11323#define RCC_PLLSAICFGR_PLLSAIN_7 (0x080UL << RCC_PLLSAICFGR_PLLSAIN_Pos)
11324#define RCC_PLLSAICFGR_PLLSAIN_8 (0x100UL << RCC_PLLSAICFGR_PLLSAIN_Pos)
11325#define RCC_PLLSAICFGR_PLLSAIP_Pos (16U)
11326#define RCC_PLLSAICFGR_PLLSAIP_Msk (0x3UL << RCC_PLLSAICFGR_PLLSAIP_Pos)
11327#define RCC_PLLSAICFGR_PLLSAIP RCC_PLLSAICFGR_PLLSAIP_Msk
11328#define RCC_PLLSAICFGR_PLLSAIP_0 (0x1UL << RCC_PLLSAICFGR_PLLSAIP_Pos)
11329#define RCC_PLLSAICFGR_PLLSAIP_1 (0x2UL << RCC_PLLSAICFGR_PLLSAIP_Pos)
11330#define RCC_PLLSAICFGR_PLLSAIQ_Pos (24U)
11331#define RCC_PLLSAICFGR_PLLSAIQ_Msk (0xFUL << RCC_PLLSAICFGR_PLLSAIQ_Pos)
11332#define RCC_PLLSAICFGR_PLLSAIQ RCC_PLLSAICFGR_PLLSAIQ_Msk
11333#define RCC_PLLSAICFGR_PLLSAIQ_0 (0x1UL << RCC_PLLSAICFGR_PLLSAIQ_Pos)
11334#define RCC_PLLSAICFGR_PLLSAIQ_1 (0x2UL << RCC_PLLSAICFGR_PLLSAIQ_Pos)
11335#define RCC_PLLSAICFGR_PLLSAIQ_2 (0x4UL << RCC_PLLSAICFGR_PLLSAIQ_Pos)
11336#define RCC_PLLSAICFGR_PLLSAIQ_3 (0x8UL << RCC_PLLSAICFGR_PLLSAIQ_Pos)
11337#define RCC_PLLSAICFGR_PLLSAIR_Pos (28U)
11338#define RCC_PLLSAICFGR_PLLSAIR_Msk (0x7UL << RCC_PLLSAICFGR_PLLSAIR_Pos)
11339#define RCC_PLLSAICFGR_PLLSAIR RCC_PLLSAICFGR_PLLSAIR_Msk
11340#define RCC_PLLSAICFGR_PLLSAIR_0 (0x1UL << RCC_PLLSAICFGR_PLLSAIR_Pos)
11341#define RCC_PLLSAICFGR_PLLSAIR_1 (0x2UL << RCC_PLLSAICFGR_PLLSAIR_Pos)
11342#define RCC_PLLSAICFGR_PLLSAIR_2 (0x4UL << RCC_PLLSAICFGR_PLLSAIR_Pos)
11344/******************** Bit definition for RCC_DCKCFGR1 register ***************/
11345#define RCC_DCKCFGR1_PLLI2SDIVQ_Pos (0U)
11346#define RCC_DCKCFGR1_PLLI2SDIVQ_Msk (0x1FUL << RCC_DCKCFGR1_PLLI2SDIVQ_Pos)
11347#define RCC_DCKCFGR1_PLLI2SDIVQ RCC_DCKCFGR1_PLLI2SDIVQ_Msk
11348#define RCC_DCKCFGR1_PLLI2SDIVQ_0 (0x01UL << RCC_DCKCFGR1_PLLI2SDIVQ_Pos)
11349#define RCC_DCKCFGR1_PLLI2SDIVQ_1 (0x02UL << RCC_DCKCFGR1_PLLI2SDIVQ_Pos)
11350#define RCC_DCKCFGR1_PLLI2SDIVQ_2 (0x04UL << RCC_DCKCFGR1_PLLI2SDIVQ_Pos)
11351#define RCC_DCKCFGR1_PLLI2SDIVQ_3 (0x08UL << RCC_DCKCFGR1_PLLI2SDIVQ_Pos)
11352#define RCC_DCKCFGR1_PLLI2SDIVQ_4 (0x10UL << RCC_DCKCFGR1_PLLI2SDIVQ_Pos)
11354#define RCC_DCKCFGR1_PLLSAIDIVQ_Pos (8U)
11355#define RCC_DCKCFGR1_PLLSAIDIVQ_Msk (0x1FUL << RCC_DCKCFGR1_PLLSAIDIVQ_Pos)
11356#define RCC_DCKCFGR1_PLLSAIDIVQ RCC_DCKCFGR1_PLLSAIDIVQ_Msk
11357#define RCC_DCKCFGR1_PLLSAIDIVQ_0 (0x01UL << RCC_DCKCFGR1_PLLSAIDIVQ_Pos)
11358#define RCC_DCKCFGR1_PLLSAIDIVQ_1 (0x02UL << RCC_DCKCFGR1_PLLSAIDIVQ_Pos)
11359#define RCC_DCKCFGR1_PLLSAIDIVQ_2 (0x04UL << RCC_DCKCFGR1_PLLSAIDIVQ_Pos)
11360#define RCC_DCKCFGR1_PLLSAIDIVQ_3 (0x08UL << RCC_DCKCFGR1_PLLSAIDIVQ_Pos)
11361#define RCC_DCKCFGR1_PLLSAIDIVQ_4 (0x10UL << RCC_DCKCFGR1_PLLSAIDIVQ_Pos)
11363#define RCC_DCKCFGR1_PLLSAIDIVR_Pos (16U)
11364#define RCC_DCKCFGR1_PLLSAIDIVR_Msk (0x3UL << RCC_DCKCFGR1_PLLSAIDIVR_Pos)
11365#define RCC_DCKCFGR1_PLLSAIDIVR RCC_DCKCFGR1_PLLSAIDIVR_Msk
11366#define RCC_DCKCFGR1_PLLSAIDIVR_0 (0x1UL << RCC_DCKCFGR1_PLLSAIDIVR_Pos)
11367#define RCC_DCKCFGR1_PLLSAIDIVR_1 (0x2UL << RCC_DCKCFGR1_PLLSAIDIVR_Pos)
11369#define RCC_DCKCFGR1_SAI1SEL_Pos (20U)
11370#define RCC_DCKCFGR1_SAI1SEL_Msk (0x3UL << RCC_DCKCFGR1_SAI1SEL_Pos)
11371#define RCC_DCKCFGR1_SAI1SEL RCC_DCKCFGR1_SAI1SEL_Msk
11372#define RCC_DCKCFGR1_SAI1SEL_0 (0x1UL << RCC_DCKCFGR1_SAI1SEL_Pos)
11373#define RCC_DCKCFGR1_SAI1SEL_1 (0x2UL << RCC_DCKCFGR1_SAI1SEL_Pos)
11375#define RCC_DCKCFGR1_SAI2SEL_Pos (22U)
11376#define RCC_DCKCFGR1_SAI2SEL_Msk (0x3UL << RCC_DCKCFGR1_SAI2SEL_Pos)
11377#define RCC_DCKCFGR1_SAI2SEL RCC_DCKCFGR1_SAI2SEL_Msk
11378#define RCC_DCKCFGR1_SAI2SEL_0 (0x1UL << RCC_DCKCFGR1_SAI2SEL_Pos)
11379#define RCC_DCKCFGR1_SAI2SEL_1 (0x2UL << RCC_DCKCFGR1_SAI2SEL_Pos)
11381#define RCC_DCKCFGR1_TIMPRE_Pos (24U)
11382#define RCC_DCKCFGR1_TIMPRE_Msk (0x1UL << RCC_DCKCFGR1_TIMPRE_Pos)
11383#define RCC_DCKCFGR1_TIMPRE RCC_DCKCFGR1_TIMPRE_Msk
11384
11385/******************** Bit definition for RCC_DCKCFGR2 register ***************/
11386#define RCC_DCKCFGR2_USART1SEL_Pos (0U)
11387#define RCC_DCKCFGR2_USART1SEL_Msk (0x3UL << RCC_DCKCFGR2_USART1SEL_Pos)
11388#define RCC_DCKCFGR2_USART1SEL RCC_DCKCFGR2_USART1SEL_Msk
11389#define RCC_DCKCFGR2_USART1SEL_0 (0x1UL << RCC_DCKCFGR2_USART1SEL_Pos)
11390#define RCC_DCKCFGR2_USART1SEL_1 (0x2UL << RCC_DCKCFGR2_USART1SEL_Pos)
11391#define RCC_DCKCFGR2_USART2SEL_Pos (2U)
11392#define RCC_DCKCFGR2_USART2SEL_Msk (0x3UL << RCC_DCKCFGR2_USART2SEL_Pos)
11393#define RCC_DCKCFGR2_USART2SEL RCC_DCKCFGR2_USART2SEL_Msk
11394#define RCC_DCKCFGR2_USART2SEL_0 (0x1UL << RCC_DCKCFGR2_USART2SEL_Pos)
11395#define RCC_DCKCFGR2_USART2SEL_1 (0x2UL << RCC_DCKCFGR2_USART2SEL_Pos)
11396#define RCC_DCKCFGR2_USART3SEL_Pos (4U)
11397#define RCC_DCKCFGR2_USART3SEL_Msk (0x3UL << RCC_DCKCFGR2_USART3SEL_Pos)
11398#define RCC_DCKCFGR2_USART3SEL RCC_DCKCFGR2_USART3SEL_Msk
11399#define RCC_DCKCFGR2_USART3SEL_0 (0x1UL << RCC_DCKCFGR2_USART3SEL_Pos)
11400#define RCC_DCKCFGR2_USART3SEL_1 (0x2UL << RCC_DCKCFGR2_USART3SEL_Pos)
11401#define RCC_DCKCFGR2_UART4SEL_Pos (6U)
11402#define RCC_DCKCFGR2_UART4SEL_Msk (0x3UL << RCC_DCKCFGR2_UART4SEL_Pos)
11403#define RCC_DCKCFGR2_UART4SEL RCC_DCKCFGR2_UART4SEL_Msk
11404#define RCC_DCKCFGR2_UART4SEL_0 (0x1UL << RCC_DCKCFGR2_UART4SEL_Pos)
11405#define RCC_DCKCFGR2_UART4SEL_1 (0x2UL << RCC_DCKCFGR2_UART4SEL_Pos)
11406#define RCC_DCKCFGR2_UART5SEL_Pos (8U)
11407#define RCC_DCKCFGR2_UART5SEL_Msk (0x3UL << RCC_DCKCFGR2_UART5SEL_Pos)
11408#define RCC_DCKCFGR2_UART5SEL RCC_DCKCFGR2_UART5SEL_Msk
11409#define RCC_DCKCFGR2_UART5SEL_0 (0x1UL << RCC_DCKCFGR2_UART5SEL_Pos)
11410#define RCC_DCKCFGR2_UART5SEL_1 (0x2UL << RCC_DCKCFGR2_UART5SEL_Pos)
11411#define RCC_DCKCFGR2_USART6SEL_Pos (10U)
11412#define RCC_DCKCFGR2_USART6SEL_Msk (0x3UL << RCC_DCKCFGR2_USART6SEL_Pos)
11413#define RCC_DCKCFGR2_USART6SEL RCC_DCKCFGR2_USART6SEL_Msk
11414#define RCC_DCKCFGR2_USART6SEL_0 (0x1UL << RCC_DCKCFGR2_USART6SEL_Pos)
11415#define RCC_DCKCFGR2_USART6SEL_1 (0x2UL << RCC_DCKCFGR2_USART6SEL_Pos)
11416#define RCC_DCKCFGR2_UART7SEL_Pos (12U)
11417#define RCC_DCKCFGR2_UART7SEL_Msk (0x3UL << RCC_DCKCFGR2_UART7SEL_Pos)
11418#define RCC_DCKCFGR2_UART7SEL RCC_DCKCFGR2_UART7SEL_Msk
11419#define RCC_DCKCFGR2_UART7SEL_0 (0x1UL << RCC_DCKCFGR2_UART7SEL_Pos)
11420#define RCC_DCKCFGR2_UART7SEL_1 (0x2UL << RCC_DCKCFGR2_UART7SEL_Pos)
11421#define RCC_DCKCFGR2_UART8SEL_Pos (14U)
11422#define RCC_DCKCFGR2_UART8SEL_Msk (0x3UL << RCC_DCKCFGR2_UART8SEL_Pos)
11423#define RCC_DCKCFGR2_UART8SEL RCC_DCKCFGR2_UART8SEL_Msk
11424#define RCC_DCKCFGR2_UART8SEL_0 (0x1UL << RCC_DCKCFGR2_UART8SEL_Pos)
11425#define RCC_DCKCFGR2_UART8SEL_1 (0x2UL << RCC_DCKCFGR2_UART8SEL_Pos)
11426#define RCC_DCKCFGR2_I2C1SEL_Pos (16U)
11427#define RCC_DCKCFGR2_I2C1SEL_Msk (0x3UL << RCC_DCKCFGR2_I2C1SEL_Pos)
11428#define RCC_DCKCFGR2_I2C1SEL RCC_DCKCFGR2_I2C1SEL_Msk
11429#define RCC_DCKCFGR2_I2C1SEL_0 (0x1UL << RCC_DCKCFGR2_I2C1SEL_Pos)
11430#define RCC_DCKCFGR2_I2C1SEL_1 (0x2UL << RCC_DCKCFGR2_I2C1SEL_Pos)
11431#define RCC_DCKCFGR2_I2C2SEL_Pos (18U)
11432#define RCC_DCKCFGR2_I2C2SEL_Msk (0x3UL << RCC_DCKCFGR2_I2C2SEL_Pos)
11433#define RCC_DCKCFGR2_I2C2SEL RCC_DCKCFGR2_I2C2SEL_Msk
11434#define RCC_DCKCFGR2_I2C2SEL_0 (0x1UL << RCC_DCKCFGR2_I2C2SEL_Pos)
11435#define RCC_DCKCFGR2_I2C2SEL_1 (0x2UL << RCC_DCKCFGR2_I2C2SEL_Pos)
11436#define RCC_DCKCFGR2_I2C3SEL_Pos (20U)
11437#define RCC_DCKCFGR2_I2C3SEL_Msk (0x3UL << RCC_DCKCFGR2_I2C3SEL_Pos)
11438#define RCC_DCKCFGR2_I2C3SEL RCC_DCKCFGR2_I2C3SEL_Msk
11439#define RCC_DCKCFGR2_I2C3SEL_0 (0x1UL << RCC_DCKCFGR2_I2C3SEL_Pos)
11440#define RCC_DCKCFGR2_I2C3SEL_1 (0x2UL << RCC_DCKCFGR2_I2C3SEL_Pos)
11441#define RCC_DCKCFGR2_I2C4SEL_Pos (22U)
11442#define RCC_DCKCFGR2_I2C4SEL_Msk (0x3UL << RCC_DCKCFGR2_I2C4SEL_Pos)
11443#define RCC_DCKCFGR2_I2C4SEL RCC_DCKCFGR2_I2C4SEL_Msk
11444#define RCC_DCKCFGR2_I2C4SEL_0 (0x1UL << RCC_DCKCFGR2_I2C4SEL_Pos)
11445#define RCC_DCKCFGR2_I2C4SEL_1 (0x2UL << RCC_DCKCFGR2_I2C4SEL_Pos)
11446#define RCC_DCKCFGR2_LPTIM1SEL_Pos (24U)
11447#define RCC_DCKCFGR2_LPTIM1SEL_Msk (0x3UL << RCC_DCKCFGR2_LPTIM1SEL_Pos)
11448#define RCC_DCKCFGR2_LPTIM1SEL RCC_DCKCFGR2_LPTIM1SEL_Msk
11449#define RCC_DCKCFGR2_LPTIM1SEL_0 (0x1UL << RCC_DCKCFGR2_LPTIM1SEL_Pos)
11450#define RCC_DCKCFGR2_LPTIM1SEL_1 (0x2UL << RCC_DCKCFGR2_LPTIM1SEL_Pos)
11451#define RCC_DCKCFGR2_CECSEL_Pos (26U)
11452#define RCC_DCKCFGR2_CECSEL_Msk (0x1UL << RCC_DCKCFGR2_CECSEL_Pos)
11453#define RCC_DCKCFGR2_CECSEL RCC_DCKCFGR2_CECSEL_Msk
11454#define RCC_DCKCFGR2_CK48MSEL_Pos (27U)
11455#define RCC_DCKCFGR2_CK48MSEL_Msk (0x1UL << RCC_DCKCFGR2_CK48MSEL_Pos)
11456#define RCC_DCKCFGR2_CK48MSEL RCC_DCKCFGR2_CK48MSEL_Msk
11457#define RCC_DCKCFGR2_SDMMC1SEL_Pos (28U)
11458#define RCC_DCKCFGR2_SDMMC1SEL_Msk (0x1UL << RCC_DCKCFGR2_SDMMC1SEL_Pos)
11459#define RCC_DCKCFGR2_SDMMC1SEL RCC_DCKCFGR2_SDMMC1SEL_Msk
11460
11461/******************************************************************************/
11462/* */
11463/* RNG */
11464/* */
11465/******************************************************************************/
11466/******************** Bits definition for RNG_CR register *******************/
11467#define RNG_CR_RNGEN_Pos (2U)
11468#define RNG_CR_RNGEN_Msk (0x1UL << RNG_CR_RNGEN_Pos)
11469#define RNG_CR_RNGEN RNG_CR_RNGEN_Msk
11470#define RNG_CR_IE_Pos (3U)
11471#define RNG_CR_IE_Msk (0x1UL << RNG_CR_IE_Pos)
11472#define RNG_CR_IE RNG_CR_IE_Msk
11473
11474/******************** Bits definition for RNG_SR register *******************/
11475#define RNG_SR_DRDY_Pos (0U)
11476#define RNG_SR_DRDY_Msk (0x1UL << RNG_SR_DRDY_Pos)
11477#define RNG_SR_DRDY RNG_SR_DRDY_Msk
11478#define RNG_SR_CECS_Pos (1U)
11479#define RNG_SR_CECS_Msk (0x1UL << RNG_SR_CECS_Pos)
11480#define RNG_SR_CECS RNG_SR_CECS_Msk
11481#define RNG_SR_SECS_Pos (2U)
11482#define RNG_SR_SECS_Msk (0x1UL << RNG_SR_SECS_Pos)
11483#define RNG_SR_SECS RNG_SR_SECS_Msk
11484#define RNG_SR_CEIS_Pos (5U)
11485#define RNG_SR_CEIS_Msk (0x1UL << RNG_SR_CEIS_Pos)
11486#define RNG_SR_CEIS RNG_SR_CEIS_Msk
11487#define RNG_SR_SEIS_Pos (6U)
11488#define RNG_SR_SEIS_Msk (0x1UL << RNG_SR_SEIS_Pos)
11489#define RNG_SR_SEIS RNG_SR_SEIS_Msk
11490
11491/******************************************************************************/
11492/* */
11493/* Real-Time Clock (RTC) */
11494/* */
11495/******************************************************************************/
11496/******************** Bits definition for RTC_TR register *******************/
11497#define RTC_TR_PM_Pos (22U)
11498#define RTC_TR_PM_Msk (0x1UL << RTC_TR_PM_Pos)
11499#define RTC_TR_PM RTC_TR_PM_Msk
11500#define RTC_TR_HT_Pos (20U)
11501#define RTC_TR_HT_Msk (0x3UL << RTC_TR_HT_Pos)
11502#define RTC_TR_HT RTC_TR_HT_Msk
11503#define RTC_TR_HT_0 (0x1UL << RTC_TR_HT_Pos)
11504#define RTC_TR_HT_1 (0x2UL << RTC_TR_HT_Pos)
11505#define RTC_TR_HU_Pos (16U)
11506#define RTC_TR_HU_Msk (0xFUL << RTC_TR_HU_Pos)
11507#define RTC_TR_HU RTC_TR_HU_Msk
11508#define RTC_TR_HU_0 (0x1UL << RTC_TR_HU_Pos)
11509#define RTC_TR_HU_1 (0x2UL << RTC_TR_HU_Pos)
11510#define RTC_TR_HU_2 (0x4UL << RTC_TR_HU_Pos)
11511#define RTC_TR_HU_3 (0x8UL << RTC_TR_HU_Pos)
11512#define RTC_TR_MNT_Pos (12U)
11513#define RTC_TR_MNT_Msk (0x7UL << RTC_TR_MNT_Pos)
11514#define RTC_TR_MNT RTC_TR_MNT_Msk
11515#define RTC_TR_MNT_0 (0x1UL << RTC_TR_MNT_Pos)
11516#define RTC_TR_MNT_1 (0x2UL << RTC_TR_MNT_Pos)
11517#define RTC_TR_MNT_2 (0x4UL << RTC_TR_MNT_Pos)
11518#define RTC_TR_MNU_Pos (8U)
11519#define RTC_TR_MNU_Msk (0xFUL << RTC_TR_MNU_Pos)
11520#define RTC_TR_MNU RTC_TR_MNU_Msk
11521#define RTC_TR_MNU_0 (0x1UL << RTC_TR_MNU_Pos)
11522#define RTC_TR_MNU_1 (0x2UL << RTC_TR_MNU_Pos)
11523#define RTC_TR_MNU_2 (0x4UL << RTC_TR_MNU_Pos)
11524#define RTC_TR_MNU_3 (0x8UL << RTC_TR_MNU_Pos)
11525#define RTC_TR_ST_Pos (4U)
11526#define RTC_TR_ST_Msk (0x7UL << RTC_TR_ST_Pos)
11527#define RTC_TR_ST RTC_TR_ST_Msk
11528#define RTC_TR_ST_0 (0x1UL << RTC_TR_ST_Pos)
11529#define RTC_TR_ST_1 (0x2UL << RTC_TR_ST_Pos)
11530#define RTC_TR_ST_2 (0x4UL << RTC_TR_ST_Pos)
11531#define RTC_TR_SU_Pos (0U)
11532#define RTC_TR_SU_Msk (0xFUL << RTC_TR_SU_Pos)
11533#define RTC_TR_SU RTC_TR_SU_Msk
11534#define RTC_TR_SU_0 (0x1UL << RTC_TR_SU_Pos)
11535#define RTC_TR_SU_1 (0x2UL << RTC_TR_SU_Pos)
11536#define RTC_TR_SU_2 (0x4UL << RTC_TR_SU_Pos)
11537#define RTC_TR_SU_3 (0x8UL << RTC_TR_SU_Pos)
11539/******************** Bits definition for RTC_DR register *******************/
11540#define RTC_DR_YT_Pos (20U)
11541#define RTC_DR_YT_Msk (0xFUL << RTC_DR_YT_Pos)
11542#define RTC_DR_YT RTC_DR_YT_Msk
11543#define RTC_DR_YT_0 (0x1UL << RTC_DR_YT_Pos)
11544#define RTC_DR_YT_1 (0x2UL << RTC_DR_YT_Pos)
11545#define RTC_DR_YT_2 (0x4UL << RTC_DR_YT_Pos)
11546#define RTC_DR_YT_3 (0x8UL << RTC_DR_YT_Pos)
11547#define RTC_DR_YU_Pos (16U)
11548#define RTC_DR_YU_Msk (0xFUL << RTC_DR_YU_Pos)
11549#define RTC_DR_YU RTC_DR_YU_Msk
11550#define RTC_DR_YU_0 (0x1UL << RTC_DR_YU_Pos)
11551#define RTC_DR_YU_1 (0x2UL << RTC_DR_YU_Pos)
11552#define RTC_DR_YU_2 (0x4UL << RTC_DR_YU_Pos)
11553#define RTC_DR_YU_3 (0x8UL << RTC_DR_YU_Pos)
11554#define RTC_DR_WDU_Pos (13U)
11555#define RTC_DR_WDU_Msk (0x7UL << RTC_DR_WDU_Pos)
11556#define RTC_DR_WDU RTC_DR_WDU_Msk
11557#define RTC_DR_WDU_0 (0x1UL << RTC_DR_WDU_Pos)
11558#define RTC_DR_WDU_1 (0x2UL << RTC_DR_WDU_Pos)
11559#define RTC_DR_WDU_2 (0x4UL << RTC_DR_WDU_Pos)
11560#define RTC_DR_MT_Pos (12U)
11561#define RTC_DR_MT_Msk (0x1UL << RTC_DR_MT_Pos)
11562#define RTC_DR_MT RTC_DR_MT_Msk
11563#define RTC_DR_MU_Pos (8U)
11564#define RTC_DR_MU_Msk (0xFUL << RTC_DR_MU_Pos)
11565#define RTC_DR_MU RTC_DR_MU_Msk
11566#define RTC_DR_MU_0 (0x1UL << RTC_DR_MU_Pos)
11567#define RTC_DR_MU_1 (0x2UL << RTC_DR_MU_Pos)
11568#define RTC_DR_MU_2 (0x4UL << RTC_DR_MU_Pos)
11569#define RTC_DR_MU_3 (0x8UL << RTC_DR_MU_Pos)
11570#define RTC_DR_DT_Pos (4U)
11571#define RTC_DR_DT_Msk (0x3UL << RTC_DR_DT_Pos)
11572#define RTC_DR_DT RTC_DR_DT_Msk
11573#define RTC_DR_DT_0 (0x1UL << RTC_DR_DT_Pos)
11574#define RTC_DR_DT_1 (0x2UL << RTC_DR_DT_Pos)
11575#define RTC_DR_DU_Pos (0U)
11576#define RTC_DR_DU_Msk (0xFUL << RTC_DR_DU_Pos)
11577#define RTC_DR_DU RTC_DR_DU_Msk
11578#define RTC_DR_DU_0 (0x1UL << RTC_DR_DU_Pos)
11579#define RTC_DR_DU_1 (0x2UL << RTC_DR_DU_Pos)
11580#define RTC_DR_DU_2 (0x4UL << RTC_DR_DU_Pos)
11581#define RTC_DR_DU_3 (0x8UL << RTC_DR_DU_Pos)
11583/******************** Bits definition for RTC_CR register *******************/
11584#define RTC_CR_ITSE_Pos (24U)
11585#define RTC_CR_ITSE_Msk (0x1UL << RTC_CR_ITSE_Pos)
11586#define RTC_CR_ITSE RTC_CR_ITSE_Msk
11587#define RTC_CR_COE_Pos (23U)
11588#define RTC_CR_COE_Msk (0x1UL << RTC_CR_COE_Pos)
11589#define RTC_CR_COE RTC_CR_COE_Msk
11590#define RTC_CR_OSEL_Pos (21U)
11591#define RTC_CR_OSEL_Msk (0x3UL << RTC_CR_OSEL_Pos)
11592#define RTC_CR_OSEL RTC_CR_OSEL_Msk
11593#define RTC_CR_OSEL_0 (0x1UL << RTC_CR_OSEL_Pos)
11594#define RTC_CR_OSEL_1 (0x2UL << RTC_CR_OSEL_Pos)
11595#define RTC_CR_POL_Pos (20U)
11596#define RTC_CR_POL_Msk (0x1UL << RTC_CR_POL_Pos)
11597#define RTC_CR_POL RTC_CR_POL_Msk
11598#define RTC_CR_COSEL_Pos (19U)
11599#define RTC_CR_COSEL_Msk (0x1UL << RTC_CR_COSEL_Pos)
11600#define RTC_CR_COSEL RTC_CR_COSEL_Msk
11601#define RTC_CR_BKP_Pos (18U)
11602#define RTC_CR_BKP_Msk (0x1UL << RTC_CR_BKP_Pos)
11603#define RTC_CR_BKP RTC_CR_BKP_Msk
11604#define RTC_CR_SUB1H_Pos (17U)
11605#define RTC_CR_SUB1H_Msk (0x1UL << RTC_CR_SUB1H_Pos)
11606#define RTC_CR_SUB1H RTC_CR_SUB1H_Msk
11607#define RTC_CR_ADD1H_Pos (16U)
11608#define RTC_CR_ADD1H_Msk (0x1UL << RTC_CR_ADD1H_Pos)
11609#define RTC_CR_ADD1H RTC_CR_ADD1H_Msk
11610#define RTC_CR_TSIE_Pos (15U)
11611#define RTC_CR_TSIE_Msk (0x1UL << RTC_CR_TSIE_Pos)
11612#define RTC_CR_TSIE RTC_CR_TSIE_Msk
11613#define RTC_CR_WUTIE_Pos (14U)
11614#define RTC_CR_WUTIE_Msk (0x1UL << RTC_CR_WUTIE_Pos)
11615#define RTC_CR_WUTIE RTC_CR_WUTIE_Msk
11616#define RTC_CR_ALRBIE_Pos (13U)
11617#define RTC_CR_ALRBIE_Msk (0x1UL << RTC_CR_ALRBIE_Pos)
11618#define RTC_CR_ALRBIE RTC_CR_ALRBIE_Msk
11619#define RTC_CR_ALRAIE_Pos (12U)
11620#define RTC_CR_ALRAIE_Msk (0x1UL << RTC_CR_ALRAIE_Pos)
11621#define RTC_CR_ALRAIE RTC_CR_ALRAIE_Msk
11622#define RTC_CR_TSE_Pos (11U)
11623#define RTC_CR_TSE_Msk (0x1UL << RTC_CR_TSE_Pos)
11624#define RTC_CR_TSE RTC_CR_TSE_Msk
11625#define RTC_CR_WUTE_Pos (10U)
11626#define RTC_CR_WUTE_Msk (0x1UL << RTC_CR_WUTE_Pos)
11627#define RTC_CR_WUTE RTC_CR_WUTE_Msk
11628#define RTC_CR_ALRBE_Pos (9U)
11629#define RTC_CR_ALRBE_Msk (0x1UL << RTC_CR_ALRBE_Pos)
11630#define RTC_CR_ALRBE RTC_CR_ALRBE_Msk
11631#define RTC_CR_ALRAE_Pos (8U)
11632#define RTC_CR_ALRAE_Msk (0x1UL << RTC_CR_ALRAE_Pos)
11633#define RTC_CR_ALRAE RTC_CR_ALRAE_Msk
11634#define RTC_CR_FMT_Pos (6U)
11635#define RTC_CR_FMT_Msk (0x1UL << RTC_CR_FMT_Pos)
11636#define RTC_CR_FMT RTC_CR_FMT_Msk
11637#define RTC_CR_BYPSHAD_Pos (5U)
11638#define RTC_CR_BYPSHAD_Msk (0x1UL << RTC_CR_BYPSHAD_Pos)
11639#define RTC_CR_BYPSHAD RTC_CR_BYPSHAD_Msk
11640#define RTC_CR_REFCKON_Pos (4U)
11641#define RTC_CR_REFCKON_Msk (0x1UL << RTC_CR_REFCKON_Pos)
11642#define RTC_CR_REFCKON RTC_CR_REFCKON_Msk
11643#define RTC_CR_TSEDGE_Pos (3U)
11644#define RTC_CR_TSEDGE_Msk (0x1UL << RTC_CR_TSEDGE_Pos)
11645#define RTC_CR_TSEDGE RTC_CR_TSEDGE_Msk
11646#define RTC_CR_WUCKSEL_Pos (0U)
11647#define RTC_CR_WUCKSEL_Msk (0x7UL << RTC_CR_WUCKSEL_Pos)
11648#define RTC_CR_WUCKSEL RTC_CR_WUCKSEL_Msk
11649#define RTC_CR_WUCKSEL_0 (0x1UL << RTC_CR_WUCKSEL_Pos)
11650#define RTC_CR_WUCKSEL_1 (0x2UL << RTC_CR_WUCKSEL_Pos)
11651#define RTC_CR_WUCKSEL_2 (0x4UL << RTC_CR_WUCKSEL_Pos)
11653/* Legacy define */
11654#define RTC_CR_BCK RTC_CR_BKP
11655
11656/******************** Bits definition for RTC_ISR register ******************/
11657#define RTC_ISR_ITSF_Pos (17U)
11658#define RTC_ISR_ITSF_Msk (0x1UL << RTC_ISR_ITSF_Pos)
11659#define RTC_ISR_ITSF RTC_ISR_ITSF_Msk
11660#define RTC_ISR_RECALPF_Pos (16U)
11661#define RTC_ISR_RECALPF_Msk (0x1UL << RTC_ISR_RECALPF_Pos)
11662#define RTC_ISR_RECALPF RTC_ISR_RECALPF_Msk
11663#define RTC_ISR_TAMP3F_Pos (15U)
11664#define RTC_ISR_TAMP3F_Msk (0x1UL << RTC_ISR_TAMP3F_Pos)
11665#define RTC_ISR_TAMP3F RTC_ISR_TAMP3F_Msk
11666#define RTC_ISR_TAMP2F_Pos (14U)
11667#define RTC_ISR_TAMP2F_Msk (0x1UL << RTC_ISR_TAMP2F_Pos)
11668#define RTC_ISR_TAMP2F RTC_ISR_TAMP2F_Msk
11669#define RTC_ISR_TAMP1F_Pos (13U)
11670#define RTC_ISR_TAMP1F_Msk (0x1UL << RTC_ISR_TAMP1F_Pos)
11671#define RTC_ISR_TAMP1F RTC_ISR_TAMP1F_Msk
11672#define RTC_ISR_TSOVF_Pos (12U)
11673#define RTC_ISR_TSOVF_Msk (0x1UL << RTC_ISR_TSOVF_Pos)
11674#define RTC_ISR_TSOVF RTC_ISR_TSOVF_Msk
11675#define RTC_ISR_TSF_Pos (11U)
11676#define RTC_ISR_TSF_Msk (0x1UL << RTC_ISR_TSF_Pos)
11677#define RTC_ISR_TSF RTC_ISR_TSF_Msk
11678#define RTC_ISR_WUTF_Pos (10U)
11679#define RTC_ISR_WUTF_Msk (0x1UL << RTC_ISR_WUTF_Pos)
11680#define RTC_ISR_WUTF RTC_ISR_WUTF_Msk
11681#define RTC_ISR_ALRBF_Pos (9U)
11682#define RTC_ISR_ALRBF_Msk (0x1UL << RTC_ISR_ALRBF_Pos)
11683#define RTC_ISR_ALRBF RTC_ISR_ALRBF_Msk
11684#define RTC_ISR_ALRAF_Pos (8U)
11685#define RTC_ISR_ALRAF_Msk (0x1UL << RTC_ISR_ALRAF_Pos)
11686#define RTC_ISR_ALRAF RTC_ISR_ALRAF_Msk
11687#define RTC_ISR_INIT_Pos (7U)
11688#define RTC_ISR_INIT_Msk (0x1UL << RTC_ISR_INIT_Pos)
11689#define RTC_ISR_INIT RTC_ISR_INIT_Msk
11690#define RTC_ISR_INITF_Pos (6U)
11691#define RTC_ISR_INITF_Msk (0x1UL << RTC_ISR_INITF_Pos)
11692#define RTC_ISR_INITF RTC_ISR_INITF_Msk
11693#define RTC_ISR_RSF_Pos (5U)
11694#define RTC_ISR_RSF_Msk (0x1UL << RTC_ISR_RSF_Pos)
11695#define RTC_ISR_RSF RTC_ISR_RSF_Msk
11696#define RTC_ISR_INITS_Pos (4U)
11697#define RTC_ISR_INITS_Msk (0x1UL << RTC_ISR_INITS_Pos)
11698#define RTC_ISR_INITS RTC_ISR_INITS_Msk
11699#define RTC_ISR_SHPF_Pos (3U)
11700#define RTC_ISR_SHPF_Msk (0x1UL << RTC_ISR_SHPF_Pos)
11701#define RTC_ISR_SHPF RTC_ISR_SHPF_Msk
11702#define RTC_ISR_WUTWF_Pos (2U)
11703#define RTC_ISR_WUTWF_Msk (0x1UL << RTC_ISR_WUTWF_Pos)
11704#define RTC_ISR_WUTWF RTC_ISR_WUTWF_Msk
11705#define RTC_ISR_ALRBWF_Pos (1U)
11706#define RTC_ISR_ALRBWF_Msk (0x1UL << RTC_ISR_ALRBWF_Pos)
11707#define RTC_ISR_ALRBWF RTC_ISR_ALRBWF_Msk
11708#define RTC_ISR_ALRAWF_Pos (0U)
11709#define RTC_ISR_ALRAWF_Msk (0x1UL << RTC_ISR_ALRAWF_Pos)
11710#define RTC_ISR_ALRAWF RTC_ISR_ALRAWF_Msk
11711
11712/******************** Bits definition for RTC_PRER register *****************/
11713#define RTC_PRER_PREDIV_A_Pos (16U)
11714#define RTC_PRER_PREDIV_A_Msk (0x7FUL << RTC_PRER_PREDIV_A_Pos)
11715#define RTC_PRER_PREDIV_A RTC_PRER_PREDIV_A_Msk
11716#define RTC_PRER_PREDIV_S_Pos (0U)
11717#define RTC_PRER_PREDIV_S_Msk (0x7FFFUL << RTC_PRER_PREDIV_S_Pos)
11718#define RTC_PRER_PREDIV_S RTC_PRER_PREDIV_S_Msk
11719
11720/******************** Bits definition for RTC_WUTR register *****************/
11721#define RTC_WUTR_WUT_Pos (0U)
11722#define RTC_WUTR_WUT_Msk (0xFFFFUL << RTC_WUTR_WUT_Pos)
11723#define RTC_WUTR_WUT RTC_WUTR_WUT_Msk
11724
11725/******************** Bits definition for RTC_ALRMAR register ***************/
11726#define RTC_ALRMAR_MSK4_Pos (31U)
11727#define RTC_ALRMAR_MSK4_Msk (0x1UL << RTC_ALRMAR_MSK4_Pos)
11728#define RTC_ALRMAR_MSK4 RTC_ALRMAR_MSK4_Msk
11729#define RTC_ALRMAR_WDSEL_Pos (30U)
11730#define RTC_ALRMAR_WDSEL_Msk (0x1UL << RTC_ALRMAR_WDSEL_Pos)
11731#define RTC_ALRMAR_WDSEL RTC_ALRMAR_WDSEL_Msk
11732#define RTC_ALRMAR_DT_Pos (28U)
11733#define RTC_ALRMAR_DT_Msk (0x3UL << RTC_ALRMAR_DT_Pos)
11734#define RTC_ALRMAR_DT RTC_ALRMAR_DT_Msk
11735#define RTC_ALRMAR_DT_0 (0x1UL << RTC_ALRMAR_DT_Pos)
11736#define RTC_ALRMAR_DT_1 (0x2UL << RTC_ALRMAR_DT_Pos)
11737#define RTC_ALRMAR_DU_Pos (24U)
11738#define RTC_ALRMAR_DU_Msk (0xFUL << RTC_ALRMAR_DU_Pos)
11739#define RTC_ALRMAR_DU RTC_ALRMAR_DU_Msk
11740#define RTC_ALRMAR_DU_0 (0x1UL << RTC_ALRMAR_DU_Pos)
11741#define RTC_ALRMAR_DU_1 (0x2UL << RTC_ALRMAR_DU_Pos)
11742#define RTC_ALRMAR_DU_2 (0x4UL << RTC_ALRMAR_DU_Pos)
11743#define RTC_ALRMAR_DU_3 (0x8UL << RTC_ALRMAR_DU_Pos)
11744#define RTC_ALRMAR_MSK3_Pos (23U)
11745#define RTC_ALRMAR_MSK3_Msk (0x1UL << RTC_ALRMAR_MSK3_Pos)
11746#define RTC_ALRMAR_MSK3 RTC_ALRMAR_MSK3_Msk
11747#define RTC_ALRMAR_PM_Pos (22U)
11748#define RTC_ALRMAR_PM_Msk (0x1UL << RTC_ALRMAR_PM_Pos)
11749#define RTC_ALRMAR_PM RTC_ALRMAR_PM_Msk
11750#define RTC_ALRMAR_HT_Pos (20U)
11751#define RTC_ALRMAR_HT_Msk (0x3UL << RTC_ALRMAR_HT_Pos)
11752#define RTC_ALRMAR_HT RTC_ALRMAR_HT_Msk
11753#define RTC_ALRMAR_HT_0 (0x1UL << RTC_ALRMAR_HT_Pos)
11754#define RTC_ALRMAR_HT_1 (0x2UL << RTC_ALRMAR_HT_Pos)
11755#define RTC_ALRMAR_HU_Pos (16U)
11756#define RTC_ALRMAR_HU_Msk (0xFUL << RTC_ALRMAR_HU_Pos)
11757#define RTC_ALRMAR_HU RTC_ALRMAR_HU_Msk
11758#define RTC_ALRMAR_HU_0 (0x1UL << RTC_ALRMAR_HU_Pos)
11759#define RTC_ALRMAR_HU_1 (0x2UL << RTC_ALRMAR_HU_Pos)
11760#define RTC_ALRMAR_HU_2 (0x4UL << RTC_ALRMAR_HU_Pos)
11761#define RTC_ALRMAR_HU_3 (0x8UL << RTC_ALRMAR_HU_Pos)
11762#define RTC_ALRMAR_MSK2_Pos (15U)
11763#define RTC_ALRMAR_MSK2_Msk (0x1UL << RTC_ALRMAR_MSK2_Pos)
11764#define RTC_ALRMAR_MSK2 RTC_ALRMAR_MSK2_Msk
11765#define RTC_ALRMAR_MNT_Pos (12U)
11766#define RTC_ALRMAR_MNT_Msk (0x7UL << RTC_ALRMAR_MNT_Pos)
11767#define RTC_ALRMAR_MNT RTC_ALRMAR_MNT_Msk
11768#define RTC_ALRMAR_MNT_0 (0x1UL << RTC_ALRMAR_MNT_Pos)
11769#define RTC_ALRMAR_MNT_1 (0x2UL << RTC_ALRMAR_MNT_Pos)
11770#define RTC_ALRMAR_MNT_2 (0x4UL << RTC_ALRMAR_MNT_Pos)
11771#define RTC_ALRMAR_MNU_Pos (8U)
11772#define RTC_ALRMAR_MNU_Msk (0xFUL << RTC_ALRMAR_MNU_Pos)
11773#define RTC_ALRMAR_MNU RTC_ALRMAR_MNU_Msk
11774#define RTC_ALRMAR_MNU_0 (0x1UL << RTC_ALRMAR_MNU_Pos)
11775#define RTC_ALRMAR_MNU_1 (0x2UL << RTC_ALRMAR_MNU_Pos)
11776#define RTC_ALRMAR_MNU_2 (0x4UL << RTC_ALRMAR_MNU_Pos)
11777#define RTC_ALRMAR_MNU_3 (0x8UL << RTC_ALRMAR_MNU_Pos)
11778#define RTC_ALRMAR_MSK1_Pos (7U)
11779#define RTC_ALRMAR_MSK1_Msk (0x1UL << RTC_ALRMAR_MSK1_Pos)
11780#define RTC_ALRMAR_MSK1 RTC_ALRMAR_MSK1_Msk
11781#define RTC_ALRMAR_ST_Pos (4U)
11782#define RTC_ALRMAR_ST_Msk (0x7UL << RTC_ALRMAR_ST_Pos)
11783#define RTC_ALRMAR_ST RTC_ALRMAR_ST_Msk
11784#define RTC_ALRMAR_ST_0 (0x1UL << RTC_ALRMAR_ST_Pos)
11785#define RTC_ALRMAR_ST_1 (0x2UL << RTC_ALRMAR_ST_Pos)
11786#define RTC_ALRMAR_ST_2 (0x4UL << RTC_ALRMAR_ST_Pos)
11787#define RTC_ALRMAR_SU_Pos (0U)
11788#define RTC_ALRMAR_SU_Msk (0xFUL << RTC_ALRMAR_SU_Pos)
11789#define RTC_ALRMAR_SU RTC_ALRMAR_SU_Msk
11790#define RTC_ALRMAR_SU_0 (0x1UL << RTC_ALRMAR_SU_Pos)
11791#define RTC_ALRMAR_SU_1 (0x2UL << RTC_ALRMAR_SU_Pos)
11792#define RTC_ALRMAR_SU_2 (0x4UL << RTC_ALRMAR_SU_Pos)
11793#define RTC_ALRMAR_SU_3 (0x8UL << RTC_ALRMAR_SU_Pos)
11795/******************** Bits definition for RTC_ALRMBR register ***************/
11796#define RTC_ALRMBR_MSK4_Pos (31U)
11797#define RTC_ALRMBR_MSK4_Msk (0x1UL << RTC_ALRMBR_MSK4_Pos)
11798#define RTC_ALRMBR_MSK4 RTC_ALRMBR_MSK4_Msk
11799#define RTC_ALRMBR_WDSEL_Pos (30U)
11800#define RTC_ALRMBR_WDSEL_Msk (0x1UL << RTC_ALRMBR_WDSEL_Pos)
11801#define RTC_ALRMBR_WDSEL RTC_ALRMBR_WDSEL_Msk
11802#define RTC_ALRMBR_DT_Pos (28U)
11803#define RTC_ALRMBR_DT_Msk (0x3UL << RTC_ALRMBR_DT_Pos)
11804#define RTC_ALRMBR_DT RTC_ALRMBR_DT_Msk
11805#define RTC_ALRMBR_DT_0 (0x1UL << RTC_ALRMBR_DT_Pos)
11806#define RTC_ALRMBR_DT_1 (0x2UL << RTC_ALRMBR_DT_Pos)
11807#define RTC_ALRMBR_DU_Pos (24U)
11808#define RTC_ALRMBR_DU_Msk (0xFUL << RTC_ALRMBR_DU_Pos)
11809#define RTC_ALRMBR_DU RTC_ALRMBR_DU_Msk
11810#define RTC_ALRMBR_DU_0 (0x1UL << RTC_ALRMBR_DU_Pos)
11811#define RTC_ALRMBR_DU_1 (0x2UL << RTC_ALRMBR_DU_Pos)
11812#define RTC_ALRMBR_DU_2 (0x4UL << RTC_ALRMBR_DU_Pos)
11813#define RTC_ALRMBR_DU_3 (0x8UL << RTC_ALRMBR_DU_Pos)
11814#define RTC_ALRMBR_MSK3_Pos (23U)
11815#define RTC_ALRMBR_MSK3_Msk (0x1UL << RTC_ALRMBR_MSK3_Pos)
11816#define RTC_ALRMBR_MSK3 RTC_ALRMBR_MSK3_Msk
11817#define RTC_ALRMBR_PM_Pos (22U)
11818#define RTC_ALRMBR_PM_Msk (0x1UL << RTC_ALRMBR_PM_Pos)
11819#define RTC_ALRMBR_PM RTC_ALRMBR_PM_Msk
11820#define RTC_ALRMBR_HT_Pos (20U)
11821#define RTC_ALRMBR_HT_Msk (0x3UL << RTC_ALRMBR_HT_Pos)
11822#define RTC_ALRMBR_HT RTC_ALRMBR_HT_Msk
11823#define RTC_ALRMBR_HT_0 (0x1UL << RTC_ALRMBR_HT_Pos)
11824#define RTC_ALRMBR_HT_1 (0x2UL << RTC_ALRMBR_HT_Pos)
11825#define RTC_ALRMBR_HU_Pos (16U)
11826#define RTC_ALRMBR_HU_Msk (0xFUL << RTC_ALRMBR_HU_Pos)
11827#define RTC_ALRMBR_HU RTC_ALRMBR_HU_Msk
11828#define RTC_ALRMBR_HU_0 (0x1UL << RTC_ALRMBR_HU_Pos)
11829#define RTC_ALRMBR_HU_1 (0x2UL << RTC_ALRMBR_HU_Pos)
11830#define RTC_ALRMBR_HU_2 (0x4UL << RTC_ALRMBR_HU_Pos)
11831#define RTC_ALRMBR_HU_3 (0x8UL << RTC_ALRMBR_HU_Pos)
11832#define RTC_ALRMBR_MSK2_Pos (15U)
11833#define RTC_ALRMBR_MSK2_Msk (0x1UL << RTC_ALRMBR_MSK2_Pos)
11834#define RTC_ALRMBR_MSK2 RTC_ALRMBR_MSK2_Msk
11835#define RTC_ALRMBR_MNT_Pos (12U)
11836#define RTC_ALRMBR_MNT_Msk (0x7UL << RTC_ALRMBR_MNT_Pos)
11837#define RTC_ALRMBR_MNT RTC_ALRMBR_MNT_Msk
11838#define RTC_ALRMBR_MNT_0 (0x1UL << RTC_ALRMBR_MNT_Pos)
11839#define RTC_ALRMBR_MNT_1 (0x2UL << RTC_ALRMBR_MNT_Pos)
11840#define RTC_ALRMBR_MNT_2 (0x4UL << RTC_ALRMBR_MNT_Pos)
11841#define RTC_ALRMBR_MNU_Pos (8U)
11842#define RTC_ALRMBR_MNU_Msk (0xFUL << RTC_ALRMBR_MNU_Pos)
11843#define RTC_ALRMBR_MNU RTC_ALRMBR_MNU_Msk
11844#define RTC_ALRMBR_MNU_0 (0x1UL << RTC_ALRMBR_MNU_Pos)
11845#define RTC_ALRMBR_MNU_1 (0x2UL << RTC_ALRMBR_MNU_Pos)
11846#define RTC_ALRMBR_MNU_2 (0x4UL << RTC_ALRMBR_MNU_Pos)
11847#define RTC_ALRMBR_MNU_3 (0x8UL << RTC_ALRMBR_MNU_Pos)
11848#define RTC_ALRMBR_MSK1_Pos (7U)
11849#define RTC_ALRMBR_MSK1_Msk (0x1UL << RTC_ALRMBR_MSK1_Pos)
11850#define RTC_ALRMBR_MSK1 RTC_ALRMBR_MSK1_Msk
11851#define RTC_ALRMBR_ST_Pos (4U)
11852#define RTC_ALRMBR_ST_Msk (0x7UL << RTC_ALRMBR_ST_Pos)
11853#define RTC_ALRMBR_ST RTC_ALRMBR_ST_Msk
11854#define RTC_ALRMBR_ST_0 (0x1UL << RTC_ALRMBR_ST_Pos)
11855#define RTC_ALRMBR_ST_1 (0x2UL << RTC_ALRMBR_ST_Pos)
11856#define RTC_ALRMBR_ST_2 (0x4UL << RTC_ALRMBR_ST_Pos)
11857#define RTC_ALRMBR_SU_Pos (0U)
11858#define RTC_ALRMBR_SU_Msk (0xFUL << RTC_ALRMBR_SU_Pos)
11859#define RTC_ALRMBR_SU RTC_ALRMBR_SU_Msk
11860#define RTC_ALRMBR_SU_0 (0x1UL << RTC_ALRMBR_SU_Pos)
11861#define RTC_ALRMBR_SU_1 (0x2UL << RTC_ALRMBR_SU_Pos)
11862#define RTC_ALRMBR_SU_2 (0x4UL << RTC_ALRMBR_SU_Pos)
11863#define RTC_ALRMBR_SU_3 (0x8UL << RTC_ALRMBR_SU_Pos)
11865/******************** Bits definition for RTC_WPR register ******************/
11866#define RTC_WPR_KEY_Pos (0U)
11867#define RTC_WPR_KEY_Msk (0xFFUL << RTC_WPR_KEY_Pos)
11868#define RTC_WPR_KEY RTC_WPR_KEY_Msk
11869
11870/******************** Bits definition for RTC_SSR register ******************/
11871#define RTC_SSR_SS_Pos (0U)
11872#define RTC_SSR_SS_Msk (0xFFFFUL << RTC_SSR_SS_Pos)
11873#define RTC_SSR_SS RTC_SSR_SS_Msk
11874
11875/******************** Bits definition for RTC_SHIFTR register ***************/
11876#define RTC_SHIFTR_SUBFS_Pos (0U)
11877#define RTC_SHIFTR_SUBFS_Msk (0x7FFFUL << RTC_SHIFTR_SUBFS_Pos)
11878#define RTC_SHIFTR_SUBFS RTC_SHIFTR_SUBFS_Msk
11879#define RTC_SHIFTR_ADD1S_Pos (31U)
11880#define RTC_SHIFTR_ADD1S_Msk (0x1UL << RTC_SHIFTR_ADD1S_Pos)
11881#define RTC_SHIFTR_ADD1S RTC_SHIFTR_ADD1S_Msk
11882
11883/******************** Bits definition for RTC_TSTR register *****************/
11884#define RTC_TSTR_PM_Pos (22U)
11885#define RTC_TSTR_PM_Msk (0x1UL << RTC_TSTR_PM_Pos)
11886#define RTC_TSTR_PM RTC_TSTR_PM_Msk
11887#define RTC_TSTR_HT_Pos (20U)
11888#define RTC_TSTR_HT_Msk (0x3UL << RTC_TSTR_HT_Pos)
11889#define RTC_TSTR_HT RTC_TSTR_HT_Msk
11890#define RTC_TSTR_HT_0 (0x1UL << RTC_TSTR_HT_Pos)
11891#define RTC_TSTR_HT_1 (0x2UL << RTC_TSTR_HT_Pos)
11892#define RTC_TSTR_HU_Pos (16U)
11893#define RTC_TSTR_HU_Msk (0xFUL << RTC_TSTR_HU_Pos)
11894#define RTC_TSTR_HU RTC_TSTR_HU_Msk
11895#define RTC_TSTR_HU_0 (0x1UL << RTC_TSTR_HU_Pos)
11896#define RTC_TSTR_HU_1 (0x2UL << RTC_TSTR_HU_Pos)
11897#define RTC_TSTR_HU_2 (0x4UL << RTC_TSTR_HU_Pos)
11898#define RTC_TSTR_HU_3 (0x8UL << RTC_TSTR_HU_Pos)
11899#define RTC_TSTR_MNT_Pos (12U)
11900#define RTC_TSTR_MNT_Msk (0x7UL << RTC_TSTR_MNT_Pos)
11901#define RTC_TSTR_MNT RTC_TSTR_MNT_Msk
11902#define RTC_TSTR_MNT_0 (0x1UL << RTC_TSTR_MNT_Pos)
11903#define RTC_TSTR_MNT_1 (0x2UL << RTC_TSTR_MNT_Pos)
11904#define RTC_TSTR_MNT_2 (0x4UL << RTC_TSTR_MNT_Pos)
11905#define RTC_TSTR_MNU_Pos (8U)
11906#define RTC_TSTR_MNU_Msk (0xFUL << RTC_TSTR_MNU_Pos)
11907#define RTC_TSTR_MNU RTC_TSTR_MNU_Msk
11908#define RTC_TSTR_MNU_0 (0x1UL << RTC_TSTR_MNU_Pos)
11909#define RTC_TSTR_MNU_1 (0x2UL << RTC_TSTR_MNU_Pos)
11910#define RTC_TSTR_MNU_2 (0x4UL << RTC_TSTR_MNU_Pos)
11911#define RTC_TSTR_MNU_3 (0x8UL << RTC_TSTR_MNU_Pos)
11912#define RTC_TSTR_ST_Pos (4U)
11913#define RTC_TSTR_ST_Msk (0x7UL << RTC_TSTR_ST_Pos)
11914#define RTC_TSTR_ST RTC_TSTR_ST_Msk
11915#define RTC_TSTR_ST_0 (0x1UL << RTC_TSTR_ST_Pos)
11916#define RTC_TSTR_ST_1 (0x2UL << RTC_TSTR_ST_Pos)
11917#define RTC_TSTR_ST_2 (0x4UL << RTC_TSTR_ST_Pos)
11918#define RTC_TSTR_SU_Pos (0U)
11919#define RTC_TSTR_SU_Msk (0xFUL << RTC_TSTR_SU_Pos)
11920#define RTC_TSTR_SU RTC_TSTR_SU_Msk
11921#define RTC_TSTR_SU_0 (0x1UL << RTC_TSTR_SU_Pos)
11922#define RTC_TSTR_SU_1 (0x2UL << RTC_TSTR_SU_Pos)
11923#define RTC_TSTR_SU_2 (0x4UL << RTC_TSTR_SU_Pos)
11924#define RTC_TSTR_SU_3 (0x8UL << RTC_TSTR_SU_Pos)
11926/******************** Bits definition for RTC_TSDR register *****************/
11927#define RTC_TSDR_WDU_Pos (13U)
11928#define RTC_TSDR_WDU_Msk (0x7UL << RTC_TSDR_WDU_Pos)
11929#define RTC_TSDR_WDU RTC_TSDR_WDU_Msk
11930#define RTC_TSDR_WDU_0 (0x1UL << RTC_TSDR_WDU_Pos)
11931#define RTC_TSDR_WDU_1 (0x2UL << RTC_TSDR_WDU_Pos)
11932#define RTC_TSDR_WDU_2 (0x4UL << RTC_TSDR_WDU_Pos)
11933#define RTC_TSDR_MT_Pos (12U)
11934#define RTC_TSDR_MT_Msk (0x1UL << RTC_TSDR_MT_Pos)
11935#define RTC_TSDR_MT RTC_TSDR_MT_Msk
11936#define RTC_TSDR_MU_Pos (8U)
11937#define RTC_TSDR_MU_Msk (0xFUL << RTC_TSDR_MU_Pos)
11938#define RTC_TSDR_MU RTC_TSDR_MU_Msk
11939#define RTC_TSDR_MU_0 (0x1UL << RTC_TSDR_MU_Pos)
11940#define RTC_TSDR_MU_1 (0x2UL << RTC_TSDR_MU_Pos)
11941#define RTC_TSDR_MU_2 (0x4UL << RTC_TSDR_MU_Pos)
11942#define RTC_TSDR_MU_3 (0x8UL << RTC_TSDR_MU_Pos)
11943#define RTC_TSDR_DT_Pos (4U)
11944#define RTC_TSDR_DT_Msk (0x3UL << RTC_TSDR_DT_Pos)
11945#define RTC_TSDR_DT RTC_TSDR_DT_Msk
11946#define RTC_TSDR_DT_0 (0x1UL << RTC_TSDR_DT_Pos)
11947#define RTC_TSDR_DT_1 (0x2UL << RTC_TSDR_DT_Pos)
11948#define RTC_TSDR_DU_Pos (0U)
11949#define RTC_TSDR_DU_Msk (0xFUL << RTC_TSDR_DU_Pos)
11950#define RTC_TSDR_DU RTC_TSDR_DU_Msk
11951#define RTC_TSDR_DU_0 (0x1UL << RTC_TSDR_DU_Pos)
11952#define RTC_TSDR_DU_1 (0x2UL << RTC_TSDR_DU_Pos)
11953#define RTC_TSDR_DU_2 (0x4UL << RTC_TSDR_DU_Pos)
11954#define RTC_TSDR_DU_3 (0x8UL << RTC_TSDR_DU_Pos)
11956/******************** Bits definition for RTC_TSSSR register ****************/
11957#define RTC_TSSSR_SS_Pos (0U)
11958#define RTC_TSSSR_SS_Msk (0xFFFFUL << RTC_TSSSR_SS_Pos)
11959#define RTC_TSSSR_SS RTC_TSSSR_SS_Msk
11960
11961/******************** Bits definition for RTC_CAL register *****************/
11962#define RTC_CALR_CALP_Pos (15U)
11963#define RTC_CALR_CALP_Msk (0x1UL << RTC_CALR_CALP_Pos)
11964#define RTC_CALR_CALP RTC_CALR_CALP_Msk
11965#define RTC_CALR_CALW8_Pos (14U)
11966#define RTC_CALR_CALW8_Msk (0x1UL << RTC_CALR_CALW8_Pos)
11967#define RTC_CALR_CALW8 RTC_CALR_CALW8_Msk
11968#define RTC_CALR_CALW16_Pos (13U)
11969#define RTC_CALR_CALW16_Msk (0x1UL << RTC_CALR_CALW16_Pos)
11970#define RTC_CALR_CALW16 RTC_CALR_CALW16_Msk
11971#define RTC_CALR_CALM_Pos (0U)
11972#define RTC_CALR_CALM_Msk (0x1FFUL << RTC_CALR_CALM_Pos)
11973#define RTC_CALR_CALM RTC_CALR_CALM_Msk
11974#define RTC_CALR_CALM_0 (0x001UL << RTC_CALR_CALM_Pos)
11975#define RTC_CALR_CALM_1 (0x002UL << RTC_CALR_CALM_Pos)
11976#define RTC_CALR_CALM_2 (0x004UL << RTC_CALR_CALM_Pos)
11977#define RTC_CALR_CALM_3 (0x008UL << RTC_CALR_CALM_Pos)
11978#define RTC_CALR_CALM_4 (0x010UL << RTC_CALR_CALM_Pos)
11979#define RTC_CALR_CALM_5 (0x020UL << RTC_CALR_CALM_Pos)
11980#define RTC_CALR_CALM_6 (0x040UL << RTC_CALR_CALM_Pos)
11981#define RTC_CALR_CALM_7 (0x080UL << RTC_CALR_CALM_Pos)
11982#define RTC_CALR_CALM_8 (0x100UL << RTC_CALR_CALM_Pos)
11984/******************** Bits definition for RTC_TAMPCR register ****************/
11985#define RTC_TAMPCR_TAMP3MF_Pos (24U)
11986#define RTC_TAMPCR_TAMP3MF_Msk (0x1UL << RTC_TAMPCR_TAMP3MF_Pos)
11987#define RTC_TAMPCR_TAMP3MF RTC_TAMPCR_TAMP3MF_Msk
11988#define RTC_TAMPCR_TAMP3NOERASE_Pos (23U)
11989#define RTC_TAMPCR_TAMP3NOERASE_Msk (0x1UL << RTC_TAMPCR_TAMP3NOERASE_Pos)
11990#define RTC_TAMPCR_TAMP3NOERASE RTC_TAMPCR_TAMP3NOERASE_Msk
11991#define RTC_TAMPCR_TAMP3IE_Pos (22U)
11992#define RTC_TAMPCR_TAMP3IE_Msk (0x1UL << RTC_TAMPCR_TAMP3IE_Pos)
11993#define RTC_TAMPCR_TAMP3IE RTC_TAMPCR_TAMP3IE_Msk
11994#define RTC_TAMPCR_TAMP2MF_Pos (21U)
11995#define RTC_TAMPCR_TAMP2MF_Msk (0x1UL << RTC_TAMPCR_TAMP2MF_Pos)
11996#define RTC_TAMPCR_TAMP2MF RTC_TAMPCR_TAMP2MF_Msk
11997#define RTC_TAMPCR_TAMP2NOERASE_Pos (20U)
11998#define RTC_TAMPCR_TAMP2NOERASE_Msk (0x1UL << RTC_TAMPCR_TAMP2NOERASE_Pos)
11999#define RTC_TAMPCR_TAMP2NOERASE RTC_TAMPCR_TAMP2NOERASE_Msk
12000#define RTC_TAMPCR_TAMP2IE_Pos (19U)
12001#define RTC_TAMPCR_TAMP2IE_Msk (0x1UL << RTC_TAMPCR_TAMP2IE_Pos)
12002#define RTC_TAMPCR_TAMP2IE RTC_TAMPCR_TAMP2IE_Msk
12003#define RTC_TAMPCR_TAMP1MF_Pos (18U)
12004#define RTC_TAMPCR_TAMP1MF_Msk (0x1UL << RTC_TAMPCR_TAMP1MF_Pos)
12005#define RTC_TAMPCR_TAMP1MF RTC_TAMPCR_TAMP1MF_Msk
12006#define RTC_TAMPCR_TAMP1NOERASE_Pos (17U)
12007#define RTC_TAMPCR_TAMP1NOERASE_Msk (0x1UL << RTC_TAMPCR_TAMP1NOERASE_Pos)
12008#define RTC_TAMPCR_TAMP1NOERASE RTC_TAMPCR_TAMP1NOERASE_Msk
12009#define RTC_TAMPCR_TAMP1IE_Pos (16U)
12010#define RTC_TAMPCR_TAMP1IE_Msk (0x1UL << RTC_TAMPCR_TAMP1IE_Pos)
12011#define RTC_TAMPCR_TAMP1IE RTC_TAMPCR_TAMP1IE_Msk
12012#define RTC_TAMPCR_TAMPPUDIS_Pos (15U)
12013#define RTC_TAMPCR_TAMPPUDIS_Msk (0x1UL << RTC_TAMPCR_TAMPPUDIS_Pos)
12014#define RTC_TAMPCR_TAMPPUDIS RTC_TAMPCR_TAMPPUDIS_Msk
12015#define RTC_TAMPCR_TAMPPRCH_Pos (13U)
12016#define RTC_TAMPCR_TAMPPRCH_Msk (0x3UL << RTC_TAMPCR_TAMPPRCH_Pos)
12017#define RTC_TAMPCR_TAMPPRCH RTC_TAMPCR_TAMPPRCH_Msk
12018#define RTC_TAMPCR_TAMPPRCH_0 (0x1UL << RTC_TAMPCR_TAMPPRCH_Pos)
12019#define RTC_TAMPCR_TAMPPRCH_1 (0x2UL << RTC_TAMPCR_TAMPPRCH_Pos)
12020#define RTC_TAMPCR_TAMPFLT_Pos (11U)
12021#define RTC_TAMPCR_TAMPFLT_Msk (0x3UL << RTC_TAMPCR_TAMPFLT_Pos)
12022#define RTC_TAMPCR_TAMPFLT RTC_TAMPCR_TAMPFLT_Msk
12023#define RTC_TAMPCR_TAMPFLT_0 (0x1UL << RTC_TAMPCR_TAMPFLT_Pos)
12024#define RTC_TAMPCR_TAMPFLT_1 (0x2UL << RTC_TAMPCR_TAMPFLT_Pos)
12025#define RTC_TAMPCR_TAMPFREQ_Pos (8U)
12026#define RTC_TAMPCR_TAMPFREQ_Msk (0x7UL << RTC_TAMPCR_TAMPFREQ_Pos)
12027#define RTC_TAMPCR_TAMPFREQ RTC_TAMPCR_TAMPFREQ_Msk
12028#define RTC_TAMPCR_TAMPFREQ_0 (0x1UL << RTC_TAMPCR_TAMPFREQ_Pos)
12029#define RTC_TAMPCR_TAMPFREQ_1 (0x2UL << RTC_TAMPCR_TAMPFREQ_Pos)
12030#define RTC_TAMPCR_TAMPFREQ_2 (0x4UL << RTC_TAMPCR_TAMPFREQ_Pos)
12031#define RTC_TAMPCR_TAMPTS_Pos (7U)
12032#define RTC_TAMPCR_TAMPTS_Msk (0x1UL << RTC_TAMPCR_TAMPTS_Pos)
12033#define RTC_TAMPCR_TAMPTS RTC_TAMPCR_TAMPTS_Msk
12034#define RTC_TAMPCR_TAMP3TRG_Pos (6U)
12035#define RTC_TAMPCR_TAMP3TRG_Msk (0x1UL << RTC_TAMPCR_TAMP3TRG_Pos)
12036#define RTC_TAMPCR_TAMP3TRG RTC_TAMPCR_TAMP3TRG_Msk
12037#define RTC_TAMPCR_TAMP3E_Pos (5U)
12038#define RTC_TAMPCR_TAMP3E_Msk (0x1UL << RTC_TAMPCR_TAMP3E_Pos)
12039#define RTC_TAMPCR_TAMP3E RTC_TAMPCR_TAMP3E_Msk
12040#define RTC_TAMPCR_TAMP2TRG_Pos (4U)
12041#define RTC_TAMPCR_TAMP2TRG_Msk (0x1UL << RTC_TAMPCR_TAMP2TRG_Pos)
12042#define RTC_TAMPCR_TAMP2TRG RTC_TAMPCR_TAMP2TRG_Msk
12043#define RTC_TAMPCR_TAMP2E_Pos (3U)
12044#define RTC_TAMPCR_TAMP2E_Msk (0x1UL << RTC_TAMPCR_TAMP2E_Pos)
12045#define RTC_TAMPCR_TAMP2E RTC_TAMPCR_TAMP2E_Msk
12046#define RTC_TAMPCR_TAMPIE_Pos (2U)
12047#define RTC_TAMPCR_TAMPIE_Msk (0x1UL << RTC_TAMPCR_TAMPIE_Pos)
12048#define RTC_TAMPCR_TAMPIE RTC_TAMPCR_TAMPIE_Msk
12049#define RTC_TAMPCR_TAMP1TRG_Pos (1U)
12050#define RTC_TAMPCR_TAMP1TRG_Msk (0x1UL << RTC_TAMPCR_TAMP1TRG_Pos)
12051#define RTC_TAMPCR_TAMP1TRG RTC_TAMPCR_TAMP1TRG_Msk
12052#define RTC_TAMPCR_TAMP1E_Pos (0U)
12053#define RTC_TAMPCR_TAMP1E_Msk (0x1UL << RTC_TAMPCR_TAMP1E_Pos)
12054#define RTC_TAMPCR_TAMP1E RTC_TAMPCR_TAMP1E_Msk
12055
12056/* Legacy defines */
12057#define RTC_TAMPCR_TAMP3_TRG RTC_TAMPCR_TAMP3TRG
12058#define RTC_TAMPCR_TAMP2_TRG RTC_TAMPCR_TAMP2TRG
12059#define RTC_TAMPCR_TAMP1_TRG RTC_TAMPCR_TAMP1TRG
12060
12061/******************** Bits definition for RTC_ALRMASSR register *************/
12062#define RTC_ALRMASSR_MASKSS_Pos (24U)
12063#define RTC_ALRMASSR_MASKSS_Msk (0xFUL << RTC_ALRMASSR_MASKSS_Pos)
12064#define RTC_ALRMASSR_MASKSS RTC_ALRMASSR_MASKSS_Msk
12065#define RTC_ALRMASSR_MASKSS_0 (0x1UL << RTC_ALRMASSR_MASKSS_Pos)
12066#define RTC_ALRMASSR_MASKSS_1 (0x2UL << RTC_ALRMASSR_MASKSS_Pos)
12067#define RTC_ALRMASSR_MASKSS_2 (0x4UL << RTC_ALRMASSR_MASKSS_Pos)
12068#define RTC_ALRMASSR_MASKSS_3 (0x8UL << RTC_ALRMASSR_MASKSS_Pos)
12069#define RTC_ALRMASSR_SS_Pos (0U)
12070#define RTC_ALRMASSR_SS_Msk (0x7FFFUL << RTC_ALRMASSR_SS_Pos)
12071#define RTC_ALRMASSR_SS RTC_ALRMASSR_SS_Msk
12072
12073/******************** Bits definition for RTC_ALRMBSSR register *************/
12074#define RTC_ALRMBSSR_MASKSS_Pos (24U)
12075#define RTC_ALRMBSSR_MASKSS_Msk (0xFUL << RTC_ALRMBSSR_MASKSS_Pos)
12076#define RTC_ALRMBSSR_MASKSS RTC_ALRMBSSR_MASKSS_Msk
12077#define RTC_ALRMBSSR_MASKSS_0 (0x1UL << RTC_ALRMBSSR_MASKSS_Pos)
12078#define RTC_ALRMBSSR_MASKSS_1 (0x2UL << RTC_ALRMBSSR_MASKSS_Pos)
12079#define RTC_ALRMBSSR_MASKSS_2 (0x4UL << RTC_ALRMBSSR_MASKSS_Pos)
12080#define RTC_ALRMBSSR_MASKSS_3 (0x8UL << RTC_ALRMBSSR_MASKSS_Pos)
12081#define RTC_ALRMBSSR_SS_Pos (0U)
12082#define RTC_ALRMBSSR_SS_Msk (0x7FFFUL << RTC_ALRMBSSR_SS_Pos)
12083#define RTC_ALRMBSSR_SS RTC_ALRMBSSR_SS_Msk
12084
12085/******************** Bits definition for RTC_OR register ****************/
12086#define RTC_OR_TSINSEL_Pos (1U)
12087#define RTC_OR_TSINSEL_Msk (0x3UL << RTC_OR_TSINSEL_Pos)
12088#define RTC_OR_TSINSEL RTC_OR_TSINSEL_Msk
12089#define RTC_OR_TSINSEL_0 (0x1UL << RTC_OR_TSINSEL_Pos)
12090#define RTC_OR_TSINSEL_1 (0x2UL << RTC_OR_TSINSEL_Pos)
12091#define RTC_OR_ALARMOUTTYPE_Pos (3U)
12092#define RTC_OR_ALARMOUTTYPE_Msk (0x1UL << RTC_OR_ALARMOUTTYPE_Pos)
12093#define RTC_OR_ALARMOUTTYPE RTC_OR_ALARMOUTTYPE_Msk
12094/* Legacy defines*/
12095#define RTC_OR_ALARMTYPE RTC_OR_ALARMOUTTYPE
12096
12097/******************** Bits definition for RTC_BKP0R register ****************/
12098#define RTC_BKP0R_Pos (0U)
12099#define RTC_BKP0R_Msk (0xFFFFFFFFUL << RTC_BKP0R_Pos)
12100#define RTC_BKP0R RTC_BKP0R_Msk
12101
12102/******************** Bits definition for RTC_BKP1R register ****************/
12103#define RTC_BKP1R_Pos (0U)
12104#define RTC_BKP1R_Msk (0xFFFFFFFFUL << RTC_BKP1R_Pos)
12105#define RTC_BKP1R RTC_BKP1R_Msk
12106
12107/******************** Bits definition for RTC_BKP2R register ****************/
12108#define RTC_BKP2R_Pos (0U)
12109#define RTC_BKP2R_Msk (0xFFFFFFFFUL << RTC_BKP2R_Pos)
12110#define RTC_BKP2R RTC_BKP2R_Msk
12111
12112/******************** Bits definition for RTC_BKP3R register ****************/
12113#define RTC_BKP3R_Pos (0U)
12114#define RTC_BKP3R_Msk (0xFFFFFFFFUL << RTC_BKP3R_Pos)
12115#define RTC_BKP3R RTC_BKP3R_Msk
12116
12117/******************** Bits definition for RTC_BKP4R register ****************/
12118#define RTC_BKP4R_Pos (0U)
12119#define RTC_BKP4R_Msk (0xFFFFFFFFUL << RTC_BKP4R_Pos)
12120#define RTC_BKP4R RTC_BKP4R_Msk
12121
12122/******************** Bits definition for RTC_BKP5R register ****************/
12123#define RTC_BKP5R_Pos (0U)
12124#define RTC_BKP5R_Msk (0xFFFFFFFFUL << RTC_BKP5R_Pos)
12125#define RTC_BKP5R RTC_BKP5R_Msk
12126
12127/******************** Bits definition for RTC_BKP6R register ****************/
12128#define RTC_BKP6R_Pos (0U)
12129#define RTC_BKP6R_Msk (0xFFFFFFFFUL << RTC_BKP6R_Pos)
12130#define RTC_BKP6R RTC_BKP6R_Msk
12131
12132/******************** Bits definition for RTC_BKP7R register ****************/
12133#define RTC_BKP7R_Pos (0U)
12134#define RTC_BKP7R_Msk (0xFFFFFFFFUL << RTC_BKP7R_Pos)
12135#define RTC_BKP7R RTC_BKP7R_Msk
12136
12137/******************** Bits definition for RTC_BKP8R register ****************/
12138#define RTC_BKP8R_Pos (0U)
12139#define RTC_BKP8R_Msk (0xFFFFFFFFUL << RTC_BKP8R_Pos)
12140#define RTC_BKP8R RTC_BKP8R_Msk
12141
12142/******************** Bits definition for RTC_BKP9R register ****************/
12143#define RTC_BKP9R_Pos (0U)
12144#define RTC_BKP9R_Msk (0xFFFFFFFFUL << RTC_BKP9R_Pos)
12145#define RTC_BKP9R RTC_BKP9R_Msk
12146
12147/******************** Bits definition for RTC_BKP10R register ***************/
12148#define RTC_BKP10R_Pos (0U)
12149#define RTC_BKP10R_Msk (0xFFFFFFFFUL << RTC_BKP10R_Pos)
12150#define RTC_BKP10R RTC_BKP10R_Msk
12151
12152/******************** Bits definition for RTC_BKP11R register ***************/
12153#define RTC_BKP11R_Pos (0U)
12154#define RTC_BKP11R_Msk (0xFFFFFFFFUL << RTC_BKP11R_Pos)
12155#define RTC_BKP11R RTC_BKP11R_Msk
12156
12157/******************** Bits definition for RTC_BKP12R register ***************/
12158#define RTC_BKP12R_Pos (0U)
12159#define RTC_BKP12R_Msk (0xFFFFFFFFUL << RTC_BKP12R_Pos)
12160#define RTC_BKP12R RTC_BKP12R_Msk
12161
12162/******************** Bits definition for RTC_BKP13R register ***************/
12163#define RTC_BKP13R_Pos (0U)
12164#define RTC_BKP13R_Msk (0xFFFFFFFFUL << RTC_BKP13R_Pos)
12165#define RTC_BKP13R RTC_BKP13R_Msk
12166
12167/******************** Bits definition for RTC_BKP14R register ***************/
12168#define RTC_BKP14R_Pos (0U)
12169#define RTC_BKP14R_Msk (0xFFFFFFFFUL << RTC_BKP14R_Pos)
12170#define RTC_BKP14R RTC_BKP14R_Msk
12171
12172/******************** Bits definition for RTC_BKP15R register ***************/
12173#define RTC_BKP15R_Pos (0U)
12174#define RTC_BKP15R_Msk (0xFFFFFFFFUL << RTC_BKP15R_Pos)
12175#define RTC_BKP15R RTC_BKP15R_Msk
12176
12177/******************** Bits definition for RTC_BKP16R register ***************/
12178#define RTC_BKP16R_Pos (0U)
12179#define RTC_BKP16R_Msk (0xFFFFFFFFUL << RTC_BKP16R_Pos)
12180#define RTC_BKP16R RTC_BKP16R_Msk
12181
12182/******************** Bits definition for RTC_BKP17R register ***************/
12183#define RTC_BKP17R_Pos (0U)
12184#define RTC_BKP17R_Msk (0xFFFFFFFFUL << RTC_BKP17R_Pos)
12185#define RTC_BKP17R RTC_BKP17R_Msk
12186
12187/******************** Bits definition for RTC_BKP18R register ***************/
12188#define RTC_BKP18R_Pos (0U)
12189#define RTC_BKP18R_Msk (0xFFFFFFFFUL << RTC_BKP18R_Pos)
12190#define RTC_BKP18R RTC_BKP18R_Msk
12191
12192/******************** Bits definition for RTC_BKP19R register ***************/
12193#define RTC_BKP19R_Pos (0U)
12194#define RTC_BKP19R_Msk (0xFFFFFFFFUL << RTC_BKP19R_Pos)
12195#define RTC_BKP19R RTC_BKP19R_Msk
12196
12197/******************** Bits definition for RTC_BKP20R register ***************/
12198#define RTC_BKP20R_Pos (0U)
12199#define RTC_BKP20R_Msk (0xFFFFFFFFUL << RTC_BKP20R_Pos)
12200#define RTC_BKP20R RTC_BKP20R_Msk
12201
12202/******************** Bits definition for RTC_BKP21R register ***************/
12203#define RTC_BKP21R_Pos (0U)
12204#define RTC_BKP21R_Msk (0xFFFFFFFFUL << RTC_BKP21R_Pos)
12205#define RTC_BKP21R RTC_BKP21R_Msk
12206
12207/******************** Bits definition for RTC_BKP22R register ***************/
12208#define RTC_BKP22R_Pos (0U)
12209#define RTC_BKP22R_Msk (0xFFFFFFFFUL << RTC_BKP22R_Pos)
12210#define RTC_BKP22R RTC_BKP22R_Msk
12211
12212/******************** Bits definition for RTC_BKP23R register ***************/
12213#define RTC_BKP23R_Pos (0U)
12214#define RTC_BKP23R_Msk (0xFFFFFFFFUL << RTC_BKP23R_Pos)
12215#define RTC_BKP23R RTC_BKP23R_Msk
12216
12217/******************** Bits definition for RTC_BKP24R register ***************/
12218#define RTC_BKP24R_Pos (0U)
12219#define RTC_BKP24R_Msk (0xFFFFFFFFUL << RTC_BKP24R_Pos)
12220#define RTC_BKP24R RTC_BKP24R_Msk
12221
12222/******************** Bits definition for RTC_BKP25R register ***************/
12223#define RTC_BKP25R_Pos (0U)
12224#define RTC_BKP25R_Msk (0xFFFFFFFFUL << RTC_BKP25R_Pos)
12225#define RTC_BKP25R RTC_BKP25R_Msk
12226
12227/******************** Bits definition for RTC_BKP26R register ***************/
12228#define RTC_BKP26R_Pos (0U)
12229#define RTC_BKP26R_Msk (0xFFFFFFFFUL << RTC_BKP26R_Pos)
12230#define RTC_BKP26R RTC_BKP26R_Msk
12231
12232/******************** Bits definition for RTC_BKP27R register ***************/
12233#define RTC_BKP27R_Pos (0U)
12234#define RTC_BKP27R_Msk (0xFFFFFFFFUL << RTC_BKP27R_Pos)
12235#define RTC_BKP27R RTC_BKP27R_Msk
12236
12237/******************** Bits definition for RTC_BKP28R register ***************/
12238#define RTC_BKP28R_Pos (0U)
12239#define RTC_BKP28R_Msk (0xFFFFFFFFUL << RTC_BKP28R_Pos)
12240#define RTC_BKP28R RTC_BKP28R_Msk
12241
12242/******************** Bits definition for RTC_BKP29R register ***************/
12243#define RTC_BKP29R_Pos (0U)
12244#define RTC_BKP29R_Msk (0xFFFFFFFFUL << RTC_BKP29R_Pos)
12245#define RTC_BKP29R RTC_BKP29R_Msk
12246
12247/******************** Bits definition for RTC_BKP30R register ***************/
12248#define RTC_BKP30R_Pos (0U)
12249#define RTC_BKP30R_Msk (0xFFFFFFFFUL << RTC_BKP30R_Pos)
12250#define RTC_BKP30R RTC_BKP30R_Msk
12251
12252/******************** Bits definition for RTC_BKP31R register ***************/
12253#define RTC_BKP31R_Pos (0U)
12254#define RTC_BKP31R_Msk (0xFFFFFFFFUL << RTC_BKP31R_Pos)
12255#define RTC_BKP31R RTC_BKP31R_Msk
12256
12257/******************** Number of backup registers ******************************/
12258#define RTC_BKP_NUMBER 0x00000020U
12259
12260/******************************************************************************/
12261/* */
12262/* Serial Audio Interface */
12263/* */
12264/******************************************************************************/
12265/******************** Bit definition for SAI_GCR register *******************/
12266#define SAI_GCR_SYNCIN_Pos (0U)
12267#define SAI_GCR_SYNCIN_Msk (0x3UL << SAI_GCR_SYNCIN_Pos)
12268#define SAI_GCR_SYNCIN SAI_GCR_SYNCIN_Msk
12269#define SAI_GCR_SYNCIN_0 (0x1UL << SAI_GCR_SYNCIN_Pos)
12270#define SAI_GCR_SYNCIN_1 (0x2UL << SAI_GCR_SYNCIN_Pos)
12272#define SAI_GCR_SYNCOUT_Pos (4U)
12273#define SAI_GCR_SYNCOUT_Msk (0x3UL << SAI_GCR_SYNCOUT_Pos)
12274#define SAI_GCR_SYNCOUT SAI_GCR_SYNCOUT_Msk
12275#define SAI_GCR_SYNCOUT_0 (0x1UL << SAI_GCR_SYNCOUT_Pos)
12276#define SAI_GCR_SYNCOUT_1 (0x2UL << SAI_GCR_SYNCOUT_Pos)
12278/******************* Bit definition for SAI_xCR1 register *******************/
12279#define SAI_xCR1_MODE_Pos (0U)
12280#define SAI_xCR1_MODE_Msk (0x3UL << SAI_xCR1_MODE_Pos)
12281#define SAI_xCR1_MODE SAI_xCR1_MODE_Msk
12282#define SAI_xCR1_MODE_0 (0x1UL << SAI_xCR1_MODE_Pos)
12283#define SAI_xCR1_MODE_1 (0x2UL << SAI_xCR1_MODE_Pos)
12285#define SAI_xCR1_PRTCFG_Pos (2U)
12286#define SAI_xCR1_PRTCFG_Msk (0x3UL << SAI_xCR1_PRTCFG_Pos)
12287#define SAI_xCR1_PRTCFG SAI_xCR1_PRTCFG_Msk
12288#define SAI_xCR1_PRTCFG_0 (0x1UL << SAI_xCR1_PRTCFG_Pos)
12289#define SAI_xCR1_PRTCFG_1 (0x2UL << SAI_xCR1_PRTCFG_Pos)
12291#define SAI_xCR1_DS_Pos (5U)
12292#define SAI_xCR1_DS_Msk (0x7UL << SAI_xCR1_DS_Pos)
12293#define SAI_xCR1_DS SAI_xCR1_DS_Msk
12294#define SAI_xCR1_DS_0 (0x1UL << SAI_xCR1_DS_Pos)
12295#define SAI_xCR1_DS_1 (0x2UL << SAI_xCR1_DS_Pos)
12296#define SAI_xCR1_DS_2 (0x4UL << SAI_xCR1_DS_Pos)
12298#define SAI_xCR1_LSBFIRST_Pos (8U)
12299#define SAI_xCR1_LSBFIRST_Msk (0x1UL << SAI_xCR1_LSBFIRST_Pos)
12300#define SAI_xCR1_LSBFIRST SAI_xCR1_LSBFIRST_Msk
12301#define SAI_xCR1_CKSTR_Pos (9U)
12302#define SAI_xCR1_CKSTR_Msk (0x1UL << SAI_xCR1_CKSTR_Pos)
12303#define SAI_xCR1_CKSTR SAI_xCR1_CKSTR_Msk
12305#define SAI_xCR1_SYNCEN_Pos (10U)
12306#define SAI_xCR1_SYNCEN_Msk (0x3UL << SAI_xCR1_SYNCEN_Pos)
12307#define SAI_xCR1_SYNCEN SAI_xCR1_SYNCEN_Msk
12308#define SAI_xCR1_SYNCEN_0 (0x1UL << SAI_xCR1_SYNCEN_Pos)
12309#define SAI_xCR1_SYNCEN_1 (0x2UL << SAI_xCR1_SYNCEN_Pos)
12311#define SAI_xCR1_MONO_Pos (12U)
12312#define SAI_xCR1_MONO_Msk (0x1UL << SAI_xCR1_MONO_Pos)
12313#define SAI_xCR1_MONO SAI_xCR1_MONO_Msk
12314#define SAI_xCR1_OUTDRIV_Pos (13U)
12315#define SAI_xCR1_OUTDRIV_Msk (0x1UL << SAI_xCR1_OUTDRIV_Pos)
12316#define SAI_xCR1_OUTDRIV SAI_xCR1_OUTDRIV_Msk
12317#define SAI_xCR1_SAIEN_Pos (16U)
12318#define SAI_xCR1_SAIEN_Msk (0x1UL << SAI_xCR1_SAIEN_Pos)
12319#define SAI_xCR1_SAIEN SAI_xCR1_SAIEN_Msk
12320#define SAI_xCR1_DMAEN_Pos (17U)
12321#define SAI_xCR1_DMAEN_Msk (0x1UL << SAI_xCR1_DMAEN_Pos)
12322#define SAI_xCR1_DMAEN SAI_xCR1_DMAEN_Msk
12323#define SAI_xCR1_NODIV_Pos (19U)
12324#define SAI_xCR1_NODIV_Msk (0x1UL << SAI_xCR1_NODIV_Pos)
12325#define SAI_xCR1_NODIV SAI_xCR1_NODIV_Msk
12327#define SAI_xCR1_MCKDIV_Pos (20U)
12328#define SAI_xCR1_MCKDIV_Msk (0xFUL << SAI_xCR1_MCKDIV_Pos)
12329#define SAI_xCR1_MCKDIV SAI_xCR1_MCKDIV_Msk
12330#define SAI_xCR1_MCKDIV_0 (0x1UL << SAI_xCR1_MCKDIV_Pos)
12331#define SAI_xCR1_MCKDIV_1 (0x2UL << SAI_xCR1_MCKDIV_Pos)
12332#define SAI_xCR1_MCKDIV_2 (0x4UL << SAI_xCR1_MCKDIV_Pos)
12333#define SAI_xCR1_MCKDIV_3 (0x8UL << SAI_xCR1_MCKDIV_Pos)
12335/******************* Bit definition for SAI_xCR2 register *******************/
12336#define SAI_xCR2_FTH_Pos (0U)
12337#define SAI_xCR2_FTH_Msk (0x7UL << SAI_xCR2_FTH_Pos)
12338#define SAI_xCR2_FTH SAI_xCR2_FTH_Msk
12339#define SAI_xCR2_FTH_0 (0x1UL << SAI_xCR2_FTH_Pos)
12340#define SAI_xCR2_FTH_1 (0x2UL << SAI_xCR2_FTH_Pos)
12341#define SAI_xCR2_FTH_2 (0x4UL << SAI_xCR2_FTH_Pos)
12343#define SAI_xCR2_FFLUSH_Pos (3U)
12344#define SAI_xCR2_FFLUSH_Msk (0x1UL << SAI_xCR2_FFLUSH_Pos)
12345#define SAI_xCR2_FFLUSH SAI_xCR2_FFLUSH_Msk
12346#define SAI_xCR2_TRIS_Pos (4U)
12347#define SAI_xCR2_TRIS_Msk (0x1UL << SAI_xCR2_TRIS_Pos)
12348#define SAI_xCR2_TRIS SAI_xCR2_TRIS_Msk
12349#define SAI_xCR2_MUTE_Pos (5U)
12350#define SAI_xCR2_MUTE_Msk (0x1UL << SAI_xCR2_MUTE_Pos)
12351#define SAI_xCR2_MUTE SAI_xCR2_MUTE_Msk
12352#define SAI_xCR2_MUTEVAL_Pos (6U)
12353#define SAI_xCR2_MUTEVAL_Msk (0x1UL << SAI_xCR2_MUTEVAL_Pos)
12354#define SAI_xCR2_MUTEVAL SAI_xCR2_MUTEVAL_Msk
12356#define SAI_xCR2_MUTECNT_Pos (7U)
12357#define SAI_xCR2_MUTECNT_Msk (0x3FUL << SAI_xCR2_MUTECNT_Pos)
12358#define SAI_xCR2_MUTECNT SAI_xCR2_MUTECNT_Msk
12359#define SAI_xCR2_MUTECNT_0 (0x01UL << SAI_xCR2_MUTECNT_Pos)
12360#define SAI_xCR2_MUTECNT_1 (0x02UL << SAI_xCR2_MUTECNT_Pos)
12361#define SAI_xCR2_MUTECNT_2 (0x04UL << SAI_xCR2_MUTECNT_Pos)
12362#define SAI_xCR2_MUTECNT_3 (0x08UL << SAI_xCR2_MUTECNT_Pos)
12363#define SAI_xCR2_MUTECNT_4 (0x10UL << SAI_xCR2_MUTECNT_Pos)
12364#define SAI_xCR2_MUTECNT_5 (0x20UL << SAI_xCR2_MUTECNT_Pos)
12366#define SAI_xCR2_CPL_Pos (13U)
12367#define SAI_xCR2_CPL_Msk (0x1UL << SAI_xCR2_CPL_Pos)
12368#define SAI_xCR2_CPL SAI_xCR2_CPL_Msk
12370#define SAI_xCR2_COMP_Pos (14U)
12371#define SAI_xCR2_COMP_Msk (0x3UL << SAI_xCR2_COMP_Pos)
12372#define SAI_xCR2_COMP SAI_xCR2_COMP_Msk
12373#define SAI_xCR2_COMP_0 (0x1UL << SAI_xCR2_COMP_Pos)
12374#define SAI_xCR2_COMP_1 (0x2UL << SAI_xCR2_COMP_Pos)
12376/****************** Bit definition for SAI_xFRCR register *******************/
12377#define SAI_xFRCR_FRL_Pos (0U)
12378#define SAI_xFRCR_FRL_Msk (0xFFUL << SAI_xFRCR_FRL_Pos)
12379#define SAI_xFRCR_FRL SAI_xFRCR_FRL_Msk
12380#define SAI_xFRCR_FRL_0 (0x01UL << SAI_xFRCR_FRL_Pos)
12381#define SAI_xFRCR_FRL_1 (0x02UL << SAI_xFRCR_FRL_Pos)
12382#define SAI_xFRCR_FRL_2 (0x04UL << SAI_xFRCR_FRL_Pos)
12383#define SAI_xFRCR_FRL_3 (0x08UL << SAI_xFRCR_FRL_Pos)
12384#define SAI_xFRCR_FRL_4 (0x10UL << SAI_xFRCR_FRL_Pos)
12385#define SAI_xFRCR_FRL_5 (0x20UL << SAI_xFRCR_FRL_Pos)
12386#define SAI_xFRCR_FRL_6 (0x40UL << SAI_xFRCR_FRL_Pos)
12387#define SAI_xFRCR_FRL_7 (0x80UL << SAI_xFRCR_FRL_Pos)
12389#define SAI_xFRCR_FSALL_Pos (8U)
12390#define SAI_xFRCR_FSALL_Msk (0x7FUL << SAI_xFRCR_FSALL_Pos)
12391#define SAI_xFRCR_FSALL SAI_xFRCR_FSALL_Msk
12392#define SAI_xFRCR_FSALL_0 (0x01UL << SAI_xFRCR_FSALL_Pos)
12393#define SAI_xFRCR_FSALL_1 (0x02UL << SAI_xFRCR_FSALL_Pos)
12394#define SAI_xFRCR_FSALL_2 (0x04UL << SAI_xFRCR_FSALL_Pos)
12395#define SAI_xFRCR_FSALL_3 (0x08UL << SAI_xFRCR_FSALL_Pos)
12396#define SAI_xFRCR_FSALL_4 (0x10UL << SAI_xFRCR_FSALL_Pos)
12397#define SAI_xFRCR_FSALL_5 (0x20UL << SAI_xFRCR_FSALL_Pos)
12398#define SAI_xFRCR_FSALL_6 (0x40UL << SAI_xFRCR_FSALL_Pos)
12400#define SAI_xFRCR_FSDEF_Pos (16U)
12401#define SAI_xFRCR_FSDEF_Msk (0x1UL << SAI_xFRCR_FSDEF_Pos)
12402#define SAI_xFRCR_FSDEF SAI_xFRCR_FSDEF_Msk
12403#define SAI_xFRCR_FSPOL_Pos (17U)
12404#define SAI_xFRCR_FSPOL_Msk (0x1UL << SAI_xFRCR_FSPOL_Pos)
12405#define SAI_xFRCR_FSPOL SAI_xFRCR_FSPOL_Msk
12406#define SAI_xFRCR_FSOFF_Pos (18U)
12407#define SAI_xFRCR_FSOFF_Msk (0x1UL << SAI_xFRCR_FSOFF_Pos)
12408#define SAI_xFRCR_FSOFF SAI_xFRCR_FSOFF_Msk
12410/* Legacy define */
12411#define SAI_xFRCR_FSPO SAI_xFRCR_FSPOL
12412
12413/****************** Bit definition for SAI_xSLOTR register *******************/
12414#define SAI_xSLOTR_FBOFF_Pos (0U)
12415#define SAI_xSLOTR_FBOFF_Msk (0x1FUL << SAI_xSLOTR_FBOFF_Pos)
12416#define SAI_xSLOTR_FBOFF SAI_xSLOTR_FBOFF_Msk
12417#define SAI_xSLOTR_FBOFF_0 (0x01UL << SAI_xSLOTR_FBOFF_Pos)
12418#define SAI_xSLOTR_FBOFF_1 (0x02UL << SAI_xSLOTR_FBOFF_Pos)
12419#define SAI_xSLOTR_FBOFF_2 (0x04UL << SAI_xSLOTR_FBOFF_Pos)
12420#define SAI_xSLOTR_FBOFF_3 (0x08UL << SAI_xSLOTR_FBOFF_Pos)
12421#define SAI_xSLOTR_FBOFF_4 (0x10UL << SAI_xSLOTR_FBOFF_Pos)
12423#define SAI_xSLOTR_SLOTSZ_Pos (6U)
12424#define SAI_xSLOTR_SLOTSZ_Msk (0x3UL << SAI_xSLOTR_SLOTSZ_Pos)
12425#define SAI_xSLOTR_SLOTSZ SAI_xSLOTR_SLOTSZ_Msk
12426#define SAI_xSLOTR_SLOTSZ_0 (0x1UL << SAI_xSLOTR_SLOTSZ_Pos)
12427#define SAI_xSLOTR_SLOTSZ_1 (0x2UL << SAI_xSLOTR_SLOTSZ_Pos)
12429#define SAI_xSLOTR_NBSLOT_Pos (8U)
12430#define SAI_xSLOTR_NBSLOT_Msk (0xFUL << SAI_xSLOTR_NBSLOT_Pos)
12431#define SAI_xSLOTR_NBSLOT SAI_xSLOTR_NBSLOT_Msk
12432#define SAI_xSLOTR_NBSLOT_0 (0x1UL << SAI_xSLOTR_NBSLOT_Pos)
12433#define SAI_xSLOTR_NBSLOT_1 (0x2UL << SAI_xSLOTR_NBSLOT_Pos)
12434#define SAI_xSLOTR_NBSLOT_2 (0x4UL << SAI_xSLOTR_NBSLOT_Pos)
12435#define SAI_xSLOTR_NBSLOT_3 (0x8UL << SAI_xSLOTR_NBSLOT_Pos)
12437#define SAI_xSLOTR_SLOTEN_Pos (16U)
12438#define SAI_xSLOTR_SLOTEN_Msk (0xFFFFUL << SAI_xSLOTR_SLOTEN_Pos)
12439#define SAI_xSLOTR_SLOTEN SAI_xSLOTR_SLOTEN_Msk
12441/******************* Bit definition for SAI_xIMR register *******************/
12442#define SAI_xIMR_OVRUDRIE_Pos (0U)
12443#define SAI_xIMR_OVRUDRIE_Msk (0x1UL << SAI_xIMR_OVRUDRIE_Pos)
12444#define SAI_xIMR_OVRUDRIE SAI_xIMR_OVRUDRIE_Msk
12445#define SAI_xIMR_MUTEDETIE_Pos (1U)
12446#define SAI_xIMR_MUTEDETIE_Msk (0x1UL << SAI_xIMR_MUTEDETIE_Pos)
12447#define SAI_xIMR_MUTEDETIE SAI_xIMR_MUTEDETIE_Msk
12448#define SAI_xIMR_WCKCFGIE_Pos (2U)
12449#define SAI_xIMR_WCKCFGIE_Msk (0x1UL << SAI_xIMR_WCKCFGIE_Pos)
12450#define SAI_xIMR_WCKCFGIE SAI_xIMR_WCKCFGIE_Msk
12451#define SAI_xIMR_FREQIE_Pos (3U)
12452#define SAI_xIMR_FREQIE_Msk (0x1UL << SAI_xIMR_FREQIE_Pos)
12453#define SAI_xIMR_FREQIE SAI_xIMR_FREQIE_Msk
12454#define SAI_xIMR_CNRDYIE_Pos (4U)
12455#define SAI_xIMR_CNRDYIE_Msk (0x1UL << SAI_xIMR_CNRDYIE_Pos)
12456#define SAI_xIMR_CNRDYIE SAI_xIMR_CNRDYIE_Msk
12457#define SAI_xIMR_AFSDETIE_Pos (5U)
12458#define SAI_xIMR_AFSDETIE_Msk (0x1UL << SAI_xIMR_AFSDETIE_Pos)
12459#define SAI_xIMR_AFSDETIE SAI_xIMR_AFSDETIE_Msk
12460#define SAI_xIMR_LFSDETIE_Pos (6U)
12461#define SAI_xIMR_LFSDETIE_Msk (0x1UL << SAI_xIMR_LFSDETIE_Pos)
12462#define SAI_xIMR_LFSDETIE SAI_xIMR_LFSDETIE_Msk
12464/******************** Bit definition for SAI_xSR register *******************/
12465#define SAI_xSR_OVRUDR_Pos (0U)
12466#define SAI_xSR_OVRUDR_Msk (0x1UL << SAI_xSR_OVRUDR_Pos)
12467#define SAI_xSR_OVRUDR SAI_xSR_OVRUDR_Msk
12468#define SAI_xSR_MUTEDET_Pos (1U)
12469#define SAI_xSR_MUTEDET_Msk (0x1UL << SAI_xSR_MUTEDET_Pos)
12470#define SAI_xSR_MUTEDET SAI_xSR_MUTEDET_Msk
12471#define SAI_xSR_WCKCFG_Pos (2U)
12472#define SAI_xSR_WCKCFG_Msk (0x1UL << SAI_xSR_WCKCFG_Pos)
12473#define SAI_xSR_WCKCFG SAI_xSR_WCKCFG_Msk
12474#define SAI_xSR_FREQ_Pos (3U)
12475#define SAI_xSR_FREQ_Msk (0x1UL << SAI_xSR_FREQ_Pos)
12476#define SAI_xSR_FREQ SAI_xSR_FREQ_Msk
12477#define SAI_xSR_CNRDY_Pos (4U)
12478#define SAI_xSR_CNRDY_Msk (0x1UL << SAI_xSR_CNRDY_Pos)
12479#define SAI_xSR_CNRDY SAI_xSR_CNRDY_Msk
12480#define SAI_xSR_AFSDET_Pos (5U)
12481#define SAI_xSR_AFSDET_Msk (0x1UL << SAI_xSR_AFSDET_Pos)
12482#define SAI_xSR_AFSDET SAI_xSR_AFSDET_Msk
12483#define SAI_xSR_LFSDET_Pos (6U)
12484#define SAI_xSR_LFSDET_Msk (0x1UL << SAI_xSR_LFSDET_Pos)
12485#define SAI_xSR_LFSDET SAI_xSR_LFSDET_Msk
12487#define SAI_xSR_FLVL_Pos (16U)
12488#define SAI_xSR_FLVL_Msk (0x7UL << SAI_xSR_FLVL_Pos)
12489#define SAI_xSR_FLVL SAI_xSR_FLVL_Msk
12490#define SAI_xSR_FLVL_0 (0x1UL << SAI_xSR_FLVL_Pos)
12491#define SAI_xSR_FLVL_1 (0x2UL << SAI_xSR_FLVL_Pos)
12492#define SAI_xSR_FLVL_2 (0x4UL << SAI_xSR_FLVL_Pos)
12494/****************** Bit definition for SAI_xCLRFR register ******************/
12495#define SAI_xCLRFR_COVRUDR_Pos (0U)
12496#define SAI_xCLRFR_COVRUDR_Msk (0x1UL << SAI_xCLRFR_COVRUDR_Pos)
12497#define SAI_xCLRFR_COVRUDR SAI_xCLRFR_COVRUDR_Msk
12498#define SAI_xCLRFR_CMUTEDET_Pos (1U)
12499#define SAI_xCLRFR_CMUTEDET_Msk (0x1UL << SAI_xCLRFR_CMUTEDET_Pos)
12500#define SAI_xCLRFR_CMUTEDET SAI_xCLRFR_CMUTEDET_Msk
12501#define SAI_xCLRFR_CWCKCFG_Pos (2U)
12502#define SAI_xCLRFR_CWCKCFG_Msk (0x1UL << SAI_xCLRFR_CWCKCFG_Pos)
12503#define SAI_xCLRFR_CWCKCFG SAI_xCLRFR_CWCKCFG_Msk
12504#define SAI_xCLRFR_CFREQ_Pos (3U)
12505#define SAI_xCLRFR_CFREQ_Msk (0x1UL << SAI_xCLRFR_CFREQ_Pos)
12506#define SAI_xCLRFR_CFREQ SAI_xCLRFR_CFREQ_Msk
12507#define SAI_xCLRFR_CCNRDY_Pos (4U)
12508#define SAI_xCLRFR_CCNRDY_Msk (0x1UL << SAI_xCLRFR_CCNRDY_Pos)
12509#define SAI_xCLRFR_CCNRDY SAI_xCLRFR_CCNRDY_Msk
12510#define SAI_xCLRFR_CAFSDET_Pos (5U)
12511#define SAI_xCLRFR_CAFSDET_Msk (0x1UL << SAI_xCLRFR_CAFSDET_Pos)
12512#define SAI_xCLRFR_CAFSDET SAI_xCLRFR_CAFSDET_Msk
12513#define SAI_xCLRFR_CLFSDET_Pos (6U)
12514#define SAI_xCLRFR_CLFSDET_Msk (0x1UL << SAI_xCLRFR_CLFSDET_Pos)
12515#define SAI_xCLRFR_CLFSDET SAI_xCLRFR_CLFSDET_Msk
12517/****************** Bit definition for SAI_xDR register *********************/
12518#define SAI_xDR_DATA_Pos (0U)
12519#define SAI_xDR_DATA_Msk (0xFFFFFFFFUL << SAI_xDR_DATA_Pos)
12520#define SAI_xDR_DATA SAI_xDR_DATA_Msk
12521
12522/******************************************************************************/
12523/* */
12524/* SPDIF-RX Interface */
12525/* */
12526/******************************************************************************/
12527/******************** Bit definition for SPDIF_CR register *******************/
12528#define SPDIFRX_CR_SPDIFEN_Pos (0U)
12529#define SPDIFRX_CR_SPDIFEN_Msk (0x3UL << SPDIFRX_CR_SPDIFEN_Pos)
12530#define SPDIFRX_CR_SPDIFEN SPDIFRX_CR_SPDIFEN_Msk
12531#define SPDIFRX_CR_RXDMAEN_Pos (2U)
12532#define SPDIFRX_CR_RXDMAEN_Msk (0x1UL << SPDIFRX_CR_RXDMAEN_Pos)
12533#define SPDIFRX_CR_RXDMAEN SPDIFRX_CR_RXDMAEN_Msk
12534#define SPDIFRX_CR_RXSTEO_Pos (3U)
12535#define SPDIFRX_CR_RXSTEO_Msk (0x1UL << SPDIFRX_CR_RXSTEO_Pos)
12536#define SPDIFRX_CR_RXSTEO SPDIFRX_CR_RXSTEO_Msk
12537#define SPDIFRX_CR_DRFMT_Pos (4U)
12538#define SPDIFRX_CR_DRFMT_Msk (0x3UL << SPDIFRX_CR_DRFMT_Pos)
12539#define SPDIFRX_CR_DRFMT SPDIFRX_CR_DRFMT_Msk
12540#define SPDIFRX_CR_PMSK_Pos (6U)
12541#define SPDIFRX_CR_PMSK_Msk (0x1UL << SPDIFRX_CR_PMSK_Pos)
12542#define SPDIFRX_CR_PMSK SPDIFRX_CR_PMSK_Msk
12543#define SPDIFRX_CR_VMSK_Pos (7U)
12544#define SPDIFRX_CR_VMSK_Msk (0x1UL << SPDIFRX_CR_VMSK_Pos)
12545#define SPDIFRX_CR_VMSK SPDIFRX_CR_VMSK_Msk
12546#define SPDIFRX_CR_CUMSK_Pos (8U)
12547#define SPDIFRX_CR_CUMSK_Msk (0x1UL << SPDIFRX_CR_CUMSK_Pos)
12548#define SPDIFRX_CR_CUMSK SPDIFRX_CR_CUMSK_Msk
12549#define SPDIFRX_CR_PTMSK_Pos (9U)
12550#define SPDIFRX_CR_PTMSK_Msk (0x1UL << SPDIFRX_CR_PTMSK_Pos)
12551#define SPDIFRX_CR_PTMSK SPDIFRX_CR_PTMSK_Msk
12552#define SPDIFRX_CR_CBDMAEN_Pos (10U)
12553#define SPDIFRX_CR_CBDMAEN_Msk (0x1UL << SPDIFRX_CR_CBDMAEN_Pos)
12554#define SPDIFRX_CR_CBDMAEN SPDIFRX_CR_CBDMAEN_Msk
12555#define SPDIFRX_CR_CHSEL_Pos (11U)
12556#define SPDIFRX_CR_CHSEL_Msk (0x1UL << SPDIFRX_CR_CHSEL_Pos)
12557#define SPDIFRX_CR_CHSEL SPDIFRX_CR_CHSEL_Msk
12558#define SPDIFRX_CR_NBTR_Pos (12U)
12559#define SPDIFRX_CR_NBTR_Msk (0x3UL << SPDIFRX_CR_NBTR_Pos)
12560#define SPDIFRX_CR_NBTR SPDIFRX_CR_NBTR_Msk
12561#define SPDIFRX_CR_WFA_Pos (14U)
12562#define SPDIFRX_CR_WFA_Msk (0x1UL << SPDIFRX_CR_WFA_Pos)
12563#define SPDIFRX_CR_WFA SPDIFRX_CR_WFA_Msk
12564#define SPDIFRX_CR_INSEL_Pos (16U)
12565#define SPDIFRX_CR_INSEL_Msk (0x7UL << SPDIFRX_CR_INSEL_Pos)
12566#define SPDIFRX_CR_INSEL SPDIFRX_CR_INSEL_Msk
12568/******************* Bit definition for SPDIFRX_IMR register *******************/
12569#define SPDIFRX_IMR_RXNEIE_Pos (0U)
12570#define SPDIFRX_IMR_RXNEIE_Msk (0x1UL << SPDIFRX_IMR_RXNEIE_Pos)
12571#define SPDIFRX_IMR_RXNEIE SPDIFRX_IMR_RXNEIE_Msk
12572#define SPDIFRX_IMR_CSRNEIE_Pos (1U)
12573#define SPDIFRX_IMR_CSRNEIE_Msk (0x1UL << SPDIFRX_IMR_CSRNEIE_Pos)
12574#define SPDIFRX_IMR_CSRNEIE SPDIFRX_IMR_CSRNEIE_Msk
12575#define SPDIFRX_IMR_PERRIE_Pos (2U)
12576#define SPDIFRX_IMR_PERRIE_Msk (0x1UL << SPDIFRX_IMR_PERRIE_Pos)
12577#define SPDIFRX_IMR_PERRIE SPDIFRX_IMR_PERRIE_Msk
12578#define SPDIFRX_IMR_OVRIE_Pos (3U)
12579#define SPDIFRX_IMR_OVRIE_Msk (0x1UL << SPDIFRX_IMR_OVRIE_Pos)
12580#define SPDIFRX_IMR_OVRIE SPDIFRX_IMR_OVRIE_Msk
12581#define SPDIFRX_IMR_SBLKIE_Pos (4U)
12582#define SPDIFRX_IMR_SBLKIE_Msk (0x1UL << SPDIFRX_IMR_SBLKIE_Pos)
12583#define SPDIFRX_IMR_SBLKIE SPDIFRX_IMR_SBLKIE_Msk
12584#define SPDIFRX_IMR_SYNCDIE_Pos (5U)
12585#define SPDIFRX_IMR_SYNCDIE_Msk (0x1UL << SPDIFRX_IMR_SYNCDIE_Pos)
12586#define SPDIFRX_IMR_SYNCDIE SPDIFRX_IMR_SYNCDIE_Msk
12587#define SPDIFRX_IMR_IFEIE_Pos (6U)
12588#define SPDIFRX_IMR_IFEIE_Msk (0x1UL << SPDIFRX_IMR_IFEIE_Pos)
12589#define SPDIFRX_IMR_IFEIE SPDIFRX_IMR_IFEIE_Msk
12591/******************* Bit definition for SPDIFRX_SR register *******************/
12592#define SPDIFRX_SR_RXNE_Pos (0U)
12593#define SPDIFRX_SR_RXNE_Msk (0x1UL << SPDIFRX_SR_RXNE_Pos)
12594#define SPDIFRX_SR_RXNE SPDIFRX_SR_RXNE_Msk
12595#define SPDIFRX_SR_CSRNE_Pos (1U)
12596#define SPDIFRX_SR_CSRNE_Msk (0x1UL << SPDIFRX_SR_CSRNE_Pos)
12597#define SPDIFRX_SR_CSRNE SPDIFRX_SR_CSRNE_Msk
12598#define SPDIFRX_SR_PERR_Pos (2U)
12599#define SPDIFRX_SR_PERR_Msk (0x1UL << SPDIFRX_SR_PERR_Pos)
12600#define SPDIFRX_SR_PERR SPDIFRX_SR_PERR_Msk
12601#define SPDIFRX_SR_OVR_Pos (3U)
12602#define SPDIFRX_SR_OVR_Msk (0x1UL << SPDIFRX_SR_OVR_Pos)
12603#define SPDIFRX_SR_OVR SPDIFRX_SR_OVR_Msk
12604#define SPDIFRX_SR_SBD_Pos (4U)
12605#define SPDIFRX_SR_SBD_Msk (0x1UL << SPDIFRX_SR_SBD_Pos)
12606#define SPDIFRX_SR_SBD SPDIFRX_SR_SBD_Msk
12607#define SPDIFRX_SR_SYNCD_Pos (5U)
12608#define SPDIFRX_SR_SYNCD_Msk (0x1UL << SPDIFRX_SR_SYNCD_Pos)
12609#define SPDIFRX_SR_SYNCD SPDIFRX_SR_SYNCD_Msk
12610#define SPDIFRX_SR_FERR_Pos (6U)
12611#define SPDIFRX_SR_FERR_Msk (0x1UL << SPDIFRX_SR_FERR_Pos)
12612#define SPDIFRX_SR_FERR SPDIFRX_SR_FERR_Msk
12613#define SPDIFRX_SR_SERR_Pos (7U)
12614#define SPDIFRX_SR_SERR_Msk (0x1UL << SPDIFRX_SR_SERR_Pos)
12615#define SPDIFRX_SR_SERR SPDIFRX_SR_SERR_Msk
12616#define SPDIFRX_SR_TERR_Pos (8U)
12617#define SPDIFRX_SR_TERR_Msk (0x1UL << SPDIFRX_SR_TERR_Pos)
12618#define SPDIFRX_SR_TERR SPDIFRX_SR_TERR_Msk
12619#define SPDIFRX_SR_WIDTH5_Pos (16U)
12620#define SPDIFRX_SR_WIDTH5_Msk (0x7FFFUL << SPDIFRX_SR_WIDTH5_Pos)
12621#define SPDIFRX_SR_WIDTH5 SPDIFRX_SR_WIDTH5_Msk
12623/******************* Bit definition for SPDIFRX_IFCR register *******************/
12624#define SPDIFRX_IFCR_PERRCF_Pos (2U)
12625#define SPDIFRX_IFCR_PERRCF_Msk (0x1UL << SPDIFRX_IFCR_PERRCF_Pos)
12626#define SPDIFRX_IFCR_PERRCF SPDIFRX_IFCR_PERRCF_Msk
12627#define SPDIFRX_IFCR_OVRCF_Pos (3U)
12628#define SPDIFRX_IFCR_OVRCF_Msk (0x1UL << SPDIFRX_IFCR_OVRCF_Pos)
12629#define SPDIFRX_IFCR_OVRCF SPDIFRX_IFCR_OVRCF_Msk
12630#define SPDIFRX_IFCR_SBDCF_Pos (4U)
12631#define SPDIFRX_IFCR_SBDCF_Msk (0x1UL << SPDIFRX_IFCR_SBDCF_Pos)
12632#define SPDIFRX_IFCR_SBDCF SPDIFRX_IFCR_SBDCF_Msk
12633#define SPDIFRX_IFCR_SYNCDCF_Pos (5U)
12634#define SPDIFRX_IFCR_SYNCDCF_Msk (0x1UL << SPDIFRX_IFCR_SYNCDCF_Pos)
12635#define SPDIFRX_IFCR_SYNCDCF SPDIFRX_IFCR_SYNCDCF_Msk
12637/******************* Bit definition for SPDIFRX_DR register (DRFMT = 0b00 case) *******************/
12638#define SPDIFRX_DR0_DR_Pos (0U)
12639#define SPDIFRX_DR0_DR_Msk (0xFFFFFFUL << SPDIFRX_DR0_DR_Pos)
12640#define SPDIFRX_DR0_DR SPDIFRX_DR0_DR_Msk
12641#define SPDIFRX_DR0_PE_Pos (24U)
12642#define SPDIFRX_DR0_PE_Msk (0x1UL << SPDIFRX_DR0_PE_Pos)
12643#define SPDIFRX_DR0_PE SPDIFRX_DR0_PE_Msk
12644#define SPDIFRX_DR0_V_Pos (25U)
12645#define SPDIFRX_DR0_V_Msk (0x1UL << SPDIFRX_DR0_V_Pos)
12646#define SPDIFRX_DR0_V SPDIFRX_DR0_V_Msk
12647#define SPDIFRX_DR0_U_Pos (26U)
12648#define SPDIFRX_DR0_U_Msk (0x1UL << SPDIFRX_DR0_U_Pos)
12649#define SPDIFRX_DR0_U SPDIFRX_DR0_U_Msk
12650#define SPDIFRX_DR0_C_Pos (27U)
12651#define SPDIFRX_DR0_C_Msk (0x1UL << SPDIFRX_DR0_C_Pos)
12652#define SPDIFRX_DR0_C SPDIFRX_DR0_C_Msk
12653#define SPDIFRX_DR0_PT_Pos (28U)
12654#define SPDIFRX_DR0_PT_Msk (0x3UL << SPDIFRX_DR0_PT_Pos)
12655#define SPDIFRX_DR0_PT SPDIFRX_DR0_PT_Msk
12657/******************* Bit definition for SPDIFRX_DR register (DRFMT = 0b01 case) *******************/
12658#define SPDIFRX_DR1_DR_Pos (8U)
12659#define SPDIFRX_DR1_DR_Msk (0xFFFFFFUL << SPDIFRX_DR1_DR_Pos)
12660#define SPDIFRX_DR1_DR SPDIFRX_DR1_DR_Msk
12661#define SPDIFRX_DR1_PT_Pos (4U)
12662#define SPDIFRX_DR1_PT_Msk (0x3UL << SPDIFRX_DR1_PT_Pos)
12663#define SPDIFRX_DR1_PT SPDIFRX_DR1_PT_Msk
12664#define SPDIFRX_DR1_C_Pos (3U)
12665#define SPDIFRX_DR1_C_Msk (0x1UL << SPDIFRX_DR1_C_Pos)
12666#define SPDIFRX_DR1_C SPDIFRX_DR1_C_Msk
12667#define SPDIFRX_DR1_U_Pos (2U)
12668#define SPDIFRX_DR1_U_Msk (0x1UL << SPDIFRX_DR1_U_Pos)
12669#define SPDIFRX_DR1_U SPDIFRX_DR1_U_Msk
12670#define SPDIFRX_DR1_V_Pos (1U)
12671#define SPDIFRX_DR1_V_Msk (0x1UL << SPDIFRX_DR1_V_Pos)
12672#define SPDIFRX_DR1_V SPDIFRX_DR1_V_Msk
12673#define SPDIFRX_DR1_PE_Pos (0U)
12674#define SPDIFRX_DR1_PE_Msk (0x1UL << SPDIFRX_DR1_PE_Pos)
12675#define SPDIFRX_DR1_PE SPDIFRX_DR1_PE_Msk
12677/******************* Bit definition for SPDIFRX_DR register (DRFMT = 0b10 case) *******************/
12678#define SPDIFRX_DR1_DRNL1_Pos (16U)
12679#define SPDIFRX_DR1_DRNL1_Msk (0xFFFFUL << SPDIFRX_DR1_DRNL1_Pos)
12680#define SPDIFRX_DR1_DRNL1 SPDIFRX_DR1_DRNL1_Msk
12681#define SPDIFRX_DR1_DRNL2_Pos (0U)
12682#define SPDIFRX_DR1_DRNL2_Msk (0xFFFFUL << SPDIFRX_DR1_DRNL2_Pos)
12683#define SPDIFRX_DR1_DRNL2 SPDIFRX_DR1_DRNL2_Msk
12685/******************* Bit definition for SPDIFRX_CSR register *******************/
12686#define SPDIFRX_CSR_USR_Pos (0U)
12687#define SPDIFRX_CSR_USR_Msk (0xFFFFUL << SPDIFRX_CSR_USR_Pos)
12688#define SPDIFRX_CSR_USR SPDIFRX_CSR_USR_Msk
12689#define SPDIFRX_CSR_CS_Pos (16U)
12690#define SPDIFRX_CSR_CS_Msk (0xFFUL << SPDIFRX_CSR_CS_Pos)
12691#define SPDIFRX_CSR_CS SPDIFRX_CSR_CS_Msk
12692#define SPDIFRX_CSR_SOB_Pos (24U)
12693#define SPDIFRX_CSR_SOB_Msk (0x1UL << SPDIFRX_CSR_SOB_Pos)
12694#define SPDIFRX_CSR_SOB SPDIFRX_CSR_SOB_Msk
12696/******************* Bit definition for SPDIFRX_DIR register *******************/
12697#define SPDIFRX_DIR_THI_Pos (0U)
12698#define SPDIFRX_DIR_THI_Msk (0x13FFUL << SPDIFRX_DIR_THI_Pos)
12699#define SPDIFRX_DIR_THI SPDIFRX_DIR_THI_Msk
12700#define SPDIFRX_DIR_TLO_Pos (16U)
12701#define SPDIFRX_DIR_TLO_Msk (0x1FFFUL << SPDIFRX_DIR_TLO_Pos)
12702#define SPDIFRX_DIR_TLO SPDIFRX_DIR_TLO_Msk
12704/******************************************************************************/
12705/* */
12706/* SD host Interface */
12707/* */
12708/******************************************************************************/
12709/****************** Bit definition for SDMMC_POWER register ******************/
12710#define SDMMC_POWER_PWRCTRL_Pos (0U)
12711#define SDMMC_POWER_PWRCTRL_Msk (0x3UL << SDMMC_POWER_PWRCTRL_Pos)
12712#define SDMMC_POWER_PWRCTRL SDMMC_POWER_PWRCTRL_Msk
12713#define SDMMC_POWER_PWRCTRL_0 (0x1UL << SDMMC_POWER_PWRCTRL_Pos)
12714#define SDMMC_POWER_PWRCTRL_1 (0x2UL << SDMMC_POWER_PWRCTRL_Pos)
12716/****************** Bit definition for SDMMC_CLKCR register ******************/
12717#define SDMMC_CLKCR_CLKDIV_Pos (0U)
12718#define SDMMC_CLKCR_CLKDIV_Msk (0xFFUL << SDMMC_CLKCR_CLKDIV_Pos)
12719#define SDMMC_CLKCR_CLKDIV SDMMC_CLKCR_CLKDIV_Msk
12720#define SDMMC_CLKCR_CLKEN_Pos (8U)
12721#define SDMMC_CLKCR_CLKEN_Msk (0x1UL << SDMMC_CLKCR_CLKEN_Pos)
12722#define SDMMC_CLKCR_CLKEN SDMMC_CLKCR_CLKEN_Msk
12723#define SDMMC_CLKCR_PWRSAV_Pos (9U)
12724#define SDMMC_CLKCR_PWRSAV_Msk (0x1UL << SDMMC_CLKCR_PWRSAV_Pos)
12725#define SDMMC_CLKCR_PWRSAV SDMMC_CLKCR_PWRSAV_Msk
12726#define SDMMC_CLKCR_BYPASS_Pos (10U)
12727#define SDMMC_CLKCR_BYPASS_Msk (0x1UL << SDMMC_CLKCR_BYPASS_Pos)
12728#define SDMMC_CLKCR_BYPASS SDMMC_CLKCR_BYPASS_Msk
12730#define SDMMC_CLKCR_WIDBUS_Pos (11U)
12731#define SDMMC_CLKCR_WIDBUS_Msk (0x3UL << SDMMC_CLKCR_WIDBUS_Pos)
12732#define SDMMC_CLKCR_WIDBUS SDMMC_CLKCR_WIDBUS_Msk
12733#define SDMMC_CLKCR_WIDBUS_0 (0x1UL << SDMMC_CLKCR_WIDBUS_Pos)
12734#define SDMMC_CLKCR_WIDBUS_1 (0x2UL << SDMMC_CLKCR_WIDBUS_Pos)
12736#define SDMMC_CLKCR_NEGEDGE_Pos (13U)
12737#define SDMMC_CLKCR_NEGEDGE_Msk (0x1UL << SDMMC_CLKCR_NEGEDGE_Pos)
12738#define SDMMC_CLKCR_NEGEDGE SDMMC_CLKCR_NEGEDGE_Msk
12739#define SDMMC_CLKCR_HWFC_EN_Pos (14U)
12740#define SDMMC_CLKCR_HWFC_EN_Msk (0x1UL << SDMMC_CLKCR_HWFC_EN_Pos)
12741#define SDMMC_CLKCR_HWFC_EN SDMMC_CLKCR_HWFC_EN_Msk
12743/******************* Bit definition for SDMMC_ARG register *******************/
12744#define SDMMC_ARG_CMDARG_Pos (0U)
12745#define SDMMC_ARG_CMDARG_Msk (0xFFFFFFFFUL << SDMMC_ARG_CMDARG_Pos)
12746#define SDMMC_ARG_CMDARG SDMMC_ARG_CMDARG_Msk
12748/******************* Bit definition for SDMMC_CMD register *******************/
12749#define SDMMC_CMD_CMDINDEX_Pos (0U)
12750#define SDMMC_CMD_CMDINDEX_Msk (0x3FUL << SDMMC_CMD_CMDINDEX_Pos)
12751#define SDMMC_CMD_CMDINDEX SDMMC_CMD_CMDINDEX_Msk
12753#define SDMMC_CMD_WAITRESP_Pos (6U)
12754#define SDMMC_CMD_WAITRESP_Msk (0x3UL << SDMMC_CMD_WAITRESP_Pos)
12755#define SDMMC_CMD_WAITRESP SDMMC_CMD_WAITRESP_Msk
12756#define SDMMC_CMD_WAITRESP_0 (0x1UL << SDMMC_CMD_WAITRESP_Pos)
12757#define SDMMC_CMD_WAITRESP_1 (0x2UL << SDMMC_CMD_WAITRESP_Pos)
12759#define SDMMC_CMD_WAITINT_Pos (8U)
12760#define SDMMC_CMD_WAITINT_Msk (0x1UL << SDMMC_CMD_WAITINT_Pos)
12761#define SDMMC_CMD_WAITINT SDMMC_CMD_WAITINT_Msk
12762#define SDMMC_CMD_WAITPEND_Pos (9U)
12763#define SDMMC_CMD_WAITPEND_Msk (0x1UL << SDMMC_CMD_WAITPEND_Pos)
12764#define SDMMC_CMD_WAITPEND SDMMC_CMD_WAITPEND_Msk
12765#define SDMMC_CMD_CPSMEN_Pos (10U)
12766#define SDMMC_CMD_CPSMEN_Msk (0x1UL << SDMMC_CMD_CPSMEN_Pos)
12767#define SDMMC_CMD_CPSMEN SDMMC_CMD_CPSMEN_Msk
12768#define SDMMC_CMD_SDIOSUSPEND_Pos (11U)
12769#define SDMMC_CMD_SDIOSUSPEND_Msk (0x1UL << SDMMC_CMD_SDIOSUSPEND_Pos)
12770#define SDMMC_CMD_SDIOSUSPEND SDMMC_CMD_SDIOSUSPEND_Msk
12772/***************** Bit definition for SDMMC_RESPCMD register *****************/
12773#define SDMMC_RESPCMD_RESPCMD_Pos (0U)
12774#define SDMMC_RESPCMD_RESPCMD_Msk (0x3FUL << SDMMC_RESPCMD_RESPCMD_Pos)
12775#define SDMMC_RESPCMD_RESPCMD SDMMC_RESPCMD_RESPCMD_Msk
12777/****************** Bit definition for SDMMC_RESP0 register ******************/
12778#define SDMMC_RESP0_CARDSTATUS0_Pos (0U)
12779#define SDMMC_RESP0_CARDSTATUS0_Msk (0xFFFFFFFFUL << SDMMC_RESP0_CARDSTATUS0_Pos)
12780#define SDMMC_RESP0_CARDSTATUS0 SDMMC_RESP0_CARDSTATUS0_Msk
12782/****************** Bit definition for SDMMC_RESP1 register ******************/
12783#define SDMMC_RESP1_CARDSTATUS1_Pos (0U)
12784#define SDMMC_RESP1_CARDSTATUS1_Msk (0xFFFFFFFFUL << SDMMC_RESP1_CARDSTATUS1_Pos)
12785#define SDMMC_RESP1_CARDSTATUS1 SDMMC_RESP1_CARDSTATUS1_Msk
12787/****************** Bit definition for SDMMC_RESP2 register ******************/
12788#define SDMMC_RESP2_CARDSTATUS2_Pos (0U)
12789#define SDMMC_RESP2_CARDSTATUS2_Msk (0xFFFFFFFFUL << SDMMC_RESP2_CARDSTATUS2_Pos)
12790#define SDMMC_RESP2_CARDSTATUS2 SDMMC_RESP2_CARDSTATUS2_Msk
12792/****************** Bit definition for SDMMC_RESP3 register ******************/
12793#define SDMMC_RESP3_CARDSTATUS3_Pos (0U)
12794#define SDMMC_RESP3_CARDSTATUS3_Msk (0xFFFFFFFFUL << SDMMC_RESP3_CARDSTATUS3_Pos)
12795#define SDMMC_RESP3_CARDSTATUS3 SDMMC_RESP3_CARDSTATUS3_Msk
12797/****************** Bit definition for SDMMC_RESP4 register ******************/
12798#define SDMMC_RESP4_CARDSTATUS4_Pos (0U)
12799#define SDMMC_RESP4_CARDSTATUS4_Msk (0xFFFFFFFFUL << SDMMC_RESP4_CARDSTATUS4_Pos)
12800#define SDMMC_RESP4_CARDSTATUS4 SDMMC_RESP4_CARDSTATUS4_Msk
12802/****************** Bit definition for SDMMC_DTIMER register *****************/
12803#define SDMMC_DTIMER_DATATIME_Pos (0U)
12804#define SDMMC_DTIMER_DATATIME_Msk (0xFFFFFFFFUL << SDMMC_DTIMER_DATATIME_Pos)
12805#define SDMMC_DTIMER_DATATIME SDMMC_DTIMER_DATATIME_Msk
12807/****************** Bit definition for SDMMC_DLEN register *******************/
12808#define SDMMC_DLEN_DATALENGTH_Pos (0U)
12809#define SDMMC_DLEN_DATALENGTH_Msk (0x1FFFFFFUL << SDMMC_DLEN_DATALENGTH_Pos)
12810#define SDMMC_DLEN_DATALENGTH SDMMC_DLEN_DATALENGTH_Msk
12812/****************** Bit definition for SDMMC_DCTRL register ******************/
12813#define SDMMC_DCTRL_DTEN_Pos (0U)
12814#define SDMMC_DCTRL_DTEN_Msk (0x1UL << SDMMC_DCTRL_DTEN_Pos)
12815#define SDMMC_DCTRL_DTEN SDMMC_DCTRL_DTEN_Msk
12816#define SDMMC_DCTRL_DTDIR_Pos (1U)
12817#define SDMMC_DCTRL_DTDIR_Msk (0x1UL << SDMMC_DCTRL_DTDIR_Pos)
12818#define SDMMC_DCTRL_DTDIR SDMMC_DCTRL_DTDIR_Msk
12819#define SDMMC_DCTRL_DTMODE_Pos (2U)
12820#define SDMMC_DCTRL_DTMODE_Msk (0x1UL << SDMMC_DCTRL_DTMODE_Pos)
12821#define SDMMC_DCTRL_DTMODE SDMMC_DCTRL_DTMODE_Msk
12822#define SDMMC_DCTRL_DMAEN_Pos (3U)
12823#define SDMMC_DCTRL_DMAEN_Msk (0x1UL << SDMMC_DCTRL_DMAEN_Pos)
12824#define SDMMC_DCTRL_DMAEN SDMMC_DCTRL_DMAEN_Msk
12826#define SDMMC_DCTRL_DBLOCKSIZE_Pos (4U)
12827#define SDMMC_DCTRL_DBLOCKSIZE_Msk (0xFUL << SDMMC_DCTRL_DBLOCKSIZE_Pos)
12828#define SDMMC_DCTRL_DBLOCKSIZE SDMMC_DCTRL_DBLOCKSIZE_Msk
12829#define SDMMC_DCTRL_DBLOCKSIZE_0 (0x1UL << SDMMC_DCTRL_DBLOCKSIZE_Pos)
12830#define SDMMC_DCTRL_DBLOCKSIZE_1 (0x2UL << SDMMC_DCTRL_DBLOCKSIZE_Pos)
12831#define SDMMC_DCTRL_DBLOCKSIZE_2 (0x4UL << SDMMC_DCTRL_DBLOCKSIZE_Pos)
12832#define SDMMC_DCTRL_DBLOCKSIZE_3 (0x8UL << SDMMC_DCTRL_DBLOCKSIZE_Pos)
12834#define SDMMC_DCTRL_RWSTART_Pos (8U)
12835#define SDMMC_DCTRL_RWSTART_Msk (0x1UL << SDMMC_DCTRL_RWSTART_Pos)
12836#define SDMMC_DCTRL_RWSTART SDMMC_DCTRL_RWSTART_Msk
12837#define SDMMC_DCTRL_RWSTOP_Pos (9U)
12838#define SDMMC_DCTRL_RWSTOP_Msk (0x1UL << SDMMC_DCTRL_RWSTOP_Pos)
12839#define SDMMC_DCTRL_RWSTOP SDMMC_DCTRL_RWSTOP_Msk
12840#define SDMMC_DCTRL_RWMOD_Pos (10U)
12841#define SDMMC_DCTRL_RWMOD_Msk (0x1UL << SDMMC_DCTRL_RWMOD_Pos)
12842#define SDMMC_DCTRL_RWMOD SDMMC_DCTRL_RWMOD_Msk
12843#define SDMMC_DCTRL_SDIOEN_Pos (11U)
12844#define SDMMC_DCTRL_SDIOEN_Msk (0x1UL << SDMMC_DCTRL_SDIOEN_Pos)
12845#define SDMMC_DCTRL_SDIOEN SDMMC_DCTRL_SDIOEN_Msk
12847/****************** Bit definition for SDMMC_DCOUNT register *****************/
12848#define SDMMC_DCOUNT_DATACOUNT_Pos (0U)
12849#define SDMMC_DCOUNT_DATACOUNT_Msk (0x1FFFFFFUL << SDMMC_DCOUNT_DATACOUNT_Pos)
12850#define SDMMC_DCOUNT_DATACOUNT SDMMC_DCOUNT_DATACOUNT_Msk
12852/****************** Bit definition for SDMMC_STA registe ********************/
12853#define SDMMC_STA_CCRCFAIL_Pos (0U)
12854#define SDMMC_STA_CCRCFAIL_Msk (0x1UL << SDMMC_STA_CCRCFAIL_Pos)
12855#define SDMMC_STA_CCRCFAIL SDMMC_STA_CCRCFAIL_Msk
12856#define SDMMC_STA_DCRCFAIL_Pos (1U)
12857#define SDMMC_STA_DCRCFAIL_Msk (0x1UL << SDMMC_STA_DCRCFAIL_Pos)
12858#define SDMMC_STA_DCRCFAIL SDMMC_STA_DCRCFAIL_Msk
12859#define SDMMC_STA_CTIMEOUT_Pos (2U)
12860#define SDMMC_STA_CTIMEOUT_Msk (0x1UL << SDMMC_STA_CTIMEOUT_Pos)
12861#define SDMMC_STA_CTIMEOUT SDMMC_STA_CTIMEOUT_Msk
12862#define SDMMC_STA_DTIMEOUT_Pos (3U)
12863#define SDMMC_STA_DTIMEOUT_Msk (0x1UL << SDMMC_STA_DTIMEOUT_Pos)
12864#define SDMMC_STA_DTIMEOUT SDMMC_STA_DTIMEOUT_Msk
12865#define SDMMC_STA_TXUNDERR_Pos (4U)
12866#define SDMMC_STA_TXUNDERR_Msk (0x1UL << SDMMC_STA_TXUNDERR_Pos)
12867#define SDMMC_STA_TXUNDERR SDMMC_STA_TXUNDERR_Msk
12868#define SDMMC_STA_RXOVERR_Pos (5U)
12869#define SDMMC_STA_RXOVERR_Msk (0x1UL << SDMMC_STA_RXOVERR_Pos)
12870#define SDMMC_STA_RXOVERR SDMMC_STA_RXOVERR_Msk
12871#define SDMMC_STA_CMDREND_Pos (6U)
12872#define SDMMC_STA_CMDREND_Msk (0x1UL << SDMMC_STA_CMDREND_Pos)
12873#define SDMMC_STA_CMDREND SDMMC_STA_CMDREND_Msk
12874#define SDMMC_STA_CMDSENT_Pos (7U)
12875#define SDMMC_STA_CMDSENT_Msk (0x1UL << SDMMC_STA_CMDSENT_Pos)
12876#define SDMMC_STA_CMDSENT SDMMC_STA_CMDSENT_Msk
12877#define SDMMC_STA_DATAEND_Pos (8U)
12878#define SDMMC_STA_DATAEND_Msk (0x1UL << SDMMC_STA_DATAEND_Pos)
12879#define SDMMC_STA_DATAEND SDMMC_STA_DATAEND_Msk
12880#define SDMMC_STA_DBCKEND_Pos (10U)
12881#define SDMMC_STA_DBCKEND_Msk (0x1UL << SDMMC_STA_DBCKEND_Pos)
12882#define SDMMC_STA_DBCKEND SDMMC_STA_DBCKEND_Msk
12883#define SDMMC_STA_CMDACT_Pos (11U)
12884#define SDMMC_STA_CMDACT_Msk (0x1UL << SDMMC_STA_CMDACT_Pos)
12885#define SDMMC_STA_CMDACT SDMMC_STA_CMDACT_Msk
12886#define SDMMC_STA_TXACT_Pos (12U)
12887#define SDMMC_STA_TXACT_Msk (0x1UL << SDMMC_STA_TXACT_Pos)
12888#define SDMMC_STA_TXACT SDMMC_STA_TXACT_Msk
12889#define SDMMC_STA_RXACT_Pos (13U)
12890#define SDMMC_STA_RXACT_Msk (0x1UL << SDMMC_STA_RXACT_Pos)
12891#define SDMMC_STA_RXACT SDMMC_STA_RXACT_Msk
12892#define SDMMC_STA_TXFIFOHE_Pos (14U)
12893#define SDMMC_STA_TXFIFOHE_Msk (0x1UL << SDMMC_STA_TXFIFOHE_Pos)
12894#define SDMMC_STA_TXFIFOHE SDMMC_STA_TXFIFOHE_Msk
12895#define SDMMC_STA_RXFIFOHF_Pos (15U)
12896#define SDMMC_STA_RXFIFOHF_Msk (0x1UL << SDMMC_STA_RXFIFOHF_Pos)
12897#define SDMMC_STA_RXFIFOHF SDMMC_STA_RXFIFOHF_Msk
12898#define SDMMC_STA_TXFIFOF_Pos (16U)
12899#define SDMMC_STA_TXFIFOF_Msk (0x1UL << SDMMC_STA_TXFIFOF_Pos)
12900#define SDMMC_STA_TXFIFOF SDMMC_STA_TXFIFOF_Msk
12901#define SDMMC_STA_RXFIFOF_Pos (17U)
12902#define SDMMC_STA_RXFIFOF_Msk (0x1UL << SDMMC_STA_RXFIFOF_Pos)
12903#define SDMMC_STA_RXFIFOF SDMMC_STA_RXFIFOF_Msk
12904#define SDMMC_STA_TXFIFOE_Pos (18U)
12905#define SDMMC_STA_TXFIFOE_Msk (0x1UL << SDMMC_STA_TXFIFOE_Pos)
12906#define SDMMC_STA_TXFIFOE SDMMC_STA_TXFIFOE_Msk
12907#define SDMMC_STA_RXFIFOE_Pos (19U)
12908#define SDMMC_STA_RXFIFOE_Msk (0x1UL << SDMMC_STA_RXFIFOE_Pos)
12909#define SDMMC_STA_RXFIFOE SDMMC_STA_RXFIFOE_Msk
12910#define SDMMC_STA_TXDAVL_Pos (20U)
12911#define SDMMC_STA_TXDAVL_Msk (0x1UL << SDMMC_STA_TXDAVL_Pos)
12912#define SDMMC_STA_TXDAVL SDMMC_STA_TXDAVL_Msk
12913#define SDMMC_STA_RXDAVL_Pos (21U)
12914#define SDMMC_STA_RXDAVL_Msk (0x1UL << SDMMC_STA_RXDAVL_Pos)
12915#define SDMMC_STA_RXDAVL SDMMC_STA_RXDAVL_Msk
12916#define SDMMC_STA_SDIOIT_Pos (22U)
12917#define SDMMC_STA_SDIOIT_Msk (0x1UL << SDMMC_STA_SDIOIT_Pos)
12918#define SDMMC_STA_SDIOIT SDMMC_STA_SDIOIT_Msk
12920/******************* Bit definition for SDMMC_ICR register *******************/
12921#define SDMMC_ICR_CCRCFAILC_Pos (0U)
12922#define SDMMC_ICR_CCRCFAILC_Msk (0x1UL << SDMMC_ICR_CCRCFAILC_Pos)
12923#define SDMMC_ICR_CCRCFAILC SDMMC_ICR_CCRCFAILC_Msk
12924#define SDMMC_ICR_DCRCFAILC_Pos (1U)
12925#define SDMMC_ICR_DCRCFAILC_Msk (0x1UL << SDMMC_ICR_DCRCFAILC_Pos)
12926#define SDMMC_ICR_DCRCFAILC SDMMC_ICR_DCRCFAILC_Msk
12927#define SDMMC_ICR_CTIMEOUTC_Pos (2U)
12928#define SDMMC_ICR_CTIMEOUTC_Msk (0x1UL << SDMMC_ICR_CTIMEOUTC_Pos)
12929#define SDMMC_ICR_CTIMEOUTC SDMMC_ICR_CTIMEOUTC_Msk
12930#define SDMMC_ICR_DTIMEOUTC_Pos (3U)
12931#define SDMMC_ICR_DTIMEOUTC_Msk (0x1UL << SDMMC_ICR_DTIMEOUTC_Pos)
12932#define SDMMC_ICR_DTIMEOUTC SDMMC_ICR_DTIMEOUTC_Msk
12933#define SDMMC_ICR_TXUNDERRC_Pos (4U)
12934#define SDMMC_ICR_TXUNDERRC_Msk (0x1UL << SDMMC_ICR_TXUNDERRC_Pos)
12935#define SDMMC_ICR_TXUNDERRC SDMMC_ICR_TXUNDERRC_Msk
12936#define SDMMC_ICR_RXOVERRC_Pos (5U)
12937#define SDMMC_ICR_RXOVERRC_Msk (0x1UL << SDMMC_ICR_RXOVERRC_Pos)
12938#define SDMMC_ICR_RXOVERRC SDMMC_ICR_RXOVERRC_Msk
12939#define SDMMC_ICR_CMDRENDC_Pos (6U)
12940#define SDMMC_ICR_CMDRENDC_Msk (0x1UL << SDMMC_ICR_CMDRENDC_Pos)
12941#define SDMMC_ICR_CMDRENDC SDMMC_ICR_CMDRENDC_Msk
12942#define SDMMC_ICR_CMDSENTC_Pos (7U)
12943#define SDMMC_ICR_CMDSENTC_Msk (0x1UL << SDMMC_ICR_CMDSENTC_Pos)
12944#define SDMMC_ICR_CMDSENTC SDMMC_ICR_CMDSENTC_Msk
12945#define SDMMC_ICR_DATAENDC_Pos (8U)
12946#define SDMMC_ICR_DATAENDC_Msk (0x1UL << SDMMC_ICR_DATAENDC_Pos)
12947#define SDMMC_ICR_DATAENDC SDMMC_ICR_DATAENDC_Msk
12948#define SDMMC_ICR_DBCKENDC_Pos (10U)
12949#define SDMMC_ICR_DBCKENDC_Msk (0x1UL << SDMMC_ICR_DBCKENDC_Pos)
12950#define SDMMC_ICR_DBCKENDC SDMMC_ICR_DBCKENDC_Msk
12951#define SDMMC_ICR_SDIOITC_Pos (22U)
12952#define SDMMC_ICR_SDIOITC_Msk (0x1UL << SDMMC_ICR_SDIOITC_Pos)
12953#define SDMMC_ICR_SDIOITC SDMMC_ICR_SDIOITC_Msk
12955/****************** Bit definition for SDMMC_MASK register *******************/
12956#define SDMMC_MASK_CCRCFAILIE_Pos (0U)
12957#define SDMMC_MASK_CCRCFAILIE_Msk (0x1UL << SDMMC_MASK_CCRCFAILIE_Pos)
12958#define SDMMC_MASK_CCRCFAILIE SDMMC_MASK_CCRCFAILIE_Msk
12959#define SDMMC_MASK_DCRCFAILIE_Pos (1U)
12960#define SDMMC_MASK_DCRCFAILIE_Msk (0x1UL << SDMMC_MASK_DCRCFAILIE_Pos)
12961#define SDMMC_MASK_DCRCFAILIE SDMMC_MASK_DCRCFAILIE_Msk
12962#define SDMMC_MASK_CTIMEOUTIE_Pos (2U)
12963#define SDMMC_MASK_CTIMEOUTIE_Msk (0x1UL << SDMMC_MASK_CTIMEOUTIE_Pos)
12964#define SDMMC_MASK_CTIMEOUTIE SDMMC_MASK_CTIMEOUTIE_Msk
12965#define SDMMC_MASK_DTIMEOUTIE_Pos (3U)
12966#define SDMMC_MASK_DTIMEOUTIE_Msk (0x1UL << SDMMC_MASK_DTIMEOUTIE_Pos)
12967#define SDMMC_MASK_DTIMEOUTIE SDMMC_MASK_DTIMEOUTIE_Msk
12968#define SDMMC_MASK_TXUNDERRIE_Pos (4U)
12969#define SDMMC_MASK_TXUNDERRIE_Msk (0x1UL << SDMMC_MASK_TXUNDERRIE_Pos)
12970#define SDMMC_MASK_TXUNDERRIE SDMMC_MASK_TXUNDERRIE_Msk
12971#define SDMMC_MASK_RXOVERRIE_Pos (5U)
12972#define SDMMC_MASK_RXOVERRIE_Msk (0x1UL << SDMMC_MASK_RXOVERRIE_Pos)
12973#define SDMMC_MASK_RXOVERRIE SDMMC_MASK_RXOVERRIE_Msk
12974#define SDMMC_MASK_CMDRENDIE_Pos (6U)
12975#define SDMMC_MASK_CMDRENDIE_Msk (0x1UL << SDMMC_MASK_CMDRENDIE_Pos)
12976#define SDMMC_MASK_CMDRENDIE SDMMC_MASK_CMDRENDIE_Msk
12977#define SDMMC_MASK_CMDSENTIE_Pos (7U)
12978#define SDMMC_MASK_CMDSENTIE_Msk (0x1UL << SDMMC_MASK_CMDSENTIE_Pos)
12979#define SDMMC_MASK_CMDSENTIE SDMMC_MASK_CMDSENTIE_Msk
12980#define SDMMC_MASK_DATAENDIE_Pos (8U)
12981#define SDMMC_MASK_DATAENDIE_Msk (0x1UL << SDMMC_MASK_DATAENDIE_Pos)
12982#define SDMMC_MASK_DATAENDIE SDMMC_MASK_DATAENDIE_Msk
12983#define SDMMC_MASK_DBCKENDIE_Pos (10U)
12984#define SDMMC_MASK_DBCKENDIE_Msk (0x1UL << SDMMC_MASK_DBCKENDIE_Pos)
12985#define SDMMC_MASK_DBCKENDIE SDMMC_MASK_DBCKENDIE_Msk
12986#define SDMMC_MASK_CMDACTIE_Pos (11U)
12987#define SDMMC_MASK_CMDACTIE_Msk (0x1UL << SDMMC_MASK_CMDACTIE_Pos)
12988#define SDMMC_MASK_CMDACTIE SDMMC_MASK_CMDACTIE_Msk
12989#define SDMMC_MASK_TXACTIE_Pos (12U)
12990#define SDMMC_MASK_TXACTIE_Msk (0x1UL << SDMMC_MASK_TXACTIE_Pos)
12991#define SDMMC_MASK_TXACTIE SDMMC_MASK_TXACTIE_Msk
12992#define SDMMC_MASK_RXACTIE_Pos (13U)
12993#define SDMMC_MASK_RXACTIE_Msk (0x1UL << SDMMC_MASK_RXACTIE_Pos)
12994#define SDMMC_MASK_RXACTIE SDMMC_MASK_RXACTIE_Msk
12995#define SDMMC_MASK_TXFIFOHEIE_Pos (14U)
12996#define SDMMC_MASK_TXFIFOHEIE_Msk (0x1UL << SDMMC_MASK_TXFIFOHEIE_Pos)
12997#define SDMMC_MASK_TXFIFOHEIE SDMMC_MASK_TXFIFOHEIE_Msk
12998#define SDMMC_MASK_RXFIFOHFIE_Pos (15U)
12999#define SDMMC_MASK_RXFIFOHFIE_Msk (0x1UL << SDMMC_MASK_RXFIFOHFIE_Pos)
13000#define SDMMC_MASK_RXFIFOHFIE SDMMC_MASK_RXFIFOHFIE_Msk
13001#define SDMMC_MASK_TXFIFOFIE_Pos (16U)
13002#define SDMMC_MASK_TXFIFOFIE_Msk (0x1UL << SDMMC_MASK_TXFIFOFIE_Pos)
13003#define SDMMC_MASK_TXFIFOFIE SDMMC_MASK_TXFIFOFIE_Msk
13004#define SDMMC_MASK_RXFIFOFIE_Pos (17U)
13005#define SDMMC_MASK_RXFIFOFIE_Msk (0x1UL << SDMMC_MASK_RXFIFOFIE_Pos)
13006#define SDMMC_MASK_RXFIFOFIE SDMMC_MASK_RXFIFOFIE_Msk
13007#define SDMMC_MASK_TXFIFOEIE_Pos (18U)
13008#define SDMMC_MASK_TXFIFOEIE_Msk (0x1UL << SDMMC_MASK_TXFIFOEIE_Pos)
13009#define SDMMC_MASK_TXFIFOEIE SDMMC_MASK_TXFIFOEIE_Msk
13010#define SDMMC_MASK_RXFIFOEIE_Pos (19U)
13011#define SDMMC_MASK_RXFIFOEIE_Msk (0x1UL << SDMMC_MASK_RXFIFOEIE_Pos)
13012#define SDMMC_MASK_RXFIFOEIE SDMMC_MASK_RXFIFOEIE_Msk
13013#define SDMMC_MASK_TXDAVLIE_Pos (20U)
13014#define SDMMC_MASK_TXDAVLIE_Msk (0x1UL << SDMMC_MASK_TXDAVLIE_Pos)
13015#define SDMMC_MASK_TXDAVLIE SDMMC_MASK_TXDAVLIE_Msk
13016#define SDMMC_MASK_RXDAVLIE_Pos (21U)
13017#define SDMMC_MASK_RXDAVLIE_Msk (0x1UL << SDMMC_MASK_RXDAVLIE_Pos)
13018#define SDMMC_MASK_RXDAVLIE SDMMC_MASK_RXDAVLIE_Msk
13019#define SDMMC_MASK_SDIOITIE_Pos (22U)
13020#define SDMMC_MASK_SDIOITIE_Msk (0x1UL << SDMMC_MASK_SDIOITIE_Pos)
13021#define SDMMC_MASK_SDIOITIE SDMMC_MASK_SDIOITIE_Msk
13023/***************** Bit definition for SDMMC_FIFOCNT register *****************/
13024#define SDMMC_FIFOCNT_FIFOCOUNT_Pos (0U)
13025#define SDMMC_FIFOCNT_FIFOCOUNT_Msk (0xFFFFFFUL << SDMMC_FIFOCNT_FIFOCOUNT_Pos)
13026#define SDMMC_FIFOCNT_FIFOCOUNT SDMMC_FIFOCNT_FIFOCOUNT_Msk
13028/****************** Bit definition for SDMMC_FIFO register *******************/
13029#define SDMMC_FIFO_FIFODATA_Pos (0U)
13030#define SDMMC_FIFO_FIFODATA_Msk (0xFFFFFFFFUL << SDMMC_FIFO_FIFODATA_Pos)
13031#define SDMMC_FIFO_FIFODATA SDMMC_FIFO_FIFODATA_Msk
13033/******************************************************************************/
13034/* */
13035/* Serial Peripheral Interface (SPI) */
13036/* */
13037/******************************************************************************/
13038/******************* Bit definition for SPI_CR1 register ********************/
13039#define SPI_CR1_CPHA_Pos (0U)
13040#define SPI_CR1_CPHA_Msk (0x1UL << SPI_CR1_CPHA_Pos)
13041#define SPI_CR1_CPHA SPI_CR1_CPHA_Msk
13042#define SPI_CR1_CPOL_Pos (1U)
13043#define SPI_CR1_CPOL_Msk (0x1UL << SPI_CR1_CPOL_Pos)
13044#define SPI_CR1_CPOL SPI_CR1_CPOL_Msk
13045#define SPI_CR1_MSTR_Pos (2U)
13046#define SPI_CR1_MSTR_Msk (0x1UL << SPI_CR1_MSTR_Pos)
13047#define SPI_CR1_MSTR SPI_CR1_MSTR_Msk
13048#define SPI_CR1_BR_Pos (3U)
13049#define SPI_CR1_BR_Msk (0x7UL << SPI_CR1_BR_Pos)
13050#define SPI_CR1_BR SPI_CR1_BR_Msk
13051#define SPI_CR1_BR_0 (0x1UL << SPI_CR1_BR_Pos)
13052#define SPI_CR1_BR_1 (0x2UL << SPI_CR1_BR_Pos)
13053#define SPI_CR1_BR_2 (0x4UL << SPI_CR1_BR_Pos)
13054#define SPI_CR1_SPE_Pos (6U)
13055#define SPI_CR1_SPE_Msk (0x1UL << SPI_CR1_SPE_Pos)
13056#define SPI_CR1_SPE SPI_CR1_SPE_Msk
13057#define SPI_CR1_LSBFIRST_Pos (7U)
13058#define SPI_CR1_LSBFIRST_Msk (0x1UL << SPI_CR1_LSBFIRST_Pos)
13059#define SPI_CR1_LSBFIRST SPI_CR1_LSBFIRST_Msk
13060#define SPI_CR1_SSI_Pos (8U)
13061#define SPI_CR1_SSI_Msk (0x1UL << SPI_CR1_SSI_Pos)
13062#define SPI_CR1_SSI SPI_CR1_SSI_Msk
13063#define SPI_CR1_SSM_Pos (9U)
13064#define SPI_CR1_SSM_Msk (0x1UL << SPI_CR1_SSM_Pos)
13065#define SPI_CR1_SSM SPI_CR1_SSM_Msk
13066#define SPI_CR1_RXONLY_Pos (10U)
13067#define SPI_CR1_RXONLY_Msk (0x1UL << SPI_CR1_RXONLY_Pos)
13068#define SPI_CR1_RXONLY SPI_CR1_RXONLY_Msk
13069#define SPI_CR1_CRCL_Pos (11U)
13070#define SPI_CR1_CRCL_Msk (0x1UL << SPI_CR1_CRCL_Pos)
13071#define SPI_CR1_CRCL SPI_CR1_CRCL_Msk
13072#define SPI_CR1_CRCNEXT_Pos (12U)
13073#define SPI_CR1_CRCNEXT_Msk (0x1UL << SPI_CR1_CRCNEXT_Pos)
13074#define SPI_CR1_CRCNEXT SPI_CR1_CRCNEXT_Msk
13075#define SPI_CR1_CRCEN_Pos (13U)
13076#define SPI_CR1_CRCEN_Msk (0x1UL << SPI_CR1_CRCEN_Pos)
13077#define SPI_CR1_CRCEN SPI_CR1_CRCEN_Msk
13078#define SPI_CR1_BIDIOE_Pos (14U)
13079#define SPI_CR1_BIDIOE_Msk (0x1UL << SPI_CR1_BIDIOE_Pos)
13080#define SPI_CR1_BIDIOE SPI_CR1_BIDIOE_Msk
13081#define SPI_CR1_BIDIMODE_Pos (15U)
13082#define SPI_CR1_BIDIMODE_Msk (0x1UL << SPI_CR1_BIDIMODE_Pos)
13083#define SPI_CR1_BIDIMODE SPI_CR1_BIDIMODE_Msk
13085/******************* Bit definition for SPI_CR2 register ********************/
13086#define SPI_CR2_RXDMAEN_Pos (0U)
13087#define SPI_CR2_RXDMAEN_Msk (0x1UL << SPI_CR2_RXDMAEN_Pos)
13088#define SPI_CR2_RXDMAEN SPI_CR2_RXDMAEN_Msk
13089#define SPI_CR2_TXDMAEN_Pos (1U)
13090#define SPI_CR2_TXDMAEN_Msk (0x1UL << SPI_CR2_TXDMAEN_Pos)
13091#define SPI_CR2_TXDMAEN SPI_CR2_TXDMAEN_Msk
13092#define SPI_CR2_SSOE_Pos (2U)
13093#define SPI_CR2_SSOE_Msk (0x1UL << SPI_CR2_SSOE_Pos)
13094#define SPI_CR2_SSOE SPI_CR2_SSOE_Msk
13095#define SPI_CR2_NSSP_Pos (3U)
13096#define SPI_CR2_NSSP_Msk (0x1UL << SPI_CR2_NSSP_Pos)
13097#define SPI_CR2_NSSP SPI_CR2_NSSP_Msk
13098#define SPI_CR2_FRF_Pos (4U)
13099#define SPI_CR2_FRF_Msk (0x1UL << SPI_CR2_FRF_Pos)
13100#define SPI_CR2_FRF SPI_CR2_FRF_Msk
13101#define SPI_CR2_ERRIE_Pos (5U)
13102#define SPI_CR2_ERRIE_Msk (0x1UL << SPI_CR2_ERRIE_Pos)
13103#define SPI_CR2_ERRIE SPI_CR2_ERRIE_Msk
13104#define SPI_CR2_RXNEIE_Pos (6U)
13105#define SPI_CR2_RXNEIE_Msk (0x1UL << SPI_CR2_RXNEIE_Pos)
13106#define SPI_CR2_RXNEIE SPI_CR2_RXNEIE_Msk
13107#define SPI_CR2_TXEIE_Pos (7U)
13108#define SPI_CR2_TXEIE_Msk (0x1UL << SPI_CR2_TXEIE_Pos)
13109#define SPI_CR2_TXEIE SPI_CR2_TXEIE_Msk
13110#define SPI_CR2_DS_Pos (8U)
13111#define SPI_CR2_DS_Msk (0xFUL << SPI_CR2_DS_Pos)
13112#define SPI_CR2_DS SPI_CR2_DS_Msk
13113#define SPI_CR2_DS_0 (0x1UL << SPI_CR2_DS_Pos)
13114#define SPI_CR2_DS_1 (0x2UL << SPI_CR2_DS_Pos)
13115#define SPI_CR2_DS_2 (0x4UL << SPI_CR2_DS_Pos)
13116#define SPI_CR2_DS_3 (0x8UL << SPI_CR2_DS_Pos)
13117#define SPI_CR2_FRXTH_Pos (12U)
13118#define SPI_CR2_FRXTH_Msk (0x1UL << SPI_CR2_FRXTH_Pos)
13119#define SPI_CR2_FRXTH SPI_CR2_FRXTH_Msk
13120#define SPI_CR2_LDMARX_Pos (13U)
13121#define SPI_CR2_LDMARX_Msk (0x1UL << SPI_CR2_LDMARX_Pos)
13122#define SPI_CR2_LDMARX SPI_CR2_LDMARX_Msk
13123#define SPI_CR2_LDMATX_Pos (14U)
13124#define SPI_CR2_LDMATX_Msk (0x1UL << SPI_CR2_LDMATX_Pos)
13125#define SPI_CR2_LDMATX SPI_CR2_LDMATX_Msk
13127/******************** Bit definition for SPI_SR register ********************/
13128#define SPI_SR_RXNE_Pos (0U)
13129#define SPI_SR_RXNE_Msk (0x1UL << SPI_SR_RXNE_Pos)
13130#define SPI_SR_RXNE SPI_SR_RXNE_Msk
13131#define SPI_SR_TXE_Pos (1U)
13132#define SPI_SR_TXE_Msk (0x1UL << SPI_SR_TXE_Pos)
13133#define SPI_SR_TXE SPI_SR_TXE_Msk
13134#define SPI_SR_CHSIDE_Pos (2U)
13135#define SPI_SR_CHSIDE_Msk (0x1UL << SPI_SR_CHSIDE_Pos)
13136#define SPI_SR_CHSIDE SPI_SR_CHSIDE_Msk
13137#define SPI_SR_UDR_Pos (3U)
13138#define SPI_SR_UDR_Msk (0x1UL << SPI_SR_UDR_Pos)
13139#define SPI_SR_UDR SPI_SR_UDR_Msk
13140#define SPI_SR_CRCERR_Pos (4U)
13141#define SPI_SR_CRCERR_Msk (0x1UL << SPI_SR_CRCERR_Pos)
13142#define SPI_SR_CRCERR SPI_SR_CRCERR_Msk
13143#define SPI_SR_MODF_Pos (5U)
13144#define SPI_SR_MODF_Msk (0x1UL << SPI_SR_MODF_Pos)
13145#define SPI_SR_MODF SPI_SR_MODF_Msk
13146#define SPI_SR_OVR_Pos (6U)
13147#define SPI_SR_OVR_Msk (0x1UL << SPI_SR_OVR_Pos)
13148#define SPI_SR_OVR SPI_SR_OVR_Msk
13149#define SPI_SR_BSY_Pos (7U)
13150#define SPI_SR_BSY_Msk (0x1UL << SPI_SR_BSY_Pos)
13151#define SPI_SR_BSY SPI_SR_BSY_Msk
13152#define SPI_SR_FRE_Pos (8U)
13153#define SPI_SR_FRE_Msk (0x1UL << SPI_SR_FRE_Pos)
13154#define SPI_SR_FRE SPI_SR_FRE_Msk
13155#define SPI_SR_FRLVL_Pos (9U)
13156#define SPI_SR_FRLVL_Msk (0x3UL << SPI_SR_FRLVL_Pos)
13157#define SPI_SR_FRLVL SPI_SR_FRLVL_Msk
13158#define SPI_SR_FRLVL_0 (0x1UL << SPI_SR_FRLVL_Pos)
13159#define SPI_SR_FRLVL_1 (0x2UL << SPI_SR_FRLVL_Pos)
13160#define SPI_SR_FTLVL_Pos (11U)
13161#define SPI_SR_FTLVL_Msk (0x3UL << SPI_SR_FTLVL_Pos)
13162#define SPI_SR_FTLVL SPI_SR_FTLVL_Msk
13163#define SPI_SR_FTLVL_0 (0x1UL << SPI_SR_FTLVL_Pos)
13164#define SPI_SR_FTLVL_1 (0x2UL << SPI_SR_FTLVL_Pos)
13166/******************** Bit definition for SPI_DR register ********************/
13167#define SPI_DR_DR_Pos (0U)
13168#define SPI_DR_DR_Msk (0xFFFFUL << SPI_DR_DR_Pos)
13169#define SPI_DR_DR SPI_DR_DR_Msk
13171/******************* Bit definition for SPI_CRCPR register ******************/
13172#define SPI_CRCPR_CRCPOLY_Pos (0U)
13173#define SPI_CRCPR_CRCPOLY_Msk (0xFFFFUL << SPI_CRCPR_CRCPOLY_Pos)
13174#define SPI_CRCPR_CRCPOLY SPI_CRCPR_CRCPOLY_Msk
13176/****************** Bit definition for SPI_RXCRCR register ******************/
13177#define SPI_RXCRCR_RXCRC_Pos (0U)
13178#define SPI_RXCRCR_RXCRC_Msk (0xFFFFUL << SPI_RXCRCR_RXCRC_Pos)
13179#define SPI_RXCRCR_RXCRC SPI_RXCRCR_RXCRC_Msk
13181/****************** Bit definition for SPI_TXCRCR register ******************/
13182#define SPI_TXCRCR_TXCRC_Pos (0U)
13183#define SPI_TXCRCR_TXCRC_Msk (0xFFFFUL << SPI_TXCRCR_TXCRC_Pos)
13184#define SPI_TXCRCR_TXCRC SPI_TXCRCR_TXCRC_Msk
13186/****************** Bit definition for SPI_I2SCFGR register *****************/
13187#define SPI_I2SCFGR_CHLEN_Pos (0U)
13188#define SPI_I2SCFGR_CHLEN_Msk (0x1UL << SPI_I2SCFGR_CHLEN_Pos)
13189#define SPI_I2SCFGR_CHLEN SPI_I2SCFGR_CHLEN_Msk
13190#define SPI_I2SCFGR_DATLEN_Pos (1U)
13191#define SPI_I2SCFGR_DATLEN_Msk (0x3UL << SPI_I2SCFGR_DATLEN_Pos)
13192#define SPI_I2SCFGR_DATLEN SPI_I2SCFGR_DATLEN_Msk
13193#define SPI_I2SCFGR_DATLEN_0 (0x1UL << SPI_I2SCFGR_DATLEN_Pos)
13194#define SPI_I2SCFGR_DATLEN_1 (0x2UL << SPI_I2SCFGR_DATLEN_Pos)
13195#define SPI_I2SCFGR_CKPOL_Pos (3U)
13196#define SPI_I2SCFGR_CKPOL_Msk (0x1UL << SPI_I2SCFGR_CKPOL_Pos)
13197#define SPI_I2SCFGR_CKPOL SPI_I2SCFGR_CKPOL_Msk
13198#define SPI_I2SCFGR_I2SSTD_Pos (4U)
13199#define SPI_I2SCFGR_I2SSTD_Msk (0x3UL << SPI_I2SCFGR_I2SSTD_Pos)
13200#define SPI_I2SCFGR_I2SSTD SPI_I2SCFGR_I2SSTD_Msk
13201#define SPI_I2SCFGR_I2SSTD_0 (0x1UL << SPI_I2SCFGR_I2SSTD_Pos)
13202#define SPI_I2SCFGR_I2SSTD_1 (0x2UL << SPI_I2SCFGR_I2SSTD_Pos)
13203#define SPI_I2SCFGR_PCMSYNC_Pos (7U)
13204#define SPI_I2SCFGR_PCMSYNC_Msk (0x1UL << SPI_I2SCFGR_PCMSYNC_Pos)
13205#define SPI_I2SCFGR_PCMSYNC SPI_I2SCFGR_PCMSYNC_Msk
13206#define SPI_I2SCFGR_I2SCFG_Pos (8U)
13207#define SPI_I2SCFGR_I2SCFG_Msk (0x3UL << SPI_I2SCFGR_I2SCFG_Pos)
13208#define SPI_I2SCFGR_I2SCFG SPI_I2SCFGR_I2SCFG_Msk
13209#define SPI_I2SCFGR_I2SCFG_0 (0x1UL << SPI_I2SCFGR_I2SCFG_Pos)
13210#define SPI_I2SCFGR_I2SCFG_1 (0x2UL << SPI_I2SCFGR_I2SCFG_Pos)
13211#define SPI_I2SCFGR_I2SE_Pos (10U)
13212#define SPI_I2SCFGR_I2SE_Msk (0x1UL << SPI_I2SCFGR_I2SE_Pos)
13213#define SPI_I2SCFGR_I2SE SPI_I2SCFGR_I2SE_Msk
13214#define SPI_I2SCFGR_I2SMOD_Pos (11U)
13215#define SPI_I2SCFGR_I2SMOD_Msk (0x1UL << SPI_I2SCFGR_I2SMOD_Pos)
13216#define SPI_I2SCFGR_I2SMOD SPI_I2SCFGR_I2SMOD_Msk
13217#define SPI_I2SCFGR_ASTRTEN_Pos (12U)
13218#define SPI_I2SCFGR_ASTRTEN_Msk (0x1UL << SPI_I2SCFGR_ASTRTEN_Pos)
13219#define SPI_I2SCFGR_ASTRTEN SPI_I2SCFGR_ASTRTEN_Msk
13221/****************** Bit definition for SPI_I2SPR register *******************/
13222#define SPI_I2SPR_I2SDIV_Pos (0U)
13223#define SPI_I2SPR_I2SDIV_Msk (0xFFUL << SPI_I2SPR_I2SDIV_Pos)
13224#define SPI_I2SPR_I2SDIV SPI_I2SPR_I2SDIV_Msk
13225#define SPI_I2SPR_ODD_Pos (8U)
13226#define SPI_I2SPR_ODD_Msk (0x1UL << SPI_I2SPR_ODD_Pos)
13227#define SPI_I2SPR_ODD SPI_I2SPR_ODD_Msk
13228#define SPI_I2SPR_MCKOE_Pos (9U)
13229#define SPI_I2SPR_MCKOE_Msk (0x1UL << SPI_I2SPR_MCKOE_Pos)
13230#define SPI_I2SPR_MCKOE SPI_I2SPR_MCKOE_Msk
13233/******************************************************************************/
13234/* */
13235/* SYSCFG */
13236/* */
13237/******************************************************************************/
13238/****************** Bit definition for SYSCFG_MEMRMP register ***************/
13239#define SYSCFG_MEMRMP_MEM_BOOT_Pos (0U)
13240#define SYSCFG_MEMRMP_MEM_BOOT_Msk (0x1UL << SYSCFG_MEMRMP_MEM_BOOT_Pos)
13241#define SYSCFG_MEMRMP_MEM_BOOT SYSCFG_MEMRMP_MEM_BOOT_Msk
13244#define SYSCFG_MEMRMP_SWP_FMC_Pos (10U)
13245#define SYSCFG_MEMRMP_SWP_FMC_Msk (0x3UL << SYSCFG_MEMRMP_SWP_FMC_Pos)
13246#define SYSCFG_MEMRMP_SWP_FMC SYSCFG_MEMRMP_SWP_FMC_Msk
13247#define SYSCFG_MEMRMP_SWP_FMC_0 (0x1UL << SYSCFG_MEMRMP_SWP_FMC_Pos)
13248#define SYSCFG_MEMRMP_SWP_FMC_1 (0x2UL << SYSCFG_MEMRMP_SWP_FMC_Pos)
13250/****************** Bit definition for SYSCFG_PMC register ******************/
13251#define SYSCFG_PMC_I2C1_FMP_Pos (0U)
13252#define SYSCFG_PMC_I2C1_FMP_Msk (0x1UL << SYSCFG_PMC_I2C1_FMP_Pos)
13253#define SYSCFG_PMC_I2C1_FMP SYSCFG_PMC_I2C1_FMP_Msk
13254#define SYSCFG_PMC_I2C2_FMP_Pos (1U)
13255#define SYSCFG_PMC_I2C2_FMP_Msk (0x1UL << SYSCFG_PMC_I2C2_FMP_Pos)
13256#define SYSCFG_PMC_I2C2_FMP SYSCFG_PMC_I2C2_FMP_Msk
13257#define SYSCFG_PMC_I2C3_FMP_Pos (2U)
13258#define SYSCFG_PMC_I2C3_FMP_Msk (0x1UL << SYSCFG_PMC_I2C3_FMP_Pos)
13259#define SYSCFG_PMC_I2C3_FMP SYSCFG_PMC_I2C3_FMP_Msk
13260#define SYSCFG_PMC_I2C4_FMP_Pos (3U)
13261#define SYSCFG_PMC_I2C4_FMP_Msk (0x1UL << SYSCFG_PMC_I2C4_FMP_Pos)
13262#define SYSCFG_PMC_I2C4_FMP SYSCFG_PMC_I2C4_FMP_Msk
13263#define SYSCFG_PMC_I2C_PB6_FMP_Pos (4U)
13264#define SYSCFG_PMC_I2C_PB6_FMP_Msk (0x1UL << SYSCFG_PMC_I2C_PB6_FMP_Pos)
13265#define SYSCFG_PMC_I2C_PB6_FMP SYSCFG_PMC_I2C_PB6_FMP_Msk
13266#define SYSCFG_PMC_I2C_PB7_FMP_Pos (5U)
13267#define SYSCFG_PMC_I2C_PB7_FMP_Msk (0x1UL << SYSCFG_PMC_I2C_PB7_FMP_Pos)
13268#define SYSCFG_PMC_I2C_PB7_FMP SYSCFG_PMC_I2C_PB7_FMP_Msk
13269#define SYSCFG_PMC_I2C_PB8_FMP_Pos (6U)
13270#define SYSCFG_PMC_I2C_PB8_FMP_Msk (0x1UL << SYSCFG_PMC_I2C_PB8_FMP_Pos)
13271#define SYSCFG_PMC_I2C_PB8_FMP SYSCFG_PMC_I2C_PB8_FMP_Msk
13272#define SYSCFG_PMC_I2C_PB9_FMP_Pos (7U)
13273#define SYSCFG_PMC_I2C_PB9_FMP_Msk (0x1UL << SYSCFG_PMC_I2C_PB9_FMP_Pos)
13274#define SYSCFG_PMC_I2C_PB9_FMP SYSCFG_PMC_I2C_PB9_FMP_Msk
13276#define SYSCFG_PMC_ADCxDC2_Pos (16U)
13277#define SYSCFG_PMC_ADCxDC2_Msk (0x7UL << SYSCFG_PMC_ADCxDC2_Pos)
13278#define SYSCFG_PMC_ADCxDC2 SYSCFG_PMC_ADCxDC2_Msk
13279#define SYSCFG_PMC_ADC1DC2_Pos (16U)
13280#define SYSCFG_PMC_ADC1DC2_Msk (0x1UL << SYSCFG_PMC_ADC1DC2_Pos)
13281#define SYSCFG_PMC_ADC1DC2 SYSCFG_PMC_ADC1DC2_Msk
13282#define SYSCFG_PMC_ADC2DC2_Pos (17U)
13283#define SYSCFG_PMC_ADC2DC2_Msk (0x1UL << SYSCFG_PMC_ADC2DC2_Pos)
13284#define SYSCFG_PMC_ADC2DC2 SYSCFG_PMC_ADC2DC2_Msk
13285#define SYSCFG_PMC_ADC3DC2_Pos (18U)
13286#define SYSCFG_PMC_ADC3DC2_Msk (0x1UL << SYSCFG_PMC_ADC3DC2_Pos)
13287#define SYSCFG_PMC_ADC3DC2 SYSCFG_PMC_ADC3DC2_Msk
13289#define SYSCFG_PMC_MII_RMII_SEL_Pos (23U)
13290#define SYSCFG_PMC_MII_RMII_SEL_Msk (0x1UL << SYSCFG_PMC_MII_RMII_SEL_Pos)
13291#define SYSCFG_PMC_MII_RMII_SEL SYSCFG_PMC_MII_RMII_SEL_Msk
13293/***************** Bit definition for SYSCFG_EXTICR1 register ***************/
13294#define SYSCFG_EXTICR1_EXTI0_Pos (0U)
13295#define SYSCFG_EXTICR1_EXTI0_Msk (0xFUL << SYSCFG_EXTICR1_EXTI0_Pos)
13296#define SYSCFG_EXTICR1_EXTI0 SYSCFG_EXTICR1_EXTI0_Msk
13297#define SYSCFG_EXTICR1_EXTI1_Pos (4U)
13298#define SYSCFG_EXTICR1_EXTI1_Msk (0xFUL << SYSCFG_EXTICR1_EXTI1_Pos)
13299#define SYSCFG_EXTICR1_EXTI1 SYSCFG_EXTICR1_EXTI1_Msk
13300#define SYSCFG_EXTICR1_EXTI2_Pos (8U)
13301#define SYSCFG_EXTICR1_EXTI2_Msk (0xFUL << SYSCFG_EXTICR1_EXTI2_Pos)
13302#define SYSCFG_EXTICR1_EXTI2 SYSCFG_EXTICR1_EXTI2_Msk
13303#define SYSCFG_EXTICR1_EXTI3_Pos (12U)
13304#define SYSCFG_EXTICR1_EXTI3_Msk (0xFUL << SYSCFG_EXTICR1_EXTI3_Pos)
13305#define SYSCFG_EXTICR1_EXTI3 SYSCFG_EXTICR1_EXTI3_Msk
13309#define SYSCFG_EXTICR1_EXTI0_PA 0x0000U
13310#define SYSCFG_EXTICR1_EXTI0_PB 0x0001U
13311#define SYSCFG_EXTICR1_EXTI0_PC 0x0002U
13312#define SYSCFG_EXTICR1_EXTI0_PD 0x0003U
13313#define SYSCFG_EXTICR1_EXTI0_PE 0x0004U
13314#define SYSCFG_EXTICR1_EXTI0_PF 0x0005U
13315#define SYSCFG_EXTICR1_EXTI0_PG 0x0006U
13316#define SYSCFG_EXTICR1_EXTI0_PH 0x0007U
13317#define SYSCFG_EXTICR1_EXTI0_PI 0x0008U
13318#define SYSCFG_EXTICR1_EXTI0_PJ 0x0009U
13319#define SYSCFG_EXTICR1_EXTI0_PK 0x000AU
13324#define SYSCFG_EXTICR1_EXTI1_PA 0x0000U
13325#define SYSCFG_EXTICR1_EXTI1_PB 0x0010U
13326#define SYSCFG_EXTICR1_EXTI1_PC 0x0020U
13327#define SYSCFG_EXTICR1_EXTI1_PD 0x0030U
13328#define SYSCFG_EXTICR1_EXTI1_PE 0x0040U
13329#define SYSCFG_EXTICR1_EXTI1_PF 0x0050U
13330#define SYSCFG_EXTICR1_EXTI1_PG 0x0060U
13331#define SYSCFG_EXTICR1_EXTI1_PH 0x0070U
13332#define SYSCFG_EXTICR1_EXTI1_PI 0x0080U
13333#define SYSCFG_EXTICR1_EXTI1_PJ 0x0090U
13334#define SYSCFG_EXTICR1_EXTI1_PK 0x00A0U
13339#define SYSCFG_EXTICR1_EXTI2_PA 0x0000U
13340#define SYSCFG_EXTICR1_EXTI2_PB 0x0100U
13341#define SYSCFG_EXTICR1_EXTI2_PC 0x0200U
13342#define SYSCFG_EXTICR1_EXTI2_PD 0x0300U
13343#define SYSCFG_EXTICR1_EXTI2_PE 0x0400U
13344#define SYSCFG_EXTICR1_EXTI2_PF 0x0500U
13345#define SYSCFG_EXTICR1_EXTI2_PG 0x0600U
13346#define SYSCFG_EXTICR1_EXTI2_PH 0x0700U
13347#define SYSCFG_EXTICR1_EXTI2_PI 0x0800U
13348#define SYSCFG_EXTICR1_EXTI2_PJ 0x0900U
13349#define SYSCFG_EXTICR1_EXTI2_PK 0x0A00U
13354#define SYSCFG_EXTICR1_EXTI3_PA 0x0000U
13355#define SYSCFG_EXTICR1_EXTI3_PB 0x1000U
13356#define SYSCFG_EXTICR1_EXTI3_PC 0x2000U
13357#define SYSCFG_EXTICR1_EXTI3_PD 0x3000U
13358#define SYSCFG_EXTICR1_EXTI3_PE 0x4000U
13359#define SYSCFG_EXTICR1_EXTI3_PF 0x5000U
13360#define SYSCFG_EXTICR1_EXTI3_PG 0x6000U
13361#define SYSCFG_EXTICR1_EXTI3_PH 0x7000U
13362#define SYSCFG_EXTICR1_EXTI3_PI 0x8000U
13363#define SYSCFG_EXTICR1_EXTI3_PJ 0x9000U
13364#define SYSCFG_EXTICR1_EXTI3_PK 0xA000U
13366/***************** Bit definition for SYSCFG_EXTICR2 register ***************/
13367#define SYSCFG_EXTICR2_EXTI4_Pos (0U)
13368#define SYSCFG_EXTICR2_EXTI4_Msk (0xFUL << SYSCFG_EXTICR2_EXTI4_Pos)
13369#define SYSCFG_EXTICR2_EXTI4 SYSCFG_EXTICR2_EXTI4_Msk
13370#define SYSCFG_EXTICR2_EXTI5_Pos (4U)
13371#define SYSCFG_EXTICR2_EXTI5_Msk (0xFUL << SYSCFG_EXTICR2_EXTI5_Pos)
13372#define SYSCFG_EXTICR2_EXTI5 SYSCFG_EXTICR2_EXTI5_Msk
13373#define SYSCFG_EXTICR2_EXTI6_Pos (8U)
13374#define SYSCFG_EXTICR2_EXTI6_Msk (0xFUL << SYSCFG_EXTICR2_EXTI6_Pos)
13375#define SYSCFG_EXTICR2_EXTI6 SYSCFG_EXTICR2_EXTI6_Msk
13376#define SYSCFG_EXTICR2_EXTI7_Pos (12U)
13377#define SYSCFG_EXTICR2_EXTI7_Msk (0xFUL << SYSCFG_EXTICR2_EXTI7_Pos)
13378#define SYSCFG_EXTICR2_EXTI7 SYSCFG_EXTICR2_EXTI7_Msk
13382#define SYSCFG_EXTICR2_EXTI4_PA 0x0000U
13383#define SYSCFG_EXTICR2_EXTI4_PB 0x0001U
13384#define SYSCFG_EXTICR2_EXTI4_PC 0x0002U
13385#define SYSCFG_EXTICR2_EXTI4_PD 0x0003U
13386#define SYSCFG_EXTICR2_EXTI4_PE 0x0004U
13387#define SYSCFG_EXTICR2_EXTI4_PF 0x0005U
13388#define SYSCFG_EXTICR2_EXTI4_PG 0x0006U
13389#define SYSCFG_EXTICR2_EXTI4_PH 0x0007U
13390#define SYSCFG_EXTICR2_EXTI4_PI 0x0008U
13391#define SYSCFG_EXTICR2_EXTI4_PJ 0x0009U
13392#define SYSCFG_EXTICR2_EXTI4_PK 0x000AU
13397#define SYSCFG_EXTICR2_EXTI5_PA 0x0000U
13398#define SYSCFG_EXTICR2_EXTI5_PB 0x0010U
13399#define SYSCFG_EXTICR2_EXTI5_PC 0x0020U
13400#define SYSCFG_EXTICR2_EXTI5_PD 0x0030U
13401#define SYSCFG_EXTICR2_EXTI5_PE 0x0040U
13402#define SYSCFG_EXTICR2_EXTI5_PF 0x0050U
13403#define SYSCFG_EXTICR2_EXTI5_PG 0x0060U
13404#define SYSCFG_EXTICR2_EXTI5_PH 0x0070U
13405#define SYSCFG_EXTICR2_EXTI5_PI 0x0080U
13406#define SYSCFG_EXTICR2_EXTI5_PJ 0x0090U
13407#define SYSCFG_EXTICR2_EXTI5_PK 0x00A0U
13412#define SYSCFG_EXTICR2_EXTI6_PA 0x0000U
13413#define SYSCFG_EXTICR2_EXTI6_PB 0x0100U
13414#define SYSCFG_EXTICR2_EXTI6_PC 0x0200U
13415#define SYSCFG_EXTICR2_EXTI6_PD 0x0300U
13416#define SYSCFG_EXTICR2_EXTI6_PE 0x0400U
13417#define SYSCFG_EXTICR2_EXTI6_PF 0x0500U
13418#define SYSCFG_EXTICR2_EXTI6_PG 0x0600U
13419#define SYSCFG_EXTICR2_EXTI6_PH 0x0700U
13420#define SYSCFG_EXTICR2_EXTI6_PI 0x0800U
13421#define SYSCFG_EXTICR2_EXTI6_PJ 0x0900U
13422#define SYSCFG_EXTICR2_EXTI6_PK 0x0A00U
13427#define SYSCFG_EXTICR2_EXTI7_PA 0x0000U
13428#define SYSCFG_EXTICR2_EXTI7_PB 0x1000U
13429#define SYSCFG_EXTICR2_EXTI7_PC 0x2000U
13430#define SYSCFG_EXTICR2_EXTI7_PD 0x3000U
13431#define SYSCFG_EXTICR2_EXTI7_PE 0x4000U
13432#define SYSCFG_EXTICR2_EXTI7_PF 0x5000U
13433#define SYSCFG_EXTICR2_EXTI7_PG 0x6000U
13434#define SYSCFG_EXTICR2_EXTI7_PH 0x7000U
13435#define SYSCFG_EXTICR2_EXTI7_PI 0x8000U
13436#define SYSCFG_EXTICR2_EXTI7_PJ 0x9000U
13437#define SYSCFG_EXTICR2_EXTI7_PK 0xA000U
13439/***************** Bit definition for SYSCFG_EXTICR3 register ***************/
13440#define SYSCFG_EXTICR3_EXTI8_Pos (0U)
13441#define SYSCFG_EXTICR3_EXTI8_Msk (0xFUL << SYSCFG_EXTICR3_EXTI8_Pos)
13442#define SYSCFG_EXTICR3_EXTI8 SYSCFG_EXTICR3_EXTI8_Msk
13443#define SYSCFG_EXTICR3_EXTI9_Pos (4U)
13444#define SYSCFG_EXTICR3_EXTI9_Msk (0xFUL << SYSCFG_EXTICR3_EXTI9_Pos)
13445#define SYSCFG_EXTICR3_EXTI9 SYSCFG_EXTICR3_EXTI9_Msk
13446#define SYSCFG_EXTICR3_EXTI10_Pos (8U)
13447#define SYSCFG_EXTICR3_EXTI10_Msk (0xFUL << SYSCFG_EXTICR3_EXTI10_Pos)
13448#define SYSCFG_EXTICR3_EXTI10 SYSCFG_EXTICR3_EXTI10_Msk
13449#define SYSCFG_EXTICR3_EXTI11_Pos (12U)
13450#define SYSCFG_EXTICR3_EXTI11_Msk (0xFUL << SYSCFG_EXTICR3_EXTI11_Pos)
13451#define SYSCFG_EXTICR3_EXTI11 SYSCFG_EXTICR3_EXTI11_Msk
13456#define SYSCFG_EXTICR3_EXTI8_PA 0x0000U
13457#define SYSCFG_EXTICR3_EXTI8_PB 0x0001U
13458#define SYSCFG_EXTICR3_EXTI8_PC 0x0002U
13459#define SYSCFG_EXTICR3_EXTI8_PD 0x0003U
13460#define SYSCFG_EXTICR3_EXTI8_PE 0x0004U
13461#define SYSCFG_EXTICR3_EXTI8_PF 0x0005U
13462#define SYSCFG_EXTICR3_EXTI8_PG 0x0006U
13463#define SYSCFG_EXTICR3_EXTI8_PH 0x0007U
13464#define SYSCFG_EXTICR3_EXTI8_PI 0x0008U
13465#define SYSCFG_EXTICR3_EXTI8_PJ 0x0009U
13470#define SYSCFG_EXTICR3_EXTI9_PA 0x0000U
13471#define SYSCFG_EXTICR3_EXTI9_PB 0x0010U
13472#define SYSCFG_EXTICR3_EXTI9_PC 0x0020U
13473#define SYSCFG_EXTICR3_EXTI9_PD 0x0030U
13474#define SYSCFG_EXTICR3_EXTI9_PE 0x0040U
13475#define SYSCFG_EXTICR3_EXTI9_PF 0x0050U
13476#define SYSCFG_EXTICR3_EXTI9_PG 0x0060U
13477#define SYSCFG_EXTICR3_EXTI9_PH 0x0070U
13478#define SYSCFG_EXTICR3_EXTI9_PI 0x0080U
13479#define SYSCFG_EXTICR3_EXTI9_PJ 0x0090U
13484#define SYSCFG_EXTICR3_EXTI10_PA 0x0000U
13485#define SYSCFG_EXTICR3_EXTI10_PB 0x0100U
13486#define SYSCFG_EXTICR3_EXTI10_PC 0x0200U
13487#define SYSCFG_EXTICR3_EXTI10_PD 0x0300U
13488#define SYSCFG_EXTICR3_EXTI10_PE 0x0400U
13489#define SYSCFG_EXTICR3_EXTI10_PF 0x0500U
13490#define SYSCFG_EXTICR3_EXTI10_PG 0x0600U
13491#define SYSCFG_EXTICR3_EXTI10_PH 0x0700U
13492#define SYSCFG_EXTICR3_EXTI10_PI 0x0800U
13493#define SYSCFG_EXTICR3_EXTI10_PJ 0x0900U
13498#define SYSCFG_EXTICR3_EXTI11_PA 0x0000U
13499#define SYSCFG_EXTICR3_EXTI11_PB 0x1000U
13500#define SYSCFG_EXTICR3_EXTI11_PC 0x2000U
13501#define SYSCFG_EXTICR3_EXTI11_PD 0x3000U
13502#define SYSCFG_EXTICR3_EXTI11_PE 0x4000U
13503#define SYSCFG_EXTICR3_EXTI11_PF 0x5000U
13504#define SYSCFG_EXTICR3_EXTI11_PG 0x6000U
13505#define SYSCFG_EXTICR3_EXTI11_PH 0x7000U
13506#define SYSCFG_EXTICR3_EXTI11_PI 0x8000U
13507#define SYSCFG_EXTICR3_EXTI11_PJ 0x9000U
13510/***************** Bit definition for SYSCFG_EXTICR4 register ***************/
13511#define SYSCFG_EXTICR4_EXTI12_Pos (0U)
13512#define SYSCFG_EXTICR4_EXTI12_Msk (0xFUL << SYSCFG_EXTICR4_EXTI12_Pos)
13513#define SYSCFG_EXTICR4_EXTI12 SYSCFG_EXTICR4_EXTI12_Msk
13514#define SYSCFG_EXTICR4_EXTI13_Pos (4U)
13515#define SYSCFG_EXTICR4_EXTI13_Msk (0xFUL << SYSCFG_EXTICR4_EXTI13_Pos)
13516#define SYSCFG_EXTICR4_EXTI13 SYSCFG_EXTICR4_EXTI13_Msk
13517#define SYSCFG_EXTICR4_EXTI14_Pos (8U)
13518#define SYSCFG_EXTICR4_EXTI14_Msk (0xFUL << SYSCFG_EXTICR4_EXTI14_Pos)
13519#define SYSCFG_EXTICR4_EXTI14 SYSCFG_EXTICR4_EXTI14_Msk
13520#define SYSCFG_EXTICR4_EXTI15_Pos (12U)
13521#define SYSCFG_EXTICR4_EXTI15_Msk (0xFUL << SYSCFG_EXTICR4_EXTI15_Pos)
13522#define SYSCFG_EXTICR4_EXTI15 SYSCFG_EXTICR4_EXTI15_Msk
13526#define SYSCFG_EXTICR4_EXTI12_PA 0x0000U
13527#define SYSCFG_EXTICR4_EXTI12_PB 0x0001U
13528#define SYSCFG_EXTICR4_EXTI12_PC 0x0002U
13529#define SYSCFG_EXTICR4_EXTI12_PD 0x0003U
13530#define SYSCFG_EXTICR4_EXTI12_PE 0x0004U
13531#define SYSCFG_EXTICR4_EXTI12_PF 0x0005U
13532#define SYSCFG_EXTICR4_EXTI12_PG 0x0006U
13533#define SYSCFG_EXTICR4_EXTI12_PH 0x0007U
13534#define SYSCFG_EXTICR4_EXTI12_PI 0x0008U
13535#define SYSCFG_EXTICR4_EXTI12_PJ 0x0009U
13540#define SYSCFG_EXTICR4_EXTI13_PA 0x0000U
13541#define SYSCFG_EXTICR4_EXTI13_PB 0x0010U
13542#define SYSCFG_EXTICR4_EXTI13_PC 0x0020U
13543#define SYSCFG_EXTICR4_EXTI13_PD 0x0030U
13544#define SYSCFG_EXTICR4_EXTI13_PE 0x0040U
13545#define SYSCFG_EXTICR4_EXTI13_PF 0x0050U
13546#define SYSCFG_EXTICR4_EXTI13_PG 0x0060U
13547#define SYSCFG_EXTICR4_EXTI13_PH 0x0070U
13548#define SYSCFG_EXTICR4_EXTI13_PI 0x0080U
13549#define SYSCFG_EXTICR4_EXTI13_PJ 0x0090U
13554#define SYSCFG_EXTICR4_EXTI14_PA 0x0000U
13555#define SYSCFG_EXTICR4_EXTI14_PB 0x0100U
13556#define SYSCFG_EXTICR4_EXTI14_PC 0x0200U
13557#define SYSCFG_EXTICR4_EXTI14_PD 0x0300U
13558#define SYSCFG_EXTICR4_EXTI14_PE 0x0400U
13559#define SYSCFG_EXTICR4_EXTI14_PF 0x0500U
13560#define SYSCFG_EXTICR4_EXTI14_PG 0x0600U
13561#define SYSCFG_EXTICR4_EXTI14_PH 0x0700U
13562#define SYSCFG_EXTICR4_EXTI14_PI 0x0800U
13563#define SYSCFG_EXTICR4_EXTI14_PJ 0x0900U
13568#define SYSCFG_EXTICR4_EXTI15_PA 0x0000U
13569#define SYSCFG_EXTICR4_EXTI15_PB 0x1000U
13570#define SYSCFG_EXTICR4_EXTI15_PC 0x2000U
13571#define SYSCFG_EXTICR4_EXTI15_PD 0x3000U
13572#define SYSCFG_EXTICR4_EXTI15_PE 0x4000U
13573#define SYSCFG_EXTICR4_EXTI15_PF 0x5000U
13574#define SYSCFG_EXTICR4_EXTI15_PG 0x6000U
13575#define SYSCFG_EXTICR4_EXTI15_PH 0x7000U
13576#define SYSCFG_EXTICR4_EXTI15_PI 0x8000U
13577#define SYSCFG_EXTICR4_EXTI15_PJ 0x9000U
13580/****************** Bit definition for SYSCFG_CMPCR register ****************/
13581#define SYSCFG_CMPCR_CMP_PD_Pos (0U)
13582#define SYSCFG_CMPCR_CMP_PD_Msk (0x1UL << SYSCFG_CMPCR_CMP_PD_Pos)
13583#define SYSCFG_CMPCR_CMP_PD SYSCFG_CMPCR_CMP_PD_Msk
13584#define SYSCFG_CMPCR_READY_Pos (8U)
13585#define SYSCFG_CMPCR_READY_Msk (0x1UL << SYSCFG_CMPCR_READY_Pos)
13586#define SYSCFG_CMPCR_READY SYSCFG_CMPCR_READY_Msk
13588/******************************************************************************/
13589/* */
13590/* TIM */
13591/* */
13592/******************************************************************************/
13593/******************* Bit definition for TIM_CR1 register ********************/
13594#define TIM_CR1_CEN_Pos (0U)
13595#define TIM_CR1_CEN_Msk (0x1UL << TIM_CR1_CEN_Pos)
13596#define TIM_CR1_CEN TIM_CR1_CEN_Msk
13597#define TIM_CR1_UDIS_Pos (1U)
13598#define TIM_CR1_UDIS_Msk (0x1UL << TIM_CR1_UDIS_Pos)
13599#define TIM_CR1_UDIS TIM_CR1_UDIS_Msk
13600#define TIM_CR1_URS_Pos (2U)
13601#define TIM_CR1_URS_Msk (0x1UL << TIM_CR1_URS_Pos)
13602#define TIM_CR1_URS TIM_CR1_URS_Msk
13603#define TIM_CR1_OPM_Pos (3U)
13604#define TIM_CR1_OPM_Msk (0x1UL << TIM_CR1_OPM_Pos)
13605#define TIM_CR1_OPM TIM_CR1_OPM_Msk
13606#define TIM_CR1_DIR_Pos (4U)
13607#define TIM_CR1_DIR_Msk (0x1UL << TIM_CR1_DIR_Pos)
13608#define TIM_CR1_DIR TIM_CR1_DIR_Msk
13610#define TIM_CR1_CMS_Pos (5U)
13611#define TIM_CR1_CMS_Msk (0x3UL << TIM_CR1_CMS_Pos)
13612#define TIM_CR1_CMS TIM_CR1_CMS_Msk
13613#define TIM_CR1_CMS_0 (0x1UL << TIM_CR1_CMS_Pos)
13614#define TIM_CR1_CMS_1 (0x2UL << TIM_CR1_CMS_Pos)
13616#define TIM_CR1_ARPE_Pos (7U)
13617#define TIM_CR1_ARPE_Msk (0x1UL << TIM_CR1_ARPE_Pos)
13618#define TIM_CR1_ARPE TIM_CR1_ARPE_Msk
13620#define TIM_CR1_CKD_Pos (8U)
13621#define TIM_CR1_CKD_Msk (0x3UL << TIM_CR1_CKD_Pos)
13622#define TIM_CR1_CKD TIM_CR1_CKD_Msk
13623#define TIM_CR1_CKD_0 (0x1UL << TIM_CR1_CKD_Pos)
13624#define TIM_CR1_CKD_1 (0x2UL << TIM_CR1_CKD_Pos)
13625#define TIM_CR1_UIFREMAP_Pos (11U)
13626#define TIM_CR1_UIFREMAP_Msk (0x1UL << TIM_CR1_UIFREMAP_Pos)
13627#define TIM_CR1_UIFREMAP TIM_CR1_UIFREMAP_Msk
13629/******************* Bit definition for TIM_CR2 register ********************/
13630#define TIM_CR2_CCPC_Pos (0U)
13631#define TIM_CR2_CCPC_Msk (0x1UL << TIM_CR2_CCPC_Pos)
13632#define TIM_CR2_CCPC TIM_CR2_CCPC_Msk
13633#define TIM_CR2_CCUS_Pos (2U)
13634#define TIM_CR2_CCUS_Msk (0x1UL << TIM_CR2_CCUS_Pos)
13635#define TIM_CR2_CCUS TIM_CR2_CCUS_Msk
13636#define TIM_CR2_CCDS_Pos (3U)
13637#define TIM_CR2_CCDS_Msk (0x1UL << TIM_CR2_CCDS_Pos)
13638#define TIM_CR2_CCDS TIM_CR2_CCDS_Msk
13640#define TIM_CR2_OIS5_Pos (16U)
13641#define TIM_CR2_OIS5_Msk (0x1UL << TIM_CR2_OIS5_Pos)
13642#define TIM_CR2_OIS5 TIM_CR2_OIS5_Msk
13643#define TIM_CR2_OIS6_Pos (18U)
13644#define TIM_CR2_OIS6_Msk (0x1UL << TIM_CR2_OIS6_Pos)
13645#define TIM_CR2_OIS6 TIM_CR2_OIS6_Msk
13647#define TIM_CR2_MMS_Pos (4U)
13648#define TIM_CR2_MMS_Msk (0x7UL << TIM_CR2_MMS_Pos)
13649#define TIM_CR2_MMS TIM_CR2_MMS_Msk
13650#define TIM_CR2_MMS_0 (0x1UL << TIM_CR2_MMS_Pos)
13651#define TIM_CR2_MMS_1 (0x2UL << TIM_CR2_MMS_Pos)
13652#define TIM_CR2_MMS_2 (0x4UL << TIM_CR2_MMS_Pos)
13654#define TIM_CR2_MMS2_Pos (20U)
13655#define TIM_CR2_MMS2_Msk (0xFUL << TIM_CR2_MMS2_Pos)
13656#define TIM_CR2_MMS2 TIM_CR2_MMS2_Msk
13657#define TIM_CR2_MMS2_0 (0x1UL << TIM_CR2_MMS2_Pos)
13658#define TIM_CR2_MMS2_1 (0x2UL << TIM_CR2_MMS2_Pos)
13659#define TIM_CR2_MMS2_2 (0x4UL << TIM_CR2_MMS2_Pos)
13660#define TIM_CR2_MMS2_3 (0x8UL << TIM_CR2_MMS2_Pos)
13662#define TIM_CR2_TI1S_Pos (7U)
13663#define TIM_CR2_TI1S_Msk (0x1UL << TIM_CR2_TI1S_Pos)
13664#define TIM_CR2_TI1S TIM_CR2_TI1S_Msk
13665#define TIM_CR2_OIS1_Pos (8U)
13666#define TIM_CR2_OIS1_Msk (0x1UL << TIM_CR2_OIS1_Pos)
13667#define TIM_CR2_OIS1 TIM_CR2_OIS1_Msk
13668#define TIM_CR2_OIS1N_Pos (9U)
13669#define TIM_CR2_OIS1N_Msk (0x1UL << TIM_CR2_OIS1N_Pos)
13670#define TIM_CR2_OIS1N TIM_CR2_OIS1N_Msk
13671#define TIM_CR2_OIS2_Pos (10U)
13672#define TIM_CR2_OIS2_Msk (0x1UL << TIM_CR2_OIS2_Pos)
13673#define TIM_CR2_OIS2 TIM_CR2_OIS2_Msk
13674#define TIM_CR2_OIS2N_Pos (11U)
13675#define TIM_CR2_OIS2N_Msk (0x1UL << TIM_CR2_OIS2N_Pos)
13676#define TIM_CR2_OIS2N TIM_CR2_OIS2N_Msk
13677#define TIM_CR2_OIS3_Pos (12U)
13678#define TIM_CR2_OIS3_Msk (0x1UL << TIM_CR2_OIS3_Pos)
13679#define TIM_CR2_OIS3 TIM_CR2_OIS3_Msk
13680#define TIM_CR2_OIS3N_Pos (13U)
13681#define TIM_CR2_OIS3N_Msk (0x1UL << TIM_CR2_OIS3N_Pos)
13682#define TIM_CR2_OIS3N TIM_CR2_OIS3N_Msk
13683#define TIM_CR2_OIS4_Pos (14U)
13684#define TIM_CR2_OIS4_Msk (0x1UL << TIM_CR2_OIS4_Pos)
13685#define TIM_CR2_OIS4 TIM_CR2_OIS4_Msk
13687/******************* Bit definition for TIM_SMCR register *******************/
13688#define TIM_SMCR_SMS_Pos (0U)
13689#define TIM_SMCR_SMS_Msk (0x10007UL << TIM_SMCR_SMS_Pos)
13690#define TIM_SMCR_SMS TIM_SMCR_SMS_Msk
13691#define TIM_SMCR_SMS_0 (0x00001UL << TIM_SMCR_SMS_Pos)
13692#define TIM_SMCR_SMS_1 (0x00002UL << TIM_SMCR_SMS_Pos)
13693#define TIM_SMCR_SMS_2 (0x00004UL << TIM_SMCR_SMS_Pos)
13694#define TIM_SMCR_SMS_3 (0x10000UL << TIM_SMCR_SMS_Pos)
13696#define TIM_SMCR_TS_Pos (4U)
13697#define TIM_SMCR_TS_Msk (0x7UL << TIM_SMCR_TS_Pos)
13698#define TIM_SMCR_TS TIM_SMCR_TS_Msk
13699#define TIM_SMCR_TS_0 (0x1UL << TIM_SMCR_TS_Pos)
13700#define TIM_SMCR_TS_1 (0x2UL << TIM_SMCR_TS_Pos)
13701#define TIM_SMCR_TS_2 (0x4UL << TIM_SMCR_TS_Pos)
13703#define TIM_SMCR_MSM_Pos (7U)
13704#define TIM_SMCR_MSM_Msk (0x1UL << TIM_SMCR_MSM_Pos)
13705#define TIM_SMCR_MSM TIM_SMCR_MSM_Msk
13707#define TIM_SMCR_ETF_Pos (8U)
13708#define TIM_SMCR_ETF_Msk (0xFUL << TIM_SMCR_ETF_Pos)
13709#define TIM_SMCR_ETF TIM_SMCR_ETF_Msk
13710#define TIM_SMCR_ETF_0 (0x1UL << TIM_SMCR_ETF_Pos)
13711#define TIM_SMCR_ETF_1 (0x2UL << TIM_SMCR_ETF_Pos)
13712#define TIM_SMCR_ETF_2 (0x4UL << TIM_SMCR_ETF_Pos)
13713#define TIM_SMCR_ETF_3 (0x8UL << TIM_SMCR_ETF_Pos)
13715#define TIM_SMCR_ETPS_Pos (12U)
13716#define TIM_SMCR_ETPS_Msk (0x3UL << TIM_SMCR_ETPS_Pos)
13717#define TIM_SMCR_ETPS TIM_SMCR_ETPS_Msk
13718#define TIM_SMCR_ETPS_0 (0x1UL << TIM_SMCR_ETPS_Pos)
13719#define TIM_SMCR_ETPS_1 (0x2UL << TIM_SMCR_ETPS_Pos)
13721#define TIM_SMCR_ECE_Pos (14U)
13722#define TIM_SMCR_ECE_Msk (0x1UL << TIM_SMCR_ECE_Pos)
13723#define TIM_SMCR_ECE TIM_SMCR_ECE_Msk
13724#define TIM_SMCR_ETP_Pos (15U)
13725#define TIM_SMCR_ETP_Msk (0x1UL << TIM_SMCR_ETP_Pos)
13726#define TIM_SMCR_ETP TIM_SMCR_ETP_Msk
13728/******************* Bit definition for TIM_DIER register *******************/
13729#define TIM_DIER_UIE_Pos (0U)
13730#define TIM_DIER_UIE_Msk (0x1UL << TIM_DIER_UIE_Pos)
13731#define TIM_DIER_UIE TIM_DIER_UIE_Msk
13732#define TIM_DIER_CC1IE_Pos (1U)
13733#define TIM_DIER_CC1IE_Msk (0x1UL << TIM_DIER_CC1IE_Pos)
13734#define TIM_DIER_CC1IE TIM_DIER_CC1IE_Msk
13735#define TIM_DIER_CC2IE_Pos (2U)
13736#define TIM_DIER_CC2IE_Msk (0x1UL << TIM_DIER_CC2IE_Pos)
13737#define TIM_DIER_CC2IE TIM_DIER_CC2IE_Msk
13738#define TIM_DIER_CC3IE_Pos (3U)
13739#define TIM_DIER_CC3IE_Msk (0x1UL << TIM_DIER_CC3IE_Pos)
13740#define TIM_DIER_CC3IE TIM_DIER_CC3IE_Msk
13741#define TIM_DIER_CC4IE_Pos (4U)
13742#define TIM_DIER_CC4IE_Msk (0x1UL << TIM_DIER_CC4IE_Pos)
13743#define TIM_DIER_CC4IE TIM_DIER_CC4IE_Msk
13744#define TIM_DIER_COMIE_Pos (5U)
13745#define TIM_DIER_COMIE_Msk (0x1UL << TIM_DIER_COMIE_Pos)
13746#define TIM_DIER_COMIE TIM_DIER_COMIE_Msk
13747#define TIM_DIER_TIE_Pos (6U)
13748#define TIM_DIER_TIE_Msk (0x1UL << TIM_DIER_TIE_Pos)
13749#define TIM_DIER_TIE TIM_DIER_TIE_Msk
13750#define TIM_DIER_BIE_Pos (7U)
13751#define TIM_DIER_BIE_Msk (0x1UL << TIM_DIER_BIE_Pos)
13752#define TIM_DIER_BIE TIM_DIER_BIE_Msk
13753#define TIM_DIER_UDE_Pos (8U)
13754#define TIM_DIER_UDE_Msk (0x1UL << TIM_DIER_UDE_Pos)
13755#define TIM_DIER_UDE TIM_DIER_UDE_Msk
13756#define TIM_DIER_CC1DE_Pos (9U)
13757#define TIM_DIER_CC1DE_Msk (0x1UL << TIM_DIER_CC1DE_Pos)
13758#define TIM_DIER_CC1DE TIM_DIER_CC1DE_Msk
13759#define TIM_DIER_CC2DE_Pos (10U)
13760#define TIM_DIER_CC2DE_Msk (0x1UL << TIM_DIER_CC2DE_Pos)
13761#define TIM_DIER_CC2DE TIM_DIER_CC2DE_Msk
13762#define TIM_DIER_CC3DE_Pos (11U)
13763#define TIM_DIER_CC3DE_Msk (0x1UL << TIM_DIER_CC3DE_Pos)
13764#define TIM_DIER_CC3DE TIM_DIER_CC3DE_Msk
13765#define TIM_DIER_CC4DE_Pos (12U)
13766#define TIM_DIER_CC4DE_Msk (0x1UL << TIM_DIER_CC4DE_Pos)
13767#define TIM_DIER_CC4DE TIM_DIER_CC4DE_Msk
13768#define TIM_DIER_COMDE_Pos (13U)
13769#define TIM_DIER_COMDE_Msk (0x1UL << TIM_DIER_COMDE_Pos)
13770#define TIM_DIER_COMDE TIM_DIER_COMDE_Msk
13771#define TIM_DIER_TDE_Pos (14U)
13772#define TIM_DIER_TDE_Msk (0x1UL << TIM_DIER_TDE_Pos)
13773#define TIM_DIER_TDE TIM_DIER_TDE_Msk
13775/******************** Bit definition for TIM_SR register ********************/
13776#define TIM_SR_UIF_Pos (0U)
13777#define TIM_SR_UIF_Msk (0x1UL << TIM_SR_UIF_Pos)
13778#define TIM_SR_UIF TIM_SR_UIF_Msk
13779#define TIM_SR_CC1IF_Pos (1U)
13780#define TIM_SR_CC1IF_Msk (0x1UL << TIM_SR_CC1IF_Pos)
13781#define TIM_SR_CC1IF TIM_SR_CC1IF_Msk
13782#define TIM_SR_CC2IF_Pos (2U)
13783#define TIM_SR_CC2IF_Msk (0x1UL << TIM_SR_CC2IF_Pos)
13784#define TIM_SR_CC2IF TIM_SR_CC2IF_Msk
13785#define TIM_SR_CC3IF_Pos (3U)
13786#define TIM_SR_CC3IF_Msk (0x1UL << TIM_SR_CC3IF_Pos)
13787#define TIM_SR_CC3IF TIM_SR_CC3IF_Msk
13788#define TIM_SR_CC4IF_Pos (4U)
13789#define TIM_SR_CC4IF_Msk (0x1UL << TIM_SR_CC4IF_Pos)
13790#define TIM_SR_CC4IF TIM_SR_CC4IF_Msk
13791#define TIM_SR_COMIF_Pos (5U)
13792#define TIM_SR_COMIF_Msk (0x1UL << TIM_SR_COMIF_Pos)
13793#define TIM_SR_COMIF TIM_SR_COMIF_Msk
13794#define TIM_SR_TIF_Pos (6U)
13795#define TIM_SR_TIF_Msk (0x1UL << TIM_SR_TIF_Pos)
13796#define TIM_SR_TIF TIM_SR_TIF_Msk
13797#define TIM_SR_BIF_Pos (7U)
13798#define TIM_SR_BIF_Msk (0x1UL << TIM_SR_BIF_Pos)
13799#define TIM_SR_BIF TIM_SR_BIF_Msk
13800#define TIM_SR_B2IF_Pos (8U)
13801#define TIM_SR_B2IF_Msk (0x1UL << TIM_SR_B2IF_Pos)
13802#define TIM_SR_B2IF TIM_SR_B2IF_Msk
13803#define TIM_SR_CC1OF_Pos (9U)
13804#define TIM_SR_CC1OF_Msk (0x1UL << TIM_SR_CC1OF_Pos)
13805#define TIM_SR_CC1OF TIM_SR_CC1OF_Msk
13806#define TIM_SR_CC2OF_Pos (10U)
13807#define TIM_SR_CC2OF_Msk (0x1UL << TIM_SR_CC2OF_Pos)
13808#define TIM_SR_CC2OF TIM_SR_CC2OF_Msk
13809#define TIM_SR_CC3OF_Pos (11U)
13810#define TIM_SR_CC3OF_Msk (0x1UL << TIM_SR_CC3OF_Pos)
13811#define TIM_SR_CC3OF TIM_SR_CC3OF_Msk
13812#define TIM_SR_CC4OF_Pos (12U)
13813#define TIM_SR_CC4OF_Msk (0x1UL << TIM_SR_CC4OF_Pos)
13814#define TIM_SR_CC4OF TIM_SR_CC4OF_Msk
13815#define TIM_SR_SBIF_Pos (13U)
13816#define TIM_SR_SBIF_Msk (0x1UL << TIM_SR_SBIF_Pos)
13817#define TIM_SR_SBIF TIM_SR_SBIF_Msk
13818#define TIM_SR_CC5IF_Pos (16U)
13819#define TIM_SR_CC5IF_Msk (0x1UL << TIM_SR_CC5IF_Pos)
13820#define TIM_SR_CC5IF TIM_SR_CC5IF_Msk
13821#define TIM_SR_CC6IF_Pos (17U)
13822#define TIM_SR_CC6IF_Msk (0x1UL << TIM_SR_CC6IF_Pos)
13823#define TIM_SR_CC6IF TIM_SR_CC6IF_Msk
13825/******************* Bit definition for TIM_EGR register ********************/
13826#define TIM_EGR_UG_Pos (0U)
13827#define TIM_EGR_UG_Msk (0x1UL << TIM_EGR_UG_Pos)
13828#define TIM_EGR_UG TIM_EGR_UG_Msk
13829#define TIM_EGR_CC1G_Pos (1U)
13830#define TIM_EGR_CC1G_Msk (0x1UL << TIM_EGR_CC1G_Pos)
13831#define TIM_EGR_CC1G TIM_EGR_CC1G_Msk
13832#define TIM_EGR_CC2G_Pos (2U)
13833#define TIM_EGR_CC2G_Msk (0x1UL << TIM_EGR_CC2G_Pos)
13834#define TIM_EGR_CC2G TIM_EGR_CC2G_Msk
13835#define TIM_EGR_CC3G_Pos (3U)
13836#define TIM_EGR_CC3G_Msk (0x1UL << TIM_EGR_CC3G_Pos)
13837#define TIM_EGR_CC3G TIM_EGR_CC3G_Msk
13838#define TIM_EGR_CC4G_Pos (4U)
13839#define TIM_EGR_CC4G_Msk (0x1UL << TIM_EGR_CC4G_Pos)
13840#define TIM_EGR_CC4G TIM_EGR_CC4G_Msk
13841#define TIM_EGR_COMG_Pos (5U)
13842#define TIM_EGR_COMG_Msk (0x1UL << TIM_EGR_COMG_Pos)
13843#define TIM_EGR_COMG TIM_EGR_COMG_Msk
13844#define TIM_EGR_TG_Pos (6U)
13845#define TIM_EGR_TG_Msk (0x1UL << TIM_EGR_TG_Pos)
13846#define TIM_EGR_TG TIM_EGR_TG_Msk
13847#define TIM_EGR_BG_Pos (7U)
13848#define TIM_EGR_BG_Msk (0x1UL << TIM_EGR_BG_Pos)
13849#define TIM_EGR_BG TIM_EGR_BG_Msk
13850#define TIM_EGR_B2G_Pos (8U)
13851#define TIM_EGR_B2G_Msk (0x1UL << TIM_EGR_B2G_Pos)
13852#define TIM_EGR_B2G TIM_EGR_B2G_Msk
13854/****************** Bit definition for TIM_CCMR1 register *******************/
13855#define TIM_CCMR1_CC1S_Pos (0U)
13856#define TIM_CCMR1_CC1S_Msk (0x3UL << TIM_CCMR1_CC1S_Pos)
13857#define TIM_CCMR1_CC1S TIM_CCMR1_CC1S_Msk
13858#define TIM_CCMR1_CC1S_0 (0x1UL << TIM_CCMR1_CC1S_Pos)
13859#define TIM_CCMR1_CC1S_1 (0x2UL << TIM_CCMR1_CC1S_Pos)
13861#define TIM_CCMR1_OC1FE_Pos (2U)
13862#define TIM_CCMR1_OC1FE_Msk (0x1UL << TIM_CCMR1_OC1FE_Pos)
13863#define TIM_CCMR1_OC1FE TIM_CCMR1_OC1FE_Msk
13864#define TIM_CCMR1_OC1PE_Pos (3U)
13865#define TIM_CCMR1_OC1PE_Msk (0x1UL << TIM_CCMR1_OC1PE_Pos)
13866#define TIM_CCMR1_OC1PE TIM_CCMR1_OC1PE_Msk
13868#define TIM_CCMR1_OC1M_Pos (4U)
13869#define TIM_CCMR1_OC1M_Msk (0x1007UL << TIM_CCMR1_OC1M_Pos)
13870#define TIM_CCMR1_OC1M TIM_CCMR1_OC1M_Msk
13871#define TIM_CCMR1_OC1M_0 (0x0001UL << TIM_CCMR1_OC1M_Pos)
13872#define TIM_CCMR1_OC1M_1 (0x0002UL << TIM_CCMR1_OC1M_Pos)
13873#define TIM_CCMR1_OC1M_2 (0x0004UL << TIM_CCMR1_OC1M_Pos)
13874#define TIM_CCMR1_OC1M_3 (0x1000UL << TIM_CCMR1_OC1M_Pos)
13876#define TIM_CCMR1_OC1CE_Pos (7U)
13877#define TIM_CCMR1_OC1CE_Msk (0x1UL << TIM_CCMR1_OC1CE_Pos)
13878#define TIM_CCMR1_OC1CE TIM_CCMR1_OC1CE_Msk
13880#define TIM_CCMR1_CC2S_Pos (8U)
13881#define TIM_CCMR1_CC2S_Msk (0x3UL << TIM_CCMR1_CC2S_Pos)
13882#define TIM_CCMR1_CC2S TIM_CCMR1_CC2S_Msk
13883#define TIM_CCMR1_CC2S_0 (0x1UL << TIM_CCMR1_CC2S_Pos)
13884#define TIM_CCMR1_CC2S_1 (0x2UL << TIM_CCMR1_CC2S_Pos)
13886#define TIM_CCMR1_OC2FE_Pos (10U)
13887#define TIM_CCMR1_OC2FE_Msk (0x1UL << TIM_CCMR1_OC2FE_Pos)
13888#define TIM_CCMR1_OC2FE TIM_CCMR1_OC2FE_Msk
13889#define TIM_CCMR1_OC2PE_Pos (11U)
13890#define TIM_CCMR1_OC2PE_Msk (0x1UL << TIM_CCMR1_OC2PE_Pos)
13891#define TIM_CCMR1_OC2PE TIM_CCMR1_OC2PE_Msk
13893#define TIM_CCMR1_OC2M_Pos (12U)
13894#define TIM_CCMR1_OC2M_Msk (0x1007UL << TIM_CCMR1_OC2M_Pos)
13895#define TIM_CCMR1_OC2M TIM_CCMR1_OC2M_Msk
13896#define TIM_CCMR1_OC2M_0 (0x0001UL << TIM_CCMR1_OC2M_Pos)
13897#define TIM_CCMR1_OC2M_1 (0x0002UL << TIM_CCMR1_OC2M_Pos)
13898#define TIM_CCMR1_OC2M_2 (0x0004UL << TIM_CCMR1_OC2M_Pos)
13899#define TIM_CCMR1_OC2M_3 (0x1000UL << TIM_CCMR1_OC2M_Pos)
13901#define TIM_CCMR1_OC2CE_Pos (15U)
13902#define TIM_CCMR1_OC2CE_Msk (0x1UL << TIM_CCMR1_OC2CE_Pos)
13903#define TIM_CCMR1_OC2CE TIM_CCMR1_OC2CE_Msk
13905/*----------------------------------------------------------------------------*/
13906
13907#define TIM_CCMR1_IC1PSC_Pos (2U)
13908#define TIM_CCMR1_IC1PSC_Msk (0x3UL << TIM_CCMR1_IC1PSC_Pos)
13909#define TIM_CCMR1_IC1PSC TIM_CCMR1_IC1PSC_Msk
13910#define TIM_CCMR1_IC1PSC_0 (0x1UL << TIM_CCMR1_IC1PSC_Pos)
13911#define TIM_CCMR1_IC1PSC_1 (0x2UL << TIM_CCMR1_IC1PSC_Pos)
13913#define TIM_CCMR1_IC1F_Pos (4U)
13914#define TIM_CCMR1_IC1F_Msk (0xFUL << TIM_CCMR1_IC1F_Pos)
13915#define TIM_CCMR1_IC1F TIM_CCMR1_IC1F_Msk
13916#define TIM_CCMR1_IC1F_0 (0x1UL << TIM_CCMR1_IC1F_Pos)
13917#define TIM_CCMR1_IC1F_1 (0x2UL << TIM_CCMR1_IC1F_Pos)
13918#define TIM_CCMR1_IC1F_2 (0x4UL << TIM_CCMR1_IC1F_Pos)
13919#define TIM_CCMR1_IC1F_3 (0x8UL << TIM_CCMR1_IC1F_Pos)
13921#define TIM_CCMR1_IC2PSC_Pos (10U)
13922#define TIM_CCMR1_IC2PSC_Msk (0x3UL << TIM_CCMR1_IC2PSC_Pos)
13923#define TIM_CCMR1_IC2PSC TIM_CCMR1_IC2PSC_Msk
13924#define TIM_CCMR1_IC2PSC_0 (0x1UL << TIM_CCMR1_IC2PSC_Pos)
13925#define TIM_CCMR1_IC2PSC_1 (0x2UL << TIM_CCMR1_IC2PSC_Pos)
13927#define TIM_CCMR1_IC2F_Pos (12U)
13928#define TIM_CCMR1_IC2F_Msk (0xFUL << TIM_CCMR1_IC2F_Pos)
13929#define TIM_CCMR1_IC2F TIM_CCMR1_IC2F_Msk
13930#define TIM_CCMR1_IC2F_0 (0x1UL << TIM_CCMR1_IC2F_Pos)
13931#define TIM_CCMR1_IC2F_1 (0x2UL << TIM_CCMR1_IC2F_Pos)
13932#define TIM_CCMR1_IC2F_2 (0x4UL << TIM_CCMR1_IC2F_Pos)
13933#define TIM_CCMR1_IC2F_3 (0x8UL << TIM_CCMR1_IC2F_Pos)
13935/****************** Bit definition for TIM_CCMR2 register *******************/
13936#define TIM_CCMR2_CC3S_Pos (0U)
13937#define TIM_CCMR2_CC3S_Msk (0x3UL << TIM_CCMR2_CC3S_Pos)
13938#define TIM_CCMR2_CC3S TIM_CCMR2_CC3S_Msk
13939#define TIM_CCMR2_CC3S_0 (0x1UL << TIM_CCMR2_CC3S_Pos)
13940#define TIM_CCMR2_CC3S_1 (0x2UL << TIM_CCMR2_CC3S_Pos)
13942#define TIM_CCMR2_OC3FE_Pos (2U)
13943#define TIM_CCMR2_OC3FE_Msk (0x1UL << TIM_CCMR2_OC3FE_Pos)
13944#define TIM_CCMR2_OC3FE TIM_CCMR2_OC3FE_Msk
13945#define TIM_CCMR2_OC3PE_Pos (3U)
13946#define TIM_CCMR2_OC3PE_Msk (0x1UL << TIM_CCMR2_OC3PE_Pos)
13947#define TIM_CCMR2_OC3PE TIM_CCMR2_OC3PE_Msk
13949#define TIM_CCMR2_OC3M_Pos (4U)
13950#define TIM_CCMR2_OC3M_Msk (0x1007UL << TIM_CCMR2_OC3M_Pos)
13951#define TIM_CCMR2_OC3M TIM_CCMR2_OC3M_Msk
13952#define TIM_CCMR2_OC3M_0 (0x0001UL << TIM_CCMR2_OC3M_Pos)
13953#define TIM_CCMR2_OC3M_1 (0x0002UL << TIM_CCMR2_OC3M_Pos)
13954#define TIM_CCMR2_OC3M_2 (0x0004UL << TIM_CCMR2_OC3M_Pos)
13955#define TIM_CCMR2_OC3M_3 (0x1000UL << TIM_CCMR2_OC3M_Pos)
13959#define TIM_CCMR2_OC3CE_Pos (7U)
13960#define TIM_CCMR2_OC3CE_Msk (0x1UL << TIM_CCMR2_OC3CE_Pos)
13961#define TIM_CCMR2_OC3CE TIM_CCMR2_OC3CE_Msk
13963#define TIM_CCMR2_CC4S_Pos (8U)
13964#define TIM_CCMR2_CC4S_Msk (0x3UL << TIM_CCMR2_CC4S_Pos)
13965#define TIM_CCMR2_CC4S TIM_CCMR2_CC4S_Msk
13966#define TIM_CCMR2_CC4S_0 (0x1UL << TIM_CCMR2_CC4S_Pos)
13967#define TIM_CCMR2_CC4S_1 (0x2UL << TIM_CCMR2_CC4S_Pos)
13969#define TIM_CCMR2_OC4FE_Pos (10U)
13970#define TIM_CCMR2_OC4FE_Msk (0x1UL << TIM_CCMR2_OC4FE_Pos)
13971#define TIM_CCMR2_OC4FE TIM_CCMR2_OC4FE_Msk
13972#define TIM_CCMR2_OC4PE_Pos (11U)
13973#define TIM_CCMR2_OC4PE_Msk (0x1UL << TIM_CCMR2_OC4PE_Pos)
13974#define TIM_CCMR2_OC4PE TIM_CCMR2_OC4PE_Msk
13976#define TIM_CCMR2_OC4M_Pos (12U)
13977#define TIM_CCMR2_OC4M_Msk (0x1007UL << TIM_CCMR2_OC4M_Pos)
13978#define TIM_CCMR2_OC4M TIM_CCMR2_OC4M_Msk
13979#define TIM_CCMR2_OC4M_0 (0x0001UL << TIM_CCMR2_OC4M_Pos)
13980#define TIM_CCMR2_OC4M_1 (0x0002UL << TIM_CCMR2_OC4M_Pos)
13981#define TIM_CCMR2_OC4M_2 (0x0004UL << TIM_CCMR2_OC4M_Pos)
13982#define TIM_CCMR2_OC4M_3 (0x1000UL << TIM_CCMR2_OC4M_Pos)
13984#define TIM_CCMR2_OC4CE_Pos (15U)
13985#define TIM_CCMR2_OC4CE_Msk (0x1UL << TIM_CCMR2_OC4CE_Pos)
13986#define TIM_CCMR2_OC4CE TIM_CCMR2_OC4CE_Msk
13988/*----------------------------------------------------------------------------*/
13989
13990#define TIM_CCMR2_IC3PSC_Pos (2U)
13991#define TIM_CCMR2_IC3PSC_Msk (0x3UL << TIM_CCMR2_IC3PSC_Pos)
13992#define TIM_CCMR2_IC3PSC TIM_CCMR2_IC3PSC_Msk
13993#define TIM_CCMR2_IC3PSC_0 (0x1UL << TIM_CCMR2_IC3PSC_Pos)
13994#define TIM_CCMR2_IC3PSC_1 (0x2UL << TIM_CCMR2_IC3PSC_Pos)
13996#define TIM_CCMR2_IC3F_Pos (4U)
13997#define TIM_CCMR2_IC3F_Msk (0xFUL << TIM_CCMR2_IC3F_Pos)
13998#define TIM_CCMR2_IC3F TIM_CCMR2_IC3F_Msk
13999#define TIM_CCMR2_IC3F_0 (0x1UL << TIM_CCMR2_IC3F_Pos)
14000#define TIM_CCMR2_IC3F_1 (0x2UL << TIM_CCMR2_IC3F_Pos)
14001#define TIM_CCMR2_IC3F_2 (0x4UL << TIM_CCMR2_IC3F_Pos)
14002#define TIM_CCMR2_IC3F_3 (0x8UL << TIM_CCMR2_IC3F_Pos)
14004#define TIM_CCMR2_IC4PSC_Pos (10U)
14005#define TIM_CCMR2_IC4PSC_Msk (0x3UL << TIM_CCMR2_IC4PSC_Pos)
14006#define TIM_CCMR2_IC4PSC TIM_CCMR2_IC4PSC_Msk
14007#define TIM_CCMR2_IC4PSC_0 (0x1UL << TIM_CCMR2_IC4PSC_Pos)
14008#define TIM_CCMR2_IC4PSC_1 (0x2UL << TIM_CCMR2_IC4PSC_Pos)
14010#define TIM_CCMR2_IC4F_Pos (12U)
14011#define TIM_CCMR2_IC4F_Msk (0xFUL << TIM_CCMR2_IC4F_Pos)
14012#define TIM_CCMR2_IC4F TIM_CCMR2_IC4F_Msk
14013#define TIM_CCMR2_IC4F_0 (0x1UL << TIM_CCMR2_IC4F_Pos)
14014#define TIM_CCMR2_IC4F_1 (0x2UL << TIM_CCMR2_IC4F_Pos)
14015#define TIM_CCMR2_IC4F_2 (0x4UL << TIM_CCMR2_IC4F_Pos)
14016#define TIM_CCMR2_IC4F_3 (0x8UL << TIM_CCMR2_IC4F_Pos)
14018/******************* Bit definition for TIM_CCER register *******************/
14019#define TIM_CCER_CC1E_Pos (0U)
14020#define TIM_CCER_CC1E_Msk (0x1UL << TIM_CCER_CC1E_Pos)
14021#define TIM_CCER_CC1E TIM_CCER_CC1E_Msk
14022#define TIM_CCER_CC1P_Pos (1U)
14023#define TIM_CCER_CC1P_Msk (0x1UL << TIM_CCER_CC1P_Pos)
14024#define TIM_CCER_CC1P TIM_CCER_CC1P_Msk
14025#define TIM_CCER_CC1NE_Pos (2U)
14026#define TIM_CCER_CC1NE_Msk (0x1UL << TIM_CCER_CC1NE_Pos)
14027#define TIM_CCER_CC1NE TIM_CCER_CC1NE_Msk
14028#define TIM_CCER_CC1NP_Pos (3U)
14029#define TIM_CCER_CC1NP_Msk (0x1UL << TIM_CCER_CC1NP_Pos)
14030#define TIM_CCER_CC1NP TIM_CCER_CC1NP_Msk
14031#define TIM_CCER_CC2E_Pos (4U)
14032#define TIM_CCER_CC2E_Msk (0x1UL << TIM_CCER_CC2E_Pos)
14033#define TIM_CCER_CC2E TIM_CCER_CC2E_Msk
14034#define TIM_CCER_CC2P_Pos (5U)
14035#define TIM_CCER_CC2P_Msk (0x1UL << TIM_CCER_CC2P_Pos)
14036#define TIM_CCER_CC2P TIM_CCER_CC2P_Msk
14037#define TIM_CCER_CC2NE_Pos (6U)
14038#define TIM_CCER_CC2NE_Msk (0x1UL << TIM_CCER_CC2NE_Pos)
14039#define TIM_CCER_CC2NE TIM_CCER_CC2NE_Msk
14040#define TIM_CCER_CC2NP_Pos (7U)
14041#define TIM_CCER_CC2NP_Msk (0x1UL << TIM_CCER_CC2NP_Pos)
14042#define TIM_CCER_CC2NP TIM_CCER_CC2NP_Msk
14043#define TIM_CCER_CC3E_Pos (8U)
14044#define TIM_CCER_CC3E_Msk (0x1UL << TIM_CCER_CC3E_Pos)
14045#define TIM_CCER_CC3E TIM_CCER_CC3E_Msk
14046#define TIM_CCER_CC3P_Pos (9U)
14047#define TIM_CCER_CC3P_Msk (0x1UL << TIM_CCER_CC3P_Pos)
14048#define TIM_CCER_CC3P TIM_CCER_CC3P_Msk
14049#define TIM_CCER_CC3NE_Pos (10U)
14050#define TIM_CCER_CC3NE_Msk (0x1UL << TIM_CCER_CC3NE_Pos)
14051#define TIM_CCER_CC3NE TIM_CCER_CC3NE_Msk
14052#define TIM_CCER_CC3NP_Pos (11U)
14053#define TIM_CCER_CC3NP_Msk (0x1UL << TIM_CCER_CC3NP_Pos)
14054#define TIM_CCER_CC3NP TIM_CCER_CC3NP_Msk
14055#define TIM_CCER_CC4E_Pos (12U)
14056#define TIM_CCER_CC4E_Msk (0x1UL << TIM_CCER_CC4E_Pos)
14057#define TIM_CCER_CC4E TIM_CCER_CC4E_Msk
14058#define TIM_CCER_CC4P_Pos (13U)
14059#define TIM_CCER_CC4P_Msk (0x1UL << TIM_CCER_CC4P_Pos)
14060#define TIM_CCER_CC4P TIM_CCER_CC4P_Msk
14061#define TIM_CCER_CC4NP_Pos (15U)
14062#define TIM_CCER_CC4NP_Msk (0x1UL << TIM_CCER_CC4NP_Pos)
14063#define TIM_CCER_CC4NP TIM_CCER_CC4NP_Msk
14064#define TIM_CCER_CC5E_Pos (16U)
14065#define TIM_CCER_CC5E_Msk (0x1UL << TIM_CCER_CC5E_Pos)
14066#define TIM_CCER_CC5E TIM_CCER_CC5E_Msk
14067#define TIM_CCER_CC5P_Pos (17U)
14068#define TIM_CCER_CC5P_Msk (0x1UL << TIM_CCER_CC5P_Pos)
14069#define TIM_CCER_CC5P TIM_CCER_CC5P_Msk
14070#define TIM_CCER_CC6E_Pos (20U)
14071#define TIM_CCER_CC6E_Msk (0x1UL << TIM_CCER_CC6E_Pos)
14072#define TIM_CCER_CC6E TIM_CCER_CC6E_Msk
14073#define TIM_CCER_CC6P_Pos (21U)
14074#define TIM_CCER_CC6P_Msk (0x1UL << TIM_CCER_CC6P_Pos)
14075#define TIM_CCER_CC6P TIM_CCER_CC6P_Msk
14078/******************* Bit definition for TIM_CNT register ********************/
14079#define TIM_CNT_CNT_Pos (0U)
14080#define TIM_CNT_CNT_Msk (0xFFFFFFFFUL << TIM_CNT_CNT_Pos)
14081#define TIM_CNT_CNT TIM_CNT_CNT_Msk
14082#define TIM_CNT_UIFCPY_Pos (31U)
14083#define TIM_CNT_UIFCPY_Msk (0x1UL << TIM_CNT_UIFCPY_Pos)
14084#define TIM_CNT_UIFCPY TIM_CNT_UIFCPY_Msk
14086/******************* Bit definition for TIM_PSC register ********************/
14087#define TIM_PSC_PSC_Pos (0U)
14088#define TIM_PSC_PSC_Msk (0xFFFFUL << TIM_PSC_PSC_Pos)
14089#define TIM_PSC_PSC TIM_PSC_PSC_Msk
14091/******************* Bit definition for TIM_ARR register ********************/
14092#define TIM_ARR_ARR_Pos (0U)
14093#define TIM_ARR_ARR_Msk (0xFFFFFFFFUL << TIM_ARR_ARR_Pos)
14094#define TIM_ARR_ARR TIM_ARR_ARR_Msk
14096/******************* Bit definition for TIM_RCR register ********************/
14097#define TIM_RCR_REP_Pos (0U)
14098#define TIM_RCR_REP_Msk (0xFFFFUL << TIM_RCR_REP_Pos)
14099#define TIM_RCR_REP TIM_RCR_REP_Msk
14101/******************* Bit definition for TIM_CCR1 register *******************/
14102#define TIM_CCR1_CCR1_Pos (0U)
14103#define TIM_CCR1_CCR1_Msk (0xFFFFUL << TIM_CCR1_CCR1_Pos)
14104#define TIM_CCR1_CCR1 TIM_CCR1_CCR1_Msk
14106/******************* Bit definition for TIM_CCR2 register *******************/
14107#define TIM_CCR2_CCR2_Pos (0U)
14108#define TIM_CCR2_CCR2_Msk (0xFFFFUL << TIM_CCR2_CCR2_Pos)
14109#define TIM_CCR2_CCR2 TIM_CCR2_CCR2_Msk
14111/******************* Bit definition for TIM_CCR3 register *******************/
14112#define TIM_CCR3_CCR3_Pos (0U)
14113#define TIM_CCR3_CCR3_Msk (0xFFFFUL << TIM_CCR3_CCR3_Pos)
14114#define TIM_CCR3_CCR3 TIM_CCR3_CCR3_Msk
14116/******************* Bit definition for TIM_CCR4 register *******************/
14117#define TIM_CCR4_CCR4_Pos (0U)
14118#define TIM_CCR4_CCR4_Msk (0xFFFFUL << TIM_CCR4_CCR4_Pos)
14119#define TIM_CCR4_CCR4 TIM_CCR4_CCR4_Msk
14121/******************* Bit definition for TIM_BDTR register *******************/
14122#define TIM_BDTR_DTG_Pos (0U)
14123#define TIM_BDTR_DTG_Msk (0xFFUL << TIM_BDTR_DTG_Pos)
14124#define TIM_BDTR_DTG TIM_BDTR_DTG_Msk
14125#define TIM_BDTR_DTG_0 (0x01UL << TIM_BDTR_DTG_Pos)
14126#define TIM_BDTR_DTG_1 (0x02UL << TIM_BDTR_DTG_Pos)
14127#define TIM_BDTR_DTG_2 (0x04UL << TIM_BDTR_DTG_Pos)
14128#define TIM_BDTR_DTG_3 (0x08UL << TIM_BDTR_DTG_Pos)
14129#define TIM_BDTR_DTG_4 (0x10UL << TIM_BDTR_DTG_Pos)
14130#define TIM_BDTR_DTG_5 (0x20UL << TIM_BDTR_DTG_Pos)
14131#define TIM_BDTR_DTG_6 (0x40UL << TIM_BDTR_DTG_Pos)
14132#define TIM_BDTR_DTG_7 (0x80UL << TIM_BDTR_DTG_Pos)
14134#define TIM_BDTR_LOCK_Pos (8U)
14135#define TIM_BDTR_LOCK_Msk (0x3UL << TIM_BDTR_LOCK_Pos)
14136#define TIM_BDTR_LOCK TIM_BDTR_LOCK_Msk
14137#define TIM_BDTR_LOCK_0 (0x1UL << TIM_BDTR_LOCK_Pos)
14138#define TIM_BDTR_LOCK_1 (0x2UL << TIM_BDTR_LOCK_Pos)
14140#define TIM_BDTR_OSSI_Pos (10U)
14141#define TIM_BDTR_OSSI_Msk (0x1UL << TIM_BDTR_OSSI_Pos)
14142#define TIM_BDTR_OSSI TIM_BDTR_OSSI_Msk
14143#define TIM_BDTR_OSSR_Pos (11U)
14144#define TIM_BDTR_OSSR_Msk (0x1UL << TIM_BDTR_OSSR_Pos)
14145#define TIM_BDTR_OSSR TIM_BDTR_OSSR_Msk
14146#define TIM_BDTR_BKE_Pos (12U)
14147#define TIM_BDTR_BKE_Msk (0x1UL << TIM_BDTR_BKE_Pos)
14148#define TIM_BDTR_BKE TIM_BDTR_BKE_Msk
14149#define TIM_BDTR_BKP_Pos (13U)
14150#define TIM_BDTR_BKP_Msk (0x1UL << TIM_BDTR_BKP_Pos)
14151#define TIM_BDTR_BKP TIM_BDTR_BKP_Msk
14152#define TIM_BDTR_AOE_Pos (14U)
14153#define TIM_BDTR_AOE_Msk (0x1UL << TIM_BDTR_AOE_Pos)
14154#define TIM_BDTR_AOE TIM_BDTR_AOE_Msk
14155#define TIM_BDTR_MOE_Pos (15U)
14156#define TIM_BDTR_MOE_Msk (0x1UL << TIM_BDTR_MOE_Pos)
14157#define TIM_BDTR_MOE TIM_BDTR_MOE_Msk
14158#define TIM_BDTR_BKF_Pos (16U)
14159#define TIM_BDTR_BKF_Msk (0xFUL << TIM_BDTR_BKF_Pos)
14160#define TIM_BDTR_BKF TIM_BDTR_BKF_Msk
14161#define TIM_BDTR_BK2F_Pos (20U)
14162#define TIM_BDTR_BK2F_Msk (0xFUL << TIM_BDTR_BK2F_Pos)
14163#define TIM_BDTR_BK2F TIM_BDTR_BK2F_Msk
14164#define TIM_BDTR_BK2E_Pos (24U)
14165#define TIM_BDTR_BK2E_Msk (0x1UL << TIM_BDTR_BK2E_Pos)
14166#define TIM_BDTR_BK2E TIM_BDTR_BK2E_Msk
14167#define TIM_BDTR_BK2P_Pos (25U)
14168#define TIM_BDTR_BK2P_Msk (0x1UL << TIM_BDTR_BK2P_Pos)
14169#define TIM_BDTR_BK2P TIM_BDTR_BK2P_Msk
14171/******************* Bit definition for TIM_DCR register ********************/
14172#define TIM_DCR_DBA_Pos (0U)
14173#define TIM_DCR_DBA_Msk (0x1FUL << TIM_DCR_DBA_Pos)
14174#define TIM_DCR_DBA TIM_DCR_DBA_Msk
14175#define TIM_DCR_DBA_0 (0x01UL << TIM_DCR_DBA_Pos)
14176#define TIM_DCR_DBA_1 (0x02UL << TIM_DCR_DBA_Pos)
14177#define TIM_DCR_DBA_2 (0x04UL << TIM_DCR_DBA_Pos)
14178#define TIM_DCR_DBA_3 (0x08UL << TIM_DCR_DBA_Pos)
14179#define TIM_DCR_DBA_4 (0x10UL << TIM_DCR_DBA_Pos)
14181#define TIM_DCR_DBL_Pos (8U)
14182#define TIM_DCR_DBL_Msk (0x1FUL << TIM_DCR_DBL_Pos)
14183#define TIM_DCR_DBL TIM_DCR_DBL_Msk
14184#define TIM_DCR_DBL_0 (0x01UL << TIM_DCR_DBL_Pos)
14185#define TIM_DCR_DBL_1 (0x02UL << TIM_DCR_DBL_Pos)
14186#define TIM_DCR_DBL_2 (0x04UL << TIM_DCR_DBL_Pos)
14187#define TIM_DCR_DBL_3 (0x08UL << TIM_DCR_DBL_Pos)
14188#define TIM_DCR_DBL_4 (0x10UL << TIM_DCR_DBL_Pos)
14190/******************* Bit definition for TIM_DMAR register *******************/
14191#define TIM_DMAR_DMAB_Pos (0U)
14192#define TIM_DMAR_DMAB_Msk (0xFFFFUL << TIM_DMAR_DMAB_Pos)
14193#define TIM_DMAR_DMAB TIM_DMAR_DMAB_Msk
14195/******************* Bit definition for TIM_OR regiter *********************/
14196#define TIM_OR_TI4_RMP_Pos (6U)
14197#define TIM_OR_TI4_RMP_Msk (0x3UL << TIM_OR_TI4_RMP_Pos)
14198#define TIM_OR_TI4_RMP TIM_OR_TI4_RMP_Msk
14199#define TIM_OR_TI4_RMP_0 (0x1UL << TIM_OR_TI4_RMP_Pos)
14200#define TIM_OR_TI4_RMP_1 (0x2UL << TIM_OR_TI4_RMP_Pos)
14201#define TIM_OR_ITR1_RMP_Pos (10U)
14202#define TIM_OR_ITR1_RMP_Msk (0x3UL << TIM_OR_ITR1_RMP_Pos)
14203#define TIM_OR_ITR1_RMP TIM_OR_ITR1_RMP_Msk
14204#define TIM_OR_ITR1_RMP_0 (0x1UL << TIM_OR_ITR1_RMP_Pos)
14205#define TIM_OR_ITR1_RMP_1 (0x2UL << TIM_OR_ITR1_RMP_Pos)
14207/******************* Bit definition for TIM2_OR register *******************/
14208#define TIM2_OR_ITR1_RMP_Pos (10U)
14209#define TIM2_OR_ITR1_RMP_Msk (0x3UL << TIM2_OR_ITR1_RMP_Pos)
14210#define TIM2_OR_ITR1_RMP TIM2_OR_ITR1_RMP_Msk
14211#define TIM2_OR_ITR1_RMP_0 (0x1UL << TIM2_OR_ITR1_RMP_Pos)
14212#define TIM2_OR_ITR1_RMP_1 (0x2UL << TIM2_OR_ITR1_RMP_Pos)
14214/******************* Bit definition for TIM5_OR register *******************/
14215#define TIM5_OR_TI4_RMP_Pos (6U)
14216#define TIM5_OR_TI4_RMP_Msk (0x3UL << TIM5_OR_TI4_RMP_Pos)
14217#define TIM5_OR_TI4_RMP TIM5_OR_TI4_RMP_Msk
14218#define TIM5_OR_TI4_RMP_0 (0x1UL << TIM5_OR_TI4_RMP_Pos)
14219#define TIM5_OR_TI4_RMP_1 (0x2UL << TIM5_OR_TI4_RMP_Pos)
14221/******************* Bit definition for TIM11_OR register *******************/
14222#define TIM11_OR_TI1_RMP_Pos (0U)
14223#define TIM11_OR_TI1_RMP_Msk (0x3UL << TIM11_OR_TI1_RMP_Pos)
14224#define TIM11_OR_TI1_RMP TIM11_OR_TI1_RMP_Msk
14225#define TIM11_OR_TI1_RMP_0 (0x1UL << TIM11_OR_TI1_RMP_Pos)
14226#define TIM11_OR_TI1_RMP_1 (0x2UL << TIM11_OR_TI1_RMP_Pos)
14228/****************** Bit definition for TIM_CCMR3 register *******************/
14229#define TIM_CCMR3_OC5FE_Pos (2U)
14230#define TIM_CCMR3_OC5FE_Msk (0x1UL << TIM_CCMR3_OC5FE_Pos)
14231#define TIM_CCMR3_OC5FE TIM_CCMR3_OC5FE_Msk
14232#define TIM_CCMR3_OC5PE_Pos (3U)
14233#define TIM_CCMR3_OC5PE_Msk (0x1UL << TIM_CCMR3_OC5PE_Pos)
14234#define TIM_CCMR3_OC5PE TIM_CCMR3_OC5PE_Msk
14236#define TIM_CCMR3_OC5M_Pos (4U)
14237#define TIM_CCMR3_OC5M_Msk (0x1007UL << TIM_CCMR3_OC5M_Pos)
14238#define TIM_CCMR3_OC5M TIM_CCMR3_OC5M_Msk
14239#define TIM_CCMR3_OC5M_0 (0x0001UL << TIM_CCMR3_OC5M_Pos)
14240#define TIM_CCMR3_OC5M_1 (0x0002UL << TIM_CCMR3_OC5M_Pos)
14241#define TIM_CCMR3_OC5M_2 (0x0004UL << TIM_CCMR3_OC5M_Pos)
14242#define TIM_CCMR3_OC5M_3 (0x1000UL << TIM_CCMR3_OC5M_Pos)
14244#define TIM_CCMR3_OC5CE_Pos (7U)
14245#define TIM_CCMR3_OC5CE_Msk (0x1UL << TIM_CCMR3_OC5CE_Pos)
14246#define TIM_CCMR3_OC5CE TIM_CCMR3_OC5CE_Msk
14248#define TIM_CCMR3_OC6FE_Pos (10U)
14249#define TIM_CCMR3_OC6FE_Msk (0x1UL << TIM_CCMR3_OC6FE_Pos)
14250#define TIM_CCMR3_OC6FE TIM_CCMR3_OC6FE_Msk
14251#define TIM_CCMR3_OC6PE_Pos (11U)
14252#define TIM_CCMR3_OC6PE_Msk (0x1UL << TIM_CCMR3_OC6PE_Pos)
14253#define TIM_CCMR3_OC6PE TIM_CCMR3_OC6PE_Msk
14255#define TIM_CCMR3_OC6M_Pos (12U)
14256#define TIM_CCMR3_OC6M_Msk (0x1007UL << TIM_CCMR3_OC6M_Pos)
14257#define TIM_CCMR3_OC6M TIM_CCMR3_OC6M_Msk
14258#define TIM_CCMR3_OC6M_0 (0x0001UL << TIM_CCMR3_OC6M_Pos)
14259#define TIM_CCMR3_OC6M_1 (0x0002UL << TIM_CCMR3_OC6M_Pos)
14260#define TIM_CCMR3_OC6M_2 (0x0004UL << TIM_CCMR3_OC6M_Pos)
14261#define TIM_CCMR3_OC6M_3 (0x1000UL << TIM_CCMR3_OC6M_Pos)
14263#define TIM_CCMR3_OC6CE_Pos (15U)
14264#define TIM_CCMR3_OC6CE_Msk (0x1UL << TIM_CCMR3_OC6CE_Pos)
14265#define TIM_CCMR3_OC6CE TIM_CCMR3_OC6CE_Msk
14267/******************* Bit definition for TIM_CCR5 register *******************/
14268#define TIM_CCR5_CCR5_Pos (0U)
14269#define TIM_CCR5_CCR5_Msk (0xFFFFFFFFUL << TIM_CCR5_CCR5_Pos)
14270#define TIM_CCR5_CCR5 TIM_CCR5_CCR5_Msk
14271#define TIM_CCR5_GC5C1_Pos (29U)
14272#define TIM_CCR5_GC5C1_Msk (0x1UL << TIM_CCR5_GC5C1_Pos)
14273#define TIM_CCR5_GC5C1 TIM_CCR5_GC5C1_Msk
14274#define TIM_CCR5_GC5C2_Pos (30U)
14275#define TIM_CCR5_GC5C2_Msk (0x1UL << TIM_CCR5_GC5C2_Pos)
14276#define TIM_CCR5_GC5C2 TIM_CCR5_GC5C2_Msk
14277#define TIM_CCR5_GC5C3_Pos (31U)
14278#define TIM_CCR5_GC5C3_Msk (0x1UL << TIM_CCR5_GC5C3_Pos)
14279#define TIM_CCR5_GC5C3 TIM_CCR5_GC5C3_Msk
14281/******************* Bit definition for TIM_CCR6 register *******************/
14282#define TIM_CCR6_CCR6 ((uint16_t)0xFFFFU)
14285/******************************************************************************/
14286/* */
14287/* Low Power Timer (LPTIM) */
14288/* */
14289/******************************************************************************/
14290/****************** Bit definition for LPTIM_ISR register *******************/
14291#define LPTIM_ISR_CMPM_Pos (0U)
14292#define LPTIM_ISR_CMPM_Msk (0x1UL << LPTIM_ISR_CMPM_Pos)
14293#define LPTIM_ISR_CMPM LPTIM_ISR_CMPM_Msk
14294#define LPTIM_ISR_ARRM_Pos (1U)
14295#define LPTIM_ISR_ARRM_Msk (0x1UL << LPTIM_ISR_ARRM_Pos)
14296#define LPTIM_ISR_ARRM LPTIM_ISR_ARRM_Msk
14297#define LPTIM_ISR_EXTTRIG_Pos (2U)
14298#define LPTIM_ISR_EXTTRIG_Msk (0x1UL << LPTIM_ISR_EXTTRIG_Pos)
14299#define LPTIM_ISR_EXTTRIG LPTIM_ISR_EXTTRIG_Msk
14300#define LPTIM_ISR_CMPOK_Pos (3U)
14301#define LPTIM_ISR_CMPOK_Msk (0x1UL << LPTIM_ISR_CMPOK_Pos)
14302#define LPTIM_ISR_CMPOK LPTIM_ISR_CMPOK_Msk
14303#define LPTIM_ISR_ARROK_Pos (4U)
14304#define LPTIM_ISR_ARROK_Msk (0x1UL << LPTIM_ISR_ARROK_Pos)
14305#define LPTIM_ISR_ARROK LPTIM_ISR_ARROK_Msk
14306#define LPTIM_ISR_UP_Pos (5U)
14307#define LPTIM_ISR_UP_Msk (0x1UL << LPTIM_ISR_UP_Pos)
14308#define LPTIM_ISR_UP LPTIM_ISR_UP_Msk
14309#define LPTIM_ISR_DOWN_Pos (6U)
14310#define LPTIM_ISR_DOWN_Msk (0x1UL << LPTIM_ISR_DOWN_Pos)
14311#define LPTIM_ISR_DOWN LPTIM_ISR_DOWN_Msk
14313/****************** Bit definition for LPTIM_ICR register *******************/
14314#define LPTIM_ICR_CMPMCF_Pos (0U)
14315#define LPTIM_ICR_CMPMCF_Msk (0x1UL << LPTIM_ICR_CMPMCF_Pos)
14316#define LPTIM_ICR_CMPMCF LPTIM_ICR_CMPMCF_Msk
14317#define LPTIM_ICR_ARRMCF_Pos (1U)
14318#define LPTIM_ICR_ARRMCF_Msk (0x1UL << LPTIM_ICR_ARRMCF_Pos)
14319#define LPTIM_ICR_ARRMCF LPTIM_ICR_ARRMCF_Msk
14320#define LPTIM_ICR_EXTTRIGCF_Pos (2U)
14321#define LPTIM_ICR_EXTTRIGCF_Msk (0x1UL << LPTIM_ICR_EXTTRIGCF_Pos)
14322#define LPTIM_ICR_EXTTRIGCF LPTIM_ICR_EXTTRIGCF_Msk
14323#define LPTIM_ICR_CMPOKCF_Pos (3U)
14324#define LPTIM_ICR_CMPOKCF_Msk (0x1UL << LPTIM_ICR_CMPOKCF_Pos)
14325#define LPTIM_ICR_CMPOKCF LPTIM_ICR_CMPOKCF_Msk
14326#define LPTIM_ICR_ARROKCF_Pos (4U)
14327#define LPTIM_ICR_ARROKCF_Msk (0x1UL << LPTIM_ICR_ARROKCF_Pos)
14328#define LPTIM_ICR_ARROKCF LPTIM_ICR_ARROKCF_Msk
14329#define LPTIM_ICR_UPCF_Pos (5U)
14330#define LPTIM_ICR_UPCF_Msk (0x1UL << LPTIM_ICR_UPCF_Pos)
14331#define LPTIM_ICR_UPCF LPTIM_ICR_UPCF_Msk
14332#define LPTIM_ICR_DOWNCF_Pos (6U)
14333#define LPTIM_ICR_DOWNCF_Msk (0x1UL << LPTIM_ICR_DOWNCF_Pos)
14334#define LPTIM_ICR_DOWNCF LPTIM_ICR_DOWNCF_Msk
14336/****************** Bit definition for LPTIM_IER register *******************/
14337#define LPTIM_IER_CMPMIE_Pos (0U)
14338#define LPTIM_IER_CMPMIE_Msk (0x1UL << LPTIM_IER_CMPMIE_Pos)
14339#define LPTIM_IER_CMPMIE LPTIM_IER_CMPMIE_Msk
14340#define LPTIM_IER_ARRMIE_Pos (1U)
14341#define LPTIM_IER_ARRMIE_Msk (0x1UL << LPTIM_IER_ARRMIE_Pos)
14342#define LPTIM_IER_ARRMIE LPTIM_IER_ARRMIE_Msk
14343#define LPTIM_IER_EXTTRIGIE_Pos (2U)
14344#define LPTIM_IER_EXTTRIGIE_Msk (0x1UL << LPTIM_IER_EXTTRIGIE_Pos)
14345#define LPTIM_IER_EXTTRIGIE LPTIM_IER_EXTTRIGIE_Msk
14346#define LPTIM_IER_CMPOKIE_Pos (3U)
14347#define LPTIM_IER_CMPOKIE_Msk (0x1UL << LPTIM_IER_CMPOKIE_Pos)
14348#define LPTIM_IER_CMPOKIE LPTIM_IER_CMPOKIE_Msk
14349#define LPTIM_IER_ARROKIE_Pos (4U)
14350#define LPTIM_IER_ARROKIE_Msk (0x1UL << LPTIM_IER_ARROKIE_Pos)
14351#define LPTIM_IER_ARROKIE LPTIM_IER_ARROKIE_Msk
14352#define LPTIM_IER_UPIE_Pos (5U)
14353#define LPTIM_IER_UPIE_Msk (0x1UL << LPTIM_IER_UPIE_Pos)
14354#define LPTIM_IER_UPIE LPTIM_IER_UPIE_Msk
14355#define LPTIM_IER_DOWNIE_Pos (6U)
14356#define LPTIM_IER_DOWNIE_Msk (0x1UL << LPTIM_IER_DOWNIE_Pos)
14357#define LPTIM_IER_DOWNIE LPTIM_IER_DOWNIE_Msk
14359/****************** Bit definition for LPTIM_CFGR register*******************/
14360#define LPTIM_CFGR_CKSEL_Pos (0U)
14361#define LPTIM_CFGR_CKSEL_Msk (0x1UL << LPTIM_CFGR_CKSEL_Pos)
14362#define LPTIM_CFGR_CKSEL LPTIM_CFGR_CKSEL_Msk
14364#define LPTIM_CFGR_CKPOL_Pos (1U)
14365#define LPTIM_CFGR_CKPOL_Msk (0x3UL << LPTIM_CFGR_CKPOL_Pos)
14366#define LPTIM_CFGR_CKPOL LPTIM_CFGR_CKPOL_Msk
14367#define LPTIM_CFGR_CKPOL_0 (0x1UL << LPTIM_CFGR_CKPOL_Pos)
14368#define LPTIM_CFGR_CKPOL_1 (0x2UL << LPTIM_CFGR_CKPOL_Pos)
14370#define LPTIM_CFGR_CKFLT_Pos (3U)
14371#define LPTIM_CFGR_CKFLT_Msk (0x3UL << LPTIM_CFGR_CKFLT_Pos)
14372#define LPTIM_CFGR_CKFLT LPTIM_CFGR_CKFLT_Msk
14373#define LPTIM_CFGR_CKFLT_0 (0x1UL << LPTIM_CFGR_CKFLT_Pos)
14374#define LPTIM_CFGR_CKFLT_1 (0x2UL << LPTIM_CFGR_CKFLT_Pos)
14376#define LPTIM_CFGR_TRGFLT_Pos (6U)
14377#define LPTIM_CFGR_TRGFLT_Msk (0x3UL << LPTIM_CFGR_TRGFLT_Pos)
14378#define LPTIM_CFGR_TRGFLT LPTIM_CFGR_TRGFLT_Msk
14379#define LPTIM_CFGR_TRGFLT_0 (0x1UL << LPTIM_CFGR_TRGFLT_Pos)
14380#define LPTIM_CFGR_TRGFLT_1 (0x2UL << LPTIM_CFGR_TRGFLT_Pos)
14382#define LPTIM_CFGR_PRESC_Pos (9U)
14383#define LPTIM_CFGR_PRESC_Msk (0x7UL << LPTIM_CFGR_PRESC_Pos)
14384#define LPTIM_CFGR_PRESC LPTIM_CFGR_PRESC_Msk
14385#define LPTIM_CFGR_PRESC_0 (0x1UL << LPTIM_CFGR_PRESC_Pos)
14386#define LPTIM_CFGR_PRESC_1 (0x2UL << LPTIM_CFGR_PRESC_Pos)
14387#define LPTIM_CFGR_PRESC_2 (0x4UL << LPTIM_CFGR_PRESC_Pos)
14389#define LPTIM_CFGR_TRIGSEL_Pos (13U)
14390#define LPTIM_CFGR_TRIGSEL_Msk (0x7UL << LPTIM_CFGR_TRIGSEL_Pos)
14391#define LPTIM_CFGR_TRIGSEL LPTIM_CFGR_TRIGSEL_Msk
14392#define LPTIM_CFGR_TRIGSEL_0 (0x1UL << LPTIM_CFGR_TRIGSEL_Pos)
14393#define LPTIM_CFGR_TRIGSEL_1 (0x2UL << LPTIM_CFGR_TRIGSEL_Pos)
14394#define LPTIM_CFGR_TRIGSEL_2 (0x4UL << LPTIM_CFGR_TRIGSEL_Pos)
14396#define LPTIM_CFGR_TRIGEN_Pos (17U)
14397#define LPTIM_CFGR_TRIGEN_Msk (0x3UL << LPTIM_CFGR_TRIGEN_Pos)
14398#define LPTIM_CFGR_TRIGEN LPTIM_CFGR_TRIGEN_Msk
14399#define LPTIM_CFGR_TRIGEN_0 (0x1UL << LPTIM_CFGR_TRIGEN_Pos)
14400#define LPTIM_CFGR_TRIGEN_1 (0x2UL << LPTIM_CFGR_TRIGEN_Pos)
14402#define LPTIM_CFGR_TIMOUT_Pos (19U)
14403#define LPTIM_CFGR_TIMOUT_Msk (0x1UL << LPTIM_CFGR_TIMOUT_Pos)
14404#define LPTIM_CFGR_TIMOUT LPTIM_CFGR_TIMOUT_Msk
14405#define LPTIM_CFGR_WAVE_Pos (20U)
14406#define LPTIM_CFGR_WAVE_Msk (0x1UL << LPTIM_CFGR_WAVE_Pos)
14407#define LPTIM_CFGR_WAVE LPTIM_CFGR_WAVE_Msk
14408#define LPTIM_CFGR_WAVPOL_Pos (21U)
14409#define LPTIM_CFGR_WAVPOL_Msk (0x1UL << LPTIM_CFGR_WAVPOL_Pos)
14410#define LPTIM_CFGR_WAVPOL LPTIM_CFGR_WAVPOL_Msk
14411#define LPTIM_CFGR_PRELOAD_Pos (22U)
14412#define LPTIM_CFGR_PRELOAD_Msk (0x1UL << LPTIM_CFGR_PRELOAD_Pos)
14413#define LPTIM_CFGR_PRELOAD LPTIM_CFGR_PRELOAD_Msk
14414#define LPTIM_CFGR_COUNTMODE_Pos (23U)
14415#define LPTIM_CFGR_COUNTMODE_Msk (0x1UL << LPTIM_CFGR_COUNTMODE_Pos)
14416#define LPTIM_CFGR_COUNTMODE LPTIM_CFGR_COUNTMODE_Msk
14417#define LPTIM_CFGR_ENC_Pos (24U)
14418#define LPTIM_CFGR_ENC_Msk (0x1UL << LPTIM_CFGR_ENC_Pos)
14419#define LPTIM_CFGR_ENC LPTIM_CFGR_ENC_Msk
14421/****************** Bit definition for LPTIM_CR register ********************/
14422#define LPTIM_CR_ENABLE_Pos (0U)
14423#define LPTIM_CR_ENABLE_Msk (0x1UL << LPTIM_CR_ENABLE_Pos)
14424#define LPTIM_CR_ENABLE LPTIM_CR_ENABLE_Msk
14425#define LPTIM_CR_SNGSTRT_Pos (1U)
14426#define LPTIM_CR_SNGSTRT_Msk (0x1UL << LPTIM_CR_SNGSTRT_Pos)
14427#define LPTIM_CR_SNGSTRT LPTIM_CR_SNGSTRT_Msk
14428#define LPTIM_CR_CNTSTRT_Pos (2U)
14429#define LPTIM_CR_CNTSTRT_Msk (0x1UL << LPTIM_CR_CNTSTRT_Pos)
14430#define LPTIM_CR_CNTSTRT LPTIM_CR_CNTSTRT_Msk
14432/****************** Bit definition for LPTIM_CMP register *******************/
14433#define LPTIM_CMP_CMP_Pos (0U)
14434#define LPTIM_CMP_CMP_Msk (0xFFFFUL << LPTIM_CMP_CMP_Pos)
14435#define LPTIM_CMP_CMP LPTIM_CMP_CMP_Msk
14437/****************** Bit definition for LPTIM_ARR register *******************/
14438#define LPTIM_ARR_ARR_Pos (0U)
14439#define LPTIM_ARR_ARR_Msk (0xFFFFUL << LPTIM_ARR_ARR_Pos)
14440#define LPTIM_ARR_ARR LPTIM_ARR_ARR_Msk
14442/****************** Bit definition for LPTIM_CNT register *******************/
14443#define LPTIM_CNT_CNT_Pos (0U)
14444#define LPTIM_CNT_CNT_Msk (0xFFFFUL << LPTIM_CNT_CNT_Pos)
14445#define LPTIM_CNT_CNT LPTIM_CNT_CNT_Msk
14446/******************************************************************************/
14447/* */
14448/* Universal Synchronous Asynchronous Receiver Transmitter (USART) */
14449/* */
14450/******************************************************************************/
14451/****************** Bit definition for USART_CR1 register *******************/
14452#define USART_CR1_UE_Pos (0U)
14453#define USART_CR1_UE_Msk (0x1UL << USART_CR1_UE_Pos)
14454#define USART_CR1_UE USART_CR1_UE_Msk
14455#define USART_CR1_RE_Pos (2U)
14456#define USART_CR1_RE_Msk (0x1UL << USART_CR1_RE_Pos)
14457#define USART_CR1_RE USART_CR1_RE_Msk
14458#define USART_CR1_TE_Pos (3U)
14459#define USART_CR1_TE_Msk (0x1UL << USART_CR1_TE_Pos)
14460#define USART_CR1_TE USART_CR1_TE_Msk
14461#define USART_CR1_IDLEIE_Pos (4U)
14462#define USART_CR1_IDLEIE_Msk (0x1UL << USART_CR1_IDLEIE_Pos)
14463#define USART_CR1_IDLEIE USART_CR1_IDLEIE_Msk
14464#define USART_CR1_RXNEIE_Pos (5U)
14465#define USART_CR1_RXNEIE_Msk (0x1UL << USART_CR1_RXNEIE_Pos)
14466#define USART_CR1_RXNEIE USART_CR1_RXNEIE_Msk
14467#define USART_CR1_TCIE_Pos (6U)
14468#define USART_CR1_TCIE_Msk (0x1UL << USART_CR1_TCIE_Pos)
14469#define USART_CR1_TCIE USART_CR1_TCIE_Msk
14470#define USART_CR1_TXEIE_Pos (7U)
14471#define USART_CR1_TXEIE_Msk (0x1UL << USART_CR1_TXEIE_Pos)
14472#define USART_CR1_TXEIE USART_CR1_TXEIE_Msk
14473#define USART_CR1_PEIE_Pos (8U)
14474#define USART_CR1_PEIE_Msk (0x1UL << USART_CR1_PEIE_Pos)
14475#define USART_CR1_PEIE USART_CR1_PEIE_Msk
14476#define USART_CR1_PS_Pos (9U)
14477#define USART_CR1_PS_Msk (0x1UL << USART_CR1_PS_Pos)
14478#define USART_CR1_PS USART_CR1_PS_Msk
14479#define USART_CR1_PCE_Pos (10U)
14480#define USART_CR1_PCE_Msk (0x1UL << USART_CR1_PCE_Pos)
14481#define USART_CR1_PCE USART_CR1_PCE_Msk
14482#define USART_CR1_WAKE_Pos (11U)
14483#define USART_CR1_WAKE_Msk (0x1UL << USART_CR1_WAKE_Pos)
14484#define USART_CR1_WAKE USART_CR1_WAKE_Msk
14485#define USART_CR1_M_Pos (12U)
14486#define USART_CR1_M_Msk (0x10001UL << USART_CR1_M_Pos)
14487#define USART_CR1_M USART_CR1_M_Msk
14488#define USART_CR1_M0 (0x00001UL << USART_CR1_M_Pos)
14489#define USART_CR1_MME_Pos (13U)
14490#define USART_CR1_MME_Msk (0x1UL << USART_CR1_MME_Pos)
14491#define USART_CR1_MME USART_CR1_MME_Msk
14492#define USART_CR1_CMIE_Pos (14U)
14493#define USART_CR1_CMIE_Msk (0x1UL << USART_CR1_CMIE_Pos)
14494#define USART_CR1_CMIE USART_CR1_CMIE_Msk
14495#define USART_CR1_OVER8_Pos (15U)
14496#define USART_CR1_OVER8_Msk (0x1UL << USART_CR1_OVER8_Pos)
14497#define USART_CR1_OVER8 USART_CR1_OVER8_Msk
14498#define USART_CR1_DEDT_Pos (16U)
14499#define USART_CR1_DEDT_Msk (0x1FUL << USART_CR1_DEDT_Pos)
14500#define USART_CR1_DEDT USART_CR1_DEDT_Msk
14501#define USART_CR1_DEDT_0 (0x01UL << USART_CR1_DEDT_Pos)
14502#define USART_CR1_DEDT_1 (0x02UL << USART_CR1_DEDT_Pos)
14503#define USART_CR1_DEDT_2 (0x04UL << USART_CR1_DEDT_Pos)
14504#define USART_CR1_DEDT_3 (0x08UL << USART_CR1_DEDT_Pos)
14505#define USART_CR1_DEDT_4 (0x10UL << USART_CR1_DEDT_Pos)
14506#define USART_CR1_DEAT_Pos (21U)
14507#define USART_CR1_DEAT_Msk (0x1FUL << USART_CR1_DEAT_Pos)
14508#define USART_CR1_DEAT USART_CR1_DEAT_Msk
14509#define USART_CR1_DEAT_0 (0x01UL << USART_CR1_DEAT_Pos)
14510#define USART_CR1_DEAT_1 (0x02UL << USART_CR1_DEAT_Pos)
14511#define USART_CR1_DEAT_2 (0x04UL << USART_CR1_DEAT_Pos)
14512#define USART_CR1_DEAT_3 (0x08UL << USART_CR1_DEAT_Pos)
14513#define USART_CR1_DEAT_4 (0x10UL << USART_CR1_DEAT_Pos)
14514#define USART_CR1_RTOIE_Pos (26U)
14515#define USART_CR1_RTOIE_Msk (0x1UL << USART_CR1_RTOIE_Pos)
14516#define USART_CR1_RTOIE USART_CR1_RTOIE_Msk
14517#define USART_CR1_EOBIE_Pos (27U)
14518#define USART_CR1_EOBIE_Msk (0x1UL << USART_CR1_EOBIE_Pos)
14519#define USART_CR1_EOBIE USART_CR1_EOBIE_Msk
14520#define USART_CR1_M1 0x10000000U
14522/* Legacy defines */
14523#define USART_CR1_M_0 USART_CR1_M0
14524#define USART_CR1_M_1 USART_CR1_M1
14526/****************** Bit definition for USART_CR2 register *******************/
14527#define USART_CR2_ADDM7_Pos (4U)
14528#define USART_CR2_ADDM7_Msk (0x1UL << USART_CR2_ADDM7_Pos)
14529#define USART_CR2_ADDM7 USART_CR2_ADDM7_Msk
14530#define USART_CR2_LBDL_Pos (5U)
14531#define USART_CR2_LBDL_Msk (0x1UL << USART_CR2_LBDL_Pos)
14532#define USART_CR2_LBDL USART_CR2_LBDL_Msk
14533#define USART_CR2_LBDIE_Pos (6U)
14534#define USART_CR2_LBDIE_Msk (0x1UL << USART_CR2_LBDIE_Pos)
14535#define USART_CR2_LBDIE USART_CR2_LBDIE_Msk
14536#define USART_CR2_LBCL_Pos (8U)
14537#define USART_CR2_LBCL_Msk (0x1UL << USART_CR2_LBCL_Pos)
14538#define USART_CR2_LBCL USART_CR2_LBCL_Msk
14539#define USART_CR2_CPHA_Pos (9U)
14540#define USART_CR2_CPHA_Msk (0x1UL << USART_CR2_CPHA_Pos)
14541#define USART_CR2_CPHA USART_CR2_CPHA_Msk
14542#define USART_CR2_CPOL_Pos (10U)
14543#define USART_CR2_CPOL_Msk (0x1UL << USART_CR2_CPOL_Pos)
14544#define USART_CR2_CPOL USART_CR2_CPOL_Msk
14545#define USART_CR2_CLKEN_Pos (11U)
14546#define USART_CR2_CLKEN_Msk (0x1UL << USART_CR2_CLKEN_Pos)
14547#define USART_CR2_CLKEN USART_CR2_CLKEN_Msk
14548#define USART_CR2_STOP_Pos (12U)
14549#define USART_CR2_STOP_Msk (0x3UL << USART_CR2_STOP_Pos)
14550#define USART_CR2_STOP USART_CR2_STOP_Msk
14551#define USART_CR2_STOP_0 (0x1UL << USART_CR2_STOP_Pos)
14552#define USART_CR2_STOP_1 (0x2UL << USART_CR2_STOP_Pos)
14553#define USART_CR2_LINEN_Pos (14U)
14554#define USART_CR2_LINEN_Msk (0x1UL << USART_CR2_LINEN_Pos)
14555#define USART_CR2_LINEN USART_CR2_LINEN_Msk
14556#define USART_CR2_SWAP_Pos (15U)
14557#define USART_CR2_SWAP_Msk (0x1UL << USART_CR2_SWAP_Pos)
14558#define USART_CR2_SWAP USART_CR2_SWAP_Msk
14559#define USART_CR2_RXINV_Pos (16U)
14560#define USART_CR2_RXINV_Msk (0x1UL << USART_CR2_RXINV_Pos)
14561#define USART_CR2_RXINV USART_CR2_RXINV_Msk
14562#define USART_CR2_TXINV_Pos (17U)
14563#define USART_CR2_TXINV_Msk (0x1UL << USART_CR2_TXINV_Pos)
14564#define USART_CR2_TXINV USART_CR2_TXINV_Msk
14565#define USART_CR2_DATAINV_Pos (18U)
14566#define USART_CR2_DATAINV_Msk (0x1UL << USART_CR2_DATAINV_Pos)
14567#define USART_CR2_DATAINV USART_CR2_DATAINV_Msk
14568#define USART_CR2_MSBFIRST_Pos (19U)
14569#define USART_CR2_MSBFIRST_Msk (0x1UL << USART_CR2_MSBFIRST_Pos)
14570#define USART_CR2_MSBFIRST USART_CR2_MSBFIRST_Msk
14571#define USART_CR2_ABREN_Pos (20U)
14572#define USART_CR2_ABREN_Msk (0x1UL << USART_CR2_ABREN_Pos)
14573#define USART_CR2_ABREN USART_CR2_ABREN_Msk
14574#define USART_CR2_ABRMODE_Pos (21U)
14575#define USART_CR2_ABRMODE_Msk (0x3UL << USART_CR2_ABRMODE_Pos)
14576#define USART_CR2_ABRMODE USART_CR2_ABRMODE_Msk
14577#define USART_CR2_ABRMODE_0 (0x1UL << USART_CR2_ABRMODE_Pos)
14578#define USART_CR2_ABRMODE_1 (0x2UL << USART_CR2_ABRMODE_Pos)
14579#define USART_CR2_RTOEN_Pos (23U)
14580#define USART_CR2_RTOEN_Msk (0x1UL << USART_CR2_RTOEN_Pos)
14581#define USART_CR2_RTOEN USART_CR2_RTOEN_Msk
14582#define USART_CR2_ADD_Pos (24U)
14583#define USART_CR2_ADD_Msk (0xFFUL << USART_CR2_ADD_Pos)
14584#define USART_CR2_ADD USART_CR2_ADD_Msk
14586/****************** Bit definition for USART_CR3 register *******************/
14587#define USART_CR3_EIE_Pos (0U)
14588#define USART_CR3_EIE_Msk (0x1UL << USART_CR3_EIE_Pos)
14589#define USART_CR3_EIE USART_CR3_EIE_Msk
14590#define USART_CR3_IREN_Pos (1U)
14591#define USART_CR3_IREN_Msk (0x1UL << USART_CR3_IREN_Pos)
14592#define USART_CR3_IREN USART_CR3_IREN_Msk
14593#define USART_CR3_IRLP_Pos (2U)
14594#define USART_CR3_IRLP_Msk (0x1UL << USART_CR3_IRLP_Pos)
14595#define USART_CR3_IRLP USART_CR3_IRLP_Msk
14596#define USART_CR3_HDSEL_Pos (3U)
14597#define USART_CR3_HDSEL_Msk (0x1UL << USART_CR3_HDSEL_Pos)
14598#define USART_CR3_HDSEL USART_CR3_HDSEL_Msk
14599#define USART_CR3_NACK_Pos (4U)
14600#define USART_CR3_NACK_Msk (0x1UL << USART_CR3_NACK_Pos)
14601#define USART_CR3_NACK USART_CR3_NACK_Msk
14602#define USART_CR3_SCEN_Pos (5U)
14603#define USART_CR3_SCEN_Msk (0x1UL << USART_CR3_SCEN_Pos)
14604#define USART_CR3_SCEN USART_CR3_SCEN_Msk
14605#define USART_CR3_DMAR_Pos (6U)
14606#define USART_CR3_DMAR_Msk (0x1UL << USART_CR3_DMAR_Pos)
14607#define USART_CR3_DMAR USART_CR3_DMAR_Msk
14608#define USART_CR3_DMAT_Pos (7U)
14609#define USART_CR3_DMAT_Msk (0x1UL << USART_CR3_DMAT_Pos)
14610#define USART_CR3_DMAT USART_CR3_DMAT_Msk
14611#define USART_CR3_RTSE_Pos (8U)
14612#define USART_CR3_RTSE_Msk (0x1UL << USART_CR3_RTSE_Pos)
14613#define USART_CR3_RTSE USART_CR3_RTSE_Msk
14614#define USART_CR3_CTSE_Pos (9U)
14615#define USART_CR3_CTSE_Msk (0x1UL << USART_CR3_CTSE_Pos)
14616#define USART_CR3_CTSE USART_CR3_CTSE_Msk
14617#define USART_CR3_CTSIE_Pos (10U)
14618#define USART_CR3_CTSIE_Msk (0x1UL << USART_CR3_CTSIE_Pos)
14619#define USART_CR3_CTSIE USART_CR3_CTSIE_Msk
14620#define USART_CR3_ONEBIT_Pos (11U)
14621#define USART_CR3_ONEBIT_Msk (0x1UL << USART_CR3_ONEBIT_Pos)
14622#define USART_CR3_ONEBIT USART_CR3_ONEBIT_Msk
14623#define USART_CR3_OVRDIS_Pos (12U)
14624#define USART_CR3_OVRDIS_Msk (0x1UL << USART_CR3_OVRDIS_Pos)
14625#define USART_CR3_OVRDIS USART_CR3_OVRDIS_Msk
14626#define USART_CR3_DDRE_Pos (13U)
14627#define USART_CR3_DDRE_Msk (0x1UL << USART_CR3_DDRE_Pos)
14628#define USART_CR3_DDRE USART_CR3_DDRE_Msk
14629#define USART_CR3_DEM_Pos (14U)
14630#define USART_CR3_DEM_Msk (0x1UL << USART_CR3_DEM_Pos)
14631#define USART_CR3_DEM USART_CR3_DEM_Msk
14632#define USART_CR3_DEP_Pos (15U)
14633#define USART_CR3_DEP_Msk (0x1UL << USART_CR3_DEP_Pos)
14634#define USART_CR3_DEP USART_CR3_DEP_Msk
14635#define USART_CR3_SCARCNT_Pos (17U)
14636#define USART_CR3_SCARCNT_Msk (0x7UL << USART_CR3_SCARCNT_Pos)
14637#define USART_CR3_SCARCNT USART_CR3_SCARCNT_Msk
14638#define USART_CR3_SCARCNT_0 (0x1UL << USART_CR3_SCARCNT_Pos)
14639#define USART_CR3_SCARCNT_1 (0x2UL << USART_CR3_SCARCNT_Pos)
14640#define USART_CR3_SCARCNT_2 (0x4UL << USART_CR3_SCARCNT_Pos)
14642/****************** Bit definition for USART_BRR register *******************/
14643#define USART_BRR_DIV_FRACTION_Pos (0U)
14644#define USART_BRR_DIV_FRACTION_Msk (0xFUL << USART_BRR_DIV_FRACTION_Pos)
14645#define USART_BRR_DIV_FRACTION USART_BRR_DIV_FRACTION_Msk
14646#define USART_BRR_DIV_MANTISSA_Pos (4U)
14647#define USART_BRR_DIV_MANTISSA_Msk (0xFFFUL << USART_BRR_DIV_MANTISSA_Pos)
14648#define USART_BRR_DIV_MANTISSA USART_BRR_DIV_MANTISSA_Msk
14650/****************** Bit definition for USART_GTPR register ******************/
14651#define USART_GTPR_PSC_Pos (0U)
14652#define USART_GTPR_PSC_Msk (0xFFUL << USART_GTPR_PSC_Pos)
14653#define USART_GTPR_PSC USART_GTPR_PSC_Msk
14654#define USART_GTPR_GT_Pos (8U)
14655#define USART_GTPR_GT_Msk (0xFFUL << USART_GTPR_GT_Pos)
14656#define USART_GTPR_GT USART_GTPR_GT_Msk
14659/******************* Bit definition for USART_RTOR register *****************/
14660#define USART_RTOR_RTO_Pos (0U)
14661#define USART_RTOR_RTO_Msk (0xFFFFFFUL << USART_RTOR_RTO_Pos)
14662#define USART_RTOR_RTO USART_RTOR_RTO_Msk
14663#define USART_RTOR_BLEN_Pos (24U)
14664#define USART_RTOR_BLEN_Msk (0xFFUL << USART_RTOR_BLEN_Pos)
14665#define USART_RTOR_BLEN USART_RTOR_BLEN_Msk
14667/******************* Bit definition for USART_RQR register ******************/
14668#define USART_RQR_ABRRQ_Pos (0U)
14669#define USART_RQR_ABRRQ_Msk (0x1UL << USART_RQR_ABRRQ_Pos)
14670#define USART_RQR_ABRRQ USART_RQR_ABRRQ_Msk
14671#define USART_RQR_SBKRQ_Pos (1U)
14672#define USART_RQR_SBKRQ_Msk (0x1UL << USART_RQR_SBKRQ_Pos)
14673#define USART_RQR_SBKRQ USART_RQR_SBKRQ_Msk
14674#define USART_RQR_MMRQ_Pos (2U)
14675#define USART_RQR_MMRQ_Msk (0x1UL << USART_RQR_MMRQ_Pos)
14676#define USART_RQR_MMRQ USART_RQR_MMRQ_Msk
14677#define USART_RQR_RXFRQ_Pos (3U)
14678#define USART_RQR_RXFRQ_Msk (0x1UL << USART_RQR_RXFRQ_Pos)
14679#define USART_RQR_RXFRQ USART_RQR_RXFRQ_Msk
14680#define USART_RQR_TXFRQ_Pos (4U)
14681#define USART_RQR_TXFRQ_Msk (0x1UL << USART_RQR_TXFRQ_Pos)
14682#define USART_RQR_TXFRQ USART_RQR_TXFRQ_Msk
14684/******************* Bit definition for USART_ISR register ******************/
14685#define USART_ISR_PE_Pos (0U)
14686#define USART_ISR_PE_Msk (0x1UL << USART_ISR_PE_Pos)
14687#define USART_ISR_PE USART_ISR_PE_Msk
14688#define USART_ISR_FE_Pos (1U)
14689#define USART_ISR_FE_Msk (0x1UL << USART_ISR_FE_Pos)
14690#define USART_ISR_FE USART_ISR_FE_Msk
14691#define USART_ISR_NE_Pos (2U)
14692#define USART_ISR_NE_Msk (0x1UL << USART_ISR_NE_Pos)
14693#define USART_ISR_NE USART_ISR_NE_Msk
14694#define USART_ISR_ORE_Pos (3U)
14695#define USART_ISR_ORE_Msk (0x1UL << USART_ISR_ORE_Pos)
14696#define USART_ISR_ORE USART_ISR_ORE_Msk
14697#define USART_ISR_IDLE_Pos (4U)
14698#define USART_ISR_IDLE_Msk (0x1UL << USART_ISR_IDLE_Pos)
14699#define USART_ISR_IDLE USART_ISR_IDLE_Msk
14700#define USART_ISR_RXNE_Pos (5U)
14701#define USART_ISR_RXNE_Msk (0x1UL << USART_ISR_RXNE_Pos)
14702#define USART_ISR_RXNE USART_ISR_RXNE_Msk
14703#define USART_ISR_TC_Pos (6U)
14704#define USART_ISR_TC_Msk (0x1UL << USART_ISR_TC_Pos)
14705#define USART_ISR_TC USART_ISR_TC_Msk
14706#define USART_ISR_TXE_Pos (7U)
14707#define USART_ISR_TXE_Msk (0x1UL << USART_ISR_TXE_Pos)
14708#define USART_ISR_TXE USART_ISR_TXE_Msk
14709#define USART_ISR_LBDF_Pos (8U)
14710#define USART_ISR_LBDF_Msk (0x1UL << USART_ISR_LBDF_Pos)
14711#define USART_ISR_LBDF USART_ISR_LBDF_Msk
14712#define USART_ISR_CTSIF_Pos (9U)
14713#define USART_ISR_CTSIF_Msk (0x1UL << USART_ISR_CTSIF_Pos)
14714#define USART_ISR_CTSIF USART_ISR_CTSIF_Msk
14715#define USART_ISR_CTS_Pos (10U)
14716#define USART_ISR_CTS_Msk (0x1UL << USART_ISR_CTS_Pos)
14717#define USART_ISR_CTS USART_ISR_CTS_Msk
14718#define USART_ISR_RTOF_Pos (11U)
14719#define USART_ISR_RTOF_Msk (0x1UL << USART_ISR_RTOF_Pos)
14720#define USART_ISR_RTOF USART_ISR_RTOF_Msk
14721#define USART_ISR_EOBF_Pos (12U)
14722#define USART_ISR_EOBF_Msk (0x1UL << USART_ISR_EOBF_Pos)
14723#define USART_ISR_EOBF USART_ISR_EOBF_Msk
14724#define USART_ISR_ABRE_Pos (14U)
14725#define USART_ISR_ABRE_Msk (0x1UL << USART_ISR_ABRE_Pos)
14726#define USART_ISR_ABRE USART_ISR_ABRE_Msk
14727#define USART_ISR_ABRF_Pos (15U)
14728#define USART_ISR_ABRF_Msk (0x1UL << USART_ISR_ABRF_Pos)
14729#define USART_ISR_ABRF USART_ISR_ABRF_Msk
14730#define USART_ISR_BUSY_Pos (16U)
14731#define USART_ISR_BUSY_Msk (0x1UL << USART_ISR_BUSY_Pos)
14732#define USART_ISR_BUSY USART_ISR_BUSY_Msk
14733#define USART_ISR_CMF_Pos (17U)
14734#define USART_ISR_CMF_Msk (0x1UL << USART_ISR_CMF_Pos)
14735#define USART_ISR_CMF USART_ISR_CMF_Msk
14736#define USART_ISR_SBKF_Pos (18U)
14737#define USART_ISR_SBKF_Msk (0x1UL << USART_ISR_SBKF_Pos)
14738#define USART_ISR_SBKF USART_ISR_SBKF_Msk
14739#define USART_ISR_RWU_Pos (19U)
14740#define USART_ISR_RWU_Msk (0x1UL << USART_ISR_RWU_Pos)
14741#define USART_ISR_RWU USART_ISR_RWU_Msk
14742#define USART_ISR_TEACK_Pos (21U)
14743#define USART_ISR_TEACK_Msk (0x1UL << USART_ISR_TEACK_Pos)
14744#define USART_ISR_TEACK USART_ISR_TEACK_Msk
14745/* Legacy define */
14746#define USART_ISR_LBD USART_ISR_LBDF
14747
14748/******************* Bit definition for USART_ICR register ******************/
14749#define USART_ICR_PECF_Pos (0U)
14750#define USART_ICR_PECF_Msk (0x1UL << USART_ICR_PECF_Pos)
14751#define USART_ICR_PECF USART_ICR_PECF_Msk
14752#define USART_ICR_FECF_Pos (1U)
14753#define USART_ICR_FECF_Msk (0x1UL << USART_ICR_FECF_Pos)
14754#define USART_ICR_FECF USART_ICR_FECF_Msk
14755#define USART_ICR_NCF_Pos (2U)
14756#define USART_ICR_NCF_Msk (0x1UL << USART_ICR_NCF_Pos)
14757#define USART_ICR_NCF USART_ICR_NCF_Msk
14758#define USART_ICR_ORECF_Pos (3U)
14759#define USART_ICR_ORECF_Msk (0x1UL << USART_ICR_ORECF_Pos)
14760#define USART_ICR_ORECF USART_ICR_ORECF_Msk
14761#define USART_ICR_IDLECF_Pos (4U)
14762#define USART_ICR_IDLECF_Msk (0x1UL << USART_ICR_IDLECF_Pos)
14763#define USART_ICR_IDLECF USART_ICR_IDLECF_Msk
14764#define USART_ICR_TCCF_Pos (6U)
14765#define USART_ICR_TCCF_Msk (0x1UL << USART_ICR_TCCF_Pos)
14766#define USART_ICR_TCCF USART_ICR_TCCF_Msk
14767#define USART_ICR_LBDCF_Pos (8U)
14768#define USART_ICR_LBDCF_Msk (0x1UL << USART_ICR_LBDCF_Pos)
14769#define USART_ICR_LBDCF USART_ICR_LBDCF_Msk
14770#define USART_ICR_CTSCF_Pos (9U)
14771#define USART_ICR_CTSCF_Msk (0x1UL << USART_ICR_CTSCF_Pos)
14772#define USART_ICR_CTSCF USART_ICR_CTSCF_Msk
14773#define USART_ICR_RTOCF_Pos (11U)
14774#define USART_ICR_RTOCF_Msk (0x1UL << USART_ICR_RTOCF_Pos)
14775#define USART_ICR_RTOCF USART_ICR_RTOCF_Msk
14776#define USART_ICR_EOBCF_Pos (12U)
14777#define USART_ICR_EOBCF_Msk (0x1UL << USART_ICR_EOBCF_Pos)
14778#define USART_ICR_EOBCF USART_ICR_EOBCF_Msk
14779#define USART_ICR_CMCF_Pos (17U)
14780#define USART_ICR_CMCF_Msk (0x1UL << USART_ICR_CMCF_Pos)
14781#define USART_ICR_CMCF USART_ICR_CMCF_Msk
14783/******************* Bit definition for USART_RDR register ******************/
14784#define USART_RDR_RDR_Pos (0U)
14785#define USART_RDR_RDR_Msk (0x1FFUL << USART_RDR_RDR_Pos)
14786#define USART_RDR_RDR USART_RDR_RDR_Msk
14788/******************* Bit definition for USART_TDR register ******************/
14789#define USART_TDR_TDR_Pos (0U)
14790#define USART_TDR_TDR_Msk (0x1FFUL << USART_TDR_TDR_Pos)
14791#define USART_TDR_TDR USART_TDR_TDR_Msk
14793/******************************************************************************/
14794/* */
14795/* Window WATCHDOG */
14796/* */
14797/******************************************************************************/
14798/******************* Bit definition for WWDG_CR register ********************/
14799#define WWDG_CR_T_Pos (0U)
14800#define WWDG_CR_T_Msk (0x7FUL << WWDG_CR_T_Pos)
14801#define WWDG_CR_T WWDG_CR_T_Msk
14802#define WWDG_CR_T_0 (0x01UL << WWDG_CR_T_Pos)
14803#define WWDG_CR_T_1 (0x02UL << WWDG_CR_T_Pos)
14804#define WWDG_CR_T_2 (0x04UL << WWDG_CR_T_Pos)
14805#define WWDG_CR_T_3 (0x08UL << WWDG_CR_T_Pos)
14806#define WWDG_CR_T_4 (0x10UL << WWDG_CR_T_Pos)
14807#define WWDG_CR_T_5 (0x20UL << WWDG_CR_T_Pos)
14808#define WWDG_CR_T_6 (0x40UL << WWDG_CR_T_Pos)
14810/* Legacy defines */
14811#define WWDG_CR_T0 WWDG_CR_T_0
14812#define WWDG_CR_T1 WWDG_CR_T_1
14813#define WWDG_CR_T2 WWDG_CR_T_2
14814#define WWDG_CR_T3 WWDG_CR_T_3
14815#define WWDG_CR_T4 WWDG_CR_T_4
14816#define WWDG_CR_T5 WWDG_CR_T_5
14817#define WWDG_CR_T6 WWDG_CR_T_6
14819#define WWDG_CR_WDGA_Pos (7U)
14820#define WWDG_CR_WDGA_Msk (0x1UL << WWDG_CR_WDGA_Pos)
14821#define WWDG_CR_WDGA WWDG_CR_WDGA_Msk
14823/******************* Bit definition for WWDG_CFR register *******************/
14824#define WWDG_CFR_W_Pos (0U)
14825#define WWDG_CFR_W_Msk (0x7FUL << WWDG_CFR_W_Pos)
14826#define WWDG_CFR_W WWDG_CFR_W_Msk
14827#define WWDG_CFR_W_0 (0x01UL << WWDG_CFR_W_Pos)
14828#define WWDG_CFR_W_1 (0x02UL << WWDG_CFR_W_Pos)
14829#define WWDG_CFR_W_2 (0x04UL << WWDG_CFR_W_Pos)
14830#define WWDG_CFR_W_3 (0x08UL << WWDG_CFR_W_Pos)
14831#define WWDG_CFR_W_4 (0x10UL << WWDG_CFR_W_Pos)
14832#define WWDG_CFR_W_5 (0x20UL << WWDG_CFR_W_Pos)
14833#define WWDG_CFR_W_6 (0x40UL << WWDG_CFR_W_Pos)
14835/* Legacy defines */
14836#define WWDG_CFR_W0 WWDG_CFR_W_0
14837#define WWDG_CFR_W1 WWDG_CFR_W_1
14838#define WWDG_CFR_W2 WWDG_CFR_W_2
14839#define WWDG_CFR_W3 WWDG_CFR_W_3
14840#define WWDG_CFR_W4 WWDG_CFR_W_4
14841#define WWDG_CFR_W5 WWDG_CFR_W_5
14842#define WWDG_CFR_W6 WWDG_CFR_W_6
14844#define WWDG_CFR_WDGTB_Pos (7U)
14845#define WWDG_CFR_WDGTB_Msk (0x3UL << WWDG_CFR_WDGTB_Pos)
14846#define WWDG_CFR_WDGTB WWDG_CFR_WDGTB_Msk
14847#define WWDG_CFR_WDGTB_0 (0x1UL << WWDG_CFR_WDGTB_Pos)
14848#define WWDG_CFR_WDGTB_1 (0x2UL << WWDG_CFR_WDGTB_Pos)
14850/* Legacy defines */
14851#define WWDG_CFR_WDGTB0 WWDG_CFR_WDGTB_0
14852#define WWDG_CFR_WDGTB1 WWDG_CFR_WDGTB_1
14854#define WWDG_CFR_EWI_Pos (9U)
14855#define WWDG_CFR_EWI_Msk (0x1UL << WWDG_CFR_EWI_Pos)
14856#define WWDG_CFR_EWI WWDG_CFR_EWI_Msk
14858/******************* Bit definition for WWDG_SR register ********************/
14859#define WWDG_SR_EWIF_Pos (0U)
14860#define WWDG_SR_EWIF_Msk (0x1UL << WWDG_SR_EWIF_Pos)
14861#define WWDG_SR_EWIF WWDG_SR_EWIF_Msk
14863/******************************************************************************/
14864/* */
14865/* DBG */
14866/* */
14867/******************************************************************************/
14868/******************** Bit definition for DBGMCU_IDCODE register *************/
14869#define DBGMCU_IDCODE_DEV_ID_Pos (0U)
14870#define DBGMCU_IDCODE_DEV_ID_Msk (0xFFFUL << DBGMCU_IDCODE_DEV_ID_Pos)
14871#define DBGMCU_IDCODE_DEV_ID DBGMCU_IDCODE_DEV_ID_Msk
14872#define DBGMCU_IDCODE_REV_ID_Pos (16U)
14873#define DBGMCU_IDCODE_REV_ID_Msk (0xFFFFUL << DBGMCU_IDCODE_REV_ID_Pos)
14874#define DBGMCU_IDCODE_REV_ID DBGMCU_IDCODE_REV_ID_Msk
14875
14876/******************** Bit definition for DBGMCU_CR register *****************/
14877#define DBGMCU_CR_DBG_SLEEP_Pos (0U)
14878#define DBGMCU_CR_DBG_SLEEP_Msk (0x1UL << DBGMCU_CR_DBG_SLEEP_Pos)
14879#define DBGMCU_CR_DBG_SLEEP DBGMCU_CR_DBG_SLEEP_Msk
14880#define DBGMCU_CR_DBG_STOP_Pos (1U)
14881#define DBGMCU_CR_DBG_STOP_Msk (0x1UL << DBGMCU_CR_DBG_STOP_Pos)
14882#define DBGMCU_CR_DBG_STOP DBGMCU_CR_DBG_STOP_Msk
14883#define DBGMCU_CR_DBG_STANDBY_Pos (2U)
14884#define DBGMCU_CR_DBG_STANDBY_Msk (0x1UL << DBGMCU_CR_DBG_STANDBY_Pos)
14885#define DBGMCU_CR_DBG_STANDBY DBGMCU_CR_DBG_STANDBY_Msk
14886#define DBGMCU_CR_TRACE_IOEN_Pos (5U)
14887#define DBGMCU_CR_TRACE_IOEN_Msk (0x1UL << DBGMCU_CR_TRACE_IOEN_Pos)
14888#define DBGMCU_CR_TRACE_IOEN DBGMCU_CR_TRACE_IOEN_Msk
14889
14890#define DBGMCU_CR_TRACE_MODE_Pos (6U)
14891#define DBGMCU_CR_TRACE_MODE_Msk (0x3UL << DBGMCU_CR_TRACE_MODE_Pos)
14892#define DBGMCU_CR_TRACE_MODE DBGMCU_CR_TRACE_MODE_Msk
14893#define DBGMCU_CR_TRACE_MODE_0 (0x1UL << DBGMCU_CR_TRACE_MODE_Pos)
14894#define DBGMCU_CR_TRACE_MODE_1 (0x2UL << DBGMCU_CR_TRACE_MODE_Pos)
14896/******************** Bit definition for DBGMCU_APB1_FZ register ************/
14897#define DBGMCU_APB1_FZ_DBG_TIM2_STOP_Pos (0U)
14898#define DBGMCU_APB1_FZ_DBG_TIM2_STOP_Msk (0x1UL << DBGMCU_APB1_FZ_DBG_TIM2_STOP_Pos)
14899#define DBGMCU_APB1_FZ_DBG_TIM2_STOP DBGMCU_APB1_FZ_DBG_TIM2_STOP_Msk
14900#define DBGMCU_APB1_FZ_DBG_TIM3_STOP_Pos (1U)
14901#define DBGMCU_APB1_FZ_DBG_TIM3_STOP_Msk (0x1UL << DBGMCU_APB1_FZ_DBG_TIM3_STOP_Pos)
14902#define DBGMCU_APB1_FZ_DBG_TIM3_STOP DBGMCU_APB1_FZ_DBG_TIM3_STOP_Msk
14903#define DBGMCU_APB1_FZ_DBG_TIM4_STOP_Pos (2U)
14904#define DBGMCU_APB1_FZ_DBG_TIM4_STOP_Msk (0x1UL << DBGMCU_APB1_FZ_DBG_TIM4_STOP_Pos)
14905#define DBGMCU_APB1_FZ_DBG_TIM4_STOP DBGMCU_APB1_FZ_DBG_TIM4_STOP_Msk
14906#define DBGMCU_APB1_FZ_DBG_TIM5_STOP_Pos (3U)
14907#define DBGMCU_APB1_FZ_DBG_TIM5_STOP_Msk (0x1UL << DBGMCU_APB1_FZ_DBG_TIM5_STOP_Pos)
14908#define DBGMCU_APB1_FZ_DBG_TIM5_STOP DBGMCU_APB1_FZ_DBG_TIM5_STOP_Msk
14909#define DBGMCU_APB1_FZ_DBG_TIM6_STOP_Pos (4U)
14910#define DBGMCU_APB1_FZ_DBG_TIM6_STOP_Msk (0x1UL << DBGMCU_APB1_FZ_DBG_TIM6_STOP_Pos)
14911#define DBGMCU_APB1_FZ_DBG_TIM6_STOP DBGMCU_APB1_FZ_DBG_TIM6_STOP_Msk
14912#define DBGMCU_APB1_FZ_DBG_TIM7_STOP_Pos (5U)
14913#define DBGMCU_APB1_FZ_DBG_TIM7_STOP_Msk (0x1UL << DBGMCU_APB1_FZ_DBG_TIM7_STOP_Pos)
14914#define DBGMCU_APB1_FZ_DBG_TIM7_STOP DBGMCU_APB1_FZ_DBG_TIM7_STOP_Msk
14915#define DBGMCU_APB1_FZ_DBG_TIM12_STOP_Pos (6U)
14916#define DBGMCU_APB1_FZ_DBG_TIM12_STOP_Msk (0x1UL << DBGMCU_APB1_FZ_DBG_TIM12_STOP_Pos)
14917#define DBGMCU_APB1_FZ_DBG_TIM12_STOP DBGMCU_APB1_FZ_DBG_TIM12_STOP_Msk
14918#define DBGMCU_APB1_FZ_DBG_TIM13_STOP_Pos (7U)
14919#define DBGMCU_APB1_FZ_DBG_TIM13_STOP_Msk (0x1UL << DBGMCU_APB1_FZ_DBG_TIM13_STOP_Pos)
14920#define DBGMCU_APB1_FZ_DBG_TIM13_STOP DBGMCU_APB1_FZ_DBG_TIM13_STOP_Msk
14921#define DBGMCU_APB1_FZ_DBG_TIM14_STOP_Pos (8U)
14922#define DBGMCU_APB1_FZ_DBG_TIM14_STOP_Msk (0x1UL << DBGMCU_APB1_FZ_DBG_TIM14_STOP_Pos)
14923#define DBGMCU_APB1_FZ_DBG_TIM14_STOP DBGMCU_APB1_FZ_DBG_TIM14_STOP_Msk
14924#define DBGMCU_APB1_FZ_DBG_LPTIM1_STOP_Pos (9U)
14925#define DBGMCU_APB1_FZ_DBG_LPTIM1_STOP_Msk (0x1UL << DBGMCU_APB1_FZ_DBG_LPTIM1_STOP_Pos)
14926#define DBGMCU_APB1_FZ_DBG_LPTIM1_STOP DBGMCU_APB1_FZ_DBG_LPTIM1_STOP_Msk
14927#define DBGMCU_APB1_FZ_DBG_RTC_STOP_Pos (10U)
14928#define DBGMCU_APB1_FZ_DBG_RTC_STOP_Msk (0x1UL << DBGMCU_APB1_FZ_DBG_RTC_STOP_Pos)
14929#define DBGMCU_APB1_FZ_DBG_RTC_STOP DBGMCU_APB1_FZ_DBG_RTC_STOP_Msk
14930#define DBGMCU_APB1_FZ_DBG_WWDG_STOP_Pos (11U)
14931#define DBGMCU_APB1_FZ_DBG_WWDG_STOP_Msk (0x1UL << DBGMCU_APB1_FZ_DBG_WWDG_STOP_Pos)
14932#define DBGMCU_APB1_FZ_DBG_WWDG_STOP DBGMCU_APB1_FZ_DBG_WWDG_STOP_Msk
14933#define DBGMCU_APB1_FZ_DBG_IWDG_STOP_Pos (12U)
14934#define DBGMCU_APB1_FZ_DBG_IWDG_STOP_Msk (0x1UL << DBGMCU_APB1_FZ_DBG_IWDG_STOP_Pos)
14935#define DBGMCU_APB1_FZ_DBG_IWDG_STOP DBGMCU_APB1_FZ_DBG_IWDG_STOP_Msk
14936#define DBGMCU_APB1_FZ_DBG_I2C1_SMBUS_TIMEOUT_Pos (21U)
14937#define DBGMCU_APB1_FZ_DBG_I2C1_SMBUS_TIMEOUT_Msk (0x1UL << DBGMCU_APB1_FZ_DBG_I2C1_SMBUS_TIMEOUT_Pos)
14938#define DBGMCU_APB1_FZ_DBG_I2C1_SMBUS_TIMEOUT DBGMCU_APB1_FZ_DBG_I2C1_SMBUS_TIMEOUT_Msk
14939#define DBGMCU_APB1_FZ_DBG_I2C2_SMBUS_TIMEOUT_Pos (22U)
14940#define DBGMCU_APB1_FZ_DBG_I2C2_SMBUS_TIMEOUT_Msk (0x1UL << DBGMCU_APB1_FZ_DBG_I2C2_SMBUS_TIMEOUT_Pos)
14941#define DBGMCU_APB1_FZ_DBG_I2C2_SMBUS_TIMEOUT DBGMCU_APB1_FZ_DBG_I2C2_SMBUS_TIMEOUT_Msk
14942#define DBGMCU_APB1_FZ_DBG_I2C3_SMBUS_TIMEOUT_Pos (23U)
14943#define DBGMCU_APB1_FZ_DBG_I2C3_SMBUS_TIMEOUT_Msk (0x1UL << DBGMCU_APB1_FZ_DBG_I2C3_SMBUS_TIMEOUT_Pos)
14944#define DBGMCU_APB1_FZ_DBG_I2C3_SMBUS_TIMEOUT DBGMCU_APB1_FZ_DBG_I2C3_SMBUS_TIMEOUT_Msk
14945#define DBGMCU_APB1_FZ_DBG_CAN1_STOP_Pos (25U)
14946#define DBGMCU_APB1_FZ_DBG_CAN1_STOP_Msk (0x1UL << DBGMCU_APB1_FZ_DBG_CAN1_STOP_Pos)
14947#define DBGMCU_APB1_FZ_DBG_CAN1_STOP DBGMCU_APB1_FZ_DBG_CAN1_STOP_Msk
14948#define DBGMCU_APB1_FZ_DBG_CAN2_STOP_Pos (26U)
14949#define DBGMCU_APB1_FZ_DBG_CAN2_STOP_Msk (0x1UL << DBGMCU_APB1_FZ_DBG_CAN2_STOP_Pos)
14950#define DBGMCU_APB1_FZ_DBG_CAN2_STOP DBGMCU_APB1_FZ_DBG_CAN2_STOP_Msk
14951
14952/******************** Bit definition for DBGMCU_APB2_FZ register ************/
14953#define DBGMCU_APB2_FZ_DBG_TIM1_STOP_Pos (0U)
14954#define DBGMCU_APB2_FZ_DBG_TIM1_STOP_Msk (0x1UL << DBGMCU_APB2_FZ_DBG_TIM1_STOP_Pos)
14955#define DBGMCU_APB2_FZ_DBG_TIM1_STOP DBGMCU_APB2_FZ_DBG_TIM1_STOP_Msk
14956#define DBGMCU_APB2_FZ_DBG_TIM8_STOP_Pos (1U)
14957#define DBGMCU_APB2_FZ_DBG_TIM8_STOP_Msk (0x1UL << DBGMCU_APB2_FZ_DBG_TIM8_STOP_Pos)
14958#define DBGMCU_APB2_FZ_DBG_TIM8_STOP DBGMCU_APB2_FZ_DBG_TIM8_STOP_Msk
14959#define DBGMCU_APB2_FZ_DBG_TIM9_STOP_Pos (16U)
14960#define DBGMCU_APB2_FZ_DBG_TIM9_STOP_Msk (0x1UL << DBGMCU_APB2_FZ_DBG_TIM9_STOP_Pos)
14961#define DBGMCU_APB2_FZ_DBG_TIM9_STOP DBGMCU_APB2_FZ_DBG_TIM9_STOP_Msk
14962#define DBGMCU_APB2_FZ_DBG_TIM10_STOP_Pos (17U)
14963#define DBGMCU_APB2_FZ_DBG_TIM10_STOP_Msk (0x1UL << DBGMCU_APB2_FZ_DBG_TIM10_STOP_Pos)
14964#define DBGMCU_APB2_FZ_DBG_TIM10_STOP DBGMCU_APB2_FZ_DBG_TIM10_STOP_Msk
14965#define DBGMCU_APB2_FZ_DBG_TIM11_STOP_Pos (18U)
14966#define DBGMCU_APB2_FZ_DBG_TIM11_STOP_Msk (0x1UL << DBGMCU_APB2_FZ_DBG_TIM11_STOP_Pos)
14967#define DBGMCU_APB2_FZ_DBG_TIM11_STOP DBGMCU_APB2_FZ_DBG_TIM11_STOP_Msk
14968
14969/******************************************************************************/
14970/* */
14971/* Ethernet MAC Registers bits definitions */
14972/* */
14973/******************************************************************************/
14974/* Bit definition for Ethernet MAC Control Register register */
14975#define ETH_MACCR_WD_Pos (23U)
14976#define ETH_MACCR_WD_Msk (0x1UL << ETH_MACCR_WD_Pos)
14977#define ETH_MACCR_WD ETH_MACCR_WD_Msk /* Watchdog disable */
14978#define ETH_MACCR_JD_Pos (22U)
14979#define ETH_MACCR_JD_Msk (0x1UL << ETH_MACCR_JD_Pos)
14980#define ETH_MACCR_JD ETH_MACCR_JD_Msk /* Jabber disable */
14981#define ETH_MACCR_IFG_Pos (17U)
14982#define ETH_MACCR_IFG_Msk (0x7UL << ETH_MACCR_IFG_Pos)
14983#define ETH_MACCR_IFG ETH_MACCR_IFG_Msk /* Inter-frame gap */
14984#define ETH_MACCR_IFG_96Bit 0x00000000U /* Minimum IFG between frames during transmission is 96Bit */
14985#define ETH_MACCR_IFG_88Bit 0x00020000U /* Minimum IFG between frames during transmission is 88Bit */
14986#define ETH_MACCR_IFG_80Bit 0x00040000U /* Minimum IFG between frames during transmission is 80Bit */
14987#define ETH_MACCR_IFG_72Bit 0x00060000U /* Minimum IFG between frames during transmission is 72Bit */
14988#define ETH_MACCR_IFG_64Bit 0x00080000U /* Minimum IFG between frames during transmission is 64Bit */
14989#define ETH_MACCR_IFG_56Bit 0x000A0000U /* Minimum IFG between frames during transmission is 56Bit */
14990#define ETH_MACCR_IFG_48Bit 0x000C0000U /* Minimum IFG between frames during transmission is 48Bit */
14991#define ETH_MACCR_IFG_40Bit 0x000E0000U /* Minimum IFG between frames during transmission is 40Bit */
14992#define ETH_MACCR_CSD_Pos (16U)
14993#define ETH_MACCR_CSD_Msk (0x1UL << ETH_MACCR_CSD_Pos)
14994#define ETH_MACCR_CSD ETH_MACCR_CSD_Msk /* Carrier sense disable (during transmission) */
14995#define ETH_MACCR_FES_Pos (14U)
14996#define ETH_MACCR_FES_Msk (0x1UL << ETH_MACCR_FES_Pos)
14997#define ETH_MACCR_FES ETH_MACCR_FES_Msk /* Fast ethernet speed */
14998#define ETH_MACCR_ROD_Pos (13U)
14999#define ETH_MACCR_ROD_Msk (0x1UL << ETH_MACCR_ROD_Pos)
15000#define ETH_MACCR_ROD ETH_MACCR_ROD_Msk /* Receive own disable */
15001#define ETH_MACCR_LM_Pos (12U)
15002#define ETH_MACCR_LM_Msk (0x1UL << ETH_MACCR_LM_Pos)
15003#define ETH_MACCR_LM ETH_MACCR_LM_Msk /* loopback mode */
15004#define ETH_MACCR_DM_Pos (11U)
15005#define ETH_MACCR_DM_Msk (0x1UL << ETH_MACCR_DM_Pos)
15006#define ETH_MACCR_DM ETH_MACCR_DM_Msk /* Duplex mode */
15007#define ETH_MACCR_IPCO_Pos (10U)
15008#define ETH_MACCR_IPCO_Msk (0x1UL << ETH_MACCR_IPCO_Pos)
15009#define ETH_MACCR_IPCO ETH_MACCR_IPCO_Msk /* IP Checksum offload */
15010#define ETH_MACCR_RD_Pos (9U)
15011#define ETH_MACCR_RD_Msk (0x1UL << ETH_MACCR_RD_Pos)
15012#define ETH_MACCR_RD ETH_MACCR_RD_Msk /* Retry disable */
15013#define ETH_MACCR_APCS_Pos (7U)
15014#define ETH_MACCR_APCS_Msk (0x1UL << ETH_MACCR_APCS_Pos)
15015#define ETH_MACCR_APCS ETH_MACCR_APCS_Msk /* Automatic Pad/CRC stripping */
15016#define ETH_MACCR_BL_Pos (5U)
15017#define ETH_MACCR_BL_Msk (0x3UL << ETH_MACCR_BL_Pos)
15018#define ETH_MACCR_BL ETH_MACCR_BL_Msk /* Back-off limit: random integer number (r) of slot time delays before rescheduling
15019 a transmission attempt during retries after a collision: 0 =< r <2^k */
15020#define ETH_MACCR_BL_10 0x00000000U /* k = min (n, 10) */
15021#define ETH_MACCR_BL_8 0x00000020U /* k = min (n, 8) */
15022#define ETH_MACCR_BL_4 0x00000040U /* k = min (n, 4) */
15023#define ETH_MACCR_BL_1 0x00000060U /* k = min (n, 1) */
15024#define ETH_MACCR_DC_Pos (4U)
15025#define ETH_MACCR_DC_Msk (0x1UL << ETH_MACCR_DC_Pos)
15026#define ETH_MACCR_DC ETH_MACCR_DC_Msk /* Defferal check */
15027#define ETH_MACCR_TE_Pos (3U)
15028#define ETH_MACCR_TE_Msk (0x1UL << ETH_MACCR_TE_Pos)
15029#define ETH_MACCR_TE ETH_MACCR_TE_Msk /* Transmitter enable */
15030#define ETH_MACCR_RE_Pos (2U)
15031#define ETH_MACCR_RE_Msk (0x1UL << ETH_MACCR_RE_Pos)
15032#define ETH_MACCR_RE ETH_MACCR_RE_Msk /* Receiver enable */
15033
15034/* Bit definition for Ethernet MAC Frame Filter Register */
15035#define ETH_MACFFR_RA_Pos (31U)
15036#define ETH_MACFFR_RA_Msk (0x1UL << ETH_MACFFR_RA_Pos)
15037#define ETH_MACFFR_RA ETH_MACFFR_RA_Msk /* Receive all */
15038#define ETH_MACFFR_HPF_Pos (10U)
15039#define ETH_MACFFR_HPF_Msk (0x1UL << ETH_MACFFR_HPF_Pos)
15040#define ETH_MACFFR_HPF ETH_MACFFR_HPF_Msk /* Hash or perfect filter */
15041#define ETH_MACFFR_SAF_Pos (9U)
15042#define ETH_MACFFR_SAF_Msk (0x1UL << ETH_MACFFR_SAF_Pos)
15043#define ETH_MACFFR_SAF ETH_MACFFR_SAF_Msk /* Source address filter enable */
15044#define ETH_MACFFR_SAIF_Pos (8U)
15045#define ETH_MACFFR_SAIF_Msk (0x1UL << ETH_MACFFR_SAIF_Pos)
15046#define ETH_MACFFR_SAIF ETH_MACFFR_SAIF_Msk /* SA inverse filtering */
15047#define ETH_MACFFR_PCF_Pos (6U)
15048#define ETH_MACFFR_PCF_Msk (0x3UL << ETH_MACFFR_PCF_Pos)
15049#define ETH_MACFFR_PCF ETH_MACFFR_PCF_Msk /* Pass control frames: 3 cases */
15050#define ETH_MACFFR_PCF_BlockAll_Pos (6U)
15051#define ETH_MACFFR_PCF_BlockAll_Msk (0x1UL << ETH_MACFFR_PCF_BlockAll_Pos)
15052#define ETH_MACFFR_PCF_BlockAll ETH_MACFFR_PCF_BlockAll_Msk /* MAC filters all control frames from reaching the application */
15053#define ETH_MACFFR_PCF_ForwardAll_Pos (7U)
15054#define ETH_MACFFR_PCF_ForwardAll_Msk (0x1UL << ETH_MACFFR_PCF_ForwardAll_Pos)
15055#define ETH_MACFFR_PCF_ForwardAll ETH_MACFFR_PCF_ForwardAll_Msk /* MAC forwards all control frames to application even if they fail the Address Filter */
15056#define ETH_MACFFR_PCF_ForwardPassedAddrFilter_Pos (6U)
15057#define ETH_MACFFR_PCF_ForwardPassedAddrFilter_Msk (0x3UL << ETH_MACFFR_PCF_ForwardPassedAddrFilter_Pos)
15058#define ETH_MACFFR_PCF_ForwardPassedAddrFilter ETH_MACFFR_PCF_ForwardPassedAddrFilter_Msk /* MAC forwards control frames that pass the Address Filter. */
15059#define ETH_MACFFR_BFD_Pos (5U)
15060#define ETH_MACFFR_BFD_Msk (0x1UL << ETH_MACFFR_BFD_Pos)
15061#define ETH_MACFFR_BFD ETH_MACFFR_BFD_Msk /* Broadcast frame disable */
15062#define ETH_MACFFR_PAM_Pos (4U)
15063#define ETH_MACFFR_PAM_Msk (0x1UL << ETH_MACFFR_PAM_Pos)
15064#define ETH_MACFFR_PAM ETH_MACFFR_PAM_Msk /* Pass all mutlicast */
15065#define ETH_MACFFR_DAIF_Pos (3U)
15066#define ETH_MACFFR_DAIF_Msk (0x1UL << ETH_MACFFR_DAIF_Pos)
15067#define ETH_MACFFR_DAIF ETH_MACFFR_DAIF_Msk /* DA Inverse filtering */
15068#define ETH_MACFFR_HM_Pos (2U)
15069#define ETH_MACFFR_HM_Msk (0x1UL << ETH_MACFFR_HM_Pos)
15070#define ETH_MACFFR_HM ETH_MACFFR_HM_Msk /* Hash multicast */
15071#define ETH_MACFFR_HU_Pos (1U)
15072#define ETH_MACFFR_HU_Msk (0x1UL << ETH_MACFFR_HU_Pos)
15073#define ETH_MACFFR_HU ETH_MACFFR_HU_Msk /* Hash unicast */
15074#define ETH_MACFFR_PM_Pos (0U)
15075#define ETH_MACFFR_PM_Msk (0x1UL << ETH_MACFFR_PM_Pos)
15076#define ETH_MACFFR_PM ETH_MACFFR_PM_Msk /* Promiscuous mode */
15077
15078/* Bit definition for Ethernet MAC Hash Table High Register */
15079#define ETH_MACHTHR_HTH_Pos (0U)
15080#define ETH_MACHTHR_HTH_Msk (0xFFFFFFFFUL << ETH_MACHTHR_HTH_Pos)
15081#define ETH_MACHTHR_HTH ETH_MACHTHR_HTH_Msk /* Hash table high */
15082
15083/* Bit definition for Ethernet MAC Hash Table Low Register */
15084#define ETH_MACHTLR_HTL_Pos (0U)
15085#define ETH_MACHTLR_HTL_Msk (0xFFFFFFFFUL << ETH_MACHTLR_HTL_Pos)
15086#define ETH_MACHTLR_HTL ETH_MACHTLR_HTL_Msk /* Hash table low */
15087
15088/* Bit definition for Ethernet MAC MII Address Register */
15089#define ETH_MACMIIAR_PA_Pos (11U)
15090#define ETH_MACMIIAR_PA_Msk (0x1FUL << ETH_MACMIIAR_PA_Pos)
15091#define ETH_MACMIIAR_PA ETH_MACMIIAR_PA_Msk /* Physical layer address */
15092#define ETH_MACMIIAR_MR_Pos (6U)
15093#define ETH_MACMIIAR_MR_Msk (0x1FUL << ETH_MACMIIAR_MR_Pos)
15094#define ETH_MACMIIAR_MR ETH_MACMIIAR_MR_Msk /* MII register in the selected PHY */
15095#define ETH_MACMIIAR_CR_Pos (2U)
15096#define ETH_MACMIIAR_CR_Msk (0x7UL << ETH_MACMIIAR_CR_Pos)
15097#define ETH_MACMIIAR_CR ETH_MACMIIAR_CR_Msk /* CR clock range: 6 cases */
15098#define ETH_MACMIIAR_CR_Div42 0x00000000U /* HCLK:60-100 MHz; MDC clock= HCLK/42 */
15099#define ETH_MACMIIAR_CR_Div62_Pos (2U)
15100#define ETH_MACMIIAR_CR_Div62_Msk (0x1UL << ETH_MACMIIAR_CR_Div62_Pos)
15101#define ETH_MACMIIAR_CR_Div62 ETH_MACMIIAR_CR_Div62_Msk /* HCLK:100-150 MHz; MDC clock= HCLK/62 */
15102#define ETH_MACMIIAR_CR_Div16_Pos (3U)
15103#define ETH_MACMIIAR_CR_Div16_Msk (0x1UL << ETH_MACMIIAR_CR_Div16_Pos)
15104#define ETH_MACMIIAR_CR_Div16 ETH_MACMIIAR_CR_Div16_Msk /* HCLK:20-35 MHz; MDC clock= HCLK/16 */
15105#define ETH_MACMIIAR_CR_Div26_Pos (2U)
15106#define ETH_MACMIIAR_CR_Div26_Msk (0x3UL << ETH_MACMIIAR_CR_Div26_Pos)
15107#define ETH_MACMIIAR_CR_Div26 ETH_MACMIIAR_CR_Div26_Msk /* HCLK:35-60 MHz; MDC clock= HCLK/26 */
15108#define ETH_MACMIIAR_CR_Div102_Pos (4U)
15109#define ETH_MACMIIAR_CR_Div102_Msk (0x1UL << ETH_MACMIIAR_CR_Div102_Pos)
15110#define ETH_MACMIIAR_CR_Div102 ETH_MACMIIAR_CR_Div102_Msk /* HCLK:150-168 MHz; MDC clock= HCLK/102 */
15111#define ETH_MACMIIAR_MW_Pos (1U)
15112#define ETH_MACMIIAR_MW_Msk (0x1UL << ETH_MACMIIAR_MW_Pos)
15113#define ETH_MACMIIAR_MW ETH_MACMIIAR_MW_Msk /* MII write */
15114#define ETH_MACMIIAR_MB_Pos (0U)
15115#define ETH_MACMIIAR_MB_Msk (0x1UL << ETH_MACMIIAR_MB_Pos)
15116#define ETH_MACMIIAR_MB ETH_MACMIIAR_MB_Msk /* MII busy */
15117
15118/* Bit definition for Ethernet MAC MII Data Register */
15119#define ETH_MACMIIDR_MD_Pos (0U)
15120#define ETH_MACMIIDR_MD_Msk (0xFFFFUL << ETH_MACMIIDR_MD_Pos)
15121#define ETH_MACMIIDR_MD ETH_MACMIIDR_MD_Msk /* MII data: read/write data from/to PHY */
15122
15123/* Bit definition for Ethernet MAC Flow Control Register */
15124#define ETH_MACFCR_PT_Pos (16U)
15125#define ETH_MACFCR_PT_Msk (0xFFFFUL << ETH_MACFCR_PT_Pos)
15126#define ETH_MACFCR_PT ETH_MACFCR_PT_Msk /* Pause time */
15127#define ETH_MACFCR_ZQPD_Pos (7U)
15128#define ETH_MACFCR_ZQPD_Msk (0x1UL << ETH_MACFCR_ZQPD_Pos)
15129#define ETH_MACFCR_ZQPD ETH_MACFCR_ZQPD_Msk /* Zero-quanta pause disable */
15130#define ETH_MACFCR_PLT_Pos (4U)
15131#define ETH_MACFCR_PLT_Msk (0x3UL << ETH_MACFCR_PLT_Pos)
15132#define ETH_MACFCR_PLT ETH_MACFCR_PLT_Msk /* Pause low threshold: 4 cases */
15133#define ETH_MACFCR_PLT_Minus4 0x00000000U /* Pause time minus 4 slot times */
15134#define ETH_MACFCR_PLT_Minus28_Pos (4U)
15135#define ETH_MACFCR_PLT_Minus28_Msk (0x1UL << ETH_MACFCR_PLT_Minus28_Pos)
15136#define ETH_MACFCR_PLT_Minus28 ETH_MACFCR_PLT_Minus28_Msk /* Pause time minus 28 slot times */
15137#define ETH_MACFCR_PLT_Minus144_Pos (5U)
15138#define ETH_MACFCR_PLT_Minus144_Msk (0x1UL << ETH_MACFCR_PLT_Minus144_Pos)
15139#define ETH_MACFCR_PLT_Minus144 ETH_MACFCR_PLT_Minus144_Msk /* Pause time minus 144 slot times */
15140#define ETH_MACFCR_PLT_Minus256_Pos (4U)
15141#define ETH_MACFCR_PLT_Minus256_Msk (0x3UL << ETH_MACFCR_PLT_Minus256_Pos)
15142#define ETH_MACFCR_PLT_Minus256 ETH_MACFCR_PLT_Minus256_Msk /* Pause time minus 256 slot times */
15143#define ETH_MACFCR_UPFD_Pos (3U)
15144#define ETH_MACFCR_UPFD_Msk (0x1UL << ETH_MACFCR_UPFD_Pos)
15145#define ETH_MACFCR_UPFD ETH_MACFCR_UPFD_Msk /* Unicast pause frame detect */
15146#define ETH_MACFCR_RFCE_Pos (2U)
15147#define ETH_MACFCR_RFCE_Msk (0x1UL << ETH_MACFCR_RFCE_Pos)
15148#define ETH_MACFCR_RFCE ETH_MACFCR_RFCE_Msk /* Receive flow control enable */
15149#define ETH_MACFCR_TFCE_Pos (1U)
15150#define ETH_MACFCR_TFCE_Msk (0x1UL << ETH_MACFCR_TFCE_Pos)
15151#define ETH_MACFCR_TFCE ETH_MACFCR_TFCE_Msk /* Transmit flow control enable */
15152#define ETH_MACFCR_FCBBPA_Pos (0U)
15153#define ETH_MACFCR_FCBBPA_Msk (0x1UL << ETH_MACFCR_FCBBPA_Pos)
15154#define ETH_MACFCR_FCBBPA ETH_MACFCR_FCBBPA_Msk /* Flow control busy/backpressure activate */
15155
15156/* Bit definition for Ethernet MAC VLAN Tag Register */
15157#define ETH_MACVLANTR_VLANTC_Pos (16U)
15158#define ETH_MACVLANTR_VLANTC_Msk (0x1UL << ETH_MACVLANTR_VLANTC_Pos)
15159#define ETH_MACVLANTR_VLANTC ETH_MACVLANTR_VLANTC_Msk /* 12-bit VLAN tag comparison */
15160#define ETH_MACVLANTR_VLANTI_Pos (0U)
15161#define ETH_MACVLANTR_VLANTI_Msk (0xFFFFUL << ETH_MACVLANTR_VLANTI_Pos)
15162#define ETH_MACVLANTR_VLANTI ETH_MACVLANTR_VLANTI_Msk /* VLAN tag identifier (for receive frames) */
15163
15164/* Bit definition for Ethernet MAC Remote Wake-UpFrame Filter Register */
15165#define ETH_MACRWUFFR_D_Pos (0U)
15166#define ETH_MACRWUFFR_D_Msk (0xFFFFFFFFUL << ETH_MACRWUFFR_D_Pos)
15167#define ETH_MACRWUFFR_D ETH_MACRWUFFR_D_Msk /* Wake-up frame filter register data */
15168/* Eight sequential Writes to this address (offset 0x28) will write all Wake-UpFrame Filter Registers.
15169 Eight sequential Reads from this address (offset 0x28) will read all Wake-UpFrame Filter Registers. */
15170/* Wake-UpFrame Filter Reg0 : Filter 0 Byte Mask
15171 Wake-UpFrame Filter Reg1 : Filter 1 Byte Mask
15172 Wake-UpFrame Filter Reg2 : Filter 2 Byte Mask
15173 Wake-UpFrame Filter Reg3 : Filter 3 Byte Mask
15174 Wake-UpFrame Filter Reg4 : RSVD - Filter3 Command - RSVD - Filter2 Command -
15175 RSVD - Filter1 Command - RSVD - Filter0 Command
15176 Wake-UpFrame Filter Re5 : Filter3 Offset - Filter2 Offset - Filter1 Offset - Filter0 Offset
15177 Wake-UpFrame Filter Re6 : Filter1 CRC16 - Filter0 CRC16
15178 Wake-UpFrame Filter Re7 : Filter3 CRC16 - Filter2 CRC16 */
15179
15180/* Bit definition for Ethernet MAC PMT Control and Status Register */
15181#define ETH_MACPMTCSR_WFFRPR_Pos (31U)
15182#define ETH_MACPMTCSR_WFFRPR_Msk (0x1UL << ETH_MACPMTCSR_WFFRPR_Pos)
15183#define ETH_MACPMTCSR_WFFRPR ETH_MACPMTCSR_WFFRPR_Msk /* Wake-Up Frame Filter Register Pointer Reset */
15184#define ETH_MACPMTCSR_GU_Pos (9U)
15185#define ETH_MACPMTCSR_GU_Msk (0x1UL << ETH_MACPMTCSR_GU_Pos)
15186#define ETH_MACPMTCSR_GU ETH_MACPMTCSR_GU_Msk /* Global Unicast */
15187#define ETH_MACPMTCSR_WFR_Pos (6U)
15188#define ETH_MACPMTCSR_WFR_Msk (0x1UL << ETH_MACPMTCSR_WFR_Pos)
15189#define ETH_MACPMTCSR_WFR ETH_MACPMTCSR_WFR_Msk /* Wake-Up Frame Received */
15190#define ETH_MACPMTCSR_MPR_Pos (5U)
15191#define ETH_MACPMTCSR_MPR_Msk (0x1UL << ETH_MACPMTCSR_MPR_Pos)
15192#define ETH_MACPMTCSR_MPR ETH_MACPMTCSR_MPR_Msk /* Magic Packet Received */
15193#define ETH_MACPMTCSR_WFE_Pos (2U)
15194#define ETH_MACPMTCSR_WFE_Msk (0x1UL << ETH_MACPMTCSR_WFE_Pos)
15195#define ETH_MACPMTCSR_WFE ETH_MACPMTCSR_WFE_Msk /* Wake-Up Frame Enable */
15196#define ETH_MACPMTCSR_MPE_Pos (1U)
15197#define ETH_MACPMTCSR_MPE_Msk (0x1UL << ETH_MACPMTCSR_MPE_Pos)
15198#define ETH_MACPMTCSR_MPE ETH_MACPMTCSR_MPE_Msk /* Magic Packet Enable */
15199#define ETH_MACPMTCSR_PD_Pos (0U)
15200#define ETH_MACPMTCSR_PD_Msk (0x1UL << ETH_MACPMTCSR_PD_Pos)
15201#define ETH_MACPMTCSR_PD ETH_MACPMTCSR_PD_Msk /* Power Down */
15202
15203/* Bit definition for Ethernet MAC debug Register */
15204#define ETH_MACDBGR_TFF_Pos (25U)
15205#define ETH_MACDBGR_TFF_Msk (0x1UL << ETH_MACDBGR_TFF_Pos)
15206#define ETH_MACDBGR_TFF ETH_MACDBGR_TFF_Msk /* Tx FIFO full */
15207#define ETH_MACDBGR_TFNE_Pos (24U)
15208#define ETH_MACDBGR_TFNE_Msk (0x1UL << ETH_MACDBGR_TFNE_Pos)
15209#define ETH_MACDBGR_TFNE ETH_MACDBGR_TFNE_Msk /* Tx FIFO not empty */
15210#define ETH_MACDBGR_TPWA_Pos (22U)
15211#define ETH_MACDBGR_TPWA_Msk (0x1UL << ETH_MACDBGR_TPWA_Pos)
15212#define ETH_MACDBGR_TPWA ETH_MACDBGR_TPWA_Msk /* Tx FIFO write active */
15213#define ETH_MACDBGR_TFRS_Pos (20U)
15214#define ETH_MACDBGR_TFRS_Msk (0x3UL << ETH_MACDBGR_TFRS_Pos)
15215#define ETH_MACDBGR_TFRS ETH_MACDBGR_TFRS_Msk /* Tx FIFO read status mask */
15216#define ETH_MACDBGR_TFRS_WRITING_Pos (20U)
15217#define ETH_MACDBGR_TFRS_WRITING_Msk (0x3UL << ETH_MACDBGR_TFRS_WRITING_Pos)
15218#define ETH_MACDBGR_TFRS_WRITING ETH_MACDBGR_TFRS_WRITING_Msk /* Writing the received TxStatus or flushing the TxFIFO */
15219#define ETH_MACDBGR_TFRS_WAITING_Pos (21U)
15220#define ETH_MACDBGR_TFRS_WAITING_Msk (0x1UL << ETH_MACDBGR_TFRS_WAITING_Pos)
15221#define ETH_MACDBGR_TFRS_WAITING ETH_MACDBGR_TFRS_WAITING_Msk /* Waiting for TxStatus from MAC transmitter */
15222#define ETH_MACDBGR_TFRS_READ_Pos (20U)
15223#define ETH_MACDBGR_TFRS_READ_Msk (0x1UL << ETH_MACDBGR_TFRS_READ_Pos)
15224#define ETH_MACDBGR_TFRS_READ ETH_MACDBGR_TFRS_READ_Msk /* Read state (transferring data to the MAC transmitter) */
15225#define ETH_MACDBGR_TFRS_IDLE 0x00000000U /* Idle state */
15226#define ETH_MACDBGR_MTP_Pos (19U)
15227#define ETH_MACDBGR_MTP_Msk (0x1UL << ETH_MACDBGR_MTP_Pos)
15228#define ETH_MACDBGR_MTP ETH_MACDBGR_MTP_Msk /* MAC transmitter in pause */
15229#define ETH_MACDBGR_MTFCS_Pos (17U)
15230#define ETH_MACDBGR_MTFCS_Msk (0x3UL << ETH_MACDBGR_MTFCS_Pos)
15231#define ETH_MACDBGR_MTFCS ETH_MACDBGR_MTFCS_Msk /* MAC transmit frame controller status mask */
15232#define ETH_MACDBGR_MTFCS_TRANSFERRING_Pos (17U)
15233#define ETH_MACDBGR_MTFCS_TRANSFERRING_Msk (0x3UL << ETH_MACDBGR_MTFCS_TRANSFERRING_Pos)
15234#define ETH_MACDBGR_MTFCS_TRANSFERRING ETH_MACDBGR_MTFCS_TRANSFERRING_Msk /* Transferring input frame for transmission */
15235#define ETH_MACDBGR_MTFCS_GENERATINGPCF_Pos (18U)
15236#define ETH_MACDBGR_MTFCS_GENERATINGPCF_Msk (0x1UL << ETH_MACDBGR_MTFCS_GENERATINGPCF_Pos)
15237#define ETH_MACDBGR_MTFCS_GENERATINGPCF ETH_MACDBGR_MTFCS_GENERATINGPCF_Msk /* Generating and transmitting a Pause control frame (in full duplex mode) */
15238#define ETH_MACDBGR_MTFCS_WAITING_Pos (17U)
15239#define ETH_MACDBGR_MTFCS_WAITING_Msk (0x1UL << ETH_MACDBGR_MTFCS_WAITING_Pos)
15240#define ETH_MACDBGR_MTFCS_WAITING ETH_MACDBGR_MTFCS_WAITING_Msk /* Waiting for Status of previous frame or IFG/backoff period to be over */
15241#define ETH_MACDBGR_MTFCS_IDLE 0x00000000U /* Idle */
15242#define ETH_MACDBGR_MMTEA_Pos (16U)
15243#define ETH_MACDBGR_MMTEA_Msk (0x1UL << ETH_MACDBGR_MMTEA_Pos)
15244#define ETH_MACDBGR_MMTEA ETH_MACDBGR_MMTEA_Msk /* MAC MII transmit engine active */
15245#define ETH_MACDBGR_RFFL_Pos (8U)
15246#define ETH_MACDBGR_RFFL_Msk (0x3UL << ETH_MACDBGR_RFFL_Pos)
15247#define ETH_MACDBGR_RFFL ETH_MACDBGR_RFFL_Msk /* Rx FIFO fill level mask */
15248#define ETH_MACDBGR_RFFL_FULL_Pos (8U)
15249#define ETH_MACDBGR_RFFL_FULL_Msk (0x3UL << ETH_MACDBGR_RFFL_FULL_Pos)
15250#define ETH_MACDBGR_RFFL_FULL ETH_MACDBGR_RFFL_FULL_Msk /* RxFIFO full */
15251#define ETH_MACDBGR_RFFL_ABOVEFCT_Pos (9U)
15252#define ETH_MACDBGR_RFFL_ABOVEFCT_Msk (0x1UL << ETH_MACDBGR_RFFL_ABOVEFCT_Pos)
15253#define ETH_MACDBGR_RFFL_ABOVEFCT ETH_MACDBGR_RFFL_ABOVEFCT_Msk /* RxFIFO fill-level above flow-control activate threshold */
15254#define ETH_MACDBGR_RFFL_BELOWFCT_Pos (8U)
15255#define ETH_MACDBGR_RFFL_BELOWFCT_Msk (0x1UL << ETH_MACDBGR_RFFL_BELOWFCT_Pos)
15256#define ETH_MACDBGR_RFFL_BELOWFCT ETH_MACDBGR_RFFL_BELOWFCT_Msk /* RxFIFO fill-level below flow-control de-activate threshold */
15257#define ETH_MACDBGR_RFFL_EMPTY 0x00000000U /* RxFIFO empty */
15258#define ETH_MACDBGR_RFRCS_Pos (5U)
15259#define ETH_MACDBGR_RFRCS_Msk (0x3UL << ETH_MACDBGR_RFRCS_Pos)
15260#define ETH_MACDBGR_RFRCS ETH_MACDBGR_RFRCS_Msk /* Rx FIFO read controller status mask */
15261#define ETH_MACDBGR_RFRCS_FLUSHING_Pos (5U)
15262#define ETH_MACDBGR_RFRCS_FLUSHING_Msk (0x3UL << ETH_MACDBGR_RFRCS_FLUSHING_Pos)
15263#define ETH_MACDBGR_RFRCS_FLUSHING ETH_MACDBGR_RFRCS_FLUSHING_Msk /* Flushing the frame data and status */
15264#define ETH_MACDBGR_RFRCS_STATUSREADING_Pos (6U)
15265#define ETH_MACDBGR_RFRCS_STATUSREADING_Msk (0x1UL << ETH_MACDBGR_RFRCS_STATUSREADING_Pos)
15266#define ETH_MACDBGR_RFRCS_STATUSREADING ETH_MACDBGR_RFRCS_STATUSREADING_Msk /* Reading frame status (or time-stamp) */
15267#define ETH_MACDBGR_RFRCS_DATAREADING_Pos (5U)
15268#define ETH_MACDBGR_RFRCS_DATAREADING_Msk (0x1UL << ETH_MACDBGR_RFRCS_DATAREADING_Pos)
15269#define ETH_MACDBGR_RFRCS_DATAREADING ETH_MACDBGR_RFRCS_DATAREADING_Msk /* Reading frame data */
15270#define ETH_MACDBGR_RFRCS_IDLE 0x00000000U /* IDLE state */
15271#define ETH_MACDBGR_RFWRA_Pos (4U)
15272#define ETH_MACDBGR_RFWRA_Msk (0x1UL << ETH_MACDBGR_RFWRA_Pos)
15273#define ETH_MACDBGR_RFWRA ETH_MACDBGR_RFWRA_Msk /* Rx FIFO write controller active */
15274#define ETH_MACDBGR_MSFRWCS_Pos (1U)
15275#define ETH_MACDBGR_MSFRWCS_Msk (0x3UL << ETH_MACDBGR_MSFRWCS_Pos)
15276#define ETH_MACDBGR_MSFRWCS ETH_MACDBGR_MSFRWCS_Msk /* MAC small FIFO read / write controllers status mask */
15277#define ETH_MACDBGR_MSFRWCS_1 (0x2UL << ETH_MACDBGR_MSFRWCS_Pos)
15278#define ETH_MACDBGR_MSFRWCS_0 (0x1UL << ETH_MACDBGR_MSFRWCS_Pos)
15279#define ETH_MACDBGR_MMRPEA_Pos (0U)
15280#define ETH_MACDBGR_MMRPEA_Msk (0x1UL << ETH_MACDBGR_MMRPEA_Pos)
15281#define ETH_MACDBGR_MMRPEA ETH_MACDBGR_MMRPEA_Msk /* MAC MII receive protocol engine active */
15282
15283/* Bit definition for Ethernet MAC Status Register */
15284#define ETH_MACSR_TSTS_Pos (9U)
15285#define ETH_MACSR_TSTS_Msk (0x1UL << ETH_MACSR_TSTS_Pos)
15286#define ETH_MACSR_TSTS ETH_MACSR_TSTS_Msk /* Time stamp trigger status */
15287#define ETH_MACSR_MMCTS_Pos (6U)
15288#define ETH_MACSR_MMCTS_Msk (0x1UL << ETH_MACSR_MMCTS_Pos)
15289#define ETH_MACSR_MMCTS ETH_MACSR_MMCTS_Msk /* MMC transmit status */
15290#define ETH_MACSR_MMMCRS_Pos (5U)
15291#define ETH_MACSR_MMMCRS_Msk (0x1UL << ETH_MACSR_MMMCRS_Pos)
15292#define ETH_MACSR_MMMCRS ETH_MACSR_MMMCRS_Msk /* MMC receive status */
15293#define ETH_MACSR_MMCS_Pos (4U)
15294#define ETH_MACSR_MMCS_Msk (0x1UL << ETH_MACSR_MMCS_Pos)
15295#define ETH_MACSR_MMCS ETH_MACSR_MMCS_Msk /* MMC status */
15296#define ETH_MACSR_PMTS_Pos (3U)
15297#define ETH_MACSR_PMTS_Msk (0x1UL << ETH_MACSR_PMTS_Pos)
15298#define ETH_MACSR_PMTS ETH_MACSR_PMTS_Msk /* PMT status */
15299
15300/* Bit definition for Ethernet MAC Interrupt Mask Register */
15301#define ETH_MACIMR_TSTIM_Pos (9U)
15302#define ETH_MACIMR_TSTIM_Msk (0x1UL << ETH_MACIMR_TSTIM_Pos)
15303#define ETH_MACIMR_TSTIM ETH_MACIMR_TSTIM_Msk /* Time stamp trigger interrupt mask */
15304#define ETH_MACIMR_PMTIM_Pos (3U)
15305#define ETH_MACIMR_PMTIM_Msk (0x1UL << ETH_MACIMR_PMTIM_Pos)
15306#define ETH_MACIMR_PMTIM ETH_MACIMR_PMTIM_Msk /* PMT interrupt mask */
15307
15308/* Bit definition for Ethernet MAC Address0 High Register */
15309#define ETH_MACA0HR_MACA0H_Pos (0U)
15310#define ETH_MACA0HR_MACA0H_Msk (0xFFFFUL << ETH_MACA0HR_MACA0H_Pos)
15311#define ETH_MACA0HR_MACA0H ETH_MACA0HR_MACA0H_Msk /* MAC address0 high */
15312
15313/* Bit definition for Ethernet MAC Address0 Low Register */
15314#define ETH_MACA0LR_MACA0L_Pos (0U)
15315#define ETH_MACA0LR_MACA0L_Msk (0xFFFFFFFFUL << ETH_MACA0LR_MACA0L_Pos)
15316#define ETH_MACA0LR_MACA0L ETH_MACA0LR_MACA0L_Msk /* MAC address0 low */
15317
15318/* Bit definition for Ethernet MAC Address1 High Register */
15319#define ETH_MACA1HR_AE_Pos (31U)
15320#define ETH_MACA1HR_AE_Msk (0x1UL << ETH_MACA1HR_AE_Pos)
15321#define ETH_MACA1HR_AE ETH_MACA1HR_AE_Msk /* Address enable */
15322#define ETH_MACA1HR_SA_Pos (30U)
15323#define ETH_MACA1HR_SA_Msk (0x1UL << ETH_MACA1HR_SA_Pos)
15324#define ETH_MACA1HR_SA ETH_MACA1HR_SA_Msk /* Source address */
15325#define ETH_MACA1HR_MBC_Pos (24U)
15326#define ETH_MACA1HR_MBC_Msk (0x3FUL << ETH_MACA1HR_MBC_Pos)
15327#define ETH_MACA1HR_MBC ETH_MACA1HR_MBC_Msk /* Mask byte control: bits to mask for comparison of the MAC Address bytes */
15328#define ETH_MACA1HR_MBC_HBits15_8 0x20000000U /* Mask MAC Address high reg bits [15:8] */
15329#define ETH_MACA1HR_MBC_HBits7_0 0x10000000U /* Mask MAC Address high reg bits [7:0] */
15330#define ETH_MACA1HR_MBC_LBits31_24 0x08000000U /* Mask MAC Address low reg bits [31:24] */
15331#define ETH_MACA1HR_MBC_LBits23_16 0x04000000U /* Mask MAC Address low reg bits [23:16] */
15332#define ETH_MACA1HR_MBC_LBits15_8 0x02000000U /* Mask MAC Address low reg bits [15:8] */
15333#define ETH_MACA1HR_MBC_LBits7_0 0x01000000U /* Mask MAC Address low reg bits [7:0] */
15334#define ETH_MACA1HR_MACA1H_Pos (0U)
15335#define ETH_MACA1HR_MACA1H_Msk (0xFFFFUL << ETH_MACA1HR_MACA1H_Pos)
15336#define ETH_MACA1HR_MACA1H ETH_MACA1HR_MACA1H_Msk /* MAC address1 high */
15337
15338/* Bit definition for Ethernet MAC Address1 Low Register */
15339#define ETH_MACA1LR_MACA1L_Pos (0U)
15340#define ETH_MACA1LR_MACA1L_Msk (0xFFFFFFFFUL << ETH_MACA1LR_MACA1L_Pos)
15341#define ETH_MACA1LR_MACA1L ETH_MACA1LR_MACA1L_Msk /* MAC address1 low */
15342
15343/* Bit definition for Ethernet MAC Address2 High Register */
15344#define ETH_MACA2HR_AE_Pos (31U)
15345#define ETH_MACA2HR_AE_Msk (0x1UL << ETH_MACA2HR_AE_Pos)
15346#define ETH_MACA2HR_AE ETH_MACA2HR_AE_Msk /* Address enable */
15347#define ETH_MACA2HR_SA_Pos (30U)
15348#define ETH_MACA2HR_SA_Msk (0x1UL << ETH_MACA2HR_SA_Pos)
15349#define ETH_MACA2HR_SA ETH_MACA2HR_SA_Msk /* Source address */
15350#define ETH_MACA2HR_MBC_Pos (24U)
15351#define ETH_MACA2HR_MBC_Msk (0x3FUL << ETH_MACA2HR_MBC_Pos)
15352#define ETH_MACA2HR_MBC ETH_MACA2HR_MBC_Msk /* Mask byte control */
15353#define ETH_MACA2HR_MBC_HBits15_8 0x20000000U /* Mask MAC Address high reg bits [15:8] */
15354#define ETH_MACA2HR_MBC_HBits7_0 0x10000000U /* Mask MAC Address high reg bits [7:0] */
15355#define ETH_MACA2HR_MBC_LBits31_24 0x08000000U /* Mask MAC Address low reg bits [31:24] */
15356#define ETH_MACA2HR_MBC_LBits23_16 0x04000000U /* Mask MAC Address low reg bits [23:16] */
15357#define ETH_MACA2HR_MBC_LBits15_8 0x02000000U /* Mask MAC Address low reg bits [15:8] */
15358#define ETH_MACA2HR_MBC_LBits7_0 0x01000000U /* Mask MAC Address low reg bits [70] */
15359#define ETH_MACA2HR_MACA2H_Pos (0U)
15360#define ETH_MACA2HR_MACA2H_Msk (0xFFFFUL << ETH_MACA2HR_MACA2H_Pos)
15361#define ETH_MACA2HR_MACA2H ETH_MACA2HR_MACA2H_Msk /* MAC address1 high */
15362
15363/* Bit definition for Ethernet MAC Address2 Low Register */
15364#define ETH_MACA2LR_MACA2L_Pos (0U)
15365#define ETH_MACA2LR_MACA2L_Msk (0xFFFFFFFFUL << ETH_MACA2LR_MACA2L_Pos)
15366#define ETH_MACA2LR_MACA2L ETH_MACA2LR_MACA2L_Msk /* MAC address2 low */
15367
15368/* Bit definition for Ethernet MAC Address3 High Register */
15369#define ETH_MACA3HR_AE_Pos (31U)
15370#define ETH_MACA3HR_AE_Msk (0x1UL << ETH_MACA3HR_AE_Pos)
15371#define ETH_MACA3HR_AE ETH_MACA3HR_AE_Msk /* Address enable */
15372#define ETH_MACA3HR_SA_Pos (30U)
15373#define ETH_MACA3HR_SA_Msk (0x1UL << ETH_MACA3HR_SA_Pos)
15374#define ETH_MACA3HR_SA ETH_MACA3HR_SA_Msk /* Source address */
15375#define ETH_MACA3HR_MBC_Pos (24U)
15376#define ETH_MACA3HR_MBC_Msk (0x3FUL << ETH_MACA3HR_MBC_Pos)
15377#define ETH_MACA3HR_MBC ETH_MACA3HR_MBC_Msk /* Mask byte control */
15378#define ETH_MACA3HR_MBC_HBits15_8 0x20000000U /* Mask MAC Address high reg bits [15:8] */
15379#define ETH_MACA3HR_MBC_HBits7_0 0x10000000U /* Mask MAC Address high reg bits [7:0] */
15380#define ETH_MACA3HR_MBC_LBits31_24 0x08000000U /* Mask MAC Address low reg bits [31:24] */
15381#define ETH_MACA3HR_MBC_LBits23_16 0x04000000U /* Mask MAC Address low reg bits [23:16] */
15382#define ETH_MACA3HR_MBC_LBits15_8 0x02000000U /* Mask MAC Address low reg bits [15:8] */
15383#define ETH_MACA3HR_MBC_LBits7_0 0x01000000U /* Mask MAC Address low reg bits [70] */
15384#define ETH_MACA3HR_MACA3H_Pos (0U)
15385#define ETH_MACA3HR_MACA3H_Msk (0xFFFFUL << ETH_MACA3HR_MACA3H_Pos)
15386#define ETH_MACA3HR_MACA3H ETH_MACA3HR_MACA3H_Msk /* MAC address3 high */
15387
15388/* Bit definition for Ethernet MAC Address3 Low Register */
15389#define ETH_MACA3LR_MACA3L_Pos (0U)
15390#define ETH_MACA3LR_MACA3L_Msk (0xFFFFFFFFUL << ETH_MACA3LR_MACA3L_Pos)
15391#define ETH_MACA3LR_MACA3L ETH_MACA3LR_MACA3L_Msk /* MAC address3 low */
15392
15393/******************************************************************************/
15394/* Ethernet MMC Registers bits definition */
15395/******************************************************************************/
15396
15397/* Bit definition for Ethernet MMC Contol Register */
15398#define ETH_MMCCR_MCFHP_Pos (5U)
15399#define ETH_MMCCR_MCFHP_Msk (0x1UL << ETH_MMCCR_MCFHP_Pos)
15400#define ETH_MMCCR_MCFHP ETH_MMCCR_MCFHP_Msk /* MMC counter Full-Half preset */
15401#define ETH_MMCCR_MCP_Pos (4U)
15402#define ETH_MMCCR_MCP_Msk (0x1UL << ETH_MMCCR_MCP_Pos)
15403#define ETH_MMCCR_MCP ETH_MMCCR_MCP_Msk /* MMC counter preset */
15404#define ETH_MMCCR_MCF_Pos (3U)
15405#define ETH_MMCCR_MCF_Msk (0x1UL << ETH_MMCCR_MCF_Pos)
15406#define ETH_MMCCR_MCF ETH_MMCCR_MCF_Msk /* MMC Counter Freeze */
15407#define ETH_MMCCR_ROR_Pos (2U)
15408#define ETH_MMCCR_ROR_Msk (0x1UL << ETH_MMCCR_ROR_Pos)
15409#define ETH_MMCCR_ROR ETH_MMCCR_ROR_Msk /* Reset on Read */
15410#define ETH_MMCCR_CSR_Pos (1U)
15411#define ETH_MMCCR_CSR_Msk (0x1UL << ETH_MMCCR_CSR_Pos)
15412#define ETH_MMCCR_CSR ETH_MMCCR_CSR_Msk /* Counter Stop Rollover */
15413#define ETH_MMCCR_CR_Pos (0U)
15414#define ETH_MMCCR_CR_Msk (0x1UL << ETH_MMCCR_CR_Pos)
15415#define ETH_MMCCR_CR ETH_MMCCR_CR_Msk /* Counters Reset */
15416
15417/* Bit definition for Ethernet MMC Receive Interrupt Register */
15418#define ETH_MMCRIR_RGUFS_Pos (17U)
15419#define ETH_MMCRIR_RGUFS_Msk (0x1UL << ETH_MMCRIR_RGUFS_Pos)
15420#define ETH_MMCRIR_RGUFS ETH_MMCRIR_RGUFS_Msk /* Set when Rx good unicast frames counter reaches half the maximum value */
15421#define ETH_MMCRIR_RFAES_Pos (6U)
15422#define ETH_MMCRIR_RFAES_Msk (0x1UL << ETH_MMCRIR_RFAES_Pos)
15423#define ETH_MMCRIR_RFAES ETH_MMCRIR_RFAES_Msk /* Set when Rx alignment error counter reaches half the maximum value */
15424#define ETH_MMCRIR_RFCES_Pos (5U)
15425#define ETH_MMCRIR_RFCES_Msk (0x1UL << ETH_MMCRIR_RFCES_Pos)
15426#define ETH_MMCRIR_RFCES ETH_MMCRIR_RFCES_Msk /* Set when Rx crc error counter reaches half the maximum value */
15427
15428/* Bit definition for Ethernet MMC Transmit Interrupt Register */
15429#define ETH_MMCTIR_TGFS_Pos (21U)
15430#define ETH_MMCTIR_TGFS_Msk (0x1UL << ETH_MMCTIR_TGFS_Pos)
15431#define ETH_MMCTIR_TGFS ETH_MMCTIR_TGFS_Msk /* Set when Tx good frame count counter reaches half the maximum value */
15432#define ETH_MMCTIR_TGFMSCS_Pos (15U)
15433#define ETH_MMCTIR_TGFMSCS_Msk (0x1UL << ETH_MMCTIR_TGFMSCS_Pos)
15434#define ETH_MMCTIR_TGFMSCS ETH_MMCTIR_TGFMSCS_Msk /* Set when Tx good multi col counter reaches half the maximum value */
15435#define ETH_MMCTIR_TGFSCS_Pos (14U)
15436#define ETH_MMCTIR_TGFSCS_Msk (0x1UL << ETH_MMCTIR_TGFSCS_Pos)
15437#define ETH_MMCTIR_TGFSCS ETH_MMCTIR_TGFSCS_Msk /* Set when Tx good single col counter reaches half the maximum value */
15438
15439/* Bit definition for Ethernet MMC Receive Interrupt Mask Register */
15440#define ETH_MMCRIMR_RGUFM_Pos (17U)
15441#define ETH_MMCRIMR_RGUFM_Msk (0x1UL << ETH_MMCRIMR_RGUFM_Pos)
15442#define ETH_MMCRIMR_RGUFM ETH_MMCRIMR_RGUFM_Msk /* Mask the interrupt when Rx good unicast frames counter reaches half the maximum value */
15443#define ETH_MMCRIMR_RFAEM_Pos (6U)
15444#define ETH_MMCRIMR_RFAEM_Msk (0x1UL << ETH_MMCRIMR_RFAEM_Pos)
15445#define ETH_MMCRIMR_RFAEM ETH_MMCRIMR_RFAEM_Msk /* Mask the interrupt when when Rx alignment error counter reaches half the maximum value */
15446#define ETH_MMCRIMR_RFCEM_Pos (5U)
15447#define ETH_MMCRIMR_RFCEM_Msk (0x1UL << ETH_MMCRIMR_RFCEM_Pos)
15448#define ETH_MMCRIMR_RFCEM ETH_MMCRIMR_RFCEM_Msk /* Mask the interrupt when Rx crc error counter reaches half the maximum value */
15449
15450/* Bit definition for Ethernet MMC Transmit Interrupt Mask Register */
15451#define ETH_MMCTIMR_TGFM_Pos (21U)
15452#define ETH_MMCTIMR_TGFM_Msk (0x1UL << ETH_MMCTIMR_TGFM_Pos)
15453#define ETH_MMCTIMR_TGFM ETH_MMCTIMR_TGFM_Msk /* Mask the interrupt when Tx good frame count counter reaches half the maximum value */
15454#define ETH_MMCTIMR_TGFMSCM_Pos (15U)
15455#define ETH_MMCTIMR_TGFMSCM_Msk (0x1UL << ETH_MMCTIMR_TGFMSCM_Pos)
15456#define ETH_MMCTIMR_TGFMSCM ETH_MMCTIMR_TGFMSCM_Msk /* Mask the interrupt when Tx good multi col counter reaches half the maximum value */
15457#define ETH_MMCTIMR_TGFSCM_Pos (14U)
15458#define ETH_MMCTIMR_TGFSCM_Msk (0x1UL << ETH_MMCTIMR_TGFSCM_Pos)
15459#define ETH_MMCTIMR_TGFSCM ETH_MMCTIMR_TGFSCM_Msk /* Mask the interrupt when Tx good single col counter reaches half the maximum value */
15460
15461/* Bit definition for Ethernet MMC Transmitted Good Frames after Single Collision Counter Register */
15462#define ETH_MMCTGFSCCR_TGFSCC_Pos (0U)
15463#define ETH_MMCTGFSCCR_TGFSCC_Msk (0xFFFFFFFFUL << ETH_MMCTGFSCCR_TGFSCC_Pos)
15464#define ETH_MMCTGFSCCR_TGFSCC ETH_MMCTGFSCCR_TGFSCC_Msk /* Number of successfully transmitted frames after a single collision in Half-duplex mode. */
15465
15466/* Bit definition for Ethernet MMC Transmitted Good Frames after More than a Single Collision Counter Register */
15467#define ETH_MMCTGFMSCCR_TGFMSCC_Pos (0U)
15468#define ETH_MMCTGFMSCCR_TGFMSCC_Msk (0xFFFFFFFFUL << ETH_MMCTGFMSCCR_TGFMSCC_Pos)
15469#define ETH_MMCTGFMSCCR_TGFMSCC ETH_MMCTGFMSCCR_TGFMSCC_Msk /* Number of successfully transmitted frames after more than a single collision in Half-duplex mode. */
15470
15471/* Bit definition for Ethernet MMC Transmitted Good Frames Counter Register */
15472#define ETH_MMCTGFCR_TGFC_Pos (0U)
15473#define ETH_MMCTGFCR_TGFC_Msk (0xFFFFFFFFUL << ETH_MMCTGFCR_TGFC_Pos)
15474#define ETH_MMCTGFCR_TGFC ETH_MMCTGFCR_TGFC_Msk /* Number of good frames transmitted. */
15475
15476/* Bit definition for Ethernet MMC Received Frames with CRC Error Counter Register */
15477#define ETH_MMCRFCECR_RFCEC_Pos (0U)
15478#define ETH_MMCRFCECR_RFCEC_Msk (0xFFFFFFFFUL << ETH_MMCRFCECR_RFCEC_Pos)
15479#define ETH_MMCRFCECR_RFCEC ETH_MMCRFCECR_RFCEC_Msk /* Number of frames received with CRC error. */
15480
15481/* Bit definition for Ethernet MMC Received Frames with Alignement Error Counter Register */
15482#define ETH_MMCRFAECR_RFAEC_Pos (0U)
15483#define ETH_MMCRFAECR_RFAEC_Msk (0xFFFFFFFFUL << ETH_MMCRFAECR_RFAEC_Pos)
15484#define ETH_MMCRFAECR_RFAEC ETH_MMCRFAECR_RFAEC_Msk /* Number of frames received with alignment (dribble) error */
15485
15486/* Bit definition for Ethernet MMC Received Good Unicast Frames Counter Register */
15487#define ETH_MMCRGUFCR_RGUFC_Pos (0U)
15488#define ETH_MMCRGUFCR_RGUFC_Msk (0xFFFFFFFFUL << ETH_MMCRGUFCR_RGUFC_Pos)
15489#define ETH_MMCRGUFCR_RGUFC ETH_MMCRGUFCR_RGUFC_Msk /* Number of good unicast frames received. */
15490
15491/******************************************************************************/
15492/* Ethernet PTP Registers bits definition */
15493/******************************************************************************/
15494
15495/* Bit definition for Ethernet PTP Time Stamp Contol Register */
15496#define ETH_PTPTSCR_TSCNT_Pos (16U)
15497#define ETH_PTPTSCR_TSCNT_Msk (0x3UL << ETH_PTPTSCR_TSCNT_Pos)
15498#define ETH_PTPTSCR_TSCNT ETH_PTPTSCR_TSCNT_Msk /* Time stamp clock node type */
15499#define ETH_PTPTSSR_TSSMRME_Pos (15U)
15500#define ETH_PTPTSSR_TSSMRME_Msk (0x1UL << ETH_PTPTSSR_TSSMRME_Pos)
15501#define ETH_PTPTSSR_TSSMRME ETH_PTPTSSR_TSSMRME_Msk /* Time stamp snapshot for message relevant to master enable */
15502#define ETH_PTPTSSR_TSSEME_Pos (14U)
15503#define ETH_PTPTSSR_TSSEME_Msk (0x1UL << ETH_PTPTSSR_TSSEME_Pos)
15504#define ETH_PTPTSSR_TSSEME ETH_PTPTSSR_TSSEME_Msk /* Time stamp snapshot for event message enable */
15505#define ETH_PTPTSSR_TSSIPV4FE_Pos (13U)
15506#define ETH_PTPTSSR_TSSIPV4FE_Msk (0x1UL << ETH_PTPTSSR_TSSIPV4FE_Pos)
15507#define ETH_PTPTSSR_TSSIPV4FE ETH_PTPTSSR_TSSIPV4FE_Msk /* Time stamp snapshot for IPv4 frames enable */
15508#define ETH_PTPTSSR_TSSIPV6FE_Pos (12U)
15509#define ETH_PTPTSSR_TSSIPV6FE_Msk (0x1UL << ETH_PTPTSSR_TSSIPV6FE_Pos)
15510#define ETH_PTPTSSR_TSSIPV6FE ETH_PTPTSSR_TSSIPV6FE_Msk /* Time stamp snapshot for IPv6 frames enable */
15511#define ETH_PTPTSSR_TSSPTPOEFE_Pos (11U)
15512#define ETH_PTPTSSR_TSSPTPOEFE_Msk (0x1UL << ETH_PTPTSSR_TSSPTPOEFE_Pos)
15513#define ETH_PTPTSSR_TSSPTPOEFE ETH_PTPTSSR_TSSPTPOEFE_Msk /* Time stamp snapshot for PTP over ethernet frames enable */
15514#define ETH_PTPTSSR_TSPTPPSV2E_Pos (10U)
15515#define ETH_PTPTSSR_TSPTPPSV2E_Msk (0x1UL << ETH_PTPTSSR_TSPTPPSV2E_Pos)
15516#define ETH_PTPTSSR_TSPTPPSV2E ETH_PTPTSSR_TSPTPPSV2E_Msk /* Time stamp PTP packet snooping for version2 format enable */
15517#define ETH_PTPTSSR_TSSSR_Pos (9U)
15518#define ETH_PTPTSSR_TSSSR_Msk (0x1UL << ETH_PTPTSSR_TSSSR_Pos)
15519#define ETH_PTPTSSR_TSSSR ETH_PTPTSSR_TSSSR_Msk /* Time stamp Sub-seconds rollover */
15520#define ETH_PTPTSSR_TSSARFE_Pos (8U)
15521#define ETH_PTPTSSR_TSSARFE_Msk (0x1UL << ETH_PTPTSSR_TSSARFE_Pos)
15522#define ETH_PTPTSSR_TSSARFE ETH_PTPTSSR_TSSARFE_Msk /* Time stamp snapshot for all received frames enable */
15523
15524#define ETH_PTPTSCR_TSARU_Pos (5U)
15525#define ETH_PTPTSCR_TSARU_Msk (0x1UL << ETH_PTPTSCR_TSARU_Pos)
15526#define ETH_PTPTSCR_TSARU ETH_PTPTSCR_TSARU_Msk /* Addend register update */
15527#define ETH_PTPTSCR_TSITE_Pos (4U)
15528#define ETH_PTPTSCR_TSITE_Msk (0x1UL << ETH_PTPTSCR_TSITE_Pos)
15529#define ETH_PTPTSCR_TSITE ETH_PTPTSCR_TSITE_Msk /* Time stamp interrupt trigger enable */
15530#define ETH_PTPTSCR_TSSTU_Pos (3U)
15531#define ETH_PTPTSCR_TSSTU_Msk (0x1UL << ETH_PTPTSCR_TSSTU_Pos)
15532#define ETH_PTPTSCR_TSSTU ETH_PTPTSCR_TSSTU_Msk /* Time stamp update */
15533#define ETH_PTPTSCR_TSSTI_Pos (2U)
15534#define ETH_PTPTSCR_TSSTI_Msk (0x1UL << ETH_PTPTSCR_TSSTI_Pos)
15535#define ETH_PTPTSCR_TSSTI ETH_PTPTSCR_TSSTI_Msk /* Time stamp initialize */
15536#define ETH_PTPTSCR_TSFCU_Pos (1U)
15537#define ETH_PTPTSCR_TSFCU_Msk (0x1UL << ETH_PTPTSCR_TSFCU_Pos)
15538#define ETH_PTPTSCR_TSFCU ETH_PTPTSCR_TSFCU_Msk /* Time stamp fine or coarse update */
15539#define ETH_PTPTSCR_TSE_Pos (0U)
15540#define ETH_PTPTSCR_TSE_Msk (0x1UL << ETH_PTPTSCR_TSE_Pos)
15541#define ETH_PTPTSCR_TSE ETH_PTPTSCR_TSE_Msk /* Time stamp enable */
15542
15543/* Bit definition for Ethernet PTP Sub-Second Increment Register */
15544#define ETH_PTPSSIR_STSSI_Pos (0U)
15545#define ETH_PTPSSIR_STSSI_Msk (0xFFUL << ETH_PTPSSIR_STSSI_Pos)
15546#define ETH_PTPSSIR_STSSI ETH_PTPSSIR_STSSI_Msk /* System time Sub-second increment value */
15547
15548/* Bit definition for Ethernet PTP Time Stamp High Register */
15549#define ETH_PTPTSHR_STS_Pos (0U)
15550#define ETH_PTPTSHR_STS_Msk (0xFFFFFFFFUL << ETH_PTPTSHR_STS_Pos)
15551#define ETH_PTPTSHR_STS ETH_PTPTSHR_STS_Msk /* System Time second */
15552
15553/* Bit definition for Ethernet PTP Time Stamp Low Register */
15554#define ETH_PTPTSLR_STPNS_Pos (31U)
15555#define ETH_PTPTSLR_STPNS_Msk (0x1UL << ETH_PTPTSLR_STPNS_Pos)
15556#define ETH_PTPTSLR_STPNS ETH_PTPTSLR_STPNS_Msk /* System Time Positive or negative time */
15557#define ETH_PTPTSLR_STSS_Pos (0U)
15558#define ETH_PTPTSLR_STSS_Msk (0x7FFFFFFFUL << ETH_PTPTSLR_STSS_Pos)
15559#define ETH_PTPTSLR_STSS ETH_PTPTSLR_STSS_Msk /* System Time sub-seconds */
15560
15561/* Bit definition for Ethernet PTP Time Stamp High Update Register */
15562#define ETH_PTPTSHUR_TSUS_Pos (0U)
15563#define ETH_PTPTSHUR_TSUS_Msk (0xFFFFFFFFUL << ETH_PTPTSHUR_TSUS_Pos)
15564#define ETH_PTPTSHUR_TSUS ETH_PTPTSHUR_TSUS_Msk /* Time stamp update seconds */
15565
15566/* Bit definition for Ethernet PTP Time Stamp Low Update Register */
15567#define ETH_PTPTSLUR_TSUPNS_Pos (31U)
15568#define ETH_PTPTSLUR_TSUPNS_Msk (0x1UL << ETH_PTPTSLUR_TSUPNS_Pos)
15569#define ETH_PTPTSLUR_TSUPNS ETH_PTPTSLUR_TSUPNS_Msk /* Time stamp update Positive or negative time */
15570#define ETH_PTPTSLUR_TSUSS_Pos (0U)
15571#define ETH_PTPTSLUR_TSUSS_Msk (0x7FFFFFFFUL << ETH_PTPTSLUR_TSUSS_Pos)
15572#define ETH_PTPTSLUR_TSUSS ETH_PTPTSLUR_TSUSS_Msk /* Time stamp update sub-seconds */
15573
15574/* Bit definition for Ethernet PTP Time Stamp Addend Register */
15575#define ETH_PTPTSAR_TSA_Pos (0U)
15576#define ETH_PTPTSAR_TSA_Msk (0xFFFFFFFFUL << ETH_PTPTSAR_TSA_Pos)
15577#define ETH_PTPTSAR_TSA ETH_PTPTSAR_TSA_Msk /* Time stamp addend */
15578
15579/* Bit definition for Ethernet PTP Target Time High Register */
15580#define ETH_PTPTTHR_TTSH_Pos (0U)
15581#define ETH_PTPTTHR_TTSH_Msk (0xFFFFFFFFUL << ETH_PTPTTHR_TTSH_Pos)
15582#define ETH_PTPTTHR_TTSH ETH_PTPTTHR_TTSH_Msk /* Target time stamp high */
15583
15584/* Bit definition for Ethernet PTP Target Time Low Register */
15585#define ETH_PTPTTLR_TTSL_Pos (0U)
15586#define ETH_PTPTTLR_TTSL_Msk (0xFFFFFFFFUL << ETH_PTPTTLR_TTSL_Pos)
15587#define ETH_PTPTTLR_TTSL ETH_PTPTTLR_TTSL_Msk /* Target time stamp low */
15588
15589/* Bit definition for Ethernet PTP Time Stamp Status Register */
15590#define ETH_PTPTSSR_TSTTR_Pos (5U)
15591#define ETH_PTPTSSR_TSTTR_Msk (0x1UL << ETH_PTPTSSR_TSTTR_Pos)
15592#define ETH_PTPTSSR_TSTTR ETH_PTPTSSR_TSTTR_Msk /* Time stamp target time reached */
15593#define ETH_PTPTSSR_TSSO_Pos (4U)
15594#define ETH_PTPTSSR_TSSO_Msk (0x1UL << ETH_PTPTSSR_TSSO_Pos)
15595#define ETH_PTPTSSR_TSSO ETH_PTPTSSR_TSSO_Msk /* Time stamp seconds overflow */
15596
15597/* Bit definition for Ethernet PTP PPS Control Register */
15598#define ETH_PTPPPSCR_PPSFREQ_Pos (0U)
15599#define ETH_PTPPPSCR_PPSFREQ_Msk (0x0FUL << ETH_PTPPPSCR_PPSFREQ_Pos)
15600#define ETH_PTPPPSCR_PPSFREQ ETH_PTPPPSCR_PPSFREQ_Msk /* PPS frequency selection */
15601
15602/******************************************************************************/
15603/* Ethernet DMA Registers bits definition */
15604/******************************************************************************/
15605
15606/* Bit definition for Ethernet DMA Bus Mode Register */
15607#define ETH_DMABMR_AAB_Pos (25U)
15608#define ETH_DMABMR_AAB_Msk (0x1UL << ETH_DMABMR_AAB_Pos)
15609#define ETH_DMABMR_AAB ETH_DMABMR_AAB_Msk /* Address-Aligned beats */
15610#define ETH_DMABMR_FPM_Pos (24U)
15611#define ETH_DMABMR_FPM_Msk (0x1UL << ETH_DMABMR_FPM_Pos)
15612#define ETH_DMABMR_FPM ETH_DMABMR_FPM_Msk /* 4xPBL mode */
15613#define ETH_DMABMR_USP_Pos (23U)
15614#define ETH_DMABMR_USP_Msk (0x1UL << ETH_DMABMR_USP_Pos)
15615#define ETH_DMABMR_USP ETH_DMABMR_USP_Msk /* Use separate PBL */
15616#define ETH_DMABMR_RDP_Pos (17U)
15617#define ETH_DMABMR_RDP_Msk (0x3FUL << ETH_DMABMR_RDP_Pos)
15618#define ETH_DMABMR_RDP ETH_DMABMR_RDP_Msk /* RxDMA PBL */
15619#define ETH_DMABMR_RDP_1Beat 0x00020000U /* maximum number of beats to be transferred in one RxDMA transaction is 1 */
15620#define ETH_DMABMR_RDP_2Beat 0x00040000U /* maximum number of beats to be transferred in one RxDMA transaction is 2 */
15621#define ETH_DMABMR_RDP_4Beat 0x00080000U /* maximum number of beats to be transferred in one RxDMA transaction is 4 */
15622#define ETH_DMABMR_RDP_8Beat 0x00100000U /* maximum number of beats to be transferred in one RxDMA transaction is 8 */
15623#define ETH_DMABMR_RDP_16Beat 0x00200000U /* maximum number of beats to be transferred in one RxDMA transaction is 16 */
15624#define ETH_DMABMR_RDP_32Beat 0x00400000U /* maximum number of beats to be transferred in one RxDMA transaction is 32 */
15625#define ETH_DMABMR_RDP_4xPBL_4Beat 0x01020000U /* maximum number of beats to be transferred in one RxDMA transaction is 4 */
15626#define ETH_DMABMR_RDP_4xPBL_8Beat 0x01040000U /* maximum number of beats to be transferred in one RxDMA transaction is 8 */
15627#define ETH_DMABMR_RDP_4xPBL_16Beat 0x01080000U /* maximum number of beats to be transferred in one RxDMA transaction is 16 */
15628#define ETH_DMABMR_RDP_4xPBL_32Beat 0x01100000U /* maximum number of beats to be transferred in one RxDMA transaction is 32 */
15629#define ETH_DMABMR_RDP_4xPBL_64Beat 0x01200000U /* maximum number of beats to be transferred in one RxDMA transaction is 64 */
15630#define ETH_DMABMR_RDP_4xPBL_128Beat 0x01400000U /* maximum number of beats to be transferred in one RxDMA transaction is 128 */
15631#define ETH_DMABMR_FB_Pos (16U)
15632#define ETH_DMABMR_FB_Msk (0x1UL << ETH_DMABMR_FB_Pos)
15633#define ETH_DMABMR_FB ETH_DMABMR_FB_Msk /* Fixed Burst */
15634#define ETH_DMABMR_RTPR_Pos (14U)
15635#define ETH_DMABMR_RTPR_Msk (0x3UL << ETH_DMABMR_RTPR_Pos)
15636#define ETH_DMABMR_RTPR ETH_DMABMR_RTPR_Msk /* Rx Tx priority ratio */
15637#define ETH_DMABMR_RTPR_1_1 0x00000000U /* Rx Tx priority ratio */
15638#define ETH_DMABMR_RTPR_2_1 0x00004000U /* Rx Tx priority ratio */
15639#define ETH_DMABMR_RTPR_3_1 0x00008000U /* Rx Tx priority ratio */
15640#define ETH_DMABMR_RTPR_4_1 0x0000C000U /* Rx Tx priority ratio */
15641#define ETH_DMABMR_PBL_Pos (8U)
15642#define ETH_DMABMR_PBL_Msk (0x3FUL << ETH_DMABMR_PBL_Pos)
15643#define ETH_DMABMR_PBL ETH_DMABMR_PBL_Msk /* Programmable burst length */
15644#define ETH_DMABMR_PBL_1Beat 0x00000100U /* maximum number of beats to be transferred in one TxDMA (or both) transaction is 1 */
15645#define ETH_DMABMR_PBL_2Beat 0x00000200U /* maximum number of beats to be transferred in one TxDMA (or both) transaction is 2 */
15646#define ETH_DMABMR_PBL_4Beat 0x00000400U /* maximum number of beats to be transferred in one TxDMA (or both) transaction is 4 */
15647#define ETH_DMABMR_PBL_8Beat 0x00000800U /* maximum number of beats to be transferred in one TxDMA (or both) transaction is 8 */
15648#define ETH_DMABMR_PBL_16Beat 0x00001000U /* maximum number of beats to be transferred in one TxDMA (or both) transaction is 16 */
15649#define ETH_DMABMR_PBL_32Beat 0x00002000U /* maximum number of beats to be transferred in one TxDMA (or both) transaction is 32 */
15650#define ETH_DMABMR_PBL_4xPBL_4Beat 0x01000100U /* maximum number of beats to be transferred in one TxDMA (or both) transaction is 4 */
15651#define ETH_DMABMR_PBL_4xPBL_8Beat 0x01000200U /* maximum number of beats to be transferred in one TxDMA (or both) transaction is 8 */
15652#define ETH_DMABMR_PBL_4xPBL_16Beat 0x01000400U /* maximum number of beats to be transferred in one TxDMA (or both) transaction is 16 */
15653#define ETH_DMABMR_PBL_4xPBL_32Beat 0x01000800U /* maximum number of beats to be transferred in one TxDMA (or both) transaction is 32 */
15654#define ETH_DMABMR_PBL_4xPBL_64Beat 0x01001000U /* maximum number of beats to be transferred in one TxDMA (or both) transaction is 64 */
15655#define ETH_DMABMR_PBL_4xPBL_128Beat 0x01002000U /* maximum number of beats to be transferred in one TxDMA (or both) transaction is 128 */
15656#define ETH_DMABMR_EDE_Pos (7U)
15657#define ETH_DMABMR_EDE_Msk (0x1UL << ETH_DMABMR_EDE_Pos)
15658#define ETH_DMABMR_EDE ETH_DMABMR_EDE_Msk /* Enhanced Descriptor Enable */
15659#define ETH_DMABMR_DSL_Pos (2U)
15660#define ETH_DMABMR_DSL_Msk (0x1FUL << ETH_DMABMR_DSL_Pos)
15661#define ETH_DMABMR_DSL ETH_DMABMR_DSL_Msk /* Descriptor Skip Length */
15662#define ETH_DMABMR_DA_Pos (1U)
15663#define ETH_DMABMR_DA_Msk (0x1UL << ETH_DMABMR_DA_Pos)
15664#define ETH_DMABMR_DA ETH_DMABMR_DA_Msk /* DMA arbitration scheme */
15665#define ETH_DMABMR_SR_Pos (0U)
15666#define ETH_DMABMR_SR_Msk (0x1UL << ETH_DMABMR_SR_Pos)
15667#define ETH_DMABMR_SR ETH_DMABMR_SR_Msk /* Software reset */
15668
15669/* Bit definition for Ethernet DMA Transmit Poll Demand Register */
15670#define ETH_DMATPDR_TPD_Pos (0U)
15671#define ETH_DMATPDR_TPD_Msk (0xFFFFFFFFUL << ETH_DMATPDR_TPD_Pos)
15672#define ETH_DMATPDR_TPD ETH_DMATPDR_TPD_Msk /* Transmit poll demand */
15673
15674/* Bit definition for Ethernet DMA Receive Poll Demand Register */
15675#define ETH_DMARPDR_RPD_Pos (0U)
15676#define ETH_DMARPDR_RPD_Msk (0xFFFFFFFFUL << ETH_DMARPDR_RPD_Pos)
15677#define ETH_DMARPDR_RPD ETH_DMARPDR_RPD_Msk /* Receive poll demand */
15678
15679/* Bit definition for Ethernet DMA Receive Descriptor List Address Register */
15680#define ETH_DMARDLAR_SRL_Pos (0U)
15681#define ETH_DMARDLAR_SRL_Msk (0xFFFFFFFFUL << ETH_DMARDLAR_SRL_Pos)
15682#define ETH_DMARDLAR_SRL ETH_DMARDLAR_SRL_Msk /* Start of receive list */
15683
15684/* Bit definition for Ethernet DMA Transmit Descriptor List Address Register */
15685#define ETH_DMATDLAR_STL_Pos (0U)
15686#define ETH_DMATDLAR_STL_Msk (0xFFFFFFFFUL << ETH_DMATDLAR_STL_Pos)
15687#define ETH_DMATDLAR_STL ETH_DMATDLAR_STL_Msk /* Start of transmit list */
15688
15689/* Bit definition for Ethernet DMA Status Register */
15690#define ETH_DMASR_TSTS_Pos (29U)
15691#define ETH_DMASR_TSTS_Msk (0x1UL << ETH_DMASR_TSTS_Pos)
15692#define ETH_DMASR_TSTS ETH_DMASR_TSTS_Msk /* Time-stamp trigger status */
15693#define ETH_DMASR_PMTS_Pos (28U)
15694#define ETH_DMASR_PMTS_Msk (0x1UL << ETH_DMASR_PMTS_Pos)
15695#define ETH_DMASR_PMTS ETH_DMASR_PMTS_Msk /* PMT status */
15696#define ETH_DMASR_MMCS_Pos (27U)
15697#define ETH_DMASR_MMCS_Msk (0x1UL << ETH_DMASR_MMCS_Pos)
15698#define ETH_DMASR_MMCS ETH_DMASR_MMCS_Msk /* MMC status */
15699#define ETH_DMASR_EBS_Pos (23U)
15700#define ETH_DMASR_EBS_Msk (0x7UL << ETH_DMASR_EBS_Pos)
15701#define ETH_DMASR_EBS ETH_DMASR_EBS_Msk /* Error bits status */
15702 /* combination with EBS[2:0] for GetFlagStatus function */
15703#define ETH_DMASR_EBS_DescAccess_Pos (25U)
15704#define ETH_DMASR_EBS_DescAccess_Msk (0x1UL << ETH_DMASR_EBS_DescAccess_Pos)
15705#define ETH_DMASR_EBS_DescAccess ETH_DMASR_EBS_DescAccess_Msk /* Error bits 0-data buffer, 1-desc. access */
15706#define ETH_DMASR_EBS_ReadTransf_Pos (24U)
15707#define ETH_DMASR_EBS_ReadTransf_Msk (0x1UL << ETH_DMASR_EBS_ReadTransf_Pos)
15708#define ETH_DMASR_EBS_ReadTransf ETH_DMASR_EBS_ReadTransf_Msk /* Error bits 0-write trnsf, 1-read transfr */
15709#define ETH_DMASR_EBS_DataTransfTx_Pos (23U)
15710#define ETH_DMASR_EBS_DataTransfTx_Msk (0x1UL << ETH_DMASR_EBS_DataTransfTx_Pos)
15711#define ETH_DMASR_EBS_DataTransfTx ETH_DMASR_EBS_DataTransfTx_Msk /* Error bits 0-Rx DMA, 1-Tx DMA */
15712#define ETH_DMASR_TPS_Pos (20U)
15713#define ETH_DMASR_TPS_Msk (0x7UL << ETH_DMASR_TPS_Pos)
15714#define ETH_DMASR_TPS ETH_DMASR_TPS_Msk /* Transmit process state */
15715#define ETH_DMASR_TPS_Stopped 0x00000000U /* Stopped - Reset or Stop Tx Command issued */
15716#define ETH_DMASR_TPS_Fetching_Pos (20U)
15717#define ETH_DMASR_TPS_Fetching_Msk (0x1UL << ETH_DMASR_TPS_Fetching_Pos)
15718#define ETH_DMASR_TPS_Fetching ETH_DMASR_TPS_Fetching_Msk /* Running - fetching the Tx descriptor */
15719#define ETH_DMASR_TPS_Waiting_Pos (21U)
15720#define ETH_DMASR_TPS_Waiting_Msk (0x1UL << ETH_DMASR_TPS_Waiting_Pos)
15721#define ETH_DMASR_TPS_Waiting ETH_DMASR_TPS_Waiting_Msk /* Running - waiting for status */
15722#define ETH_DMASR_TPS_Reading_Pos (20U)
15723#define ETH_DMASR_TPS_Reading_Msk (0x3UL << ETH_DMASR_TPS_Reading_Pos)
15724#define ETH_DMASR_TPS_Reading ETH_DMASR_TPS_Reading_Msk /* Running - reading the data from host memory */
15725#define ETH_DMASR_TPS_Suspended_Pos (21U)
15726#define ETH_DMASR_TPS_Suspended_Msk (0x3UL << ETH_DMASR_TPS_Suspended_Pos)
15727#define ETH_DMASR_TPS_Suspended ETH_DMASR_TPS_Suspended_Msk /* Suspended - Tx Descriptor unavailabe */
15728#define ETH_DMASR_TPS_Closing_Pos (20U)
15729#define ETH_DMASR_TPS_Closing_Msk (0x7UL << ETH_DMASR_TPS_Closing_Pos)
15730#define ETH_DMASR_TPS_Closing ETH_DMASR_TPS_Closing_Msk /* Running - closing Rx descriptor */
15731#define ETH_DMASR_RPS_Pos (17U)
15732#define ETH_DMASR_RPS_Msk (0x7UL << ETH_DMASR_RPS_Pos)
15733#define ETH_DMASR_RPS ETH_DMASR_RPS_Msk /* Receive process state */
15734#define ETH_DMASR_RPS_Stopped 0x00000000U /* Stopped - Reset or Stop Rx Command issued */
15735#define ETH_DMASR_RPS_Fetching_Pos (17U)
15736#define ETH_DMASR_RPS_Fetching_Msk (0x1UL << ETH_DMASR_RPS_Fetching_Pos)
15737#define ETH_DMASR_RPS_Fetching ETH_DMASR_RPS_Fetching_Msk /* Running - fetching the Rx descriptor */
15738#define ETH_DMASR_RPS_Waiting_Pos (17U)
15739#define ETH_DMASR_RPS_Waiting_Msk (0x3UL << ETH_DMASR_RPS_Waiting_Pos)
15740#define ETH_DMASR_RPS_Waiting ETH_DMASR_RPS_Waiting_Msk /* Running - waiting for packet */
15741#define ETH_DMASR_RPS_Suspended_Pos (19U)
15742#define ETH_DMASR_RPS_Suspended_Msk (0x1UL << ETH_DMASR_RPS_Suspended_Pos)
15743#define ETH_DMASR_RPS_Suspended ETH_DMASR_RPS_Suspended_Msk /* Suspended - Rx Descriptor unavailable */
15744#define ETH_DMASR_RPS_Closing_Pos (17U)
15745#define ETH_DMASR_RPS_Closing_Msk (0x5UL << ETH_DMASR_RPS_Closing_Pos)
15746#define ETH_DMASR_RPS_Closing ETH_DMASR_RPS_Closing_Msk /* Running - closing descriptor */
15747#define ETH_DMASR_RPS_Queuing_Pos (17U)
15748#define ETH_DMASR_RPS_Queuing_Msk (0x7UL << ETH_DMASR_RPS_Queuing_Pos)
15749#define ETH_DMASR_RPS_Queuing ETH_DMASR_RPS_Queuing_Msk /* Running - queuing the recieve frame into host memory */
15750#define ETH_DMASR_NIS_Pos (16U)
15751#define ETH_DMASR_NIS_Msk (0x1UL << ETH_DMASR_NIS_Pos)
15752#define ETH_DMASR_NIS ETH_DMASR_NIS_Msk /* Normal interrupt summary */
15753#define ETH_DMASR_AIS_Pos (15U)
15754#define ETH_DMASR_AIS_Msk (0x1UL << ETH_DMASR_AIS_Pos)
15755#define ETH_DMASR_AIS ETH_DMASR_AIS_Msk /* Abnormal interrupt summary */
15756#define ETH_DMASR_ERS_Pos (14U)
15757#define ETH_DMASR_ERS_Msk (0x1UL << ETH_DMASR_ERS_Pos)
15758#define ETH_DMASR_ERS ETH_DMASR_ERS_Msk /* Early receive status */
15759#define ETH_DMASR_FBES_Pos (13U)
15760#define ETH_DMASR_FBES_Msk (0x1UL << ETH_DMASR_FBES_Pos)
15761#define ETH_DMASR_FBES ETH_DMASR_FBES_Msk /* Fatal bus error status */
15762#define ETH_DMASR_ETS_Pos (10U)
15763#define ETH_DMASR_ETS_Msk (0x1UL << ETH_DMASR_ETS_Pos)
15764#define ETH_DMASR_ETS ETH_DMASR_ETS_Msk /* Early transmit status */
15765#define ETH_DMASR_RWTS_Pos (9U)
15766#define ETH_DMASR_RWTS_Msk (0x1UL << ETH_DMASR_RWTS_Pos)
15767#define ETH_DMASR_RWTS ETH_DMASR_RWTS_Msk /* Receive watchdog timeout status */
15768#define ETH_DMASR_RPSS_Pos (8U)
15769#define ETH_DMASR_RPSS_Msk (0x1UL << ETH_DMASR_RPSS_Pos)
15770#define ETH_DMASR_RPSS ETH_DMASR_RPSS_Msk /* Receive process stopped status */
15771#define ETH_DMASR_RBUS_Pos (7U)
15772#define ETH_DMASR_RBUS_Msk (0x1UL << ETH_DMASR_RBUS_Pos)
15773#define ETH_DMASR_RBUS ETH_DMASR_RBUS_Msk /* Receive buffer unavailable status */
15774#define ETH_DMASR_RS_Pos (6U)
15775#define ETH_DMASR_RS_Msk (0x1UL << ETH_DMASR_RS_Pos)
15776#define ETH_DMASR_RS ETH_DMASR_RS_Msk /* Receive status */
15777#define ETH_DMASR_TUS_Pos (5U)
15778#define ETH_DMASR_TUS_Msk (0x1UL << ETH_DMASR_TUS_Pos)
15779#define ETH_DMASR_TUS ETH_DMASR_TUS_Msk /* Transmit underflow status */
15780#define ETH_DMASR_ROS_Pos (4U)
15781#define ETH_DMASR_ROS_Msk (0x1UL << ETH_DMASR_ROS_Pos)
15782#define ETH_DMASR_ROS ETH_DMASR_ROS_Msk /* Receive overflow status */
15783#define ETH_DMASR_TJTS_Pos (3U)
15784#define ETH_DMASR_TJTS_Msk (0x1UL << ETH_DMASR_TJTS_Pos)
15785#define ETH_DMASR_TJTS ETH_DMASR_TJTS_Msk /* Transmit jabber timeout status */
15786#define ETH_DMASR_TBUS_Pos (2U)
15787#define ETH_DMASR_TBUS_Msk (0x1UL << ETH_DMASR_TBUS_Pos)
15788#define ETH_DMASR_TBUS ETH_DMASR_TBUS_Msk /* Transmit buffer unavailable status */
15789#define ETH_DMASR_TPSS_Pos (1U)
15790#define ETH_DMASR_TPSS_Msk (0x1UL << ETH_DMASR_TPSS_Pos)
15791#define ETH_DMASR_TPSS ETH_DMASR_TPSS_Msk /* Transmit process stopped status */
15792#define ETH_DMASR_TS_Pos (0U)
15793#define ETH_DMASR_TS_Msk (0x1UL << ETH_DMASR_TS_Pos)
15794#define ETH_DMASR_TS ETH_DMASR_TS_Msk /* Transmit status */
15795
15796/* Bit definition for Ethernet DMA Operation Mode Register */
15797#define ETH_DMAOMR_DTCEFD_Pos (26U)
15798#define ETH_DMAOMR_DTCEFD_Msk (0x1UL << ETH_DMAOMR_DTCEFD_Pos)
15799#define ETH_DMAOMR_DTCEFD ETH_DMAOMR_DTCEFD_Msk /* Disable Dropping of TCP/IP checksum error frames */
15800#define ETH_DMAOMR_RSF_Pos (25U)
15801#define ETH_DMAOMR_RSF_Msk (0x1UL << ETH_DMAOMR_RSF_Pos)
15802#define ETH_DMAOMR_RSF ETH_DMAOMR_RSF_Msk /* Receive store and forward */
15803#define ETH_DMAOMR_DFRF_Pos (24U)
15804#define ETH_DMAOMR_DFRF_Msk (0x1UL << ETH_DMAOMR_DFRF_Pos)
15805#define ETH_DMAOMR_DFRF ETH_DMAOMR_DFRF_Msk /* Disable flushing of received frames */
15806#define ETH_DMAOMR_TSF_Pos (21U)
15807#define ETH_DMAOMR_TSF_Msk (0x1UL << ETH_DMAOMR_TSF_Pos)
15808#define ETH_DMAOMR_TSF ETH_DMAOMR_TSF_Msk /* Transmit store and forward */
15809#define ETH_DMAOMR_FTF_Pos (20U)
15810#define ETH_DMAOMR_FTF_Msk (0x1UL << ETH_DMAOMR_FTF_Pos)
15811#define ETH_DMAOMR_FTF ETH_DMAOMR_FTF_Msk /* Flush transmit FIFO */
15812#define ETH_DMAOMR_TTC_Pos (14U)
15813#define ETH_DMAOMR_TTC_Msk (0x7UL << ETH_DMAOMR_TTC_Pos)
15814#define ETH_DMAOMR_TTC ETH_DMAOMR_TTC_Msk /* Transmit threshold control */
15815#define ETH_DMAOMR_TTC_64Bytes 0x00000000U /* threshold level of the MTL Transmit FIFO is 64 Bytes */
15816#define ETH_DMAOMR_TTC_128Bytes 0x00004000U /* threshold level of the MTL Transmit FIFO is 128 Bytes */
15817#define ETH_DMAOMR_TTC_192Bytes 0x00008000U /* threshold level of the MTL Transmit FIFO is 192 Bytes */
15818#define ETH_DMAOMR_TTC_256Bytes 0x0000C000U /* threshold level of the MTL Transmit FIFO is 256 Bytes */
15819#define ETH_DMAOMR_TTC_40Bytes 0x00010000U /* threshold level of the MTL Transmit FIFO is 40 Bytes */
15820#define ETH_DMAOMR_TTC_32Bytes 0x00014000U /* threshold level of the MTL Transmit FIFO is 32 Bytes */
15821#define ETH_DMAOMR_TTC_24Bytes 0x00018000U /* threshold level of the MTL Transmit FIFO is 24 Bytes */
15822#define ETH_DMAOMR_TTC_16Bytes 0x0001C000U /* threshold level of the MTL Transmit FIFO is 16 Bytes */
15823#define ETH_DMAOMR_ST_Pos (13U)
15824#define ETH_DMAOMR_ST_Msk (0x1UL << ETH_DMAOMR_ST_Pos)
15825#define ETH_DMAOMR_ST ETH_DMAOMR_ST_Msk /* Start/stop transmission command */
15826#define ETH_DMAOMR_FEF_Pos (7U)
15827#define ETH_DMAOMR_FEF_Msk (0x1UL << ETH_DMAOMR_FEF_Pos)
15828#define ETH_DMAOMR_FEF ETH_DMAOMR_FEF_Msk /* Forward error frames */
15829#define ETH_DMAOMR_FUGF_Pos (6U)
15830#define ETH_DMAOMR_FUGF_Msk (0x1UL << ETH_DMAOMR_FUGF_Pos)
15831#define ETH_DMAOMR_FUGF ETH_DMAOMR_FUGF_Msk /* Forward undersized good frames */
15832#define ETH_DMAOMR_RTC_Pos (3U)
15833#define ETH_DMAOMR_RTC_Msk (0x3UL << ETH_DMAOMR_RTC_Pos)
15834#define ETH_DMAOMR_RTC ETH_DMAOMR_RTC_Msk /* receive threshold control */
15835#define ETH_DMAOMR_RTC_64Bytes 0x00000000U /* threshold level of the MTL Receive FIFO is 64 Bytes */
15836#define ETH_DMAOMR_RTC_32Bytes 0x00000008U /* threshold level of the MTL Receive FIFO is 32 Bytes */
15837#define ETH_DMAOMR_RTC_96Bytes 0x00000010U /* threshold level of the MTL Receive FIFO is 96 Bytes */
15838#define ETH_DMAOMR_RTC_128Bytes 0x00000018U /* threshold level of the MTL Receive FIFO is 128 Bytes */
15839#define ETH_DMAOMR_OSF_Pos (2U)
15840#define ETH_DMAOMR_OSF_Msk (0x1UL << ETH_DMAOMR_OSF_Pos)
15841#define ETH_DMAOMR_OSF ETH_DMAOMR_OSF_Msk /* operate on second frame */
15842#define ETH_DMAOMR_SR_Pos (1U)
15843#define ETH_DMAOMR_SR_Msk (0x1UL << ETH_DMAOMR_SR_Pos)
15844#define ETH_DMAOMR_SR ETH_DMAOMR_SR_Msk /* Start/stop receive */
15845
15846/* Bit definition for Ethernet DMA Interrupt Enable Register */
15847#define ETH_DMAIER_NISE_Pos (16U)
15848#define ETH_DMAIER_NISE_Msk (0x1UL << ETH_DMAIER_NISE_Pos)
15849#define ETH_DMAIER_NISE ETH_DMAIER_NISE_Msk /* Normal interrupt summary enable */
15850#define ETH_DMAIER_AISE_Pos (15U)
15851#define ETH_DMAIER_AISE_Msk (0x1UL << ETH_DMAIER_AISE_Pos)
15852#define ETH_DMAIER_AISE ETH_DMAIER_AISE_Msk /* Abnormal interrupt summary enable */
15853#define ETH_DMAIER_ERIE_Pos (14U)
15854#define ETH_DMAIER_ERIE_Msk (0x1UL << ETH_DMAIER_ERIE_Pos)
15855#define ETH_DMAIER_ERIE ETH_DMAIER_ERIE_Msk /* Early receive interrupt enable */
15856#define ETH_DMAIER_FBEIE_Pos (13U)
15857#define ETH_DMAIER_FBEIE_Msk (0x1UL << ETH_DMAIER_FBEIE_Pos)
15858#define ETH_DMAIER_FBEIE ETH_DMAIER_FBEIE_Msk /* Fatal bus error interrupt enable */
15859#define ETH_DMAIER_ETIE_Pos (10U)
15860#define ETH_DMAIER_ETIE_Msk (0x1UL << ETH_DMAIER_ETIE_Pos)
15861#define ETH_DMAIER_ETIE ETH_DMAIER_ETIE_Msk /* Early transmit interrupt enable */
15862#define ETH_DMAIER_RWTIE_Pos (9U)
15863#define ETH_DMAIER_RWTIE_Msk (0x1UL << ETH_DMAIER_RWTIE_Pos)
15864#define ETH_DMAIER_RWTIE ETH_DMAIER_RWTIE_Msk /* Receive watchdog timeout interrupt enable */
15865#define ETH_DMAIER_RPSIE_Pos (8U)
15866#define ETH_DMAIER_RPSIE_Msk (0x1UL << ETH_DMAIER_RPSIE_Pos)
15867#define ETH_DMAIER_RPSIE ETH_DMAIER_RPSIE_Msk /* Receive process stopped interrupt enable */
15868#define ETH_DMAIER_RBUIE_Pos (7U)
15869#define ETH_DMAIER_RBUIE_Msk (0x1UL << ETH_DMAIER_RBUIE_Pos)
15870#define ETH_DMAIER_RBUIE ETH_DMAIER_RBUIE_Msk /* Receive buffer unavailable interrupt enable */
15871#define ETH_DMAIER_RIE_Pos (6U)
15872#define ETH_DMAIER_RIE_Msk (0x1UL << ETH_DMAIER_RIE_Pos)
15873#define ETH_DMAIER_RIE ETH_DMAIER_RIE_Msk /* Receive interrupt enable */
15874#define ETH_DMAIER_TUIE_Pos (5U)
15875#define ETH_DMAIER_TUIE_Msk (0x1UL << ETH_DMAIER_TUIE_Pos)
15876#define ETH_DMAIER_TUIE ETH_DMAIER_TUIE_Msk /* Transmit Underflow interrupt enable */
15877#define ETH_DMAIER_ROIE_Pos (4U)
15878#define ETH_DMAIER_ROIE_Msk (0x1UL << ETH_DMAIER_ROIE_Pos)
15879#define ETH_DMAIER_ROIE ETH_DMAIER_ROIE_Msk /* Receive Overflow interrupt enable */
15880#define ETH_DMAIER_TJTIE_Pos (3U)
15881#define ETH_DMAIER_TJTIE_Msk (0x1UL << ETH_DMAIER_TJTIE_Pos)
15882#define ETH_DMAIER_TJTIE ETH_DMAIER_TJTIE_Msk /* Transmit jabber timeout interrupt enable */
15883#define ETH_DMAIER_TBUIE_Pos (2U)
15884#define ETH_DMAIER_TBUIE_Msk (0x1UL << ETH_DMAIER_TBUIE_Pos)
15885#define ETH_DMAIER_TBUIE ETH_DMAIER_TBUIE_Msk /* Transmit buffer unavailable interrupt enable */
15886#define ETH_DMAIER_TPSIE_Pos (1U)
15887#define ETH_DMAIER_TPSIE_Msk (0x1UL << ETH_DMAIER_TPSIE_Pos)
15888#define ETH_DMAIER_TPSIE ETH_DMAIER_TPSIE_Msk /* Transmit process stopped interrupt enable */
15889#define ETH_DMAIER_TIE_Pos (0U)
15890#define ETH_DMAIER_TIE_Msk (0x1UL << ETH_DMAIER_TIE_Pos)
15891#define ETH_DMAIER_TIE ETH_DMAIER_TIE_Msk /* Transmit interrupt enable */
15892
15893/* Bit definition for Ethernet DMA Missed Frame and Buffer Overflow Counter Register */
15894#define ETH_DMAMFBOCR_OFOC_Pos (28U)
15895#define ETH_DMAMFBOCR_OFOC_Msk (0x1UL << ETH_DMAMFBOCR_OFOC_Pos)
15896#define ETH_DMAMFBOCR_OFOC ETH_DMAMFBOCR_OFOC_Msk /* Overflow bit for FIFO overflow counter */
15897#define ETH_DMAMFBOCR_MFA_Pos (17U)
15898#define ETH_DMAMFBOCR_MFA_Msk (0x7FFUL << ETH_DMAMFBOCR_MFA_Pos)
15899#define ETH_DMAMFBOCR_MFA ETH_DMAMFBOCR_MFA_Msk /* Number of frames missed by the application */
15900#define ETH_DMAMFBOCR_OMFC_Pos (16U)
15901#define ETH_DMAMFBOCR_OMFC_Msk (0x1UL << ETH_DMAMFBOCR_OMFC_Pos)
15902#define ETH_DMAMFBOCR_OMFC ETH_DMAMFBOCR_OMFC_Msk /* Overflow bit for missed frame counter */
15903#define ETH_DMAMFBOCR_MFC_Pos (0U)
15904#define ETH_DMAMFBOCR_MFC_Msk (0xFFFFUL << ETH_DMAMFBOCR_MFC_Pos)
15905#define ETH_DMAMFBOCR_MFC ETH_DMAMFBOCR_MFC_Msk /* Number of frames missed by the controller */
15906
15907/* Bit definition for Ethernet DMA Current Host Transmit Descriptor Register */
15908#define ETH_DMACHTDR_HTDAP_Pos (0U)
15909#define ETH_DMACHTDR_HTDAP_Msk (0xFFFFFFFFUL << ETH_DMACHTDR_HTDAP_Pos)
15910#define ETH_DMACHTDR_HTDAP ETH_DMACHTDR_HTDAP_Msk /* Host transmit descriptor address pointer */
15911
15912/* Bit definition for Ethernet DMA Current Host Receive Descriptor Register */
15913#define ETH_DMACHRDR_HRDAP_Pos (0U)
15914#define ETH_DMACHRDR_HRDAP_Msk (0xFFFFFFFFUL << ETH_DMACHRDR_HRDAP_Pos)
15915#define ETH_DMACHRDR_HRDAP ETH_DMACHRDR_HRDAP_Msk /* Host receive descriptor address pointer */
15916
15917/* Bit definition for Ethernet DMA Current Host Transmit Buffer Address Register */
15918#define ETH_DMACHTBAR_HTBAP_Pos (0U)
15919#define ETH_DMACHTBAR_HTBAP_Msk (0xFFFFFFFFUL << ETH_DMACHTBAR_HTBAP_Pos)
15920#define ETH_DMACHTBAR_HTBAP ETH_DMACHTBAR_HTBAP_Msk /* Host transmit buffer address pointer */
15921
15922/* Bit definition for Ethernet DMA Current Host Receive Buffer Address Register */
15923#define ETH_DMACHRBAR_HRBAP_Pos (0U)
15924#define ETH_DMACHRBAR_HRBAP_Msk (0xFFFFFFFFUL << ETH_DMACHRBAR_HRBAP_Pos)
15925#define ETH_DMACHRBAR_HRBAP ETH_DMACHRBAR_HRBAP_Msk /* Host receive buffer address pointer */
15926
15927/******************************************************************************/
15928/* */
15929/* USB_OTG */
15930/* */
15931/******************************************************************************/
15932/******************** Bit definition for USB_OTG_GOTGCTL register ********************/
15933#define USB_OTG_GOTGCTL_SRQSCS_Pos (0U)
15934#define USB_OTG_GOTGCTL_SRQSCS_Msk (0x1UL << USB_OTG_GOTGCTL_SRQSCS_Pos)
15935#define USB_OTG_GOTGCTL_SRQSCS USB_OTG_GOTGCTL_SRQSCS_Msk
15936#define USB_OTG_GOTGCTL_SRQ_Pos (1U)
15937#define USB_OTG_GOTGCTL_SRQ_Msk (0x1UL << USB_OTG_GOTGCTL_SRQ_Pos)
15938#define USB_OTG_GOTGCTL_SRQ USB_OTG_GOTGCTL_SRQ_Msk
15939#define USB_OTG_GOTGCTL_VBVALOEN_Pos (2U)
15940#define USB_OTG_GOTGCTL_VBVALOEN_Msk (0x1UL << USB_OTG_GOTGCTL_VBVALOEN_Pos)
15941#define USB_OTG_GOTGCTL_VBVALOEN USB_OTG_GOTGCTL_VBVALOEN_Msk
15942#define USB_OTG_GOTGCTL_VBVALOVAL_Pos (3U)
15943#define USB_OTG_GOTGCTL_VBVALOVAL_Msk (0x1UL << USB_OTG_GOTGCTL_VBVALOVAL_Pos)
15944#define USB_OTG_GOTGCTL_VBVALOVAL USB_OTG_GOTGCTL_VBVALOVAL_Msk
15945#define USB_OTG_GOTGCTL_AVALOEN_Pos (4U)
15946#define USB_OTG_GOTGCTL_AVALOEN_Msk (0x1UL << USB_OTG_GOTGCTL_AVALOEN_Pos)
15947#define USB_OTG_GOTGCTL_AVALOEN USB_OTG_GOTGCTL_AVALOEN_Msk
15948#define USB_OTG_GOTGCTL_AVALOVAL_Pos (5U)
15949#define USB_OTG_GOTGCTL_AVALOVAL_Msk (0x1UL << USB_OTG_GOTGCTL_AVALOVAL_Pos)
15950#define USB_OTG_GOTGCTL_AVALOVAL USB_OTG_GOTGCTL_AVALOVAL_Msk
15951#define USB_OTG_GOTGCTL_BVALOEN_Pos (6U)
15952#define USB_OTG_GOTGCTL_BVALOEN_Msk (0x1UL << USB_OTG_GOTGCTL_BVALOEN_Pos)
15953#define USB_OTG_GOTGCTL_BVALOEN USB_OTG_GOTGCTL_BVALOEN_Msk
15954#define USB_OTG_GOTGCTL_BVALOVAL_Pos (7U)
15955#define USB_OTG_GOTGCTL_BVALOVAL_Msk (0x1UL << USB_OTG_GOTGCTL_BVALOVAL_Pos)
15956#define USB_OTG_GOTGCTL_BVALOVAL USB_OTG_GOTGCTL_BVALOVAL_Msk
15957#define USB_OTG_GOTGCTL_HNGSCS_Pos (8U)
15958#define USB_OTG_GOTGCTL_HNGSCS_Msk (0x1UL << USB_OTG_GOTGCTL_HNGSCS_Pos)
15959#define USB_OTG_GOTGCTL_HNGSCS USB_OTG_GOTGCTL_HNGSCS_Msk
15960#define USB_OTG_GOTGCTL_HNPRQ_Pos (9U)
15961#define USB_OTG_GOTGCTL_HNPRQ_Msk (0x1UL << USB_OTG_GOTGCTL_HNPRQ_Pos)
15962#define USB_OTG_GOTGCTL_HNPRQ USB_OTG_GOTGCTL_HNPRQ_Msk
15963#define USB_OTG_GOTGCTL_HSHNPEN_Pos (10U)
15964#define USB_OTG_GOTGCTL_HSHNPEN_Msk (0x1UL << USB_OTG_GOTGCTL_HSHNPEN_Pos)
15965#define USB_OTG_GOTGCTL_HSHNPEN USB_OTG_GOTGCTL_HSHNPEN_Msk
15966#define USB_OTG_GOTGCTL_DHNPEN_Pos (11U)
15967#define USB_OTG_GOTGCTL_DHNPEN_Msk (0x1UL << USB_OTG_GOTGCTL_DHNPEN_Pos)
15968#define USB_OTG_GOTGCTL_DHNPEN USB_OTG_GOTGCTL_DHNPEN_Msk
15969#define USB_OTG_GOTGCTL_EHEN_Pos (12U)
15970#define USB_OTG_GOTGCTL_EHEN_Msk (0x1UL << USB_OTG_GOTGCTL_EHEN_Pos)
15971#define USB_OTG_GOTGCTL_EHEN USB_OTG_GOTGCTL_EHEN_Msk
15972#define USB_OTG_GOTGCTL_CIDSTS_Pos (16U)
15973#define USB_OTG_GOTGCTL_CIDSTS_Msk (0x1UL << USB_OTG_GOTGCTL_CIDSTS_Pos)
15974#define USB_OTG_GOTGCTL_CIDSTS USB_OTG_GOTGCTL_CIDSTS_Msk
15975#define USB_OTG_GOTGCTL_DBCT_Pos (17U)
15976#define USB_OTG_GOTGCTL_DBCT_Msk (0x1UL << USB_OTG_GOTGCTL_DBCT_Pos)
15977#define USB_OTG_GOTGCTL_DBCT USB_OTG_GOTGCTL_DBCT_Msk
15978#define USB_OTG_GOTGCTL_ASVLD_Pos (18U)
15979#define USB_OTG_GOTGCTL_ASVLD_Msk (0x1UL << USB_OTG_GOTGCTL_ASVLD_Pos)
15980#define USB_OTG_GOTGCTL_ASVLD USB_OTG_GOTGCTL_ASVLD_Msk
15981#define USB_OTG_GOTGCTL_BSESVLD_Pos (19U)
15982#define USB_OTG_GOTGCTL_BSESVLD_Msk (0x1UL << USB_OTG_GOTGCTL_BSESVLD_Pos)
15983#define USB_OTG_GOTGCTL_BSESVLD USB_OTG_GOTGCTL_BSESVLD_Msk
15984#define USB_OTG_GOTGCTL_OTGVER_Pos (20U)
15985#define USB_OTG_GOTGCTL_OTGVER_Msk (0x1UL << USB_OTG_GOTGCTL_OTGVER_Pos)
15986#define USB_OTG_GOTGCTL_OTGVER USB_OTG_GOTGCTL_OTGVER_Msk
15988/******************** Bit definition for USB_OTG_HCFG register ********************/
15989#define USB_OTG_HCFG_FSLSPCS_Pos (0U)
15990#define USB_OTG_HCFG_FSLSPCS_Msk (0x3UL << USB_OTG_HCFG_FSLSPCS_Pos)
15991#define USB_OTG_HCFG_FSLSPCS USB_OTG_HCFG_FSLSPCS_Msk
15992#define USB_OTG_HCFG_FSLSPCS_0 (0x1UL << USB_OTG_HCFG_FSLSPCS_Pos)
15993#define USB_OTG_HCFG_FSLSPCS_1 (0x2UL << USB_OTG_HCFG_FSLSPCS_Pos)
15994#define USB_OTG_HCFG_FSLSS_Pos (2U)
15995#define USB_OTG_HCFG_FSLSS_Msk (0x1UL << USB_OTG_HCFG_FSLSS_Pos)
15996#define USB_OTG_HCFG_FSLSS USB_OTG_HCFG_FSLSS_Msk
15998/******************** Bit definition for USB_OTG_DCFG register ********************/
15999#define USB_OTG_DCFG_DSPD_Pos (0U)
16000#define USB_OTG_DCFG_DSPD_Msk (0x3UL << USB_OTG_DCFG_DSPD_Pos)
16001#define USB_OTG_DCFG_DSPD USB_OTG_DCFG_DSPD_Msk
16002#define USB_OTG_DCFG_DSPD_0 (0x1UL << USB_OTG_DCFG_DSPD_Pos)
16003#define USB_OTG_DCFG_DSPD_1 (0x2UL << USB_OTG_DCFG_DSPD_Pos)
16004#define USB_OTG_DCFG_NZLSOHSK_Pos (2U)
16005#define USB_OTG_DCFG_NZLSOHSK_Msk (0x1UL << USB_OTG_DCFG_NZLSOHSK_Pos)
16006#define USB_OTG_DCFG_NZLSOHSK USB_OTG_DCFG_NZLSOHSK_Msk
16008#define USB_OTG_DCFG_DAD_Pos (4U)
16009#define USB_OTG_DCFG_DAD_Msk (0x7FUL << USB_OTG_DCFG_DAD_Pos)
16010#define USB_OTG_DCFG_DAD USB_OTG_DCFG_DAD_Msk
16011#define USB_OTG_DCFG_DAD_0 (0x01UL << USB_OTG_DCFG_DAD_Pos)
16012#define USB_OTG_DCFG_DAD_1 (0x02UL << USB_OTG_DCFG_DAD_Pos)
16013#define USB_OTG_DCFG_DAD_2 (0x04UL << USB_OTG_DCFG_DAD_Pos)
16014#define USB_OTG_DCFG_DAD_3 (0x08UL << USB_OTG_DCFG_DAD_Pos)
16015#define USB_OTG_DCFG_DAD_4 (0x10UL << USB_OTG_DCFG_DAD_Pos)
16016#define USB_OTG_DCFG_DAD_5 (0x20UL << USB_OTG_DCFG_DAD_Pos)
16017#define USB_OTG_DCFG_DAD_6 (0x40UL << USB_OTG_DCFG_DAD_Pos)
16019#define USB_OTG_DCFG_PFIVL_Pos (11U)
16020#define USB_OTG_DCFG_PFIVL_Msk (0x3UL << USB_OTG_DCFG_PFIVL_Pos)
16021#define USB_OTG_DCFG_PFIVL USB_OTG_DCFG_PFIVL_Msk
16022#define USB_OTG_DCFG_PFIVL_0 (0x1UL << USB_OTG_DCFG_PFIVL_Pos)
16023#define USB_OTG_DCFG_PFIVL_1 (0x2UL << USB_OTG_DCFG_PFIVL_Pos)
16025#define USB_OTG_DCFG_PERSCHIVL_Pos (24U)
16026#define USB_OTG_DCFG_PERSCHIVL_Msk (0x3UL << USB_OTG_DCFG_PERSCHIVL_Pos)
16027#define USB_OTG_DCFG_PERSCHIVL USB_OTG_DCFG_PERSCHIVL_Msk
16028#define USB_OTG_DCFG_PERSCHIVL_0 (0x1UL << USB_OTG_DCFG_PERSCHIVL_Pos)
16029#define USB_OTG_DCFG_PERSCHIVL_1 (0x2UL << USB_OTG_DCFG_PERSCHIVL_Pos)
16031/******************** Bit definition for USB_OTG_PCGCR register ********************/
16032#define USB_OTG_PCGCR_STPPCLK_Pos (0U)
16033#define USB_OTG_PCGCR_STPPCLK_Msk (0x1UL << USB_OTG_PCGCR_STPPCLK_Pos)
16034#define USB_OTG_PCGCR_STPPCLK USB_OTG_PCGCR_STPPCLK_Msk
16035#define USB_OTG_PCGCR_GATEHCLK_Pos (1U)
16036#define USB_OTG_PCGCR_GATEHCLK_Msk (0x1UL << USB_OTG_PCGCR_GATEHCLK_Pos)
16037#define USB_OTG_PCGCR_GATEHCLK USB_OTG_PCGCR_GATEHCLK_Msk
16038#define USB_OTG_PCGCR_PHYSUSP_Pos (4U)
16039#define USB_OTG_PCGCR_PHYSUSP_Msk (0x1UL << USB_OTG_PCGCR_PHYSUSP_Pos)
16040#define USB_OTG_PCGCR_PHYSUSP USB_OTG_PCGCR_PHYSUSP_Msk
16042/******************** Bit definition for USB_OTG_GOTGINT register ********************/
16043#define USB_OTG_GOTGINT_SEDET_Pos (2U)
16044#define USB_OTG_GOTGINT_SEDET_Msk (0x1UL << USB_OTG_GOTGINT_SEDET_Pos)
16045#define USB_OTG_GOTGINT_SEDET USB_OTG_GOTGINT_SEDET_Msk
16046#define USB_OTG_GOTGINT_SRSSCHG_Pos (8U)
16047#define USB_OTG_GOTGINT_SRSSCHG_Msk (0x1UL << USB_OTG_GOTGINT_SRSSCHG_Pos)
16048#define USB_OTG_GOTGINT_SRSSCHG USB_OTG_GOTGINT_SRSSCHG_Msk
16049#define USB_OTG_GOTGINT_HNSSCHG_Pos (9U)
16050#define USB_OTG_GOTGINT_HNSSCHG_Msk (0x1UL << USB_OTG_GOTGINT_HNSSCHG_Pos)
16051#define USB_OTG_GOTGINT_HNSSCHG USB_OTG_GOTGINT_HNSSCHG_Msk
16052#define USB_OTG_GOTGINT_HNGDET_Pos (17U)
16053#define USB_OTG_GOTGINT_HNGDET_Msk (0x1UL << USB_OTG_GOTGINT_HNGDET_Pos)
16054#define USB_OTG_GOTGINT_HNGDET USB_OTG_GOTGINT_HNGDET_Msk
16055#define USB_OTG_GOTGINT_ADTOCHG_Pos (18U)
16056#define USB_OTG_GOTGINT_ADTOCHG_Msk (0x1UL << USB_OTG_GOTGINT_ADTOCHG_Pos)
16057#define USB_OTG_GOTGINT_ADTOCHG USB_OTG_GOTGINT_ADTOCHG_Msk
16058#define USB_OTG_GOTGINT_DBCDNE_Pos (19U)
16059#define USB_OTG_GOTGINT_DBCDNE_Msk (0x1UL << USB_OTG_GOTGINT_DBCDNE_Pos)
16060#define USB_OTG_GOTGINT_DBCDNE USB_OTG_GOTGINT_DBCDNE_Msk
16061#define USB_OTG_GOTGINT_IDCHNG_Pos (20U)
16062#define USB_OTG_GOTGINT_IDCHNG_Msk (0x1UL << USB_OTG_GOTGINT_IDCHNG_Pos)
16063#define USB_OTG_GOTGINT_IDCHNG USB_OTG_GOTGINT_IDCHNG_Msk
16065/******************** Bit definition for USB_OTG_DCTL register ********************/
16066#define USB_OTG_DCTL_RWUSIG_Pos (0U)
16067#define USB_OTG_DCTL_RWUSIG_Msk (0x1UL << USB_OTG_DCTL_RWUSIG_Pos)
16068#define USB_OTG_DCTL_RWUSIG USB_OTG_DCTL_RWUSIG_Msk
16069#define USB_OTG_DCTL_SDIS_Pos (1U)
16070#define USB_OTG_DCTL_SDIS_Msk (0x1UL << USB_OTG_DCTL_SDIS_Pos)
16071#define USB_OTG_DCTL_SDIS USB_OTG_DCTL_SDIS_Msk
16072#define USB_OTG_DCTL_GINSTS_Pos (2U)
16073#define USB_OTG_DCTL_GINSTS_Msk (0x1UL << USB_OTG_DCTL_GINSTS_Pos)
16074#define USB_OTG_DCTL_GINSTS USB_OTG_DCTL_GINSTS_Msk
16075#define USB_OTG_DCTL_GONSTS_Pos (3U)
16076#define USB_OTG_DCTL_GONSTS_Msk (0x1UL << USB_OTG_DCTL_GONSTS_Pos)
16077#define USB_OTG_DCTL_GONSTS USB_OTG_DCTL_GONSTS_Msk
16079#define USB_OTG_DCTL_TCTL_Pos (4U)
16080#define USB_OTG_DCTL_TCTL_Msk (0x7UL << USB_OTG_DCTL_TCTL_Pos)
16081#define USB_OTG_DCTL_TCTL USB_OTG_DCTL_TCTL_Msk
16082#define USB_OTG_DCTL_TCTL_0 (0x1UL << USB_OTG_DCTL_TCTL_Pos)
16083#define USB_OTG_DCTL_TCTL_1 (0x2UL << USB_OTG_DCTL_TCTL_Pos)
16084#define USB_OTG_DCTL_TCTL_2 (0x4UL << USB_OTG_DCTL_TCTL_Pos)
16085#define USB_OTG_DCTL_SGINAK_Pos (7U)
16086#define USB_OTG_DCTL_SGINAK_Msk (0x1UL << USB_OTG_DCTL_SGINAK_Pos)
16087#define USB_OTG_DCTL_SGINAK USB_OTG_DCTL_SGINAK_Msk
16088#define USB_OTG_DCTL_CGINAK_Pos (8U)
16089#define USB_OTG_DCTL_CGINAK_Msk (0x1UL << USB_OTG_DCTL_CGINAK_Pos)
16090#define USB_OTG_DCTL_CGINAK USB_OTG_DCTL_CGINAK_Msk
16091#define USB_OTG_DCTL_SGONAK_Pos (9U)
16092#define USB_OTG_DCTL_SGONAK_Msk (0x1UL << USB_OTG_DCTL_SGONAK_Pos)
16093#define USB_OTG_DCTL_SGONAK USB_OTG_DCTL_SGONAK_Msk
16094#define USB_OTG_DCTL_CGONAK_Pos (10U)
16095#define USB_OTG_DCTL_CGONAK_Msk (0x1UL << USB_OTG_DCTL_CGONAK_Pos)
16096#define USB_OTG_DCTL_CGONAK USB_OTG_DCTL_CGONAK_Msk
16097#define USB_OTG_DCTL_POPRGDNE_Pos (11U)
16098#define USB_OTG_DCTL_POPRGDNE_Msk (0x1UL << USB_OTG_DCTL_POPRGDNE_Pos)
16099#define USB_OTG_DCTL_POPRGDNE USB_OTG_DCTL_POPRGDNE_Msk
16101/******************** Bit definition for USB_OTG_HFIR register ********************/
16102#define USB_OTG_HFIR_FRIVL_Pos (0U)
16103#define USB_OTG_HFIR_FRIVL_Msk (0xFFFFUL << USB_OTG_HFIR_FRIVL_Pos)
16104#define USB_OTG_HFIR_FRIVL USB_OTG_HFIR_FRIVL_Msk
16106/******************** Bit definition for USB_OTG_HFNUM register ********************/
16107#define USB_OTG_HFNUM_FRNUM_Pos (0U)
16108#define USB_OTG_HFNUM_FRNUM_Msk (0xFFFFUL << USB_OTG_HFNUM_FRNUM_Pos)
16109#define USB_OTG_HFNUM_FRNUM USB_OTG_HFNUM_FRNUM_Msk
16110#define USB_OTG_HFNUM_FTREM_Pos (16U)
16111#define USB_OTG_HFNUM_FTREM_Msk (0xFFFFUL << USB_OTG_HFNUM_FTREM_Pos)
16112#define USB_OTG_HFNUM_FTREM USB_OTG_HFNUM_FTREM_Msk
16114/******************** Bit definition for USB_OTG_DSTS register ********************/
16115#define USB_OTG_DSTS_SUSPSTS_Pos (0U)
16116#define USB_OTG_DSTS_SUSPSTS_Msk (0x1UL << USB_OTG_DSTS_SUSPSTS_Pos)
16117#define USB_OTG_DSTS_SUSPSTS USB_OTG_DSTS_SUSPSTS_Msk
16119#define USB_OTG_DSTS_ENUMSPD_Pos (1U)
16120#define USB_OTG_DSTS_ENUMSPD_Msk (0x3UL << USB_OTG_DSTS_ENUMSPD_Pos)
16121#define USB_OTG_DSTS_ENUMSPD USB_OTG_DSTS_ENUMSPD_Msk
16122#define USB_OTG_DSTS_ENUMSPD_0 (0x1UL << USB_OTG_DSTS_ENUMSPD_Pos)
16123#define USB_OTG_DSTS_ENUMSPD_1 (0x2UL << USB_OTG_DSTS_ENUMSPD_Pos)
16124#define USB_OTG_DSTS_EERR_Pos (3U)
16125#define USB_OTG_DSTS_EERR_Msk (0x1UL << USB_OTG_DSTS_EERR_Pos)
16126#define USB_OTG_DSTS_EERR USB_OTG_DSTS_EERR_Msk
16127#define USB_OTG_DSTS_FNSOF_Pos (8U)
16128#define USB_OTG_DSTS_FNSOF_Msk (0x3FFFUL << USB_OTG_DSTS_FNSOF_Pos)
16129#define USB_OTG_DSTS_FNSOF USB_OTG_DSTS_FNSOF_Msk
16131/******************** Bit definition for USB_OTG_GAHBCFG register ********************/
16132#define USB_OTG_GAHBCFG_GINT_Pos (0U)
16133#define USB_OTG_GAHBCFG_GINT_Msk (0x1UL << USB_OTG_GAHBCFG_GINT_Pos)
16134#define USB_OTG_GAHBCFG_GINT USB_OTG_GAHBCFG_GINT_Msk
16135#define USB_OTG_GAHBCFG_HBSTLEN_Pos (1U)
16136#define USB_OTG_GAHBCFG_HBSTLEN_Msk (0xFUL << USB_OTG_GAHBCFG_HBSTLEN_Pos)
16137#define USB_OTG_GAHBCFG_HBSTLEN USB_OTG_GAHBCFG_HBSTLEN_Msk
16138#define USB_OTG_GAHBCFG_HBSTLEN_0 (0x0UL << USB_OTG_GAHBCFG_HBSTLEN_Pos)
16139#define USB_OTG_GAHBCFG_HBSTLEN_1 (0x1UL << USB_OTG_GAHBCFG_HBSTLEN_Pos)
16140#define USB_OTG_GAHBCFG_HBSTLEN_2 (0x3UL << USB_OTG_GAHBCFG_HBSTLEN_Pos)
16141#define USB_OTG_GAHBCFG_HBSTLEN_3 (0x5UL << USB_OTG_GAHBCFG_HBSTLEN_Pos)
16142#define USB_OTG_GAHBCFG_HBSTLEN_4 (0x7UL << USB_OTG_GAHBCFG_HBSTLEN_Pos)
16143#define USB_OTG_GAHBCFG_DMAEN_Pos (5U)
16144#define USB_OTG_GAHBCFG_DMAEN_Msk (0x1UL << USB_OTG_GAHBCFG_DMAEN_Pos)
16145#define USB_OTG_GAHBCFG_DMAEN USB_OTG_GAHBCFG_DMAEN_Msk
16146#define USB_OTG_GAHBCFG_TXFELVL_Pos (7U)
16147#define USB_OTG_GAHBCFG_TXFELVL_Msk (0x1UL << USB_OTG_GAHBCFG_TXFELVL_Pos)
16148#define USB_OTG_GAHBCFG_TXFELVL USB_OTG_GAHBCFG_TXFELVL_Msk
16149#define USB_OTG_GAHBCFG_PTXFELVL_Pos (8U)
16150#define USB_OTG_GAHBCFG_PTXFELVL_Msk (0x1UL << USB_OTG_GAHBCFG_PTXFELVL_Pos)
16151#define USB_OTG_GAHBCFG_PTXFELVL USB_OTG_GAHBCFG_PTXFELVL_Msk
16153/******************** Bit definition for USB_OTG_GUSBCFG register ********************/
16154#define USB_OTG_GUSBCFG_TOCAL_Pos (0U)
16155#define USB_OTG_GUSBCFG_TOCAL_Msk (0x7UL << USB_OTG_GUSBCFG_TOCAL_Pos)
16156#define USB_OTG_GUSBCFG_TOCAL USB_OTG_GUSBCFG_TOCAL_Msk
16157#define USB_OTG_GUSBCFG_TOCAL_0 (0x1UL << USB_OTG_GUSBCFG_TOCAL_Pos)
16158#define USB_OTG_GUSBCFG_TOCAL_1 (0x2UL << USB_OTG_GUSBCFG_TOCAL_Pos)
16159#define USB_OTG_GUSBCFG_TOCAL_2 (0x4UL << USB_OTG_GUSBCFG_TOCAL_Pos)
16160#define USB_OTG_GUSBCFG_PHYSEL_Pos (6U)
16161#define USB_OTG_GUSBCFG_PHYSEL_Msk (0x1UL << USB_OTG_GUSBCFG_PHYSEL_Pos)
16162#define USB_OTG_GUSBCFG_PHYSEL USB_OTG_GUSBCFG_PHYSEL_Msk
16163#define USB_OTG_GUSBCFG_SRPCAP_Pos (8U)
16164#define USB_OTG_GUSBCFG_SRPCAP_Msk (0x1UL << USB_OTG_GUSBCFG_SRPCAP_Pos)
16165#define USB_OTG_GUSBCFG_SRPCAP USB_OTG_GUSBCFG_SRPCAP_Msk
16166#define USB_OTG_GUSBCFG_HNPCAP_Pos (9U)
16167#define USB_OTG_GUSBCFG_HNPCAP_Msk (0x1UL << USB_OTG_GUSBCFG_HNPCAP_Pos)
16168#define USB_OTG_GUSBCFG_HNPCAP USB_OTG_GUSBCFG_HNPCAP_Msk
16169#define USB_OTG_GUSBCFG_TRDT_Pos (10U)
16170#define USB_OTG_GUSBCFG_TRDT_Msk (0xFUL << USB_OTG_GUSBCFG_TRDT_Pos)
16171#define USB_OTG_GUSBCFG_TRDT USB_OTG_GUSBCFG_TRDT_Msk
16172#define USB_OTG_GUSBCFG_TRDT_0 (0x1UL << USB_OTG_GUSBCFG_TRDT_Pos)
16173#define USB_OTG_GUSBCFG_TRDT_1 (0x2UL << USB_OTG_GUSBCFG_TRDT_Pos)
16174#define USB_OTG_GUSBCFG_TRDT_2 (0x4UL << USB_OTG_GUSBCFG_TRDT_Pos)
16175#define USB_OTG_GUSBCFG_TRDT_3 (0x8UL << USB_OTG_GUSBCFG_TRDT_Pos)
16176#define USB_OTG_GUSBCFG_PHYLPCS_Pos (15U)
16177#define USB_OTG_GUSBCFG_PHYLPCS_Msk (0x1UL << USB_OTG_GUSBCFG_PHYLPCS_Pos)
16178#define USB_OTG_GUSBCFG_PHYLPCS USB_OTG_GUSBCFG_PHYLPCS_Msk
16179#define USB_OTG_GUSBCFG_ULPIFSLS_Pos (17U)
16180#define USB_OTG_GUSBCFG_ULPIFSLS_Msk (0x1UL << USB_OTG_GUSBCFG_ULPIFSLS_Pos)
16181#define USB_OTG_GUSBCFG_ULPIFSLS USB_OTG_GUSBCFG_ULPIFSLS_Msk
16182#define USB_OTG_GUSBCFG_ULPIAR_Pos (18U)
16183#define USB_OTG_GUSBCFG_ULPIAR_Msk (0x1UL << USB_OTG_GUSBCFG_ULPIAR_Pos)
16184#define USB_OTG_GUSBCFG_ULPIAR USB_OTG_GUSBCFG_ULPIAR_Msk
16185#define USB_OTG_GUSBCFG_ULPICSM_Pos (19U)
16186#define USB_OTG_GUSBCFG_ULPICSM_Msk (0x1UL << USB_OTG_GUSBCFG_ULPICSM_Pos)
16187#define USB_OTG_GUSBCFG_ULPICSM USB_OTG_GUSBCFG_ULPICSM_Msk
16188#define USB_OTG_GUSBCFG_ULPIEVBUSD_Pos (20U)
16189#define USB_OTG_GUSBCFG_ULPIEVBUSD_Msk (0x1UL << USB_OTG_GUSBCFG_ULPIEVBUSD_Pos)
16190#define USB_OTG_GUSBCFG_ULPIEVBUSD USB_OTG_GUSBCFG_ULPIEVBUSD_Msk
16191#define USB_OTG_GUSBCFG_ULPIEVBUSI_Pos (21U)
16192#define USB_OTG_GUSBCFG_ULPIEVBUSI_Msk (0x1UL << USB_OTG_GUSBCFG_ULPIEVBUSI_Pos)
16193#define USB_OTG_GUSBCFG_ULPIEVBUSI USB_OTG_GUSBCFG_ULPIEVBUSI_Msk
16194#define USB_OTG_GUSBCFG_TSDPS_Pos (22U)
16195#define USB_OTG_GUSBCFG_TSDPS_Msk (0x1UL << USB_OTG_GUSBCFG_TSDPS_Pos)
16196#define USB_OTG_GUSBCFG_TSDPS USB_OTG_GUSBCFG_TSDPS_Msk
16197#define USB_OTG_GUSBCFG_PCCI_Pos (23U)
16198#define USB_OTG_GUSBCFG_PCCI_Msk (0x1UL << USB_OTG_GUSBCFG_PCCI_Pos)
16199#define USB_OTG_GUSBCFG_PCCI USB_OTG_GUSBCFG_PCCI_Msk
16200#define USB_OTG_GUSBCFG_PTCI_Pos (24U)
16201#define USB_OTG_GUSBCFG_PTCI_Msk (0x1UL << USB_OTG_GUSBCFG_PTCI_Pos)
16202#define USB_OTG_GUSBCFG_PTCI USB_OTG_GUSBCFG_PTCI_Msk
16203#define USB_OTG_GUSBCFG_ULPIIPD_Pos (25U)
16204#define USB_OTG_GUSBCFG_ULPIIPD_Msk (0x1UL << USB_OTG_GUSBCFG_ULPIIPD_Pos)
16205#define USB_OTG_GUSBCFG_ULPIIPD USB_OTG_GUSBCFG_ULPIIPD_Msk
16206#define USB_OTG_GUSBCFG_FHMOD_Pos (29U)
16207#define USB_OTG_GUSBCFG_FHMOD_Msk (0x1UL << USB_OTG_GUSBCFG_FHMOD_Pos)
16208#define USB_OTG_GUSBCFG_FHMOD USB_OTG_GUSBCFG_FHMOD_Msk
16209#define USB_OTG_GUSBCFG_FDMOD_Pos (30U)
16210#define USB_OTG_GUSBCFG_FDMOD_Msk (0x1UL << USB_OTG_GUSBCFG_FDMOD_Pos)
16211#define USB_OTG_GUSBCFG_FDMOD USB_OTG_GUSBCFG_FDMOD_Msk
16212#define USB_OTG_GUSBCFG_CTXPKT_Pos (31U)
16213#define USB_OTG_GUSBCFG_CTXPKT_Msk (0x1UL << USB_OTG_GUSBCFG_CTXPKT_Pos)
16214#define USB_OTG_GUSBCFG_CTXPKT USB_OTG_GUSBCFG_CTXPKT_Msk
16216/******************** Bit definition for USB_OTG_GRSTCTL register ********************/
16217#define USB_OTG_GRSTCTL_CSRST_Pos (0U)
16218#define USB_OTG_GRSTCTL_CSRST_Msk (0x1UL << USB_OTG_GRSTCTL_CSRST_Pos)
16219#define USB_OTG_GRSTCTL_CSRST USB_OTG_GRSTCTL_CSRST_Msk
16220#define USB_OTG_GRSTCTL_HSRST_Pos (1U)
16221#define USB_OTG_GRSTCTL_HSRST_Msk (0x1UL << USB_OTG_GRSTCTL_HSRST_Pos)
16222#define USB_OTG_GRSTCTL_HSRST USB_OTG_GRSTCTL_HSRST_Msk
16223#define USB_OTG_GRSTCTL_FCRST_Pos (2U)
16224#define USB_OTG_GRSTCTL_FCRST_Msk (0x1UL << USB_OTG_GRSTCTL_FCRST_Pos)
16225#define USB_OTG_GRSTCTL_FCRST USB_OTG_GRSTCTL_FCRST_Msk
16226#define USB_OTG_GRSTCTL_RXFFLSH_Pos (4U)
16227#define USB_OTG_GRSTCTL_RXFFLSH_Msk (0x1UL << USB_OTG_GRSTCTL_RXFFLSH_Pos)
16228#define USB_OTG_GRSTCTL_RXFFLSH USB_OTG_GRSTCTL_RXFFLSH_Msk
16229#define USB_OTG_GRSTCTL_TXFFLSH_Pos (5U)
16230#define USB_OTG_GRSTCTL_TXFFLSH_Msk (0x1UL << USB_OTG_GRSTCTL_TXFFLSH_Pos)
16231#define USB_OTG_GRSTCTL_TXFFLSH USB_OTG_GRSTCTL_TXFFLSH_Msk
16232#define USB_OTG_GRSTCTL_TXFNUM_Pos (6U)
16233#define USB_OTG_GRSTCTL_TXFNUM_Msk (0x1FUL << USB_OTG_GRSTCTL_TXFNUM_Pos)
16234#define USB_OTG_GRSTCTL_TXFNUM USB_OTG_GRSTCTL_TXFNUM_Msk
16235#define USB_OTG_GRSTCTL_TXFNUM_0 (0x01UL << USB_OTG_GRSTCTL_TXFNUM_Pos)
16236#define USB_OTG_GRSTCTL_TXFNUM_1 (0x02UL << USB_OTG_GRSTCTL_TXFNUM_Pos)
16237#define USB_OTG_GRSTCTL_TXFNUM_2 (0x04UL << USB_OTG_GRSTCTL_TXFNUM_Pos)
16238#define USB_OTG_GRSTCTL_TXFNUM_3 (0x08UL << USB_OTG_GRSTCTL_TXFNUM_Pos)
16239#define USB_OTG_GRSTCTL_TXFNUM_4 (0x10UL << USB_OTG_GRSTCTL_TXFNUM_Pos)
16240#define USB_OTG_GRSTCTL_DMAREQ_Pos (30U)
16241#define USB_OTG_GRSTCTL_DMAREQ_Msk (0x1UL << USB_OTG_GRSTCTL_DMAREQ_Pos)
16242#define USB_OTG_GRSTCTL_DMAREQ USB_OTG_GRSTCTL_DMAREQ_Msk
16243#define USB_OTG_GRSTCTL_AHBIDL_Pos (31U)
16244#define USB_OTG_GRSTCTL_AHBIDL_Msk (0x1UL << USB_OTG_GRSTCTL_AHBIDL_Pos)
16245#define USB_OTG_GRSTCTL_AHBIDL USB_OTG_GRSTCTL_AHBIDL_Msk
16247/******************** Bit definition for USB_OTG_DIEPMSK register ********************/
16248#define USB_OTG_DIEPMSK_XFRCM_Pos (0U)
16249#define USB_OTG_DIEPMSK_XFRCM_Msk (0x1UL << USB_OTG_DIEPMSK_XFRCM_Pos)
16250#define USB_OTG_DIEPMSK_XFRCM USB_OTG_DIEPMSK_XFRCM_Msk
16251#define USB_OTG_DIEPMSK_EPDM_Pos (1U)
16252#define USB_OTG_DIEPMSK_EPDM_Msk (0x1UL << USB_OTG_DIEPMSK_EPDM_Pos)
16253#define USB_OTG_DIEPMSK_EPDM USB_OTG_DIEPMSK_EPDM_Msk
16254#define USB_OTG_DIEPMSK_TOM_Pos (3U)
16255#define USB_OTG_DIEPMSK_TOM_Msk (0x1UL << USB_OTG_DIEPMSK_TOM_Pos)
16256#define USB_OTG_DIEPMSK_TOM USB_OTG_DIEPMSK_TOM_Msk
16257#define USB_OTG_DIEPMSK_ITTXFEMSK_Pos (4U)
16258#define USB_OTG_DIEPMSK_ITTXFEMSK_Msk (0x1UL << USB_OTG_DIEPMSK_ITTXFEMSK_Pos)
16259#define USB_OTG_DIEPMSK_ITTXFEMSK USB_OTG_DIEPMSK_ITTXFEMSK_Msk
16260#define USB_OTG_DIEPMSK_INEPNMM_Pos (5U)
16261#define USB_OTG_DIEPMSK_INEPNMM_Msk (0x1UL << USB_OTG_DIEPMSK_INEPNMM_Pos)
16262#define USB_OTG_DIEPMSK_INEPNMM USB_OTG_DIEPMSK_INEPNMM_Msk
16263#define USB_OTG_DIEPMSK_INEPNEM_Pos (6U)
16264#define USB_OTG_DIEPMSK_INEPNEM_Msk (0x1UL << USB_OTG_DIEPMSK_INEPNEM_Pos)
16265#define USB_OTG_DIEPMSK_INEPNEM USB_OTG_DIEPMSK_INEPNEM_Msk
16266#define USB_OTG_DIEPMSK_TXFURM_Pos (8U)
16267#define USB_OTG_DIEPMSK_TXFURM_Msk (0x1UL << USB_OTG_DIEPMSK_TXFURM_Pos)
16268#define USB_OTG_DIEPMSK_TXFURM USB_OTG_DIEPMSK_TXFURM_Msk
16269#define USB_OTG_DIEPMSK_BIM_Pos (9U)
16270#define USB_OTG_DIEPMSK_BIM_Msk (0x1UL << USB_OTG_DIEPMSK_BIM_Pos)
16271#define USB_OTG_DIEPMSK_BIM USB_OTG_DIEPMSK_BIM_Msk
16273/******************** Bit definition for USB_OTG_HPTXSTS register ********************/
16274#define USB_OTG_HPTXSTS_PTXFSAVL_Pos (0U)
16275#define USB_OTG_HPTXSTS_PTXFSAVL_Msk (0xFFFFUL << USB_OTG_HPTXSTS_PTXFSAVL_Pos)
16276#define USB_OTG_HPTXSTS_PTXFSAVL USB_OTG_HPTXSTS_PTXFSAVL_Msk
16277#define USB_OTG_HPTXSTS_PTXQSAV_Pos (16U)
16278#define USB_OTG_HPTXSTS_PTXQSAV_Msk (0xFFUL << USB_OTG_HPTXSTS_PTXQSAV_Pos)
16279#define USB_OTG_HPTXSTS_PTXQSAV USB_OTG_HPTXSTS_PTXQSAV_Msk
16280#define USB_OTG_HPTXSTS_PTXQSAV_0 (0x01UL << USB_OTG_HPTXSTS_PTXQSAV_Pos)
16281#define USB_OTG_HPTXSTS_PTXQSAV_1 (0x02UL << USB_OTG_HPTXSTS_PTXQSAV_Pos)
16282#define USB_OTG_HPTXSTS_PTXQSAV_2 (0x04UL << USB_OTG_HPTXSTS_PTXQSAV_Pos)
16283#define USB_OTG_HPTXSTS_PTXQSAV_3 (0x08UL << USB_OTG_HPTXSTS_PTXQSAV_Pos)
16284#define USB_OTG_HPTXSTS_PTXQSAV_4 (0x10UL << USB_OTG_HPTXSTS_PTXQSAV_Pos)
16285#define USB_OTG_HPTXSTS_PTXQSAV_5 (0x20UL << USB_OTG_HPTXSTS_PTXQSAV_Pos)
16286#define USB_OTG_HPTXSTS_PTXQSAV_6 (0x40UL << USB_OTG_HPTXSTS_PTXQSAV_Pos)
16287#define USB_OTG_HPTXSTS_PTXQSAV_7 (0x80UL << USB_OTG_HPTXSTS_PTXQSAV_Pos)
16289#define USB_OTG_HPTXSTS_PTXQTOP_Pos (24U)
16290#define USB_OTG_HPTXSTS_PTXQTOP_Msk (0xFFUL << USB_OTG_HPTXSTS_PTXQTOP_Pos)
16291#define USB_OTG_HPTXSTS_PTXQTOP USB_OTG_HPTXSTS_PTXQTOP_Msk
16292#define USB_OTG_HPTXSTS_PTXQTOP_0 (0x01UL << USB_OTG_HPTXSTS_PTXQTOP_Pos)
16293#define USB_OTG_HPTXSTS_PTXQTOP_1 (0x02UL << USB_OTG_HPTXSTS_PTXQTOP_Pos)
16294#define USB_OTG_HPTXSTS_PTXQTOP_2 (0x04UL << USB_OTG_HPTXSTS_PTXQTOP_Pos)
16295#define USB_OTG_HPTXSTS_PTXQTOP_3 (0x08UL << USB_OTG_HPTXSTS_PTXQTOP_Pos)
16296#define USB_OTG_HPTXSTS_PTXQTOP_4 (0x10UL << USB_OTG_HPTXSTS_PTXQTOP_Pos)
16297#define USB_OTG_HPTXSTS_PTXQTOP_5 (0x20UL << USB_OTG_HPTXSTS_PTXQTOP_Pos)
16298#define USB_OTG_HPTXSTS_PTXQTOP_6 (0x40UL << USB_OTG_HPTXSTS_PTXQTOP_Pos)
16299#define USB_OTG_HPTXSTS_PTXQTOP_7 (0x80UL << USB_OTG_HPTXSTS_PTXQTOP_Pos)
16301/******************** Bit definition for USB_OTG_HAINT register ********************/
16302#define USB_OTG_HAINT_HAINT_Pos (0U)
16303#define USB_OTG_HAINT_HAINT_Msk (0xFFFFUL << USB_OTG_HAINT_HAINT_Pos)
16304#define USB_OTG_HAINT_HAINT USB_OTG_HAINT_HAINT_Msk
16306/******************** Bit definition for USB_OTG_DOEPMSK register ********************/
16307#define USB_OTG_DOEPMSK_XFRCM_Pos (0U)
16308#define USB_OTG_DOEPMSK_XFRCM_Msk (0x1UL << USB_OTG_DOEPMSK_XFRCM_Pos)
16309#define USB_OTG_DOEPMSK_XFRCM USB_OTG_DOEPMSK_XFRCM_Msk
16310#define USB_OTG_DOEPMSK_EPDM_Pos (1U)
16311#define USB_OTG_DOEPMSK_EPDM_Msk (0x1UL << USB_OTG_DOEPMSK_EPDM_Pos)
16312#define USB_OTG_DOEPMSK_EPDM USB_OTG_DOEPMSK_EPDM_Msk
16313#define USB_OTG_DOEPMSK_AHBERRM_Pos (2U)
16314#define USB_OTG_DOEPMSK_AHBERRM_Msk (0x1UL << USB_OTG_DOEPMSK_AHBERRM_Pos)
16315#define USB_OTG_DOEPMSK_AHBERRM USB_OTG_DOEPMSK_AHBERRM_Msk
16316#define USB_OTG_DOEPMSK_STUPM_Pos (3U)
16317#define USB_OTG_DOEPMSK_STUPM_Msk (0x1UL << USB_OTG_DOEPMSK_STUPM_Pos)
16318#define USB_OTG_DOEPMSK_STUPM USB_OTG_DOEPMSK_STUPM_Msk
16319#define USB_OTG_DOEPMSK_OTEPDM_Pos (4U)
16320#define USB_OTG_DOEPMSK_OTEPDM_Msk (0x1UL << USB_OTG_DOEPMSK_OTEPDM_Pos)
16321#define USB_OTG_DOEPMSK_OTEPDM USB_OTG_DOEPMSK_OTEPDM_Msk
16322#define USB_OTG_DOEPMSK_OTEPSPRM_Pos (5U)
16323#define USB_OTG_DOEPMSK_OTEPSPRM_Msk (0x1UL << USB_OTG_DOEPMSK_OTEPSPRM_Pos)
16324#define USB_OTG_DOEPMSK_OTEPSPRM USB_OTG_DOEPMSK_OTEPSPRM_Msk
16325#define USB_OTG_DOEPMSK_B2BSTUP_Pos (6U)
16326#define USB_OTG_DOEPMSK_B2BSTUP_Msk (0x1UL << USB_OTG_DOEPMSK_B2BSTUP_Pos)
16327#define USB_OTG_DOEPMSK_B2BSTUP USB_OTG_DOEPMSK_B2BSTUP_Msk
16328#define USB_OTG_DOEPMSK_OPEM_Pos (8U)
16329#define USB_OTG_DOEPMSK_OPEM_Msk (0x1UL << USB_OTG_DOEPMSK_OPEM_Pos)
16330#define USB_OTG_DOEPMSK_OPEM USB_OTG_DOEPMSK_OPEM_Msk
16331#define USB_OTG_DOEPMSK_BOIM_Pos (9U)
16332#define USB_OTG_DOEPMSK_BOIM_Msk (0x1UL << USB_OTG_DOEPMSK_BOIM_Pos)
16333#define USB_OTG_DOEPMSK_BOIM USB_OTG_DOEPMSK_BOIM_Msk
16334#define USB_OTG_DOEPMSK_BERRM_Pos (12U)
16335#define USB_OTG_DOEPMSK_BERRM_Msk (0x1UL << USB_OTG_DOEPMSK_BERRM_Pos)
16336#define USB_OTG_DOEPMSK_BERRM USB_OTG_DOEPMSK_BERRM_Msk
16337#define USB_OTG_DOEPMSK_NAKM_Pos (13U)
16338#define USB_OTG_DOEPMSK_NAKM_Msk (0x1UL << USB_OTG_DOEPMSK_NAKM_Pos)
16339#define USB_OTG_DOEPMSK_NAKM USB_OTG_DOEPMSK_NAKM_Msk
16340#define USB_OTG_DOEPMSK_NYETM_Pos (14U)
16341#define USB_OTG_DOEPMSK_NYETM_Msk (0x1UL << USB_OTG_DOEPMSK_NYETM_Pos)
16342#define USB_OTG_DOEPMSK_NYETM USB_OTG_DOEPMSK_NYETM_Msk
16344/******************** Bit definition for USB_OTG_GINTSTS register ********************/
16345#define USB_OTG_GINTSTS_CMOD_Pos (0U)
16346#define USB_OTG_GINTSTS_CMOD_Msk (0x1UL << USB_OTG_GINTSTS_CMOD_Pos)
16347#define USB_OTG_GINTSTS_CMOD USB_OTG_GINTSTS_CMOD_Msk
16348#define USB_OTG_GINTSTS_MMIS_Pos (1U)
16349#define USB_OTG_GINTSTS_MMIS_Msk (0x1UL << USB_OTG_GINTSTS_MMIS_Pos)
16350#define USB_OTG_GINTSTS_MMIS USB_OTG_GINTSTS_MMIS_Msk
16351#define USB_OTG_GINTSTS_OTGINT_Pos (2U)
16352#define USB_OTG_GINTSTS_OTGINT_Msk (0x1UL << USB_OTG_GINTSTS_OTGINT_Pos)
16353#define USB_OTG_GINTSTS_OTGINT USB_OTG_GINTSTS_OTGINT_Msk
16354#define USB_OTG_GINTSTS_SOF_Pos (3U)
16355#define USB_OTG_GINTSTS_SOF_Msk (0x1UL << USB_OTG_GINTSTS_SOF_Pos)
16356#define USB_OTG_GINTSTS_SOF USB_OTG_GINTSTS_SOF_Msk
16357#define USB_OTG_GINTSTS_RXFLVL_Pos (4U)
16358#define USB_OTG_GINTSTS_RXFLVL_Msk (0x1UL << USB_OTG_GINTSTS_RXFLVL_Pos)
16359#define USB_OTG_GINTSTS_RXFLVL USB_OTG_GINTSTS_RXFLVL_Msk
16360#define USB_OTG_GINTSTS_NPTXFE_Pos (5U)
16361#define USB_OTG_GINTSTS_NPTXFE_Msk (0x1UL << USB_OTG_GINTSTS_NPTXFE_Pos)
16362#define USB_OTG_GINTSTS_NPTXFE USB_OTG_GINTSTS_NPTXFE_Msk
16363#define USB_OTG_GINTSTS_GINAKEFF_Pos (6U)
16364#define USB_OTG_GINTSTS_GINAKEFF_Msk (0x1UL << USB_OTG_GINTSTS_GINAKEFF_Pos)
16365#define USB_OTG_GINTSTS_GINAKEFF USB_OTG_GINTSTS_GINAKEFF_Msk
16366#define USB_OTG_GINTSTS_BOUTNAKEFF_Pos (7U)
16367#define USB_OTG_GINTSTS_BOUTNAKEFF_Msk (0x1UL << USB_OTG_GINTSTS_BOUTNAKEFF_Pos)
16368#define USB_OTG_GINTSTS_BOUTNAKEFF USB_OTG_GINTSTS_BOUTNAKEFF_Msk
16369#define USB_OTG_GINTSTS_ESUSP_Pos (10U)
16370#define USB_OTG_GINTSTS_ESUSP_Msk (0x1UL << USB_OTG_GINTSTS_ESUSP_Pos)
16371#define USB_OTG_GINTSTS_ESUSP USB_OTG_GINTSTS_ESUSP_Msk
16372#define USB_OTG_GINTSTS_USBSUSP_Pos (11U)
16373#define USB_OTG_GINTSTS_USBSUSP_Msk (0x1UL << USB_OTG_GINTSTS_USBSUSP_Pos)
16374#define USB_OTG_GINTSTS_USBSUSP USB_OTG_GINTSTS_USBSUSP_Msk
16375#define USB_OTG_GINTSTS_USBRST_Pos (12U)
16376#define USB_OTG_GINTSTS_USBRST_Msk (0x1UL << USB_OTG_GINTSTS_USBRST_Pos)
16377#define USB_OTG_GINTSTS_USBRST USB_OTG_GINTSTS_USBRST_Msk
16378#define USB_OTG_GINTSTS_ENUMDNE_Pos (13U)
16379#define USB_OTG_GINTSTS_ENUMDNE_Msk (0x1UL << USB_OTG_GINTSTS_ENUMDNE_Pos)
16380#define USB_OTG_GINTSTS_ENUMDNE USB_OTG_GINTSTS_ENUMDNE_Msk
16381#define USB_OTG_GINTSTS_ISOODRP_Pos (14U)
16382#define USB_OTG_GINTSTS_ISOODRP_Msk (0x1UL << USB_OTG_GINTSTS_ISOODRP_Pos)
16383#define USB_OTG_GINTSTS_ISOODRP USB_OTG_GINTSTS_ISOODRP_Msk
16384#define USB_OTG_GINTSTS_EOPF_Pos (15U)
16385#define USB_OTG_GINTSTS_EOPF_Msk (0x1UL << USB_OTG_GINTSTS_EOPF_Pos)
16386#define USB_OTG_GINTSTS_EOPF USB_OTG_GINTSTS_EOPF_Msk
16387#define USB_OTG_GINTSTS_IEPINT_Pos (18U)
16388#define USB_OTG_GINTSTS_IEPINT_Msk (0x1UL << USB_OTG_GINTSTS_IEPINT_Pos)
16389#define USB_OTG_GINTSTS_IEPINT USB_OTG_GINTSTS_IEPINT_Msk
16390#define USB_OTG_GINTSTS_OEPINT_Pos (19U)
16391#define USB_OTG_GINTSTS_OEPINT_Msk (0x1UL << USB_OTG_GINTSTS_OEPINT_Pos)
16392#define USB_OTG_GINTSTS_OEPINT USB_OTG_GINTSTS_OEPINT_Msk
16393#define USB_OTG_GINTSTS_IISOIXFR_Pos (20U)
16394#define USB_OTG_GINTSTS_IISOIXFR_Msk (0x1UL << USB_OTG_GINTSTS_IISOIXFR_Pos)
16395#define USB_OTG_GINTSTS_IISOIXFR USB_OTG_GINTSTS_IISOIXFR_Msk
16396#define USB_OTG_GINTSTS_PXFR_INCOMPISOOUT_Pos (21U)
16397#define USB_OTG_GINTSTS_PXFR_INCOMPISOOUT_Msk (0x1UL << USB_OTG_GINTSTS_PXFR_INCOMPISOOUT_Pos)
16398#define USB_OTG_GINTSTS_PXFR_INCOMPISOOUT USB_OTG_GINTSTS_PXFR_INCOMPISOOUT_Msk
16399#define USB_OTG_GINTSTS_DATAFSUSP_Pos (22U)
16400#define USB_OTG_GINTSTS_DATAFSUSP_Msk (0x1UL << USB_OTG_GINTSTS_DATAFSUSP_Pos)
16401#define USB_OTG_GINTSTS_DATAFSUSP USB_OTG_GINTSTS_DATAFSUSP_Msk
16402#define USB_OTG_GINTSTS_RSTDET_Pos (23U)
16403#define USB_OTG_GINTSTS_RSTDET_Msk (0x1UL << USB_OTG_GINTSTS_RSTDET_Pos)
16404#define USB_OTG_GINTSTS_RSTDET USB_OTG_GINTSTS_RSTDET_Msk
16405#define USB_OTG_GINTSTS_HPRTINT_Pos (24U)
16406#define USB_OTG_GINTSTS_HPRTINT_Msk (0x1UL << USB_OTG_GINTSTS_HPRTINT_Pos)
16407#define USB_OTG_GINTSTS_HPRTINT USB_OTG_GINTSTS_HPRTINT_Msk
16408#define USB_OTG_GINTSTS_HCINT_Pos (25U)
16409#define USB_OTG_GINTSTS_HCINT_Msk (0x1UL << USB_OTG_GINTSTS_HCINT_Pos)
16410#define USB_OTG_GINTSTS_HCINT USB_OTG_GINTSTS_HCINT_Msk
16411#define USB_OTG_GINTSTS_PTXFE_Pos (26U)
16412#define USB_OTG_GINTSTS_PTXFE_Msk (0x1UL << USB_OTG_GINTSTS_PTXFE_Pos)
16413#define USB_OTG_GINTSTS_PTXFE USB_OTG_GINTSTS_PTXFE_Msk
16414#define USB_OTG_GINTSTS_LPMINT_Pos (27U)
16415#define USB_OTG_GINTSTS_LPMINT_Msk (0x1UL << USB_OTG_GINTSTS_LPMINT_Pos)
16416#define USB_OTG_GINTSTS_LPMINT USB_OTG_GINTSTS_LPMINT_Msk
16417#define USB_OTG_GINTSTS_CIDSCHG_Pos (28U)
16418#define USB_OTG_GINTSTS_CIDSCHG_Msk (0x1UL << USB_OTG_GINTSTS_CIDSCHG_Pos)
16419#define USB_OTG_GINTSTS_CIDSCHG USB_OTG_GINTSTS_CIDSCHG_Msk
16420#define USB_OTG_GINTSTS_DISCINT_Pos (29U)
16421#define USB_OTG_GINTSTS_DISCINT_Msk (0x1UL << USB_OTG_GINTSTS_DISCINT_Pos)
16422#define USB_OTG_GINTSTS_DISCINT USB_OTG_GINTSTS_DISCINT_Msk
16423#define USB_OTG_GINTSTS_SRQINT_Pos (30U)
16424#define USB_OTG_GINTSTS_SRQINT_Msk (0x1UL << USB_OTG_GINTSTS_SRQINT_Pos)
16425#define USB_OTG_GINTSTS_SRQINT USB_OTG_GINTSTS_SRQINT_Msk
16426#define USB_OTG_GINTSTS_WKUINT_Pos (31U)
16427#define USB_OTG_GINTSTS_WKUINT_Msk (0x1UL << USB_OTG_GINTSTS_WKUINT_Pos)
16428#define USB_OTG_GINTSTS_WKUINT USB_OTG_GINTSTS_WKUINT_Msk
16430/******************** Bit definition for USB_OTG_GINTMSK register ********************/
16431#define USB_OTG_GINTMSK_MMISM_Pos (1U)
16432#define USB_OTG_GINTMSK_MMISM_Msk (0x1UL << USB_OTG_GINTMSK_MMISM_Pos)
16433#define USB_OTG_GINTMSK_MMISM USB_OTG_GINTMSK_MMISM_Msk
16434#define USB_OTG_GINTMSK_OTGINT_Pos (2U)
16435#define USB_OTG_GINTMSK_OTGINT_Msk (0x1UL << USB_OTG_GINTMSK_OTGINT_Pos)
16436#define USB_OTG_GINTMSK_OTGINT USB_OTG_GINTMSK_OTGINT_Msk
16437#define USB_OTG_GINTMSK_SOFM_Pos (3U)
16438#define USB_OTG_GINTMSK_SOFM_Msk (0x1UL << USB_OTG_GINTMSK_SOFM_Pos)
16439#define USB_OTG_GINTMSK_SOFM USB_OTG_GINTMSK_SOFM_Msk
16440#define USB_OTG_GINTMSK_RXFLVLM_Pos (4U)
16441#define USB_OTG_GINTMSK_RXFLVLM_Msk (0x1UL << USB_OTG_GINTMSK_RXFLVLM_Pos)
16442#define USB_OTG_GINTMSK_RXFLVLM USB_OTG_GINTMSK_RXFLVLM_Msk
16443#define USB_OTG_GINTMSK_NPTXFEM_Pos (5U)
16444#define USB_OTG_GINTMSK_NPTXFEM_Msk (0x1UL << USB_OTG_GINTMSK_NPTXFEM_Pos)
16445#define USB_OTG_GINTMSK_NPTXFEM USB_OTG_GINTMSK_NPTXFEM_Msk
16446#define USB_OTG_GINTMSK_GINAKEFFM_Pos (6U)
16447#define USB_OTG_GINTMSK_GINAKEFFM_Msk (0x1UL << USB_OTG_GINTMSK_GINAKEFFM_Pos)
16448#define USB_OTG_GINTMSK_GINAKEFFM USB_OTG_GINTMSK_GINAKEFFM_Msk
16449#define USB_OTG_GINTMSK_GONAKEFFM_Pos (7U)
16450#define USB_OTG_GINTMSK_GONAKEFFM_Msk (0x1UL << USB_OTG_GINTMSK_GONAKEFFM_Pos)
16451#define USB_OTG_GINTMSK_GONAKEFFM USB_OTG_GINTMSK_GONAKEFFM_Msk
16452#define USB_OTG_GINTMSK_ESUSPM_Pos (10U)
16453#define USB_OTG_GINTMSK_ESUSPM_Msk (0x1UL << USB_OTG_GINTMSK_ESUSPM_Pos)
16454#define USB_OTG_GINTMSK_ESUSPM USB_OTG_GINTMSK_ESUSPM_Msk
16455#define USB_OTG_GINTMSK_USBSUSPM_Pos (11U)
16456#define USB_OTG_GINTMSK_USBSUSPM_Msk (0x1UL << USB_OTG_GINTMSK_USBSUSPM_Pos)
16457#define USB_OTG_GINTMSK_USBSUSPM USB_OTG_GINTMSK_USBSUSPM_Msk
16458#define USB_OTG_GINTMSK_USBRST_Pos (12U)
16459#define USB_OTG_GINTMSK_USBRST_Msk (0x1UL << USB_OTG_GINTMSK_USBRST_Pos)
16460#define USB_OTG_GINTMSK_USBRST USB_OTG_GINTMSK_USBRST_Msk
16461#define USB_OTG_GINTMSK_ENUMDNEM_Pos (13U)
16462#define USB_OTG_GINTMSK_ENUMDNEM_Msk (0x1UL << USB_OTG_GINTMSK_ENUMDNEM_Pos)
16463#define USB_OTG_GINTMSK_ENUMDNEM USB_OTG_GINTMSK_ENUMDNEM_Msk
16464#define USB_OTG_GINTMSK_ISOODRPM_Pos (14U)
16465#define USB_OTG_GINTMSK_ISOODRPM_Msk (0x1UL << USB_OTG_GINTMSK_ISOODRPM_Pos)
16466#define USB_OTG_GINTMSK_ISOODRPM USB_OTG_GINTMSK_ISOODRPM_Msk
16467#define USB_OTG_GINTMSK_EOPFM_Pos (15U)
16468#define USB_OTG_GINTMSK_EOPFM_Msk (0x1UL << USB_OTG_GINTMSK_EOPFM_Pos)
16469#define USB_OTG_GINTMSK_EOPFM USB_OTG_GINTMSK_EOPFM_Msk
16470#define USB_OTG_GINTMSK_EPMISM_Pos (17U)
16471#define USB_OTG_GINTMSK_EPMISM_Msk (0x1UL << USB_OTG_GINTMSK_EPMISM_Pos)
16472#define USB_OTG_GINTMSK_EPMISM USB_OTG_GINTMSK_EPMISM_Msk
16473#define USB_OTG_GINTMSK_IEPINT_Pos (18U)
16474#define USB_OTG_GINTMSK_IEPINT_Msk (0x1UL << USB_OTG_GINTMSK_IEPINT_Pos)
16475#define USB_OTG_GINTMSK_IEPINT USB_OTG_GINTMSK_IEPINT_Msk
16476#define USB_OTG_GINTMSK_OEPINT_Pos (19U)
16477#define USB_OTG_GINTMSK_OEPINT_Msk (0x1UL << USB_OTG_GINTMSK_OEPINT_Pos)
16478#define USB_OTG_GINTMSK_OEPINT USB_OTG_GINTMSK_OEPINT_Msk
16479#define USB_OTG_GINTMSK_IISOIXFRM_Pos (20U)
16480#define USB_OTG_GINTMSK_IISOIXFRM_Msk (0x1UL << USB_OTG_GINTMSK_IISOIXFRM_Pos)
16481#define USB_OTG_GINTMSK_IISOIXFRM USB_OTG_GINTMSK_IISOIXFRM_Msk
16482#define USB_OTG_GINTMSK_PXFRM_IISOOXFRM_Pos (21U)
16483#define USB_OTG_GINTMSK_PXFRM_IISOOXFRM_Msk (0x1UL << USB_OTG_GINTMSK_PXFRM_IISOOXFRM_Pos)
16484#define USB_OTG_GINTMSK_PXFRM_IISOOXFRM USB_OTG_GINTMSK_PXFRM_IISOOXFRM_Msk
16485#define USB_OTG_GINTMSK_FSUSPM_Pos (22U)
16486#define USB_OTG_GINTMSK_FSUSPM_Msk (0x1UL << USB_OTG_GINTMSK_FSUSPM_Pos)
16487#define USB_OTG_GINTMSK_FSUSPM USB_OTG_GINTMSK_FSUSPM_Msk
16488#define USB_OTG_GINTMSK_RSTDEM_Pos (23U)
16489#define USB_OTG_GINTMSK_RSTDEM_Msk (0x1UL << USB_OTG_GINTMSK_RSTDEM_Pos)
16490#define USB_OTG_GINTMSK_RSTDEM USB_OTG_GINTMSK_RSTDEM_Msk
16491#define USB_OTG_GINTMSK_PRTIM_Pos (24U)
16492#define USB_OTG_GINTMSK_PRTIM_Msk (0x1UL << USB_OTG_GINTMSK_PRTIM_Pos)
16493#define USB_OTG_GINTMSK_PRTIM USB_OTG_GINTMSK_PRTIM_Msk
16494#define USB_OTG_GINTMSK_HCIM_Pos (25U)
16495#define USB_OTG_GINTMSK_HCIM_Msk (0x1UL << USB_OTG_GINTMSK_HCIM_Pos)
16496#define USB_OTG_GINTMSK_HCIM USB_OTG_GINTMSK_HCIM_Msk
16497#define USB_OTG_GINTMSK_PTXFEM_Pos (26U)
16498#define USB_OTG_GINTMSK_PTXFEM_Msk (0x1UL << USB_OTG_GINTMSK_PTXFEM_Pos)
16499#define USB_OTG_GINTMSK_PTXFEM USB_OTG_GINTMSK_PTXFEM_Msk
16500#define USB_OTG_GINTMSK_LPMINTM_Pos (27U)
16501#define USB_OTG_GINTMSK_LPMINTM_Msk (0x1UL << USB_OTG_GINTMSK_LPMINTM_Pos)
16502#define USB_OTG_GINTMSK_LPMINTM USB_OTG_GINTMSK_LPMINTM_Msk
16503#define USB_OTG_GINTMSK_CIDSCHGM_Pos (28U)
16504#define USB_OTG_GINTMSK_CIDSCHGM_Msk (0x1UL << USB_OTG_GINTMSK_CIDSCHGM_Pos)
16505#define USB_OTG_GINTMSK_CIDSCHGM USB_OTG_GINTMSK_CIDSCHGM_Msk
16506#define USB_OTG_GINTMSK_DISCINT_Pos (29U)
16507#define USB_OTG_GINTMSK_DISCINT_Msk (0x1UL << USB_OTG_GINTMSK_DISCINT_Pos)
16508#define USB_OTG_GINTMSK_DISCINT USB_OTG_GINTMSK_DISCINT_Msk
16509#define USB_OTG_GINTMSK_SRQIM_Pos (30U)
16510#define USB_OTG_GINTMSK_SRQIM_Msk (0x1UL << USB_OTG_GINTMSK_SRQIM_Pos)
16511#define USB_OTG_GINTMSK_SRQIM USB_OTG_GINTMSK_SRQIM_Msk
16512#define USB_OTG_GINTMSK_WUIM_Pos (31U)
16513#define USB_OTG_GINTMSK_WUIM_Msk (0x1UL << USB_OTG_GINTMSK_WUIM_Pos)
16514#define USB_OTG_GINTMSK_WUIM USB_OTG_GINTMSK_WUIM_Msk
16516/******************** Bit definition for USB_OTG_DAINT register ********************/
16517#define USB_OTG_DAINT_IEPINT_Pos (0U)
16518#define USB_OTG_DAINT_IEPINT_Msk (0xFFFFUL << USB_OTG_DAINT_IEPINT_Pos)
16519#define USB_OTG_DAINT_IEPINT USB_OTG_DAINT_IEPINT_Msk
16520#define USB_OTG_DAINT_OEPINT_Pos (16U)
16521#define USB_OTG_DAINT_OEPINT_Msk (0xFFFFUL << USB_OTG_DAINT_OEPINT_Pos)
16522#define USB_OTG_DAINT_OEPINT USB_OTG_DAINT_OEPINT_Msk
16524/******************** Bit definition for USB_OTG_HAINTMSK register ********************/
16525#define USB_OTG_HAINTMSK_HAINTM_Pos (0U)
16526#define USB_OTG_HAINTMSK_HAINTM_Msk (0xFFFFUL << USB_OTG_HAINTMSK_HAINTM_Pos)
16527#define USB_OTG_HAINTMSK_HAINTM USB_OTG_HAINTMSK_HAINTM_Msk
16529/******************** Bit definition for USB_OTG_GRXSTSP register ********************/
16530#define USB_OTG_GRXSTSP_EPNUM_Pos (0U)
16531#define USB_OTG_GRXSTSP_EPNUM_Msk (0xFUL << USB_OTG_GRXSTSP_EPNUM_Pos)
16532#define USB_OTG_GRXSTSP_EPNUM USB_OTG_GRXSTSP_EPNUM_Msk
16533#define USB_OTG_GRXSTSP_BCNT_Pos (4U)
16534#define USB_OTG_GRXSTSP_BCNT_Msk (0x7FFUL << USB_OTG_GRXSTSP_BCNT_Pos)
16535#define USB_OTG_GRXSTSP_BCNT USB_OTG_GRXSTSP_BCNT_Msk
16536#define USB_OTG_GRXSTSP_DPID_Pos (15U)
16537#define USB_OTG_GRXSTSP_DPID_Msk (0x3UL << USB_OTG_GRXSTSP_DPID_Pos)
16538#define USB_OTG_GRXSTSP_DPID USB_OTG_GRXSTSP_DPID_Msk
16539#define USB_OTG_GRXSTSP_PKTSTS_Pos (17U)
16540#define USB_OTG_GRXSTSP_PKTSTS_Msk (0xFUL << USB_OTG_GRXSTSP_PKTSTS_Pos)
16541#define USB_OTG_GRXSTSP_PKTSTS USB_OTG_GRXSTSP_PKTSTS_Msk
16543/******************** Bit definition for USB_OTG_DAINTMSK register ********************/
16544#define USB_OTG_DAINTMSK_IEPM_Pos (0U)
16545#define USB_OTG_DAINTMSK_IEPM_Msk (0xFFFFUL << USB_OTG_DAINTMSK_IEPM_Pos)
16546#define USB_OTG_DAINTMSK_IEPM USB_OTG_DAINTMSK_IEPM_Msk
16547#define USB_OTG_DAINTMSK_OEPM_Pos (16U)
16548#define USB_OTG_DAINTMSK_OEPM_Msk (0xFFFFUL << USB_OTG_DAINTMSK_OEPM_Pos)
16549#define USB_OTG_DAINTMSK_OEPM USB_OTG_DAINTMSK_OEPM_Msk
16551/******************** Bit definition for OTG register ********************/
16552
16553#define USB_OTG_CHNUM_Pos (0U)
16554#define USB_OTG_CHNUM_Msk (0xFUL << USB_OTG_CHNUM_Pos)
16555#define USB_OTG_CHNUM USB_OTG_CHNUM_Msk
16556#define USB_OTG_CHNUM_0 (0x1UL << USB_OTG_CHNUM_Pos)
16557#define USB_OTG_CHNUM_1 (0x2UL << USB_OTG_CHNUM_Pos)
16558#define USB_OTG_CHNUM_2 (0x4UL << USB_OTG_CHNUM_Pos)
16559#define USB_OTG_CHNUM_3 (0x8UL << USB_OTG_CHNUM_Pos)
16560#define USB_OTG_BCNT_Pos (4U)
16561#define USB_OTG_BCNT_Msk (0x7FFUL << USB_OTG_BCNT_Pos)
16562#define USB_OTG_BCNT USB_OTG_BCNT_Msk
16564#define USB_OTG_DPID_Pos (15U)
16565#define USB_OTG_DPID_Msk (0x3UL << USB_OTG_DPID_Pos)
16566#define USB_OTG_DPID USB_OTG_DPID_Msk
16567#define USB_OTG_DPID_0 (0x1UL << USB_OTG_DPID_Pos)
16568#define USB_OTG_DPID_1 (0x2UL << USB_OTG_DPID_Pos)
16570#define USB_OTG_PKTSTS_Pos (17U)
16571#define USB_OTG_PKTSTS_Msk (0xFUL << USB_OTG_PKTSTS_Pos)
16572#define USB_OTG_PKTSTS USB_OTG_PKTSTS_Msk
16573#define USB_OTG_PKTSTS_0 (0x1UL << USB_OTG_PKTSTS_Pos)
16574#define USB_OTG_PKTSTS_1 (0x2UL << USB_OTG_PKTSTS_Pos)
16575#define USB_OTG_PKTSTS_2 (0x4UL << USB_OTG_PKTSTS_Pos)
16576#define USB_OTG_PKTSTS_3 (0x8UL << USB_OTG_PKTSTS_Pos)
16578#define USB_OTG_EPNUM_Pos (0U)
16579#define USB_OTG_EPNUM_Msk (0xFUL << USB_OTG_EPNUM_Pos)
16580#define USB_OTG_EPNUM USB_OTG_EPNUM_Msk
16581#define USB_OTG_EPNUM_0 (0x1UL << USB_OTG_EPNUM_Pos)
16582#define USB_OTG_EPNUM_1 (0x2UL << USB_OTG_EPNUM_Pos)
16583#define USB_OTG_EPNUM_2 (0x4UL << USB_OTG_EPNUM_Pos)
16584#define USB_OTG_EPNUM_3 (0x8UL << USB_OTG_EPNUM_Pos)
16586#define USB_OTG_FRMNUM_Pos (21U)
16587#define USB_OTG_FRMNUM_Msk (0xFUL << USB_OTG_FRMNUM_Pos)
16588#define USB_OTG_FRMNUM USB_OTG_FRMNUM_Msk
16589#define USB_OTG_FRMNUM_0 (0x1UL << USB_OTG_FRMNUM_Pos)
16590#define USB_OTG_FRMNUM_1 (0x2UL << USB_OTG_FRMNUM_Pos)
16591#define USB_OTG_FRMNUM_2 (0x4UL << USB_OTG_FRMNUM_Pos)
16592#define USB_OTG_FRMNUM_3 (0x8UL << USB_OTG_FRMNUM_Pos)
16594/******************** Bit definition for USB_OTG_GRXFSIZ register ********************/
16595#define USB_OTG_GRXFSIZ_RXFD_Pos (0U)
16596#define USB_OTG_GRXFSIZ_RXFD_Msk (0xFFFFUL << USB_OTG_GRXFSIZ_RXFD_Pos)
16597#define USB_OTG_GRXFSIZ_RXFD USB_OTG_GRXFSIZ_RXFD_Msk
16599/******************** Bit definition for USB_OTG_DVBUSDIS register ********************/
16600#define USB_OTG_DVBUSDIS_VBUSDT_Pos (0U)
16601#define USB_OTG_DVBUSDIS_VBUSDT_Msk (0xFFFFUL << USB_OTG_DVBUSDIS_VBUSDT_Pos)
16602#define USB_OTG_DVBUSDIS_VBUSDT USB_OTG_DVBUSDIS_VBUSDT_Msk
16604/******************** Bit definition for OTG register ********************/
16605#define USB_OTG_NPTXFSA_Pos (0U)
16606#define USB_OTG_NPTXFSA_Msk (0xFFFFUL << USB_OTG_NPTXFSA_Pos)
16607#define USB_OTG_NPTXFSA USB_OTG_NPTXFSA_Msk
16608#define USB_OTG_NPTXFD_Pos (16U)
16609#define USB_OTG_NPTXFD_Msk (0xFFFFUL << USB_OTG_NPTXFD_Pos)
16610#define USB_OTG_NPTXFD USB_OTG_NPTXFD_Msk
16611#define USB_OTG_TX0FSA_Pos (0U)
16612#define USB_OTG_TX0FSA_Msk (0xFFFFUL << USB_OTG_TX0FSA_Pos)
16613#define USB_OTG_TX0FSA USB_OTG_TX0FSA_Msk
16614#define USB_OTG_TX0FD_Pos (16U)
16615#define USB_OTG_TX0FD_Msk (0xFFFFUL << USB_OTG_TX0FD_Pos)
16616#define USB_OTG_TX0FD USB_OTG_TX0FD_Msk
16618/******************** Bit definition for USB_OTG_DVBUSPULSE register ********************/
16619#define USB_OTG_DVBUSPULSE_DVBUSP_Pos (0U)
16620#define USB_OTG_DVBUSPULSE_DVBUSP_Msk (0xFFFUL << USB_OTG_DVBUSPULSE_DVBUSP_Pos)
16621#define USB_OTG_DVBUSPULSE_DVBUSP USB_OTG_DVBUSPULSE_DVBUSP_Msk
16623/******************** Bit definition for USB_OTG_GNPTXSTS register ********************/
16624#define USB_OTG_GNPTXSTS_NPTXFSAV_Pos (0U)
16625#define USB_OTG_GNPTXSTS_NPTXFSAV_Msk (0xFFFFUL << USB_OTG_GNPTXSTS_NPTXFSAV_Pos)
16626#define USB_OTG_GNPTXSTS_NPTXFSAV USB_OTG_GNPTXSTS_NPTXFSAV_Msk
16628#define USB_OTG_GNPTXSTS_NPTQXSAV_Pos (16U)
16629#define USB_OTG_GNPTXSTS_NPTQXSAV_Msk (0xFFUL << USB_OTG_GNPTXSTS_NPTQXSAV_Pos)
16630#define USB_OTG_GNPTXSTS_NPTQXSAV USB_OTG_GNPTXSTS_NPTQXSAV_Msk
16631#define USB_OTG_GNPTXSTS_NPTQXSAV_0 (0x01UL << USB_OTG_GNPTXSTS_NPTQXSAV_Pos)
16632#define USB_OTG_GNPTXSTS_NPTQXSAV_1 (0x02UL << USB_OTG_GNPTXSTS_NPTQXSAV_Pos)
16633#define USB_OTG_GNPTXSTS_NPTQXSAV_2 (0x04UL << USB_OTG_GNPTXSTS_NPTQXSAV_Pos)
16634#define USB_OTG_GNPTXSTS_NPTQXSAV_3 (0x08UL << USB_OTG_GNPTXSTS_NPTQXSAV_Pos)
16635#define USB_OTG_GNPTXSTS_NPTQXSAV_4 (0x10UL << USB_OTG_GNPTXSTS_NPTQXSAV_Pos)
16636#define USB_OTG_GNPTXSTS_NPTQXSAV_5 (0x20UL << USB_OTG_GNPTXSTS_NPTQXSAV_Pos)
16637#define USB_OTG_GNPTXSTS_NPTQXSAV_6 (0x40UL << USB_OTG_GNPTXSTS_NPTQXSAV_Pos)
16638#define USB_OTG_GNPTXSTS_NPTQXSAV_7 (0x80UL << USB_OTG_GNPTXSTS_NPTQXSAV_Pos)
16640#define USB_OTG_GNPTXSTS_NPTXQTOP_Pos (24U)
16641#define USB_OTG_GNPTXSTS_NPTXQTOP_Msk (0x7FUL << USB_OTG_GNPTXSTS_NPTXQTOP_Pos)
16642#define USB_OTG_GNPTXSTS_NPTXQTOP USB_OTG_GNPTXSTS_NPTXQTOP_Msk
16643#define USB_OTG_GNPTXSTS_NPTXQTOP_0 (0x01UL << USB_OTG_GNPTXSTS_NPTXQTOP_Pos)
16644#define USB_OTG_GNPTXSTS_NPTXQTOP_1 (0x02UL << USB_OTG_GNPTXSTS_NPTXQTOP_Pos)
16645#define USB_OTG_GNPTXSTS_NPTXQTOP_2 (0x04UL << USB_OTG_GNPTXSTS_NPTXQTOP_Pos)
16646#define USB_OTG_GNPTXSTS_NPTXQTOP_3 (0x08UL << USB_OTG_GNPTXSTS_NPTXQTOP_Pos)
16647#define USB_OTG_GNPTXSTS_NPTXQTOP_4 (0x10UL << USB_OTG_GNPTXSTS_NPTXQTOP_Pos)
16648#define USB_OTG_GNPTXSTS_NPTXQTOP_5 (0x20UL << USB_OTG_GNPTXSTS_NPTXQTOP_Pos)
16649#define USB_OTG_GNPTXSTS_NPTXQTOP_6 (0x40UL << USB_OTG_GNPTXSTS_NPTXQTOP_Pos)
16651/******************** Bit definition for USB_OTG_DTHRCTL register ********************/
16652#define USB_OTG_DTHRCTL_NONISOTHREN_Pos (0U)
16653#define USB_OTG_DTHRCTL_NONISOTHREN_Msk (0x1UL << USB_OTG_DTHRCTL_NONISOTHREN_Pos)
16654#define USB_OTG_DTHRCTL_NONISOTHREN USB_OTG_DTHRCTL_NONISOTHREN_Msk
16655#define USB_OTG_DTHRCTL_ISOTHREN_Pos (1U)
16656#define USB_OTG_DTHRCTL_ISOTHREN_Msk (0x1UL << USB_OTG_DTHRCTL_ISOTHREN_Pos)
16657#define USB_OTG_DTHRCTL_ISOTHREN USB_OTG_DTHRCTL_ISOTHREN_Msk
16659#define USB_OTG_DTHRCTL_TXTHRLEN_Pos (2U)
16660#define USB_OTG_DTHRCTL_TXTHRLEN_Msk (0x1FFUL << USB_OTG_DTHRCTL_TXTHRLEN_Pos)
16661#define USB_OTG_DTHRCTL_TXTHRLEN USB_OTG_DTHRCTL_TXTHRLEN_Msk
16662#define USB_OTG_DTHRCTL_TXTHRLEN_0 (0x001UL << USB_OTG_DTHRCTL_TXTHRLEN_Pos)
16663#define USB_OTG_DTHRCTL_TXTHRLEN_1 (0x002UL << USB_OTG_DTHRCTL_TXTHRLEN_Pos)
16664#define USB_OTG_DTHRCTL_TXTHRLEN_2 (0x004UL << USB_OTG_DTHRCTL_TXTHRLEN_Pos)
16665#define USB_OTG_DTHRCTL_TXTHRLEN_3 (0x008UL << USB_OTG_DTHRCTL_TXTHRLEN_Pos)
16666#define USB_OTG_DTHRCTL_TXTHRLEN_4 (0x010UL << USB_OTG_DTHRCTL_TXTHRLEN_Pos)
16667#define USB_OTG_DTHRCTL_TXTHRLEN_5 (0x020UL << USB_OTG_DTHRCTL_TXTHRLEN_Pos)
16668#define USB_OTG_DTHRCTL_TXTHRLEN_6 (0x040UL << USB_OTG_DTHRCTL_TXTHRLEN_Pos)
16669#define USB_OTG_DTHRCTL_TXTHRLEN_7 (0x080UL << USB_OTG_DTHRCTL_TXTHRLEN_Pos)
16670#define USB_OTG_DTHRCTL_TXTHRLEN_8 (0x100UL << USB_OTG_DTHRCTL_TXTHRLEN_Pos)
16671#define USB_OTG_DTHRCTL_RXTHREN_Pos (16U)
16672#define USB_OTG_DTHRCTL_RXTHREN_Msk (0x1UL << USB_OTG_DTHRCTL_RXTHREN_Pos)
16673#define USB_OTG_DTHRCTL_RXTHREN USB_OTG_DTHRCTL_RXTHREN_Msk
16675#define USB_OTG_DTHRCTL_RXTHRLEN_Pos (17U)
16676#define USB_OTG_DTHRCTL_RXTHRLEN_Msk (0x1FFUL << USB_OTG_DTHRCTL_RXTHRLEN_Pos)
16677#define USB_OTG_DTHRCTL_RXTHRLEN USB_OTG_DTHRCTL_RXTHRLEN_Msk
16678#define USB_OTG_DTHRCTL_RXTHRLEN_0 (0x001UL << USB_OTG_DTHRCTL_RXTHRLEN_Pos)
16679#define USB_OTG_DTHRCTL_RXTHRLEN_1 (0x002UL << USB_OTG_DTHRCTL_RXTHRLEN_Pos)
16680#define USB_OTG_DTHRCTL_RXTHRLEN_2 (0x004UL << USB_OTG_DTHRCTL_RXTHRLEN_Pos)
16681#define USB_OTG_DTHRCTL_RXTHRLEN_3 (0x008UL << USB_OTG_DTHRCTL_RXTHRLEN_Pos)
16682#define USB_OTG_DTHRCTL_RXTHRLEN_4 (0x010UL << USB_OTG_DTHRCTL_RXTHRLEN_Pos)
16683#define USB_OTG_DTHRCTL_RXTHRLEN_5 (0x020UL << USB_OTG_DTHRCTL_RXTHRLEN_Pos)
16684#define USB_OTG_DTHRCTL_RXTHRLEN_6 (0x040UL << USB_OTG_DTHRCTL_RXTHRLEN_Pos)
16685#define USB_OTG_DTHRCTL_RXTHRLEN_7 (0x080UL << USB_OTG_DTHRCTL_RXTHRLEN_Pos)
16686#define USB_OTG_DTHRCTL_RXTHRLEN_8 (0x100UL << USB_OTG_DTHRCTL_RXTHRLEN_Pos)
16687#define USB_OTG_DTHRCTL_ARPEN_Pos (27U)
16688#define USB_OTG_DTHRCTL_ARPEN_Msk (0x1UL << USB_OTG_DTHRCTL_ARPEN_Pos)
16689#define USB_OTG_DTHRCTL_ARPEN USB_OTG_DTHRCTL_ARPEN_Msk
16691/******************** Bit definition for USB_OTG_DIEPEMPMSK register ********************/
16692#define USB_OTG_DIEPEMPMSK_INEPTXFEM_Pos (0U)
16693#define USB_OTG_DIEPEMPMSK_INEPTXFEM_Msk (0xFFFFUL << USB_OTG_DIEPEMPMSK_INEPTXFEM_Pos)
16694#define USB_OTG_DIEPEMPMSK_INEPTXFEM USB_OTG_DIEPEMPMSK_INEPTXFEM_Msk
16696/******************** Bit definition for USB_OTG_DEACHINT register ********************/
16697#define USB_OTG_DEACHINT_IEP1INT_Pos (1U)
16698#define USB_OTG_DEACHINT_IEP1INT_Msk (0x1UL << USB_OTG_DEACHINT_IEP1INT_Pos)
16699#define USB_OTG_DEACHINT_IEP1INT USB_OTG_DEACHINT_IEP1INT_Msk
16700#define USB_OTG_DEACHINT_OEP1INT_Pos (17U)
16701#define USB_OTG_DEACHINT_OEP1INT_Msk (0x1UL << USB_OTG_DEACHINT_OEP1INT_Pos)
16702#define USB_OTG_DEACHINT_OEP1INT USB_OTG_DEACHINT_OEP1INT_Msk
16704/******************** Bit definition for USB_OTG_GCCFG register ********************/
16705#define USB_OTG_GCCFG_PWRDWN_Pos (16U)
16706#define USB_OTG_GCCFG_PWRDWN_Msk (0x1UL << USB_OTG_GCCFG_PWRDWN_Pos)
16707#define USB_OTG_GCCFG_PWRDWN USB_OTG_GCCFG_PWRDWN_Msk
16708#define USB_OTG_GCCFG_VBDEN_Pos (21U)
16709#define USB_OTG_GCCFG_VBDEN_Msk (0x1UL << USB_OTG_GCCFG_VBDEN_Pos)
16710#define USB_OTG_GCCFG_VBDEN USB_OTG_GCCFG_VBDEN_Msk
16712/******************** Bit definition for USB_OTG_DEACHINTMSK register ********************/
16713#define USB_OTG_DEACHINTMSK_IEP1INTM_Pos (1U)
16714#define USB_OTG_DEACHINTMSK_IEP1INTM_Msk (0x1UL << USB_OTG_DEACHINTMSK_IEP1INTM_Pos)
16715#define USB_OTG_DEACHINTMSK_IEP1INTM USB_OTG_DEACHINTMSK_IEP1INTM_Msk
16716#define USB_OTG_DEACHINTMSK_OEP1INTM_Pos (17U)
16717#define USB_OTG_DEACHINTMSK_OEP1INTM_Msk (0x1UL << USB_OTG_DEACHINTMSK_OEP1INTM_Pos)
16718#define USB_OTG_DEACHINTMSK_OEP1INTM USB_OTG_DEACHINTMSK_OEP1INTM_Msk
16720/******************** Bit definition for USB_OTG_CID register ********************/
16721#define USB_OTG_CID_PRODUCT_ID_Pos (0U)
16722#define USB_OTG_CID_PRODUCT_ID_Msk (0xFFFFFFFFUL << USB_OTG_CID_PRODUCT_ID_Pos)
16723#define USB_OTG_CID_PRODUCT_ID USB_OTG_CID_PRODUCT_ID_Msk
16725/******************** Bit definition for USB_OTG_GLPMCFG register ********************/
16726#define USB_OTG_GLPMCFG_LPMEN_Pos (0U)
16727#define USB_OTG_GLPMCFG_LPMEN_Msk (0x1UL << USB_OTG_GLPMCFG_LPMEN_Pos)
16728#define USB_OTG_GLPMCFG_LPMEN USB_OTG_GLPMCFG_LPMEN_Msk
16729#define USB_OTG_GLPMCFG_LPMACK_Pos (1U)
16730#define USB_OTG_GLPMCFG_LPMACK_Msk (0x1UL << USB_OTG_GLPMCFG_LPMACK_Pos)
16731#define USB_OTG_GLPMCFG_LPMACK USB_OTG_GLPMCFG_LPMACK_Msk
16732#define USB_OTG_GLPMCFG_BESL_Pos (2U)
16733#define USB_OTG_GLPMCFG_BESL_Msk (0xFUL << USB_OTG_GLPMCFG_BESL_Pos)
16734#define USB_OTG_GLPMCFG_BESL USB_OTG_GLPMCFG_BESL_Msk
16735#define USB_OTG_GLPMCFG_REMWAKE_Pos (6U)
16736#define USB_OTG_GLPMCFG_REMWAKE_Msk (0x1UL << USB_OTG_GLPMCFG_REMWAKE_Pos)
16737#define USB_OTG_GLPMCFG_REMWAKE USB_OTG_GLPMCFG_REMWAKE_Msk
16738#define USB_OTG_GLPMCFG_L1SSEN_Pos (7U)
16739#define USB_OTG_GLPMCFG_L1SSEN_Msk (0x1UL << USB_OTG_GLPMCFG_L1SSEN_Pos)
16740#define USB_OTG_GLPMCFG_L1SSEN USB_OTG_GLPMCFG_L1SSEN_Msk
16741#define USB_OTG_GLPMCFG_BESLTHRS_Pos (8U)
16742#define USB_OTG_GLPMCFG_BESLTHRS_Msk (0xFUL << USB_OTG_GLPMCFG_BESLTHRS_Pos)
16743#define USB_OTG_GLPMCFG_BESLTHRS USB_OTG_GLPMCFG_BESLTHRS_Msk
16744#define USB_OTG_GLPMCFG_L1DSEN_Pos (12U)
16745#define USB_OTG_GLPMCFG_L1DSEN_Msk (0x1UL << USB_OTG_GLPMCFG_L1DSEN_Pos)
16746#define USB_OTG_GLPMCFG_L1DSEN USB_OTG_GLPMCFG_L1DSEN_Msk
16747#define USB_OTG_GLPMCFG_LPMRSP_Pos (13U)
16748#define USB_OTG_GLPMCFG_LPMRSP_Msk (0x3UL << USB_OTG_GLPMCFG_LPMRSP_Pos)
16749#define USB_OTG_GLPMCFG_LPMRSP USB_OTG_GLPMCFG_LPMRSP_Msk
16750#define USB_OTG_GLPMCFG_SLPSTS_Pos (15U)
16751#define USB_OTG_GLPMCFG_SLPSTS_Msk (0x1UL << USB_OTG_GLPMCFG_SLPSTS_Pos)
16752#define USB_OTG_GLPMCFG_SLPSTS USB_OTG_GLPMCFG_SLPSTS_Msk
16753#define USB_OTG_GLPMCFG_L1RSMOK_Pos (16U)
16754#define USB_OTG_GLPMCFG_L1RSMOK_Msk (0x1UL << USB_OTG_GLPMCFG_L1RSMOK_Pos)
16755#define USB_OTG_GLPMCFG_L1RSMOK USB_OTG_GLPMCFG_L1RSMOK_Msk
16756#define USB_OTG_GLPMCFG_LPMCHIDX_Pos (17U)
16757#define USB_OTG_GLPMCFG_LPMCHIDX_Msk (0xFUL << USB_OTG_GLPMCFG_LPMCHIDX_Pos)
16758#define USB_OTG_GLPMCFG_LPMCHIDX USB_OTG_GLPMCFG_LPMCHIDX_Msk
16759#define USB_OTG_GLPMCFG_LPMRCNT_Pos (21U)
16760#define USB_OTG_GLPMCFG_LPMRCNT_Msk (0x7UL << USB_OTG_GLPMCFG_LPMRCNT_Pos)
16761#define USB_OTG_GLPMCFG_LPMRCNT USB_OTG_GLPMCFG_LPMRCNT_Msk
16762#define USB_OTG_GLPMCFG_SNDLPM_Pos (24U)
16763#define USB_OTG_GLPMCFG_SNDLPM_Msk (0x1UL << USB_OTG_GLPMCFG_SNDLPM_Pos)
16764#define USB_OTG_GLPMCFG_SNDLPM USB_OTG_GLPMCFG_SNDLPM_Msk
16765#define USB_OTG_GLPMCFG_LPMRCNTSTS_Pos (25U)
16766#define USB_OTG_GLPMCFG_LPMRCNTSTS_Msk (0x7UL << USB_OTG_GLPMCFG_LPMRCNTSTS_Pos)
16767#define USB_OTG_GLPMCFG_LPMRCNTSTS USB_OTG_GLPMCFG_LPMRCNTSTS_Msk
16768#define USB_OTG_GLPMCFG_ENBESL_Pos (28U)
16769#define USB_OTG_GLPMCFG_ENBESL_Msk (0x1UL << USB_OTG_GLPMCFG_ENBESL_Pos)
16770#define USB_OTG_GLPMCFG_ENBESL USB_OTG_GLPMCFG_ENBESL_Msk
16772/******************** Bit definition for USB_OTG_DIEPEACHMSK1 register ********************/
16773#define USB_OTG_DIEPEACHMSK1_XFRCM_Pos (0U)
16774#define USB_OTG_DIEPEACHMSK1_XFRCM_Msk (0x1UL << USB_OTG_DIEPEACHMSK1_XFRCM_Pos)
16775#define USB_OTG_DIEPEACHMSK1_XFRCM USB_OTG_DIEPEACHMSK1_XFRCM_Msk
16776#define USB_OTG_DIEPEACHMSK1_EPDM_Pos (1U)
16777#define USB_OTG_DIEPEACHMSK1_EPDM_Msk (0x1UL << USB_OTG_DIEPEACHMSK1_EPDM_Pos)
16778#define USB_OTG_DIEPEACHMSK1_EPDM USB_OTG_DIEPEACHMSK1_EPDM_Msk
16779#define USB_OTG_DIEPEACHMSK1_TOM_Pos (3U)
16780#define USB_OTG_DIEPEACHMSK1_TOM_Msk (0x1UL << USB_OTG_DIEPEACHMSK1_TOM_Pos)
16781#define USB_OTG_DIEPEACHMSK1_TOM USB_OTG_DIEPEACHMSK1_TOM_Msk
16782#define USB_OTG_DIEPEACHMSK1_ITTXFEMSK_Pos (4U)
16783#define USB_OTG_DIEPEACHMSK1_ITTXFEMSK_Msk (0x1UL << USB_OTG_DIEPEACHMSK1_ITTXFEMSK_Pos)
16784#define USB_OTG_DIEPEACHMSK1_ITTXFEMSK USB_OTG_DIEPEACHMSK1_ITTXFEMSK_Msk
16785#define USB_OTG_DIEPEACHMSK1_INEPNMM_Pos (5U)
16786#define USB_OTG_DIEPEACHMSK1_INEPNMM_Msk (0x1UL << USB_OTG_DIEPEACHMSK1_INEPNMM_Pos)
16787#define USB_OTG_DIEPEACHMSK1_INEPNMM USB_OTG_DIEPEACHMSK1_INEPNMM_Msk
16788#define USB_OTG_DIEPEACHMSK1_INEPNEM_Pos (6U)
16789#define USB_OTG_DIEPEACHMSK1_INEPNEM_Msk (0x1UL << USB_OTG_DIEPEACHMSK1_INEPNEM_Pos)
16790#define USB_OTG_DIEPEACHMSK1_INEPNEM USB_OTG_DIEPEACHMSK1_INEPNEM_Msk
16791#define USB_OTG_DIEPEACHMSK1_TXFURM_Pos (8U)
16792#define USB_OTG_DIEPEACHMSK1_TXFURM_Msk (0x1UL << USB_OTG_DIEPEACHMSK1_TXFURM_Pos)
16793#define USB_OTG_DIEPEACHMSK1_TXFURM USB_OTG_DIEPEACHMSK1_TXFURM_Msk
16794#define USB_OTG_DIEPEACHMSK1_BIM_Pos (9U)
16795#define USB_OTG_DIEPEACHMSK1_BIM_Msk (0x1UL << USB_OTG_DIEPEACHMSK1_BIM_Pos)
16796#define USB_OTG_DIEPEACHMSK1_BIM USB_OTG_DIEPEACHMSK1_BIM_Msk
16797#define USB_OTG_DIEPEACHMSK1_NAKM_Pos (13U)
16798#define USB_OTG_DIEPEACHMSK1_NAKM_Msk (0x1UL << USB_OTG_DIEPEACHMSK1_NAKM_Pos)
16799#define USB_OTG_DIEPEACHMSK1_NAKM USB_OTG_DIEPEACHMSK1_NAKM_Msk
16801/******************** Bit definition for USB_OTG_HPRT register ********************/
16802#define USB_OTG_HPRT_PCSTS_Pos (0U)
16803#define USB_OTG_HPRT_PCSTS_Msk (0x1UL << USB_OTG_HPRT_PCSTS_Pos)
16804#define USB_OTG_HPRT_PCSTS USB_OTG_HPRT_PCSTS_Msk
16805#define USB_OTG_HPRT_PCDET_Pos (1U)
16806#define USB_OTG_HPRT_PCDET_Msk (0x1UL << USB_OTG_HPRT_PCDET_Pos)
16807#define USB_OTG_HPRT_PCDET USB_OTG_HPRT_PCDET_Msk
16808#define USB_OTG_HPRT_PENA_Pos (2U)
16809#define USB_OTG_HPRT_PENA_Msk (0x1UL << USB_OTG_HPRT_PENA_Pos)
16810#define USB_OTG_HPRT_PENA USB_OTG_HPRT_PENA_Msk
16811#define USB_OTG_HPRT_PENCHNG_Pos (3U)
16812#define USB_OTG_HPRT_PENCHNG_Msk (0x1UL << USB_OTG_HPRT_PENCHNG_Pos)
16813#define USB_OTG_HPRT_PENCHNG USB_OTG_HPRT_PENCHNG_Msk
16814#define USB_OTG_HPRT_POCA_Pos (4U)
16815#define USB_OTG_HPRT_POCA_Msk (0x1UL << USB_OTG_HPRT_POCA_Pos)
16816#define USB_OTG_HPRT_POCA USB_OTG_HPRT_POCA_Msk
16817#define USB_OTG_HPRT_POCCHNG_Pos (5U)
16818#define USB_OTG_HPRT_POCCHNG_Msk (0x1UL << USB_OTG_HPRT_POCCHNG_Pos)
16819#define USB_OTG_HPRT_POCCHNG USB_OTG_HPRT_POCCHNG_Msk
16820#define USB_OTG_HPRT_PRES_Pos (6U)
16821#define USB_OTG_HPRT_PRES_Msk (0x1UL << USB_OTG_HPRT_PRES_Pos)
16822#define USB_OTG_HPRT_PRES USB_OTG_HPRT_PRES_Msk
16823#define USB_OTG_HPRT_PSUSP_Pos (7U)
16824#define USB_OTG_HPRT_PSUSP_Msk (0x1UL << USB_OTG_HPRT_PSUSP_Pos)
16825#define USB_OTG_HPRT_PSUSP USB_OTG_HPRT_PSUSP_Msk
16826#define USB_OTG_HPRT_PRST_Pos (8U)
16827#define USB_OTG_HPRT_PRST_Msk (0x1UL << USB_OTG_HPRT_PRST_Pos)
16828#define USB_OTG_HPRT_PRST USB_OTG_HPRT_PRST_Msk
16830#define USB_OTG_HPRT_PLSTS_Pos (10U)
16831#define USB_OTG_HPRT_PLSTS_Msk (0x3UL << USB_OTG_HPRT_PLSTS_Pos)
16832#define USB_OTG_HPRT_PLSTS USB_OTG_HPRT_PLSTS_Msk
16833#define USB_OTG_HPRT_PLSTS_0 (0x1UL << USB_OTG_HPRT_PLSTS_Pos)
16834#define USB_OTG_HPRT_PLSTS_1 (0x2UL << USB_OTG_HPRT_PLSTS_Pos)
16835#define USB_OTG_HPRT_PPWR_Pos (12U)
16836#define USB_OTG_HPRT_PPWR_Msk (0x1UL << USB_OTG_HPRT_PPWR_Pos)
16837#define USB_OTG_HPRT_PPWR USB_OTG_HPRT_PPWR_Msk
16839#define USB_OTG_HPRT_PTCTL_Pos (13U)
16840#define USB_OTG_HPRT_PTCTL_Msk (0xFUL << USB_OTG_HPRT_PTCTL_Pos)
16841#define USB_OTG_HPRT_PTCTL USB_OTG_HPRT_PTCTL_Msk
16842#define USB_OTG_HPRT_PTCTL_0 (0x1UL << USB_OTG_HPRT_PTCTL_Pos)
16843#define USB_OTG_HPRT_PTCTL_1 (0x2UL << USB_OTG_HPRT_PTCTL_Pos)
16844#define USB_OTG_HPRT_PTCTL_2 (0x4UL << USB_OTG_HPRT_PTCTL_Pos)
16845#define USB_OTG_HPRT_PTCTL_3 (0x8UL << USB_OTG_HPRT_PTCTL_Pos)
16847#define USB_OTG_HPRT_PSPD_Pos (17U)
16848#define USB_OTG_HPRT_PSPD_Msk (0x3UL << USB_OTG_HPRT_PSPD_Pos)
16849#define USB_OTG_HPRT_PSPD USB_OTG_HPRT_PSPD_Msk
16850#define USB_OTG_HPRT_PSPD_0 (0x1UL << USB_OTG_HPRT_PSPD_Pos)
16851#define USB_OTG_HPRT_PSPD_1 (0x2UL << USB_OTG_HPRT_PSPD_Pos)
16853/******************** Bit definition for USB_OTG_DOEPEACHMSK1 register ********************/
16854#define USB_OTG_DOEPEACHMSK1_XFRCM_Pos (0U)
16855#define USB_OTG_DOEPEACHMSK1_XFRCM_Msk (0x1UL << USB_OTG_DOEPEACHMSK1_XFRCM_Pos)
16856#define USB_OTG_DOEPEACHMSK1_XFRCM USB_OTG_DOEPEACHMSK1_XFRCM_Msk
16857#define USB_OTG_DOEPEACHMSK1_EPDM_Pos (1U)
16858#define USB_OTG_DOEPEACHMSK1_EPDM_Msk (0x1UL << USB_OTG_DOEPEACHMSK1_EPDM_Pos)
16859#define USB_OTG_DOEPEACHMSK1_EPDM USB_OTG_DOEPEACHMSK1_EPDM_Msk
16860#define USB_OTG_DOEPEACHMSK1_TOM_Pos (3U)
16861#define USB_OTG_DOEPEACHMSK1_TOM_Msk (0x1UL << USB_OTG_DOEPEACHMSK1_TOM_Pos)
16862#define USB_OTG_DOEPEACHMSK1_TOM USB_OTG_DOEPEACHMSK1_TOM_Msk
16863#define USB_OTG_DOEPEACHMSK1_ITTXFEMSK_Pos (4U)
16864#define USB_OTG_DOEPEACHMSK1_ITTXFEMSK_Msk (0x1UL << USB_OTG_DOEPEACHMSK1_ITTXFEMSK_Pos)
16865#define USB_OTG_DOEPEACHMSK1_ITTXFEMSK USB_OTG_DOEPEACHMSK1_ITTXFEMSK_Msk
16866#define USB_OTG_DOEPEACHMSK1_INEPNMM_Pos (5U)
16867#define USB_OTG_DOEPEACHMSK1_INEPNMM_Msk (0x1UL << USB_OTG_DOEPEACHMSK1_INEPNMM_Pos)
16868#define USB_OTG_DOEPEACHMSK1_INEPNMM USB_OTG_DOEPEACHMSK1_INEPNMM_Msk
16869#define USB_OTG_DOEPEACHMSK1_INEPNEM_Pos (6U)
16870#define USB_OTG_DOEPEACHMSK1_INEPNEM_Msk (0x1UL << USB_OTG_DOEPEACHMSK1_INEPNEM_Pos)
16871#define USB_OTG_DOEPEACHMSK1_INEPNEM USB_OTG_DOEPEACHMSK1_INEPNEM_Msk
16872#define USB_OTG_DOEPEACHMSK1_TXFURM_Pos (8U)
16873#define USB_OTG_DOEPEACHMSK1_TXFURM_Msk (0x1UL << USB_OTG_DOEPEACHMSK1_TXFURM_Pos)
16874#define USB_OTG_DOEPEACHMSK1_TXFURM USB_OTG_DOEPEACHMSK1_TXFURM_Msk
16875#define USB_OTG_DOEPEACHMSK1_BIM_Pos (9U)
16876#define USB_OTG_DOEPEACHMSK1_BIM_Msk (0x1UL << USB_OTG_DOEPEACHMSK1_BIM_Pos)
16877#define USB_OTG_DOEPEACHMSK1_BIM USB_OTG_DOEPEACHMSK1_BIM_Msk
16878#define USB_OTG_DOEPEACHMSK1_BERRM_Pos (12U)
16879#define USB_OTG_DOEPEACHMSK1_BERRM_Msk (0x1UL << USB_OTG_DOEPEACHMSK1_BERRM_Pos)
16880#define USB_OTG_DOEPEACHMSK1_BERRM USB_OTG_DOEPEACHMSK1_BERRM_Msk
16881#define USB_OTG_DOEPEACHMSK1_NAKM_Pos (13U)
16882#define USB_OTG_DOEPEACHMSK1_NAKM_Msk (0x1UL << USB_OTG_DOEPEACHMSK1_NAKM_Pos)
16883#define USB_OTG_DOEPEACHMSK1_NAKM USB_OTG_DOEPEACHMSK1_NAKM_Msk
16884#define USB_OTG_DOEPEACHMSK1_NYETM_Pos (14U)
16885#define USB_OTG_DOEPEACHMSK1_NYETM_Msk (0x1UL << USB_OTG_DOEPEACHMSK1_NYETM_Pos)
16886#define USB_OTG_DOEPEACHMSK1_NYETM USB_OTG_DOEPEACHMSK1_NYETM_Msk
16888/******************** Bit definition for USB_OTG_HPTXFSIZ register ********************/
16889#define USB_OTG_HPTXFSIZ_PTXSA_Pos (0U)
16890#define USB_OTG_HPTXFSIZ_PTXSA_Msk (0xFFFFUL << USB_OTG_HPTXFSIZ_PTXSA_Pos)
16891#define USB_OTG_HPTXFSIZ_PTXSA USB_OTG_HPTXFSIZ_PTXSA_Msk
16892#define USB_OTG_HPTXFSIZ_PTXFD_Pos (16U)
16893#define USB_OTG_HPTXFSIZ_PTXFD_Msk (0xFFFFUL << USB_OTG_HPTXFSIZ_PTXFD_Pos)
16894#define USB_OTG_HPTXFSIZ_PTXFD USB_OTG_HPTXFSIZ_PTXFD_Msk
16896/******************** Bit definition for USB_OTG_DIEPCTL register ********************/
16897#define USB_OTG_DIEPCTL_MPSIZ_Pos (0U)
16898#define USB_OTG_DIEPCTL_MPSIZ_Msk (0x7FFUL << USB_OTG_DIEPCTL_MPSIZ_Pos)
16899#define USB_OTG_DIEPCTL_MPSIZ USB_OTG_DIEPCTL_MPSIZ_Msk
16900#define USB_OTG_DIEPCTL_USBAEP_Pos (15U)
16901#define USB_OTG_DIEPCTL_USBAEP_Msk (0x1UL << USB_OTG_DIEPCTL_USBAEP_Pos)
16902#define USB_OTG_DIEPCTL_USBAEP USB_OTG_DIEPCTL_USBAEP_Msk
16903#define USB_OTG_DIEPCTL_EONUM_DPID_Pos (16U)
16904#define USB_OTG_DIEPCTL_EONUM_DPID_Msk (0x1UL << USB_OTG_DIEPCTL_EONUM_DPID_Pos)
16905#define USB_OTG_DIEPCTL_EONUM_DPID USB_OTG_DIEPCTL_EONUM_DPID_Msk
16906#define USB_OTG_DIEPCTL_NAKSTS_Pos (17U)
16907#define USB_OTG_DIEPCTL_NAKSTS_Msk (0x1UL << USB_OTG_DIEPCTL_NAKSTS_Pos)
16908#define USB_OTG_DIEPCTL_NAKSTS USB_OTG_DIEPCTL_NAKSTS_Msk
16910#define USB_OTG_DIEPCTL_EPTYP_Pos (18U)
16911#define USB_OTG_DIEPCTL_EPTYP_Msk (0x3UL << USB_OTG_DIEPCTL_EPTYP_Pos)
16912#define USB_OTG_DIEPCTL_EPTYP USB_OTG_DIEPCTL_EPTYP_Msk
16913#define USB_OTG_DIEPCTL_EPTYP_0 (0x1UL << USB_OTG_DIEPCTL_EPTYP_Pos)
16914#define USB_OTG_DIEPCTL_EPTYP_1 (0x2UL << USB_OTG_DIEPCTL_EPTYP_Pos)
16915#define USB_OTG_DIEPCTL_STALL_Pos (21U)
16916#define USB_OTG_DIEPCTL_STALL_Msk (0x1UL << USB_OTG_DIEPCTL_STALL_Pos)
16917#define USB_OTG_DIEPCTL_STALL USB_OTG_DIEPCTL_STALL_Msk
16919#define USB_OTG_DIEPCTL_TXFNUM_Pos (22U)
16920#define USB_OTG_DIEPCTL_TXFNUM_Msk (0xFUL << USB_OTG_DIEPCTL_TXFNUM_Pos)
16921#define USB_OTG_DIEPCTL_TXFNUM USB_OTG_DIEPCTL_TXFNUM_Msk
16922#define USB_OTG_DIEPCTL_TXFNUM_0 (0x1UL << USB_OTG_DIEPCTL_TXFNUM_Pos)
16923#define USB_OTG_DIEPCTL_TXFNUM_1 (0x2UL << USB_OTG_DIEPCTL_TXFNUM_Pos)
16924#define USB_OTG_DIEPCTL_TXFNUM_2 (0x4UL << USB_OTG_DIEPCTL_TXFNUM_Pos)
16925#define USB_OTG_DIEPCTL_TXFNUM_3 (0x8UL << USB_OTG_DIEPCTL_TXFNUM_Pos)
16926#define USB_OTG_DIEPCTL_CNAK_Pos (26U)
16927#define USB_OTG_DIEPCTL_CNAK_Msk (0x1UL << USB_OTG_DIEPCTL_CNAK_Pos)
16928#define USB_OTG_DIEPCTL_CNAK USB_OTG_DIEPCTL_CNAK_Msk
16929#define USB_OTG_DIEPCTL_SNAK_Pos (27U)
16930#define USB_OTG_DIEPCTL_SNAK_Msk (0x1UL << USB_OTG_DIEPCTL_SNAK_Pos)
16931#define USB_OTG_DIEPCTL_SNAK USB_OTG_DIEPCTL_SNAK_Msk
16932#define USB_OTG_DIEPCTL_SD0PID_SEVNFRM_Pos (28U)
16933#define USB_OTG_DIEPCTL_SD0PID_SEVNFRM_Msk (0x1UL << USB_OTG_DIEPCTL_SD0PID_SEVNFRM_Pos)
16934#define USB_OTG_DIEPCTL_SD0PID_SEVNFRM USB_OTG_DIEPCTL_SD0PID_SEVNFRM_Msk
16935#define USB_OTG_DIEPCTL_SODDFRM_Pos (29U)
16936#define USB_OTG_DIEPCTL_SODDFRM_Msk (0x1UL << USB_OTG_DIEPCTL_SODDFRM_Pos)
16937#define USB_OTG_DIEPCTL_SODDFRM USB_OTG_DIEPCTL_SODDFRM_Msk
16938#define USB_OTG_DIEPCTL_EPDIS_Pos (30U)
16939#define USB_OTG_DIEPCTL_EPDIS_Msk (0x1UL << USB_OTG_DIEPCTL_EPDIS_Pos)
16940#define USB_OTG_DIEPCTL_EPDIS USB_OTG_DIEPCTL_EPDIS_Msk
16941#define USB_OTG_DIEPCTL_EPENA_Pos (31U)
16942#define USB_OTG_DIEPCTL_EPENA_Msk (0x1UL << USB_OTG_DIEPCTL_EPENA_Pos)
16943#define USB_OTG_DIEPCTL_EPENA USB_OTG_DIEPCTL_EPENA_Msk
16945/******************** Bit definition for USB_OTG_HCCHAR register ********************/
16946#define USB_OTG_HCCHAR_MPSIZ_Pos (0U)
16947#define USB_OTG_HCCHAR_MPSIZ_Msk (0x7FFUL << USB_OTG_HCCHAR_MPSIZ_Pos)
16948#define USB_OTG_HCCHAR_MPSIZ USB_OTG_HCCHAR_MPSIZ_Msk
16950#define USB_OTG_HCCHAR_EPNUM_Pos (11U)
16951#define USB_OTG_HCCHAR_EPNUM_Msk (0xFUL << USB_OTG_HCCHAR_EPNUM_Pos)
16952#define USB_OTG_HCCHAR_EPNUM USB_OTG_HCCHAR_EPNUM_Msk
16953#define USB_OTG_HCCHAR_EPNUM_0 (0x1UL << USB_OTG_HCCHAR_EPNUM_Pos)
16954#define USB_OTG_HCCHAR_EPNUM_1 (0x2UL << USB_OTG_HCCHAR_EPNUM_Pos)
16955#define USB_OTG_HCCHAR_EPNUM_2 (0x4UL << USB_OTG_HCCHAR_EPNUM_Pos)
16956#define USB_OTG_HCCHAR_EPNUM_3 (0x8UL << USB_OTG_HCCHAR_EPNUM_Pos)
16957#define USB_OTG_HCCHAR_EPDIR_Pos (15U)
16958#define USB_OTG_HCCHAR_EPDIR_Msk (0x1UL << USB_OTG_HCCHAR_EPDIR_Pos)
16959#define USB_OTG_HCCHAR_EPDIR USB_OTG_HCCHAR_EPDIR_Msk
16960#define USB_OTG_HCCHAR_LSDEV_Pos (17U)
16961#define USB_OTG_HCCHAR_LSDEV_Msk (0x1UL << USB_OTG_HCCHAR_LSDEV_Pos)
16962#define USB_OTG_HCCHAR_LSDEV USB_OTG_HCCHAR_LSDEV_Msk
16964#define USB_OTG_HCCHAR_EPTYP_Pos (18U)
16965#define USB_OTG_HCCHAR_EPTYP_Msk (0x3UL << USB_OTG_HCCHAR_EPTYP_Pos)
16966#define USB_OTG_HCCHAR_EPTYP USB_OTG_HCCHAR_EPTYP_Msk
16967#define USB_OTG_HCCHAR_EPTYP_0 (0x1UL << USB_OTG_HCCHAR_EPTYP_Pos)
16968#define USB_OTG_HCCHAR_EPTYP_1 (0x2UL << USB_OTG_HCCHAR_EPTYP_Pos)
16970#define USB_OTG_HCCHAR_MC_Pos (20U)
16971#define USB_OTG_HCCHAR_MC_Msk (0x3UL << USB_OTG_HCCHAR_MC_Pos)
16972#define USB_OTG_HCCHAR_MC USB_OTG_HCCHAR_MC_Msk
16973#define USB_OTG_HCCHAR_MC_0 (0x1UL << USB_OTG_HCCHAR_MC_Pos)
16974#define USB_OTG_HCCHAR_MC_1 (0x2UL << USB_OTG_HCCHAR_MC_Pos)
16976#define USB_OTG_HCCHAR_DAD_Pos (22U)
16977#define USB_OTG_HCCHAR_DAD_Msk (0x7FUL << USB_OTG_HCCHAR_DAD_Pos)
16978#define USB_OTG_HCCHAR_DAD USB_OTG_HCCHAR_DAD_Msk
16979#define USB_OTG_HCCHAR_DAD_0 (0x01UL << USB_OTG_HCCHAR_DAD_Pos)
16980#define USB_OTG_HCCHAR_DAD_1 (0x02UL << USB_OTG_HCCHAR_DAD_Pos)
16981#define USB_OTG_HCCHAR_DAD_2 (0x04UL << USB_OTG_HCCHAR_DAD_Pos)
16982#define USB_OTG_HCCHAR_DAD_3 (0x08UL << USB_OTG_HCCHAR_DAD_Pos)
16983#define USB_OTG_HCCHAR_DAD_4 (0x10UL << USB_OTG_HCCHAR_DAD_Pos)
16984#define USB_OTG_HCCHAR_DAD_5 (0x20UL << USB_OTG_HCCHAR_DAD_Pos)
16985#define USB_OTG_HCCHAR_DAD_6 (0x40UL << USB_OTG_HCCHAR_DAD_Pos)
16986#define USB_OTG_HCCHAR_ODDFRM_Pos (29U)
16987#define USB_OTG_HCCHAR_ODDFRM_Msk (0x1UL << USB_OTG_HCCHAR_ODDFRM_Pos)
16988#define USB_OTG_HCCHAR_ODDFRM USB_OTG_HCCHAR_ODDFRM_Msk
16989#define USB_OTG_HCCHAR_CHDIS_Pos (30U)
16990#define USB_OTG_HCCHAR_CHDIS_Msk (0x1UL << USB_OTG_HCCHAR_CHDIS_Pos)
16991#define USB_OTG_HCCHAR_CHDIS USB_OTG_HCCHAR_CHDIS_Msk
16992#define USB_OTG_HCCHAR_CHENA_Pos (31U)
16993#define USB_OTG_HCCHAR_CHENA_Msk (0x1UL << USB_OTG_HCCHAR_CHENA_Pos)
16994#define USB_OTG_HCCHAR_CHENA USB_OTG_HCCHAR_CHENA_Msk
16996/******************** Bit definition for USB_OTG_HCSPLT register ********************/
16997
16998#define USB_OTG_HCSPLT_PRTADDR_Pos (0U)
16999#define USB_OTG_HCSPLT_PRTADDR_Msk (0x7FUL << USB_OTG_HCSPLT_PRTADDR_Pos)
17000#define USB_OTG_HCSPLT_PRTADDR USB_OTG_HCSPLT_PRTADDR_Msk
17001#define USB_OTG_HCSPLT_PRTADDR_0 (0x01UL << USB_OTG_HCSPLT_PRTADDR_Pos)
17002#define USB_OTG_HCSPLT_PRTADDR_1 (0x02UL << USB_OTG_HCSPLT_PRTADDR_Pos)
17003#define USB_OTG_HCSPLT_PRTADDR_2 (0x04UL << USB_OTG_HCSPLT_PRTADDR_Pos)
17004#define USB_OTG_HCSPLT_PRTADDR_3 (0x08UL << USB_OTG_HCSPLT_PRTADDR_Pos)
17005#define USB_OTG_HCSPLT_PRTADDR_4 (0x10UL << USB_OTG_HCSPLT_PRTADDR_Pos)
17006#define USB_OTG_HCSPLT_PRTADDR_5 (0x20UL << USB_OTG_HCSPLT_PRTADDR_Pos)
17007#define USB_OTG_HCSPLT_PRTADDR_6 (0x40UL << USB_OTG_HCSPLT_PRTADDR_Pos)
17009#define USB_OTG_HCSPLT_HUBADDR_Pos (7U)
17010#define USB_OTG_HCSPLT_HUBADDR_Msk (0x7FUL << USB_OTG_HCSPLT_HUBADDR_Pos)
17011#define USB_OTG_HCSPLT_HUBADDR USB_OTG_HCSPLT_HUBADDR_Msk
17012#define USB_OTG_HCSPLT_HUBADDR_0 (0x01UL << USB_OTG_HCSPLT_HUBADDR_Pos)
17013#define USB_OTG_HCSPLT_HUBADDR_1 (0x02UL << USB_OTG_HCSPLT_HUBADDR_Pos)
17014#define USB_OTG_HCSPLT_HUBADDR_2 (0x04UL << USB_OTG_HCSPLT_HUBADDR_Pos)
17015#define USB_OTG_HCSPLT_HUBADDR_3 (0x08UL << USB_OTG_HCSPLT_HUBADDR_Pos)
17016#define USB_OTG_HCSPLT_HUBADDR_4 (0x10UL << USB_OTG_HCSPLT_HUBADDR_Pos)
17017#define USB_OTG_HCSPLT_HUBADDR_5 (0x20UL << USB_OTG_HCSPLT_HUBADDR_Pos)
17018#define USB_OTG_HCSPLT_HUBADDR_6 (0x40UL << USB_OTG_HCSPLT_HUBADDR_Pos)
17020#define USB_OTG_HCSPLT_XACTPOS_Pos (14U)
17021#define USB_OTG_HCSPLT_XACTPOS_Msk (0x3UL << USB_OTG_HCSPLT_XACTPOS_Pos)
17022#define USB_OTG_HCSPLT_XACTPOS USB_OTG_HCSPLT_XACTPOS_Msk
17023#define USB_OTG_HCSPLT_XACTPOS_0 (0x1UL << USB_OTG_HCSPLT_XACTPOS_Pos)
17024#define USB_OTG_HCSPLT_XACTPOS_1 (0x2UL << USB_OTG_HCSPLT_XACTPOS_Pos)
17025#define USB_OTG_HCSPLT_COMPLSPLT_Pos (16U)
17026#define USB_OTG_HCSPLT_COMPLSPLT_Msk (0x1UL << USB_OTG_HCSPLT_COMPLSPLT_Pos)
17027#define USB_OTG_HCSPLT_COMPLSPLT USB_OTG_HCSPLT_COMPLSPLT_Msk
17028#define USB_OTG_HCSPLT_SPLITEN_Pos (31U)
17029#define USB_OTG_HCSPLT_SPLITEN_Msk (0x1UL << USB_OTG_HCSPLT_SPLITEN_Pos)
17030#define USB_OTG_HCSPLT_SPLITEN USB_OTG_HCSPLT_SPLITEN_Msk
17032/******************** Bit definition for USB_OTG_HCINT register ********************/
17033#define USB_OTG_HCINT_XFRC_Pos (0U)
17034#define USB_OTG_HCINT_XFRC_Msk (0x1UL << USB_OTG_HCINT_XFRC_Pos)
17035#define USB_OTG_HCINT_XFRC USB_OTG_HCINT_XFRC_Msk
17036#define USB_OTG_HCINT_CHH_Pos (1U)
17037#define USB_OTG_HCINT_CHH_Msk (0x1UL << USB_OTG_HCINT_CHH_Pos)
17038#define USB_OTG_HCINT_CHH USB_OTG_HCINT_CHH_Msk
17039#define USB_OTG_HCINT_AHBERR_Pos (2U)
17040#define USB_OTG_HCINT_AHBERR_Msk (0x1UL << USB_OTG_HCINT_AHBERR_Pos)
17041#define USB_OTG_HCINT_AHBERR USB_OTG_HCINT_AHBERR_Msk
17042#define USB_OTG_HCINT_STALL_Pos (3U)
17043#define USB_OTG_HCINT_STALL_Msk (0x1UL << USB_OTG_HCINT_STALL_Pos)
17044#define USB_OTG_HCINT_STALL USB_OTG_HCINT_STALL_Msk
17045#define USB_OTG_HCINT_NAK_Pos (4U)
17046#define USB_OTG_HCINT_NAK_Msk (0x1UL << USB_OTG_HCINT_NAK_Pos)
17047#define USB_OTG_HCINT_NAK USB_OTG_HCINT_NAK_Msk
17048#define USB_OTG_HCINT_ACK_Pos (5U)
17049#define USB_OTG_HCINT_ACK_Msk (0x1UL << USB_OTG_HCINT_ACK_Pos)
17050#define USB_OTG_HCINT_ACK USB_OTG_HCINT_ACK_Msk
17051#define USB_OTG_HCINT_NYET_Pos (6U)
17052#define USB_OTG_HCINT_NYET_Msk (0x1UL << USB_OTG_HCINT_NYET_Pos)
17053#define USB_OTG_HCINT_NYET USB_OTG_HCINT_NYET_Msk
17054#define USB_OTG_HCINT_TXERR_Pos (7U)
17055#define USB_OTG_HCINT_TXERR_Msk (0x1UL << USB_OTG_HCINT_TXERR_Pos)
17056#define USB_OTG_HCINT_TXERR USB_OTG_HCINT_TXERR_Msk
17057#define USB_OTG_HCINT_BBERR_Pos (8U)
17058#define USB_OTG_HCINT_BBERR_Msk (0x1UL << USB_OTG_HCINT_BBERR_Pos)
17059#define USB_OTG_HCINT_BBERR USB_OTG_HCINT_BBERR_Msk
17060#define USB_OTG_HCINT_FRMOR_Pos (9U)
17061#define USB_OTG_HCINT_FRMOR_Msk (0x1UL << USB_OTG_HCINT_FRMOR_Pos)
17062#define USB_OTG_HCINT_FRMOR USB_OTG_HCINT_FRMOR_Msk
17063#define USB_OTG_HCINT_DTERR_Pos (10U)
17064#define USB_OTG_HCINT_DTERR_Msk (0x1UL << USB_OTG_HCINT_DTERR_Pos)
17065#define USB_OTG_HCINT_DTERR USB_OTG_HCINT_DTERR_Msk
17067/******************** Bit definition for USB_OTG_DIEPINT register ********************/
17068#define USB_OTG_DIEPINT_XFRC_Pos (0U)
17069#define USB_OTG_DIEPINT_XFRC_Msk (0x1UL << USB_OTG_DIEPINT_XFRC_Pos)
17070#define USB_OTG_DIEPINT_XFRC USB_OTG_DIEPINT_XFRC_Msk
17071#define USB_OTG_DIEPINT_EPDISD_Pos (1U)
17072#define USB_OTG_DIEPINT_EPDISD_Msk (0x1UL << USB_OTG_DIEPINT_EPDISD_Pos)
17073#define USB_OTG_DIEPINT_EPDISD USB_OTG_DIEPINT_EPDISD_Msk
17074#define USB_OTG_DIEPINT_AHBERR_Pos (2U)
17075#define USB_OTG_DIEPINT_AHBERR_Msk (0x1UL << USB_OTG_DIEPINT_AHBERR_Pos)
17076#define USB_OTG_DIEPINT_AHBERR USB_OTG_DIEPINT_AHBERR_Msk
17077#define USB_OTG_DIEPINT_TOC_Pos (3U)
17078#define USB_OTG_DIEPINT_TOC_Msk (0x1UL << USB_OTG_DIEPINT_TOC_Pos)
17079#define USB_OTG_DIEPINT_TOC USB_OTG_DIEPINT_TOC_Msk
17080#define USB_OTG_DIEPINT_ITTXFE_Pos (4U)
17081#define USB_OTG_DIEPINT_ITTXFE_Msk (0x1UL << USB_OTG_DIEPINT_ITTXFE_Pos)
17082#define USB_OTG_DIEPINT_ITTXFE USB_OTG_DIEPINT_ITTXFE_Msk
17083#define USB_OTG_DIEPINT_INEPNM_Pos (5U)
17084#define USB_OTG_DIEPINT_INEPNM_Msk (0x1UL << USB_OTG_DIEPINT_INEPNM_Pos)
17085#define USB_OTG_DIEPINT_INEPNM USB_OTG_DIEPINT_INEPNM_Msk
17086#define USB_OTG_DIEPINT_INEPNE_Pos (6U)
17087#define USB_OTG_DIEPINT_INEPNE_Msk (0x1UL << USB_OTG_DIEPINT_INEPNE_Pos)
17088#define USB_OTG_DIEPINT_INEPNE USB_OTG_DIEPINT_INEPNE_Msk
17089#define USB_OTG_DIEPINT_TXFE_Pos (7U)
17090#define USB_OTG_DIEPINT_TXFE_Msk (0x1UL << USB_OTG_DIEPINT_TXFE_Pos)
17091#define USB_OTG_DIEPINT_TXFE USB_OTG_DIEPINT_TXFE_Msk
17092#define USB_OTG_DIEPINT_TXFIFOUDRN_Pos (8U)
17093#define USB_OTG_DIEPINT_TXFIFOUDRN_Msk (0x1UL << USB_OTG_DIEPINT_TXFIFOUDRN_Pos)
17094#define USB_OTG_DIEPINT_TXFIFOUDRN USB_OTG_DIEPINT_TXFIFOUDRN_Msk
17095#define USB_OTG_DIEPINT_BNA_Pos (9U)
17096#define USB_OTG_DIEPINT_BNA_Msk (0x1UL << USB_OTG_DIEPINT_BNA_Pos)
17097#define USB_OTG_DIEPINT_BNA USB_OTG_DIEPINT_BNA_Msk
17098#define USB_OTG_DIEPINT_PKTDRPSTS_Pos (11U)
17099#define USB_OTG_DIEPINT_PKTDRPSTS_Msk (0x1UL << USB_OTG_DIEPINT_PKTDRPSTS_Pos)
17100#define USB_OTG_DIEPINT_PKTDRPSTS USB_OTG_DIEPINT_PKTDRPSTS_Msk
17101#define USB_OTG_DIEPINT_BERR_Pos (12U)
17102#define USB_OTG_DIEPINT_BERR_Msk (0x1UL << USB_OTG_DIEPINT_BERR_Pos)
17103#define USB_OTG_DIEPINT_BERR USB_OTG_DIEPINT_BERR_Msk
17104#define USB_OTG_DIEPINT_NAK_Pos (13U)
17105#define USB_OTG_DIEPINT_NAK_Msk (0x1UL << USB_OTG_DIEPINT_NAK_Pos)
17106#define USB_OTG_DIEPINT_NAK USB_OTG_DIEPINT_NAK_Msk
17108/******************** Bit definition for USB_OTG_HCINTMSK register ********************/
17109#define USB_OTG_HCINTMSK_XFRCM_Pos (0U)
17110#define USB_OTG_HCINTMSK_XFRCM_Msk (0x1UL << USB_OTG_HCINTMSK_XFRCM_Pos)
17111#define USB_OTG_HCINTMSK_XFRCM USB_OTG_HCINTMSK_XFRCM_Msk
17112#define USB_OTG_HCINTMSK_CHHM_Pos (1U)
17113#define USB_OTG_HCINTMSK_CHHM_Msk (0x1UL << USB_OTG_HCINTMSK_CHHM_Pos)
17114#define USB_OTG_HCINTMSK_CHHM USB_OTG_HCINTMSK_CHHM_Msk
17115#define USB_OTG_HCINTMSK_AHBERR_Pos (2U)
17116#define USB_OTG_HCINTMSK_AHBERR_Msk (0x1UL << USB_OTG_HCINTMSK_AHBERR_Pos)
17117#define USB_OTG_HCINTMSK_AHBERR USB_OTG_HCINTMSK_AHBERR_Msk
17118#define USB_OTG_HCINTMSK_STALLM_Pos (3U)
17119#define USB_OTG_HCINTMSK_STALLM_Msk (0x1UL << USB_OTG_HCINTMSK_STALLM_Pos)
17120#define USB_OTG_HCINTMSK_STALLM USB_OTG_HCINTMSK_STALLM_Msk
17121#define USB_OTG_HCINTMSK_NAKM_Pos (4U)
17122#define USB_OTG_HCINTMSK_NAKM_Msk (0x1UL << USB_OTG_HCINTMSK_NAKM_Pos)
17123#define USB_OTG_HCINTMSK_NAKM USB_OTG_HCINTMSK_NAKM_Msk
17124#define USB_OTG_HCINTMSK_ACKM_Pos (5U)
17125#define USB_OTG_HCINTMSK_ACKM_Msk (0x1UL << USB_OTG_HCINTMSK_ACKM_Pos)
17126#define USB_OTG_HCINTMSK_ACKM USB_OTG_HCINTMSK_ACKM_Msk
17127#define USB_OTG_HCINTMSK_NYET_Pos (6U)
17128#define USB_OTG_HCINTMSK_NYET_Msk (0x1UL << USB_OTG_HCINTMSK_NYET_Pos)
17129#define USB_OTG_HCINTMSK_NYET USB_OTG_HCINTMSK_NYET_Msk
17130#define USB_OTG_HCINTMSK_TXERRM_Pos (7U)
17131#define USB_OTG_HCINTMSK_TXERRM_Msk (0x1UL << USB_OTG_HCINTMSK_TXERRM_Pos)
17132#define USB_OTG_HCINTMSK_TXERRM USB_OTG_HCINTMSK_TXERRM_Msk
17133#define USB_OTG_HCINTMSK_BBERRM_Pos (8U)
17134#define USB_OTG_HCINTMSK_BBERRM_Msk (0x1UL << USB_OTG_HCINTMSK_BBERRM_Pos)
17135#define USB_OTG_HCINTMSK_BBERRM USB_OTG_HCINTMSK_BBERRM_Msk
17136#define USB_OTG_HCINTMSK_FRMORM_Pos (9U)
17137#define USB_OTG_HCINTMSK_FRMORM_Msk (0x1UL << USB_OTG_HCINTMSK_FRMORM_Pos)
17138#define USB_OTG_HCINTMSK_FRMORM USB_OTG_HCINTMSK_FRMORM_Msk
17139#define USB_OTG_HCINTMSK_DTERRM_Pos (10U)
17140#define USB_OTG_HCINTMSK_DTERRM_Msk (0x1UL << USB_OTG_HCINTMSK_DTERRM_Pos)
17141#define USB_OTG_HCINTMSK_DTERRM USB_OTG_HCINTMSK_DTERRM_Msk
17143/******************** Bit definition for USB_OTG_DIEPTSIZ register ********************/
17144
17145#define USB_OTG_DIEPTSIZ_XFRSIZ_Pos (0U)
17146#define USB_OTG_DIEPTSIZ_XFRSIZ_Msk (0x7FFFFUL << USB_OTG_DIEPTSIZ_XFRSIZ_Pos)
17147#define USB_OTG_DIEPTSIZ_XFRSIZ USB_OTG_DIEPTSIZ_XFRSIZ_Msk
17148#define USB_OTG_DIEPTSIZ_PKTCNT_Pos (19U)
17149#define USB_OTG_DIEPTSIZ_PKTCNT_Msk (0x3FFUL << USB_OTG_DIEPTSIZ_PKTCNT_Pos)
17150#define USB_OTG_DIEPTSIZ_PKTCNT USB_OTG_DIEPTSIZ_PKTCNT_Msk
17151#define USB_OTG_DIEPTSIZ_MULCNT_Pos (29U)
17152#define USB_OTG_DIEPTSIZ_MULCNT_Msk (0x3UL << USB_OTG_DIEPTSIZ_MULCNT_Pos)
17153#define USB_OTG_DIEPTSIZ_MULCNT USB_OTG_DIEPTSIZ_MULCNT_Msk
17154/******************** Bit definition for USB_OTG_HCTSIZ register ********************/
17155#define USB_OTG_HCTSIZ_XFRSIZ_Pos (0U)
17156#define USB_OTG_HCTSIZ_XFRSIZ_Msk (0x7FFFFUL << USB_OTG_HCTSIZ_XFRSIZ_Pos)
17157#define USB_OTG_HCTSIZ_XFRSIZ USB_OTG_HCTSIZ_XFRSIZ_Msk
17158#define USB_OTG_HCTSIZ_PKTCNT_Pos (19U)
17159#define USB_OTG_HCTSIZ_PKTCNT_Msk (0x3FFUL << USB_OTG_HCTSIZ_PKTCNT_Pos)
17160#define USB_OTG_HCTSIZ_PKTCNT USB_OTG_HCTSIZ_PKTCNT_Msk
17161#define USB_OTG_HCTSIZ_DOPING_Pos (31U)
17162#define USB_OTG_HCTSIZ_DOPING_Msk (0x1UL << USB_OTG_HCTSIZ_DOPING_Pos)
17163#define USB_OTG_HCTSIZ_DOPING USB_OTG_HCTSIZ_DOPING_Msk
17164#define USB_OTG_HCTSIZ_DPID_Pos (29U)
17165#define USB_OTG_HCTSIZ_DPID_Msk (0x3UL << USB_OTG_HCTSIZ_DPID_Pos)
17166#define USB_OTG_HCTSIZ_DPID USB_OTG_HCTSIZ_DPID_Msk
17167#define USB_OTG_HCTSIZ_DPID_0 (0x1UL << USB_OTG_HCTSIZ_DPID_Pos)
17168#define USB_OTG_HCTSIZ_DPID_1 (0x2UL << USB_OTG_HCTSIZ_DPID_Pos)
17170/******************** Bit definition for USB_OTG_DIEPDMA register ********************/
17171#define USB_OTG_DIEPDMA_DMAADDR_Pos (0U)
17172#define USB_OTG_DIEPDMA_DMAADDR_Msk (0xFFFFFFFFUL << USB_OTG_DIEPDMA_DMAADDR_Pos)
17173#define USB_OTG_DIEPDMA_DMAADDR USB_OTG_DIEPDMA_DMAADDR_Msk
17175/******************** Bit definition for USB_OTG_HCDMA register ********************/
17176#define USB_OTG_HCDMA_DMAADDR_Pos (0U)
17177#define USB_OTG_HCDMA_DMAADDR_Msk (0xFFFFFFFFUL << USB_OTG_HCDMA_DMAADDR_Pos)
17178#define USB_OTG_HCDMA_DMAADDR USB_OTG_HCDMA_DMAADDR_Msk
17180/******************** Bit definition for USB_OTG_DTXFSTS register ********************/
17181#define USB_OTG_DTXFSTS_INEPTFSAV_Pos (0U)
17182#define USB_OTG_DTXFSTS_INEPTFSAV_Msk (0xFFFFUL << USB_OTG_DTXFSTS_INEPTFSAV_Pos)
17183#define USB_OTG_DTXFSTS_INEPTFSAV USB_OTG_DTXFSTS_INEPTFSAV_Msk
17185/******************** Bit definition for USB_OTG_DIEPTXF register ********************/
17186#define USB_OTG_DIEPTXF_INEPTXSA_Pos (0U)
17187#define USB_OTG_DIEPTXF_INEPTXSA_Msk (0xFFFFUL << USB_OTG_DIEPTXF_INEPTXSA_Pos)
17188#define USB_OTG_DIEPTXF_INEPTXSA USB_OTG_DIEPTXF_INEPTXSA_Msk
17189#define USB_OTG_DIEPTXF_INEPTXFD_Pos (16U)
17190#define USB_OTG_DIEPTXF_INEPTXFD_Msk (0xFFFFUL << USB_OTG_DIEPTXF_INEPTXFD_Pos)
17191#define USB_OTG_DIEPTXF_INEPTXFD USB_OTG_DIEPTXF_INEPTXFD_Msk
17193/******************** Bit definition for USB_OTG_DOEPCTL register ********************/
17194#define USB_OTG_DOEPCTL_MPSIZ_Pos (0U)
17195#define USB_OTG_DOEPCTL_MPSIZ_Msk (0x7FFUL << USB_OTG_DOEPCTL_MPSIZ_Pos)
17196#define USB_OTG_DOEPCTL_MPSIZ USB_OTG_DOEPCTL_MPSIZ_Msk
17197#define USB_OTG_DOEPCTL_USBAEP_Pos (15U)
17198#define USB_OTG_DOEPCTL_USBAEP_Msk (0x1UL << USB_OTG_DOEPCTL_USBAEP_Pos)
17199#define USB_OTG_DOEPCTL_USBAEP USB_OTG_DOEPCTL_USBAEP_Msk
17200#define USB_OTG_DOEPCTL_NAKSTS_Pos (17U)
17201#define USB_OTG_DOEPCTL_NAKSTS_Msk (0x1UL << USB_OTG_DOEPCTL_NAKSTS_Pos)
17202#define USB_OTG_DOEPCTL_NAKSTS USB_OTG_DOEPCTL_NAKSTS_Msk
17203#define USB_OTG_DOEPCTL_SD0PID_SEVNFRM_Pos (28U)
17204#define USB_OTG_DOEPCTL_SD0PID_SEVNFRM_Msk (0x1UL << USB_OTG_DOEPCTL_SD0PID_SEVNFRM_Pos)
17205#define USB_OTG_DOEPCTL_SD0PID_SEVNFRM USB_OTG_DOEPCTL_SD0PID_SEVNFRM_Msk
17206#define USB_OTG_DOEPCTL_SODDFRM_Pos (29U)
17207#define USB_OTG_DOEPCTL_SODDFRM_Msk (0x1UL << USB_OTG_DOEPCTL_SODDFRM_Pos)
17208#define USB_OTG_DOEPCTL_SODDFRM USB_OTG_DOEPCTL_SODDFRM_Msk
17209#define USB_OTG_DOEPCTL_EPTYP_Pos (18U)
17210#define USB_OTG_DOEPCTL_EPTYP_Msk (0x3UL << USB_OTG_DOEPCTL_EPTYP_Pos)
17211#define USB_OTG_DOEPCTL_EPTYP USB_OTG_DOEPCTL_EPTYP_Msk
17212#define USB_OTG_DOEPCTL_EPTYP_0 (0x1UL << USB_OTG_DOEPCTL_EPTYP_Pos)
17213#define USB_OTG_DOEPCTL_EPTYP_1 (0x2UL << USB_OTG_DOEPCTL_EPTYP_Pos)
17214#define USB_OTG_DOEPCTL_SNPM_Pos (20U)
17215#define USB_OTG_DOEPCTL_SNPM_Msk (0x1UL << USB_OTG_DOEPCTL_SNPM_Pos)
17216#define USB_OTG_DOEPCTL_SNPM USB_OTG_DOEPCTL_SNPM_Msk
17217#define USB_OTG_DOEPCTL_STALL_Pos (21U)
17218#define USB_OTG_DOEPCTL_STALL_Msk (0x1UL << USB_OTG_DOEPCTL_STALL_Pos)
17219#define USB_OTG_DOEPCTL_STALL USB_OTG_DOEPCTL_STALL_Msk
17220#define USB_OTG_DOEPCTL_CNAK_Pos (26U)
17221#define USB_OTG_DOEPCTL_CNAK_Msk (0x1UL << USB_OTG_DOEPCTL_CNAK_Pos)
17222#define USB_OTG_DOEPCTL_CNAK USB_OTG_DOEPCTL_CNAK_Msk
17223#define USB_OTG_DOEPCTL_SNAK_Pos (27U)
17224#define USB_OTG_DOEPCTL_SNAK_Msk (0x1UL << USB_OTG_DOEPCTL_SNAK_Pos)
17225#define USB_OTG_DOEPCTL_SNAK USB_OTG_DOEPCTL_SNAK_Msk
17226#define USB_OTG_DOEPCTL_EPDIS_Pos (30U)
17227#define USB_OTG_DOEPCTL_EPDIS_Msk (0x1UL << USB_OTG_DOEPCTL_EPDIS_Pos)
17228#define USB_OTG_DOEPCTL_EPDIS USB_OTG_DOEPCTL_EPDIS_Msk
17229#define USB_OTG_DOEPCTL_EPENA_Pos (31U)
17230#define USB_OTG_DOEPCTL_EPENA_Msk (0x1UL << USB_OTG_DOEPCTL_EPENA_Pos)
17231#define USB_OTG_DOEPCTL_EPENA USB_OTG_DOEPCTL_EPENA_Msk
17233/******************** Bit definition for USB_OTG_DOEPINT register ********************/
17234#define USB_OTG_DOEPINT_XFRC_Pos (0U)
17235#define USB_OTG_DOEPINT_XFRC_Msk (0x1UL << USB_OTG_DOEPINT_XFRC_Pos)
17236#define USB_OTG_DOEPINT_XFRC USB_OTG_DOEPINT_XFRC_Msk
17237#define USB_OTG_DOEPINT_EPDISD_Pos (1U)
17238#define USB_OTG_DOEPINT_EPDISD_Msk (0x1UL << USB_OTG_DOEPINT_EPDISD_Pos)
17239#define USB_OTG_DOEPINT_EPDISD USB_OTG_DOEPINT_EPDISD_Msk
17240#define USB_OTG_DOEPINT_AHBERR_Pos (2U)
17241#define USB_OTG_DOEPINT_AHBERR_Msk (0x1UL << USB_OTG_DOEPINT_AHBERR_Pos)
17242#define USB_OTG_DOEPINT_AHBERR USB_OTG_DOEPINT_AHBERR_Msk
17243#define USB_OTG_DOEPINT_STUP_Pos (3U)
17244#define USB_OTG_DOEPINT_STUP_Msk (0x1UL << USB_OTG_DOEPINT_STUP_Pos)
17245#define USB_OTG_DOEPINT_STUP USB_OTG_DOEPINT_STUP_Msk
17246#define USB_OTG_DOEPINT_OTEPDIS_Pos (4U)
17247#define USB_OTG_DOEPINT_OTEPDIS_Msk (0x1UL << USB_OTG_DOEPINT_OTEPDIS_Pos)
17248#define USB_OTG_DOEPINT_OTEPDIS USB_OTG_DOEPINT_OTEPDIS_Msk
17249#define USB_OTG_DOEPINT_OTEPSPR_Pos (5U)
17250#define USB_OTG_DOEPINT_OTEPSPR_Msk (0x1UL << USB_OTG_DOEPINT_OTEPSPR_Pos)
17251#define USB_OTG_DOEPINT_OTEPSPR USB_OTG_DOEPINT_OTEPSPR_Msk
17252#define USB_OTG_DOEPINT_B2BSTUP_Pos (6U)
17253#define USB_OTG_DOEPINT_B2BSTUP_Msk (0x1UL << USB_OTG_DOEPINT_B2BSTUP_Pos)
17254#define USB_OTG_DOEPINT_B2BSTUP USB_OTG_DOEPINT_B2BSTUP_Msk
17255#define USB_OTG_DOEPINT_OUTPKTERR_Pos (8U)
17256#define USB_OTG_DOEPINT_OUTPKTERR_Msk (0x1UL << USB_OTG_DOEPINT_OUTPKTERR_Pos)
17257#define USB_OTG_DOEPINT_OUTPKTERR USB_OTG_DOEPINT_OUTPKTERR_Msk
17258#define USB_OTG_DOEPINT_NAK_Pos (13U)
17259#define USB_OTG_DOEPINT_NAK_Msk (0x1UL << USB_OTG_DOEPINT_NAK_Pos)
17260#define USB_OTG_DOEPINT_NAK USB_OTG_DOEPINT_NAK_Msk
17261#define USB_OTG_DOEPINT_NYET_Pos (14U)
17262#define USB_OTG_DOEPINT_NYET_Msk (0x1UL << USB_OTG_DOEPINT_NYET_Pos)
17263#define USB_OTG_DOEPINT_NYET USB_OTG_DOEPINT_NYET_Msk
17264#define USB_OTG_DOEPINT_STPKTRX_Pos (15U)
17265#define USB_OTG_DOEPINT_STPKTRX_Msk (0x1UL << USB_OTG_DOEPINT_STPKTRX_Pos)
17266#define USB_OTG_DOEPINT_STPKTRX USB_OTG_DOEPINT_STPKTRX_Msk
17268/******************** Bit definition for USB_OTG_DOEPTSIZ register ********************/
17269#define USB_OTG_DOEPTSIZ_XFRSIZ_Pos (0U)
17270#define USB_OTG_DOEPTSIZ_XFRSIZ_Msk (0x7FFFFUL << USB_OTG_DOEPTSIZ_XFRSIZ_Pos)
17271#define USB_OTG_DOEPTSIZ_XFRSIZ USB_OTG_DOEPTSIZ_XFRSIZ_Msk
17272#define USB_OTG_DOEPTSIZ_PKTCNT_Pos (19U)
17273#define USB_OTG_DOEPTSIZ_PKTCNT_Msk (0x3FFUL << USB_OTG_DOEPTSIZ_PKTCNT_Pos)
17274#define USB_OTG_DOEPTSIZ_PKTCNT USB_OTG_DOEPTSIZ_PKTCNT_Msk
17276#define USB_OTG_DOEPTSIZ_STUPCNT_Pos (29U)
17277#define USB_OTG_DOEPTSIZ_STUPCNT_Msk (0x3UL << USB_OTG_DOEPTSIZ_STUPCNT_Pos)
17278#define USB_OTG_DOEPTSIZ_STUPCNT USB_OTG_DOEPTSIZ_STUPCNT_Msk
17279#define USB_OTG_DOEPTSIZ_STUPCNT_0 (0x1UL << USB_OTG_DOEPTSIZ_STUPCNT_Pos)
17280#define USB_OTG_DOEPTSIZ_STUPCNT_1 (0x2UL << USB_OTG_DOEPTSIZ_STUPCNT_Pos)
17282/******************** Bit definition for PCGCCTL register ********************/
17283#define USB_OTG_PCGCCTL_STOPCLK_Pos (0U)
17284#define USB_OTG_PCGCCTL_STOPCLK_Msk (0x1UL << USB_OTG_PCGCCTL_STOPCLK_Pos)
17285#define USB_OTG_PCGCCTL_STOPCLK USB_OTG_PCGCCTL_STOPCLK_Msk
17286#define USB_OTG_PCGCCTL_GATECLK_Pos (1U)
17287#define USB_OTG_PCGCCTL_GATECLK_Msk (0x1UL << USB_OTG_PCGCCTL_GATECLK_Pos)
17288#define USB_OTG_PCGCCTL_GATECLK USB_OTG_PCGCCTL_GATECLK_Msk
17289#define USB_OTG_PCGCCTL_PHYSUSP_Pos (4U)
17290#define USB_OTG_PCGCCTL_PHYSUSP_Msk (0x1UL << USB_OTG_PCGCCTL_PHYSUSP_Pos)
17291#define USB_OTG_PCGCCTL_PHYSUSP USB_OTG_PCGCCTL_PHYSUSP_Msk
17308/******************************* ADC Instances ********************************/
17309#define IS_ADC_ALL_INSTANCE(__INSTANCE__) (((__INSTANCE__) == ADC1) || \
17310 ((__INSTANCE__) == ADC2) || \
17311 ((__INSTANCE__) == ADC3))
17312#define IS_ADC_MULTIMODE_MASTER_INSTANCE(INSTANCE) ((INSTANCE) == ADC1)
17313
17314#define IS_ADC_COMMON_INSTANCE(INSTANCE) ((INSTANCE) == ADC123_COMMON)
17315
17316/******************************* CAN Instances ********************************/
17317#define IS_CAN_ALL_INSTANCE(__INSTANCE__) (((__INSTANCE__) == CAN1) || \
17318 ((__INSTANCE__) == CAN2))
17319/******************************* CRC Instances ********************************/
17320#define IS_CRC_ALL_INSTANCE(__INSTANCE__) ((__INSTANCE__) == CRC)
17321
17322/******************************* DAC Instances ********************************/
17323#define IS_DAC_ALL_INSTANCE(__INSTANCE__) ((__INSTANCE__) == DAC1)
17324
17325/******************************* DCMI Instances *******************************/
17326#define IS_DCMI_ALL_INSTANCE(__INSTANCE__) ((__INSTANCE__) == DCMI)
17327
17328
17329/******************************* DMA2D Instances *******************************/
17330#define IS_DMA2D_ALL_INSTANCE(__INSTANCE__) ((__INSTANCE__) == DMA2D)
17331
17332/******************************** DMA Instances *******************************/
17333#define IS_DMA_STREAM_ALL_INSTANCE(__INSTANCE__) (((__INSTANCE__) == DMA1_Stream0) || \
17334 ((__INSTANCE__) == DMA1_Stream1) || \
17335 ((__INSTANCE__) == DMA1_Stream2) || \
17336 ((__INSTANCE__) == DMA1_Stream3) || \
17337 ((__INSTANCE__) == DMA1_Stream4) || \
17338 ((__INSTANCE__) == DMA1_Stream5) || \
17339 ((__INSTANCE__) == DMA1_Stream6) || \
17340 ((__INSTANCE__) == DMA1_Stream7) || \
17341 ((__INSTANCE__) == DMA2_Stream0) || \
17342 ((__INSTANCE__) == DMA2_Stream1) || \
17343 ((__INSTANCE__) == DMA2_Stream2) || \
17344 ((__INSTANCE__) == DMA2_Stream3) || \
17345 ((__INSTANCE__) == DMA2_Stream4) || \
17346 ((__INSTANCE__) == DMA2_Stream5) || \
17347 ((__INSTANCE__) == DMA2_Stream6) || \
17348 ((__INSTANCE__) == DMA2_Stream7))
17349
17350/******************************* GPIO Instances *******************************/
17351#define IS_GPIO_ALL_INSTANCE(__INSTANCE__) (((__INSTANCE__) == GPIOA) || \
17352 ((__INSTANCE__) == GPIOB) || \
17353 ((__INSTANCE__) == GPIOC) || \
17354 ((__INSTANCE__) == GPIOD) || \
17355 ((__INSTANCE__) == GPIOE) || \
17356 ((__INSTANCE__) == GPIOF) || \
17357 ((__INSTANCE__) == GPIOG) || \
17358 ((__INSTANCE__) == GPIOH) || \
17359 ((__INSTANCE__) == GPIOI) || \
17360 ((__INSTANCE__) == GPIOJ) || \
17361 ((__INSTANCE__) == GPIOK))
17362
17363#define IS_GPIO_AF_INSTANCE(__INSTANCE__) (((__INSTANCE__) == GPIOA) || \
17364 ((__INSTANCE__) == GPIOB) || \
17365 ((__INSTANCE__) == GPIOC) || \
17366 ((__INSTANCE__) == GPIOD) || \
17367 ((__INSTANCE__) == GPIOE) || \
17368 ((__INSTANCE__) == GPIOF) || \
17369 ((__INSTANCE__) == GPIOG) || \
17370 ((__INSTANCE__) == GPIOH) || \
17371 ((__INSTANCE__) == GPIOI) || \
17372 ((__INSTANCE__) == GPIOJ) || \
17373 ((__INSTANCE__) == GPIOK))
17374
17375/****************************** CEC Instances *********************************/
17376#define IS_CEC_ALL_INSTANCE(__INSTANCE__) ((__INSTANCE__) == CEC)
17377
17378/****************************** QSPI Instances *********************************/
17379#define IS_QSPI_ALL_INSTANCE(__INSTANCE__) ((__INSTANCE__) == QUADSPI)
17380
17381
17382/******************************** I2C Instances *******************************/
17383#define IS_I2C_ALL_INSTANCE(__INSTANCE__) (((__INSTANCE__) == I2C1) || \
17384 ((__INSTANCE__) == I2C2) || \
17385 ((__INSTANCE__) == I2C3) || \
17386 ((__INSTANCE__) == I2C4))
17387
17388/****************************** SMBUS Instances *******************************/
17389#define IS_SMBUS_ALL_INSTANCE(__INSTANCE__) (((__INSTANCE__) == I2C1) || \
17390 ((__INSTANCE__) == I2C2) || \
17391 ((__INSTANCE__) == I2C3) || \
17392 ((__INSTANCE__) == I2C4))
17393
17394
17395/******************************** I2S Instances *******************************/
17396#define IS_I2S_ALL_INSTANCE(__INSTANCE__) (((__INSTANCE__) == SPI1) || \
17397 ((__INSTANCE__) == SPI2) || \
17398 ((__INSTANCE__) == SPI3))
17399
17400/******************************* LPTIM Instances ********************************/
17401#define IS_LPTIM_INSTANCE(__INSTANCE__) ((__INSTANCE__) == LPTIM1)
17402
17403/****************************** LTDC Instances ********************************/
17404#define IS_LTDC_ALL_INSTANCE(__INSTANCE__) ((__INSTANCE__) == LTDC)
17405
17406
17407
17408
17409/******************************* RNG Instances ********************************/
17410#define IS_RNG_ALL_INSTANCE(__INSTANCE__) ((__INSTANCE__) == RNG)
17411
17412/****************************** RTC Instances *********************************/
17413#define IS_RTC_ALL_INSTANCE(__INSTANCE__) ((__INSTANCE__) == RTC)
17414
17415/******************************* SAI Instances ********************************/
17416#define IS_SAI_ALL_INSTANCE(__PERIPH__) (((__PERIPH__) == SAI1_Block_A) || \
17417 ((__PERIPH__) == SAI1_Block_B) || \
17418 ((__PERIPH__) == SAI2_Block_A) || \
17419 ((__PERIPH__) == SAI2_Block_B))
17420/* Legacy define */
17421#define IS_SAI_BLOCK_PERIPH IS_SAI_ALL_INSTANCE
17422
17423/******************************** SDMMC Instances *******************************/
17424#define IS_SDMMC_ALL_INSTANCE(__INSTANCE__) ((__INSTANCE__) == SDMMC1)
17425
17426/****************************** SPDIFRX Instances *********************************/
17427#define IS_SPDIFRX_ALL_INSTANCE(__INSTANCE__) ((__INSTANCE__) == SPDIFRX)
17428
17429/******************************** SPI Instances *******************************/
17430#define IS_SPI_ALL_INSTANCE(__INSTANCE__) (((__INSTANCE__) == SPI1) || \
17431 ((__INSTANCE__) == SPI2) || \
17432 ((__INSTANCE__) == SPI3) || \
17433 ((__INSTANCE__) == SPI4) || \
17434 ((__INSTANCE__) == SPI5) || \
17435 ((__INSTANCE__) == SPI6))
17436
17437/****************** TIM Instances : All supported instances *******************/
17438#define IS_TIM_INSTANCE(__INSTANCE__) (((__INSTANCE__) == TIM1) || \
17439 ((__INSTANCE__) == TIM2) || \
17440 ((__INSTANCE__) == TIM3) || \
17441 ((__INSTANCE__) == TIM4) || \
17442 ((__INSTANCE__) == TIM5) || \
17443 ((__INSTANCE__) == TIM6) || \
17444 ((__INSTANCE__) == TIM7) || \
17445 ((__INSTANCE__) == TIM8) || \
17446 ((__INSTANCE__) == TIM9) || \
17447 ((__INSTANCE__) == TIM10) || \
17448 ((__INSTANCE__) == TIM11) || \
17449 ((__INSTANCE__) == TIM12) || \
17450 ((__INSTANCE__) == TIM13) || \
17451 ((__INSTANCE__) == TIM14))
17452
17453/****************** TIM Instances : supporting 32 bits counter ****************/
17454#define IS_TIM_32B_COUNTER_INSTANCE(__INSTANCE__) (((__INSTANCE__) == TIM2) || \
17455 ((__INSTANCE__) == TIM5))
17456
17457/****************** TIM Instances : supporting the break function *************/
17458#define IS_TIM_BREAK_INSTANCE(INSTANCE) (((INSTANCE) == TIM1) || \
17459 ((INSTANCE) == TIM8))
17460
17461/************** TIM Instances : supporting Break source selection *************/
17462#define IS_TIM_BREAKSOURCE_INSTANCE(INSTANCE) (((INSTANCE) == TIM1) || \
17463 ((INSTANCE) == TIM8))
17464
17465/****************** TIM Instances : supporting 2 break inputs *****************/
17466#define IS_TIM_BKIN2_INSTANCE(INSTANCE) (((INSTANCE) == TIM1) || \
17467 ((INSTANCE) == TIM8))
17468
17469/************* TIM Instances : at least 1 capture/compare channel *************/
17470#define IS_TIM_CC1_INSTANCE(__INSTANCE__) (((__INSTANCE__) == TIM1) || \
17471 ((__INSTANCE__) == TIM2) || \
17472 ((__INSTANCE__) == TIM3) || \
17473 ((__INSTANCE__) == TIM4) || \
17474 ((__INSTANCE__) == TIM5) || \
17475 ((__INSTANCE__) == TIM8) || \
17476 ((__INSTANCE__) == TIM9) || \
17477 ((__INSTANCE__) == TIM10) || \
17478 ((__INSTANCE__) == TIM11) || \
17479 ((__INSTANCE__) == TIM12) || \
17480 ((__INSTANCE__) == TIM13) || \
17481 ((__INSTANCE__) == TIM14))
17482
17483/************ TIM Instances : at least 2 capture/compare channels *************/
17484#define IS_TIM_CC2_INSTANCE(__INSTANCE__) (((__INSTANCE__) == TIM1) || \
17485 ((__INSTANCE__) == TIM2) || \
17486 ((__INSTANCE__) == TIM3) || \
17487 ((__INSTANCE__) == TIM4) || \
17488 ((__INSTANCE__) == TIM5) || \
17489 ((__INSTANCE__) == TIM8) || \
17490 ((__INSTANCE__) == TIM9) || \
17491 ((__INSTANCE__) == TIM12))
17492
17493/************ TIM Instances : at least 3 capture/compare channels *************/
17494#define IS_TIM_CC3_INSTANCE(__INSTANCE__) (((__INSTANCE__) == TIM1) || \
17495 ((__INSTANCE__) == TIM2) || \
17496 ((__INSTANCE__) == TIM3) || \
17497 ((__INSTANCE__) == TIM4) || \
17498 ((__INSTANCE__) == TIM5) || \
17499 ((__INSTANCE__) == TIM8))
17500
17501/************ TIM Instances : at least 4 capture/compare channels *************/
17502#define IS_TIM_CC4_INSTANCE(__INSTANCE__) (((__INSTANCE__) == TIM1) || \
17503 ((__INSTANCE__) == TIM2) || \
17504 ((__INSTANCE__) == TIM3) || \
17505 ((__INSTANCE__) == TIM4) || \
17506 ((__INSTANCE__) == TIM5) || \
17507 ((__INSTANCE__) == TIM8))
17508
17509/****************** TIM Instances : at least 5 capture/compare channels *******/
17510#define IS_TIM_CC5_INSTANCE(__INSTANCE__) (((__INSTANCE__) == TIM1) || \
17511 ((__INSTANCE__) == TIM8))
17512
17513/****************** TIM Instances : at least 6 capture/compare channels *******/
17514#define IS_TIM_CC6_INSTANCE(__INSTANCE__) (((__INSTANCE__) == TIM1) || \
17515 ((__INSTANCE__) == TIM8))
17516
17517/************ TIM Instances : DMA requests generation (TIMx_DIER.COMDE) *******/
17518#define IS_TIM_CCDMA_INSTANCE(__INSTANCE__) (((__INSTANCE__) == TIM1) || \
17519 ((__INSTANCE__) == TIM8))
17520
17521/****************** TIM Instances : DMA requests generation (TIMx_DIER.UDE) ***/
17522#define IS_TIM_DMA_INSTANCE(__INSTANCE__) (((__INSTANCE__) == TIM1) || \
17523 ((__INSTANCE__) == TIM8) || \
17524 ((__INSTANCE__) == TIM2) || \
17525 ((__INSTANCE__) == TIM3) || \
17526 ((__INSTANCE__) == TIM4) || \
17527 ((__INSTANCE__) == TIM5) || \
17528 ((__INSTANCE__) == TIM6) || \
17529 ((__INSTANCE__) == TIM7))
17530
17531/************ TIM Instances : DMA requests generation (CCxDE) *****************/
17532#define IS_TIM_DMA_CC_INSTANCE(__INSTANCE__) (((__INSTANCE__) == TIM1) || \
17533 ((__INSTANCE__) == TIM2) || \
17534 ((__INSTANCE__) == TIM3) || \
17535 ((__INSTANCE__) == TIM4) || \
17536 ((__INSTANCE__) == TIM5) || \
17537 ((__INSTANCE__) == TIM8))
17538
17539/******************** TIM Instances : DMA burst feature ***********************/
17540#define IS_TIM_DMABURST_INSTANCE(__INSTANCE__) (((__INSTANCE__) == TIM1) || \
17541 ((__INSTANCE__) == TIM2) || \
17542 ((__INSTANCE__) == TIM3) || \
17543 ((__INSTANCE__) == TIM4) || \
17544 ((__INSTANCE__) == TIM5) || \
17545 ((__INSTANCE__) == TIM8))
17546
17547/****************** TIM Instances : supporting combined 3-phase PWM mode ******/
17548#define IS_TIM_COMBINED3PHASEPWM_INSTANCE(__INSTANCE__) \
17549 (((__INSTANCE__) == TIM1) || \
17550 ((__INSTANCE__) == TIM8))
17551
17552/****************** TIM Instances : supporting counting mode selection ********/
17553#define IS_TIM_COUNTER_MODE_SELECT_INSTANCE(__INSTANCE__) (((__INSTANCE__) == TIM1) || \
17554 ((__INSTANCE__) == TIM2) || \
17555 ((__INSTANCE__) == TIM3) || \
17556 ((__INSTANCE__) == TIM4) || \
17557 ((__INSTANCE__) == TIM5) || \
17558 ((__INSTANCE__) == TIM8))
17559
17560/****************** TIM Instances : supporting encoder interface **************/
17561#define IS_TIM_ENCODER_INTERFACE_INSTANCE(__INSTANCE__) (((__INSTANCE__) == TIM1) || \
17562 ((__INSTANCE__) == TIM2) || \
17563 ((__INSTANCE__) == TIM3) || \
17564 ((__INSTANCE__) == TIM4) || \
17565 ((__INSTANCE__) == TIM5) || \
17566 ((__INSTANCE__) == TIM8))
17567
17568/****************** TIM Instances : supporting OCxREF clear *******************/
17569#define IS_TIM_OCXREF_CLEAR_INSTANCE(__INSTANCE__)\
17570 (((__INSTANCE__) == TIM2) || \
17571 ((__INSTANCE__) == TIM3) || \
17572 ((__INSTANCE__) == TIM4) || \
17573 ((__INSTANCE__) == TIM5))
17574
17575/****************** TIM Instances : supporting external clock mode 1 for TIX inputs*/
17576#define IS_TIM_CLOCKSOURCE_TIX_INSTANCE(__INSTANCE__)\
17577 (((__INSTANCE__) == TIM1) || \
17578 ((__INSTANCE__) == TIM2) || \
17579 ((__INSTANCE__) == TIM3) || \
17580 ((__INSTANCE__) == TIM4) || \
17581 ((__INSTANCE__) == TIM5) || \
17582 ((__INSTANCE__) == TIM8))
17583
17584/****************** TIM Instances : supporting internal trigger inputs(ITRX) *******/
17585#define IS_TIM_CLOCKSOURCE_ITRX_INSTANCE(__INSTANCE__)\
17586 (((__INSTANCE__) == TIM1) || \
17587 ((__INSTANCE__) == TIM2) || \
17588 ((__INSTANCE__) == TIM3) || \
17589 ((__INSTANCE__) == TIM4) || \
17590 ((__INSTANCE__) == TIM5) || \
17591 ((__INSTANCE__) == TIM8))
17592
17593/******************** TIM Instances : Advanced-control timers *****************/
17594#define IS_TIM_ADVANCED_INSTANCE(__INSTANCE__) (((__INSTANCE__) == TIM1) || \
17595 ((__INSTANCE__) == TIM8))
17596
17597/******************* TIM Instances : Timer input XOR function *****************/
17598#define IS_TIM_XOR_INSTANCE(__INSTANCE__) (((__INSTANCE__) == TIM1) || \
17599 ((__INSTANCE__) == TIM2) || \
17600 ((__INSTANCE__) == TIM3) || \
17601 ((__INSTANCE__) == TIM4) || \
17602 ((__INSTANCE__) == TIM5) || \
17603 ((__INSTANCE__) == TIM8))
17604
17605/****** TIM Instances : master mode available (TIMx_CR2.MMS available )********/
17606#define IS_TIM_MASTER_INSTANCE(__INSTANCE__) (((__INSTANCE__) == TIM1) || \
17607 ((__INSTANCE__) == TIM2) || \
17608 ((__INSTANCE__) == TIM3) || \
17609 ((__INSTANCE__) == TIM4) || \
17610 ((__INSTANCE__) == TIM5) || \
17611 ((__INSTANCE__) == TIM6) || \
17612 ((__INSTANCE__) == TIM7) || \
17613 ((__INSTANCE__) == TIM8))
17614
17615/*********** TIM Instances : Slave mode available (TIMx_SMCR available )*******/
17616#define IS_TIM_SLAVE_INSTANCE(__INSTANCE__) (((__INSTANCE__) == TIM1) || \
17617 ((__INSTANCE__) == TIM2) || \
17618 ((__INSTANCE__) == TIM3) || \
17619 ((__INSTANCE__) == TIM4) || \
17620 ((__INSTANCE__) == TIM5) || \
17621 ((__INSTANCE__) == TIM8) || \
17622 ((__INSTANCE__) == TIM9) || \
17623 ((__INSTANCE__) == TIM12))
17624
17625/***************** TIM Instances : external trigger input available ************/
17626#define IS_TIM_ETR_INSTANCE(__INSTANCE__) (((__INSTANCE__) == TIM1) || \
17627 ((__INSTANCE__) == TIM2) || \
17628 ((__INSTANCE__) == TIM3) || \
17629 ((__INSTANCE__) == TIM4) || \
17630 ((__INSTANCE__) == TIM5) || \
17631 ((__INSTANCE__) == TIM8))
17632
17633/****************** TIM Instances : remapping capability **********************/
17634#define IS_TIM_REMAP_INSTANCE(__INSTANCE__) (((__INSTANCE__) == TIM2) || \
17635 ((__INSTANCE__) == TIM5) || \
17636 ((__INSTANCE__) == TIM11))
17637
17638/******************* TIM Instances : output(s) available **********************/
17639#define IS_TIM_CCX_INSTANCE(__INSTANCE__, __CHANNEL__) \
17640 ((((__INSTANCE__) == TIM1) && \
17641 (((__CHANNEL__) == TIM_CHANNEL_1) || \
17642 ((__CHANNEL__) == TIM_CHANNEL_2) || \
17643 ((__CHANNEL__) == TIM_CHANNEL_3) || \
17644 ((__CHANNEL__) == TIM_CHANNEL_4) || \
17645 ((__CHANNEL__) == TIM_CHANNEL_5) || \
17646 ((__CHANNEL__) == TIM_CHANNEL_6))) \
17647 || \
17648 (((__INSTANCE__) == TIM2) && \
17649 (((__CHANNEL__) == TIM_CHANNEL_1) || \
17650 ((__CHANNEL__) == TIM_CHANNEL_2) || \
17651 ((__CHANNEL__) == TIM_CHANNEL_3) || \
17652 ((__CHANNEL__) == TIM_CHANNEL_4))) \
17653 || \
17654 (((__INSTANCE__) == TIM3) && \
17655 (((__CHANNEL__) == TIM_CHANNEL_1) || \
17656 ((__CHANNEL__) == TIM_CHANNEL_2) || \
17657 ((__CHANNEL__) == TIM_CHANNEL_3) || \
17658 ((__CHANNEL__) == TIM_CHANNEL_4))) \
17659 || \
17660 (((__INSTANCE__) == TIM4) && \
17661 (((__CHANNEL__) == TIM_CHANNEL_1) || \
17662 ((__CHANNEL__) == TIM_CHANNEL_2) || \
17663 ((__CHANNEL__) == TIM_CHANNEL_3) || \
17664 ((__CHANNEL__) == TIM_CHANNEL_4))) \
17665 || \
17666 (((__INSTANCE__) == TIM5) && \
17667 (((__CHANNEL__) == TIM_CHANNEL_1) || \
17668 ((__CHANNEL__) == TIM_CHANNEL_2) || \
17669 ((__CHANNEL__) == TIM_CHANNEL_3) || \
17670 ((__CHANNEL__) == TIM_CHANNEL_4))) \
17671 || \
17672 (((__INSTANCE__) == TIM8) && \
17673 (((__CHANNEL__) == TIM_CHANNEL_1) || \
17674 ((__CHANNEL__) == TIM_CHANNEL_2) || \
17675 ((__CHANNEL__) == TIM_CHANNEL_3) || \
17676 ((__CHANNEL__) == TIM_CHANNEL_4) || \
17677 ((__CHANNEL__) == TIM_CHANNEL_5) || \
17678 ((__CHANNEL__) == TIM_CHANNEL_6))) \
17679 || \
17680 (((__INSTANCE__) == TIM9) && \
17681 (((__CHANNEL__) == TIM_CHANNEL_1) || \
17682 ((__CHANNEL__) == TIM_CHANNEL_2))) \
17683 || \
17684 (((__INSTANCE__) == TIM10) && \
17685 (((__CHANNEL__) == TIM_CHANNEL_1))) \
17686 || \
17687 (((__INSTANCE__) == TIM11) && \
17688 (((__CHANNEL__) == TIM_CHANNEL_1))) \
17689 || \
17690 (((__INSTANCE__) == TIM12) && \
17691 (((__CHANNEL__) == TIM_CHANNEL_1) || \
17692 ((__CHANNEL__) == TIM_CHANNEL_2))) \
17693 || \
17694 (((__INSTANCE__) == TIM13) && \
17695 (((__CHANNEL__) == TIM_CHANNEL_1))) \
17696 || \
17697 (((__INSTANCE__) == TIM14) && \
17698 (((__CHANNEL__) == TIM_CHANNEL_1))))
17699
17700/************ TIM Instances : complementary output(s) available ***************/
17701#define IS_TIM_CCXN_INSTANCE(__INSTANCE__, __CHANNEL__) \
17702 ((((__INSTANCE__) == TIM1) && \
17703 (((__CHANNEL__) == TIM_CHANNEL_1) || \
17704 ((__CHANNEL__) == TIM_CHANNEL_2) || \
17705 ((__CHANNEL__) == TIM_CHANNEL_3))) \
17706 || \
17707 (((__INSTANCE__) == TIM8) && \
17708 (((__CHANNEL__) == TIM_CHANNEL_1) || \
17709 ((__CHANNEL__) == TIM_CHANNEL_2) || \
17710 ((__CHANNEL__) == TIM_CHANNEL_3))))
17711
17712/****************** TIM Instances : supporting ADC triggering through TRGO2 ***/
17713#define IS_TIM_TRGO2_INSTANCE(__INSTANCE__)\
17714 (((__INSTANCE__) == TIM1) || \
17715 ((__INSTANCE__) == TIM8) )
17716
17717/****************** TIM Instances : supporting clock division *****************/
17718#define IS_TIM_CLOCK_DIVISION_INSTANCE(__INSTANCE__) (((__INSTANCE__) == TIM1) || \
17719 ((__INSTANCE__) == TIM2) || \
17720 ((__INSTANCE__) == TIM3) || \
17721 ((__INSTANCE__) == TIM4) || \
17722 ((__INSTANCE__) == TIM5) || \
17723 ((__INSTANCE__) == TIM8) || \
17724 ((__INSTANCE__) == TIM9) || \
17725 ((__INSTANCE__) == TIM10) || \
17726 ((__INSTANCE__) == TIM11) || \
17727 ((__INSTANCE__) == TIM12) || \
17728 ((__INSTANCE__) == TIM13) || \
17729 ((__INSTANCE__) == TIM14))
17730
17731/****************** TIM Instances : supporting repetition counter *************/
17732#define IS_TIM_REPETITION_COUNTER_INSTANCE(__INSTANCE__) (((__INSTANCE__) == TIM1) || \
17733 ((__INSTANCE__) == TIM8))
17734
17735/****** TIM Instances : supporting external clock mode 1 for ETRF input *******/
17736#define IS_TIM_CLOCKSOURCE_ETRMODE1_INSTANCE(__INSTANCE__) (((__INSTANCE__) == TIM1) || \
17737 ((__INSTANCE__) == TIM2) || \
17738 ((__INSTANCE__) == TIM3) || \
17739 ((__INSTANCE__) == TIM4) || \
17740 ((__INSTANCE__) == TIM5) || \
17741 ((__INSTANCE__) == TIM8) || \
17742 ((__INSTANCE__) == TIM9) || \
17743 ((__INSTANCE__) == TIM12))
17744
17745/****** TIM Instances : supporting external clock mode 2 for ETRF input *******/
17746#define IS_TIM_CLOCKSOURCE_ETRMODE2_INSTANCE(__INSTANCE__) (((__INSTANCE__) == TIM1) || \
17747 ((__INSTANCE__) == TIM2) || \
17748 ((__INSTANCE__) == TIM3) || \
17749 ((__INSTANCE__) == TIM4) || \
17750 ((__INSTANCE__) == TIM5) || \
17751 ((__INSTANCE__) == TIM8))
17752
17753/****************** TIM Instances : supporting Hall sensor interface **********/
17754#define IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(__INSTANCE__) (((__INSTANCE__) == TIM1) || \
17755 ((__INSTANCE__) == TIM2) || \
17756 ((__INSTANCE__) == TIM3) || \
17757 ((__INSTANCE__) == TIM4) || \
17758 ((__INSTANCE__) == TIM5) || \
17759 ((__INSTANCE__) == TIM8))
17760
17761/****************** TIM Instances : supporting commutation event generation ***/
17762#define IS_TIM_COMMUTATION_EVENT_INSTANCE(__INSTANCE__) (((__INSTANCE__) == TIM1) || \
17763 ((__INSTANCE__) == TIM8))
17764
17765/******************** USART Instances : Synchronous mode **********************/
17766#define IS_USART_INSTANCE(__INSTANCE__) (((__INSTANCE__) == USART1) || \
17767 ((__INSTANCE__) == USART2) || \
17768 ((__INSTANCE__) == USART3) || \
17769 ((__INSTANCE__) == USART6))
17770
17771/******************** UART Instances : Asynchronous mode **********************/
17772#define IS_UART_INSTANCE(__INSTANCE__) (((__INSTANCE__) == USART1) || \
17773 ((__INSTANCE__) == USART2) || \
17774 ((__INSTANCE__) == USART3) || \
17775 ((__INSTANCE__) == UART4) || \
17776 ((__INSTANCE__) == UART5) || \
17777 ((__INSTANCE__) == USART6) || \
17778 ((__INSTANCE__) == UART7) || \
17779 ((__INSTANCE__) == UART8))
17780
17781/****************** UART Instances : Auto Baud Rate detection ****************/
17782#define IS_USART_AUTOBAUDRATE_DETECTION_INSTANCE(__INSTANCE__) (((__INSTANCE__) == USART1) || \
17783 ((__INSTANCE__) == USART2) || \
17784 ((__INSTANCE__) == USART3) || \
17785 ((__INSTANCE__) == USART6))
17786
17787/****************** UART Instances : Driver Enable *****************/
17788#define IS_UART_DRIVER_ENABLE_INSTANCE(__INSTANCE__) (((__INSTANCE__) == USART1) || \
17789 ((__INSTANCE__) == USART2) || \
17790 ((__INSTANCE__) == USART3) || \
17791 ((__INSTANCE__) == UART4) || \
17792 ((__INSTANCE__) == UART5) || \
17793 ((__INSTANCE__) == USART6) || \
17794 ((__INSTANCE__) == UART7) || \
17795 ((__INSTANCE__) == UART8))
17796
17797/******************** UART Instances : Half-Duplex mode **********************/
17798#define IS_UART_HALFDUPLEX_INSTANCE(__INSTANCE__) (((__INSTANCE__) == USART1) || \
17799 ((__INSTANCE__) == USART2) || \
17800 ((__INSTANCE__) == USART3) || \
17801 ((__INSTANCE__) == UART4) || \
17802 ((__INSTANCE__) == UART5) || \
17803 ((__INSTANCE__) == USART6) || \
17804 ((__INSTANCE__) == UART7) || \
17805 ((__INSTANCE__) == UART8))
17806
17807/****************** UART Instances : Hardware Flow control ********************/
17808#define IS_UART_HWFLOW_INSTANCE(__INSTANCE__) (((__INSTANCE__) == USART1) || \
17809 ((__INSTANCE__) == USART2) || \
17810 ((__INSTANCE__) == USART3) || \
17811 ((__INSTANCE__) == UART4) || \
17812 ((__INSTANCE__) == UART5) || \
17813 ((__INSTANCE__) == USART6) || \
17814 ((__INSTANCE__) == UART7) || \
17815 ((__INSTANCE__) == UART8))
17816
17817/******************** UART Instances : LIN mode **********************/
17818#define IS_UART_LIN_INSTANCE(__INSTANCE__) (((__INSTANCE__) == USART1) || \
17819 ((__INSTANCE__) == USART2) || \
17820 ((__INSTANCE__) == USART3) || \
17821 ((__INSTANCE__) == UART4) || \
17822 ((__INSTANCE__) == UART5) || \
17823 ((__INSTANCE__) == USART6) || \
17824 ((__INSTANCE__) == UART7) || \
17825 ((__INSTANCE__) == UART8))
17826
17827/********************* UART Instances : Smart card mode ***********************/
17828#define IS_SMARTCARD_INSTANCE(__INSTANCE__) (((__INSTANCE__) == USART1) || \
17829 ((__INSTANCE__) == USART2) || \
17830 ((__INSTANCE__) == USART3) || \
17831 ((__INSTANCE__) == USART6))
17832
17833/*********************** UART Instances : IRDA mode ***************************/
17834#define IS_IRDA_INSTANCE(__INSTANCE__) (((__INSTANCE__) == USART1) || \
17835 ((__INSTANCE__) == USART2) || \
17836 ((__INSTANCE__) == USART3) || \
17837 ((__INSTANCE__) == UART4) || \
17838 ((__INSTANCE__) == UART5) || \
17839 ((__INSTANCE__) == USART6) || \
17840 ((__INSTANCE__) == UART7) || \
17841 ((__INSTANCE__) == UART8))
17842
17843/****************************** IWDG Instances ********************************/
17844#define IS_IWDG_ALL_INSTANCE(__INSTANCE__) ((__INSTANCE__) == IWDG)
17845
17846/****************************** WWDG Instances ********************************/
17847#define IS_WWDG_ALL_INSTANCE(__INSTANCE__) ((__INSTANCE__) == WWDG)
17848
17849/*********************** PCD Instances ****************************************/
17850#define IS_PCD_ALL_INSTANCE(INSTANCE) (((INSTANCE) == USB_OTG_FS) || \
17851 ((INSTANCE) == USB_OTG_HS))
17852
17853/*********************** HCD Instances ****************************************/
17854#define IS_HCD_ALL_INSTANCE(INSTANCE) (((INSTANCE) == USB_OTG_FS) || \
17855 ((INSTANCE) == USB_OTG_HS))
17856
17857/******************************************************************************/
17858/* For a painless codes migration between the STM32F7xx device product */
17859/* lines, the aliases defined below are put in place to overcome the */
17860/* differences in the interrupt handlers and IRQn definitions. */
17861/* No need to update developed interrupt code when moving across */
17862/* product lines within the same STM32F7 Family */
17863/******************************************************************************/
17864
17865/* Aliases for __IRQn */
17866#define HASH_RNG_IRQn RNG_IRQn
17867
17868/* Aliases for __IRQHandler */
17869#define HASH_RNG_IRQHandler RNG_IRQHandler
17870
17883#ifdef __cplusplus
17884}
17885#endif /* __cplusplus */
17886
17887#endif /* __STM32F746xx_H */
17888
17889
17890/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
#define __IO
Definition core_cm3.h:170
#define __I
Definition core_cm3.h:167
CMSIS Cortex-M7 Core Peripheral Access Layer Header File.
IRQn_Type
STM32F7xx Interrupt Number Definition, according to the selected device in Library_configuration_sect...
Definition stm32f746xx.h:50
@ PendSV_IRQn
Definition stm32f746xx.h:58
@ ETH_WKUP_IRQn
Definition stm32f746xx.h:123
@ EXTI2_IRQn
Definition stm32f746xx.h:69
@ DMA1_Stream2_IRQn
Definition stm32f746xx.h:74
@ CAN1_SCE_IRQn
Definition stm32f746xx.h:83
@ RTC_WKUP_IRQn
Definition stm32f746xx.h:64
@ SPDIF_RX_IRQn
Definition stm32f746xx.h:157
@ OTG_HS_EP1_IN_IRQn
Definition stm32f746xx.h:136
@ DMA2_Stream0_IRQn
Definition stm32f746xx.h:117
@ DMA2_Stream6_IRQn
Definition stm32f746xx.h:130
@ UART7_IRQn
Definition stm32f746xx.h:142
@ I2C1_ER_IRQn
Definition stm32f746xx.h:93
@ I2C2_EV_IRQn
Definition stm32f746xx.h:94
@ MemoryManagement_IRQn
Definition stm32f746xx.h:53
@ SAI1_IRQn
Definition stm32f746xx.h:147
@ TIM4_IRQn
Definition stm32f746xx.h:91
@ TIM2_IRQn
Definition stm32f746xx.h:89
@ LTDC_ER_IRQn
Definition stm32f746xx.h:149
@ DMA2_Stream7_IRQn
Definition stm32f746xx.h:131
@ TIM8_BRK_TIM12_IRQn
Definition stm32f746xx.h:104
@ USART2_IRQn
Definition stm32f746xx.h:99
@ DMA2_Stream3_IRQn
Definition stm32f746xx.h:120
@ SVCall_IRQn
Definition stm32f746xx.h:56
@ ADC_IRQn
Definition stm32f746xx.h:79
@ SPI3_IRQn
Definition stm32f746xx.h:112
@ SPI2_IRQn
Definition stm32f746xx.h:97
@ TIM7_IRQn
Definition stm32f746xx.h:116
@ UART8_IRQn
Definition stm32f746xx.h:143
@ CAN2_SCE_IRQn
Definition stm32f746xx.h:127
@ RCC_IRQn
Definition stm32f746xx.h:66
@ TIM6_DAC_IRQn
Definition stm32f746xx.h:115
@ OTG_HS_EP1_OUT_IRQn
Definition stm32f746xx.h:135
@ I2C2_ER_IRQn
Definition stm32f746xx.h:95
@ QUADSPI_IRQn
Definition stm32f746xx.h:152
@ TIM8_CC_IRQn
Definition stm32f746xx.h:107
@ UsageFault_IRQn
Definition stm32f746xx.h:55
@ I2C4_ER_IRQn
Definition stm32f746xx.h:156
@ SysTick_IRQn
Definition stm32f746xx.h:59
@ I2C3_ER_IRQn
Definition stm32f746xx.h:134
@ I2C3_EV_IRQn
Definition stm32f746xx.h:133
@ CAN2_RX0_IRQn
Definition stm32f746xx.h:125
@ BusFault_IRQn
Definition stm32f746xx.h:54
@ CEC_IRQn
Definition stm32f746xx.h:154
@ SPI5_IRQn
Definition stm32f746xx.h:145
@ DebugMonitor_IRQn
Definition stm32f746xx.h:57
@ RNG_IRQn
Definition stm32f746xx.h:140
@ FLASH_IRQn
Definition stm32f746xx.h:65
@ DMA2_Stream5_IRQn
Definition stm32f746xx.h:129
@ WWDG_IRQn
Definition stm32f746xx.h:61
@ I2C1_EV_IRQn
Definition stm32f746xx.h:92
@ TIM3_IRQn
Definition stm32f746xx.h:90
@ DMA2_Stream1_IRQn
Definition stm32f746xx.h:118
@ CAN1_TX_IRQn
Definition stm32f746xx.h:80
@ OTG_HS_WKUP_IRQn
Definition stm32f746xx.h:137
@ SDMMC1_IRQn
Definition stm32f746xx.h:110
@ DMA1_Stream0_IRQn
Definition stm32f746xx.h:72
@ EXTI15_10_IRQn
Definition stm32f746xx.h:101
@ SPI4_IRQn
Definition stm32f746xx.h:144
@ TIM1_UP_TIM10_IRQn
Definition stm32f746xx.h:86
@ EXTI9_5_IRQn
Definition stm32f746xx.h:84
@ DMA1_Stream1_IRQn
Definition stm32f746xx.h:73
@ LPTIM1_IRQn
Definition stm32f746xx.h:153
@ SPI6_IRQn
Definition stm32f746xx.h:146
@ OTG_FS_IRQn
Definition stm32f746xx.h:128
@ OTG_FS_WKUP_IRQn
Definition stm32f746xx.h:103
@ FPU_IRQn
Definition stm32f746xx.h:141
@ TIM8_UP_TIM13_IRQn
Definition stm32f746xx.h:105
@ USART6_IRQn
Definition stm32f746xx.h:132
@ SPI1_IRQn
Definition stm32f746xx.h:96
@ OTG_HS_IRQn
Definition stm32f746xx.h:138
@ PVD_IRQn
Definition stm32f746xx.h:62
@ TIM1_TRG_COM_TIM11_IRQn
Definition stm32f746xx.h:87
@ TIM1_BRK_TIM9_IRQn
Definition stm32f746xx.h:85
@ CAN2_RX1_IRQn
Definition stm32f746xx.h:126
@ FMC_IRQn
Definition stm32f746xx.h:109
@ EXTI0_IRQn
Definition stm32f746xx.h:67
@ CAN1_RX0_IRQn
Definition stm32f746xx.h:81
@ EXTI4_IRQn
Definition stm32f746xx.h:71
@ SAI2_IRQn
Definition stm32f746xx.h:151
@ DMA2_Stream2_IRQn
Definition stm32f746xx.h:119
@ TAMP_STAMP_IRQn
Definition stm32f746xx.h:63
@ UART5_IRQn
Definition stm32f746xx.h:114
@ DMA1_Stream5_IRQn
Definition stm32f746xx.h:77
@ DMA2D_IRQn
Definition stm32f746xx.h:150
@ DCMI_IRQn
Definition stm32f746xx.h:139
@ I2C4_EV_IRQn
Definition stm32f746xx.h:155
@ ETH_IRQn
Definition stm32f746xx.h:122
@ USART1_IRQn
Definition stm32f746xx.h:98
@ EXTI3_IRQn
Definition stm32f746xx.h:70
@ NonMaskableInt_IRQn
Definition stm32f746xx.h:52
@ UART4_IRQn
Definition stm32f746xx.h:113
@ TIM8_TRG_COM_TIM14_IRQn
Definition stm32f746xx.h:106
@ EXTI1_IRQn
Definition stm32f746xx.h:68
@ DMA2_Stream4_IRQn
Definition stm32f746xx.h:121
@ TIM5_IRQn
Definition stm32f746xx.h:111
@ DMA1_Stream7_IRQn
Definition stm32f746xx.h:108
@ DMA1_Stream4_IRQn
Definition stm32f746xx.h:76
@ DMA1_Stream6_IRQn
Definition stm32f746xx.h:78
@ TIM1_CC_IRQn
Definition stm32f746xx.h:88
@ LTDC_IRQn
Definition stm32f746xx.h:148
@ CAN2_TX_IRQn
Definition stm32f746xx.h:124
@ CAN1_RX1_IRQn
Definition stm32f746xx.h:82
@ DMA1_Stream3_IRQn
Definition stm32f746xx.h:75
@ USART3_IRQn
Definition stm32f746xx.h:100
@ RTC_Alarm_IRQn
Definition stm32f746xx.h:102
#define PMC
Definition MK60D10.h:8809
Definition stm32f107xc.h:187
Analog to Digital Converter
Definition stm32f107xc.h:163
Controller Area Network FIFOMailBox.
Definition stm32f107xc.h:267
Controller Area Network FilterRegister.
Definition stm32f107xc.h:279
Controller Area Network TxMailBox.
Definition stm32f107xc.h:255
Controller Area Network.
Definition stm32f107xc.h:289
HDMI-CEC.
Definition stm32f745xx.h:287
CRC calculation unit.
Definition stm32f107xc.h:319
Digital to Analog Converter.
Definition stm32f107xc.h:332
Debug MCU.
Definition stm32f107xc.h:353
DCMI.
Definition stm32f207xx.h:325
Definition ff_types.h:208
DMA2D Controller.
Definition stm32f427xx.h:373
DMA Controller.
Definition stm32f207xx.h:344
Definition stm32f107xc.h:371
Ethernet MAC.
Definition stm32f107xc.h:383
External Interrupt/Event Controller.
Definition stm32f107xc.h:455
FLASH Registers.
Definition stm32f107xc.h:469
Flexible Memory Controller Bank1E.
Definition stm32f427xx.h:517
Flexible Memory Controller.
Definition stm32f427xx.h:508
Flexible Memory Controller Bank3.
Definition stm32f469xx.h:611
Flexible Memory Controller Bank5_6.
Definition stm32f427xx.h:560
General Purpose I/O.
Definition stm32f107xc.h:502
Inter Integrated Circuit Interface.
Definition stm32f107xc.h:529
Independent WATCHDOG.
Definition stm32f107xc.h:546
LPTIMIMER.
Definition stm32f745xx.h:892
LCD-TFT Display layer x Controller.
Definition stm32f429xx.h:660
LCD-TFT Display Controller.
Definition stm32f429xx.h:635
Power Control.
Definition stm32f107xc.h:558
QUAD Serial Peripheral Interface.
Definition stm32f469xx.h:909
Reset and Clock Control.
Definition stm32f107xc.h:568
RNG.
Definition stm32f207xx.h:782
Real-Time Clock.
Definition stm32f107xc.h:590
Definition stm32f427xx.h:737
Serial Audio Interface.
Definition stm32f427xx.h:732
SD host Interface.
Definition stm32f745xx.h:794
SPDIF-RX Interface.
Definition stm32f745xx.h:779
Serial Peripheral Interface.
Definition stm32f107xc.h:608
System configuration controller.
Definition stm32f207xx.h:542
TIM Timers.
Definition stm32f107xc.h:624
Universal Synchronous Asynchronous Receiver Transmitter.
Definition stm32f107xc.h:654
__device_Registers
Definition stm32f107xc.h:696
__USB_OTG_Core_register
Definition stm32f107xc.h:670
__Host_Channel_Specific_Registers
Definition stm32f107xc.h:770
__Host_Mode_Register_Structures
Definition stm32f107xc.h:755
__IN_Endpoint-Specific_Register
Definition stm32f107xc.h:724
__OUT_Endpoint-Specific_Registers
Definition stm32f107xc.h:740
Window WATCHDOG.
Definition stm32f107xc.h:785
CMSIS Cortex-M7 Device System Source File for STM32F7xx devices.