Mercury API - Serial transport functions for STM32F103RB board. More...
#include "tm_reader.h"#include "STM32F10x.h"Functions | |
| TMR_Status | TMR_SR_SerialTransportNativeInit (TMR_SR_SerialTransport *transport, TMR_SR_SerialPortNativeContext *context, const char *device) |
Mercury API - Serial transport functions for STM32F103RB board.
| TMR_Status TMR_SR_SerialTransportNativeInit | ( | TMR_SR_SerialTransport * | transport, | |
| TMR_SR_SerialPortNativeContext * | context, | |||
| const char * | device | |||
| ) |
Initialize a TMR_SR_SerialTransport structure with a given serial device.
| transport | The TMR_SR_SerialTransport structure to initialize. | |
| context | A TMR_SR_SerialPortNativeContext structure for the callbacks to use. | |
| device | The path or name of the serial device (/dev/ttyS0, COM1) |
1.6.3