Table 96. Exti Register Map Sections - STMicroelectronics STM32WL5 Series Reference Manual

Advanced arm-based 32-bit mcus with sub-ghz radio solution
Table of Contents

Advertisement

RM0453
CPU interrupt enable
EXTI_CnIMRm.IMb
1
1. The single it_exti_per(y) interrupt goes to both CPUs. If no interrupt is required for the CPUn, the it_exti_per(y) interrupt
must be masked in the CPUn NVIC.
2. Only if the CPU interrupt is enabled in EXTI_CnIMRm.IMb.
For configurable event inputs, when the enabled edges occur on the event input, an event
request is generated. When the associated it_exti_per(y) interrupt is unmasked, the
corresponding pending bit in EXTI_PR is set, the CPU sub-system wakes up and the CPU
interrupt signal is activated. The EXTI_PR pending bit must be set to 1 by software. This
clears the it_exti_per(y) interrupt.
For direct event inputs, when enabled in the associated peripheral, an event request is
generated on the rising edge only. There is no corresponding CPU pending bit in the EXTI.
When the associated direct event is unmasked in EXTI_IM, the corresponding CPU sub-
system wakes up. The CPU is woken up (interrupted) by the peripheral synchronous
interrupt.
The CPU event must be unmasked in EXTI_EMR to generate an event. When the enabled
edges occur on the event input, a CPU event pulse is generated. There is no event pending
bit.
For the configurable event inputs, an event request can be generated by software, setting to
1 the corresponding bit in the interrupt/event register EXTI_SWIER. This allows the
generation of a rising edge on the event. The edge event pending bit must be set in
EXTI_PR, irrespective of the setting in EXTI_RTSR.
16.6
EXTI registers
The EXTI register map is divided in sections listed in the table below.
0x000 - 0x01C
0x020 - 0x03C
0x080 - 0x0BC
0x0C0 - 0x0FC
All these registers can be accessed with word (32-bit), half-word (16-bit) and byte (8-bit)
access.
Table 95. Masking functionality (continued)
CPU event enable
EXTI_CnEMRm.EMb
0
1

Table 96. EXTI register map sections

Address
General configurable event [31:0] configuration
General configurable event [63:32] configuration
CPU1 input event configuration
CPU2 input event configuration
Extended interrupts and event controller (EXTI)
Configurable
event inputs
it_exti_per(y)
EXTI_PRm.PIFb
Status latched
Status latched
Description
RM0453 Rev 5
(1)
CPUn event
Yes
Masked
Yes
Yes
CPUn
wake-up
(2)
Yes
Yes
513/1450
524

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32WL5 Series and is the answer not in the manual?

This manual is also suitable for:

Stm32wl55 seriesStm32wl54 series

Table of Contents