Digital I/O Data Registers
VCM-DAS-3 Reference Manual
23
D
IGITAL
O
UTPUT
R
EGISTERS
DIOC (Write) 0306h
D7
D6
D5
D4
D3
D2
D1
D0
DIO C7
DIO C6
DIO C5
DIO C4
DIO C3
DIO C2
DIO C1
DIO C0
DIOB (Write) 0305h
D7
D6
D5
D4
D3
D2
D1
D0
DIO B7
DIO B6
DIO B5
DIO B4
DIO B3
DIO B2
DIO B1
DIO B0
DIOA (Write) 0304h
D7
D6
D5
D4
D3
D2
D1
D0
DIO A7
DIO A6
DIO A5
DIO A4
DIO A3
DIO A2
DIO A1
DIO A0
Table 13: Digital Output Data Bit Assignments
Bit
Mnemonic
Description
D7-D0
DIO A7-A0
DIO B7-B0
DIO C7-C0
Digital Output Data
– Data written to these registers is driven onto the digital
port signals on connectors J1 and J2. Data is not inverted. When a bit is set to
1, the signal line is driven high; when a bit is reset to 0, the signal line is driven
low.
To operate a port in output mode, you must first set the direction of the port to
output by clearing the appropriate bit in the DIOCTRL register.