Functions | Variables
serial_interface.cpp File Reference
#include "quad_can_driver/serial_interface.h"
Include dependency graph for serial_interface.cpp:

Go to the source code of this file.

Functions

void AddCRC_CAN (unsigned int frame_length)
speed_t bitrate (int Bitrate)
void CloseSerialInterface (void)
void InitSerialInterface (std::string serialport_name_, uint32_t serialport_speed_)
void SendOutData (unsigned char ID, str_ExternControl cmd, unsigned char N)
int sendStringToCom (unsigned char *output, int len)

Variables

int dev_
speed_t serialport_baud_
unsigned char tx_buffer [150]

Function Documentation

void AddCRC_CAN ( unsigned int  frame_length)

Definition at line 70 of file serial_interface.cpp.

speed_t bitrate ( int  Bitrate)

Definition at line 7 of file serial_interface.cpp.

void CloseSerialInterface ( void  )

Definition at line 65 of file serial_interface.cpp.

void InitSerialInterface ( std::string  serialport_name_,
uint32_t  serialport_speed_ 
)

Definition at line 27 of file serial_interface.cpp.

void SendOutData ( unsigned char  ID,
str_ExternControl  cmd,
unsigned char  N 
)

Definition at line 91 of file serial_interface.cpp.

int sendStringToCom ( unsigned char *  output,
int  len 
)

Definition at line 84 of file serial_interface.cpp.


Variable Documentation

int dev_

Definition at line 3 of file serial_interface.cpp.

Definition at line 4 of file serial_interface.cpp.

unsigned char tx_buffer[150]

Definition at line 5 of file serial_interface.cpp.



quad_can_driver
Author(s): Henrique
autogenerated on Mon Jan 6 2014 11:48:02