RTCC WRITE
With WRITE command you can write one or more location/s in the Carberry RTCC.
Synopsis
RTCC WRITE <ADDR> <DATA>[<DATA>]
WRITE accepts at least two parameters as:
Param | Description | Range |
<ADDR> | RTCC location address in HEX notation where start to write. | 0x00 - 0x1F |
<DATA> | Data byte to write | 0x00 - 0xFF |
[<DATA>] | Other optional bytes to write in sequence | 0x00 - 0xFF |
Notes
- Multiple data bytes must be always represented by two characters, whithout spaces from each other.
Return
WRITE command returns OK.
Examples
Writing one byte to start RTCC counting
RTCC WRITE 00 80 OK