10. Reset and clock control (RCC) ..... 493

ST logo
| 10.1 | RCC main features ..... | 493 |
| 10.2 | RCC block diagram ..... | 494 |
| 10.2.1 | RCC pin overview ..... | 495 |
| 10.3 | RCC functional description - reset part ..... | 496 |
| 10.3.1 | Reset overview ..... | 496 |
| 10.3.2 | The power reset ..... | 499 |
| 10.3.3 | Watchdog reset ..... | 500 |
| 10.3.4 | Backup domain reset ..... | 500 |
| 10.3.5 | Coresight debug reset ..... | 502 |
| 10.3.6 | Option bytes loading ..... | 502 |
| 10.3.7 | Per-peripheral reset ..... | 502 |
| 10.3.8 | Reset pulse control (RPCTL) ..... | 502 |
| 10.3.9 | Reset Delay Control (RDCTL) ..... | 504 |
| 10.3.10 | Reset coverage summary ..... | 506 |
| 10.3.11 | Reset source identification ..... | 507 |
| 10.3.12 | Startup, cold/warm reset and wakeup sequences ..... | 510 |
| 10.4 | RCC functional description - clock part ..... | 512 |
| 10.4.1 | Clock naming convention ..... | 514 |
| 10.4.2 | Oscillators description ..... | 514 |
| 10.4.3 | Clock security system (CSS) ..... | 522 |
| 10.4.4 | Clock output generation (MCO1 & MCO2) ..... | 524 |
| 10.4.5 | PLLs description ..... | 524 |
| 10.4.6 | Sub-system clocks ..... | 532 |
| 10.4.7 | Clock generation in Stop and Standby modes ..... | 536 |
| 10.4.8 | Peripheral clock distribution ..... | 543 |
| 10.4.9 | General clock concept overview ..... | 583 |
| 10.4.10 | Peripheral allocation ..... | 583 |
| 10.4.11 | Peripheral clock gating control ..... | 584 |
| 10.4.12 | Processor and interconnect clocks gating ..... | 587 |
| 10.4.13 | Low-power emulation mode ..... | 592 |
| 10.5 | RCC security ..... | 593 |
| 10.6 | RCC interrupts ..... | 598 |
| 10.7 | RCC application information ..... | 600 |
| 10.7.1 | Handling dynamic clock switching ..... | 600 |
| 10.7.2 | PLL programming ..... | 606 |
| 10.7.3 | Configuring the sub-system clocks ..... | 611 |
| 10.7.4 | The clock calibration using TIMx ..... | 613 |
| 10.7.5 | Clock restore sequence examples ..... | 615 |
| 10.8 | RCC registers ..... | 617 |
| 10.8.1 | RCC secure configuration register (RCC_SECCFGR) ..... | 618 |
| 10.8.2 | RCC stop request set register (RCC_MP_SREQSETR) ..... | 621 |
| 10.8.3 | RCC stop request clear register (RCC_MP_SREQCLRR) ..... | 622 |
| 10.8.4 | RCC application reset control register (RCC_MP_AP_RSTCR) ..... | 623 |
| 10.8.5 | RCC application reset status register (RCC_MP_AP_RSTSR) ..... | 624 |
| 10.8.6 | RCC low-power Stop modes delay control register (RCC_PWRLPDLYCR) ..... | 625 |
| 10.8.7 | RCC global reset control set register (RCC_MP_GRSTCSETR) ..... | 626 |
| 10.8.8 | RCC boot ROM reset status clear register (RCC_BR_RSTSCLRR) ..... | 627 |
| 10.8.9 | RCC reset status set register (RCC_MP_RSTSSETR) ..... | 629 |
| 10.8.10 | RCC reset status clear register (RCC_MP_RSTSCLRR) ..... | 631 |
| 10.8.11 | RCC IWDG clock freeze set register (RCC_MP_IWDGFZSETR) .... | 633 |
| 10.8.12 | RCC IWDG clock freeze clear register (RCC_MP_IWDGFZCLRR) ..... | 634 |
| 10.8.13 | RCC clock source interrupt enable register (RCC_MP_CIER) ..... | 635 |
| 10.8.14 | RCC clock source interrupt flag register (RCC_MP_CIFR) ..... | 638 |
| 10.8.15 | RCC backup domain control register (RCC_BDCR) ..... | 641 |
| 10.8.16 | RCC reset duration and LSI control register (RCC_RDLISCR) ..... | 643 |
| 10.8.17 | RCC oscillator clock enable set register (RCC_OCENSETR) ..... | 645 |
| 10.8.18 | RCC oscillator clock enable clear register (RCC_OCENCLRR) .... | 647 |
| 10.8.19 | RCC oscillators and MPU and AXI clock ready register (RCC_OCRDYR) ..... | 649 |
| 10.8.20 | RCC HSI configuration register (RCC_HSICFGR) ..... | 651 |
| 10.8.21 | RCC CSI configuration register (RCC_CSICFGR) ..... | 652 |
| 10.8.22 | RCC MCO1 configuration register (RCC_MCO1CFGR) ..... | 653 |
| 10.8.23 | RCC MCO2 configuration register (RCC_MCO2CFGR) ..... | 654 |
| 10.8.24 | RCC debug configuration register (RCC_DBGCFGR) ..... | 655 |
| 10.8.25 | RCC PLL1 and PLL2 reference clock selection register (RCC_RCK12SELR) ..... | 656 |
| 10.8.26 | RCC PLL3 reference clock selection register (RCC_RCK3SELR) ... | 657 |
| 10.8.27 | RCC PLL4 reference clock selection register (RCC_RCK4SELR) ... | 658 |
| 10.8.28 | RCC PLL1 control register (RCC_PLL1CR) ..... | 659 |
| 10.8.29 | RCC PLL1 configuration register 1 (RCC_PLL1CFGR1) ..... | 661 |
| 10.8.30 | RCC PLL1 configuration register 2 (RCC_PLL1CFGR2) ..... | 662 |
| 10.8.31 | RCC PLL1 fractional register (RCC_PLL1FRACR) . . . . . | 663 |
| 10.8.32 | RCC PLL1 clock spreading generator register (RCC_PLL1CSGR) . . | 664 |
| 10.8.33 | RCC PLL2 control register (RCC_PLL2CR) . . . . . | 665 |
| 10.8.34 | RCC PLL2 configuration register 1 (RCC_PLL2CFGR1) . . . . . | 667 |
| 10.8.35 | RCC PLL2 configuration register 2 (RCC_PLL2CFGR2) . . . . . | 668 |
| 10.8.36 | RCC PLL2 fractional register (RCC_PLL2FRACR) . . . . . | 669 |
| 10.8.37 | RCC PLL2 clock spreading generator register (RCC_PLL2CSGR) . . | 670 |
| 10.8.38 | RCC PLL3 control register (RCC_PLL3CR) . . . . . | 671 |
| 10.8.39 | RCC PLL3 configuration register 1 (RCC_PLL3CFGR1) . . . . . | 673 |
| 10.8.40 | RCC PLL3 configuration register 2 (RCC_PLL3CFGR2) . . . . . | 675 |
| 10.8.41 | RCC PLL3 Fractional register (RCC_PLL3FRACR) . . . . . | 676 |
| 10.8.42 | RCC PLL3 clock spreading generator register (RCC_PLL3CSGR) . . | 677 |
| 10.8.43 | RCC PLL4 control register (RCC_PLL4CR) . . . . . | 678 |
| 10.8.44 | RCC PLL4 configuration register 1 (RCC_PLL4CFGR1) . . . . . | 680 |
| 10.8.45 | RCC PLL4 configuration register 2 (RCC_PLL4CFGR2) . . . . . | 682 |
| 10.8.46 | RCC PLL4 fractional register (RCC_PLL4FRACR) . . . . . | 683 |
| 10.8.47 | RCC PLL4 clock spreading generator register (RCC_PLL4CSGR) . . | 684 |
| 10.8.48 | RCC MPU clock selection register (RCC_MPCKSELR) . . . . . | 685 |
| 10.8.49 | RCC AXI sub-system clock selection register (RCC_ASSCKSELR) . . | 686 |
| 10.8.50 | RCC MLAHB sub-system clock selection register (RCC_MSSCKSELR) . . . . . | 687 |
| 10.8.51 | RCC common peripheral kernel clock selection register (RCC_CPERCKSELR) . . . . . | 688 |
| 10.8.52 | RCC RTC clock division register (RCC_RTCDIVR) . . . . . | 689 |
| 10.8.53 | RCC MPU clock divider register (RCC_MPCKDIVR) . . . . . | 690 |
| 10.8.54 | RCC AXI clock divider register (RCC_AXIDIVR) . . . . . | 691 |
| 10.8.55 | RCC MLAHB clock divider register (RCC_MLAHBIDVR) . . . . . | 692 |
| 10.8.56 | RCC APB1 clock divider register (RCC_APB1DIVR) . . . . . | 693 |
| 10.8.57 | RCC APB2 clock divider register (RCC_APB2DIVR) . . . . . | 694 |
| 10.8.58 | RCC APB3 clock divider register (RCC_APB3DIVR) . . . . . | 695 |
| 10.8.59 | RCC APB4 clock divider register (RCC_APB4DIVR) . . . . . | 696 |
| 10.8.60 | RCC APB5 clock divider register (RCC_APB5DIVR) . . . . . | 697 |
| 10.8.61 | RCC APB6 clock divider register (RCC_APB6DIVR) . . . . . | 698 |
| 10.8.62 | RCC APB1 timers group1 prescaler register (RCC_TIMG1PRER) . . . | 699 |
| 10.8.63 | RCC APB2 timers group2 prescaler register (RCC_TIMG2PRER) . . . | 700 |
| 10.8.64 | RCC APB6 timers group3 prescaler register (RCC_TIMG3PRER) . . . | 701 |
| 10.8.65 | RCC DDR interface control register (RCC_DDRITFCR) . . . . . | 702 |
| 10.8.66 | RCC I2C1 and I2C2 kernel clock selection register (RCC_I2C12CKSELR) . . . . . | 707 |
| 10.8.67 | RCC I2C3, I2C4 and I2C5 kernel clock selection register (RCC_I2C345CKSELR) . . . . . | 708 |
| 10.8.68 | RCC SPI/I2S1 kernel clock selection register (RCC_SPI2S1CKSELR) . . . . . | 709 |
| 10.8.69 | RCC SPI/I2S2 and SPI/I2S3 kernel clock selection register (RCC_SPI2S23CKSELR) . . . . . | 711 |
| 10.8.70 | RCC SPI/I2S4 and SPI5 kernel clock selection register (RCC_SPI45CKSELR) 712 | |
| 10.8.71 | RCC USART1 and USART2 kernel clock selection register (RCC_UART12CKSELR) . . . . . | 713 |
| 10.8.72 | RCC USART3 and UART5 kernel clock selection register (RCC_UART35CKSELR) . . . . . | 714 |
| 10.8.73 | RCC UART4 kernel clock selection register (RCC_UART4CKSELR) . . . . . | 715 |
| 10.8.74 | RCC USART6 kernel clock selection register (RCC_UART6CKSELR) . . . . . | 716 |
| 10.8.75 | RCC UART7 and UART8 kernel clock selection register (RCC_UART78CKSELR) . . . . . | 717 |
| 10.8.76 | RCC LPTIM1 kernel clock selection register (RCC_LPTIM1CKSELR) . . . . . | 718 |
| 10.8.77 | RCC LPTIM2 and LPTIM3 kernel clock selection register (RCC_LPTIM23CKSELR) . . . . . | 719 |
| 10.8.78 | RCC LPTIM4 and LPTIM5 kernel clock selection register (RCC_LPTIM45CKSELR) . . . . . | 720 |
| 10.8.79 | RCC SAI1 kernel clock selection register (RCC_SAI1CKSELR) . . . . . | 721 |
| 10.8.80 | RCC SAI2 kernel clock selection register (RCC_SAI2CKSELR) . . . . . | 722 |
| 10.8.81 | RCC FDCAN kernel clock selection register (RCC_FDCANCKSELR) . . . . . | 723 |
| 10.8.82 | RCC SPDIFRX kernel clock selection register (RCC_SPDIFCKSELR) . . . . . | 724 |
| 10.8.83 | RCC ADC1 and ADC2 kernel clock selection register (RCC_ADC12CKSELR) 725 | |
| 10.8.84 | RCC SDMMC1 and SDMMC2 kernel clock selection register (RCC_SDMMC12CKSELR) . . . . . | 726 |
| 10.8.85 | RCC ETH1 and ETH2 kernel clock selection register (RCC_ETH12CKSELR) 727 | |
| 10.8.86 | RCC USB kernel clock selection register (RCC_USBCKSELR) . . . . . | 729 |
| 10.8.87 | RCC QSPI kernel clock selection register (RCC_QSPICKSELR) . . . . . | 730 |
| 10.8.88 | RCC FMC kernel clock selection register (RCC_FMCCKSELR) . . . . . | 731 |
| 10.8.89 | RCC RNG1 kernel clock selection register (RCC_RNG1CKSELR) . . . . . | 732 |
| 10.8.90 | RCC STGEN clock selection register (RCC_STGENCKSELR) . . . . . | 733 |
| 10.8.91 | RCC DCMIPP kernel clock selection register (RCC_DCMIPPCKSELR) . . . . . | 734 |
| 10.8.92 | RCC SAES kernel clock selection register (RCC_SAESCKSELR) . . . | 735 |
| 10.8.93 | RCC APB1 peripheral reset set register (RCC_APB1RSTSETR) . . . . | 735 |
| 10.8.94 | RCC APB1 peripheral reset clear register (RCC_APB1RSTCLRR) . . | 738 |
| 10.8.95 | RCC APB2 peripheral reset set register (RCC_APB2RSTSETR) . . . . | 741 |
| 10.8.96 | RCC APB2 peripheral reset clear register (RCC_APB2RSTCLRR) . . | 742 |
| 10.8.97 | RCC APB3 peripheral reset set register (RCC_APB3RSTSETR) . . . . | 744 |
| 10.8.98 | RCC APB3 peripheral reset clear register (RCC_APB3RSTCLRR) . . | 746 |
| 10.8.99 | RCC APB4 peripheral reset set register (RCC_APB4RSTSETR) . . . . | 748 |
| 10.8.100 | RCC APB4 peripheral reset clear register (RCC_APB4RSTCLRR) . . | 749 |
| 10.8.101 | RCC APB5 peripheral reset set register (RCC_APB5RSTSETR) . . . . | 751 |
| 10.8.102 | RCC APB5 peripheral reset clear register (RCC_APB5RSTCLRR) . . | 752 |
| 10.8.103 | RCC APB6 peripheral reset set register (RCC_APB6RSTSETR) . . . . | 753 |
| 10.8.104 | RCC APB6 peripheral reset clear register (RCC_APB6RSTCLRR) . . | 756 |
| 10.8.105 | RCC AHB2 peripheral reset set register (RCC_AHB2RSTSETR) . . . . | 759 |
| 10.8.106 | RCC AHB2 peripheral reset clear register (RCC_AHB2RSTCLRR) . . | 761 |
| 10.8.107 | RCC AHB4 peripheral reset set register (RCC_AHB4RSTSETR) . . . . | 763 |
| 10.8.108 | RCC AHB4 peripheral reset clear register (RCC_AHB4RSTCLRR) . . | 765 |
| 10.8.109 | RCC AHB5 peripheral reset set register (RCC_AHB5RSTSETR) . . . . | 767 |
| 10.8.110 | RCC AHB5 peripheral reset clear register (RCC_AHB5RSTCLRR) . . | 769 |
| 10.8.111 | RCC AHB6 peripheral reset set register (RCC_AHB6RSTSETR) . . . . | 771 |
| 10.8.112 | RCC AHB6 peripheral reset clear register (RCC_AHB6RSTCLRR) . . | 774 |
| 10.8.113 | RCC APB1 peripheral enable set register (RCC_MP_APB1ENSETR) . . . . . | 777 |
| 10.8.114 | RCC APB1 peripheral enable clear register (RCC_MP_APB1ENCLRR) . . . . . | 780 |
| 10.8.115 | RCC APB2 peripheral enable set register (RCC_MP_APB2ENSETR) . . . . . | 783 |
| 10.8.116 | RCC APB2 peripheral enable clear register (RCC_MP_APB2ENCLRR) . . . . . | 785 |
| 10.8.117 | RCC APB3 peripheral enable set register (RCC_MP_APB3ENSETR) . . . . . | 787 |
| 10.8.118 | RCC APB3 peripheral enable clear register (RCC_MP_APB3ENCLRR) . . . . . | 788 |
| 10.8.119 | RCC secure APB3 peripheral enable set register (RCC_MP_S_APB3ENSETR) . . . . . | 791 |
| 10.8.120 | RCC secure APB3 peripheral enable clear register (RCC_MP_S_APB3ENCLRR) . . . . . | 792 |
| 10.8.121 | RCC non-secure APB3 peripheral enable set register (RCC_MP_NS_APB3ENSETR) ..... | 793 |
| 10.8.122 | RCC non-secure APB3 peripheral enable clear register (RCC_MP_NS_APB3ENCLRR) ..... | 794 |
| 10.8.123 | RCC APB4 peripheral enable set register (RCC_MP_APB4ENSETR) ..... | 795 |
| 10.8.124 | RCC APB4 peripheral enable clear register (RCC_MP_APB4ENCLRR) ..... | 797 |
| 10.8.125 | RCC secure APB4 peripheral enable set register (RCC_MP_S_APB4ENSETR) ..... | 799 |
| 10.8.126 | RCC secure APB4 peripheral enable clear register (RCC_MP_S_APB4ENCLRR) ..... | 800 |
| 10.8.127 | RCC non-secure APB4 peripheral enable set register (RCC_MP_NS_APB4ENSETR) ..... | 801 |
| 10.8.128 | RCC non-secure APB4 peripheral enable clear register (RCC_MP_NS_APB4ENCLRR) ..... | 802 |
| 10.8.129 | RCC APB5 peripheral enable set register (RCC_MP_APB5ENSETR) ..... | 803 |
| 10.8.130 | RCC APB5 peripheral enable clear register (RCC_MP_APB5ENCLRR) ..... | 805 |
| 10.8.131 | RCC APB6 peripheral enable set register (RCC_MP_APB6ENSETR) ..... | 807 |
| 10.8.132 | RCC APB6 peripheral enable clear register (RCC_MP_APB6ENCLRR) ..... | 810 |
| 10.8.133 | RCC AHB2 peripheral enable set register (RCC_MP_AHB2ENSETR) ..... | 813 |
| 10.8.134 | RCC AHB2 peripheral enable clear register (RCC_MP_AHB2ENCLRR) ..... | 815 |
| 10.8.135 | RCC secure AHB4 peripheral enable set register (RCC_MP_S_AHB4ENSETR) ..... | 817 |
| 10.8.136 | RCC secure AHB4 peripheral enable clear register (RCC_MP_S_AHB4ENCLRR) ..... | 819 |
| 10.8.137 | RCC non-secure AHB4 peripheral enable set register (RCC_MP_NS_AHB4ENSETR) ..... | 821 |
| 10.8.138 | RCC non-secure AHB4 peripheral enable clear register (RCC_MP_NS_AHB4ENCLRR) ..... | 823 |
| 10.8.139 | RCC AHB5 peripheral enable set register (RCC_MP_AHB5ENSETR) ..... | 825 |
| 10.8.140 | RCC AHB5 peripheral enable clear register (RCC_MP_AHB5ENCLRR) ..... | 827 |
| 10.8.141 | RCC AHB6 peripheral enable set register (RCC_MP_AHB6ENSETR) ..... | 829 |
| 10.8.142 | RCC AHB6 peripheral enable clear register (RCC_MP_AHB6ENCLRR) ..... | 833 |
| 10.8.143 | RCC secure AHB6 peripheral enable set register (RCC_MP_S_AHB6ENSETR) ..... | 837 |
| 10.8.144 | RCC secure AHB6 peripheral enable clear register (RCC_MP_S_AHB6ENCLRR) ..... | 838 |
| 10.8.145 | RCC non-secure AHB6 peripheral enable set register (RCC_MP_NS_AHB6ENSETR) ..... | 839 |
| 10.8.146 | RCC non-secure AHB6 peripheral enable clear register (RCC_MP_NS_AHB6ENCLRR) ..... | 840 |
| 10.8.147 | RCC APB1 Sleep clock enable set register (RCC_MP_APB1LPENSETR) ..... | 841 |
| 10.8.148 | RCC APB1 Sleep clock enable clear register (RCC_MP_APB1LPENCLRR) ..... | 844 |
| 10.8.149 | RCC APB2 Sleep clock enable set register (RCC_MP_APB2LPENSETR) ..... | 847 |
| 10.8.150 | RCC APB2 Sleep clock enable clear register (RCC_MP_APB2LPENCLRR) ..... | 849 |
| 10.8.151 | RCC APB3 Sleep clock enable set register (RCC_MP_APB3LPENSETR) ..... | 851 |
| 10.8.152 | RCC APB3 Sleep clock enable clear register (RCC_MP_APB3LPENCLRR) ..... | 852 |
| 10.8.153 | RCC secure APB3 Sleep clock enable set register (RCC_MP_S_APB3LPENSETR) ..... | 854 |
| 10.8.154 | RCC secure APB3 Sleep clock enable clear register (RCC_MP_S_APB3LPENCLRR) ..... | 855 |
| 10.8.155 | RCC non-secure APB3 Sleep clock enable set register (RCC_MP_NS_APB3LPENSETR) ..... | 856 |
| 10.8.156 | RCC non-secure APB3 Sleep clock enable clear register (RCC_MP_NS_APB3LPENCLRR) ..... | 857 |
| 10.8.157 | RCC APB4 Sleep clock enable set register (RCC_MP_APB4LPENSETR) ..... | 858 |
| 10.8.158 | RCC APB4 Sleep clock enable clear register (RCC_MP_APB4LPENCLRR) ..... | 860 |
| 10.8.159 | RCC secure APB4 sleep peripheral enable set register (RCC_MP_S_APB4LPENSETR) ..... | 862 |
| 10.8.160 | RCC secure APB4 sleep peripheral enable clear register (RCC_MP_S_APB4LPENCLRR) ..... | 863 |
| 10.8.161 | RCC non-secure APB4 sleep peripheral enable set register (RCC_MP_NS_APB4LPENSETR) ..... | 864 |
| 10.8.162 | RCC non-secure APB4 sleep peripheral enable clear register (RCC_MP_NS_APB4LPENCLRR) ..... | 865 |
| 10.8.163 | RCC APB5 Sleep clock enable set register (RCC_MP_APB5LPENSETR) ..... | 866 |
| 10.8.164 | RCC APB5 Sleep clock enable clear register (RCC_MP_APB5LPENCLRR) ..... | 869 |
| 10.8.165 | RCC APB6 sleep clock enable set register (RCC_MP_APB6LPENSETR) ..... | 872 |
| 10.8.166 | RCC APB6 sleep clock enable clear register (RCC_MP_APB6LPENCLRR) ..... | 876 |
| 10.8.167 | RCC AHB2 Sleep clock enable set register (RCC_MP_AHB2LPENSETR) ..... | 880 |
| 10.8.168 | RCC AHB2 Sleep clock enable clear register (RCC_MP_AHB2LPENCLRR) ..... | 882 |
| 10.8.169 | RCC secure AHB4 Sleep clock enable set register (RCC_MP_S_AHB4LPENSETR) ..... | 884 |
| 10.8.170 | RCC secure AHB4 Sleep clock enable clear register (RCC_MP_S_AHB4LPENCLRR) ..... | 886 |
| 10.8.171 | RCC non-secure AHB4 Sleep clock enable set register (RCC_MP_NS_AHB4LPENSETR) ..... | 888 |
| 10.8.172 | RCC non-secure AHB4 Sleep clock enable clear register (RCC_MP_NS_AHB4LPENCLRR) ..... | 890 |
| 10.8.173 | RCC AHB5 Sleep clock enable set register (RCC_MP_AHB5LPENSETR) ..... | 892 |
| 10.8.174 | RCC AHB5 Sleep clock enable clear register (RCC_MP_AHB5LPENCLRR) ..... | 894 |
| 10.8.175 | RCC AHB6 Sleep clock enable set register (RCC_MP_AHB6LPENSETR) ..... | 896 |
| 10.8.176 | RCC AHB6 Sleep clock enable clear register (RCC_MP_AHB6LPENCLRR) ..... | 901 |
| 10.8.177 | RCC secure AHB6 Sleep clock enable set register (RCC_MP_S_AHB6LPENSETR) ..... | 906 |
| 10.8.178 | RCC secure AHB6 Sleep clock enable clear register (RCC_MP_S_AHB6LPENCLRR) ..... | 907 |
| 10.8.179 | RCC non-secure AHB6 Sleep clock enable set register (RCC_MP_NS_AHB6LPENSETR) ..... | 908 |
| 10.8.180 | RCC non-secure AHB6 Sleep clock enable clear register (RCC_MP_NS_AHB6LPENCLRR) ..... | 909 |
| 10.8.181 | RCC secure AXI Sleep clock enable set register (RCC_MP_S_AXIMLPENSETR) ..... | 910 |
| 10.8.182 | RCC secure AXI Sleep clock enable clear register (RCC_MP_S_AXIMLPENCLRR) ..... | 911 |
| 10.8.183 | RCC non-secure AXI Sleep clock enable set register (RCC_MP_NS_AXIMLPENSETR) ..... | 912 |
| 10.8.184 | RCC non-secure AXI Sleep clock enable clear register (RCC_MP_NS_AXIMLPENCLRR) ..... | 913 |
| 10.8.185 | RCC MLAHB Sleep clock enable set register (RCC_MP_MLAHBLPENSETTR) ..... | 914 |
| 10.8.186 | RCC MLAHB Sleep clock enable clear register (RCC_MP_MLAHBLPENCLRR) ..... | 915 |
| 10.8.187 | RCC APB3 peripheral secure state register (RCC_APB3SECSR) ... | 916 |
| 10.8.188 | RCC APB4 peripheral secure state register (RCC_APB4SECSR) ... | 916 |
| 10.8.189 | RCC APB5 peripheral secure state register (RCC_APB5SECSR) ... | 917 |
| 10.8.190 | RCC APB6 peripheral secure state register (RCC_APB6SECSR) ... | 919 |
| 10.8.191 | RCC AHB2 peripheral secure state register (RCC_AHB2SECSR) ... | 920 |
| 10.8.192 | RCC AHB5 peripheral secure state register (RCC_AHB5SECSR) ... | 921 |
| 10.8.193 | RCC AHB6 peripheral secure state register (RCC_AHB6SECSR) ... | 923 |
| 10.8.194 | RCC Version register (RCC_VERR) ..... | 925 |
| 10.8.195 | RCC ID register (RCC_IDR) ..... | 925 |
| 10.8.196 | RCC Size ID register (RCC_SIDR) ..... | 925 |
| 10.9 | RCC register map ..... | 926 |
| 11 | General-purpose I/Os (GPIO) ..... | 953 |
| 11.1 | Introduction ..... | 953 |
| 11.2 | GPIO main features ..... | 953 |
| 11.3 | GPIO functional description ..... | 953 |
| 11.3.1 | General-purpose I/O (GPIO) ..... | 955 |
| 11.3.2 | I/O pin alternate function multiplexer and mapping ..... | 956 |
| 11.3.3 | I/O port control registers ..... | 957 |
| 11.3.4 | I/O port data registers ..... | 957 |
| 11.3.5 | I/O data bitwise handling ..... | 957 |
| 11.3.6 | GPIO locking mechanism ..... | 957 |
| 11.3.7 | I/O alternate function input/output ..... | 958 |
| 11.3.8 | External interrupt/wakeup lines ..... | 958 |
| 11.3.9 | Input configuration ..... | 958 |
| 11.3.10 | Output configuration ..... | 959 |
| 11.3.11 | I/O compensation cell ..... | 960 |
| 11.3.12 | High-speed-low-voltage mode ..... | 960 |
| 11.3.13 | Alternate function configuration ..... | 961 |
| 11.3.14 | Analog configuration ..... | 961 |
| 11.3.15 | Using the HSE or LSE oscillator pins as GPIOs ..... | 962 |
| 11.3.16 | Using the GPIO pins in the backup supply domain ..... | 962 |
| 11.3.17 | BOOT/GPIO pin sharing | 962 |
| 11.3.18 | TrustZone security | 963 |
| 11.4 | GPIO registers | 964 |
| 11.4.1 | GPIO port mode register (GPIOx_MODER) (x = A to I) | 964 |
| 11.4.2 | GPIO port output type register (GPIOx_OTYPER) (x = A to I) | 964 |
| 11.4.3 | GPIO port output speed register (GPIOx_OSPEEDR) (x = A to I) | 965 |
| 11.4.4 | GPIO port pull-up/pull-down register (GPIOx_PUPDR) (x = A to I) | 965 |
| 11.4.5 | GPIO port input data register (GPIOx_IDR) (x = A to I) | 966 |
| 11.4.6 | GPIO port output data register (GPIOx_ODR) (x = A to I) | 966 |
| 11.4.7 | GPIO port bit set/reset register (GPIOx_BSRR) (x = A to I) | 966 |
| 11.4.8 | GPIO port configuration lock register (GPIOx_LCKR) (x = A to I) | 967 |
| 11.4.9 | GPIO alternate function low register (GPIOx_AFRL) (x = A to I) | 968 |
| 11.4.10 | GPIO alternate function high register (GPIOx_AFRH) (x = A to I) | 969 |
| 11.4.11 | GPIO port bit reset register (GPIOx_BRR) (x = A to I) | 970 |
| 11.4.12 | GPIO secure configuration register (GPIOx_SECCFGR) (x = A to I) | 970 |
| 11.4.13 | GPIO hardware configuration register 10 (GPIOx_HWCFG10) (x = A to I) | 970 |
| 11.4.14 | GPIO hardware configuration register 9 (GPIOx_HWCFG9) (x = A to I) | 971 |
| 11.4.15 | GPIO hardware configuration register 8 (GPIOx_HWCFG8) (x = A to I) | 972 |
| 11.4.16 | GPIO hardware configuration register 7 (GPIOx_HWCFG7) (x = A to I) | 972 |
| 11.4.17 | GPIO hardware configuration register 6 (GPIOx_HWCFG6) (x = A to I) | 973 |
| 11.4.18 | GPIO hardware configuration register 5 (GPIOx_HWCFG5) (x = A to I) | 973 |
| 11.4.19 | GPIO hardware configuration register 4 (GPIOx_HWCFG4) (x = A to I) | 974 |
| 11.4.20 | GPIO hardware configuration register 3 (GPIOx_HWCFG3) (x = A to I) | 974 |
| 11.4.21 | GPIO hardware configuration register 2 (GPIOx_HWCFG2) (x = A to I) | 974 |
| 11.4.22 | GPIO hardware configuration register 1 (GPIOx_HWCFG1) (x = A to I) | 975 |
| 11.4.23 | GPIO hardware configuration register 0 (GPIOx_HWCFG0) (x = A to I) | 975 |
| 11.4.24 | GPIO version register (GPIOx_VERR) (x = A to I) | 975 |
| 11.4.25 | GPIO identification register (GPIOx_IPIDR) (x = A to I) | 976 |
| 11.4.26 | GPIO size identification register (GPIOx_SIDR) (x = A to I) | 976 |
| 11.4.27 | GPIO register map ..... | 977 |
| 12 | System configuration controller (SYSCFG) ..... | 980 |
| 12.1 | Trustzone security ..... | 980 |
| 12.2 | I/O compensation cell ..... | 980 |
| 12.3 | Ethernet PHY type and clock source selection ..... | 982 |
| 12.4 | Analog switch power supply ..... | 982 |
| 12.5 | High speed low voltage (HSLV) output buffers ..... | 983 |
| 12.6 | SYSCFG registers ..... | 985 |
| 12.6.1 | SYSCFG boot pins control register (SYSCFG_BOOTR) ..... | 985 |
| 12.6.2 | SYSCFG peripheral mode configuration set register (SYSCFG_PMCSETR) ..... | 985 |
| 12.6.3 | SYSCFG peripheral mode configuration clear register (SYSCFG_PMCCLRR) ..... | 988 |
| 12.6.4 | SYSCFG boot control register (SYSCFG_BOOTCR) ..... | 991 |
| 12.6.5 | SYSCFG SRAM3 erase register (SYSCFG_SRAM3ERASER) ..... | 992 |
| 12.6.6 | SYSCFG SRAM3 erase key register (SYSCFG_SRAM3KR) ..... | 992 |
| 12.6.7 | SYSCFG main compensation cell control register (SYSCFG_CMPCR) ..... | 994 |
| 12.6.8 | SYSCFG main compensation cell enable set register (SYSCFG_CMPENSETR) ..... | 996 |
| 12.6.9 | SYSCFG main compensation cell enable clear register (SYSCFG_CMPENCLRR) ..... | 997 |
| 12.6.10 | SYSCFG control timer break register (SYSCFG_CBR) ..... | 998 |
| 12.6.11 | SYSCFG VDDSD1 compensation cell control register (SYSCFG_CMPSD1CR) ..... | 999 |
| 12.6.12 | SYSCFG VDDSD1 compensation cell enable set register (SYSCFG_CMPSD1ENSETR) ..... | 1001 |
| 12.6.13 | SYSCFG VDDSD1 compensation cell enable clear register (SYSCFG_CMPSD1ENCLRR) ..... | 1002 |
| 12.6.14 | SYSCFG VDDSD2 compensation cell control register (SYSCFG_CMPSD2CR) ..... | 1003 |
| 12.6.15 | SYSCFG VDDSD2 compensation cell enable set register (SYSCFG_CMPSD2ENSETR) ..... | 1005 |
| 12.6.16 | SYSCFG VDDSD2 compensation cell enable clear register (SYSCFG_CMPSD2ENCLRR) ..... | 1006 |
| 12.6.17 | SYSCFG high-speed low-voltage enable register x (SYSCFG_HSLVENxR) ..... | 1007 |
| 12.6.18 | SYSCFG identity code register (SYSCFG_IDC) ..... | 1007 |
| 12.6.19 | SYSCFG version register (SYSCFG_VERR) ..... | 1009 |
| 12.6.20 | SYSCFG identification register (SYSCFG_IPIDR) ..... | 1009 |
| 12.6.21 | SYSCFG size identification register (SYSCFG_SIDR) ..... | 1010 |
| 12.6.22 | SYSCFG interface register map ..... | 1011 |
| 13 | Extended TrustZone® protection controller (ETZPC) ..... | 1015 |
| 13.1 | ETZPC introduction ..... | 1015 |
| 13.2 | ETZPC features ..... | 1015 |
| 13.3 | Extended TrustZone architecture and ETZPC ..... | 1015 |
| 13.4 | ETZPC functional description ..... | 1017 |
| 13.5 | STM32MP13xx security architecture ..... | 1017 |
| 13.6 | ETZPC registers ..... | 1023 |
| 13.6.1 | ETZPC ROM secure size definition (ETZPC_TZMA0_SIZE) ..... | 1024 |
| 13.6.2 | ETZPC RAM secure size definition (ETZPC_TZMA1_SIZE) ..... | 1025 |
| 13.6.3 | ETZPC securable peripheral control register x (ETZPC_DECPROTx) ..... | 1026 |
| 13.6.4 | ETZPC decprot lock x register (ETZPC_DECPROT_LOCKx) ..... | 1027 |
| 13.6.5 | ETZPC HW configuration register (ETZPC_HWCFGR) ..... | 1031 |
| 13.6.6 | ETZPC version register (ETZPC_VERR) ..... | 1031 |
| 13.6.7 | ETZPC identification register (ETZPC_IDR) ..... | 1032 |
| 13.6.8 | ETZPC size identification register (ETZPC_SIDR) ..... | 1032 |
| 13.6.9 | ETZPC register map ..... | 1033 |
| 14 | Peripheral interconnect matrix ..... | 1035 |
| 14.1 | Peripheral interconnects ..... | 1035 |
| 14.1.1 | Introduction ..... | 1035 |
| 14.1.2 | Connection overview ..... | 1035 |
| 14.2 | MDMA ..... | 1047 |
| 15 | MDMA controller (MDMA) ..... | 1049 |
| 15.1 | MDMA introduction ..... | 1049 |
| 15.2 | MDMA main features ..... | 1049 |
| 15.3 | MDMA functional description ..... | 1051 |
| 15.3.1 | MDMA block diagram ..... | 1051 |
| 15.3.2 | MDMA internal signals ..... | 1051 |
| 15.3.3 | MDMA overview ..... | 1051 |
| 15.3.4 | MDMA channel ..... | 1053 |
| 15.3.5 | Source, destination and transfer modes ..... | 1053 |
| 15.3.6 | Pointer update ..... | 1053 |
| 15.3.7 | MDMA buffer transfer ..... | 1054 |
| 15.3.8 | Request arbitration ..... | 1055 |
| 15.3.9 | FIFO ..... | 1055 |
| 15.3.10 | Block transfer ..... | 1055 |
| 15.3.11 | Block repeat mode ..... | 1056 |
| 15.3.12 | Linked-list mode ..... | 1056 |
| 15.3.13 | MDMA transfer completion ..... | 1056 |
| 15.3.14 | MDMA transfer suspension ..... | 1056 |
| 15.3.15 | Error management ..... | 1057 |
| 15.4 | MDMA interrupts ..... | 1057 |
| 15.5 | MDMA registers ..... | 1058 |
| 15.5.1 | MDMA global interrupt status register (MDMA_GISR0) ..... | 1058 |
| 15.5.2 | MDMA secure global interrupt status register (MDMA_SGISR0) ... | 1058 |
| 15.5.3 | MDMA channel x interrupt status register (MDMA_CxISR) ..... | 1059 |
| 15.5.4 | MDMA channel x interrupt flag clear register (MDMA_CxIFCR) .... | 1060 |
| 15.5.5 | MDMA channel x error status register (MDMA_CxESR) ..... | 1061 |
| 15.5.6 | MDMA channel x control register (MDMA_CxCR) ..... | 1062 |
| 15.5.7 | MDMA channel x transfer configuration register (MDMA_CxTCR) .. | 1064 |
| 15.5.8 | MDMA channel x block number of data register (MDMA_CxBNDTR) 1067 | |
| 15.5.9 | MDMA channel x source address register (MDMA_CxSAR) ..... | 1068 |
| 15.5.10 | MDMA channel x destination address register (MDMA_CxDAR) ... | 1069 |
| 15.5.11 | MDMA channel x block repeat address update register (MDMA_CxBRUR) ..... | 1069 |
| 15.5.12 | MDMA channel x link address register (MDMA_CxLAR) ..... | 1070 |
| 15.5.13 | MDMA channel x trigger and bus selection register (MDMA_CxTBR) ..... | 1071 |
| 15.5.14 | MDMA channel x mask address register (MDMA_CxMAR) ..... | 1071 |
| 15.5.15 | MDMA channel x mask data register (MDMA_CxMDR) ..... | 1072 |
| 15.5.16 | MDMA register map ..... | 1072 |
| 16 | Direct memory access controller (DMA) ..... | 1074 |
| 16.1 | DMA introduction ..... | 1074 |
| 16.2 | DMA main features ..... | 1074 |
| 16.3 | DMA functional description ..... | 1076 |
| 16.3.1 | DMA block diagram ..... | 1076 |
| 16.3.2 | DMA overview | 1076 |
| 16.3.3 | DMA transactions | 1077 |
| 16.3.4 | DMA request mapping | 1077 |
| 16.3.5 | Arbiter | 1077 |
| 16.3.6 | DMA streams | 1078 |
| 16.3.7 | Source, destination and transfer modes | 1078 |
| 16.3.8 | Pointer incrementation | 1081 |
| 16.3.9 | Circular mode | 1082 |
| 16.3.10 | Double-buffer mode | 1082 |
| 16.3.11 | Programmable data width, packing/unpacking, endianness | 1083 |
| 16.3.12 | Single and burst transfers | 1084 |
| 16.3.13 | FIFO | 1085 |
| 16.3.14 | DMA transfer completion | 1088 |
| 16.3.15 | DMA transfer suspension | 1089 |
| 16.3.16 | Flow controller | 1090 |
| 16.3.17 | Summary of the possible DMA configurations | 1091 |
| 16.3.18 | Stream configuration procedure | 1091 |
| 16.3.19 | Error management | 1092 |
| 16.4 | DMA interrupts | 1093 |
| 16.5 | DMA registers | 1094 |
| 16.5.1 | DMA low interrupt status register (DMA_LISR) | 1094 |
| 16.5.2 | DMA high interrupt status register (DMA_HISR) | 1095 |
| 16.5.3 | DMA low interrupt flag clear register (DMA_LIFCR) | 1095 |
| 16.5.4 | DMA high interrupt flag clear register (DMA_HIFCR) | 1096 |
| 16.5.5 | DMA stream x configuration register (DMA_SxCR) | 1097 |
| 16.5.6 | DMA stream x number of data register (DMA_SxNDTR) | 1100 |
| 16.5.7 | DMA stream x peripheral address register (DMA_SxPAR) | 1100 |
| 16.5.8 | DMA stream x memory 0 address register (DMA_SxM0AR) | 1101 |
| 16.5.9 | DMA stream x memory 1 address register (DMA_SxM1AR) | 1101 |
| 16.5.10 | DMA stream x FIFO control register (DMA_SxFCR) | 1102 |
| 16.5.11 | DMA hardware configuration 2 register (DMA_HWCFG2) | 1103 |
| 16.5.12 | DMA hardware configuration 1 register (DMA_HWCFG1) | 1104 |
| 16.5.13 | DMA version register (DMA_VERR) | 1105 |
| 16.5.14 | DMA identification register (DMA_IPDR) | 1105 |
| 16.5.15 | DMA size identification register (DMA_SIDR) | 1106 |
| 16.5.16 | DMA register map ..... | 1106 |
| 17 | DMA request multiplexer (DMAMUX) ..... | 1111 |
| 17.1 | Introduction ..... | 1111 |
| 17.2 | DMAMUX main features ..... | 1112 |
| 17.3 | DMAMUX implementation ..... | 1112 |
| 17.3.1 | DMAMUX instantiation ..... | 1112 |
| 17.3.2 | DMAMUX1 mapping ..... | 1112 |
| 17.3.3 | DMAMUX2 mapping ..... | 1114 |
| 17.4 | DMAMUX functional description ..... | 1116 |
| 17.4.1 | DMAMUX block diagram ..... | 1116 |
| 17.4.2 | DMAMUX signals ..... | 1117 |
| 17.4.3 | DMAMUX channels ..... | 1117 |
| 17.4.4 | DMAMUX request line multiplexer ..... | 1117 |
| 17.4.5 | DMAMUX request generator ..... | 1120 |
| 17.5 | DMAMUX interrupts ..... | 1121 |
| 17.6 | DMAMUX registers ..... | 1122 |
| 17.6.1 | DMAMUX request line multiplexer channel x configuration register (DMAMUX_CxCR) ..... | 1122 |
| 17.6.2 | DMAMUX request line multiplexer channel x configuration register [alternate] (DMAMUX_CxCR) ..... | 1123 |
| 17.6.3 | DMAMUX request line multiplexer interrupt channel status register (DMAMUX_CSR) ..... | 1124 |
| 17.6.4 | DMAMUX request line multiplexer interrupt clear flag register (DMAMUX_CFR) ..... | 1125 |
| 17.6.5 | DMAMUX request generator channel x configuration register (DMAMUX_RGxCR) ..... | 1125 |
| 17.6.6 | DMAMUX request generator interrupt status register (DMAMUX_RGSR) ..... | 1126 |
| 17.6.7 | DMAMUX request generator interrupt clear flag register (DMAMUX_RGCFR) ..... | 1126 |
| 17.6.8 | DMAMUX size identification register (DMAMUX_SIDR) ..... | 1127 |
| 17.6.9 | DMAMUX IP identification register (DMAMUX_IPIDR) ..... | 1127 |
| 17.6.10 | DMAMUX version register (DMAMUX_VERR) ..... | 1127 |
| 17.6.11 | DMAMUX hardware configuration 1 register (DMAMUX_HWCFGR1) ..... | 1128 |
| 17.6.12 | DMAMUX hardware configuration 2 register (DMAMUX_HWCFGR2) ..... | 1128 |
| 17.6.13 | DMAMUX register map ..... | 1129 |
| 18 | Interrupt list | 1132 |
| 18.1 | GIC Interrupts | 1132 |
| 18.2 | EXTI events | 1137 |
| 19 | Global interrupt controller (GIC) | 1141 |
| 19.1 | Introduction | 1141 |
| 19.2 | GIC main features | 1141 |
| 19.3 | GIC functional description | 1141 |
| 19.4 | Interrupt sources | 1142 |
| 19.4.1 | Software generated interrupts (SGI) | 1142 |
| 19.4.2 | Private peripheral interrupts (PPI) | 1142 |
| 19.4.3 | Shared peripheral interrupts (SPI) | 1143 |
| 19.4.4 | Interrupt priority formats | 1144 |
| 19.5 | GIC distributor (GICD) | 1144 |
| 19.5.1 | GICD control register (GICD_CTLR) | 1144 |
| 19.5.2 | GICD control non-secure access register (GICD_CTLRNS) | 1145 |
| 19.5.3 | GICD interrupt controller type register (GICD_TYPER) | 1145 |
| 19.5.4 | GICD implementer identification register (GICD_IIDR) | 1146 |
| 19.5.5 | GICD interrupt group register x (GICD_IGROUPRx) | 1146 |
| 19.5.6 | GICD interrupt set-enable register (GICD_ISENABLER0) | 1146 |
| 19.5.7 | GICD interrupt set-enable register x (GICD_ISENABLERx) | 1147 |
| 19.5.8 | GICD interrupt clear-enable register (GICD_ICENABLER0) | 1147 |
| 19.5.9 | GICD interrupt clear-enable register x (GICD_ICENABLERx) | 1147 |
| 19.5.10 | GICD interrupt set-pending register x (GICD_ISPENDRx) | 1148 |
| 19.5.11 | GICD interrupt clear-pending register x (GICD_ICPENDRx) | 1148 |
| 19.5.12 | GICD interrupt set-active register x (GICD_ISACTIVERx) | 1148 |
| 19.5.13 | GICD interrupt clear-active register x (GICD_ICACTIVERx) | 1149 |
| 19.5.14 | GICD interrupt priority register x (GICD_IPRIORITYRx) | 1149 |
| 19.5.15 | GICD interrupt processor target register x (GICD_ITARGETSRx) | 1150 |
| 19.5.16 | GICD interrupt processor target register x (GICD_ITARGETSRx) | 1151 |
| 19.5.17 | GICD interrupt configuration register (GICD_ICFGR0) | 1151 |
| 19.5.18 | GICD interrupt configuration register (GICD_ICFGR1) | 1152 |
| 19.5.19 | GICD interrupt configuration register x (GICD_ICFGRx) | 1153 |
| 19.5.20 | GICD private peripheral interrupt status register (GICD_PPISR) | 1154 |
| 19.5.21 | GICD shared peripheral interrupt register x (GICD_SPISRx) | 1155 |
| 19.5.22 | GICD software generated interrupt register (GICD_SGIR) | 1155 |
| 19.5.23 | GICD SGI clear-pending register x (GICD_CPENDSGIRx) . . . . . | 1156 |
| 19.5.24 | GICD SGI set-pending register x (GICD_SPENDSGIRx) . . . . . | 1158 |
| 19.5.25 | GICD peripheral ID4 register (GICD_PIDR4) . . . . . | 1159 |
| 19.5.26 | GICD peripheral ID5 to ID7 register x (GICD_PIDRx) . . . . . | 1159 |
| 19.5.27 | GICD peripheral ID0 register (GICD_PIDR0) . . . . . | 1160 |
| 19.5.28 | GICD peripheral ID1 register (GICD_PIDR1) . . . . . | 1160 |
| 19.5.29 | GICD peripheral ID2 register (GICD_PIDR2) . . . . . | 1160 |
| 19.5.30 | GICD peripheral ID3 register (GICD_PIDR3) . . . . . | 1161 |
| 19.5.31 | GICD component ID0 register (GICD_CIDR0) . . . . . | 1161 |
| 19.5.32 | GICD component ID1 register (GICD_CIDR1) . . . . . | 1161 |
| 19.5.33 | GICD component ID2 register (GICD_CIDR2) . . . . . | 1162 |
| 19.5.34 | GICD component ID3 register (GICD_CIDR3) . . . . . | 1162 |
| 19.5.35 | GICD register map . . . . . | 1162 |
| 19.6 | GIC CPU Interface (GICC) . . . . . | 1166 |
| 19.6.1 | GICC control register (GICC_CTLR) . . . . . | 1166 |
| 19.6.2 | GICC control non-secure access register (GICC_CTLRNS) . . . . . | 1167 |
| 19.6.3 | GICC input priority mask register (GICC_PMR) . . . . . | 1168 |
| 19.6.4 | GICC binary point register (GICC_BPR) . . . . . | 1168 |
| 19.6.5 | GICC binary point non-secure access register (GICC_BPRNS) . . . . . | 1169 |
| 19.6.6 | GICC interrupt acknowledge register (GICC_IAR) . . . . . | 1169 |
| 19.6.7 | GICC end of interrupt register (GICC_EOIR) . . . . . | 1170 |
| 19.6.8 | GICC running priority register (GICC_RPR) . . . . . | 1170 |
| 19.6.9 | GICC highest priority pending interrupt register (GICC_HPPIR) . . . . . | 1171 |
| 19.6.10 | GICC aliased binary point register (GICC_ABPR) . . . . . | 1171 |
| 19.6.11 | GICC aliased interrupt acknowledge register (GICC_AIAR) . . . . . | 1172 |
| 19.6.12 | GICC aliased end of interrupt register (GICC_AEOIR) . . . . . | 1172 |
| 19.6.13 | GICC aliased highest priority pending interrupt register (GICC_AHPPIR) . . . . . | 1173 |
| 19.6.14 | GICC active priority register (GICC_APR0) . . . . . | 1173 |
| 19.6.15 | GICC non-secure active priority register (GICC_NSAPR0) . . . . . | 1174 |
| 19.6.16 | GICC interface identification register (GICC_IIDR) . . . . . | 1174 |
| 19.6.17 | GICC deactivate interrupt register (GICC_DIR) . . . . . | 1174 |
| 19.6.18 | GICC register map . . . . . | 1175 |
| 19.7 | GIC virtual interface control, common (GICH) . . . . . | 1177 |
| 19.7.1 | GICH hypervisor control register (GICH_HCR) . . . . . | 1177 |
| 19.7.2 | GICH VGIC type register (GICH_VTR) . . . . . | 1178 |
| 19.7.3 | GICH virtual machine control register (GICH_VMCR) . . . . . | 1178 |
| 19.7.4 | GICH maintenance interrupt status register (GICH_MISR) . . . . . | 1179 |
| 19.7.5 | GICH end of interrupt status register (GICH_EISR0) . . . . . | 1180 |
| 19.7.6 | GICH empty list status register (GICH_ELSR0) . . . . . | 1180 |
| 19.7.7 | GICH active priority register (GICH_APR0) . . . . . | 1181 |
| 19.7.8 | GICH list register x (GICH_LRx) . . . . . | 1181 |
| 19.7.9 | GICH register map . . . . . | 1182 |
| 19.8 | GIC virtual CPU interface (GICV) . . . . . | 1183 |
| 19.8.1 | GICV virtual machine control register (GICV_CTLR) . . . . . | 1183 |
| 19.8.2 | GICV VM priority mask register (GICV_PMR) . . . . . | 1184 |
| 19.8.3 | GICV VM binary point register (GICV_BPR) . . . . . | 1185 |
| 19.8.4 | GICV VM interrupt acknowledge register (GICV_IAR) . . . . . | 1185 |
| 19.8.5 | GICV VM end of interrupt register (GICV_EOIR) . . . . . | 1185 |
| 19.8.6 | GICV VM running priority register (GICV_RPR) . . . . . | 1186 |
| 19.8.7 | GICV VM highest priority pending interrupt register (GICV_HPPIR) . . . . . | 1186 |
| 19.8.8 | GICV VM aliased binary point register (GICV_ABPR) . . . . . | 1187 |
| 19.8.9 | GICV VM aliased interrupt register (GICV_AIAR) . . . . . | 1187 |
| 19.8.10 | GICV VM aliased end of interrupt register (GICV_AEOIR) . . . . . | 1188 |
| 19.8.11 | GICV VM aliased highest priority pending interrupt register (GICV_AHPPIR) . . . . . | 1188 |
| 19.8.12 | GICV VM active priority register (GICV_APR0) . . . . . | 1189 |
| 19.8.13 | GICV VM CPU interface identification register (GICV_IIDR) . . . . . | 1189 |
| 19.8.14 | GICV VM deactivate interrupt register (GICV_DIR) . . . . . | 1189 |
| 19.8.15 | GICV register map . . . . . | 1190 |
| 20 | Extended interrupt and event controller (EXTI) . . . . . | 1192 |
| 20.1 | EXTI main features . . . . . | 1192 |
| 20.2 | EXTI block diagram . . . . . | 1193 |
| 20.2.1 | EXTI connections between peripherals and CPU . . . . . | 1194 |
| 20.3 | EXTI functional description . . . . . | 1195 |
| 20.3.1 | EXTI configurable event input wakeup . . . . . | 1195 |
| 20.3.2 | EXTI direct event input wakeup . . . . . | 1197 |
| 20.3.3 | EXTI mux selection . . . . . | 1197 |
| 20.4 | EXTI functional behavior . . . . . | 1198 |
| 20.5 | EXTI TrustZone security . . . . . | 1199 |
| 20.6 | EXTI registers . . . . . | 1200 |
| 20.6.1 | EXTI rising trigger selection register (EXTI_RTSR1) . . . . . | 1200 |
| 20.6.2 | EXTI falling trigger selection register (EXTI_FTSR1) . . . . . | 1201 |
| 20.6.3 | EXTI software interrupt event register (EXTI_SWIER1) ..... | 1201 |
| 20.6.4 | EXTI rising edge pending register (EXTI_RPR1) ..... | 1202 |
| 20.6.5 | EXTI falling edge pending register (EXTI_FPR1) ..... | 1202 |
| 20.6.6 | EXTI TrustZone enable register (EXTI_TZENR1) ..... | 1203 |
| 20.6.7 | EXTI rising trigger selection register (EXTI_RTSR2) ..... | 1203 |
| 20.6.8 | EXTI falling trigger selection register (EXTI_FTSR2) ..... | 1204 |
| 20.6.9 | EXTI software interrupt event register (EXTI_SWIER2) ..... | 1204 |
| 20.6.10 | EXTI rising edge pending register (EXTI_RPR2) ..... | 1204 |
| 20.6.11 | EXTI falling edge pending register (EXTI_FPR2) ..... | 1205 |
| 20.6.12 | EXTI TrustZone enable register (EXTI_TZENR2) ..... | 1205 |
| 20.6.13 | EXTI rising trigger selection register (EXTI_RTSR3) ..... | 1206 |
| 20.6.14 | EXTI falling trigger selection register (EXTI_FTSR3) ..... | 1206 |
| 20.6.15 | EXTI software interrupt event register (EXTI_SWIER3) ..... | 1207 |
| 20.6.16 | EXTI rising edge pending register (EXTI_RPR3) ..... | 1207 |
| 20.6.17 | EXTI falling edge pending register (EXTI_FPR3) ..... | 1207 |
| 20.6.18 | EXTI TrustZone enable register (EXTI_TZENR3) ..... | 1208 |
| 20.6.19 | EXTI external interrupt selection register 1 (EXTI_EXTICR1) ..... | 1208 |
| 20.6.20 | EXTI external interrupt selection register 2 (EXTI_EXTICR2) ..... | 1210 |
| 20.6.21 | EXTI external interrupt selection register 3 (EXTI_EXTICR3) ..... | 1212 |
| 20.6.22 | EXTI external interrupt selection register 4 (EXTI_EXTICR4) ..... | 1213 |
| 20.6.23 | EXTI CPU wakeup with interrupt mask register (EXTI_IMR1) ..... | 1215 |
| 20.6.24 | EXTI CPU wakeup with event mask register (EXTI_EMR1) ..... | 1216 |
| 20.6.25 | EXTI CPU wakeup with interrupt mask register (EXTI_IMR2) ..... | 1216 |
| 20.6.26 | EXTI CPU wakeup with event mask register (EXTI_EMR2) ..... | 1217 |
| 20.6.27 | EXTI CPU wakeup with interrupt mask register (EXTI_IMR3) ..... | 1217 |
| 20.6.28 | EXTI CPU wakeup with event mask register (EXTI_EMR3) ..... | 1218 |
| 20.6.29 | EXTI hardware configuration register x (EXTI_HWCFGRx) ..... | 1218 |
| 20.6.30 | EXTI hardware configuration register x (EXTI_HWCFGRx) ..... | 1218 |
| 20.6.31 | EXTI hardware configuration register x (EXTI_HWCFGRx) ..... | 1219 |
| 20.6.32 | EXTI hardware configuration register x (EXTI_HWCFGRx) ..... | 1219 |
| 20.6.33 | EXTI hardware configuration register 1 (EXTI_HWCFGR1) ..... | 1219 |
| 20.6.34 | EXTI IP version register (EXTI_VERR) ..... | 1220 |
| 20.6.35 | EXTI identification register (EXTI_IPIDR) ..... | 1220 |
| 20.6.36 | EXTI size ID register (EXTI_SIDR) ..... | 1221 |
| 20.6.37 | EXTI register map ..... | 1222 |