18. Extended interrupts and event controller (EXTI)

18.1 EXTI introduction

The extended interrupts and event controller (EXTI) manages the individual CPU and system wake-up through configurable and direct event inputs. It provides wake-up requests to the power control and generates an interrupt request to the CPU NVIC and events to the CPU event input. For the CPU, an additional event generation block (EVG) is needed to generate the CPU event signal.

The EXTI wake-up requests allow the system to be woken up from Stop modes.

The interrupt request and event request generation can be used also in Run modes.

The EXTI also includes the EXTI mux IO port selection.

18.2 EXTI main features

The EXTI main features are the following:

The asynchronous event inputs are classified in two groups:

18.3 EXTI block diagram

The EXTI consists of a register block accessed via an AHB interface, the event input trigger block, the masking block and EXTI mux as shown in Figure 96.

The register block contains all the EXTI registers.

The event input trigger block provides event input edge trigger logic.

The masking block provides the event input distribution to the different wake-up, interrupt and event outputs, and their masking.

The EXTI mux provides the IO port selection on to the EXTI event signal.

Figure 96. EXTI block diagram

Figure 96: EXTI block diagram. The diagram shows the internal structure of the EXTI block. On the left, external inputs include AHB interface, hclk, GPIO (IOPort), and Peripherals (Configurable event(y), Wake-up). The EXTI block contains Registers, EXTI mux, Event trigger, Masking, and EVG (Event Generator) with a Pulse block. The AHB interface connects to Registers. hclk connects to EXTI mux. GPIO IOPort connects to EXTI mux. Peripherals' Configurable event(y) connects to Event trigger, and Wake-up connects to Masking. Registers output exti_ilac and exti[15:0] to interconnect. EXTI mux output goes to Event trigger. Event trigger output 'events' goes to Masking. Masking outputs sys_wake-up, c_wake-up, it_exti_per(y), c_evt_exti, and c_evt_rst. sys_wake-up and c_wake-up go to PWR. it_exti_per(y) goes to EVG. c_evt_exti and c_evt_rst go to EVG. EVG's Pulse block outputs c_event to rxev and nvic(x) to CPU. c_fclk connects to EVG. The diagram is labeled MSv62642V1.
Figure 96: EXTI block diagram. The diagram shows the internal structure of the EXTI block. On the left, external inputs include AHB interface, hclk, GPIO (IOPort), and Peripherals (Configurable event(y), Wake-up). The EXTI block contains Registers, EXTI mux, Event trigger, Masking, and EVG (Event Generator) with a Pulse block. The AHB interface connects to Registers. hclk connects to EXTI mux. GPIO IOPort connects to EXTI mux. Peripherals' Configurable event(y) connects to Event trigger, and Wake-up connects to Masking. Registers output exti_ilac and exti[15:0] to interconnect. EXTI mux output goes to Event trigger. Event trigger output 'events' goes to Masking. Masking outputs sys_wake-up, c_wake-up, it_exti_per(y), c_evt_exti, and c_evt_rst. sys_wake-up and c_wake-up go to PWR. it_exti_per(y) goes to EVG. c_evt_exti and c_evt_rst go to EVG. EVG's Pulse block outputs c_event to rxev and nvic(x) to CPU. c_fclk connects to EVG. The diagram is labeled MSv62642V1.

Table 155. EXTI signals

Pin nameI/ODescription
AHB interfaceI/OEXTI register bus interface. When one event is configured to enable security, the AHB interface supports secure accesses.
hclkIAHB bus clock and EXTI system clock
Configurable event(y)IAsynchronous wake-up events from peripherals without an associated interrupt and flag
Direct event(x)ISynchronous and asynchronous wake-up events from peripherals with an associated interrupt and flag
exti_ilacOIllegal access event
IOPort(n)IGPIOs block IO ports[15:0]
exti[15:0]OEXTI GPIO output port to trigger other peripherals
it_exti_per (y)OInterrupts to the CPU associated with configurable event (y)
c_evt_extiOHigh-level sensitive event output for CPU, synchronous to hclk
c_evt_rstIAsynchronous reset input to clear c_evt_exti
sys_wakeupOAsynchronous system wake-up request to PWR for ck_sys and hclk
c_wakeupOWake-up request to PWR for CPU, synchronous to hclk

Table 156. EVG signals

Pin nameI/ODescription
c_fclkICPU free running clock
c_evt_inIHigh-level sensitive events input from EXTI, asynchronous to CPU clock
c_eventOEvent pulse, synchronous to CPU clock
c_evt_rstOEvent reset signal, synchronous to CPU clock

18.3.1 EXTI connections between peripherals and CPU

Some peripherals able to generate wake-up or interrupt events when the system is in Stop mode, are connected to the EXTI.

All GPIO ports input to the EXTI multiplexer allow the selection of a port pin to wake up the system via a configurable event.

The EXTI configurable event interrupts are connected to the NVIC.

The dedicated EXTI/EVG CPU event is connected to the CPU rxev input.

The EXTI CPU wake-up signals are connected to the PWR and are used to wake up the system and the CPU sub-system bus clocks.

18.3.2 EXTI interrupt/event mapping

The EXTI lines are connected as shown in the following table.

Table 157. EXTI line connections

EXTI LineLine sourceLine type
0-15GPIOConfigurable
16PVD/AVD outputConfigurable
17RTC nonsecure-
18RTC secure-
19TAMP nonsecure-
20TAMP secure-
21I2C1 wake-up-
22I2C2 wake-up-
23I2C3 wake-up-
24I3C1 wake-up-

Table 157. EXTI line connections (continued)

EXTI LineLine sourceLine type
25USART1 wake-up-
26USART2 wake-up-
27USART3 wake-up-
28UART4 wake-up-
29UART5 wake-up-
30USART6 wake-up-
31UART7 wake-up(1)-
32UART8 wake-up(1)-
33UART9 wake-up(2)-
34USART10 wake-up(2)-
35USART11 wake-up(2)-
36UART12 wake-up(2)-
37LPUART1 wake-up-
38LPTIM1-
39LPTIM2-
40SPI1 wake-up-
41SPI2 wake-up-
42SPI3 wake-up-
43SPI4 wake-up-
44SPI5 wake-up(2)-
45SPI6 wake-up(2)-
46ETH wake-up(1)Configurable
47USB FS wake-up-
48UCPD1 wake-up-
49LPTIM2 CH1Configurable(4)
50DTS wake-upConfigurable
51HDMI-CEC wake-up-
52I2C4 wake-up(2)-
53UVM outputConfigurable
54LPTIM3(2)-
55LPTIM4(2)-
56LPTIM5(2)-
57LPTIM6(2)-
58I3C2(3)/COMP1 output(4)-/Configurable(4)
59COMP2 output(4)Configurable

Table 157. EXTI line connections (continued)

EXTI LineLine sourceLine type
60Reserved-
61I3C2 wake-up(4)-
62Reserved-
63Reserved-
64play_out14(4)Configurable
65IWDG(4)-
66VDDIO2 Voltage monitor(4)Configurable
  1. 1. Not available on STM32H523/33xx devices.
  2. 2. Not available on STM32H523/33/43/53xx devices.
  3. 3. Available only on STM32H523/33xx devices.
  4. 4. Available only on STM32H543/553xx devices.

18.4 EXTI functional description

The events features are controlled from register bits as follows:

18.4.1 EXTI configurable event input wake-up

The figure below is a detailed representation of the logic associated with configurable event inputs that wake up the CPU sub-system bus clocks and generate an EXTI pending flag and interrupt to the CPU, and/or a CPU wake-up event.

Figure 97. Configurable event trigger logic CPU wake-up

Figure 97. Configurable event trigger logic CPU wake-up block diagram showing the EXTI configurable event input logic, register interface, asynchronous edge detection, delay, rising edge detect pulse generator, and EVG.
Figure 97. Configurable event trigger logic CPU wake-up block diagram showing the EXTI configurable event input logic, register interface, asynchronous edge detection, delay, rising edge detect pulse generator, and EVG.
  1. 1. Only for the input events that support CPU rxev generation c_event.

The software interrupt event register allows configurable events to be triggered by software, writing the corresponding register bit, whatever the edge selection setting.

The configurable event active trigger edge (or both edges) is selected and enabled in the rising/falling edge selection registers.

The CPU has its dedicated wake-up (interrupt) mask register and a dedicated event mask registers. When the event is enabled, it is generated to the CPU. All events for the CPU are ORed together into a single CPU event signal. The event pending registers (EXTI_RPR and EXTI_FPR) are not set for an unmasked CPU event.

The configurable events have unique interrupt pending request registers. The pending register is only set for an unmasked interrupt. Each configurable event provides a common interrupt to the CPU. The configurable event interrupts must be acknowledged by software in the EXTI_RPR and/or EXTI_FPR registers.

When a CPU wake-up (interrupt) or CPU event is enabled, the asynchronous edge detection circuit is reset by the clocked delay and rising edge detect pulse generator. This guarantees that the EXTI hclk clock is woken up before the asynchronous edge detection circuit is reset.

Note: A detected configurable event interrupt pending request can be cleared by the CPU with the correct access permission. The system is not able to enter into low-power modes as long as an interrupt pending request is active.

18.4.2 EXTI direct event input wake-up

The direct events do not have an associated EXTI interrupt. The EXTI only wakes up the system and CPU subsystem clocks, and can generate a CPU wake-up event. The peripheral synchronous interrupt, associated with the direct wake-up event, wakes up the CPU.

The EXTI direct event is able to generate a CPU event that wakes up the CPU. The CPU event may occur before the associated peripheral interrupt flag is set.

Figure 98. EXTI direct events

Block diagram of EXTI direct events showing the internal logic for generating CPU events and wake-ups from direct inputs.

This block diagram illustrates the internal logic of the EXTI for direct events. It shows the AHB interface and hclk entering the EXTI block. A direct event input(y) is processed through a delay and an asynchronous rising edge detection circuit. The output of this circuit, along with a falling edge detect pulse generator, feeds into a series of logic gates (AND, OR) that interact with the CPU event mask register and CPU interrupt mask register. The resulting CPU event(y) and other CPU wake-ups are then processed by a rising edge detect circuit and a synchronizer (Synch) to produce c_evt_exti and sys_wakeup signals. An EVG (Event Generator) block is also shown, which takes c_evt_exti and produces c_event. The diagram is labeled MSv70446V1.

Block diagram of EXTI direct events showing the internal logic for generating CPU events and wake-ups from direct inputs.

18.4.3 EXTI mux selection

