ML610Q111/ML610Q112 User’s Manual
Chapter 8 Timers
FEUL610Q111
8-13
8.2.9
Timer 9 Counter Register (TM9C)
Address: 0F8E5H
Access: R/W
Access size: 8 bits
Initial value: 00H
7
6
5
4
3
2
1
0
TM9C
T9C7
T9C6
T9C5
T9C4
T9C3
T9C2
T9C1
T9C0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value
0
0
0
0
0
0
0
0
TM9C is a special function register (SFR) that functions as an 8-bit binary counter.
When write operation to TM9C is performed, TM9C is set to “00H”. The data that is written is meaningless.
In 16-bit timer mode, both the low-order TM8C and the high-order TM9C are set to “00H” when write operation to either
the low-order or the high-order is performed. Write to the register while the timer 9 is stopped (in 8-bit timer mode,
T9STAT and T9RUN of TM9CON1 are “0”, in 16-bit timer mode, T8STAT and T8RUN of TM8CON1 are “0”).
When reading TM9C in 16-bit timer mode, be sure to read TM8C first since the count value of TM9C is stored in the
TM9C latch when TM8C is read.
During timer operation, the contents of TM9C may not be read depending on the conditions of the timer clock and the
system clock.
Table 8-2 shows whether a TM9C read is enabled or disabled during timer operation for each condition of the timer clock
and system clock.
Table 8-2 TM9C Read Enable/Disable during Timer Operation
Timer clock
T9CK
System clock
SYSCLK
TM9C read enable/disable
LSCLK
LSCLK
Read enabled
LSCLK
HSCLK
Read enabled. However, to prevent the reading of undefined
data during counting up, read consecutively TM9C twice until the
last data matched the previous data.
HTBCLK
LSCLK
Read disabled
HTBCLK
HSCLK
Read enabled
1/2 HTBCLK to
1/64 HTBCLK
LSCLK
Read disabled.
1/2 HTBCLK to
1/64 HTBCLK
HSCLK
Read enabled. However, to prevent the reading of undefined
data during counting up, read consecutively TM9C twice until the
last data matched the previous data.
PLLCLK
LSCLK
Read disabled.
PLLCLK
HSCLK
Read disabled.
Содержание ML610Q111
Страница 1: ...ML610Q111 ML610Q112 User s Manual Issue Date Nov 16 2016 FEUL610Q111 05 ...
Страница 14: ...Chapter 1 Overview ...
Страница 26: ...Chapter 2 CPU and Memory Space ...
Страница 34: ...Chapter 3 Reset Function ...
Страница 38: ...Chapter 4 MCU Control Function ...
Страница 53: ...Chapter 5 Interrupts INTs ...
Страница 81: ...Chapter 6 Clock Generation Circuit ...
Страница 95: ...Chapter 7 Time Base Counter ...
Страница 103: ...Chapter 8 Timers ...
Страница 145: ...Chapter 9 Watchdog Timer ...
Страница 153: ...Chapter 10 PWM ...
Страница 199: ...Chapter 11 Synchronous Serial Port ...
Страница 212: ...Chapter 12 UART ...
Страница 240: ...Chapter 13 I2 C Bus Interface Master ...
Страница 254: ...Chapter 14 I2 C Bus Interface Slave ...
Страница 269: ...Chapter 15 Port A ...
Страница 279: ...Chapter 16 Port B ...
Страница 291: ...Chapter 17 Port C ...
Страница 303: ...Chapter 18 Port D ...
Страница 312: ...Chapter 19 Port AB Interrupts ...
Страница 317: ...Chapter 20 Successive Approximation Type A D Converter ...
Страница 335: ...Chapter 21 Voltage Level Supervisor ...
Страница 342: ...Chapter 22 Analog Comparator ...
Страница 353: ...Chapter 23 Data Flash Memory ...
Страница 373: ...Chapter 24 On chip Debug ...
Страница 375: ...Appendixes ...
Страница 393: ...Appendix E ...
Страница 398: ...Revision History ...