20. 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 multiplexer IO port selection.

20.1 EXTI main features

The EXTI main features are the following:

The asynchronous event inputs are classified in two groups:

20.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 the EXTI multiplexer as shown in Figure 116.

The register block contains all the EXTI registers.

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

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

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

Figure 116. EXTI block diagram

Figure 116: EXTI block diagram. The diagram shows the internal structure of the EXTI block. It includes an AHB interface connected to a Registers block. The Registers block is connected to an EXTI mux, which receives inputs from GPIO (IOPort) and Peripherals (Configurable event(y)). The EXTI mux output goes to an Event trigger block, which then feeds into a Masking block. The Masking block has outputs for sys_wake-up and c_wake-up to the PWR block, and it also feeds into an EVG (Event Generator) block. The EVG block contains a Pulse generator and is connected to the CPU via rxev and nvic(x) signals. The EVG also receives c_evt_exti and c_evt_rst signals. The Masking block also outputs it_exti_per(y) to the CPU. The EXTI block also has an output exti_ilac and exti[15:0] to the interconnect. The EXTI block is labeled MSv62642V1.
Figure 116: EXTI block diagram. The diagram shows the internal structure of the EXTI block. It includes an AHB interface connected to a Registers block. The Registers block is connected to an EXTI mux, which receives inputs from GPIO (IOPort) and Peripherals (Configurable event(y)). The EXTI mux output goes to an Event trigger block, which then feeds into a Masking block. The Masking block has outputs for sys_wake-up and c_wake-up to the PWR block, and it also feeds into an EVG (Event Generator) block. The EVG block contains a Pulse generator and is connected to the CPU via rxev and nvic(x) signals. The EVG also receives c_evt_exti and c_evt_rst signals. The Masking block also outputs it_exti_per(y) to the CPU. The EXTI block also has an output exti_ilac and exti[15:0] to the interconnect. The EXTI block is labeled MSv62642V1.

Table 167. EXTI signals

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

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

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

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.

20.2.2 EXTI interrupt/event mapping

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

Table 169. EXTI line connections

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

Table 169. EXTI line connections (continued)

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

Table 169. EXTI line connections (continued)

EXTI LineLine sourceLine type
60OTGHS wake-up-
61I3C2 wake-up-
62ADF1-
63MDF1-
64play1_out14Configurable
65IWDG-
66VDDIO2 voltage monitorConfigurable

20.3 EXTI functional description

The events features are controlled from the register bits as follows:

20.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 subsystem bus clocks and generate an EXTI pending flag and interrupt to the CPU, and/or a CPU wake-up event.

Figure 117. Configurable event trigger logic CPU wake-up

Figure 117: Block diagram of EXTI Configurable event trigger logic CPU wake-up, showing input signals (Configurable event input(y), hclk), logic gates, registers (Falling trigger selection, Rising trigger selection, Software interrupt event, CPU event mask, CPU interrupt mask, Pending request), Edge detection circuit, EVG, and outputs (it_exti_per(y), c_event, c_wake-up, sys_wake-up).
Figure 117: Block diagram of EXTI Configurable event trigger logic CPU wake-up, showing input signals (Configurable event input(y), hclk), logic gates, registers (Falling trigger selection, Rising trigger selection, Software interrupt event, CPU event mask, CPU interrupt mask, Pending request), Edge detection circuit, EVG, and outputs (it_exti_per(y), c_event, c_wake-up, sys_wake-up).

1. Only for the input events that support the 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.

20.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 118. EXTI direct events

Block diagram of EXTI direct events showing the internal logic for wake-up and event generation.

This block diagram illustrates the internal logic of the EXTI for direct events. It shows the AHB interface and hclk entering the EXTI block. A direct event input(y) is processed through a delay and an asynchronous rising edge detection circuit. The output of this circuit, along with other CPU events(x,y), is fed into a rising edge detection circuit. This circuit's output, c_evt_exti, is then processed by a CPU rising edge detection pulse generator (EVG) to produce c_event. The diagram also shows the generation of wake-up signals: CPU wake-up(y) and sys_wakeup, which are derived from the rising edge detection circuit and other wake-up signals. The EXTI block also contains a peripheral interface with CPU event mask register and CPU interrupt mask register. The diagram is labeled MSv70446V1.

