ML610Q111/ML610Q112 User’s Manual
Chapter 8 Timers
FEUL610Q111
8-19
8.2.15 Timer 9 Control Register 0 (TM9CON0)
Address: 0F8E6H
Access: R/W
Access size: 8/16 bits
Initial value: 00H
7
6
5
4
3
2
1
0
TM9CON0
T9OST
T9NEG
T9CS2
T9CS1
T9CS0
R/W
R/W
R/W
R/W
R/W
R/W
Initial value
0
0
0
0
0
0
0
0
TM9CON0 is a special function (SFR) to control the Timer 9.
Rewrite TM9CON0 while the Timer 9 is stopped (in 8-bit timer mode, T9STAT and T9RUN of the TM9CON1 is “0”, in
16-bit timer mode, T8STAT and T8RUN of TM8CON1).
[Description of Bits]
•
T9CS2, T9CS1, T9CS0
(bits 2 to 0)
The T9CS2, T9CS1, T9CS0 bits are used to select the operation clock of Timer 9. LSCLK, HTBCLK, 1/64 HTBCLK,
1/16 HTBCLK, 1/8 HTBCLK, 1/4 HTBCLK, 1/2 HTBCLK, and PLLCLK can be selected.
In cases where the 16-bit timer mode has been selected by setting T89M16 of TM8CON0 to “1”, the values of T9CS2,
T9CS1, T9CS0 are invalid.
T9CS2
T9CS1
T9CS0
Description
0
0
0
LSCLK (initial value)
0
0
1
HTBCLK
0
1
0
1/64 HTBCLK
0
1
1
1/16 HTBCLK
1
0
0
1/8 HTBCLK
1
0
1
1/4 HTBCLK
1
1
0
1/2 HTBCLK
1
1
1
PLLCLK
•
T9NEG
(bit 6)
The T9NEG bit is used to select the output logic of TM9OUT. The initial value of TM9OUT output is “0” for the
positive logic, and “1” for the negative logic.
T9NEG
Description
0
Positive logic (initial value)
1
Negative logic
•
T9OST
(bit 7)
The T9OST bit is used to select the operating mode of Timer 9. Continuous mode and one shot mode can be selected.
In cases where the 16-bit timer mode has been selected by setting T89M16 of TM9CON0 to “1”, the value of T9OST is
invalid.
T9OST
Description
0
Continuous mode (initial value)
1
One shot mode
Summary of Contents for ML610Q111
Page 1: ...ML610Q111 ML610Q112 User s Manual Issue Date Nov 16 2016 FEUL610Q111 05 ...
Page 14: ...Chapter 1 Overview ...
Page 26: ...Chapter 2 CPU and Memory Space ...
Page 34: ...Chapter 3 Reset Function ...
Page 38: ...Chapter 4 MCU Control Function ...
Page 53: ...Chapter 5 Interrupts INTs ...
Page 81: ...Chapter 6 Clock Generation Circuit ...
Page 95: ...Chapter 7 Time Base Counter ...
Page 103: ...Chapter 8 Timers ...
Page 145: ...Chapter 9 Watchdog Timer ...
Page 153: ...Chapter 10 PWM ...
Page 199: ...Chapter 11 Synchronous Serial Port ...
Page 212: ...Chapter 12 UART ...
Page 240: ...Chapter 13 I2 C Bus Interface Master ...
Page 254: ...Chapter 14 I2 C Bus Interface Slave ...
Page 269: ...Chapter 15 Port A ...
Page 279: ...Chapter 16 Port B ...
Page 291: ...Chapter 17 Port C ...
Page 303: ...Chapter 18 Port D ...
Page 312: ...Chapter 19 Port AB Interrupts ...
Page 317: ...Chapter 20 Successive Approximation Type A D Converter ...
Page 335: ...Chapter 21 Voltage Level Supervisor ...
Page 342: ...Chapter 22 Analog Comparator ...
Page 353: ...Chapter 23 Data Flash Memory ...
Page 373: ...Chapter 24 On chip Debug ...
Page 375: ...Appendixes ...
Page 393: ...Appendix E ...
Page 398: ...Revision History ...