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_1000000   1000000
 
#define BAUD_1500000   1500000
 
#define BAUD_2000000   2000000
 
#define BAUD_230400   230400
 
#define BAUD_460800   460800
 
#define BAUD_921600   921600
 

Functions

int numBytesReadComPort (void)
 
int purgeComPort (void)
 
int readComPort (unsigned char *bytesToRead, int size)
 
int uartInit (const char *comPortPath, int baudrate)
 
int uartRelease (void)
 
int writeComPort (unsigned char *bytesToWrite, int size)
 

Macro Definition Documentation

◆ BAUD_1000000

#define BAUD_1000000   1000000

Definition at line 24 of file hcl_uart.h.

◆ BAUD_1500000

#define BAUD_1500000   1500000

Definition at line 23 of file hcl_uart.h.

◆ BAUD_2000000

#define BAUD_2000000   2000000

Definition at line 22 of file hcl_uart.h.

◆ BAUD_230400

#define BAUD_230400   230400

Definition at line 27 of file hcl_uart.h.

◆ BAUD_460800

#define BAUD_460800   460800

Definition at line 26 of file hcl_uart.h.

◆ BAUD_921600

#define BAUD_921600   921600

Definition at line 25 of file hcl_uart.h.

Function Documentation

◆ numBytesReadComPort()

int numBytesReadComPort ( void  )

Definition at line 133 of file hcl_uart.c.

◆ purgeComPort()

int purgeComPort ( void  )

Definition at line 146 of file hcl_uart.c.

◆ readComPort()

int readComPort ( unsigned char *  bytesToRead,
int  size 
)

Definition at line 111 of file hcl_uart.c.

◆ uartInit()

int uartInit ( const char *  comPortPath,
int  baudrate 
)

Definition at line 50 of file hcl_uart.c.

◆ uartRelease()

int uartRelease ( void  )

Definition at line 98 of file hcl_uart.c.

◆ writeComPort()

int writeComPort ( unsigned char *  bytesToWrite,
int  size 
)

Definition at line 122 of file hcl_uart.c.



ess_imu_driver
Author(s):
autogenerated on Wed Dec 11 2024 03:06:30