Block diagram of EXTI direct events showing the internal logic for wake-up and event generation.

20.3.3 EXTI multiplexer selection

The EXTI multiplexer allows the selection of GPIOs as interrupts and wake-up. GPIOs are connected via 16 EXTI multiplexer lines to the first 16 EXTI events as configurable event. The selection of GPIO port as EXTI multiplexer output is controlled in the .

Figure 119. EXTI multiplexer GPIO selection

Block diagram showing the EXTI multiplexer GPIO selection for various ports.

This block diagram shows the EXTI multiplexer GPIO selection. It displays three multiplexers labeled EXTI0, EXTI1, and EXTI15. Each multiplexer has multiple input pins: EXTI0 has PA0, PB0, PC0, and Px0; EXTI1 has PA1, PB1, PC1, and Px1; EXTI15 has PA15, PB15, PC15, and Px15. The diagram is labeled MS44726V1.

Block diagram showing the EXTI multiplexer GPIO selection for various ports.

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

20.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 170. 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 the 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 subsystem 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.

20.5 EXTI event protection

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

Table 171. Register protection overview

Register nameAccess typeProtection(1)(2)
EXTI_RTSRRWSecurity and privilege can be bit-wise enabled in EXTI_SECCFGR and EXTI_PRIVCFGR.
EXTI_FTSRRW
EXTI_SWIERRW
EXTI_RPRRW
EXTI_FPRRW
EXTI_SECCFGRRWAlways secure. Privilege can be bit-wise enabled in EXTI_PRIVCFGR.
EXTI_PRIVCFGRRWAlways privilege. Security can be bit-wise enabled in EXTI_SECCFGR.
EXTI_EXTICRnRWSecurity and privilege can be bit-wise enabled in EXTI_SECCFGR and EXTI_PRIVCFGR.
EXTI_LOCKRRWAlways secure
EXTI_IMRWSecurity and privilege can be bit-wise enabled in EXTI_SECCFGR and EXTI_PRIVCFGR.
EXTI_EMRRW
  1. 1. Security is enabled with the individual input event (EXTI_SECCFGR register).
  2. 2. Privilege is enabled with the individual input event (EXTI_PRIVCFGR register).

20.5.1 EXTI security protection

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

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

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

20.5.2 EXTI privilege protection

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

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

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

20.6 EXTI registers

The EXTI register map is divided in the following sections:

Table 172. EXTI register map sections

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

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

20.6.1 EXTI rising trigger selection register (EXTI_RTSR1)

Address offset: 0x000

Reset value: 0x0000 0000

It contains only register bits for configurable events.

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

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

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

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

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

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

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

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

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

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

  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.

20.6.2 EXTI falling trigger selection register (EXTI_FTSR1)

Address offset: 0x004

Reset value: 0x0000 0000

It contains only register bits for configurable events.

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

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

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

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

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

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

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

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

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

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

20.6.3 EXTI software interrupt event register (EXTI_SWIER1)

Address offset: 0x008

Reset value: 0x0000 0000

It 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)

20.6.4 EXTI rising edge pending register (EXTI_RPR1)

Address offset: 0x00C

Reset value: 0x0000 0000

It contains only register bits for configurable events.

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

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

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

20.6.5 EXTI falling edge pending register (EXTI_FPR1)

Address offset: 0x010

Reset value: 0x0000 0000

It contains only register bits for configurable events.

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

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

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

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

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

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

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

0: No falling edge trigger request occurred

1: Falling edge trigger request occurred

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

20.6.6 EXTI security configuration register (EXTI_SECCFGR1)

Address offset: 0x014

Reset value: 0x0000 0000

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

It contains only register bits for security capable input events.

