| cmdPCTR_WR | Index |
Command Code:
The Packet:
| 0 | 1 | 2 | 3 | 4 | ||||
| address | 3 | cmdPCTR_WR | CtrID | SPX |
| CtrID - | Index of the counter. Range is 0-7. |
| SPX - | Index of scratch pad byte. |
Description:
This command writes the 2-byte value of a counter to two sequential bytes in the RAM scratch pad. A scratch pad index that is out of range will generate an error message. There is no reply packet.
See the discussion of Scratch Pad usage for more details.