aboutsummaryrefslogtreecommitdiffstats
path: root/src/hc32f460/main.c
diff options
context:
space:
mode:
authorBoris-Chengbiao Zhou <bobo1239@web.de>2023-06-17 16:43:34 +0200
committerKevinOConnor <kevin@koconnor.net>2023-06-20 12:05:32 -0400
commit623ebf2fb163e01f84a9b6c533a13c91b7c700a0 (patch)
tree00211a0b656b2eba9d2821b7a37546948eeb2d76 /src/hc32f460/main.c
parent2ae3dd2f78ddcae98df445ace4f24c9931c35564 (diff)
downloadkutter-623ebf2fb163e01f84a9b6c533a13c91b7c700a0.tar.gz
kutter-623ebf2fb163e01f84a9b6c533a13c91b7c700a0.tar.xz
kutter-623ebf2fb163e01f84a9b6c533a13c91b7c700a0.zip
hc32f460: Use correct USART for PH2/PB10 pins
This fixes serial communication when selecting the PH2/PB10 pins. The chip datasheet (not reference manual) assigns pins to one of two communication function groups (`Func_Grp1/2`). Pins in group 1 have access to USART1/2 while group 2 has access to USART3/4. PH2/PB10 belong to group 2 so we now correctly use USART3 for them. Signed-off-by: Boris-Chengbiao Zhou <bobo1239@web.de>
Diffstat (limited to 'src/hc32f460/main.c')
0 files changed, 0 insertions, 0 deletions