Ciprico Rimfire 3880 manual Board-control Commands General Status Block

Models: Rimfire 3880

1 230
Download 230 pages 41.83 Kb
Page 128
Image 128

Chapter 7 Board-control Commands

Page 7 - 4

 

General Status Block

General Status Block

General

Status Block

Format

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.

The format of the Status Block returned by most Board-control commands takes this form:

Address

 

Byte Memory Address

 

Offset

Offset + 0

Offset + 1

Offset + 2

Offset + 3

 

 

 

 

 

 

00H

 

Command Identifier

 

 

 

 

 

04H

Reserved

Error

Flags

 

 

 

 

 

08H

 

Reserved

 

 

 

 

0CH

 

 

 

 

 

 

Table 57: General Status Block

Description of Fields

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.

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:

BITS

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

CC

ERR

0

0

0

0

0

0

Table 58: Bit-meanings of Flags Field

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.

21020285 D

User’s Guide

Page 128
Image 128
Ciprico Rimfire 3880 manual Board-control Commands General Status Block