beautypg.com

Zilog EZ80F91 User Manual

Page 28

background image

eZ80F91 Development Kit

User Manual

UM014220-0508

eZ80 Development Kit

23

GPIO Emulation

GPIO is emulated with the use of the GPIO Output Control Register and
the GPIO Data Register.

Table 9

lists the multiple functions of the register.

The GPIO Data Register receives inputs or provides outputs for each of
the seven GPIO lines, depending on the configuration of the port. See

Table 10

.

Table 8. LED and Port Emulation Addresses

Address Register Function

Access

800000h

LED Anode/GPIO Port output control

WR

800001h

LED Cathode/Modem/Trig

WR

800002h

GPIO Data

RD/WR

Table 9. LED Anode/GPIO 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

Anode Col 5

X

Anode Col 6

X

Anode Col 6

X

GPIO Output

X

This manual is related to the following products: