Code: |
AS + 300 |
Symbolic: |
bccGetR16 |
NOTE: this command is not supported in RTE firmware.
NOTE: This register is referred to the volatile register set.
This command will get value for multiple 16bit integer register. Request parameters are the following:
Offset |
Type |
Label |
Description |
---|---|---|---|
0 |
U8 |
REP |
Number of required registers |
1 |
U16 |
INDEX |
Index of first register (see your hardware/OSF documentation for valid register index values) |
Notes:
•The maximum value for REP in BCC3 is 127.
On success, a bccAck is received with the following data:
Offset |
Type |
Label |
Description |
---|---|---|---|
0 |
I16 |
VALUE0 |
Value of register (INDEX+0) |
2 |
I16 |
VALUE1 |
Value of register (INDEX+1) |
4 |
... |
... |
.... |
Notes:
•The data size is calculated as 2 bytes * REP.
On failure, a bccNack is received. Specific errors:
NACK code |
Description |
Extra data |
---|---|---|
nackIllegalArgs |
Illegal parameter |
U16 What illegal 1=Repeat 2=Index |