User's Manual

Performing Advanced Functions
Code Description Parameters Returns
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.
None A 16-bit integer and
the result (OK or
ERROR).
0010 CAI – Configure the port specified by
Port Number as input (acts upon the
Data Direction Register).
The port
number
Result (OK or
ERROR).
0011 CAO – Configure the port specified
by Port Number as output (acts upon
the Data Direction Register).
The port
number
Result (OK or
ERROR).
0100 RBV – Read the specified bit.
The port
number
Bit value and the
result (OK or
ERROR).
0101 RNS – Read the notification
2
status.
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.
The port
number
Returns the time of
the last port change in
standard time format
and the 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 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.
None
Two 16-bit integers
(first the PN and then
the NE register) and
the result (OK or
ERROR).
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
p
ort Result
(
OK or
2
See also “Notifications” on page 54.
41