Public Member Functions | List of all members
cht10_seiral_func::Cht10Driver Class Reference

#include <seiral_func.hpp>

Public Member Functions

void UART0_Close (int fd)
 
int UART0_Init (int fd, int speed, int flow_ctrl, int databits, int stopbits, int parity)
 
int UART0_Recv (int fd, char *rcv_buf, int data_len)
 
int UART0_Send (int fd, char *send_buf, int data_len)
 
int UART0_Set (int fd, int speed, int flow_ctrl, int databits, int stopbits, int parity)
 

Detailed Description

@ brief Driver of dumpbot for reading data.

The Cht10Driver keeps track of sensor data and publish.

Definition at line 47 of file seiral_func.hpp.

Member Function Documentation

void cht10_seiral_func::Cht10Driver::UART0_Close ( int  fd)
inline

Definition at line 49 of file seiral_func.hpp.

int cht10_seiral_func::Cht10Driver::UART0_Init ( int  fd,
int  speed,
int  flow_ctrl,
int  databits,
int  stopbits,
int  parity 
)
inline

Definition at line 187 of file seiral_func.hpp.

int cht10_seiral_func::Cht10Driver::UART0_Recv ( int  fd,
char *  rcv_buf,
int  data_len 
)
inline

Definition at line 206 of file seiral_func.hpp.

int cht10_seiral_func::Cht10Driver::UART0_Send ( int  fd,
char *  send_buf,
int  data_len 
)
inline

Definition at line 239 of file seiral_func.hpp.

int cht10_seiral_func::Cht10Driver::UART0_Set ( int  fd,
int  speed,
int  flow_ctrl,
int  databits,
int  stopbits,
int  parity 
)
inline

Definition at line 52 of file seiral_func.hpp.


The documentation for this class was generated from the following file:


cht10_node
Author(s): Carl <1271087623@qq.comd>
autogenerated on Mon Jun 10 2019 12:48:57