Zilog EZ80190 User Manual
Page 28

eZ80190 Development Kit
User Manual
eZ80Acclaim! Development Platform
UM014108-0810
24
Table 6 lists the memory map addresses to registers that allow access to the
above functions. The register at address
800000h
controls general-pur-
pose port output control and LED anode register functions. The register at
address
800001h
controls the register functions for the LED cathode,
modem reset, and user triggers. Address
800002h
controls general-pur-
pose port data.
General-Purpose Port
The general-purpose port is emulated with the use of the GPIO Output
Control Register and the GPIO Data Register. If bit 7 in the GPIO Output
Control Register is 1, all of the lines on the general-purpose port are con-
figured as inputs. If this bit is 0, all of the lines on the general-purpose
port are configured as outputs. Table 7 lists the multiple functions of the
register.
Table 6. LED and Port Emulation Addresses
Address
Register Function
Access
800000h
LED Anode/General-Purpose Port
Output Control
WR
800001h
LED Cathode/Modem/Trig
WR
800002h
General-Purpose Port Data
RD/WR
Table 7. LED Anode/General-Purpose Port Output Control Register
Function
Bit #
7
6
5
4
3
2
1
0
Anode Col 1
X
Anode Col 2
X
Anode Col 3
X
Anode Col 4
X