SNL320
16-Bit LCD Controller
Pull-Up
Resister
In/Out
Pull-Up
Select
Control
I/O
PAD
Data Latch
to internal bus
In/Out
Control
I/O Configuration of Port1, Port3 and Port4
Figure-2
In some applications (e.g., Infra Red, IR), an output port needs to be modulated a carry
signal. In the cases, the routine of modulation will occupy too many CPU computations.
Thus, a modulation circuit is built in chip to reduce CPU’s loading.
IREN
P3.2
I/O Pad
overflow
Timer2
Figure-3
The modulation function will be active when the control bit “IREN” set to “1”. And
setting timer2 can generate the frequency of carry signal.
8. TIMER/COUNTER
SNL320 provides three 8-bit timer/event counters (T0/T1/T2). Each timer is 8-bit
binary up-count timer with pre-scalar and auto-reload function. Timer 0 (T0) was
used when voice playing, so user should avoid to use T0.
Ver: 1.2
10
July 22, 2005