31302928272625242322212019181716
SEC31SEC30SEC29SEC28SEC27SEC26SEC25SEC24SEC23SEC22SEC21SEC20SEC19SEC18SEC17SEC16
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
SEC15SEC14SEC13SEC12SEC11SEC10SEC9SEC8SEC7SEC6SEC5SEC4SEC3SEC2SEC1SEC0
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

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

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

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

0: Event security disabled (nonsecure)

1: Event security enabled (secure)

20.6.7 EXTI privilege configuration register (EXTI_PRIVCFGR1)

Address offset: 0x018

Reset value: 0x0000 0000

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

It contains only register bits for privilege capable input events.

31302928272625242322212019181716
PRIV31PRIV30PRIV29PRIV28PRIV27PRIV26PRIV25PRIV24PRIV23PRIV22PRIV21PRIV20PRIV19PRIV18PRIV17PRIV16
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
PRIV15PRIV14PRIV13PRIV12PRIV11PRIV10PRIV9PRIV8PRIV7PRIV6PRIV5PRIV4PRIV3PRIV2PRIV1PRIV0
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

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

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

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

0: Event privilege disabled (unprivileged)

1: Event privilege enabled (privileged)

20.6.8 EXTI rising trigger selection register 2 (EXTI_RTSR2)

Address offset: 0x020

Reset value: 0x0000 0000

It contains only register bits for configurable events.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Bits 13: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 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.

20.6.9 EXTI falling trigger selection register 2 (EXTI_FTSR2)

Address offset: 0x024

Reset value: 0x0000 0000

It contains only register bits for configurable events.

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

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

Bit 27 FT59: Falling trigger event configuration bit of configurable event input x(1)

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

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

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

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

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

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

Bit 26 FT58: Falling trigger event configuration bit of configurable event input x(1)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Bit 18 FT50: Falling trigger event configuration bit of configurable event input x(1)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Bits 13: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.

20.6.10 EXTI software interrupt event register 2 (EXTI_SWIER2)

Address offset: 0x028

Reset value: 0x0000 0000

It contains only register bits for configurable events.

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

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

Bit 27 SWI59: Software interrupt on event x

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

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

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

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

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

0: Writing 0 has no effect.

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

Bit 26 SWI58: Software interrupt on event x

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

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

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

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

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

0: Writing 0 has no effect.

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

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

Bit 21 SWI53: Software interrupt on event x

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

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

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

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

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

0: Writing 0 has no effect.

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

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

Bit 18 SWI50: Software interrupt on event x

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

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

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

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

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

0: Writing 0 has no effect.

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

Bit 17 SWI49: Software interrupt on event x

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

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

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

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

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

0: Writing 0 has no effect.

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

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

Bit 14 SWI46: Software interrupt on event x

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

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

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

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

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

0: Writing 0 has no effect.

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

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

20.6.11 EXTI rising edge pending register 2 (EXTI_RPR2)

Address offset: 0x02C

Reset value: 0x0000 0000

It contains only register bits for configurable events.

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

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

Bit 27 RPIF59: configurable event inputs x rising edge pending bit

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

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

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

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

0: No rising edge trigger request occurred

1: Rising edge trigger request occurred

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

Bit 26 RPIF58: configurable event inputs x rising edge pending bit

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

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

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

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

0: No rising edge trigger request occurred

1: Rising edge trigger request occurred

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

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

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

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

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

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

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

0: No rising edge trigger request occurred

1: Rising edge trigger request occurred

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

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

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

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

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

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

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

0: No rising edge trigger request occurred

1: Rising edge trigger request occurred

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

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

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

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

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

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

0: No rising edge trigger request occurred

1: Rising edge trigger request occurred

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

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

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

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

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

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

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

0: No rising edge trigger request occurred

1: Rising edge trigger request occurred

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

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

20.6.12 EXTI falling edge pending register 2 (EXTI_FPR2)

Address offset: 0x030

Reset value: 0x0000 0000

It contains only register bits for configurable events.

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

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

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

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

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

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

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

