17. Extended interrupts and event controller (EXTI)

The extended interrupts and event controller (EXTI) manages the individual CPU and system wakeup through configurable event inputs. It provides wakeup 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 wakeup 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.

17.1 EXTI main features

The EXTI main features are the following:

The configurable events have the following features:

17.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 71.

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 wakeup, interrupt and event outputs, and their masking.

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

Figure 71. EXTI block diagram

Figure 71. EXTI block diagram. The diagram shows the internal structure of the EXTI block. It includes an AHB interface connected to Registers and hclk. The Registers block is connected to an EXTImux block, which receives inputs from GPIO (IOPort) and Peripherals (Configurable event(15:0)). The EXTImux output goes to an Event trigger block, which also receives a Wake-up signal from Peripherals. The Event trigger output goes to a Masking block. The Masking block has bidirectional connections to Registers and outputs events to the Masking block. The Masking block outputs sys_wake-up and c_wake-up to the PWR block, and it_xti_per(y) to the CPU. The Masking block also outputs c_evt_exti and c_evt_rst to the EVG block. The EVG block contains a Pulse block and receives c_evt_exti and c_evt_rst from the Masking block, and c_fclk from the CPU. The EVG block outputs c_event to the CPU. The CPU block is connected to the EVG block and outputs nvic(x) to the CPU. The EXTI block is labeled at the bottom left. The version number MSv62642V1 is at the bottom right.
Figure 71. EXTI block diagram. The diagram shows the internal structure of the EXTI block. It includes an AHB interface connected to Registers and hclk. The Registers block is connected to an EXTImux block, which receives inputs from GPIO (IOPort) and Peripherals (Configurable event(15:0)). The EXTImux output goes to an Event trigger block, which also receives a Wake-up signal from Peripherals. The Event trigger output goes to a Masking block. The Masking block has bidirectional connections to Registers and outputs events to the Masking block. The Masking block outputs sys_wake-up and c_wake-up to the PWR block, and it_xti_per(y) to the CPU. The Masking block also outputs c_evt_exti and c_evt_rst to the EVG block. The EVG block contains a Pulse block and receives c_evt_exti and c_evt_rst from the Masking block, and c_fclk from the CPU. The EVG block outputs c_event to the CPU. The CPU block is connected to the EVG block and outputs nvic(x) to the CPU. The EXTI block is labeled at the bottom left. The version number MSv62642V1 is at the bottom right.

Table 98. EXTI pin overview

Pin nameI/ODescription
AHB interfaceI/OEXTI register bus interface.
hclkIAHB bus clock and EXTI system clock
Configurable event(y)IAsynchronous wakeup events from peripherals that do not have an associated interrupt and flag in the peripheral
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 wakeup request to PWR for ck_sys and hclk
c_wakeupOWakeup request to PWR for CPU, synchronous to hclk

Table 99. EVG pin overview

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

17.2.1 EXTI connections between peripherals and CPU

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

the EXTI provides a status pending bit that requires to be cleared. It is the EXTI interrupt, associated with the status bit, that interrupts the CPU.

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 wakeup signals are connected to the PWR and are used to wake up the system and the CPU sub-system bus clocks.

17.2.2 EXTI interrupt/event mapping

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

Table 100. EXTI line connections

EXTI LineLine sourceLine type
0-15GPIOConfigurable
16PVD/AVD outputConfigurable
17RTC-
18Reserved-
19TAMP-
20Reserved-
21I2C1 wakeup-
22I2C2 wakeup-
23Reserved-
24I3C wakeup-
25USART1 wakeup-
26USART2 wakeup-
27USART3 wakeup-
28I3C2 wakeup-
29COMP1 output wakeup-
30 - 36Reserved-
37LPUART1 wakeup-
38LPTIM1-
39LPTIM2-
40SPI1 wakeup-
41SPI2 wakeup-
42SPI3 wakeup-
43 - 46Reserved-
47USB wakeup-
Table 100. EXTI line connections (continued)
EXTI LineLine sourceLine type
48Reserved-
49LPTIM2 CH1-
50DTS wakeupConfigurable

17.3 EXTI functional description

The events features are controlled from register bits as follows:

17.3.1 EXTI configurable event input wakeup

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 wakeup event.

