16. Extended interrupts and event controller (EXTI)

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 I/O port selection.

16.1 EXTI main features

The EXTI main features are the following:

The asynchronous event inputs are classified in two groups:

16.2 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 58.

The register block contains all 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 I/O port selection on to the EXTI event signal.

Figure 58. EXTI block diagram

Figure 58. EXTI block diagram showing AHB interface, Registers, EXTImux, GPIO, Peripherals (configurable event, direct event), Event trigger, Masking block, EVG pulse generator, PWR interface, and CPU connections.
Figure 58. EXTI block diagram showing AHB interface, Registers, EXTImux, GPIO, Peripherals (configurable event, direct event), Event trigger, Masking block, EVG pulse generator, PWR interface, and CPU connections.

Table 101. EXTI signals

Pin nameI/ODescription
AHB interfaceI/OEXTI register bus interface.
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
IOPort(n)IGPIO block I/O 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_wake-upOAsynchronous system wake-up request to PWR for ck_sys and hclk
c_wake-upOWake-up request to PWR for CPU, synchronous to hclk

Table 102. 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

16.2.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 subsystem bus clocks.

16.2.2 EXTI interrupt/event mapping

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

For the actual availability of some peripherals, check the datasheet or Table 3: Memory map and peripheral register boundary addresses. If not present, consider them as reserved.

Table 103. EXTI line connections

EXTI LineLine sourceLine type
0-15GPIOConfigurable
16PVD outputConfigurable
17RTC-
18TAMP-
19LSE CSS-
20I2C1 wake-up-
21I3C1 wake-up-
22SPI1 wake-up-

Table 103. EXTI line connections (continued)

EXTI LineLine sourceLine type
23SPI2 wake-up-
24SPI3 wake-up-
25USART1 wake-up-
26USART2 wake-up-
27USART3 wake-up-
28UART4 wake-up-
29UART5 wake-up-
30LPUART1 wake-up-
31LPTIM1-
32USB wake-up-
33I2C2 wake-up-
34COMP1 outputConfigurable
35IWDG-
36COMP2 outputConfigurable
37USART6 wake-up-
38UART7 wake-up-
39ETH1 wake-upConfigurable

16.3 EXTI functional description

The events features are controlled from register bits as follows:

16.3.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 59. Configurable event trigger logic CPU wake-up

Figure 59. Configurable event trigger logic CPU wake-up block diagram showing Peripheral interface, registers (Falling trigger selection register, Rising trigger selection register, Software interrupt event register, CPU event mask register, CPU interrupt mask register, Pending request register), Asynchronous edge detection circuit, Delay, Rising edge detect pulse generator, Synch logic, EVG (Event Generator), and output signals including it_exti_per(y), c_event, c_wakeup, sys_wakeup.
Figure 59. Configurable event trigger logic CPU wake-up block diagram showing Peripheral interface, registers (Falling trigger selection register, Rising trigger selection register, Software interrupt event register, CPU event mask register, CPU interrupt mask register, Pending request register), Asynchronous edge detection circuit, Delay, Rising edge detect pulse generator, Synch logic, EVG (Event Generator), and output signals including it_exti_per(y), c_event, c_wakeup, sys_wakeup.

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.

16.3.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 60. EXTI direct events

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

The diagram illustrates the internal logic of the EXTI 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 is fed into a falling edge detect pulse generator. The output of the falling edge detect pulse generator is fed into a logic block that generates CPU event(y) and CPU wake-up(y). The CPU event(y) is then fed into a rising edge detect circuit, which is part of a same circuit for configurable and direct events. The output of the rising edge detect circuit is fed into an EVG (Event Generator) block, which generates the c_event signal. The CPU wake-up(y) is also fed into a logic block that generates c_wakeup and sys_wakeup signals. The diagram also shows the CPU event mask register and CPU interrupt mask register within the EXTI block.

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

16.3.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 a GPIO port as EXTI mux output is controlled in EXTI_EXTICRx (x = 1 to 4).

Figure 61. EXTI mux GPIO selection

Block diagram showing the EXTI mux GPIO selection for EXTI0, EXTI1, and EXTI15.

