SynchroTime
|
Go to the source code of this file.
Classes | |
class | RTC |
The RTC class. More... | |
Enumerations | |
enum | Request : quint8 { Request::INFO = 'i', Request::ADJUST = 'a', Request::CALIBR = 'c', Request::RESET = 'r', Request::SETREG = 's', Request::STATUS = 't' } |
enum | StatusMessages : quint8 { StatusMessages::STATUS_SUCCESS = 0x00, StatusMessages::STATUS_ERROR = 0x01, StatusMessages::STATUS_INVALID_PARAMETER = 0x02, StatusMessages::STATUS_INPUT_DATA_TOLONG = 0x03, StatusMessages::STATUS_NOT_SUPPORTED = 0x04, StatusMessages::STATUS_UNKNOWN_ERROR = 0x05, StatusMessages::STATUS_DISCONNECTION = 0x06 } |
|
strong |
Requests to be sent to the RTC device. Sent as the second byte in the protocol.
Enumerator | |
---|---|
INFO |
Information request. |
ADJUST |
Adjustment request. |
CALIBR |
Calibration request. |
RESET |
Reset request. |
SETREG |
Set register request. |
STATUS |
Status request. |
|
strong |
Contains all possible error codes in response to a status request.