Mercury API - Sample serial transport that does nothing. More...
Go to the source code of this file.
Functions | |
static TMR_Status | s_flush (TMR_SR_SerialTransport *transport) |
static TMR_Status | s_open (TMR_SR_SerialTransport *transport, const char *deviceName) |
static TMR_Status | s_open (TMR_SR_SerialTransport *transport) |
static TMR_Status | s_receiveBytes (TMR_SR_SerialTransport *transport, uint32_t length, uint32_t *messageLength, uint8_t *message, const uint32_t timeoutMs) |
static TMR_Status | s_sendBytes (TMR_SR_SerialTransport *transport, uint32_t length, uint8_t *message, const uint32_t timeoutMs) |
static TMR_Status | s_setBaudRate (TMR_SR_SerialTransport *transport, uint32_t rate) |
static TMR_Status | s_shutdown (TMR_SR_SerialTransport *transport) |
TMR_Status | TMR_SR_SerialTransportNativeInit (TMR_SR_SerialTransport *transport, TMR_SR_SerialPortNativeContext *context, const char *device) |
Mercury API - Sample serial transport that does nothing.
Definition in file serial_transport_arduino.c.
static TMR_Status s_flush | ( | TMR_SR_SerialTransport * | transport | ) | [static] |
Definition at line 175 of file serial_transport_arduino.c.
static TMR_Status s_open | ( | TMR_SR_SerialTransport * | transport, |
const char * | deviceName | ||
) | [static] |
Definition at line 39 of file serial_transport_arduino.c.
static TMR_Status s_open | ( | TMR_SR_SerialTransport * | transport | ) | [static] |
Definition at line 70 of file serial_transport_arduino.c.
static TMR_Status s_receiveBytes | ( | TMR_SR_SerialTransport * | transport, |
uint32_t | length, | ||
uint32_t * | messageLength, | ||
uint8_t * | message, | ||
const uint32_t | timeoutMs | ||
) | [static] |
Definition at line 98 of file serial_transport_arduino.c.
static TMR_Status s_sendBytes | ( | TMR_SR_SerialTransport * | transport, |
uint32_t | length, | ||
uint8_t * | message, | ||
const uint32_t | timeoutMs | ||
) | [static] |
Definition at line 81 of file serial_transport_arduino.c.
static TMR_Status s_setBaudRate | ( | TMR_SR_SerialTransport * | transport, |
uint32_t | rate | ||
) | [static] |
Definition at line 143 of file serial_transport_arduino.c.
static TMR_Status s_shutdown | ( | TMR_SR_SerialTransport * | transport | ) | [static] |
Definition at line 160 of file serial_transport_arduino.c.
TMR_Status TMR_SR_SerialTransportNativeInit | ( | TMR_SR_SerialTransport * | transport, |
TMR_SR_SerialPortNativeContext * | context, | ||
const char * | device | ||
) |
Definition at line 204 of file serial_transport_arduino.c.