EM73866
4-BIT MICRO-CONTROLLER FOR LCD PRODUCT
IPSA
00
01
10
11
INTERNAL PULSE-RATE SELECTION
Low-frequency
With low-frequency double
NORMAL mode
SLOW mode
NORMAL mode
SLOW mode
LXIN/23 Hz
Reserved
LXIN/22 Hz
Reserved
LXIN/27 Hz
LXIN/27 Hz
LXIN/26 Hz
LXIN/26 Hz
LXIN/211 Hz
LXIN/211 Hz
LXIN/210 Hz
LXIN/210 Hz
LXIN/215 Hz
LXIN/215 Hz
LXIN/214 Hz
LXIN/214 Hz
IPSB
00
01
10
11
INTERNAL PULSE-RATE SELECTION
Low-frequency
With low-frequency double
NORMAL mode
SLOW mode
NORMAL mode
SLOW mode
Depend on high speed timer/counter
Depend on high speed timer/counter
LXIN/25 Hz
LXIN/25 Hz
LXIN/24 Hz
LXIN/24 Hz
LXIN/29 Hz
LXIN/29 Hz
LXIN/28 Hz
LXIN/28 Hz
LXIN/213 Hz
LXIN/213 Hz
LXIN/212 Hz
LXIN/212 Hz
TIMER/COUNTER FUNCTION
Timer/counter A can be programmable for timer, event counter and pulse width measurement. Each timer/
counter can execute any one of these functions independly.
EVENT COUNTER MODE
For event counter mode, timer/counter increases one at any rising edge of P8.1/TRGB for timerB (P7.0/
TRGA for timer A). When timerB (timerA) counts overflow, it will give interrupt control an interrupt request
TRGB (TRGA).
P8.1/TRGB (P7.0/TRGA)
TimerB (TimerA) value n n+1
n+2
PROGRAM EXAMPLE: Enable timerA with P28
LDIA #0100B ;
OUTA P28 ; Enable timerA with event counter mode
n+3 n+4 n+5 n+6
TIMER MODE
For timer mode, timer/counter increase one at any rising edge of internal pulse. User can choose 4 kinds of
internal pulse rate by setting IPSB for timerB (IPSA for timerA).
When timer/counter counts overflow, TRGB (TRGA) will be generated to interrupt control unit.
Internal pulse
TimerB (TimerA )value n n+1 n+2 n+3 n+4 n+5 n+6 n+7
* This specification are subject to be changed without notice.
12.29.1999 18