Go to the source code of this file.
Macros | |
#define | BAUD_230400 230400 |
#define | BAUD_460800 460800 |
#define | BAUD_921600 921600 |
Functions | |
int | numBytesReadComPort (int comPort) |
int | purgeComPort (int comPort) |
int | readComPort (int comPort, unsigned char *bytesToRead, int size) |
int | uartInit (const char *comPortPath, int baudrate) |
int | uartRelease (int comPort) |
int | writeComPort (int comPort, unsigned char *bytesToWrite, int size) |
#define BAUD_230400 230400 |
Definition at line 25 of file hcl_uart.h.
#define BAUD_460800 460800 |
Definition at line 24 of file hcl_uart.h.
#define BAUD_921600 921600 |
Definition at line 23 of file hcl_uart.h.
int numBytesReadComPort | ( | int | comPort | ) |
Definition at line 120 of file hcl_uart.c.
int purgeComPort | ( | int | comPort | ) |
Definition at line 133 of file hcl_uart.c.
int readComPort | ( | int | comPort, |
unsigned char * | bytesToRead, | ||
int | size | ||
) |
Definition at line 97 of file hcl_uart.c.
int uartInit | ( | const char * | comPortPath, |
int | baudrate | ||
) |
Definition at line 52 of file hcl_uart.c.
int uartRelease | ( | int | comPort | ) |
Definition at line 83 of file hcl_uart.c.
int writeComPort | ( | int | comPort, |
unsigned char * | bytesToWrite, | ||
int | size | ||
) |
Definition at line 108 of file hcl_uart.c.