SN8P275X Series
8-bit micro-controller build-in 12-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 87
Version 0.7
8.2.2 T0M MODE REGISTER
0D8H
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
T0M
T0ENB T0rate2 T0rate1 T0rate0 TC1X8 TC0X8
-
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, T0 will be 0.5 sec RTC (Low clock must be 32768 cyrstal).
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 3
TC1X8:
TC1 internal clock source control bit.
0 = TC1 internal clock source is Fcpu. TC1RATE is from Fcpu/2~Fcpu/256.
1 = TC1 internal clock source is Fosc. TC1RATE 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.
¾
Note: T0RATE is not available in RTC mode. The T0 interval time is fixed at 0.5 sec.