0: No falling edge trigger request occurred

1: Falling edge trigger request occurred

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

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

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

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

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

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

0: No falling edge trigger request occurred

1: Falling edge trigger request occurred

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

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

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

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

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

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

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

0: No falling edge trigger request occurred

1: Falling edge trigger request occurred

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

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

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

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

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

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

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

0: No falling edge trigger request occurred

1: Falling edge trigger request occurred

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

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

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

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

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

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

0: No falling edge trigger request occurred

1: Falling edge trigger request occurred

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

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

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

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

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

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

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

0: No falling edge trigger request occurred

1: Falling edge trigger request occurred

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

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

20.6.13 EXTI security configuration register 2 (EXTI_SECCFGR2)

Address offset: 0x034

Reset value: 0x0000 0000

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

It contains only register bits for privilege capable input events.

31302928272625242322212019181716
SEC63SEC62SEC61SEC60SEC59SEC58SEC57SEC56SEC55SEC54SEC53SEC52SEC51SEC50SEC49SEC48
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
SEC47SEC46SEC45SEC44SEC43SEC42SEC41SEC40SEC39SEC38SEC37SEC36SEC35SEC34SEC33SEC32
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

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

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

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

0: Event security disabled (nonsecure)

1: Event security enabled (secure)

20.6.14 EXTI privilege configuration register 2 (EXTI_PRIVCFGR2)

Address offset: 0x038

Reset value: 0x0000 0000

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

It contains only register bits for security capable input events.

31302928272625242322212019181716
PRIV63PRIV62PRIV61PRIV60PRIV59PRIV58PRIV57PRIV56PRIV55PRIV54PRIV53PRIV52PRIV51PRIV50PRIV49PRIV48
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
PRIV47PRIV46PRIV45PRIV44PRIV43PRIV42PRIV41PRIV40PRIV39PRIV38PRIV37PRIV36PRIV35PRIV34PRIV33PRIV32
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

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

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

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

Nonsecure write to this PRIVx is discarded.

0: Event privilege disabled (unprivileged)

1: Event privilege enabled (privileged)

20.6.15 EXTI rising trigger selection register 3 (EXTI_RTSR3)

Address offset: 0x040

Reset value: 0x0000 0000

It 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.Res.Res.Res.Res.Res.RT66Res.RT64
rwrw

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

Bit 2 RT66: Rising trigger event configuration bit of configurable event input x(1)

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

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

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

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

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

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

Bit 1 Reserved, must be kept at reset value.

Bit 0 RT64: Rising trigger event configuration bit of configurable event input x(1)

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

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

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

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

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

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

  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.

20.6.16 EXTI falling trigger selection register 3 (EXTI_FTSR3)

Address offset: 0x044

Reset value: 0x0000 0000

It 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.Res.Res.Res.Res.Res.FT66Res.FT64
rwrw

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

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

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

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

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

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

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

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

Bit 1 Reserved, must be kept at reset value.

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

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

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

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

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

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

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

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

20.6.17 EXTI software interrupt event register 3 (EXTI_SWIER3)

Address offset: 0x048

Reset value: 0x0000 0000

It 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.Res.Res.Res.Res.Res.SWI66Res.SWI64
rwrw

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

Bit 2 SWI66: Software interrupt on event x

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

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

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

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

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

0: Writing 0 has no effect.

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

Bit 1 Reserved, must be kept at reset value.

Bit 0 SWI64: Software interrupt on event x

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

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

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

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

20.6.18 EXTI rising edge pending register 3 (EXTI_RPR3)

Address offset: 0x04C

Reset value: 0x0000 0000

It 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.Res.Res.Res.Res.Res.RPIF66Res.RPIF64
rwrw

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

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

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

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

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

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

0: No rising edge trigger request occurred

1: Rising edge trigger request occurred

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

Bit 1 Reserved, must be kept at reset value.

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

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

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

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

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

0: No rising edge trigger request occurred

1: Rising edge trigger request occurred

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

