Page 75
TMP86PM29BUG
8.3
Function
TC1 has four operating modes. The timer mode of the TC1 is used at warm-up when switching form SLOW mode
to NORMAL2 mode.
8.3.1
Timer mode
In this mode, counting up is performed using the internal clock. The contents of TREGIA are compared with
the contents of up-counter. If a match is found, an INTTC1 interrupt is generated, and the counter is cleared.
Counting up resumes after the counter is cleared.
Note: When fc is selected for the source clock in SLOW mode, the lower bits 11 of TREG1A is invalid, and a match of the upper
bits 7 makes interrupts.
TC1 status register
TC1SR
(0016H)
7
6
5
4
3
2
1
0
HECF
HEOVF
"0"
"0"
"0"
"0"
"0"
"0"
(Initial value: 0000 0000)
HECF
Operating Status monitor
0:
1:
Stop (during Tb) or disable
Under counting (during Ta)
Read
only
HEOVF
Counter overflow monitor
0:
1:
No overflow
Overflow status
Table 8-1 Source clock (internal clock) of Timer/Counter 1
Source Clock
Resolution
Maximum Time Setting
NORMAL1/2, IDLE1/2 Mode
SLOW Mode
SLEEP Mode
fc = 16 MHz
fs =32.768
kHz
fc = 16 MHz
fs =32.768
kHz
DV7CK = 0
DV7CK = 1
fc/2
23
[Hz]
fs/2
15
[Hz]
fs/2
15
[Hz]
fs/2
15
[Hz]
0.52 s
1 s
38.2 h
72.8 h
fc/2
13
fs/2
5
fs/2
5
fs/2
5
512 ms
0.98 ms
2.2 min
4.3 min
fc/2
11
fs/2
3
fs/2
3
fs/2
3
128 ms
244 ms
0.6 min
1.07 min
fc/2
7
fc/2
7
-
-
8 ms
-
2.1 s
-
fc/2
3
fc/2
3
-
-
0.5 ms
-
131.1 ms
-
fc
fc
fc (Note)
-
62.5 ns
-
16.4 ms
-
fs
fs
-
-
-
30.5 ms
-
8 s
Summary of Contents for TLCS-870/C Series
Page 1: ...8 Bit Microcontroller TLCS 870 C Series TMP86PM29BUG ...
Page 6: ...TMP86PM29BUG ...
Page 7: ...Revision History Date Revision 2007 10 11 1 First Release 2008 8 29 2 Contents Revised ...
Page 9: ......
Page 15: ...vi ...
Page 19: ...Page 4 1 3 Block Diagram TMP86PM29BUG 1 3 Block Diagram Figure 1 2 Block Diagram ...
Page 23: ...Page 8 1 4 Pin Names and Functions TMP86PM29BUG ...
Page 48: ...Page 33 TMP86PM29BUG ...
Page 49: ...Page 34 2 Operational Description 2 3 Reset Circuit TMP86PM29BUG ...
Page 61: ...Page 46 3 Interrupt Control Circuit 3 8 External Interrupts TMP86PM29BUG ...
Page 81: ...Page 66 6 Watchdog Timer WDT 6 3 Address Trap TMP86PM29BUG ...
Page 135: ...Page 120 10 8 Bit TimerCounter TC5 TC6 10 1 Configuration TMP86PM29BUG ...
Page 145: ...Page 130 11 Asynchronous Serial interface UART 11 9 Status Flag TMP86PM29BUG ...
Page 165: ...Page 150 13 10 bit AD Converter ADC 13 6 Precautions about AD Converter TMP86PM29BUG ...
Page 183: ...Page 168 15 LCD Driver 15 4 Control Method of LCD Driver TMP86PM29BUG ...
Page 201: ...Page 186 18 Electrical Characteristics 18 9 Handling Precaution TMP86PM29BUG ...
Page 203: ...Page 188 19 Package Dimensions TMP86PM29BUG ...
Page 205: ......