Adcon A73 addWAVE Series User Manual page 41

Rtus
Table of Contents

Advertisement

Code
Description
0001
RDDR – Read Data Direction
Register. This command reads the
whole 16-bit Data Direction Register
and returns its value; the Port
Number has no significance for this
command.
0010
CAI – Configure the port specified by
Port Number as input (acts upon the
Data Direction Register).
0011
CAO – Configure the port specified
by Port Number as output (acts upon
the Data Direction Register).
0100
RBV – Read the specified bit.
0101
RNS – Read the notification
If no notification was pending, this
command returns an error. Even in
this case the time stamp of the last
valid notification is returned. If a
notification was pending, it will be
cleared.
0110
DNOPC – Disable Notify On Port
Change.
0111
ENOPC – Enable Notify On Port
Change.
1000
RPNNER – Read the Pending
Notifications and the Notification
Enable Register. This command
returns the 16-bit Pending
Notifications and the Notification
Enable Registers; the Port Number
has no significance for this
command.
1001
CB – Clear the specified bit.
1010
SB – Set the specified bit.
1011
XB – Exclusive Or the specified bit.
2
See also "Notifications" on page 54.
Performing Advanced Functions
Parameters
None
The port
number
The port
number
The port
number
2
status.
The port
number
The port
number
The port
number
None
The port
number
The port
number
The port
Returns
A 16-bit integer and
the result (OK or
ERROR).
Result (OK or
ERROR).
Result (OK or
ERROR).
Bit value and the
result (OK or
ERROR).
Returns the time of
the last port change in
standard time format
and the result (OK or
ERROR).
Result (OK or
ERROR).
Result (OK or
ERROR).
Two 16-bit integers
(first the PN and then
the NE register) and
the result (OK or
ERROR).
Result (OK or
ERROR).
Result (OK or
ERROR).
Result (OK or
41

Advertisement

Table of Contents
loading

This manual is also suitable for:

A733A731A733gsmA732

Table of Contents