AFBR-S50 API Reference Manual
v1.6.5
AFBR-S50 Time-of-Flight Sensor SDK for Embedded Software
|
Generic Command Definitions. More...
Macros | |
#define | SCI_LOG_TIMESTAMP 1 |
Enumerations | |
enum | GenericSerialCommandCodes { CMD_INVALID = 0x00, CMD_PING = 0x01, CMD_LOG_MESSAGE = 0x06, CMD_STATUS_REPORT = 0x07, CMD_SYSTEM_RESET = 0x08, CMD_ACKNOWLEDGE = 0x0A, CMD_NOT_ACKNOWLEDGE = 0x0B, CMD_TEST_MESSAGE = 0x04 } |
Functions | |
status_t | SCI_SendStatusReport (sci_device_t deviceID, status_t status) |
Sends an status report. More... | |
status_t | SCI_SendLogEntry (const char *fmt_s,...) |
Sends a log message. More... | |
status_t | SCI_Printf (const char *fmt_s,...) |
Sends a log message. More... | |
Generic Command Definitions.
Generic command definitions for the systems communication interface.
#define SCI_LOG_TIMESTAMP 1 |
Determines whether to include a time stamp into log messages.
Generic commands for the SCI module.
status_t SCI_Printf | ( | const char * | fmt_s, |
... | |||
) |
status_t SCI_SendLogEntry | ( | const char * | fmt_s, |
... | |||
) |
status_t SCI_SendStatusReport | ( | sci_device_t | deviceID, |
status_t | status | ||
) |