The EXTI mux allows the selection of GPIOs as interrupts and wake-up. GPIOs are connected via 16 EXTI mux lines to the first 16 EXTI events as configurable event. The selection of GPIO port as EXTI mux output is controlled in EXTI rising trigger selection register 3 (EXTI_RTSR3).

Figure 99. EXTI mux GPIO selection

Diagram showing the mapping of EXTI mux lines to specific GPIO pins (PAx to Pxx) for events EXTI0 through EXTI15.

This diagram shows the mapping of EXTI mux lines to specific GPIO pins. It illustrates three multiplexers corresponding to EXTI_EXTICR1.EXTI0, EXTI_EXTICR1.EXTI1, and EXTI_EXTICR1.EXTI15. For EXTI0, the inputs are PA0, PB0, PC0, ..., Px0 leading to output EXTI0. For EXTI1, the inputs are PA1, PB1, PC1, ..., Px1 leading to output EXTI1. For EXTI15, the inputs are PA15, PB15, PC15, ..., Px15 leading to output EXTI15. The diagram is labeled MS44726V1.

Diagram showing the mapping of EXTI mux lines to specific GPIO pins (PAx to Pxx) for events EXTI0 through EXTI15.

The EXTI mux outputs are available as output signals from the EXTI to trigger other peripherals, whatever the masking in EXTI_IMR and EXTI_EMR registers.

18.5 EXTI functional behavior

The configurable events are enabled by enabling at least one of the trigger edges.

Once an event input is enabled, the CPU wake-up generation is conditioned by the CPU interrupt mask and CPU event mask.

Table 158. Masking functionality
CPU interrupt enable (in EXTI_IMR.IMn)CPU event enable (in EXTI_EMR.EMn)Configurable event inputs (in EXTI_RPR.RPIFn and EXTI_FPR.FPIFn)Exti(n) interrupt(1)CPU eventCPU wake-up
00NoMaskedMaskedMasked
1NoMaskedYesYes
10Status latchedYesMaskedYes(2)
1Status latchedYesYesYes
  1. 1. The single exti(n) interrupt goes to the CPU. If no interrupt is required for CPU(m), the exti(n) interrupt must be masked in the CPU NVIC.
  2. 2. Only if CPU interrupt is enabled in EXTI_IMR.IMn.

For configurable event inputs, when the enabled edges occur on the event input, an event request is generated. When the associated CPU interrupt is unmasked, the corresponding pending bits EXTI_RPR.RPIFn and/or EXTI_FPR.FPIFn is/are set: the CPU sub-system is woken up and the CPU interrupt signal is activated. The EXTI_RPR.RPIFn and/or EXTI_FPR.FPIFn pending bits must be cleared by software writing it to 1. This action clears the CPU interrupt.

For the configurable event inputs, an event request can be generated by software when writing a 1 in the software interrupt/event register EXTI_SWIER, allowing the generation of a rising edge on the event. The rising edge event pending bit is set in EXTI_RPR, whatever the setting in EXTI_RTSR.

18.6 EXTI event protection

The EXTI is able to protect event register bits from being modified by nonsecure and unprivileged accesses. The protection is individually activated per input event via the register bits in EXTI_SECCFGR and EXTI_PRIVCFGR. At EXTI level, the protection consists in preventing the following unauthorized write access:

Table 159. Register protection overview
Register nameAccess typeProtection(1)(2)
EXTI_RTSRRWSecurity and privilege can be bit-wise enabled in EXTI_SECCFGR and EXTI_PRIVCFGR.
EXTI_FTSRRW
EXTI_SWIERRW
EXTI_RPRRW
EXTI_FPRRW
Table 159. Register protection overview
Register nameAccess typeProtection(1)(2)
EXTI_SECCFGRRWAlways secure. Privilege can be bit-wise enabled in EXTI_PRIVCFGR.
EXTI_PRIVCFGRRWAlways privilege. Security can be bit-wise enabled in EXTI_SECCFGR.
EXTI_EXTICRnRWSecurity and privilege can be bit-wise enabled in EXTI_SECCFGR and EXTI_PRIVCFGR.
EXTI_LOCKRRWAlways secure
EXTI_IMRWSecurity and privilege can be bit-wise enabled in EXTI_SECCFGR and EXTI_PRIVCFGR.
EXTI_EMRRW

1. Security is enabled with the individual input event (EXTI_SECCFGR register).

2. Privilege is enabled with the individual Input event (EXTI_PRIVCFGR register).

18.6.1 EXTI security protection

When security is enabled for an input event, the associated input event configuration and control bits can only be modified and read by a secure access. A nonsecure write access is discarded and a read returns 0.

When input events are nonsecure, the security is disabled. The associated input event configuration and control bits can be modified and read by a secure access and nonsecure access.

The security configuration in registers EXTI_SECCFGR can be globally locked after reset by EXTI_LOCKR.LOCK.

18.6.2 EXTI privilege protection

When privilege is enabled for an input event, the associated input event configuration and control bits can only be modified and read by a privileged access. An unprivileged write access is discarded and a read returns 0.

When input events are unprivileged, the privilege is disabled. The associated input event configuration and control bits can be modified and read by a privileged access and unprivileged access.

The privileged configuration in registers EXTI_PRIVCFGR can be globally locked after reset by EXTI_LOCKR.LOCK.

18.7 EXTI registers

Table 160. EXTI register map sections

Address offsetDescription
0x000 - 0x01CGeneral configurable event [31:0] configuration
0x020 - 0x03CGeneral configurable event [64:32] configuration
0x040 - 0x05CGeneral configurable event [95:64] configuration
0x060 - 0x06CEXTI IO port mux selection
0x070EXTI protection lock configuration
0x080 - 0x0BCCPU input event configuration

All registers can be accessed with word (32-bit), half-word (16-bit) and byte (8-bit) access.

18.7.1 EXTI rising trigger selection register (EXTI_RTSR1)

Address offset: 0x000

Reset value: 0x0000 0000

Contains only register bits for configurable events.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RT16
rw
1514131211109876543210
RT15RT14RT13RT12RT11RT10RT9RT8RT7RT6RT5RT4RT3RT2RT1RT0
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:17 Reserved, must be kept at reset value.

Bits 16:0 RTx: Rising trigger event configuration bit of configurable event input x(1) (x = 16 to 0)

When EXTI_SECCFGR.SECx is disabled, RTx can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, RTx can be accessed only with secure access. Nonsecure write to this bit x is discarded and nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, RTx can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, RTx can be accessed only with privileged access. Unprivileged write to this bit x is discarded, unprivileged read returns 0.

0: Rising trigger disabled (for event and interrupt) for input line

1: Rising trigger enabled (for event and interrupt) for input line

  1. The configurable event inputs are edge triggered, no glitch must be generated on these inputs. If a rising edge on the configurable event input occurs during writing of the register, the associated pending bit is not set. Rising and falling edge triggers can be set for the same configurable event input. In this case, both edges generate a trigger.

18.7.2 EXTI falling trigger selection register (EXTI_FTSR1)

Address offset: 0x004

Reset value: 0x0000 0000

Contains only register bits for configurable events.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FT16
rw
1514131211109876543210
FT15FT14FT13FT12FT11FT10FT9FT8FT7FT6FT5FT4FT3FT2FT1FT0
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:17 Reserved, must be kept at reset value.

Bits 16:0 FTx: Falling trigger event configuration bit of configurable event input x (1) (x = 16 to 0)

When EXTI_SECCFGR.SECx is disabled, FTx can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, FTx can be accessed only with secure access. Nonsecure write to this FTx is discarded, nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, FTx can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, FTx can be accessed only with privileged access. Unprivileged write to this FTx is discarded, unprivileged read returns 0.

0: Falling trigger disabled (for event and Interrupt) for input line

1: Falling trigger enabled (for event and Interrupt) for input line.

  1. The configurable event inputs are edge triggered, no glitch must be generated on these inputs. If a falling edge on the configurable event input occurs during writing of the register, the associated pending bit is not set. Rising and falling edge triggers can be set for the same configurable event input. In this case, both edges generate a trigger.

18.7.3 EXTI software interrupt event register (EXTI_SWIER1)

Address offset: 0x008

Reset value: 0x0000 0000

Contains only register bits for configurable events.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SWI16
rw
1514131211109876543210
SWI15SWI14SWI13SWI12SWI11SWI10SWI9SWI8SWI7SWI6SWI5SWI4SWI3SWI2SWI1SWI0
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:17 Reserved, must be kept at reset value.

Bits 16:0 SWIx: Software interrupt on event x (x = 16 to 0)

When EXTI_SECCFGR.SECx is disabled, SWIx can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, SWIx can be accessed only with secure access. Nonsecure write to this SWIx is discarded, nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, SWIx can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, SWIx can be accessed only with privileged access. Unprivileged write to this SWIx is discarded, unprivileged read returns 0.

A software interrupt is generated independent from the setting in EXTI_RTSR and EXTI_FTSR. It always returns 0 when read.

0: Writing 0 has no effect.

1: Writing 1 triggers a rising edge event on event x. This bit is auto cleared by hardware.

18.7.4 EXTI rising edge pending register (EXTI_RPR1)

Address offset: 0x00C

Reset value: 0x0000 0000

Contains only register bits for configurable events.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RPIF16
rw
1514131211109876543210
RPIF15RPIF14RPIF13RPIF12RPIF11RPIF10RPIF9RPIF8RPIF7RPIF6RPIF5RPIF4RPIF3RPIF2RPIF1RPIF0
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:17 Reserved, must be kept at reset value.

Bits 16:0 RPIFx: configurable event inputs x rising edge pending bit (x = 16 to 0)

When EXTI_SECCFGR.SECx is disabled, RPIFx can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, RPIFx can be accessed only with secure access. Nonsecure write to this RPIFx is discarded, nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, RPIFx can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, RPIFx can be accessed only with privileged access. Unprivileged write to this RPIFx is discarded, unprivileged read returns 0.

0: No rising edge trigger request occurred

1: Rising edge trigger request occurred

This bit is set when the rising edge event or an EXTI_SWIER software trigger arrives on the configurable event line. This bit is cleared by writing 1 to it.

18.7.5 EXTI falling edge pending register (EXTI_FPR1)

Address offset: 0x010

Reset value: 0x0000 0000

Contains only register bits for configurable events.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FPIF16
rw
1514131211109876543210
FPIF15FPIF14FPIF13FPIF12FPIF11FPIF10FPIF9FPIF8FPIF7FPIF6FPIF5FPIF4FPIF3FPIF2FPIF1FPIF0
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:17 Reserved, must be kept at reset value.