The diagram shows the EXTI mux GPIO selection for EXTI0, EXTI1, and EXTI15. Each EXTI line (EXTI0, EXTI1, ..., EXTI15) is connected to a multiplexer. The multiplexer for EXTI0 selects from PA0, PB0, PC0, ..., Px0. The multiplexer for EXTI1 selects from PA1, PB1, PC1, ..., Px1. The multiplexer for EXTI15 selects from PA15, PB15, PC15, ..., Px15. The output of each multiplexer is the corresponding EXTI line (EXTI0, EXTI1, ..., EXTI15).

Block diagram showing the EXTI mux GPIO selection for EXTI0, EXTI1, and 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.

16.4 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 104. 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 event 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.

16.5 EXTI event protection

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

Table 105. Register protection overview

Register nameAccess typeProtection(1)
EXTI_RTSRRWPrivilege can be bit-wise enabled in EXTI_PRIVCFGR
EXTI_FTSRRW
EXTI_SWIERRW
EXTI_RPRRW
EXTI_FPRRW
EXTI_PRIVCFGRRWAlways privilege.
EXTI_EXTICRnRWPrivilege can be bit-wise enabled in EXTI_PRIVCFGR.

Table 105. Register protection overview (continued)

Register nameAccess typeProtection(1)
EXTI_IMRWPrivilege can be bit-wise enabled in EXTI_PRIVCFGR.
EXTI_EMRRW

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

16.5.1 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.

16.6 EXTI registers

The EXTI register map is divided in the following sections:

Table 106. EXTI register map sections

Address offsetDescription
0x000 - 0x01CGeneral configurable event [31:0] configuration
0x020 - 0x03CGeneral configurable event [57:32] configuration
0x060 - 0x06CEXTI IO port mux selection
0x070 - 0x0BCCPU input event configuration

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

For the actual availability of some peripherals, check the datasheet or Table 3: Memory map and peripheral register boundary addresses. If not present, consider them as reserved and keep them at reserved value.

16.6.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_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

  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.

16.6.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_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. 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.

16.6.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_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.

16.6.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.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_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.

16.6.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_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.

16.6.6 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: Privilege enable on event input x (x = 31 to 0)

0: Event privilege disabled (unprivileged)

1: Event privilege enabled (privileged)

16.6.7 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.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.RT39Res.Res.RT36Res.RT34Res.Res.
rwrwrw

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

Bit 7 RT39: Rising trigger event configuration bit of configurable event input 39(1)

When EXTI_PRIVCFGR.PRIV39 is disabled, RT39 can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIV39 is enabled, RT39 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

Bits 6:5 Reserved, must be kept at reset value.

Bit 4 RT36: Rising trigger event configuration bit of configurable event input 36(1)

When EXTI_PRIVCFGR.PRIV36 is disabled, RT36 can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIV36 is enabled, RT36 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 3 Reserved, must be kept at reset value.

Bit 2 RT34: Rising trigger event configuration bit of configurable event input 34(1)

When EXTI_PRIVCFGR.PRIV34 is disabled, RT34 can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIV34 is enabled, RT34 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

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

  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.

16.6.8 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.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.FT39Res.Res.FT36Res.FT34Res.Res.
rwrwrw

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

Bit 7 FT39: Falling trigger event configuration bit of configurable event input 39(1)

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

When EXTI_PRIVCFGR.PRIV39 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.

Bits 6:5 Reserved, must be kept at reset value.

Bit 4 FT36: Falling trigger event configuration bit of configurable event input 36(1)

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

When EXTI_PRIVCFGR.PRIV36 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 3 Reserved, must be kept at reset value.

Bit 2 FT34: Falling trigger event configuration bit of configurable event input 34(1)

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

When EXTI_PRIVCFGR.PRIV34 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.

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

  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.

16.6.9 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.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.SWI39Res.Res.SWI36Res.SWI34Res.Res.
rwrwrw

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

Bit 7 SWI39: Software interrupt on event 39

When EXTI_PRIVCFGR.PRIV39 is disabled, SWI39 can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIV39 is enabled, SWI39 can only be accessed with privileged access. Unprivileged write to this SWI39 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 39. This bit is auto cleared by hardware.

Bits 6:5 Reserved, must be kept at reset value.

Bit 4 SWI36: Software interrupt on event 36

When EXTI_PRIVCFGR.PRIV36 is disabled, SWI36 can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIV36 is enabled, SWI36 can only be accessed with privileged access. Unprivileged write to this SWI36 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 36. This bit is auto cleared by hardware.

Bit 3 Reserved, must be kept at reset value.

Bit 2 SWI34: Software interrupt on event 34