20.6.19 EXTI falling edge pending register 3 (EXTI_FPR3)

Address offset: 0x050

Reset value: 0x0000 0000

It 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.Res.Res.Res.Res.Res.FPIF66Res.FPIF64
rwrw

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

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

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

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

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

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

0: No falling edge trigger request occurred

1: Falling edge trigger request occurred

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

Bit 1 Reserved, must be kept at reset value.

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

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

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

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

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

0: No falling edge trigger request occurred

1: Falling edge trigger request occurred

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

20.6.20 EXTI security configuration register 3 (EXTI_SECCFGR3)

Address offset: 0x054

Reset value: 0x0000 0000

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

It contains only register bits for privilege capable input events.

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

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

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

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

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

0: Event security disabled (nonsecure)

1: Event security enabled (secure)

20.6.21 EXTI privilege configuration register 3 (EXTI_PRIVCFGR3)

Address offset: 0x058

Reset value: 0x0000 0000

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

It contains only register bits for security capable input events.

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

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

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

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

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

0: Event privilege disabled (unprivileged)

1: Event privilege enabled (privileged)

20.6.22 EXTI external interrupt selection register (EXTI_EXTICR1)

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

Reset value: 0x0000 0000

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

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

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

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

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

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

0x00: PA3 pin

0x01: PB3 pin

0x02: PC3 pin

0x03: PD3 pin

0x04: PE3 pin

0x05: PF3 pin

0x06: PG3 pin

0x07: PH3 pin

0x08: PI3 pin

0x09: PJ3 pin

0x0A: PK3 pin

Others: reserved

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

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

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

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

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

0x00: PA2 pin

0x01: PB2 pin

0x02: PC2 pin

0x03: PD2 pin

0x04: PE2 pin

0x05: PF2 pin

0x06: PG2 pin

0x07: PH2 pin

0x08: PI2 pin

0x09: PJ2 pin

0x0A: PK2 pin

Others: reserved

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

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

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

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

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

0x00: PA1 pin

0x01: PB1 pin

0x02: PC1 pin

0x03: PD1 pin

0x04: PE1 pin

0x05: PF1 pin

0x06: PG1 pin

0x07: PH1 pin

0x08: PI1 pin

0x09: PJ1 pin

0x0A: PK1 pin

Others: reserved

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

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

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

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

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

0x00: PA0 pin

0x01: PB0 pin

0x02: PC0 pin

0x03: PD0 pin

0x04: PE0 pin

0x05: PF0 pin

0x06: PG0 pin

0x07: PH0 pin

0x08: PI0 pin

0x09: PJ0 pin

0x0A: PK0 pin

Others: reserved

20.6.23 EXTI external interrupt selection register (EXTI_EXTICR2)

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

Reset value: 0x0000 0000

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

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

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

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

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

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

0x00: PA7 pin

0x01: PB7 pin

0x02: PC7 pin

0x03: PD7 pin

0x04: PE7 pin

0x05: PF7 pin

0x06: PG7 pin

0x07: PH7 pin

0x08: PI7 pin

0x09: PJ7 pin

0x0A: PK7 pin

Others: reserved

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

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

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

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

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

0x00: PA6 pin

0x01: PB6 pin

0x02: PC6 pin

0x03: PD6 pin

0x04: PE6 pin

0x05: PF6 pin

0x06: PG6 pin

0x07: PH6 pin

0x08: PI6 pin

0x09: PJ6 pin

0x0A: PK6 pin

Others: reserved

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

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

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

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

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

0x00: PA5 pin

0x01: PB5 pin

0x02: PC5 pin

0x03: PD5 pin

0x04: PE5 pin

0x05: PF5 pin

0x06: PG5 pin

0x07: PH5 pin

0x08: PI5 pin

0x09: PJ5 pin

0x0A: PK5 pin

Others: reserved

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

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

When EXTI_SECCFGR1.SEC4 is disabled, EXTI4 can be accessed with nonsecure and secure access.

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

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

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

0x00: PA4 pin

0x01: PB4 pin

