Classes | Functions
serial/serialPortPlatform.c File Reference
#include "serialPort.h"
#include "serialPortPlatform.h"
#include "ISConstants.h"
Include dependency graph for serial/serialPortPlatform.c:

Go to the source code of this file.

Classes

struct  serialPortHandle
 

Functions

static int get_baud_speed (int baudRate)
 
static int serialPortAsyncReadPlatform (serial_port_t *serialPort, unsigned char *buffer, int readCount, pfnSerialPortAsyncReadCompletion completion)
 
static int serialPortClosePlatform (serial_port_t *serialPort)
 
static int serialPortFlushPlatform (serial_port_t *serialPort)
 
static int serialPortGetByteCountAvailableToReadPlatform (serial_port_t *serialPort)
 
static int serialPortGetByteCountAvailableToWritePlatform (serial_port_t *serialPort)
 
static int serialPortIsOpenPlatform (serial_port_t *serialPort)
 
static int serialPortOpenPlatform (serial_port_t *serialPort, const char *port, int baudRate, int blocking)
 
int serialPortPlatformInit (serial_port_t *serialPort)
 
static int serialPortReadTimeoutPlatform (serial_port_t *serialPort, unsigned char *buffer, int readCount, int timeoutMilliseconds)
 
static int serialPortReadTimeoutPlatformLinux (serialPortHandle *handle, unsigned char *buffer, int readCount, int timeoutMilliseconds)
 
static int serialPortSleepPlatform (serial_port_t *serialPort, int sleepMilliseconds)
 
static int serialPortWritePlatform (serial_port_t *serialPort, const unsigned char *buffer, int writeCount)
 
static int set_interface_attribs (int fd, int speed, int parity)
 

Function Documentation

◆ get_baud_speed()

static int get_baud_speed ( int  baudRate)
static

Definition at line 111 of file serial/serialPortPlatform.c.

◆ serialPortAsyncReadPlatform()

static int serialPortAsyncReadPlatform ( serial_port_t serialPort,
unsigned char *  buffer,
int  readCount,
pfnSerialPortAsyncReadCompletion  completion 
)
static

Definition at line 557 of file serial/serialPortPlatform.c.

◆ serialPortClosePlatform()

static int serialPortClosePlatform ( serial_port_t serialPort)
static

Definition at line 372 of file serial/serialPortPlatform.c.

◆ serialPortFlushPlatform()

static int serialPortFlushPlatform ( serial_port_t serialPort)
static

Definition at line 405 of file serial/serialPortPlatform.c.

◆ serialPortGetByteCountAvailableToReadPlatform()

static int serialPortGetByteCountAvailableToReadPlatform ( serial_port_t serialPort)
static

Definition at line 641 of file serial/serialPortPlatform.c.

◆ serialPortGetByteCountAvailableToWritePlatform()

static int serialPortGetByteCountAvailableToWritePlatform ( serial_port_t serialPort)
static

Definition at line 665 of file serial/serialPortPlatform.c.

◆ serialPortIsOpenPlatform()

static int serialPortIsOpenPlatform ( serial_port_t serialPort)
static

Definition at line 353 of file serial/serialPortPlatform.c.

◆ serialPortOpenPlatform()

static int serialPortOpenPlatform ( serial_port_t serialPort,
const char *  port,
int  baudRate,
int  blocking 
)
static

Definition at line 264 of file serial/serialPortPlatform.c.

◆ serialPortPlatformInit()

int serialPortPlatformInit ( serial_port_t serialPort)

Definition at line 699 of file serial/serialPortPlatform.c.

◆ serialPortReadTimeoutPlatform()

static int serialPortReadTimeoutPlatform ( serial_port_t serialPort,
unsigned char *  buffer,
int  readCount,
int  timeoutMilliseconds 
)
static

Definition at line 537 of file serial/serialPortPlatform.c.

◆ serialPortReadTimeoutPlatformLinux()

static int serialPortReadTimeoutPlatformLinux ( serialPortHandle handle,
unsigned char *  buffer,
int  readCount,
int  timeoutMilliseconds 
)
static

Definition at line 481 of file serial/serialPortPlatform.c.

◆ serialPortSleepPlatform()

static int serialPortSleepPlatform ( serial_port_t serialPort,
int  sleepMilliseconds 
)
static

Definition at line 682 of file serial/serialPortPlatform.c.

◆ serialPortWritePlatform()

static int serialPortWritePlatform ( serial_port_t serialPort,
const unsigned char *  buffer,
int  writeCount 
)
static

Definition at line 585 of file serial/serialPortPlatform.c.

◆ set_interface_attribs()

static int set_interface_attribs ( int  fd,
int  speed,
int  parity 
)
static

Definition at line 136 of file serial/serialPortPlatform.c.



inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:07