Macros | Functions | Variables
sensor_epsonUart.c File Reference
#include "sensor_epsonCommon.h"
#include "hcl.h"
#include "hcl_gpio.h"
#include "hcl_uart.h"
Include dependency graph for sensor_epsonUart.c:

Go to the source code of this file.

Macros

#define DATA   1
 
#define END   2
 
#define EPSON_STALL   134
 
#define START   0
 

Functions

void populateEpsonData (struct EpsonOptions options, struct EpsonData *epson_data)
 
unsigned short registerRead16 (unsigned char winNumber, unsigned char regAddr, unsigned int verbose)
 
void registerWriteByte (unsigned char winNumber, unsigned char regAddr, unsigned char regByte, unsigned int verbose)
 
unsigned int sensorDataByteLength (struct EpsonOptions options)
 
void sensorDataReadBurstN (signed short sensorReadData[], unsigned int readLen)
 
int sensorDataReadBurstNOptions (struct EpsonOptions options, struct EpsonData *epson_data)
 
int sensorDataReady (void)
 
int sensorDataReadyOptions (struct EpsonOptions options)
 

Variables

int comPort
 
static double da_scale_factors [16]
 
static unsigned char data [256]
 
static int data_count = 0
 
static double dv_scale_factors [16]
 
const char * IMUSERIAL
 
unsigned char rxBuffer [256]
 
static int scale_factors_initialized = 0
 
static int state = START
 
const unsigned char UART_DELIMITER = 0x0D
 

Macro Definition Documentation

#define DATA   1

Definition at line 198 of file sensor_epsonUart.c.

#define END   2

Definition at line 199 of file sensor_epsonUart.c.

#define EPSON_STALL   134

Definition at line 28 of file sensor_epsonUart.c.

#define START   0

Definition at line 197 of file sensor_epsonUart.c.

Function Documentation

void populateEpsonData ( struct EpsonOptions  options,
struct EpsonData epson_data 
)

Definition at line 214 of file sensor_epsonUart.c.

unsigned short registerRead16 ( unsigned char  winNumber,
unsigned char  regAddr,
unsigned int  verbose 
)

Definition at line 159 of file sensor_epsonUart.c.

void registerWriteByte ( unsigned char  winNumber,
unsigned char  regAddr,
unsigned char  regByte,
unsigned int  verbose 
)

Definition at line 127 of file sensor_epsonUart.c.

unsigned int sensorDataByteLength ( struct EpsonOptions  options)

Definition at line 39 of file sensor_epsonUart.c.

void sensorDataReadBurstN ( signed short  sensorReadData[],
unsigned int  readLen 
)

Definition at line 535 of file sensor_epsonUart.c.

int sensorDataReadBurstNOptions ( struct EpsonOptions  options,
struct EpsonData epson_data 
)

Definition at line 468 of file sensor_epsonUart.c.

int sensorDataReady ( void  )

Definition at line 92 of file sensor_epsonUart.c.

int sensorDataReadyOptions ( struct EpsonOptions  options)

Definition at line 108 of file sensor_epsonUart.c.

Variable Documentation

int comPort

Definition at line 15 of file epson_imu_driver_node.cpp.

double da_scale_factors[16]
static

Definition at line 204 of file sensor_epsonUart.c.

unsigned char data[256]
static

Definition at line 196 of file sensor_epsonUart.c.

int data_count = 0
static

Definition at line 201 of file sensor_epsonUart.c.

double dv_scale_factors[16]
static

Definition at line 203 of file sensor_epsonUart.c.

const char* IMUSERIAL

Definition at line 28 of file main_csvlogger.c.

unsigned char rxBuffer[256]

Definition at line 22 of file sensor_epsonUart.c.

int scale_factors_initialized = 0
static

Definition at line 202 of file sensor_epsonUart.c.

int state = START
static

Definition at line 200 of file sensor_epsonUart.c.

const unsigned char UART_DELIMITER = 0x0D

Definition at line 31 of file sensor_epsonUart.c.



epson_g364_imu_driver
Author(s):
autogenerated on Mon Jun 10 2019 13:12:32