Timer 8 Control Register 0 (Tm8Con0) - LAPIS Semiconductor ML610Q174 User Manual

Hide thumbs Also See for ML610Q174:
Table of Contents

Advertisement

8.2.16

Timer 8 Control Register 0 (TM8CON0)

Address: 0F8E2H
Access: R/W
Access size: 8 bits
Initial value: 00H
7
TM8CON0
T8OST
R/W
R
Initial value
0
TM8CON0 is a special function register (SFR) to control timer 8.
Rewrite TM8CON0 while the timer 8 is stopped (T8STAT of the TM8CON1 register is "0").
[Description of Bits]
• T8CS1, T8CS0 (bits 1, 0)
The T8CS1 and T8CS0 bits are used for selecting the operation clock of timer 8. LSCLK, HTBCLK, or the external
clock (P04/T08P0CK) can be selected by these bits.
T8CS1
T8CS0
0
0
0
1
1
0
1
1
• T89M16 (bit 5)
The T89M16 bit is used for selecting the operating mode of timer 8 or timer 9. When the T89M16 bit is set to "1",
timer 8 and timer 9 are connected and they operate as a 16-bit timer.
In 8-bit timer mode, each timer 8 and timer 9 are operate as independent 8-bit timer.
In 16-bit timer mode, timer 8 and timer 9 are connected and they operate as a 16-bit timer.
In 16-bit timer mode, timer 9 is incremented by a timer 8 overflow signal. A timer 8 interrupt (TM8INT) is not
generated.
T89M16
0
8-bit timer mode (initial value)
1
16-bit timer mode
• T8OST (bit 7)
T8OST is a bit which selects the timer mode of a timer 8.If T8OST is set to "1", one shot timer mode can be used.
T8OST
0
Normal timer mode (initial value)
1
One shot timer mode
FEUL610Q174-01
6
5
Τ89Μ16
R
R
R
0
0
LSCLK (initial value)
HTBCLK
Prohibited
External clock
Description
Description
4
3
2
R
R
0
0
0
Description
ML610Q174 User's Manual
Chapter 8
Timers
1
0
T8CS1
T8CS0
R/W
R/W
0
0
8-18

Advertisement

Table of Contents
loading

Table of Contents