Figure 814 Mapping of discrete output channels to physical outputs

DOTbl

[0]

.DOOut—

DOTbl

[1]

.DOOut

DOTbl

[2]

.DOOut

DOTbl

[3]

.DOOut

DOTbl

[4]

.DOOut

DOTbl

[5]

.DOOut—

DOTbl

[6]

•DOOut—

DOTbl

[7]

8-Bit Parallel Output Port

DIOInitIO () is the initialization code which is called by DIOInit () and is used to initialize your physical hardware ports. For example, if you are using Intel's 82C55A Programmable Peripheral Interface (PPI), you would initialize the 82C55A to the desired mode in DIOInitIO ().

Was this article helpful?

0 0

Post a comment