ML63611 User’s Manual
Chapter 7 Timers (TIMER)
7 – 8
OPTION B (D): 1.5 V (3.0 V), With regulator
circuit for LCD bias
OPTION A (C): 1.5 V (3.0 V), Without regulator
circuit for LCD bias
Timer 1 Registers
bit 1, 0: TM1ECAP, TM1RUN
These bits select the timer 1 operation mode.
The timer 1 operation mode can be selected as auto-reload mode, capture mode, or 16-bit timer mode.
bit 1, 0: TM1CL1, TM1CL0
These bits select the timer 1 clock.
The timer 1 clock can be selected as TBCCLK (low-speed clock), HSCLK (high-speed clock), external
clock (T13CK: secondary function of PB.2), or the timer 0 overflow flag.
When using as a 16-bit timer, select timer 0 overflow for the clock.
Note:
If HSCLK is used as the clock, after ENOSC (bit 1 of FCON) is set to “1”, wait for the following time interval before
starting timer operation.
•
Wait at least 10 ms when using ceramic oscillation.
•
Wait at least 300
µ
s when using RC oscillation.
!
TM1ECAP
TM1RUN
TM1CON0 (072H)
(R/W)
bit 3
bit 2
bit 1
bit 0
Timer 1 mode select
bit 1
0
0
1
1
bit 0
0
1
0
1
: Auto-reload mode stop or 16-bit timer mode (initial value)
: Auto-reload mode operation
: Capture mode stop
: Capture mode operation
TM1CL1
TM1CL0
TM1CON1 (073H)
(R/W)
bit 3
bit 2
bit 1
bit 0
Timer 1 clock select
bit 1
0
0
1
1
bit 0
0
1
0
1
: TBCCLK (initial value)
: HSCLK
: External clock
: Timer 0 overflow (16-bit timer mode)
Содержание ML63611
Страница 9: ...Chapter 1 Overview...
Страница 33: ...Chapter 2 CPU and Memory Spaces...
Страница 42: ...Chapter 3 CPU Control Functions...
Страница 49: ...Chapter 4 Interrupt INT...
Страница 62: ...Chapter 5 Clock Generator Circuit OSC...
Страница 71: ...Chapter 6 Time Base Counter TBC...
Страница 75: ...Chapter 7 Timers TIMER...
Страница 99: ...Chapter 8 100 Hz Timer Counter 100HzTC...
Страница 103: ...Chapter 9 Watchdog Timer WDT...
Страница 108: ...Chapter 10 Ports INPUT I O PORT...
Страница 140: ...Chapter 11 Melody Driver MELODY...
Страница 152: ...Chapter 12 Serial Port SIO...
Страница 179: ...Chapter 13 LCD Driver LCD...
Страница 200: ...Chapter 14 Battery Low Detect Circuit BLD...
Страница 204: ...Chapter 15 Power Supply Circuit POWER...
Страница 215: ...Chapter 16 A D Converter ADC...
Страница 238: ...Appendixes...
Страница 271: ...ML63611 User s Manual First Edition May 2001 Second Edition June 2001 2001 Oki Electric Industry Co Ltd PEUL63611 02...