When EXTI_PRIVCFGR.PRIV34 is disabled, SWI34 can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIV34 is enabled, SWI34 can only be accessed with privileged access. Unprivileged write to this SWI34 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 34. This bit is auto cleared by hardware.

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

16.6.10 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.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.RPIF39Res.Res.RPIF36Res.RPIF34Res.Res.
rwrwrw

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

Bit 7 RPIF39: configurable event inputs 39 rising edge pending bit

When EXTI_PRIVCFGR.PRIV39 is disabled, RPIF39 can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIV39 is enabled, RPIF39 can only be accessed with privileged access. Unprivileged write to this RPIF39 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.

Bits 6:5 Reserved, must be kept at reset value.

Bit 4 RPIF36: configurable event inputs 36 rising edge pending bit

When EXTI_PRIVCFGR.PRIV36 is disabled, RPIF36 can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIV36 is enabled, RPIF36 can only be accessed with privileged access. Unprivileged write to this RPIF36 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 3 Reserved, must be kept at reset value.

Bit 2 RPIF34: configurable event inputs 34 rising edge pending bit

When EXTI_PRIVCFGR.PRIV34 is disabled, RPIF34 can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIV34 is enabled, RPIF34 can only be accessed with privileged access. Unprivileged write to this RPIF34 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.

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

16.6.11 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.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.FPIF39Res.Res.FPIF36Res.FPIF34Res.Res.
rwrwrw

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

Bit 7 FPIF39: configurable event inputs x falling edge pending bit

When EXTI_PRIVCFGR.PRIV39 is disabled, FPIF39 can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIV39 is enabled, FPIF39 can only be accessed with privileged access. Unprivileged write to this FPIF39 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.

Bits 6:5 Reserved, must be kept at reset value.

Bit 4 FPIF36: configurable event inputs x falling edge pending bit

When EXTI_PRIVCFGR.PRIV36 is disabled, FPIF36 can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.FPIF36 is enabled, FPIF36 can only be accessed with privileged access. Unprivileged write to this FPIF36 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 3 Reserved, must be kept at reset value.

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

When EXTI_PRIVCFGR.PRIV34 is disabled, FPIF34 can be accessed with unprivileged and privileged access.

When EXTI_PRIVCFGR.PRIV34 is enabled, FPIF34 can only be accessed with privileged access. Unprivileged write to this FPIF34 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.

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

16.6.12 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 privilege capable input events.

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.PRIV39PRIV38PRIV37PRIV36PRIV35PRIV34PRIV33PRIV32
rwrwrwrwrwrwrwrw

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

Bits 7:0 PRIVx: Privilege enable on event input x (x = 39 to 32)

0: Event privilege disabled (unprivileged)

1: Event privilege enabled (privileged)

16.6.13 EXTI external interrupt selection register (EXTI_EXTICR1)

Address offset: 0x060

Reset value: 0x0000 0000

EXTI mux 0, 1, 2, 3

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_PRIVCFGR.PRIV3 is disabled, EXTI3 can be accessed with privileged and unprivileged access.

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

0x00: PA[3] pin

0x01: PB[3] pin

0x02: PC[3] pin

0x03: PD[3] pin

0x04: PE[3] pin

0x05: PF[3] pin

0x06: PG[3] pin

0x07: PH[3] 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_PRIVCFGR.PRIV2 is disabled, EXTI2 can be accessed with privileged and unprivileged access.

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

0x00: PA[2] pin
0x01: PB[2] pin
0x02: PC[2] pin
0x03: PD[2] pin
0x04: PE[2] pin
0x05: PF[2] pin
0x06: PG[2] pin
0x07: PH[2] 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_PRIVCFGR.PRIV1 is disabled, EXTI1 can be accessed with privileged and unprivileged access.

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

0x00: PA[1] pin
0x01: PB[1] pin
0x02: PC[1] pin
0x03: PD[1] pin
0x04: PE[1] pin
0x05: PF[1] pin
0x06: PG[1] pin
0x07: PH[1] 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_PRIVCFGR.PRIV0 is disabled, EXTI0 can be accessed with privileged and unprivileged access.

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

0x00: PA[0] pin
0x01: PB[0] pin
0x02: PC[0] pin
0x03: PD[0] pin
0x04: PE[0] pin
0x05: PF[0] pin
0x06: PG[0] pin
0x07: PH[0] pin
Others: reserved

