
Chapter 4
Programming
© National Instruments Corporation
4-85
AT-MIO-16D User Manual
Port C bits PC4 and PC5
1 = input
0 = output
1
0
X
X
X
0
1/0
1
7
6
5
4
3
2
1
0
The control word written to the DIO-24 CNFG Register to configure Port B for output in Mode 1
is shown as follows. Notice that Port B does not have extra input or output lines from Port C.
1
X
0
X
X
X
1
X
7
6
5
4
3
2
1
0
During a Mode 1 data write transfer, the status of the handshaking lines and interrupt signals can
be obtained by reading Port C. Notice that the bit definitions are different for a write and a read
transfer.
The following are the Port C status-word bit definitions for output (Port A and Port B):
7
6
5
4
3
2
1
0
OBFA*
INTEA
I/O
I/O
INTRA
INTEB
OBFB*
INTRB
Bit
Name
Description
7
OBFA*
Output buffer full for Port A. Low indicates that the CPU has
written data to Port A.
6
INTEA
Interrupt enable bit for Port A. If this bit is high, DIO interrupts
are enabled from the 82C55A for Port A. Controlled by bit
set/reset of PC6.
5, 4
I/O
Extra I/O status line when Port A is in Mode 1 output.
3
INTRA
Interrupt request status for Port A. When INTEA is high and
OBFA* is high, this bit is high, indicating that a DIO interrupt
request is asserted.
2
INTEB
Interrupt enable bit for Port B. If this bit is high, interrupts are
enabled from the 82C55A for Port B. Controlled by bit set/reset of
PC2.
1
OBFB*
Output buffer full for Port B. Low indicates that the CPU has
written data out to Port B.
0
INTRB
Interrupt request status for Port B. When INTEB is high and
OBFB* is high, this bit is high, indicating that a DIO interrupt
request is asserted.
Summary of Contents for AT-MIO-16D
Page 16: ......
Page 23: ......
Page 185: ......
Page 206: ......
Page 207: ......
Page 208: ......
Page 209: ......
Page 210: ......
Page 211: ......
Page 212: ......
Page 213: ......
Page 214: ......
Page 215: ......
Page 216: ......
Page 217: ......
Page 218: ......
Page 219: ......
Page 220: ......
Page 221: ......
Page 222: ......
Page 223: ......
Page 224: ......
Page 225: ......
Page 226: ......
Page 227: ......
Page 228: ......
Page 229: ......
Page 230: ......
Page 231: ......
Page 232: ......
Page 233: ......
Page 234: ......
Page 235: ......
Page 236: ......
Page 237: ......
Page 238: ......
Page 239: ......
Page 240: ......
Page 241: ......
Page 242: ......
Page 243: ......
Page 244: ......
Page 246: ......
Page 247: ......
Page 248: ......
Page 249: ......
Page 250: ......
Page 251: ......
Page 252: ......
Page 253: ......
Page 254: ......
Page 255: ......
Page 256: ......
Page 257: ......
Page 258: ......
Page 259: ......
Page 260: ......
Page 261: ......