@@ -12,6 +12,8 @@ _modify:
12
12
name : FDCAN2
13
13
DAC :
14
14
name : DAC1
15
+ OCTOSPI1_CONTROL_REGISTER :
16
+ name : OCTOSPI1
15
17
16
18
# The SVD is just quite different to the RM for all these registers.
17
19
# We'll go with the RM convention even though it is inconsistent too.
@@ -314,6 +316,10 @@ AXI:
314
316
315
317
_delete :
316
318
- DMA2
319
+ - UART4
320
+ - UART5
321
+ - UART7
322
+ - UART8
317
323
- USART9
318
324
- USART10
319
325
@@ -346,16 +352,38 @@ _add:
346
352
DMA2_STR7 :
347
353
value : 70
348
354
description : DMA2 Stream7
349
- UART9 :
355
+ UART4 :
350
356
derivedFrom : USART1
351
- baseAddress : 0x40018000
357
+ baseAddress : 0x40004C00
358
+ interrupts :
359
+ UART4 :
360
+ description : UART4 global interrupt
361
+ value : 52
362
+ UART5 :
363
+ derivedFrom : USART1
364
+ baseAddress : 0x40005000
365
+ interrupts :
366
+ UART5 :
367
+ description : UART5 global interrupt
368
+ value : 53
369
+ UART7 :
370
+ derivedFrom : USART1
371
+ baseAddress : 0x40007800
352
372
interrupts :
353
373
UART7 :
354
374
description : UART7 global interrupt
355
375
value : 82
376
+ UART8 :
377
+ derivedFrom : USART1
378
+ baseAddress : 0x40007C00
379
+ interrupts :
356
380
UART8 :
357
381
description : UART8 global interrupt
358
382
value : 83
383
+ UART9 :
384
+ derivedFrom : USART1
385
+ baseAddress : 0x40018000
386
+ interrupts :
359
387
UART9 :
360
388
description : UART9 global interrupt
361
389
value : 140
@@ -466,96 +494,9 @@ RCC:
466
494
bitOffset : 0
467
495
bitWidth : 1
468
496
469
- CDCCIPR :
470
- _delete :
471
- - " QSPI*"
472
- _add :
473
- OCTOSPISEL :
474
- description : " OCTOSPI kernel clock source selection"
475
- bitOffset : 4
476
- bitWidth : 2
477
- _modify :
478
- CKPERSRC :
479
- name : CKPERSEL
480
- SDMMCSRC :
481
- name : SDMMCSEL
482
- FMCSRC :
483
- name : FMCSEL
484
- CDCCIP1R :
485
- _delete :
486
- - " SAI23*"
487
- _add :
488
- SAI2ASEL :
489
- description : " SAI2 kernel clock source A source selection"
490
- bitOffset : 6
491
- bitWidth : 3
492
- SAI2BSEL :
493
- description : " SAI2 kernel clock source B source selection"
494
- bitOffset : 9
495
- bitWidth : 3
496
- _modify :
497
- SWPSRC :
498
- name : SWPSEL
499
- FDCANSRC :
500
- name : FDCANSEL
501
- DFSDM1SRC :
502
- name : DFSDM1SEL
503
- SPDIFSRC :
504
- name : SPDIFRXSEL
505
- SPI45SRC :
506
- name : SPI45SEL
507
- SPI123SRC :
508
- name : SPI123SEL
509
- SAI1SRC :
510
- name : SAI1SEL
511
- CDCCIP2R :
512
- _modify :
513
- LPTIM1SRC :
514
- name : LPTIM1SEL
515
- CECSRC :
516
- name : CECSEL
517
- USBSRC :
518
- name : USBSEL
519
- I2C123SRC :
520
- name : I2C123SEL
521
- RNGSRC :
522
- name : RNGSEL
523
- USART16SRC :
524
- name : USART16910SEL
525
- description : " USART1, 6, 9 and 10 kernel clock source selection"
526
- USART234578SRC :
527
- name : USART234578SEL
528
- SRDCCIPR :
529
- _delete :
530
- - " SAI4*"
531
- _add :
532
- DFSDM2SEL :
533
- description : " DFSDM2 kernel clock source selection"
534
- bitOffset : 27
535
- bitWidth : 1
536
- _modify :
537
- SPI6SRC :
538
- name : SPI6SEL
539
- ADCSRC :
540
- name : ADCSEL
541
- LPTIM345SRC :
542
- name : LPTIM3SEL # LPTIM3 only
543
- LPTIM2SRC :
544
- name : LPTIM2SEL
545
- I2C4SRC :
546
- name : I2C4SEL
547
- LPUART1SRC :
548
- name : LPUART1SEL
549
-
550
- D3CFGR :
551
- _delete : " *"
552
- _add :
553
- D3PPRE :
554
- description : D3 domain APB4 prescaler
555
- bitOffset : 4
556
- bitWidth : 3
557
-
558
497
CR :
498
+ _clear :
499
+ " *"
559
500
_modify :
560
501
RC48ON :
561
502
name : HSI48ON
@@ -566,12 +507,16 @@ RCC:
566
507
RC48CAL :
567
508
name : HSI48CAL
568
509
CFGR :
510
+ _clear :
511
+ " *"
569
512
_modify :
570
513
MCO1SEL :
571
514
name : MCO1
572
515
MCO2SEL :
573
516
name : MCO2
574
517
CIER :
518
+ _clear :
519
+ " *"
575
520
_modify :
576
521
RC48RDYIE :
577
522
name : HSI48RDYIE
@@ -580,16 +525,23 @@ RCC:
580
525
RC48RDYF :
581
526
name : HSI48RDYF
582
527
CICR :
528
+ _clear :
529
+ " *"
583
530
_modify :
584
531
RC48RDYC :
585
532
name : HSI48RDYC
586
533
BDCR :
534
+ _clear :
535
+ " *"
587
536
_modify :
588
- VSWRST :
589
- name : BDRST
590
537
RTCSRC :
591
538
name : RTCSEL
539
+ CSR :
540
+ _clear :
541
+ " *"
592
542
PLL2DIVR :
543
+ _clear :
544
+ " *"
593
545
_modify :
594
546
DIVR1 :
595
547
name : DIVR2
@@ -599,6 +551,15 @@ RCC:
599
551
name : DIVP2
600
552
DIVN1 :
601
553
name : DIVN2
554
+ " A?B?RSTR,A?B??RSTR " :
555
+ _clear :
556
+ " *RST"
557
+ " A?B?ENR,A?B??ENR,C1_A?B?ENR,C1_A?B??ENR " :
558
+ _clear :
559
+ " *EN"
560
+ " A?B?LPENR,A?B??LPENR,C1_A?B?LPENR,C1_A?B??LPENR " :
561
+ _clear :
562
+ " *LPEN"
602
563
APB1LRSTR :
603
564
_modify :
604
565
USART7RST :
@@ -670,6 +631,27 @@ RCC:
670
631
FLITFLPEN :
671
632
name : FLASHPREN
672
633
description : " Flash interface clock enable during csleep mode"
634
+ RSR :
635
+ _clear :
636
+ " *RSTF"
637
+ PLLCKSELR,PLLCFGR,PLL1DIVR,CDCFGR?,CDCCIPR,CDCCIP?R :
638
+ _clear :
639
+ " *"
640
+ SRDAMR,SRDCCIPR :
641
+ _clear :
642
+ " *"
643
+
644
+
645
+ SYSCFG :
646
+ _modify :
647
+ SYSCFG_BRK_LOCKUPR :
648
+ name : CFGR
649
+ addressOffset : 0x18
650
+ PMCR :
651
+ _delete : # Functionality not available on these parts
652
+ - BOOSTE
653
+ - EPIS
654
+
673
655
674
656
TIM1,TIM8 :
675
657
DMAR :
@@ -752,22 +734,6 @@ PWR:
752
734
- PWR_
753
735
_delete :
754
736
_interrupts : WWDG1_RST # Doesn't exist at all on these parts
755
- CR3 :
756
- # Annoyingly RM0455 names these fields differently to RM0399 whilst
757
- # they have the same function
758
- _add :
759
- SMPSEXTRDY :
760
- description : SMPS step-down converter external supply ready
761
- bitOffset : 16
762
- bitWidth : 1
763
- SMPSLEVEL :
764
- description : Step-down converter voltage output level selection
765
- bitOffset : 4
766
- bitWidth : 2
767
- SMPSEXTHP :
768
- description : Step-down converter forced ON and in High Power MR mode
769
- bitOffset : 3
770
- bitWidth : 1
771
737
772
738
RAMECC :
773
739
_add :
@@ -827,14 +793,53 @@ IWDG:
827
793
_strip :
828
794
- IWDG_
829
795
830
- " USART* " :
796
+ USART2 :
797
+ _add :
798
+ _interrupts :
799
+ USART2 :
800
+ description : USART2 global interrupt
801
+ value : 38
802
+ USART3 :
803
+ _add :
804
+ _interrupts :
805
+ USART3 :
806
+ description : USART3 global interrupt
807
+ value : 39
808
+ USART6 :
809
+ _add :
810
+ _interrupts :
811
+ USART6 :
812
+ description : USART6 global interrupt
813
+ value : 71
814
+
815
+ " USART*,UART* " :
831
816
BRR :
832
817
_modify :
833
818
BRR_4_15 :
834
819
name : BRR4
835
820
BRR_0_3 :
836
821
name : BRR0
837
822
_merge : ["BRR*"]
823
+ CR1 :
824
+ _merge :
825
+ - " DEAT*"
826
+ - " DEDT*"
827
+ CR2 :
828
+ _modify :
829
+ TAINV :
830
+ name : DATAINV
831
+ _merge :
832
+ - " ABRMOD*"
833
+
834
+ " UART* " :
835
+ CR2 :
836
+ _modify :
837
+ ADD0_3 :
838
+ name : ADD0R
839
+ ADD4_7 :
840
+ name : ADD4R
841
+ _merge :
842
+ - " ADD*R"
838
843
839
844
# TIM3, TIM4, TIM12, TIM13, TIM14 are 16-bit, whilst TIM2 is 32-bit
840
845
_copy :
0 commit comments