Bits 16:0 FPIFx: configurable event inputs x falling edge pending bit (x = 16 to 0)

When EXTI_SECCFGR.SECx is disabled, FPIFx can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, FPIFx can be accessed only with secure access. Nonsecure write to this FPIFx is discarded, nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, FPIFx can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, FPIFx can be accessed only with privileged access. Unprivileged write to this FPIFx is discarded, unprivileged read returns 0.

0: No falling edge trigger request occurred

1: Falling edge trigger request occurred

This bit is set when the falling edge event arrives on the configurable event line. This bit is cleared by writing 1 to it.

18.7.6 EXTI security configuration register (EXTI_SECCFGR1)

Address offset: 0x014

Reset value: 0x0000 0000

This register provides write access security, a nonsecure write access is ignored and causes the generation of an illegal access event. A nonsecure read returns the register data.

Contains only register bits for security capable input events.

31302928272625242322212019181716
SEC31SEC30SEC29SEC28SEC27SEC26SEC25SEC24SEC23SEC22SEC21SEC20SEC19SEC18SEC17SEC16
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
SEC15SEC14SEC13SEC12SEC11SEC10SEC9SEC8SEC7SEC6SEC5SEC4SEC3SEC2SEC1SEC0
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:0 SECx: Security enable on event input x (x = 31 to 0)

When EXTI_PRIVCFGR.PRIVx is disabled, SECx can be accessed with privileged and unprivileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, SECx can only be written with privileged access. Unprivileged write to this SECx is discarded.

0: Event security disabled (nonsecure)

1: Event security enabled (secure)

18.7.7 EXTI privilege configuration register (EXTI_PRIVCFGR1)

Address offset: 0x018

Reset value: 0x0000 0000

This register provides privileged write access protection. An unprivileged read returns the register data.

Contains only register bits for privilege capable input events.

31302928272625242322212019181716
PRIV31PRIV30PRIV29PRIV28PRIV27PRIV26PRIV25PRIV24PRIV23PRIV22PRIV21PRIV20PRIV19PRIV18PRIV17PRIV16
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
PRIV15PRIV14PRIV13PRIV12PRIV11PRIV10PRIV9PRIV8PRIV7PRIV6PRIV5PRIV4PRIV3PRIV2PRIV1PRIV0
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:0 PRIVx: Security enable on event input x (x = 31 to 0)

When EXTI_SECCFGR.SECx is disabled, PRIVx can be accessed with secure and nonsecure access.

When EXTI_SECCFGR.SECx is enabled, PRIVx can only be written with secure access.

Nonsecure write to this PRIVx is discarded.

0: Event privilege disabled (unprivileged)

1: Event privilege enabled (privileged)

18.7.8 EXTI rising trigger selection register 2 (EXTI_RTSR2)

Address offset: 0x020

Reset value: 0x0000 0000

Contains only register bits for configurable events.

31302928272625242322212019181716
Res.Res.Res.Res.RT59RT58Res.Res.Res.Res.RT53Res.Res.RT50RT49Res.
rwrwrwrwrw
1514131211109876543210
Res.RT46Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
rw

Bits 31:28, 25:22, 20:19, 16:15, 13:0 Reserved, must be kept at reset value.

Bit 17 RT49: Rising trigger event configuration bit of configurable event input x(1)

When EXTI_SECCFGR.SECx is disabled, RTx can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, RTx can be accessed only with secure access. Nonsecure write to this bit x is discarded and nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, RTx can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, RTx can be accessed only with privileged access. Unprivileged write to this bit x is discarded, unprivileged read returns 0.

0: Rising trigger disabled (for event and interrupt) for input line

1: Rising trigger enabled (for event and interrupt) for input line

This bit is available only on STM32H543/553xx devices, refer to Table 157. If not present, consider this bit as reserved, and keep it at reset value.

Bit 14 RT46: Rising trigger event configuration bit of configurable event input x(1)

When EXTI_SECCFGR.SECx is disabled, RTx can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, RTx can be accessed only with secure access. Nonsecure write to this bit x is discarded and nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, RTx can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, RTx can be accessed only with privileged access. Unprivileged write to this bit x is discarded, unprivileged read returns 0.

0: Rising trigger disabled (for event and interrupt) for input line

1: Rising trigger enabled (for event and interrupt) for input line

  1. 1. The configurable event inputs are edge triggered, no glitch must be generated on these inputs. If a rising edge on the configurable event input occurs during writing of the register, the associated pending bit is not set. Rising and falling edge triggers can be set for the same configurable event input. In this case, both edges generate a trigger.

18.7.9 EXTI falling trigger selection register 2 (EXTI_FTSR2)

Address offset: 0x024

Reset value: 0x0000 0000

Contains only register bits for configurable events.

31302928272625242322212019181716
Res.Res.Res.Res.FT59FT58Res.Res.Res.Res.FT53Res.Res.FT50FT49Res.
rwrwrwrwrw
1514131211109876543210
Res.FT46Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
rw

Bits 31:28, 25:22, 20:19, 16:15, 13:0 Reserved, must be kept at reset value.

Bit 17 FT49: Falling trigger event configuration bit of configurable event input x (1)

When EXTI_SECCFGR.SECx is disabled, FTx can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, FTx can be accessed only with secure access.

Nonsecure write to this FTx is discarded, nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, FTx can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, FTx can be accessed only with privileged access. Unprivileged write to this FTx is discarded, unprivileged read returns 0.

0: Falling trigger disabled (for event and Interrupt) for input line

1: Falling trigger enabled (for event and Interrupt) for input line.

This bit is available only on STM32H543/553xx devices, refer to Table 157. If not present, consider this bit as reserved, and keep it at reset value.

Bit 14 FT46: Falling trigger event configuration bit of configurable event input x (1)

When EXTI_SECCFGR.SECx is disabled, FTx can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, FTx can be accessed only with secure access.

Nonsecure write to this FTx is discarded, nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, FTx can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, FTx can be accessed only with privileged access. Unprivileged write to this FTx is discarded, unprivileged read returns 0.

0: Falling trigger disabled (for event and Interrupt) for input line

1: Falling trigger enabled (for event and Interrupt) for input line.

  1. 1. The configurable event inputs are edge triggered, no glitch must be generated on these inputs.
    If a falling edge on the configurable event input occurs during writing of the register, the associated pending bit is not set.
    Rising and falling edge triggers can be set for the same configurable event input. In this case, both edges generate a trigger.

18.7.10 EXTI software interrupt event register 2 (EXTI_SWIER2)

Address offset: 0x028

Reset value: 0x0000 0000

Contains only register bits for configurable events.

31302928272625242322212019181716
Res.Res.Res.Res.SWI59SWI58Res.Res.Res.Res.SWI53Res.Res.SWI50SWI49Res.
rwrwrwrwrw
1514131211109876543210
Res.SWI46Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
rw

Bits 31:28, 25:22, 20:19, 16:15, 13:0 Reserved, must be kept at reset value.

Bit 18 SWI50: Software interrupt on event x

When EXTI_SECCFGR.SECx is disabled, SWIx can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, SWIx can be accessed only with secure access. Nonsecure write to this SWI x is discarded, nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, SWIx can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, SWIx can be accessed only with privileged access. Unprivileged write to this SWIx is discarded, unprivileged read returns 0.

A software interrupt is generated independent from the setting in EXTI_RTSR and EXTI_FTSR. It always returns 0 when read.

0: Writing 0 has no effect.

1: Writing 1 triggers a rising edge event on event x. This bit is auto cleared by hardware.

Bit 17 SWI49: Software interrupt on event x

When EXTI_SECCFGR.SECx is disabled, SWIx can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, SWIx can be accessed only with secure access. Nonsecure write to this SWI x is discarded, nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, SWIx can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, SWIx can be accessed only with privileged access. Unprivileged write to this SWIx is discarded, unprivileged read returns 0.

A software interrupt is generated independent from the setting in EXTI_RTSR and EXTI_FTSR. It always returns 0 when read.

0: Writing 0 has no effect.

1: Writing 1 triggers a rising edge event on event x. This bit is auto cleared by hardware.

This bit is available only on STM32H543/553xx devices, refer to Table 157. If not present, consider this bit as reserved, and keep it at reset value.

Bit 14 SWI46: Software interrupt on event x

When EXTI_SECCFGR.SECx is disabled, SWIx can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, SWIx can be accessed only with secure access. Nonsecure write to this SWI x is discarded, nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, SWIx can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, SWIx can be accessed only with privileged access. Unprivileged write to this SWIx is discarded, unprivileged read returns 0.

A software interrupt is generated independent from the setting in EXTI_RTSR and EXTI_FTSR. It always returns 0 when read.

0: Writing 0 has no effect.

1: Writing 1 triggers a rising edge event on event x. This bit is auto cleared by hardware.

18.7.11 EXTI rising edge pending register 2 (EXTI_RPR2)

Address offset: 0x02C

Reset value: 0x0000 0000

Contains only register bits for configurable events.

31302928272625242322212019181716
Res.Res.Res.Res.RPIF59RPIF58Res.Res.Res.Res.RPIF53Res.Res.RPIF50RPIF49Res.
rwrwrwrwrw
1514131211109876543210
Res.RPIF46Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
rw

Bits 31:28, 25:22, 20:19, 16:15, 13:0 Reserved, must be kept at reset value.

Bit 27 RPIF59: configurable event inputs x rising edge pending bit
When EXTI_SECCFGR.SECx is disabled, RPIFx can be accessed with nonsecure and secure access.
When EXTI_SECCFGR.SECx is enabled, RPIFx can be accessed only with secure access. Nonsecure write to this RPIFx is discarded, nonsecure read returns 0.
When EXTI_PRIVCFGR.PRIVx is disabled, RPIFx can be accessed with unprivileged and privileged access.
When EXTI_PRIVCFGR.PRIVx is enabled, RPIFx can be accessed only with privileged access. Unprivileged write to this RPIFx is discarded, unprivileged read returns 0.
0: No rising edge trigger request occurred
1: Rising edge trigger request occurred
This bit is set when the rising edge event or an EXTI_SWIER software trigger arrives on the configurable event line. This bit is cleared by writing 1 to it.
This bit is available only on STM32H543/553xx devices, refer to Table 157. If not present, consider this bit as reserved, and keep it at reset value.

