
12
© Sealevel Systems, Inc.
8002H Manual | SL9021 9/2021
Programming the DIO-16.PCI, Continued
Register Description
All ports are set to input after reset or power up.
Address
Mode
D7
D6
D5
D4
D3
D2
D1
D0
Base+0
RD
PAD7
PAD6
PAD5 PAD4 PAD3 PAD2 PAD1 PAD0
Base+1
RD
{0}
{0}
{0}
{0}
{0}
{0}
{0}
{0}
Base+2
RD/WR
PCD7
PCD6
PCD5 PCD4 PCD3 PCD2 PCD1 PCD0
Base+3
RD
{0}
{0}
{0}
{0}
{0}
{0}
{0}
{0}
Base+4
RD
{0}
{0}
{0}
{0}
{0}
{0}
{0}
{0}
Base+5
RD/WR
IRQEN
IRQST
{0}
{0}
{0}
{0}
IRC1
IRC0
Base+6
RD
{0}
{0}
{0}
{0}
{0}
{0}
{0}
{0}
Base+7
RD
{0}
{0}
{0}
{0}
{0}
{0}
{0}
{0}
Interrupt Control
When enabled, interrupts are generated on Port A bit D0.
IRQEN
Interrupt enable
1 = enabled
0 = disabled ( 0 on power up )
IRC0
IRC1
Interrupt mode select, see table below
Interrupt mode select, see table below