sm59d04g2 SyncMOS Technologies,Inc, sm59d04g2 Datasheet - Page 53

no-image

sm59d04g2

Manufacturer Part Number
sm59d04g2
Description
8-bits Micro-controller 16kb+ Isp Flash & 1kb Ram Embedded
Manufacturer
SyncMOS Technologies,Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
sm59d04g2C25JP
0
12 Expanded External Interrupt (EEI) interface
SM59D04G2 implements an EEI interface allowing the connection of an 8xn matrix keyboard. It is
based on 8 inputs with programmable interrupt capability for either high or low levels. These inputs
are available as an alternate function of P1 and allow to exit from idle and power-down modes given
in Section 14.
The EEI interfaces with the CPU core through 3 SFR: KBLS, the EEI Level Selection register, KBE,
the EEI Enable register, and KBF, the EEI Flag register.
The EEI inputs are considered as 8 independent interrupt sources sharing the same interrupt vector.
Figure 12-1 shows that each EEI input has the capability to detect a programmable level according
to KBLS.x bit value. Level detection is then reported in interrupt flags KBF.X that can be masked by
software using KBE.x bits. An interrupt enable bit (KBD in IE1) allows global enable or disable of the
keyboard interrupt as in Fig. 12-2.
This structure allows keyboard arrangements from 1xn to 8xn matrix, and allows usage of P1 inputs
for other purpose. P1 inputs allow exiting from the idle and power-down modes
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M031
Figure 12.1 EEI interface Block Diagram
Figure 12.2 EEI input Circuitry
53
16KB+ ISP Flash & 1KB RAM embedded
Ver.C SM59D04G2 07/2009
8-Bits Micro-controller
EEI Interface
Interrupt Request
SM59D04G2

Related parts for sm59d04g2