diff options
author | Damien George <damien@micropython.org> | 2024-09-02 13:06:30 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-12-18 00:22:21 +1100 |
commit | 23bfa95d34e9b6f836ee67a1564e04f7b86eaa36 (patch) | |
tree | 514be47f8e3b2e4b5c79a43a283bf2eec2913262 /docs/esp32/tutorial/pwm.rst | |
parent | a2efafcce3a03e2fd972e2521cae2c2bec2e88ff (diff) | |
download | micropython-23bfa95d34e9b6f836ee67a1564e04f7b86eaa36.tar.gz micropython-23bfa95d34e9b6f836ee67a1564e04f7b86eaa36.zip |
stm32/extint: Fix EXTI IRQ handlers for H5 MCUs.
The existing EXTI IRQ handlers are moved from `stm32_it.c` to `extint.c` to
keep them with related code. A macro is defined to make it easier to
define the handler function that handles one line, and correct handlers
added for STM32H5xx MCUs.
Also, to prevent errors in the future, `MP_STATIC_ASSERT(<irqn> > 0)` is
added to each handler function to check that the correct `IRQn` constant is
used, which corresponds to the handler function name.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/esp32/tutorial/pwm.rst')
0 files changed, 0 insertions, 0 deletions