16.6.14 EXTI external interrupt selection register (EXTI_EXTICR2)

Address offset: 0x064

Reset value: 0x0000 0000

EXTI mux 4, 5, 6, 7

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_PRIVCFGR.PRIV7 is disabled, EXTI7 can be accessed with privileged and unprivileged access.

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

0x00: PA[7] pin

0x01: PB[7] pin

0x02: PC[7] pin

0x03: PD[7] pin

0x04: PE[7] pin

0x05: PF[7] pin

0x06: PG[7] 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_PRIVCFGR.PRIV6 is disabled, EXTI6 can be accessed with privileged and unprivileged access.

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

0x00: PA[6] pin

0x01: PB[6] pin

0x02: PC[6] pin

0x03: PD[6] pin

0x04: PE[6] pin

0x05: PF[6] pin

0x06: PG[6] 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_PRIVCFGR.PRIV5 is disabled, EXTI5 can be accessed with privileged and unprivileged access.

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

0x00: PA[5] pin
0x01: PB[5] pin
0x02: PC[5] pin
0x03: PD[5] pin
0x04: PE[5] pin
0x05: PF[5] pin
0x06: PG[5] pin
0x07: PH[5] 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_PRIVCFGR.PRIV4 is disabled, EXTI4 can be accessed with privileged and unprivileged access.

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

0x00: PA[4] pin
0x01: PB[4] pin
0x02: PC[4] pin
0x03: PD[4] pin
0x04: PE[4] pin
0x05: PF[4] pin
0x06: PG[4] pin
0x07: PH[4] pin
Others: reserved

16.6.15 EXTI external interrupt selection register (EXTI_EXTICR3)

Address offset: 0x068

Reset value: 0x0000 0000

EXTI mux 8, 9, 10, 11

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_PRIVCFGR.PRIV11 is disabled, EXTI11 can be accessed with privileged and unprivileged access.

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

0x00: PA[11] pin

0x01: reserved

0x02: PC[11] pin

0x03: PD[11] pin

0x04: PE[11] pin

0x05: PF[11] pin

0x06: PG[11] 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_PRIVCFGR.PRIV10 is disabled, EXTI10 can be accessed with privileged and unprivileged access.

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

0x00: PA[10] pin

0x01: PB[10] pin

0x02: PC[10] pin

0x03: PD[10] pin

0x04: PE[10] pin

0x05: PF[10] pin

0x06: PG[10] 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_PRIVCFGR.PRIV9 is disabled, EXTI9 can be accessed with privileged and unprivileged access.

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

0x00: PA[9] pin

0x01: PB[9] pin

0x02: PC[9] pin

0x03: PD[9] pin

0x04: PE[9] pin

0x05: PF[9] pin

0x06: PG[9] 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_PRIVCFGR.PRIV8 is disabled, EXTI8 can be accessed with privileged and unprivileged access.

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

16.6.16 EXTI external interrupt selection register (EXTI_EXTICR4)

Address offset: 0x06C

Reset value: 0x0000 0000

EXTI mux 12, 13, 14, 15

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_PRIVCFGR.PRIV15 is disabled, EXTI15 can be accessed with privileged and unprivileged access.

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

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_PRIVCFGR.PRIV14 is disabled, EXTI14 can be accessed with privileged and unprivileged access.

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

0x00: PA[14] pin
0x01: PB[14] pin
0x02: PC[14] pin
0x03: PD[14] pin
0x04: PE[14] pin
0x05: PF[14] pin
0x06: PG[14] 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_PRIVCFGR.PRIV13 is disabled, EXTI13 can be accessed with privileged and unprivileged access.

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

0x00: PA[13] pin
0x01: PB[13] pin
0x02: PC[13] pin
0x03: PD[13] pin
0x04: PE[13] pin
0x05: PF[13] pin
0x06: PG[13] 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_PRIVCFGR.PRIV12 is disabled, EXTI12 can be accessed with privileged and unprivileged access.

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

0x00: PA[12] pin
0x01: PB[12] pin
0x02: PC[12] pin
0x03: PD[12] pin
0x04: PE[12] pin
0x05: PF[12] pin
0x06: PG[12] pin
Others: reserved

16.6.17 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_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 in order to disable the interrupt by default.

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

Address offset: 0x084

Reset value: 0x0000 0000