Bit 26 RPIF58: configurable event inputs x rising edge pending bit
When EXTI_SECCFGR.SECx is disabled, RPIFx can be accessed with nonsecure and secure access.
When EXTI_SECCFGR.SECx is enabled, RPIFx can be accessed only with secure access. Nonsecure write to this RPIFx is discarded, nonsecure read returns 0.
When EXTI_PRIVCFGR.PRIVx is disabled, RPIFx can be accessed with unprivileged and privileged access.
When EXTI_PRIVCFGR.PRIVx is enabled, RPIFx can be accessed only with privileged access. Unprivileged write to this RPIFx is discarded, unprivileged read returns 0.
0: No rising edge trigger request occurred
1: Rising edge trigger request occurred
This bit is set when the rising edge event or an EXTI_SWIER software trigger arrives on the configurable event line. This bit is cleared by writing 1 to it.
This bit is available only on STM32H543/553xx devices, refer to Table 157. If not present, consider this bit as reserved, and keep it at reset value.

Bit 21 RPIF53: configurable event inputs x rising edge pending bit

When EXTI_SECCFGR.SECx is disabled, RPIFx can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, RPIFx can be accessed only with secure access. Nonsecure write to this RPIFx is discarded, nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, RPIFx can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, RPIFx can be accessed only with privileged access. Unprivileged write to this RPIFx is discarded, unprivileged read returns 0.

0: No rising edge trigger request occurred

1: Rising edge trigger request occurred

This bit is set when the rising edge event or an EXTI_SWIER software trigger arrives on the configurable event line. This bit is cleared by writing 1 to it.

Bit 18 RPIF50: configurable event inputs x rising edge pending bit

When EXTI_SECCFGR.SECx is disabled, RPIFx can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, RPIFx can be accessed only with secure access. Nonsecure write to this RPIFx is discarded, nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, RPIFx can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, RPIFx can be accessed only with privileged access. Unprivileged write to this RPIFx is discarded, unprivileged read returns 0.

0: No rising edge trigger request occurred

1: Rising edge trigger request occurred

This bit is set when the rising edge event or an EXTI_SWIER software trigger arrives on the configurable event line. This bit is cleared by writing 1 to it.

Bit 17 RPIF49: configurable event inputs x rising edge pending bit

When EXTI_SECCFGR.SECx is disabled, RPIFx can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, RPIFx can be accessed only with secure access. Nonsecure write to this RPIFx is discarded, nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, RPIFx can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, RPIFx can be accessed only with privileged access. Unprivileged write to this RPIFx is discarded, unprivileged read returns 0.

0: No rising edge trigger request occurred

1: Rising edge trigger request occurred

This bit is set when the rising edge event or an EXTI_SWIER software trigger arrives on the configurable event line. This bit is cleared by writing 1 to it.

This bit is available only on STM32H543/553xx devices, refer to Table 157. If not present, consider this bit as reserved, and keep it at reset value.

Bit 14 RPIF46: configurable event inputs x rising edge pending bit

When EXTI_SECCFGR.SECx is disabled, RPIFx can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, RPIFx can be accessed only with secure access. Nonsecure write to this RPIFx is discarded, nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, RPIFx can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, RPIFx can be accessed only with privileged access. Unprivileged write to this RPIFx is discarded, unprivileged read returns 0.

0: No rising edge trigger request occurred
1: Rising edge trigger request occurred

This bit is set when the rising edge event or an EXTI_SWIER software trigger arrives on the configurable event line. This bit is cleared by writing 1 to it.

18.7.12 EXTI falling edge pending register 2 (EXTI_FPR2)

Address offset: 0x030

Reset value: 0x0000 0000

Contains only register bits for configurable events.

31302928272625242322212019181716
Res.Res.Res.Res.FPIF59FPIF58Res.Res.Res.Res.FPIF53Res.Res.FPIF50FPIF49Res.
rwrwrwrwrw
1514131211109876543210
Res.FPIF46Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
rw

Bits 31:28, 25:22, 20:19, 16:15, 13:0 Reserved, must be kept at reset value.

Bit 27 FPIF59: configurable event inputs x falling edge pending bit

When EXTI_SECCFGR.SECx is disabled, FPIFx can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, FPIFx can be accessed only with secure access. Nonsecure write to this FPIFx is discarded, nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, FPIFx can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, FPIFx can be accessed only with privileged access. Unprivileged write to this FPIFx is discarded, unprivileged read returns 0.

0: No falling edge trigger request occurred
1: Falling edge trigger request occurred

This bit is set when the falling edge event arrives on the configurable event line. This bit is cleared by writing 1 to it.

This bit is available only on STM32H543/553xx devices, refer to Table 157. If not present, consider this bit as reserved, and keep it at reset value.

Bit 26 FPIF58: configurable event inputs x falling edge pending bit

When EXTI_SECCFGR.SECx is disabled, FPIFx can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, FPIFx can be accessed only with secure access. Nonsecure write to this FPIFx is discarded, nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, FPIFx can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, FPIFx can be accessed only with privileged access. Unprivileged write to this FPIFx is discarded, unprivileged read returns 0.

0: No falling edge trigger request occurred

1: Falling edge trigger request occurred

This bit is set when the falling edge event arrives on the configurable event line. This bit is cleared by writing 1 to it.

This bit is available only on STM32H543/553xx devices, refer to Table 157. If not present, consider this bit as reserved, and keep it at reset value.

Bit 21 FPIF53: configurable event inputs x falling edge pending bit

When EXTI_SECCFGR.SECx is disabled, FPIFx can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, FPIFx can be accessed only with secure access. Nonsecure write to this FPIFx is discarded, nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, FPIFx can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, FPIFx can be accessed only with privileged access. Unprivileged write to this FPIFx is discarded, unprivileged read returns 0.

0: No falling edge trigger request occurred

1: Falling edge trigger request occurred

This bit is set when the falling edge event arrives on the configurable event line. This bit is cleared by writing 1 to it.

Bit 18 FPIF50: configurable event inputs x falling edge pending bit

When EXTI_SECCFGR.SECx is disabled, FPIFx can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, FPIFx can be accessed only with secure access. Nonsecure write to this FPIFx is discarded, nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, FPIFx can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, FPIFx can be accessed only with privileged access. Unprivileged write to this FPIFx is discarded, unprivileged read returns 0.

0: No falling edge trigger request occurred

1: Falling edge trigger request occurred

This bit is set when the falling edge event arrives on the configurable event line. This bit is cleared by writing 1 to it.

Bit 17 FPIF49: configurable event inputs x falling edge pending bit

When EXTI_SECCFGR.SECx is disabled, FPIFx can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, FPIFx can be accessed only with secure access. Nonsecure write to this FPIFx is discarded, nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, FPIFx can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, FPIFx can be accessed only with privileged access. Unprivileged write to this FPIFx is discarded, unprivileged read returns 0.

0: No falling edge trigger request occurred

1: Falling edge trigger request occurred

This bit is set when the falling edge event arrives on the configurable event line. This bit is cleared by writing 1 to it.

This bit is available only on STM32H543/553xx devices, refer to Table 157. If not present, consider this bit as reserved, and keep it at reset value.

Bit 14 FPIF46: configurable event inputs x falling edge pending bit

When EXTI_SECCFGR.SECx is disabled, FPIFx can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, FPIFx can be accessed only with secure access. Nonsecure write to this FPIFx is discarded, nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, FPIFx can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, FPIFx can be accessed only with privileged access. Unprivileged write to this FPIFx is discarded, unprivileged read returns 0.

0: No falling edge trigger request occurred

1: Falling edge trigger request occurred

This bit is set when the falling edge event arrives on the configurable event line. This bit is cleared by writing 1 to it.

18.7.13 EXTI security configuration register 2 (EXTI_SECCFGR2)

Address offset: 0x034

Reset value: 0x0000 0000

This register provides write access security, a nonsecure write access is ignored and causes the generation of an illegal access event. A nonsecure read returns the register data.

Contains only register bits for privilege capable input events.

31302928272625242322212019181716
Res.Res.SEC61Res.SEC59SEC58SEC57SEC56SEC55SEC54SEC53SEC52SEC51SEC50SEC49SEC48
rwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
SEC47SEC46SEC45SEC44SEC43SEC42SEC41SEC40SEC39SEC38SEC37SEC36SEC35SEC34SEC33SEC32
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:30 Reserved, must be kept at reset value.

Bit 29 SEC61: Security enable on event input 61

When EXTI_PRIVCFGR.PRIVx is disabled, SECx can be accessed with privileged and unprivileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, SECx can only be written with privileged access. Unprivileged write to this SECx is discarded.

0: Event security disabled (nonsecure)

1: Event security enabled (secure)

This bit is available only on STM32H543/553xx devices, refer to Table 157. If not present, consider this bit as reserved, and keep it at reset value.

Bit 28 Reserved, must be kept at reset value.

Bits 27:0 SECx: Security enable on event input x (x = 59 to 32)

When EXTI_PRIVCFGR.PRIVx is disabled, SECx can be accessed with privileged and unprivileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, SECx can only be written with privileged access. Unprivileged write to this SECx is discarded.

0: Event security disabled (nonsecure)

1: Event security enabled (secure)

Bits SEC[59:58] are available only on STM32H543/553xx devices, refer to Table 157. If not present, consider this bit as reserved, and keep it at reset value.

18.7.14 EXTI privilege configuration register 2 (EXTI_PRIVCFGR2)

Address offset: 0x038

Reset value: 0x0000 0000

This register provides privileged write access protection. An unprivileged read returns the register data.

Contains only register bits for security capable input events.

BitRegister NameDescriptionReservedReservedReservedReservedReservedReservedReservedReservedReservedReservedReservedReservedReserved
31302928272625242322212019181716
Res.Res.PRIV61Res.PRIV59 PRIV58 PRIV57 PRIV56 PRIV55 PRIV54PRIV53 PRIV52 PRIV51 PRIV50 PRIV49 PRIV48
rwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
Bit 29PRIV61:Security enable on event input 61
This bit is available only on STM32H543/553xx devices, refer toTable 157. If not present,

Bits 31:30 Reserved, must be kept at reset value.

Bit 29 PRIV61: Security enable on event input 61

When EXTI_SECCFGR.SECx is disabled, PRIVx can be accessed with secure and nonsecure access.

When EXTI_SECCFGR.SECx is enabled, PRIVx can only be written with secure access. Nonsecure write to this PRIVx is discarded.

0: Event privilege disabled (unprivileged)

1: Event privilege enabled (privileged)

This bit is available only on STM32H543/553xx devices, refer to Table 157. If not present, consider this bit as reserved, and keep it at reset value.

