Ciprico Rimfire 3880 Network Card User Manual


 
21020285 D User’s Guide
Chapter 7 Board-control Commands
Page 7 - 4 General Status Block
General Status
Block
When a Board-control command does not return a special type of Status Block,
it is assumed that its Status Block will take the general format. That format is
described here for reference.
General
Status Block
Format
The format of the Status Block returned by most Board-control commands takes
this form:
Description of
Fields
Following is a brief description of each of the fields used to return General
Status:
Command Identifier
This value is used to match a Status Block to its Parameter Block.
Flags
This field can be polled to ascertain whether, and in what condition, a command
completed. It has this format:
Note
The Flags byte returned
in the Status Block of a
Board-control command
reserves the bits other
than ERR and CC.
However, some of the
reserved bit fields are
used in the Flags byte
returned in the Status
Block of a Pass-through
command. See Chapter 5
and 6 for more
information.
ERR Error Status - Identifies when a command completes with an error.
0 No error occurred.
1 An error occurred.
CC Command Complete - Indicates whether a command has finished.
0 Command not complete.
1 Command complete.
Error
When an adapter-detected error occurs, this byte contains an error code to
describe the condition. See Appendix A.
Address
Offset
Byte Memory Address
Offset + 0 Offset + 1 Offset + 2 Offset + 3
00H Command Identifier
04H Reserved Error Flags
08H
Reserved
0CH
Table 57: General Status Block
BITS
76543210
CCERR000000
Table 58: Bit-meanings of Flags Field