31302928272625242322212019181716
EM31EM30EM29EM28EM27EM26EM25EM24EM23EM22EM21EM20EM19EM18EM17EM16
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
EM15EM14EM13EM12EM11EM10EM9EM8EM7EM6EM5EM4EM3EM2EM1EM0
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

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

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

When EXTI_PRIVCFGR.PRIVx is enabled, EMx 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.

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

Address offset: 0x090

Reset value: 0x0000 000B (for STM32C53x/542/55x/562)

Reset value: 0x0000 007B (for STM32C59x/5A3)

Contains register bits for configurable events.

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.IM39IM38IM37IM36IM35IM34IM33IM32
rwrwrwrwrwrwrwrw

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

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

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 in order to disable the interrupt by default.

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

Address offset: 0x094

Reset value: 0x0000 0000

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.EM39EM38EM37EM36EM35EM34EM33EM32
rwrwrwrwrwrwrwrw

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

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

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

When EXTI_PRIVCFGR.PRIVx is enabled, EMx 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.

16.6.21 EXTI register map

Table 107. EXTI register map and reset values

Region nameStart addressEnd addressSizePage
reset value31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 21 2 019 18 17 16 15 14 1312 1 1 10 98 7 6 5 4 3 2 1 0
reset valueT13
EXTI_RTSR1R T1 1R T1
EXTI_RTSR1R e s.
EXTI_RTSR1R e s.
EXTI_RTSR1R e s.
EXTI_RTSR1R e s.
EXTI_RTSR1R e s.
EXTI_RTSR1R e s.
EXTI_RTSR1R e s.
EXTI_RTSR1R e s.
EXTI_RTSR1R e s.
EXTI_RTSR1R e s.
EXTI_RTSR1R e s.
EXTI_RTSR1Re s.
EXTI_RTSR1R e s.
EXTI_RTSR1R e s.
EXTI_RTSR1R e s.
EXTI_RTSR1R T14 T16 R R T15T10 R R T12 R R T 98 R T R T 7 R T 6 R T 5 R T 4 R T 3 R T 2 R T 0
EXTI_RTSR1R e s.
EXTI_RTSR1R e s.
EXTI_RTSR1R e s.
EXTI_RTSR1R e s.
EXTI_RTSR1R e s.
EXTI_RTSR1R e s.
EXTI_RTSR1R e s.
EXTI_RTSR1R e s.
EXTI_RTSR1R e s.
EXTI_RTSR1R e s.
EXTI_RTSR1R e s.
EXTI_RTSR1Re s.
EXTI_RTSR1R e s.
EXTI_RTSR1R e s.
EXTI_RTSR1R e s.
EXTI_RTSR1F T1 1F T1
EXTI_FTSR1F T14 T16 F F T15T10 F F T12 T13 F F T 98 F T F T 7 F T 6 F T 5 F T 4 F T 3 F T 2 F T 0
EXTI_FTSR1R e s.SWI14 SWI15 SWI16SWI12
EXTI_FTSR1R e s.
EXTI_FTSR1R e s.
EXTI_FTSR1R e s.
EXTI_FTSR1R e s.
EXTI_FTSR1R e s.
EXTI_FTSR1R e s.
EXTI_FTSR1R e s.
EXTI_FTSR1R e s.
EXTI_FTSR1R e s.
EXTI_FTSR1R e s.
EXTI_FTSR1Re s.
EXTI_FTSR1R e s.
EXTI_FTSR1R e s.
EXTI_SWIER1R e s.
EXTI_RPR1R PIF1 1
EXTI_RPR1R PIF14 PIF16 R R PIF15PIF10 R R PIF12 PIF13 RR PIF 5
EXTI_RPR1R PIF 9
EXTI_RPR18 R PIF
EXTI_RPR1R PIF 7
EXTI_RPR1R PIF 6
EXTI_RPR1R PIF 4
EXTI_RPR1R PIF 3
EXTI_RPR1R PIF 2
EXTI_RPR1R PIF 0
EXTI_RPR1R e s.PIF1 R
EXTI_RPR1R e s.
EXTI_RPR1R e s.
EXTI_RPR1R e s.
EXTI_RPR1R e s.
EXTI_RPR1R e s.
EXTI_RPR1R e s.
EXTI_RPR1R e s.
EXTI_RPR1R e s.
EXTI_RPR1R e s.
EXTI_RPR1R e s.
EXTI_RPR1Re s.
EXTI_RPR1R e s.
EXTI_RPR1R e s.
EXTI_RPR1R e s.
EXTI_FPR1F PIF1 1
EXTI_FPR1F PIF14 PIF16 F F PIF15PIF10 F F PIF12 PIF13 FF PIF 5
EXTI_FPR1F PIF 9
EXTI_FPR18 F PIF
EXTI_FPR1F PIF 7
EXTI_FPR1F PIF 6
EXTI_FPR1F PIF 4
EXTI_FPR1F PIF 3
EXTI_FPR1F PIF 2
EXTI_FPR1F PIF 0
EXTI_FPR1R e s.PIF1
EXTI_FPR1R e s.
EXTI_FPR1R e s.
EXTI_FPR1R e s.
EXTI_FPR1R e s.
EXTI_FPR1R e s.
EXTI_FPR1R e s.
EXTI_FPR1R e s.
EXTI_FPR1R e s.
EXTI_FPR1R e s.
EXTI_FPR1R e s.
EXTI_FPR1Re s.
EXTI_FPR1R e s.
EXTI_FPR1R e s.
EXTI_FPR1R e s.
0x014P RIV2 9Reserved
0x014RIV2 8 P
0x014P RIV2 7
0x014P RIV2 5
0x014P RIV2 3
0x014P RIV3 0P RIV15 RIV17 P P RIV18 RIV19 PRIV13 P
0x014P RIV2 6
0x014P RIV2 4
0x014P RIV2 2
0x014P RIV2 0
0x014P RIV1 1
0x014P RIV21 RIV31 PP RIV14 RIV16 PRIV10 P P RIV12RIV5 P P RIV 4
0x014RIV7
0x018 Reset value Reset value0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0RIV9 PRIV1 RIV2 RIV6 RIV8
0x018 Reset value Reset valueReservedR T 3 9
0x018 Reset value Reset valueR T 3 6
0x018 Reset value Reset valueR T 3 4
0x018 Reset value Reset valueR e s.
0x018 Reset value Reset valueR e s.
0x018 Reset value Reset valueR e s.
0x018 Reset value Reset valueR e s.
0x018 Reset value Reset valueR e s.
0x018 Reset value Reset valueR e s.
0x018 Reset value Reset valueR e s.
0x018 Reset value Reset valueR e s.
0x018 Reset value Reset valueR e s.
0x018 Reset value Reset valueR e s.
0x018 Reset value Reset valueR e s.
0x018 Reset value Reset valueRe s.
0x018 Reset value Reset valueR e s.
0x018 Reset value Reset valueR e s.
0x018 Reset value Reset valueR e s.
0x018 Reset value Reset valueR e s.
0x018 Reset value Reset valueR e s.
0x018 Reset value Reset valueR e s.
0x018 Reset value Reset valueR e s.
0x018 Reset value Reset valueR e s.
0x018 Reset value Reset valueR e s.
0x018 Reset value Reset valueR e s.
0x018 Reset value Reset valueR e s.
0x018 Reset value Reset valueR e s.
0x018 Reset value Reset valueR e s.
0x018 Reset value Reset valueR e s.
0x018 Reset value Reset valueR e s.
0x018 Reset value Reset valueR e s.
EXTI_RTSR2R e s.
0x020 Reset value0 0 0
0x020 Reset valueF T 3 9
0x020 Reset valueF T 3 6
0x020 Reset valueF T 3 4
0x020 Reset valueR e s.
0x020 Reset valueR e s.
0x020 Reset valueR e s.
0x020 Reset valueR e s.
0x020 Reset valueR e s.
0x020 Reset valueR e s.
0x020 Reset valueR e s.
0x020 Reset valueR e s.
0x020 Reset valueR e s.
0x020 Reset valueR e s.
0x020 Reset valueR e s.
0x020 Reset valueRe s.
0x020 Reset valueR e s.
0x020 Reset valueR e s.
0x020 Reset valueR e s.
0x020 Reset valueR e s.
0x020 Reset valueR e s.
0x020 Reset valueR e s.
0x020 Reset valueR e s.
0x020 Reset valueR e s.
0x020 Reset valueR e s.
0x020 Reset valueR e s.
0x020 Reset valueR e s.
0x020 Reset valueR e s.
0x020 Reset valueR e s.
0x020 Reset valueR e s.
0x020 Reset valueR e s.
0x020 Reset valueR e s.
EXTI_FTSR2R e s.
0x024 Reset value0 0 0
0x024 Reset valueR e s.
0x024 Reset valueR e s.
0x024 Reset valueR e s.
0x024 Reset valueR e s.
0x024 Reset valueR e s.
0x024 Reset valueR e s.
0x024 Reset valueR e s.
0x024 Reset valueR e s.
0x024 Reset valueR e s.
0x024 Reset valueR e s.
0x024 Reset valueR e s.
0x024 Reset valueRe s.
0x024 Reset valueR e s.
0x024 Reset valueR e s.
0x024 Reset valueR e s.
0x024 Reset valueR e s.
0x024 Reset valueR e s.
0x024 Reset valueR e s.
0x024 Reset valueR e s.
0x024 Reset valueR e s.
0x024 Reset valueR e s.
0x024 Reset valueR e s.
0x024 Reset valueR e s.
0x024 Reset valueR e s.
0x024 Reset valueR e s.
0x024 Reset valueR e s.
0x024 Reset valueR e s.
0x024 Reset valueR e s.
EXTI_SWIER2R e s.
0x028 Reset value0 0 0
0x028 Reset valueR PIF 3 9
0x028 Reset valueR PIF 3 6
0x028 Reset valueR PIF 3 4
0x028 Reset valueR e s.
0x028 Reset valueR e s.
0x028 Reset valueR e s.
0x028 Reset valueR e s.
0x028 Reset valueR e s.
0x028 Reset valueR e s.
0x028 Reset valueR e s.
0x028 Reset valueR e s.
0x028 Reset valueR e s.
0x028 Reset valueR e s.
0x028 Reset valueR e s.
0x028 Reset valueRe s.
0x028 Reset valueR e s.
0x028 Reset valueR e s.
0x028 Reset valueR e s.
0x028 Reset valueR e s.
0x028 Reset valueR e s.
0x028 Reset valueR e s.
0x028 Reset valueR e s.
0x028 Reset valueR e s.
0x028 Reset valueR e s.
0x028 Reset valueR e s.
0x028 Reset valueR e s.
0x028 Reset valueR e s.
0x028 Reset valueR e s.
0x028 Reset valueR e s.
0x028 Reset valueR e s.
0x028 Reset valueR e s.
EXTI_RPR2R e s.
Reset value0 0 0

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

