#include "hcl_uart.h"#include <assert.h>#include <errno.h>#include <fcntl.h>#include <stdint.h>#include <stdio.h>#include <string.h>#include <sys/ioctl.h>#include <termios.h>#include <unistd.h>#include "hcl.h"#include "sensor_epsonCommon.h"
Go to the source code of this file.
Typedefs | |
| typedef unsigned char | Byte |
| typedef int | ComPortHandle |
Functions | |
| void | closeComPort (ComPortHandle fd_serial) |
| int | numBytesReadComPort (ComPortHandle fd_serial) |
| ComPortHandle | openComPort (const char *comPortPath, speed_t baudRate) |
| int | purgeComPort (ComPortHandle fd_serial) |
| int | readComPort (ComPortHandle fd_serial, unsigned char *bytesToRead, int size) |
| int | uartInit (const char *comPortPath, int baudrate) |
| int | uartRelease (ComPortHandle fd_serial) |
| int | writeComPort (ComPortHandle fd_serial, unsigned char *bytesToWrite, int size) |
Variables | |
| int | fd_serial |
| const char * | IMUSERIAL |
| typedef unsigned char Byte |
Definition at line 38 of file hcl_uart.c.
| typedef int ComPortHandle |
Definition at line 37 of file hcl_uart.c.
| void closeComPort | ( | ComPortHandle | fd_serial | ) |
Definition at line 261 of file hcl_uart.c.
| int numBytesReadComPort | ( | ComPortHandle | fd_serial | ) |
Definition at line 120 of file hcl_uart.c.
| ComPortHandle openComPort | ( | const char * | comPortPath, |
| speed_t | baudRate | ||
| ) |
Definition at line 152 of file hcl_uart.c.
| int purgeComPort | ( | ComPortHandle | fd_serial | ) |
Definition at line 133 of file hcl_uart.c.
| int readComPort | ( | ComPortHandle | fd_serial, |
| 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 | ( | ComPortHandle | fd_serial | ) |
Definition at line 83 of file hcl_uart.c.
| int writeComPort | ( | ComPortHandle | fd_serial, |
| unsigned char * | bytesToWrite, | ||
| int | size | ||
| ) |
Definition at line 108 of file hcl_uart.c.
| int fd_serial |
Definition at line 71 of file epson_imu_uart_driver_node.cpp.
| const char* IMUSERIAL |
Definition at line 32 of file main_csvlogger.c.