EBC-C413/Configuration
v1.2
www.winsystems.com
Page 18
Interrupt Status Register - 29CH
NOTE A
1
is read for devices with an interrupt pending.
7.4
Digital I/O
The EBC-C413 uses the WINSYSTEMS exclusive application-specific
integrated circuit (ASIC), the WS16C48. This device provides 48 lines of
digital I/O. There are 16 unique registers within the WS16C48. The
following table summarizes the registers.
The following sections provide details on each of the internal registers.
7.4.1 Ports 0 through 5 I/O
Each I/O bit in each of the six ports can be individually programmed for
input or output. Writing a
0
to a bit position causes the corresponding
Bit
Name
Bit 0
COM1
Bit 1
COM2
Bit 2
COM3
Bit 3
COM4
Bit 4
N/A
Bit 5
N/A
Bit 6
N/A
Bit 7
N/A
WINSYSTEMS does not provide software support for implementing the Interrupt Status Register to
share interrupts. Some operating systems, such as Windows XP and Linux, have support for sharing
serial port interrupts (see your specific operating system’s documentation for any available
examples). You need to implement the appropriate software to share interrupts for the other
devices.
I/O Address
Offset
Page 0
Page 1
Page 2
Page 3
00h
Port 0 I/O
Port 0 I/O
Port 0 I/O
Port 0 I/O
01h
Port 1 I/O
Port 1 I/O
Port 1 I/O
Port 1 I/O
02h
Port 2 I/O
Port 2 I/O
Port 2 I/O
Port 2 I/O
03h
Port 3 I/O
Port 3 I/O
Port 3 I/O
Port 3 I/O
04h
Port 4 I/O
Port 4 I/O
Port 4 I/O
Port 4 I/O
05h
Port 5 I/O
Port 5 I/O
Port 5 I/O
Port 5 I/O
06h
Int_Pending
Int_Pending
Int_Pending
Int_Pending
07h
Page/Lock
Page/Lock
Page/Lock
Page/Lock
08h
Reserved
Pol_0
Enab_0
Int_ID0
09h
Reserved
Pol_1
Enab_1
Int_ID1
0Ah
Reserved
Pol_2
Enab_2
Int_ID2