Digital I/O Control Register
VCM-DAS-3 Reference Manual
21
Digital I/O Control Register
DIOCTRL (Read/Write) 0307h
7
6
5
4
3
2
1
0
–
–
–
DIRA
DIRCHI
–
DIRB
DIRCLO
Table 11: DIOCTRL Bit Assignments
Bit
Mnemonic
Description
7-5
–
Unused. These bits have no function.
4
DIRA
DIO Port A Direction
– These bits control the direction of DIO port A (A7-A0).
0 = Output
1 = Input
3
DIRCHI
DIO Port C MSB Direction
– These bits control the direction of the upper half of
DIO port C (C7-C4).
0 = Output
1 = Input
2
–
Unused. This bit has no function.
1
DIRB
DIO Port B Direction
– These bits control the direction of DIO port B (B7-B0).
0 = Output
1 = Input
0
DIRCLO
DIO Port C LSB Direction
– These bits control the direction of the lower half of
DIO port C (C3-C0).
0 = Output
1 = Input