Macros | Functions
hcl_uart.h File Reference
This graph shows which files directly or indirectly include this file:

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)
 

Macro Definition Documentation

◆ BAUD_230400

#define BAUD_230400   230400

Definition at line 25 of file hcl_uart.h.

◆ BAUD_460800

#define BAUD_460800   460800

Definition at line 24 of file hcl_uart.h.

◆ BAUD_921600

#define BAUD_921600   921600

Definition at line 23 of file hcl_uart.h.

Function Documentation

◆ numBytesReadComPort()

int numBytesReadComPort ( int  comPort)

Definition at line 120 of file hcl_uart.c.

◆ purgeComPort()

int purgeComPort ( int  comPort)

Definition at line 133 of file hcl_uart.c.

◆ readComPort()

int readComPort ( int  comPort,
unsigned char *  bytesToRead,
int  size 
)

Definition at line 97 of file hcl_uart.c.

◆ uartInit()

int uartInit ( const char *  comPortPath,
int  baudrate 
)

Definition at line 52 of file hcl_uart.c.

◆ uartRelease()

int uartRelease ( int  comPort)

Definition at line 83 of file hcl_uart.c.

◆ writeComPort()

int writeComPort ( int  comPort,
unsigned char *  bytesToWrite,
int  size 
)

Definition at line 108 of file hcl_uart.c.



ess_imu_ros1_uart_driver
Author(s):
autogenerated on Sun Jun 4 2023 02:59:29