Bit 28 Reserved, must be kept at reset value.

Bits 27:0 PRIVx: Security enable on event input x (x = 59 to 32)
When EXTI_SECCFGR.SECx is disabled, PRIVx can be accessed with secure and nonsecure access.
When EXTI_SECCFGR.SECx is enabled, PRIVx can only be written with secure access. Nonsecure write to this PRIVx is discarded.
0: Event privilege disabled (unprivileged)
1: Event privilege enabled (privileged)
Bits [59:58] are available only on STM32H543/553xx devices, refer to Table 157. If not present, consider this bit as reserved, and keep it at reset value.

18.7.15 EXTI rising trigger selection register 3 (EXTI_RTSR3)

Address offset: 0x040

Reset value: 0x0000 0000

It contains only register bits for configurable events.

STM32H543/553xx devices only

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RT66Res.RT64
rwrw

Bits 31:3 Reserved, must be kept at reset value.

Bit 2 RT66: Rising trigger event configuration bit of configurable event input x(1)
When EXTI_SECCFGR.SECx is disabled, RTx can be accessed with nonsecure and secure access.
When EXTI_SECCFGR.SECx is enabled, RTx can only be accessed with secure access. Nonsecure write to this bit x is discarded and nonsecure read returns 0.
When EXTI_PRIVCFGR.PRIVx is disabled, RTx can be accessed with unprivileged and privileged access.
When EXTI_PRIVCFGR.PRIVx is enabled, RTx can only be accessed with privileged access. Unprivileged write to this bit x is discarded, unprivileged read returns 0.
0: Rising trigger disabled (for event and interrupt) for input line
1: Rising trigger enabled (for event and interrupt) for input line

Bit 1 Reserved, must be kept at reset value.

Bit 0 RT64: Rising trigger event configuration bit of configurable event input x(1)
When EXTI_SECCFGR.SECx is disabled, RTx can be accessed with nonsecure and secure access.
When EXTI_SECCFGR.SECx is enabled, RTx can only be accessed with secure access. Nonsecure write to this bit x is discarded and nonsecure read returns 0.
When EXTI_PRIVCFGR.PRIVx is disabled, RTx can be accessed with unprivileged and privileged access.
When EXTI_PRIVCFGR.PRIVx is enabled, RTx can only be accessed with privileged access. Unprivileged write to this bit x is discarded, unprivileged read returns 0.
0: Rising trigger disabled (for event and interrupt) for input line
1: Rising trigger enabled (for event and interrupt) for input line

ST logo
ST logo

18.7.16 EXTI falling trigger selection register 3 (EXTI_FTSR3)

Address offset: 0x044

Reset value: 0x0000 0000

It contains only register bits for configurable events.

STM32H543/553xx devices only

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FT66Res.FT64
rwrw

Bits 31:3 Reserved, must be kept at reset value.

Bit 2 FT66: Falling trigger event configuration bit of configurable event input x (1)

When EXTI_SECCFGR.SECx is disabled, FTx can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, FTx can only be accessed with secure access.

Nonsecure write to this FTx is discarded, nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, FTx can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, FTx can only be accessed with privileged access. Unprivileged write to this FTx is discarded, unprivileged read returns 0.

0: Falling trigger disabled (for event and Interrupt) for input line

1: Falling trigger enabled (for event and Interrupt) for input line.

Bit 1 Reserved, must be kept at reset value.

Bit 0 FT64: Falling trigger event configuration bit of configurable event input x (1)

When EXTI_SECCFGR.SECx is disabled, FTx can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, FTx can only be accessed with secure access.

Nonsecure write to this FTx is discarded, nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, FTx can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, FTx can only be accessed with privileged access. Unprivileged write to this FTx is discarded, unprivileged read returns 0.

0: Falling trigger disabled (for event and Interrupt) for input line

1: Falling trigger enabled (for event and Interrupt) for input line.

  1. The configurable event inputs are edge triggered. No glitch must be generated on these inputs.
    If a falling edge on the configurable event input occurs during writing of the register, the associated pending bit is not set.
    Rising and falling edge triggers can be set for the same configurable event input. In this case, both edges generate a trigger.

18.7.17 EXTI software interrupt event register 3 (EXTI_SWIER3)

Address offset: 0x048

Reset value: 0x0000 0000

It contains only register bits for configurable events.

STM32H543/553xx devices only

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SWI66Res.SWI64
rwrw

Bits 31:3 Reserved, must be kept at reset value.

Bit 2 SWI66: Software interrupt on event x

When EXTI_SECCFGR.SECx is disabled, SWIx can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, SWIx can only be accessed with secure access. Nonsecure write to this SWI x is discarded, nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, SWIx can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, SWIx can only be accessed with privileged access. Unprivileged write to this SWIx is discarded, unprivileged read returns 0.

A software interrupt is generated independent from the setting in EXTI_RTSR and EXTI_FTSR. It always returns 0 when read.

0: Writing 0 has no effect.

1: Writing 1 triggers a rising edge event on event x. This bit is auto cleared by hardware.

Bit 1 Reserved, must be kept at reset value.

Bit 0 SWI64: Software interrupt on event x

When EXTI_SECCFGR.SECx is disabled, SWIx can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, SWIx can only be accessed with secure access. Nonsecure write to this SWI x is discarded, nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, SWIx can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, SWIx can only be accessed with privileged access. Unprivileged write to this SWIx is discarded, unprivileged read returns 0.

A software interrupt is generated independent from the setting in EXTI_RTSR and EXTI_FTSR. It always returns 0 when read.

0: Writing 0 has no effect.

1: Writing 1 triggers a rising edge event on event x. This bit is auto cleared by hardware.

18.7.18 EXTI rising edge pending register 3 (EXTI_RPR3)

Address offset: 0x04C

Reset value: 0x0000 0000

It contains only register bits for configurable events.

STM32H543/553xx devices only

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RPIF66Res.RPIF64
rwrw

Bits 31:3 Reserved, must be kept at reset value.

Bit 2 RPIF66: configurable event inputs x rising edge pending bit

When EXTI_SECCFGR.SECx is disabled, RPIFx can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, RPIFx can only be accessed with secure access. Nonsecure write to this RPIFx is discarded, nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, RPIFx can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, RPIFx can only be accessed with privileged access. Unprivileged write to this RPIFx is discarded, unprivileged read returns 0.

0: No rising edge trigger request occurred

1: Rising edge trigger request occurred

This bit is set when the rising edge event or an EXTI_SWIER software trigger arrives on the configurable event line. This bit is cleared by writing 1 to it.

Bit 1 Reserved, must be kept at reset value.

Bit 0 RPIF64: configurable event inputs x rising edge pending bit

When EXTI_SECCFGR.SECx is disabled, RPIFx can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, RPIFx can only be accessed with secure access. Nonsecure write to this RPIFx is discarded, nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, RPIFx can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, RPIFx can only be accessed with privileged access. Unprivileged write to this RPIFx is discarded, unprivileged read returns 0.

0: No rising edge trigger request occurred

1: Rising edge trigger request occurred

This bit is set when the rising edge event or an EXTI_SWIER software trigger arrives on the configurable event line. This bit is cleared by writing 1 to it.

18.7.19 EXTI falling edge pending register 3 (EXTI_FPR3)

Address offset: 0x050

Reset value: 0x0000 0000

It contains only register bits for configurable events.

STM32H543/553xx devices only

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FPIF66Res.FPIF64
rwrw

Bits 31:3 Reserved, must be kept at reset value.

Bit 2 FPIF66: configurable event inputs x falling edge pending bit

When EXTI_SECCFGR.SECx is disabled, FPIFx can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, FPIFx can only be accessed with secure access. Nonsecure write to this FPIFx is discarded, nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, FPIFx can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, FPIFx can only be accessed with privileged access. Unprivileged write to this FPIFx is discarded, unprivileged read returns 0.

0: No falling edge trigger request occurred

1: Falling edge trigger request occurred

This bit is set when the falling edge event arrives on the configurable event line. This bit is cleared by writing 1 to it.

Bit 1 Reserved, must be kept at reset value.

Bit 0 FPIF64: configurable event inputs x falling edge pending bit

When EXTI_SECCFGR.SECx is disabled, FPIFx can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, FPIFx can only be accessed with secure access. Nonsecure write to this FPIFx is discarded, nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, FPIFx can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, FPIFx can only be accessed with privileged access. Unprivileged write to this FPIFx is discarded, unprivileged read returns 0.

0: No falling edge trigger request occurred

1: Falling edge trigger request occurred

This bit is set when the falling edge event arrives on the configurable event line. This bit is cleared by writing 1 to it.

18.7.20 EXTI security configuration register 3 (EXTI_SECCFGR3)

Address offset: 0x054

Reset value: 0x0000 0000

This register provides write access security. A nonsecure write access is ignored and causes the generation of an illegal access event. A nonsecure read returns the register data.

It contains only register bits for privilege capable input events.

STM32H543/553xx devices only

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SEC66SEC65SEC64
rwrwrw

Bits 31:3 Reserved, must be kept at reset value.

Bits 2:0 SECx: Security enable on event input x (x = 66 to 64)

When EXTI_PRIVCFGR.PRIVx is disabled, SECx can be accessed with privileged and unprivileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, SECx can only be written with privileged access. Unprivileged write to this SECx is discarded.

0: Event security disabled (nonsecure)

1: Event security enabled (secure)

18.7.21 EXTI privilege configuration register 3 (EXTI_PRIVCFGR3)

Address offset: 0x058

Reset value: 0x0000 0000

This register provides privileged write access protection. An unprivileged read returns the register data.

It contains only register bits for security capable input events.

STM32H543/553xx devices only

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PRIV66PRIV65PRIV64
rwrwrw

Bits 31:3 Reserved, must be kept at reset value.

Bits 2:0 PRIVx: Security enable on event input x (x = 66 to 64)

When EXTI_SECCFGR.SECx is disabled, PRIVx can be accessed with secure and nonsecure access.

When EXTI_SECCFGR.SECx is enabled, PRIVx can only be written with secure access. Nonsecure write to this PRIVx is discarded.

0: Event privilege disabled (unprivileged)

1: Event privilege enabled (privileged)

18.7.22 EXTI external interrupt selection register (EXTI_EXTICR1)

Address offset: 0x060 EXTI multiplexer 0, 1, 2, 3

Reset value: 0x0000 0000