0x02: PC4 pin

0x03: PD4 pin

0x04: PE4 pin

0x05: PF4 pin

0x06: PG4 pin

0x07: PH4 pin

0x08: PI4 pin

0x09: PJ4 pin

0x0A: PK4 pin

Others: reserved

20.6.24 EXTI external interrupt selection register (EXTI_EXTICR3)

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

Reset value: 0x0000 0000

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

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

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

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

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

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

0x00: PA11 pin

0x01: PB11 pin

0x02: PC11 pin

0x03: PD11 pin

0x04: PE11 pin

0x05: PF11 pin

0x06: PG11 pin

0x07: PH11 pin

0x08: PI11 pin

0x09: PJ11 pin

0x0A: PK11 pin

Others: reserved

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

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

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

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

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

0x00: PA10 pin

0x01: PB10 pin

0x02: PC10 pin

0x03: PD10 pin

0x04: PE10 pin

0x05: PF10 pin

0x06: PG10 pin

0x07: PH10 pin

0x08: PI10 pin

0x09: PJ10 pin

0x0A: PK10 pin

Others: reserved

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

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

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

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

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

0x00: PA9 pin

0x01: PB9 pin

0x02: PC9 pin

0x03: PD9 pin

0x04: PE9 pin

0x05: PF9 pin

0x06: PG9 pin

0x07: PH9 pin

0x08: PI9 pin

0x09: PJ9 pin

0x0A: PK9 pin

Others: reserved

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

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

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

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

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

0x00: PA8 pin

0x01: PB8 pin

0x02: PC8 pin

0x03: PD8 pin

0x04: PE8 pin

0x05: PF8 pin

0x06: PG8 pin

0x07: PH8 pin

0x08: PI8 pin

0x09: PJ8 pin

0x0A: PK8 pin

Others: reserved

20.6.25 EXTI external interrupt selection register (EXTI_EXTICR4)

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

Reset value: 0x0000 0000

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

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

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

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

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

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

0x00: PA15 pin

0x01: PB15 pin

0x02: PC15 pin

0x03: PD15 pin

0x04: PE15 pin

0x05: PF15 pin

0x06: PG15 pin

0x07: PH15 pin

0x08: PI15 pin

0x09: PJ15 pin

0x0A: PK15 pin

Others: reserved

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

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

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

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

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

0x00: PA14 pin
0x01: PB14 pin
0x02: PC14 pin
0x03: PD14 pin
0x04: PE14 pin
0x05: PF14 pin
0x06: PG14 pin
0x07: PH14 pin
0x08: PI14 pin
0x09: PJ14 pin
0x0A: PK14 pin
Others: reserved

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

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

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

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

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

0x00: PA13 pin
0x01: PB13 pin
0x02: PC13 pin
0x03: PD13 pin
0x04: PE13 pin
0x05: PF13 pin
0x06: PG13 pin
0x07: PH13 pin
0x08: PI13 pin
0x09: PJ13 pin
0x0A: PK13 pin
Others: reserved

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

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

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

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

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

0x00: PA12 pin
0x01: PB12 pin
0x02: PC12 pin
0x03: PD12 pin
0x04: PE12 pin
0x05: PF12 pin
0x06: PG12 pin
0x07: PH12 pin
0x08: PI12 pin
0x09: PJ12 pin
0x0A: PK12 pin
Others: reserved

20.6.26 EXTI lock register (EXTI_LOCKR)

Address offset: 0x070

Reset value: 0x0000 0000

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

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

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

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

This bit is written once after reset.

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

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

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

Address offset: 0x080

Reset value: 0xFFFE 0000

Contains register bits for configurable events.

31302928272625242322212019181716
IM31IM30IM29IM28IM27IM26IM25IM24IM23IM22IM21IM20IM19IM18IM17IM16
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
IM15IM14IM13IM12IM11IM10IM9IM8IM7IM6IM5IM4IM3IM2IM1IM0
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

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

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

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

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

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

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

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

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

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

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

