Manual PCIe-DIO-48S PCI Express Digital I/O Card12Chapter 5: ProgrammingThis card is an I/O-mapped device that is easily configured from any language. The base address isassigned by the computer system during installation. The card's read/write functions are as follows.Address Function OperationBase Address +0 PA Group 0 Read/WriteBase Address +1 PB Group 0 Read/WriteBase Address +2 PC Group 0 Read WriteBase Address +3 Control Group 0 Read/WriteBase Address +4 PA Group 1 Read/WriteBase Address +5 PB Group 1 Read/WriteBase Address +6 PC Group 1 Read/WriteBase Address +7 Control Group 1 Read/WriteBase Address +8 Not used N/ABase Address +9 Not used N/ABase Address +A Not used N/ABase Address +B Enable COS Interrupt Read/WriteBase Address +C Not used N/ABase Address +D Not used N/ABase Address +E Not used N/ABase Address +F Clear COS Interrupt Write OnlyTable 5-1: Register Address MapBase Address +0 (read/write) Group 0, Port A DIO;+4 (read/write) Group 1, Port A DIOBit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0PA7 PA6 PA5 PA4 PA3 PA2 PA1 PA0Table 5-2: Base +0 Group 0, Port A DIO; Base +4 Group 1, Port A DIOReading from these addresses will return the digital data on Port A. Writing to this address will outputthe digital data on Port A. Readback is supported while in output mode. Base Address +3 / BaseAddress +7 controls Port A's input/output direction.