OffsetRegister name
reset value
313029282726252423222120191817161514131211109876543210
0x030EXTI_FPR2Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FPIF39Res.FPIF36Res.FPIF34Res.Res.
Reset value000
0x034Reserved
0x038EXTI_PRIVCFGR2Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PRIV39PRIV38PRIV37PRIV36PRIV35PRIV34PRIV33PRIV32
Reset value00000000
0x03C - 0x05CReserved
0x060EXTI_EXTICR1EXTI3[7:0]EXTI2[7:0]EXTI1[7:0]EXTI0[7:0]
Reset value00000000000000000000000000000000
0x064EXTI_EXTICR2EXTI7[7:0]EXTI6[7:0]EXTI5[7:0]EXTI4[7:0]
Reset value00000000000000000000000000000000
0x068EXTI_EXTICR3EXTI11[7:0]EXTI10[7:0]EXTI9[7:0]EXTI8[7:0]
Reset value00000000000000000000000000000000
0x06CEXTI_EXTICR4EXTI15[7:0]EXTI14[7:0]EXTI13[7:0]EXTI12[7:0]
Reset value00000000000000000000000000000000
0x070 - 0x07CReserved
0x080EXTI_IMR1IM31IM30IM29IM28IM27IM26IM25IM24IM23IM22IM21IM20IM19IM18IM17IM16IM15IM14IM13IM12IM11IM10IM9IM8IM7IM6IM5IM4IM3IM2IM1IM0
Reset value11111111111111100000000000000000
0x084EXTI_EMR1EM31EM30EM29EM28EM27EM26EM25EM24EM23EM22EM21EM20EM19EM18EM17EM16EM15EM14EM13EM12EM11EM10EM9EM8EM7EM6EM5EM4EM3EM2EM1EM0
Reset value00000000000000000000000000000000
0x088 - 0x08CReserved
0x090EXTI_IMR2Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.IM39IM38IM37IM36IM35IM34IM33IM32
Reset value01101011
0x094EXTI_EMR2Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.EM39EM38EM37EM36EM35EM34EM33EM32
Reset value00000000

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