summaryrefslogtreecommitdiff
path: root/py/objpolyiter.c
diff options
context:
space:
mode:
authoriabdalkader <i.abdalkader@gmail.com>2022-04-13 16:54:01 +0200
committerDamien George <damien@micropython.org>2022-04-20 15:31:14 +1000
commit71afed1a70d1b783d104d29878be3c44fae7cbcf (patch)
tree0da708e15b4d862c0eb4679eecbe3f1ac71364ea /py/objpolyiter.c
parentb50fe9a6da13bc14cd3fcdba87d715f406d5c913 (diff)
stm32/mphalport: Fix I/O glitches when switching GPIO mode to alt-func.
To avoid any I/O glitches in mp_hal_pin_config, make sure a valid alternate function is set in AFR first before switching the pin mode. When switching from AF to INPUT or OUTPUT, the AF in AFR will remain valid up until the pin mode is switched.
Diffstat (limited to 'py/objpolyiter.c')
0 files changed, 0 insertions, 0 deletions