31302928272625242322212019181716
EXTI3[7:0]EXTI2[7:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
EXTI1[7:0]EXTI0[7:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:24 EXTI3[7:0]: EXTI3 GPIO port selection

These bits are written by software to select the source input for EXTI3 external interrupt. When EXTI_SECCFGR1.SEC3 is disabled, EXTI3 can be accessed with nonsecure and secure access.

When EXTI_SECCFGR1.SEC3 is enabled, EXTI3 can be accessed only with secure access. Nonsecure write is discarded and nonsecure read returns 0.

When EXTI_PRIVCFGR1.PRIV3 is disabled, EXTI3 can be accessed with privileged and unprivileged access.

When EXTI_PRIVCFGR1.PRIV3 is enabled, EXTI3 can be accessed only with privileged access. Unprivileged write to this bit is discarded.

0x00: PA3 pin

0x01: PB3 pin

0x02: PC3 pin

0x03: PD3 pin

0x04: PE3 pin

0x05: PF3 pin

0x06: PG3 pin

0x07: PH3 pin

0x08: PI3 pin

Others: reserved

Bits 23:16 EXTI2[7:0]: EXTI2 GPIO port selection

These bits are written by software to select the source input for EXTI2 external interrupt.
When EXTI_SECCFGR1.SEC2 is disabled, EXTI2 can be accessed with nonsecure and secure access.

When EXTI_SECCFGR1.SEC2 is enabled, EXTI2 can be accessed only with secure access. Nonsecure write is discarded and nonsecure read returns 0.

When EXTI_PRIVCFGR1.PRIV2 is disabled, EXTI2 can be accessed with privileged and unprivileged access.

When EXTI_PRIVCFGR1.PRIV2 is enabled, EXTI2 can be accessed only with privileged access. Unprivileged write to this bit is discarded.

0x00: PA2 pin

0x01: PB2 pin

0x02: PC2 pin

0x03: PD2 pin

0x04: PE2 pin

0x05: PF2 pin

0x06: PG2 pin

0x07: PH2 pin

0x08: PI2 pin

Others: reserved

Bits 15:8 EXTI1[7:0]: EXTI1 GPIO port selection

These bits are written by software to select the source input for EXTI1 external interrupt.
When EXTI_SECCFGR1.SEC1 is disabled, EXTI1 can be accessed with nonsecure and secure access.

When EXTI_SECCFGR1.SEC1 is enabled, EXTI1 can be accessed only with secure access. Nonsecure write is discarded and nonsecure read returns 0.

When EXTI_PRIVCFGR1.PRIV1 is disabled, EXTI1 can be accessed with privileged and unprivileged access.

When EXTI_PRIVCFGR1.PRIV1 is enabled, EXTI1 can be accessed only with privileged access. Unprivileged write to this bit is discarded.

0x00: PA1 pin

0x01: PB1 pin

0x02: PC1 pin

0x03: PD1 pin

0x04: PE1 pin

0x05: PF1 pin

0x06: PG1 pin

0x07: PH1 pin

0x08: PI1 pin

Others: reserved

Bits 7:0 EXTI0[7:0]: EXTI0 GPIO port selection

These bits are written by software to select the source input for EXTI0 external interrupt.
When EXTI_SECCFGR1.SEC0 is disabled, EXTI0 can be accessed with nonsecure and secure access.

When EXTI_SECCFGR1.SEC0 is enabled, EXTI0 can be accessed only with secure access. Nonsecure write is discarded and nonsecure read returns 0.

When EXTI_PRIVCFGR1.PRIV0 is disabled, EXTI0 can be accessed with privileged and unprivileged access.

When EXTI_PRIVCFGR1.PRIV0 is enabled, EXTI0 can be accessed only with privileged access. Unprivileged write to this bit is discarded.

0x00: PA0 pin

0x01: PB0 pin

0x02: PC0 pin

0x03: PD0 pin

0x04: PE0 pin

0x05: PF0 pin

0x06: PG0 pin

0x07: PH0 pin

0x08: PI0 pin

Others: reserved

18.7.23 EXTI external interrupt selection register (EXTI_EXTICR2)

Address offset: 0x064 EXTI multiplexer 4, 5, 6, 7

Reset value: 0x0000 0000

31302928272625242322212019181716
EXTI7[7:0]EXTI6[7:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
EXTI5[7:0]EXTI4[7:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:24 EXTI7[7:0]: EXTI7 GPIO port selection

These bits are written by software to select the source input for EXTI7 external interrupt. When EXTI_SECCFGR1.SEC7 is disabled, EXTI7 can be accessed with nonsecure and secure access.

When EXTI_SECCFGR1.SEC7 is enabled, EXTI7 can be accessed only with secure access. Nonsecure write is discarded and nonsecure read returns 0.

When EXTI_PRIVCFGR1.PRIV7 is disabled, EXTI7 can be accessed with privileged and unprivileged access.

When EXTI_PRIVCFGR1.PRIV7 is enabled, EXTI7 can be accessed only with privileged access. Unprivileged write to this bit is discarded.

0x00: PA7 pin

0x01: PB7 pin

0x02: PC7 pin

0x03: PD7 pin

0x04: PE7 pin

0x05: PF7 pin

0x06: PG7 pin

0x07: PH7 pin

0x08: PI7 pin

Others: reserved

Bits 23:16 EXTI6[7:0]: EXTI6 GPIO port selection

These bits are written by software to select the source input for EXTI6 external interrupt. When EXTI_SECCFGR1.SEC6 is disabled, EXTI6 can be accessed with nonsecure and secure access.

When EXTI_SECCFGR1.SEC6 is enabled, EXTI6 can be accessed only with secure access. Nonsecure write is discarded and nonsecure read returns 0.

When EXTI_PRIVCFGR1.PRIV6 is disabled, EXTI6 can be accessed with privileged and unprivileged access.

When EXTI_PRIVCFGR1.PRIV6 is enabled, EXTI6 can be accessed only with privileged access. Unprivileged write to this bit is discarded.

0x00: PA6 pin

0x01: PB6 pin

0x02: PC6 pin

0x03: PD6 pin

0x04: PE6 pin

0x05: PF6 pin

0x06: PG6 pin

0x07: PH6 pin

0x08: PI6 pin

Others: reserved

Bits 15:8 EXTI5[7:0]: EXTI5 GPIO port selection

These bits are written by software to select the source input for EXTI5 external interrupt. When EXTI_SECCFGR1.SEC5 is disabled, EXTI5 can be accessed with nonsecure and secure access.

When EXTI_SECCFGR1.SEC5 is enabled, EXTI5 can be accessed only with secure access. Nonsecure write is discarded and nonsecure read returns 0.

When EXTI_PRIVCFGR1.PRIV5 is disabled, EXTI5 can be accessed with privileged and unprivileged access.

When EXTI_PRIVCFGR1.PRIV5 is enabled, EXTI5 can be accessed only with privileged access. Unprivileged write to this bit is discarded.

0x00: PA5 pin

0x01: PB5 pin

0x02: PC5 pin

0x03: PD5 pin

0x04: PE5 pin

0x05: PF5 pin

0x06: PG5 pin

0x07: PH5 pin

0x08: PI5 pin

Others: reserved

Bits 7:0 EXTI4[7:0]: EXTI4 GPIO port selection

These bits are written by software to select the source input for EXTI4 external interrupt. When EXTI_SECCFGR1.SEC4 is disabled, EXTI4 can be accessed with nonsecure and secure access.

When EXTI_SECCFGR1.SEC4 is enabled, EXTI4 can be accessed only with secure access. Nonsecure write is discarded and nonsecure read returns 0.

When EXTI_PRIVCFGR1.PRIV4 is disabled, EXTI4 can be accessed with privileged and unprivileged access.

When EXTI_PRIVCFGR1.PRIV4 is enabled, EXTI4 can be accessed only with privileged access. Unprivileged write to this bit is discarded.

0x00: PA4 pin

0x01: PB4 pin

0x02: PC4 pin

0x03: PD4 pin

0x04: PE4 pin

0x05: PF4 pin

0x06: PG4 pin

0x07: PH4 pin

0x08: PI4 pin

Others: reserved

18.7.24 EXTI external interrupt selection register (EXTI_EXTICR3)

Address offset: 0x068 EXTI multiplexer 8, 9, 10, 11

Reset value: 0x0000 0000

31302928272625242322212019181716
EXTI11[7:0]EXTI10[7:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
EXTI9[7:0]EXTI8[7:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:24 EXTI11[7:0]: EXTI11 GPIO port selection

These bits are written by software to select the source input for EXTI11 external interrupt.
When EXTI_SECCFGR1.SEC11 is disabled, EXTI11 can be accessed with nonsecure and secure access.

When EXTI_SECCFGR1.SEC11 is enabled, EXTI11 can be accessed only with secure access. Nonsecure write is discarded and nonsecure read returns 0.

When EXTI_PRIVCFGR1.PRIV11 is disabled, EXTI11 can be accessed with privileged and unprivileged access.

When EXTI_PRIVCFGR1.PRIV11 is enabled, EXTI11 can be accessed only with privileged access. Unprivileged write to this bit is discarded.

0x00: PA11 pin

0x01: PB11 pin

0x02: PC11 pin

0x03: PD11 pin

0x04: PE11 pin

0x05: PF11 pin

0x06: PG11 pin

0x07: PH11 pin

0x08: PI11 pin

Others: reserved

Bits 23:16 EXTI10[7:0]: EXTI10 GPIO port selection

These bits are written by software to select the source input for EXTI10 external interrupt.
When EXTI_SECCFGR1.SEC10 is disabled, EXTI10 can be accessed with nonsecure and secure access.

When EXTI_SECCFGR1.SEC10 is enabled, EXTI10 can be accessed only with secure access. Nonsecure write is discarded and nonsecure read returns 0.

When EXTI_PRIVCFGR1.PRIV10 is disabled, EXTI10 can be accessed with privileged and unprivileged access.

When EXTI_PRIVCFGR1.PRIV10 is enabled, EXTI10 can be accessed only with privileged access. Unprivileged write to this bit is discarded.

0x00: PA10 pin

0x01: PB10 pin

0x02: PC10 pin

0x03: PD10 pin

0x04: PE10 pin

0x05: PF10 pin

0x06: PG10 pin

0x07: PH10 pin

0x08: PI10 pin

Others: reserved

Bits 15:8 EXTI9[7:0]: EXTI9 GPIO port selection

These bits are written by software to select the source input for EXTI9 external interrupt. When EXTI_SECCFGR1.SEC9 is disabled, EXTI9 can be accessed with nonsecure and secure access.

When EXTI_SECCFGR1.SEC9 is enabled, EXTI9 can be accessed only with secure access. Nonsecure write is discarded and nonsecure read returns 0.

When EXTI_PRIVCFGR1.PRIV9 is disabled, EXTI9 can be accessed with privileged and unprivileged access.

When EXTI_PRIVCFGR1.PRIV9 is enabled, EXTI9 can be accessed only with privileged access. Unprivileged write to this bit is discarded.

0x00: PA9 pin

0x01: PB9 pin

0x02: PC9 pin

0x03: PD9 pin

0x04: PE9 pin

0x05: PF9 pin

0x06: PG9 pin

0x07: PH9 pin

0x08: PI9 pin

Others: reserved

Bits 7:0 EXTI8[7:0]: EXTI8 GPIO port selection

These bits are written by software to select the source input for EXTI8 external interrupt. When EXTI_SECCFGR1.SEC8 is disabled, EXTI8 can be accessed with nonsecure and secure access.

When EXTI_SECCFGR1.SEC8 is enabled, EXTI8 can be accessed only with secure access. Nonsecure write is discarded and nonsecure read returns 0.

When EXTI_PRIVCFGR1.PRIV8 is disabled, EXTI8 can be accessed with privileged and unprivileged access.

When EXTI_PRIVCFGR1.PRIV8 is enabled, EXTI8 can be accessed only with privileged access. Unprivileged write to this bit is discarded.

0x00: PA8 pin

0x01: PB8 pin

0x02: PC8 pin

0x03: PD8 pin

0x04: PE8 pin

0x05: PF8 pin

0x06: PG8 pin

0x07: PH8 pin

0x08: PI8 pin

Others: reserved

18.7.25 EXTI external interrupt selection register (EXTI_EXTICR4)

Address offset: 0x06C EXTI multiplexer 12, 13, 14, 15

Reset value: 0x0000 0000

31302928272625242322212019181716
EXTI15[7:0]EXTI14[7:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
EXTI13[7:0]EXTI12[7:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:24 EXTI15[7:0]: EXTI15 GPIO port selection

These bits are written by software to select the source input for EXTI15 external interrupt.

When EXTI_SECCFGR1.SEC15 is disabled, EXTI15 can be accessed with nonsecure and secure access.

When EXTI_SECCFGR1.SEC15 is enabled, EXTI15 can be accessed only with secure access. Nonsecure write is discarded and nonsecure read returns 0.

When EXTI_PRIVCFGR1.PRIV15 is disabled, EXTI15 can be accessed with privileged and unprivileged access.

When EXTI_PRIVCFGR1.PRIV15 is enabled, EXTI15 can be accessed only with privileged access. Unprivileged write to this bit is discarded.

0x00: PA15 pin
0x01: PB15 pin
0x02: PC15 pin
0x03: PD15 pin
0x04: PE15 pin
0x05: PF15 pin
0x06: PG15 pin
0x07: PH15 pin
Others: reserved

Bits 23:16 EXTI14[7:0]: EXTI14 GPIO port selection

These bits are written by software to select the source input for EXTI14 external interrupt.

When EXTI_SECCFGR1.SEC14 is disabled, EXTI14 can be accessed with nonsecure and secure access.

When EXTI_SECCFGR1.SEC14 is enabled, EXTI14 can be accessed only with secure access. Nonsecure write is discarded and nonsecure read returns 0.

When EXTI_PRIVCFGR1.PRIV14 is disabled, EXTI14 can be accessed with privileged and unprivileged access.

When EXTI_PRIVCFGR1.PRIV14 is enabled, EXTI14 can be accessed only with privileged access. Unprivileged write to this bit is discarded.

0x00: PA14 pin
0x01: PB14 pin
0x02: PC14 pin
0x03: PD14 pin
0x04: PE14 pin
0x05: PF14 pin
0x06: PG14 pin
0x07: PH14 pin
Others: reserved

Bits 15:8 EXTI13[7:0]: EXTI13 GPIO port selection

These bits are written by software to select the source input for EXTI13 external interrupt.
When EXTI_SECCFGR1.SEC13 is disabled, EXTI13 can be accessed with nonsecure and secure access.

When EXTI_SECCFGR1.SEC13 is enabled, EXTI13 can be accessed only with secure access. Nonsecure write is discarded and nonsecure read returns 0.

When EXTI_PRIVCFGR1.PRIV13 is disabled, EXTI13 can be accessed with privileged and unprivileged access.

When EXTI_PRIVCFGR1.PRIV13 is enabled, EXTI13 can be accessed only with privileged access. Unprivileged write to this bit is discarded.

0x00: PA13 pin

0x01: PB13 pin

0x02: PC13 pin

0x03: PD13 pin

0x04: PE13 pin

0x05: PF13 pin

0x06: PG13 pin

0x07: PH13 pin

Others: reserved

Bits 7:0 EXTI12[7:0]: EXTI12 GPIO port selection

These bits are written by software to select the source input for EXTI12 external interrupt.
When EXTI_SECCFGR1.SEC12 is disabled, EXTI12 can be accessed with nonsecure and secure access.

When EXTI_SECCFGR1.SEC12 is enabled, EXTI12 can be accessed only with secure access. Nonsecure write is discarded and nonsecure read returns 0.

When EXTI_PRIVCFGR1.PRIV12 is disabled, EXTI12 can be accessed with privileged and unprivileged access.

When EXTI_PRIVCFGR1.PRIV12 is enabled, EXTI12 can be accessed only with privileged access. Unprivileged write to this bit is discarded.

0x00: PA12 pin

0x01: PB12 pin

0x02: PC12 pin

0x03: PD12 pin

0x04: PE12 pin

0x05: PF12 pin

0x06: PG12 pin

0x07: PH12 pin

Others: reserved

18.7.26 EXTI lock register (EXTI_LOCKR)

Address offset: 0x070

Reset value: 0x0000 0000

This register provides write access security: a nonsecure write access is ignored, a read access returns zero data, and both generate an illegal access event.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.LOCK
rs

Bits 31:1 Reserved, must be kept at reset value.

Bit 0 LOCK: Global security and privilege configuration registers (EXTI_SECCFGR and EXTI_PRIVCFGR) lock

This bit is written once after reset.

0: Security and privilege configuration open, can be modified.

1: Security and privilege configuration locked, can no longer be modified.

18.7.27 EXTI CPU wake-up with interrupt mask register (EXTI_IMR1)

Address offset: 0x080

Reset value: 0xFFFE 0000

Contains register bits for configurable events.

31302928272625242322212019181716
IM31IM30IM29IM28IM27IM26IM25IM24IM23IM22IM21IM20IM19IM18IM17IM16
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
IM15IM14IM13IM12IM11IM10IM9IM8IM7IM6IM5IM4IM3IM2IM1IM0
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:0 IMx: CPU wake-up with interrupt mask on event input x (1) (x = 31 to 0)

When EXTI_SECCFGR.SECx is disabled, IMx can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, IMx can be accessed only with secure access.

Nonsecure write to this bit is discarded and nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, IMx can be accessed with privileged and unprivileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, IMx can be accessed only with privileged access. Unprivileged write to this bit is discarded.

0: Wake-up with interrupt request from input event x is masked.

1: Wake-up with interrupt request from input event x is unmasked.

Bit IM31 is not available on all devices, refer to Table 157. If not present, consider this bit as reserved, and keep it at reset value.

  1. 1. The reset value for configurable event inputs is set to 0 in order to disable the interrupt by default.

18.7.28 EXTI CPU wake-up with event mask register (EXTI_EMR1)

Address offset: 0x084

Reset value: 0x0000 0000

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.EM16
rw
1514131211109876543210
EM15EM14EM13EM12EM11EM10EM9EM8EM7EM6EM5EM4EM3EM2EM1EM0
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:17 Reserved, must be kept at reset value.

Bits 16:0 EMx: CPU wake-up with event generation mask on event input x (x = 16 to 0)

When EXTI_SECCFGR.SECx is disabled, EMx can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, EMx can be accessed only with secure access. Nonsecure write to this bit x is discarded and nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, EMx can be accessed with privileged and unprivileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, EMx can be accessed only with privileged access. Unprivileged write to this bit is discarded.

0: Wake-up with event generation from Line x is masked.

1: Wake-up with event generation from Line x is unmasked.

18.7.29 EXTI CPU wake-up with interrupt mask register 2 (EXTI_IMR2)

Address offset: 0x090

Reset value: 0x23D9 BFFF (STM32H543/553xx devices)

Reset value: 0x07DB BFFF (STM32H56x/573xx devices)

Contains register bits for configurable events.

31302928272625242322212019181716
Res.Res.IM61Res.IM59IM58IM57IM56IM55IM54IM53IM52IM51IM50IM49IM48
rwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
IM47IM46IM45IM44IM43IM42IM41IM40IM39IM38IM37IM36IM35IM34IM33IM32
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:30 Reserved, must be kept at reset value.

Bit 29 IM61: CPU wake-up with interrupt mask on event input 61(1)

When EXTI_SECCFGR.SECx is disabled, IMx can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, IMx can be accessed only with secure access.

Nonsecure write to this bit is discarded and nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, IMx can be accessed with privileged and unprivileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, IMx can be accessed only with privileged access. Unprivileged write to this bit is discarded.

0: Wake-up with interrupt request from input event x is masked.

1: Wake-up with interrupt request from input event x is unmasked.

This bit is not available on all devices, refer to Table 157. If not present, consider this bit as reserved, and keep it at reset value.

Bit 28 Reserved, must be kept at reset value.

Bits 27:0 IMx: CPU wake-up with interrupt mask on event input x(1) (x = 59 to 0)

When EXTI_SECCFGR.SECx is disabled, IMx can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, IMx can be accessed only with secure access.

Nonsecure write to this bit is discarded and nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, IMx can be accessed with privileged and unprivileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, IMx can be accessed only with privileged access. Unprivileged write to this bit is discarded.

0: Wake-up with interrupt request from input event x is masked.

1: Wake-up with interrupt request from input event x is unmasked.

Bits IM[59:54], IM52, IM[46:44], and IM[36:32] are not available on all devices, refer to Table 157. If not present, consider these bits as reserved, and keep them at reset value.

  1. 1. The reset value for configurable event inputs is set to 0 in order to disable the interrupt by default.

18.7.30 EXTI CPU wake-up with event mask register 2 (EXTI_EMR2)

Address offset: 0x094

Reset value: 0x0000 0000

31302928272625242322212019181716
Res.Res.Res.Res.EM59EM58Res.Res.Res.Res.EM53Res.Res.EM50EM49Res.
rwrwrwrwrw
1514131211109876543210
Res.EM46Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
rw

Bits 31:28 Reserved, must be kept at reset value.

Bits 27:26 EMx: CPU wake-up with event generation mask on event input x (x = 59 to 58)

These bits are available only on STM32H543/553xx devices, refer to Table 157. If not present, consider these bits as reserved, and keep them at reset value.

Bits 25:22 Reserved, must be kept at reset value.

Bit 21 EM53: CPU wake-up with event generation mask on event input

Bits 20:19 Reserved, must be kept at reset value.

Bits 18:17 EMx: CPU wake-up with event generation mask on event input x (x = 50 to 49)

The EM49 bit is available only on STM32H543/553xx devices.

Bits 16:15 Reserved, must be kept at reset value.

Bit 14 EM46: CPU wake-up with event generation mask on event input

When EXTI_SECCFGR.SECx is disabled, EM46 can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, EM46 can be accessed only with secure access. Nonsecure write to this bit is discarded and nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, EM46 can be accessed with privileged and unprivileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, EM46 can be accessed only with privileged access. Unprivileged write to this bit is discarded.

0: Wake-up with event generation from Line x is masked.

1: Wake-up with event generation from Line x is unmasked.

Bits 13:0 Reserved, must be kept at reset value.

18.7.31 EXTI CPU wake-up with interrupt mask register 3 (EXTI_IMR3)

Address offset: 0x0A0

Reset value: 0x0000 0002

Contains register bits for configurable events.

STM32H543/553xx devices only

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.IM66IM65IM64
rwrwrw

Bits 31:3 Reserved, must be kept at reset value.

Bits 2:0 IMx: CPU wake-up with interrupt mask on event input x (1) (x = 66 to 64)

When EXTI_SECCFGR.SECx is disabled, IMx can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, IMx can only be accessed with secure access. Nonsecure write to this bit is discarded and nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, IMx can be accessed with privileged and unprivileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, IMx can only be accessed with privileged access. Unprivileged write to this bit is discarded.

0: Wake-up with interrupt request from input event x is masked.

1: Wake-up with interrupt request from input event x is unmasked.

  1. The reset value for configurable event inputs is set to 0 to disable the interrupt by default.

18.7.32 EXTI CPU wake-up with event mask register 3 (EXTI_EMR3)

Address offset: 0x0A4

Reset value: 0x0000 0000

STM32H543/553xx devices only

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.EM66Res.EM64
rwrw

Bits 31:3 Reserved, must be kept at reset value.

Bit 2 EM66: CPU wake-up with event generation mask on event input

When EXTI_SECCFGR.SECx is disabled, EM66 can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, EM66 can only be accessed with secure access.

Nonsecure write to this bit x is discarded and nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, EM66 can be accessed with privileged and unprivileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, EM66 can only be accessed with privileged access. Unprivileged write to this bit is discarded.

0: Wake-up with event generation from Line x is masked.

1: Wake-up with event generation from Line x is unmasked.

Bit 1 Reserved, must be kept at reset value.

Bit 0 EM64: CPU wake-up with event generation mask on event input

When EXTI_SECCFGR.SECx is disabled, EM64 can be accessed with nonsecure and secure access.

When EXTI_SECCFGR.SECx is enabled, EM64 can only be accessed with secure access.

Nonsecure write to this bit x is discarded and nonsecure read returns 0.

When EXTI_PRIVCFGR.PRIVx is disabled, EM64 can be accessed with privileged and unprivileged access.

When EXTI_PRIVCFGR.PRIVx is enabled, EM64 can only be accessed with privileged access. Unprivileged write to this bit is discarded.

0: Wake-up with event generation from Line x is masked.

1: Wake-up with event generation from Line x is unmasked.

18.7.33 EXTI register map

Table 161. EXTI register map and reset values

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x000EXTI_RTSR1Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RT16RT15RT14RT13RT12RT11RT10RT9RT8RT7RT6RT5RT4RT3RT2RT1RT0
Reset value00000000000000000
0x004EXTI_FTSR1Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FT16FT15FT14FT13FT12FT11FT10FT9FT8FT7FT6FT5FT4FT3FT2FT1FT0
Reset value00000000000000000
0x008EXTI_SWIER1Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SWI16SWI15SWI14SWI13SWI12SWI11SWI10SWI9SWI8SWI7SWI6SWI5SWI4SWI3SWI2SWI1SWI0
Reset value00000000000000000
0x00CEXTI_RPR1Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RPIF1RPIF1RPIF1RPIF1RPIF1RPIF1RPIF1RPIF9RPIF8RPIF7RPIF6RPIF5RPIF4RPIF3RPIF2RPIF1RPIF0
Reset value00000000000000000
0x010EXTI_FPR1Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FPIF16FPIF15FPIF14FPIF13FPIF12FPIF11FPIF10FPIF9FPIF8FPIF7FPIF6FPIF5FPIF4FPIF3FPIF2FPIF1FPIF0
Reset value00000000000000000
0x014EXTI_SECCFGR1SEC31SEC30SEC29SEC28SEC27SEC26SEC25SEC24SEC23SEC22SEC21SEC20SEC19SEC18SEC17SEC16SEC15SEC14SEC13SEC12SEC11SEC10SEC9SEC8SEC7SEC6SEC5SEC4SEC3SEC2SEC1SEC0
Reset value00000000000000000000000000000000
0x018EXTI_PRIVCFGR1PRIV31PRIV30PRIV29PRIV28PRIV27PRIV26PRIV25PRIV24PRIV23PRIV22PRIV21PRIV20PRIV19PRIV18PRIV17PRIV16PRIV15PRIV14PRIV13PRIV12PRIV11PRIV10PRIV9PRIV8PRIV7PRIV6PRIV5PRIV4PRIV3PRIV2PRIV1PRIV0
Reset value00000000000000000000000000000000
0x020EXTI_RTSR2(2)Res.Res.Res.Res.RT59RT58Res.Res.Res.Res.RT53Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
Reset value000
0x024EXTI_FTSR2(2)Res.Res.Res.Res.FT59FT58Res.Res.Res.Res.FT53Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
Reset value000
0x028EXTI_SWIER2(2)Res.Res.Res.Res.SWI59SWI58Res.Res.Res.Res.SWI53Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
Reset value000
0x02CEXTI_RPR2(2)Res.Res.Res.Res.RPIF59RPIF58Res.Res.Res.Res.RPIF53Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
Reset value000
0x030EXTI_FPR2(2)Res.Res.Res.Res.FPIF59FPIF58Res.Res.Res.Res.FPIF53Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
Reset value000
0x034EXTI_SECCFGR2(2)Res.Res.SEC61Res.SEC59SEC58SEC57SEC56SEC55SEC54SEC53SEC52SEC51SEC50SEC49SEC48SEC47SEC46SEC45SEC44SEC43SEC42SEC41SEC40SEC39SEC38SEC37SEC36SEC35SEC34SEC33SEC32
Reset value00000000000000000000000000000
0x038EXTI_PRIVCFGR2(2)Res.Res.PRIV61Res.PRIV59PRIV58PRIV57PRIV56PRIV55PRIV54PRIV53PRIV52PRIV51PRIV50PRIV49PRIV48PRIV47PRIV46PRIV45PRIV44PRIV43PRIV42PRIV41PRIV40PRIV39PRIV38PRIV37PRIV36PRIV35PRIV34PRIV33PRIV32
Reset value00000000000000000000000000000
0x03CReservedReserved
0x040EXTI_RTSR3(1)Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RT66Res.RT64Res.
Reset value000

Table 161. EXTI register map and reset values (continued)

RM0481column_2Extended interrupts and event controller (EXTI)
Offset Register name 31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 21 2 0 19 181716 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0
F T 6 6
6 F T 4
R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s.Re s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s.
Reset value0 0
R e s.SWI6 SWI6
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value0 0
R PIF 6 6
6 R PIF 4
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value0 0
F PIF 6 6
6 F PIF 4
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value0 0
S C6 E 5
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
S C6 E 6
S C6 E 4
Reset value000
P RIV6 6
P RIV6 5
RIV6 P 4
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value000
0x05C ReservedReserved
0x060 EXTI_EXTICR1 EXTI3[7:0] EXTI2[7:0]EXTI1[7:0] EXTI0[7:0]
0x064 EXTI_EXTICR2 EXTI7[7:0] EXTI6[7:0]EXTI5[7:0] EXTI4[7:0]
0x068 EXTI_EXTICR3 EXTI11[7:0] EXTI10[7:0]EXTI9[7:0] EXTI8[7:0]
0x06C EXTI_EXTICR4 EXTI15[7:0] EXTI14[7:0]EXTI13[7:0] EXTI12[7:0]
LO C K
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value0
to ReservedReserved
IM21 IM31 IM2 IM2 IM2 IM2 IM3 IM18 IM19 IM2 IM2 IM2 IM2 IM2IM5 IM10 IM12 IM14 IM16 IM13 IM15 IM17 IM9 IM8 IM7 IM6 IM4 IM3 IM2 IM0
IM1 1 IM1
R e s.E M0 M2 E M4 E M3 E M5 E M6 E M7 E E M8 M9 E M10 E M12 E M14 E M13 E M15 E E M16
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
E M1 1 E M1
IM5 IM5 IM5 IM5 IM5 IM5 IM5 IM5 IM5 R e s.IM3 IM4 IM3 IM3 IM3 IM3 IM3 IM3 IM3 IM4 IM4 IM4 IM4 IM4 IM4 IM4 IM4
R e s.
R e s.
IM51 IM61 Reset value 1 1 1 1 1 1 1 0 1 1 0 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1IM41

Table 161. EXTI register map and reset values (continued)

Extended interrupts and event controller (EXTI)column_2RM0481
Offset Register name 31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 21 2 0 19 18 1716 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0
E M5 9
E M5 8
E M5 3
E M5 0
E M4 9
E M4 6
M3 2 E
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value 0 0 0 0 00 0 IM6 IM6 IM6
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
E M6 6
M6 E 4
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value0 0
2. Some bits in this register are not available on some devices, refer toTable 157 . If not present, consider these bits as
Refer to Section 2.3: Memory organizationfor the register boundary addresses.
  1. 1. Available only on STM32H543/553xx devices.
  2. 2. Some bits in this register are not available on some devices, refer to Table 157. If not present, consider these bits as reserved, and keep them at reset value.

Refer to Section 2.3: Memory organization for the register boundary addresses.