Address offset: 0x084

Reset value: 0x0000 0000

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

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

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

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

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

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

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

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

Address offset: 0x090

Reset value: 0xF3D9 BFFF

Contains register bits for configurable events.

RM0517column_2Bits 16:0EMx: access.column_5column_6column_7column_8column_9column_10column_11column_12column_13column_14column_15column_16
31302928272625242322212019181716
IM63IM62IM61IM60IM59IM58IM57IM56IM55IM54IM53IM52IM51IM50IM49IM48
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
IM47IM46IM45IM44IM43IM42IM41IM40IM39IM38IM37IM36IM35IM34IM33IM32
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
Bits 31:0IMx: CPU wake-up with interrupt mask on event input x (1) (x = 63 to 0)
RM0517 Rev 1927/3945

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

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

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

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

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

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

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

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

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

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

Address offset: 0x094

Reset value: 0x0000 0000

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Address offset: 0x0A0

Reset value: 0x0000 0002

Contains register bits for configurable events.

RM0517column_2Bit 14EM46:secure access.column_6column_7column_8column_9column_10column_11column_12column_13column_14column_15column_16
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.IM66IM65IM64
rwrwrw
Bits 2:0IMx: CPU wake-up with interrupt mask on event input x (1) (x = 66 to 64)
RM0517 Rev 1929/3945

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

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

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

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

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

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

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

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

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

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

Address offset: 0x0A4

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.Res.Res.Res.Res.Res.EM66Res.EM64
rwrw

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

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

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

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

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

Bit 1 Reserved, must be kept at reset value.

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

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

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

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

20.6.33 EXTI register map

Table 173. EXTI register map and reset values

OffsetRegister313029282726252423222120191817161514131211109876543210
0x000EXTI_RTSR1Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.RT16RT15RT14RT13RT12RT11RT10RT9RT8RT7RT6RT5RT4RT3RT2RT1RT0
Reset value00000000000000000
0x004EXTI_FTSR1Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FT16FT15FT14FT13FT12FT11FT10FT9FT8FT7FT6FT5FT4FT3FT2FT1FT0
Reset value00000000000000000

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

