Realtek RTD2120-series
confidential
29
Register::PWM2_duty_width
0xFF34
Name
Bits
Read/Write
Reset State
Comments
PWM2_ DUT
7:0
R/W
0
PWM2 duty width
Register::PWM_source_select
0xFF35
Name
Bits
Read/Write
Reset State
Comments
reserved
7:6
--
0
Reserved
PWM5_SEL
5:4
R/W
2
00: PWM5 is the same as PWM0
01: PWM5 is the same as PWM1
1x: PWM5 is the same as PWM2
PWM4_SEL
3:2
R/W
1
00: PWM4 is the same as PWM0
01: PWM4 is the same as PWM1
1x: PWM4 is the same as PWM2
PWM3_SEL
1:0
R/W
0
00: PWM3 is the same as PWM0
01: PWM3 is the same as PWM1
1x: PWM3 is the same as PWM2
Watchdog Timer
The Watchdog Timer automatically generates a device reset when it is overflowed. The interval of
overflow is about 0.25 sec to 2 sec(assume crystal is 12MHz) and can be programmed via register
CNT1.
CNT1
N
EN_WDT
BY_CNT3
WDT reset
OSC
0
0
1
1
CNT3
3*2
10
CNT2
2
10
BY_CNT2
Register::WATCHDOG_timer
0xFF36
Name
Bits
Read/Write
Reset State
Comments
WDT_EN
7
R/W
0
0: Disable watchdog timer
1: Enable watchdog timer
CLR_WDT
6
W
0
0: No effect
1: Clear all counters of watchdog
BY_CNT2
5
R/W
0
Signal bypass counter2*
0: signal pass through counter2
1: bypass
BY_CNT3
4
R/W
0
Signal bypass counter3*
0: signal pass through counter3