GD32F10x User Manual
301
the UPG bit in the TIMERx_SWEVG register is set
001: Enable. When a conter start event occurs, a TRGO trigger signal is output. The
counter start source :
CEN control bit is set
The trigger input in pause mode is high
010: When an update event occurs, a TRGO trigger signal is output. The update
source depends on UPDIS bit and UPS bit.
011: When a capture or compare pulse event occurs in channel0, a TRGO trigger
signal is output.
100: When a compare event occurs, a TRGO trigger signal is output. The compare
source is from O0CPRE.
101: When a compare event occurs, a TRGO trigger signal is output. The compare
source is from O1CPRE.
110: When a compare event occurs, a TRGO trigger signal is output. The compare
source is from O2CPRE.
111: When a compare event occurs, a TRGO trigger signal is output. The compare
source is from O3CPRE.
3
DMAS
DMA request source selection
0: When capture or compare event occurs, the DMA request of channel x is sent
1: When update event occurs, the DMA request of channel x is sent.
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 by when CMTG bit is set.
1: The shadow registers update by 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 based 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
Reset value: 0x0000 0000
This register has to be accessed by word (32-bit)
Содержание GD32F10 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F10x Arm Cortex M3 32 bit MCU User Manual Revision 2 6 Jun 2022 ...
Страница 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Страница 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Страница 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Страница 427: ...GD32F10x User Manual 427 value ...
Страница 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...