OffsetRegister313029282726252423222120191817161514131211109876543210
0x008EXTI_SWIER1ResResResResResResResResResResResResResResResSWI16SWI15SWI14SWI13SWI12SWI11SWI10SWI9SWI8SWI7SWI6SWI5SWI4SWI3SWI2SWI1SWI0
Reset value0000000000000000
0x00CEXTI_RPR1ResResResResResResResResResResResResResResResRPIF1RPIF1RPIF1RPIF1RPIF1RPIF1RPIF1RPIF9RPIF8RPIF7RPIF6RPIF5RPIF4RPIF3RPIF2RPIF1RPIF0
Reset value0000000000000000
0x010EXTI_FPR1ResResResResResResResResResResResResResResResFPIF16FPIF15FPIF14FPIF13FPIF12FPIF11FPIF10FPIF9FPIF8FPIF7FPIF6FPIF5FPIF4FPIF3FPIF2FPIF1FPIF0
Reset value0000000000000000
0x014EXTI_SECCFGR1SEC31SEC30SEC29SEC28SEC27SEC26SEC25SEC24SEC23SEC22SEC21SEC20SEC19SEC18SEC17SEC16SEC15SEC14SEC13SEC12SEC11SEC10SEC9SEC8SEC7SEC6SEC5SEC4SEC3SEC2SEC1SEC0
Reset value0000000000000000000000000000000
0x018EXTI_PRIVCFGR1PRIV31PRIV30PRIV29PRIV28PRIV27PRIV26PRIV25PRIV24PRIV23PRIV22PRIV21PRIV20PRIV19PRIV18PRIV17PRIV16PRIV15PRIV14PRIV13PRIV12PRIV11PRIV10PRIV9PRIV8PRIV7PRIV6PRIV5PRIV4PRIV3PRIV2PRIV1PRIV0
Reset value0000000000000000000000000000000
0x01CReservedReserved
0x020EXTI_RTSR2ResResResResRT59RT58ResResResResResRT53ResResResResResResResResResResResResResResResResResResRes
Reset value000
0x024EXTI_FTSR2ResResResResFT59FT58ResResResResResFT53ResResResResResResResResResResResResResResResResResResRes
Reset value000
0x028EXTI_SWIER2ResResResResSWI59SWI58ResResResResResSWI53ResResResResResResResResResResResResResResResResResResRes
Reset value000
0x02CEXTI_RPR2ResResResResRPIF59RPIF58ResResResResResRPIF53ResResResRPIF50RPIF49RPIF46ResResResResResResResResResResResResRes
Reset value000000ResResResResResResResResResResResResRes
0x030EXTI_FPR2ResResResResFPIF59FPIF58ResResResResResFPIF53ResResResFPIF50FPIF49FPIF46ResResResResResResResResResResResResRes
Reset value000000ResResResResResResResResResResResResRes
0x034EXTI_SECCFGR2SEC63SEC62SEC61SEC60SEC59SEC58SEC57SEC56SEC55SEC54SEC53SEC52SEC51SEC50SEC49SEC48SEC47SEC46SEC45SEC44SEC43SEC42SEC41SEC40SEC39SEC38SEC37SEC36SEC35SEC34SEC33SEC32
Reset value0000000000000000000000000000000
0x038EXTI_PRIVCFGR2PRIV63PRIV62PRIV61PRIV60PRIV59PRIV58PRIV57PRIV56PRIV55PRIV54PRIV53PRIV52PRIV51PRIV50PRIV49PRIV48PRIV47PRIV46PRIV45PRIV44PRIV43PRIV42PRIV41PRIV40PRIV39PRIV38PRIV37PRIV36PRIV35PRIV34PRIV33PRIV32
Reset value0000000000000000000000000000000
0x03CReservedReserved
0x040EXTI_RTSR3ResResResResResResResResResResResResResResResResResResResResResResResResResResResResRT66RT64RT64
Reset value000
0x044EXTI_FTSR3ResResResResResResResResResResResResResResResResResResResResResResResResResResResResFT66FT64FT64
Reset value000
0x048EXTI_SWIER3ResResResResResResResResResResResResResResResResResResResResResResResResResResResResSWI66SWI64SWI64
Reset value000

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

Improved inter-integrated circuit (I3C) RegisterUsed as controllerRM0517 Used as target
Offset Register 31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 21 2 0 19 181716 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0
6 6 R PIF
R PIF 6 4
R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. Re s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s. R e s.
Reset value0 0
6 6 F PIF
F PIF 6 4
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value0 0
S C6 6 E
S C6 E 5
S C6 E 4
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value000
P RIV6 5
RIV6 6 P
P RIV6 4
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value000
0x05C ReservedReserved
0x060 EXTI_EXTICR1 EXTI3[7:0] EXTI2[7:0]EXTI1[7:0] EXTI0[7:0]
0x064 EXTI_EXTICR2 EXTI7[7:0] EXTI6[7:0]EXTI5[7:0] EXTI4[7:0]
0x068 EXTI_EXTICR3 EXTI11[7:0] EXTI10[7:0]EXTI9[7:0] EXTI8[7:0]
0x06C EXTI_EXTICR4 EXTI15[7:0] EXTI14[7:0]EXTI13[7:0] EXTI12[7:0]
LO C K
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value0
to ReservedReserved
IM9 IM8 IM7 IM6 IM5 IM3
IM4 IM2 IM0
IM1 1 IM1
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
M1 1 E
0x084 EXTI_EMR1E M1
Reset value0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
9 E M5
8 E M5
E M5 3
0 E M5
E M4 9
6 E M4
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value 0 0 0 0 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.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value010

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

OffsetRegister313029282726252423222120191817161514131211109876543210
0x0A4EXTI_EMR3Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.EM66Res.EM64
Reset value00

Refer to Section 2.3 for the register boundary addresses.