![GigaDevice Semiconductor GD32F20 Series User Manual Download Page 362](http://html.mh-extra.com/html/gigadevice-semiconductor/gd32f20-series/gd32f20-series_user-manual_2225801362.webp)
GD32F20x User Manual
362
case, the signal on TRGO is delayed compared to the actual reset.
001: Enable. This mode is useful to start several timers at the same time or to
control a window in which a slave timer is enabled. In this mode the master mode
controller selects the counter enable signal as TRGO. The counter enable signal is
set when CEN control bit is set or the trigger input in pause mode is high. There is
a delay between the trigger input in pause mode and the TRGO output, except if
the master-slave mode is selected.
010: Update. In this mode the master mode controller selects the update event as
TRGO.
011: Capture/compare pulse. In this mode the master mode controller generates a
TRGO pulse when a capture or a compare match occurred in channal0.
100: Compare. In this mode the master mode controller selects the O0CPRE
signal as TRGO
101: Compare. In this mode the master mode controller selects the O1CPRE
signal as TRGO
110: Compare. In this mode the master mode controller selects the O2CPRE
signal as TRGO
111: Compare. In this mode the master mode controller selects the O3CPRE
signal as TRGO
3
DMAS
DMA request source selection
0: DMA request of channel x is sent when capture/compare event occurs.
1: DMA request of channel x is sent when update event occurs.
2
CCUC
Commutation control shadow register update control
When the commutation control shadow enable (for CHxEN, CHxNEN and
CHxCOMCTL bits) are set (CCSE=1), these shadow registers update are
controlled as below:
0: The shadow registers update when CMTG bit is set.
1: The shadow registers update when CMTG bit is set or a rising edge of TRGI
occurs.
When a channel does not have a complementary output, this bit has no effect.
1
Reserved
Must be kept at reset value.
0
CCSE
Commutation control shadow enable
0: The shadow registers for CHxEN, CHxNEN and CHxCOMCTL bits are
disabled.
1: The shadow registers for CHxEN, CHxNEN and CHxCOMCTL bits are enabled.
After these bits have been written, they are updated when commutation event
coming.
When a channel does not have a complementary output, this bit has no effect.
Slave mode configuration register (TIMERx_SMCFG)
Address offset: 0x08
Summary of Contents for GD32F20 Series
Page 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Page 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Page 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Page 385: ...GD32F20x User Manual 385 ...
Page 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...