SN8P2977
8-Bit Micro-Controller with Regulator, PGIA, 24-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 77
Version 1.7
8.3.3
TC0X8, TC0GN FLAGS
0D8H
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
T0M
T0ENB
T0rate2
T0rate1
T0rate0
-
TC0X8
TC0GN
T0TB
Read/Write
R/W
R/W
R/W
R/W
-
R/W
R/W
R/W
After reset
0
0
0
0
-
0
0
0
Bit 0
T0TB:
RTC clock source control bit.
0 = Disable RTC (T0 clock source from Fcpu).
1 = Enable RTC.
Bit 1
TC0GN:
Enable TC0 Green mode wake up function
0 = Disable.
1 = Enable.
Bit 2
TC0X8:
TC0 internal clock source control bit.
0 = TC0 internal clock source is Fcpu. TC0RATE is from Fcpu/2~Fcpu/256.
1 = TC0 internal clock source is Fosc. TC0RATE is from Fosc/1~Fosc/128.
Bit [6:4]
T0RATE[2:0]:
T0 internal clock select bits.
000 = fcpu/256.
001 = fcpu/128.
…
110 = fcpu/4.
111 = fcpu/2.
Bit 7
T0ENB:
T0 counter control bit.
0 = Disable T0 timer.
1 = Enable T0 timer.
2.
Note: Under TC0 event counter mode (TC0CKS=1), TC0X8 bit and TC0RATE are useless.