48

CHAPTER 4

Performing Advanced Functions

Table 5. Command Code Definitions (Continued)

Code

Description

Parameters

Returns

 

 

 

 

0100

RBV – Read the specified bit.

The port number.

Bit value and the result

 

 

 

(OK or ERROR).

 

 

 

 

0101

RNS – Read the notificationa status. If no notifi-

The port number.

Returns the time of the

 

cation was pending, this command should

 

last port change in stan-

 

return an error. If one was pending, the notifica-

 

dard time format and the

 

tion is cleared.

 

result (OK or ERROR).

 

 

 

 

0110

DNOPC – Disable Notify On Port Change.

The port number.

Result (OK or ERROR).

 

 

 

 

0111

ENOPC – Enable Notify On Port Change.

The port number.

Result (OK or ERROR).

 

 

 

 

1000

RPNNER – Read the Pending Notifications and

None.

Two 16-bit integers (first

 

the Notification Enable Register. This command

 

the PN and then the NE

 

returns the 16-bit Pending Notifications and the

 

register) and the result

 

Notification Enable Registers; the Port Number

 

(OK or ERROR).

 

has no significance for this command.

 

 

 

 

 

 

1001

CB – Clear the specified bit.

The port number.

Result (OK or ERROR).

 

 

 

 

1010

SB – Set the specified bit.

The port number.

Result (OK or ERROR).

 

 

 

 

1011

XB – Exclusive Or the specified bit.

The port number.

Result (OK or ERROR).

 

 

 

 

1100

MFR – Monostable function, start with the speci-

The port number,

Result (OK or ERROR)

 

fied bit in OFF state (reset).

the OFF and the

 

 

 

ON times (in sec-

 

 

 

onds), both as 16-

 

 

 

bit integers.

 

 

 

 

 

1101

MFS – Monostable function, start with the speci-

The port number,

Result (OK or ERROR).

 

fied bit in ON state (set).

the OFF and the

 

 

 

ON times (in sec-

 

 

 

onds), both as 16-

 

 

 

bit integers.

 

 

 

 

 

1110

MVFR – Multivibrator function, start with the

The port number,

Result (OK or ERROR).

 

specified bit in OFF state (reset).

the OFF and the

 

 

 

ON times (in sec-

 

 

 

onds), both as 16-

 

 

 

bit integers.

 

 

 

 

 

1111

MVFS – Multivibrator function, start with the

The port number,

Result (OK or ERROR).

 

specified bit in ON state (set).

the OFF and the

 

 

 

ON times (in sec-

 

onds), both as 16- bit integers.

Page 48
Image 48
Adcom A723, A720 manual Performing Advanced Functions Command Code Definitions