ML610Q111/ML610Q112 User’s Manual
Chapter 8 Timers
FEUL610Q111
8-40
8.5 Specifying port registers
For enable the timer output (TM9OUT, TMFOUT) function, each related port register needs to be set up. Refer to the
Chapter 15, “Port A” , the Chapter 16 “Port B” and Chapter 17, “Port C” for details of each register.
8.5.1
Functioning PA0 (TM9OUT) as the timer output
Set PA0MD1 bit (bit0 of PAMOD1 register) to “1” and PA0MD0 bit (bit0 of PAMOD0 register) to “1” for specifying the
timer output as the quaternary function of PA0.
Reg. name
PAMOD1 register (Address: 0F255H)
Bit
7
6
5
4
3
2
1
0
Bit name
PA2MD1
PA1MD1
PA0MD1
Data
*
*
1
Reg. name
PAMOD0 register (Address: 0F254H)
Bit
7
6
5
4
3
2
1
0
Bit name
PA2MD0
PA1MD0
PA0MD0
Data
*
*
1
Set PA0C1 bit (bit0 of PACON1 register) to “1” and set PA0C0 bit(bit0 of PACON0 register) to “1”, and set PA0DIR
bit(bit0 of PADIR register) to “0” for specifying the PA0 as CMOS output.
Reg. name
PACON1 register (Address: 0F253H)
Bit
7
6
5
4
3
2
1
0
Bit name
PA2C1
PA1C1
PA0C1
Data
*
*
1
Reg. name
PACON0 register (Address: 0F252H)
Bit
7
6
5
4
3
2
1
0
Bit name
PA2C0
PA1C0
PA0C0
Data
*
*
1
Reg. name
PADIR register (Address: 0F251H)
Bit
7
6
5
4
3
2
1
0
Bit name
PA2DIR
PA1DIR
PA0DIR
Data
*
*
0
Data of PA0D bit (bit0 of PAD register) does not affect to the high speed clock output function, so don’t care the data for
the function.
Reg. name
PAD register (Address: 0F250H)
Bit
7
6
5
4
3
2
1
0
Bit name
PA2D
PA1D
PA0D
Data
*
*
**
- : Bit does not exist.
* : Bit not related to the timer function
** : Don’t care the data.
Содержание 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 ...