circuitpython/ports
Damien George e4f59a0020 stm32/rtc: Use LL_RTC functions to simplify some MCU-specific code.
This also fixes a possible race condition when exiting initialisation mode:
reading then writing to ISR (via ISR &= ~RTC_ISR_INIT) will clear any flags
that were set by the hardware between the read and the write.  The correct
way to clear just the INIT bit is to just do a single write via ISR =
~RTC_ISR_INIT, which will not clear any other flags (they must be written
to 0 to clear), and that is exactly what LL_RTC_DisableInitMode does.

Signed-off-by: Damien George <damien@micropython.org>
2022-02-04 08:35:14 +11:00
..
bare-arm bare-arm/mpconfigport.h: Disable remaining optional features. 2021-11-01 14:23:06 +11:00
cc3200 ports: Consolidate inclusion of umachine module in built-ins. 2022-02-03 10:08:54 +11:00
esp32 ports: Consolidate inclusion of umachine module in built-ins. 2022-02-03 10:08:54 +11:00
esp8266 ports: Consolidate inclusion of umachine module in built-ins. 2022-02-03 10:08:54 +11:00
javascript py/runtime: Allow initialising sys.path/argv with defaults. 2021-12-18 00:08:07 +11:00
mimxrt ports: Consolidate inclusion of umachine module in built-ins. 2022-02-03 10:08:54 +11:00
minimal minimal/mpconfigport.h: Disable features that are not needed. 2021-11-05 13:12:18 +11:00
nrf ports: Consolidate inclusion of umachine module in built-ins. 2022-02-03 10:08:54 +11:00
pic16bit all: Update to point to files in new shared/ directory. 2021-07-12 17:08:10 +10:00
powerpc all: Update to point to files in new shared/ directory. 2021-07-12 17:08:10 +10:00
qemu-arm ports: Consolidate inclusion of umachine module in built-ins. 2022-02-03 10:08:54 +11:00
rp2 ports: Consolidate inclusion of umachine module in built-ins. 2022-02-03 10:08:54 +11:00
samd ports: Consolidate inclusion of umachine module in built-ins. 2022-02-03 10:08:54 +11:00
stm32 stm32/rtc: Use LL_RTC functions to simplify some MCU-specific code. 2022-02-04 08:35:14 +11:00
teensy py/runtime: Allow initialising sys.path/argv with defaults. 2021-12-18 00:08:07 +11:00
unix ports: Consolidate inclusion of umachine module in built-ins. 2022-02-03 10:08:54 +11:00
windows ports: Consolidate inclusion of umachine module in built-ins. 2022-02-03 10:08:54 +11:00
zephyr ports: Consolidate inclusion of umachine module in built-ins. 2022-02-03 10:08:54 +11:00