GD32A50x User Manual
392
When POEN bit is reset, this bit specifies the output state for the channels which
has been configured in output mode.
0: When POEN bit is reset, the channel output signals (CHx_O/MCHx_O) are
disabled.
1: When POEN bit is reset, the channel output signals (CHx_O/MCHx_O) are
enabled, the output enable signals of CHx_O/MCHx_O have some relationship with
CHxEN/ MCHxEN bits in TIMERx_CHCTL2 register.
This bit cannot be modified when PROT[1:0] bit-field in TIMERx_CCHP register is
10 or 11.
9:8
PROT[1:0]
Complementary register protect control
This bit-field specifies the write protection property of registers.
00: Protect disabled. No write protection.
01: PROT mode 0. The ISOx/ISOxN bits in TIMERx_CTL1 register, the BRKEN/
BRKP/OAEN/DTCFG bits in TIMERx_CCHP register, the BRKxP/BRKxEN(x = 0..3)
bits in TIMERx_BRKCFG register and the OAEN/DTCFG bits in TIMERx_FCCHPx
(x = 0..3) register, are writing protected.
10: PROT mode 1. In addition to the registers in PROT mode 0, the CHxP/MCHxP
bits in TIMERx_CHCTL2 register (if related channel is configured in output mode) ,
the ROS/IOS bits in TIMERx_CCHP register and the ROS/IOS bits in
TIMERx_FCCHPx (x = 0..3) register are writing protected.
11: PROT mode 2. In addition to the registers in PROT mode 1, the CHxCOMCTL/
CHxCOMSEN/ CHxCOMADDSEN/ MCHxCOMCTL/ MCHxCOMSEN bits in
TIMERx_CHCTL0/1 and TIMERx_MCHCTL0/1 registers (if the related channel is
configured in output) are writing protected.
This bit-field can be written only once after the system reset. Once the
TIMERx_CCHP register has been written, this bit-field will be writing protected.
7:0
DTCFG[7:0]
Dead time configuration
The relationship between DTVAL value and the duration of dead-time is as follow:
DTCFG[7:5]
The duration of dead-time
3’b0xx
DTCFG[7:0] * t
DTS_CK
3’b10x
(64+ DTCFG[5:0]) * t
DTS_CK
*2
3’b110
(32+ DTCFG[4:0]) * t
DTS_CK
*8
3’b111
(32+ DTCFG[4:0]) * t
DTS_CK
*16
Note:
1. t
DTS_CK
is the period of DTS_CK which is configured by CKDIV[1:0] in
TIMERx_CTL0.
2. This bit can be modified only when PROT [1:0] bit-filed in TIMERx_CCHP register
is 00.
Multi mode channel control register 0 (TIMERx_MCHCTL0)
Address offset: 0x48