EM6540 EM Microelectronic, EM6540 Datasheet - Page 7

no-image

EM6540

Manufacturer Part Number
EM6540
Description
(EM65xx) Mask Rom
Manufacturer
EM Microelectronic
Datasheet
3.
Input / Output ports
The EM6504 - MFP version of EM6604 has no input pull-up or pull-down resistors. User has to put
an external resistor if needed in the application. In metal ROM version (EM6604) user can select
resistors described in Electrical parameters and Input/Output port mask option.
For PortC Input/Output selection there is an additional register in EM6504 (register PcOE at address
60hex) instead of metal mask in EM6604.
For PortA Rising/Falling Interrupt edge selection there is an additional register in EM6504 (register
PaIRQedge at address 63hex) instead of metal mask in EM6604.
PortC Input/Output metal options are replaced by register PcOE in EM6504 MFP version.
This register is described below.
Input / Output ports option
A0
A1
A2
A3
C0
C1
C2
C3
the MFP EM6504 option selection is showed by « x » and « PCoex »
PortA interrupt edge
This metal options are replaced by register PaIRQedge in EM6504 MFP version. The register is described
below.
PortA interrupt edge option
I0
I1
I2
I3
the MFP EM6504 PortA interrupt edge option is selected by values in register PaIRQedge
Copyright © 2005, EM Microelectronic-Marin SA
PA0 input
PA1 input
PA2 input
PA3 input
PC0 In/Out
PC1 In/Out
PC2 In/Out
PC3 In/Out
PA0 – IRQ
PA1 – IRQ
PA2 – IRQ
PA3 – IRQ
EM6504
Interrupt on Input’s rising edge
Output
PCoe0
PCoe1
PCoe2
PCoe3
0
Clocked
Pull-Down
R > 1M?
1
PA0r = 1
PA1r = 1
PA2r = 1
PA3r = 1
8
Clocked
Pull-Up
R >
1M?
2
Pull-
Down
R = 30k?
3
7
Interrupt on Input’s falling edge
Pull-Down
R =
150k?
4
Pull-Up
R = 30k?
5
PA0r = 0
PA1r = 0
PA2r = 0
PA3r = 0
9
Pull-Up
R =
150k?
www.emmicroelectronic.com
6
EM65XX
No
Input
Pull-Up
or
Pull-
Down
7
x
x
x
x
x
x
x
x

Related parts for EM6540