Figure 72. Configurable event trigger logic CPU wakeup Block diagram of Configurable event trigger logic CPU wakeup (Figure 72). The diagram illustrates the EXTI logic path from configurable event input(y) through asynchronous edge detection, pulse generation, masking registers (falling/rising trigger selection, software interrupt event, CPU event mask, CPU interrupt mask, pending request), wake-up logic, and output signals including it_exti_per(y), c_evt_rst, c_evt_exti, c_event, c_wake-up, and sys_wake-up.
Block diagram of Configurable event trigger logic CPU wakeup (Figure 72). The diagram illustrates the EXTI logic path from configurable event input(y) through asynchronous edge detection, pulse generation, masking registers (falling/rising trigger selection, software interrupt event, CPU event mask, CPU interrupt mask, pending request), wake-up logic, and output signals including it_exti_per(y), c_evt_rst, c_evt_exti, c_event, c_wake-up, and sys_wake-up.
  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 wakeup (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 wakeup (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.

17.3.2 EXTI mux selection

The EXTI mux allows the selection of GPIOs as interrupts and wakeup. 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 the EXTI external interrupt selection register (EXTI_EXTICR1).

Figure 73. EXTI mux GPIO selection

A block diagram showing the EXTI mux GPIO selection. It illustrates three groups of GPIO pins (PA0-PB0-PC0-Px0, PA1-PB1-PC1-Px1, and PA15-PB15-PC15-Px15) being multiplexed into EXTI lines (EXTI0, EXTI1, and EXTI15).
A block diagram showing the EXTI mux GPIO selection. It illustrates three groups of GPIO pins (PA0-PB0-PC0-Px0, PA1-PB1-PC1-Px1, and PA15-PB15-PC15-Px15) being multiplexed into EXTI lines (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.

17.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 wakeup generation is conditioned by the CPU interrupt mask and CPU event mask.

Table 101. 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 wakeup
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.

17.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 102. 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 102. Register protection overview

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

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

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

17.6 EXTI registers

The EXTI register map is divided in the following sections:

Table 103. 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
0x080 - 0x0BCCPU input event configuration

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

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

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

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

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

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

17.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
Res.Res.PRIV29PRIV28PRIV27PRIV26PRIV25PRIV24Res.PRIV22PRIV21Res.PRIV19Res.PRIV17PRIV16
rwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
PRIV15PRIV14PRIV13PRIV12PRIV11PRIV10PRIV9PRIV8PRIV7PRIV6PRIV5PRIV4PRIV3PRIV2PRIV1PRIV0
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

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

Bits 29:24 PRIVx: Privilege enable on event input x (x = 29 to 24)

0: Event privilege disabled (unprivileged)

1: Event privilege enabled (privileged)

Bit 23 Reserved, must be kept at reset value.

Bits 22:21 PRIVx: Privilege enable on event input x (x = 22 to 21)

0: Event privilege disabled (unprivileged)

1: Event privilege enabled (privileged)

Bit 20 Reserved, must be kept at reset value.

Bit 19 PRIV19: Privilege enable on event input 19

0: Event privilege disabled (unprivileged)

1: Event privilege enabled (privileged)

Bit 18 Reserved, must be kept at reset value.

Bits 17:0 PRIVx: Privilege enable on event input x (x = 17 to 0)

0: Event privilege disabled (unprivileged)

1: Event privilege enabled (privileged)

17.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.RT53Res.Res.RT50Res.Res.
rwrw
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.

Bits 31:22, 20:19, 17:0 Reserved, must be kept at reset value.

Bit 21 RT53: Rising trigger event configuration bit of configurable event input x(1)

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 18 RT50: Rising trigger event configuration bit of configurable event input x(1)

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.

17.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.FT53Res.Res.FT50Res.Res.
rwrw
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.

Bits 31:22, 20:19, 17:0 Reserved, must be kept at reset value.

Bit 21 FT53: Falling trigger event configuration bit of configurable event input x (1)

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 18 FT50: Falling trigger event configuration bit of configurable event input x (1)

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.

17.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.SWI53Res.Res.SWI50Res.Res.
rwrw
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.

Bits 31:22, 20:19, 17:0 Reserved, must be kept at reset value.

Bit 21 SWI53: Software interrupt on event x

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 18 SWI50: Software interrupt on event x

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.

17.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.RPIF53Res.Res.RPIF50Res.Res.
rwrw
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
ST logo
ST logo

Bits 31:22, 20:19, 17:0 Reserved, must be kept at reset value.

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

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 18 RPIF50: configurable event inputs x rising edge pending bit

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.

17.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.FPIF53Res.Res.FPIF50Res.Res.
rwrw
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.

Bits 31:22, 20:19, 17:0 Reserved, must be kept at reset value.

17.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.PRIV53Res.Res.PRIV50PRIV49Res.
rwrwrw
1514131211109876543210
PRIV47Res.Res.Res.Res.PRIV42PRIV41PRIV40PRIV39PRIV38PRIV37Res.Res.Res.Res.Res.
rwrwrwrwrwrwrw

Bits 31:22, 20:19, 16, 14:11, 4:0 Reserved, must be kept at reset value.

Bits 18:17 PRIVx: Privilege enable on event input x (x = 50 to 49)

0: Event privilege disabled (unprivileged)

1: Event privilege enabled (privileged)

Bit 15 PRIV47: Privilege enable on event input x

0: Event privilege disabled (unprivileged)

1: Event privilege enabled (privileged)

Bits 10:5 PRIVx: Privilege enable on event input x (x = 42 to 37)

0: Event privilege disabled (unprivileged)

1: Event privilege enabled (privileged)

17.6.13 EXTI external interrupt selection register (EXTI_EXTICR1)

Address offset: 0x060

(EXTI mux 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 selectio

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

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

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
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
0x07: PH[0] pin
Others: reserved

17.6.14 EXTI external interrupt selection register (EXTI_EXTICR2)

Address offset: 0x064 EXTI mux 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_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
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

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

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

Others: reserved

17.6.15 EXTI external interrupt selection register (EXTI_EXTICR3)

Address offset: 0x068 EXTI mux 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_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

0x02: PC[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

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

0x02: PC[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.

0x00: PA[8] pin

0x01: PB[8] pin

0x02: PC[8] pin

Others: reserved

17.6.16 EXTI external interrupt selection register (EXTI_EXTICR4)

Address offset: 0x06C EXTI mux 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_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.

0x00: PA[15] pin

0x01: PB[15] pin

0x02: PC[15] 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_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

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

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

Others: reserved

17.6.17 EXTI CPU wakeup with interrupt mask register (EXTI_IMR1)

Address offset: 0x080

Reset value: 0xFFFE 0000

Contains register bits for configurable events.

31302928272625242322212019181716
Res.Res.IM29IM28IM27IM26IM25IM24Res.IM22IM21Res.IM19Res.IM17IM16
rwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
IM15IM14IM13IM12IM11IM10IM9IM8IM7IM6IM5IM4IM3IM2IM1IM0
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

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

Bits 29:24 IMx: CPU wakeup with interrupt mask on event input x (1) (x = 29 to 24)

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: Wakeup with interrupt request from input event x is masked.

1: Wakeup with interrupt request from input event x is unmasked.

Bits 22:21 IMx: CPU wakeup with interrupt mask on event input x (1) (x = 22 to 21)

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: Wakeup with interrupt request from input event x is masked.

1: Wakeup with interrupt request from input event x is unmasked.

Bit 19 IM19: CPU wakeup with interrupt mask on event input x (1)

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: Wakeup with interrupt request from input event x is masked.

1: Wakeup with interrupt request from input event x is unmasked.

Bits 17:0 IMx: CPU wakeup with interrupt mask on event input x (1) (x = 17 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: Wakeup with interrupt request from input event x is masked.

1: Wakeup 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.

17.6.18 EXTI CPU wakeup with event mask register (EXTI_EMR1)

Address offset: 0x084

Reset value: 0x0000 0000

31302928272625242322212019181716
Res.Res.EM29EM28EM27EM26EM25EM24Res.EM22EM21Res.EM19Res.EM17EM16
rwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
EM15EM14EM13EM12EM11EM10EM9EM8EM7EM6EM5EM4EM3EM2EM1EM0
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

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

Bits 29:24 EMx: CPU wakeup with event generation mask on event input x (x = 29 to 24)

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: Wakeup with event generation from Line x is masked.

1: Wakeup with event generation from Line x is unmasked.

Bits 22:21 EMx: CPU wakeup with event generation mask on event input x (x = 22 to 21)

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: Wakeup with event generation from Line x is masked.

1: Wakeup with event generation from Line x is unmasked.

Bit 19 EM19: CPU wakeup with event generation mask on event input x

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: Wakeup with event generation from Line x is masked.

1: Wakeup with event generation from Line x is unmasked.

Bits 17:0 EMx: CPU wakeup with event generation mask on event input x (x = 17 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: Wakeup with event generation from Line x is masked.

1: Wakeup with event generation from Line x is unmasked.

17.6.19 EXTI CPU wakeup with interrupt mask register 2 (EXTI_IMR2)

Address offset: 0x090

Reset value: 0x001B FFFF

Contains register bits for configurable events.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.IM53Res.Res.IM50IM49Res.
rwrwrw
1514131211109876543210
IM47Res.Res.Res.Res.IM42IM41IM40IM39IM38IM37Res.Res.Res.Res.Res.
rwrwrwrwrwrwrw

Bits 31:22, 20:19, 16, 14:11, 4:0 Reserved, must be kept at reset value.

Bit 21 IM53: CPU wakeup with interrupt mask on event input x (1)

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: Wakeup with interrupt request from input event x is masked.

1: Wakeup with interrupt request from input event x is unmasked.

Bits 18:17 IMx: CPU wakeup with interrupt mask on event input x (1) (x = 50 to 49)

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: Wakeup with interrupt request from input event x is masked.

1: Wakeup with interrupt request from input event x is unmasked.

Bit 15 IM47: CPU wakeup with interrupt mask on event input x (1)

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: Wakeup with interrupt request from input event x is masked.

1: Wakeup with interrupt request from input event x is unmasked.

Bits 10:5 IMx: CPU wakeup with interrupt mask on event input x (1) (x = 42 to 37)

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: Wakeup with interrupt request from input event x is masked.

1: Wakeup 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.

17.6.20 EXTI CPU wakeup 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.EM53Res.Res.EM50EM49Res.
rwrwrw
1514131211109876543210
EM47Res.Res.Res.Res.EM42EM41EM40EM39EM38EM37Res.Res.Res.Res.Res.
rwrwrwrwrwrwrw

Bits 31:22, 20:19, 16, 14:11, 4:0 Reserved, must be kept at reset value.

Bit 21 EM53: CPU wakeup with event generation mask on event input x

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: Wakeup with event generation from Line x is masked.

1: Wakeup with event generation from Line x is unmasked.

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

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: Wakeup with event generation from Line x is masked.

1: Wakeup with event generation from Line x is unmasked.

Bit 15 EM47: CPU wakeup with event generation mask on event input x

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: Wakeup with event generation from Line x is masked.

1: Wakeup with event generation from Line x is unmasked.

Bits 10:5 EMx: CPU wakeup with event generation mask on event input x (x = 42 to 37)

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: Wakeup with event generation from Line x is masked.

1: Wakeup with event generation from Line x is unmasked.

17.6.21 EXTI register map

Table 104. EXTI register map and reset values

Extended interrupts and event controller (EXTI)column_2RM0492
Offset Register 31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 21 2 01918 17 16 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0
R T 9 R T 8 R T 7 R T 6 R T 5 R T 4 3 R T R T 0
2 R T
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.
T1 1 R
0x000 EXTI_RTSR1R T1
F T 5
F T 9 F T 8 F T 7 F T 6 F T 4 3 F T 2 F T F T 0
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.
T1 1 F
0x004 EXTI_FTSR1F T1
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 PIF 5
R PIF 9
R PIF 8
R PIF 7
R PIF 6
R PIF 4
3 R PIF
2 R PIF
R PIF 0
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.
F PIF 9
F PIF 8
F PIF 7
F PIF 6
F PIF 5
F PIF 4
3 F PIF
F PIF 0
2 F PIF
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.
PIF1 1 F
P RIV 4
P RIV2 9
P RIV2 8
RIV2 P 7
RIV2 6 P
P RIV2 5
P RIV2 4
P RIV2 2
R e s.
R e s.
R e s.
R e s.
R e s.
RIV1 1 P
Reset value 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
R T 3 5
0 R T 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.
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.
R e s.
R e s.
Reset value 00
F T 3 5
0 F T 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.
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.
R e s.
R e s.
Reset value 00
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.
R e s.
R e s.
Reset value 00
R PIF 3 5
0 R PIF 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.
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.
R e s.
R e s.
Reset value 00
F PIF 3 5
0 F PIF 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.
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.
R e s.
R e s.
Reset value 00
P RIV5 3
0 P RIV5
P RIV 4 9
P RIV 4 7
P RIV 4 0
P RIV3 9
P RIV3 8
P RIV3 7
2 P RIV 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.
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.
P RIV 41
Reset value 00 0 0 0 0 0 0 0 0
to 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]

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

OffsetRegister313029282726252423222120191817161514131211109876543210
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
0x074
to
0x07C
ReservedReserved
0x080EXTI_IMR1Res.Res.IM29IM28IM27IM26IM25IM24Res.IM22IM21Res.IM19Res.IM17IM16IM15IM14IM13IM12IM11IM10IM9IM8IM7IM6IM5IM4IM3IM2IM1IM0
Reset value111111111100000000000000000
0x084EXTI_EMR1Res.Res.EM29EM28EM27EM26EM25EM24Res.EM22EM21Res.EM19Res.EM17EM16EM15EM14EM13EM12EM11EM10EM9EM8EM7EM6EM5EM4EM3EM2EM1EM0
Reset value000000000000000000000000000
0x090EXTI_IMR2Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.IM53Res.Res.IM50IM49Res.IM47Res.Res.Res.Res.IM42IM41IM40IM39IM38IM37Res.Res.Res.Res.Res.
Reset value0011111111
0x094EXTI_EMR2Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.EM53Res.Res.EM50EM49Res.EM47Res.Res.Res.Res.EM42EM41EM40EM39EM38EM37Res.Res.Res.Res.Res.
Reset value0000000000
Refer to Section 2.2 for the register boundary addresses.