![GigaDevice Semiconductor GD32A50 Series Скачать руководство пользователя страница 226](http://html.mh-extra.com/html/gigadevice-semiconductor/gd32a50-series/gd32a50-series_user-manual_2225782226.webp)
GD32A50x User Manual
226
31:16
Reserved
Must be kept at reset value
15:0
TMCVALUE[15:0]
Timer compare value
The timer compare value is loaded into the timer counter when the timer is first
enabled, the timer is reset, and the timer is reduced to zero.
8-bit baud counter mode
:
lower 8-bits configure the baud rate divider = (TMCVALUE [7:0] + 1) * 2
upper 8-bits configure the number of bits in each word = (TMCVALUE [15:8] + 1) /
2.
8-bit PWM high mode
:
lower 8-bits configure the high period of the output to (TMCVALUE [7:0] + 1)
upper 8-bits configure the low period of the output to (TMCVALUE [15:8] + 1).
16-bit counter mode
:
baud rate divider = (TMCVALUE [15:0] + 1) * 2.
When the shift clock source is a pin or trigger input, the number of bits of each word
= (TMCVALUE [15:0] + 1) / 2.