src/ad7879.c File Reference

#include "ad7879.h"
#include "bf52x_uart.h"
#include "bf52xI2cMaster.h"

Include dependency graph for ad7879.c:


Functions

int tscrAD7879_init (tscrAD7879_t *state, unsigned char slaveAddress, unsigned int width, unsigned int height, unsigned int resistanceX, unsigned char interruptEnable, unsigned char includeMeasurements)
int tscrAD7879_regSet (tscrAD7879_t *state, unsigned char reg, unsigned int value)
int tscrAD7879_regGet (tscrAD7879_t *state, unsigned char reg, unsigned int *value)
int tscrAD7879_positionGet (tscrAD7879_t *state, tscrPosition *position)
int tscrAD7879_pressureGet (tscrAD7879_t *state, double *pressure)
int tscrAD7879_pressurePositionGet (tscrAD7879_t *state, tscrPosition *position, double *pressure)
int tscrAD7879_touchEventGet (tscrAD7879_t *state, tscrPosition *position, double *pressure)
int gpioAD7879_pinSet (tscrAD7879_t *state)
int gpioAD7879_pinClear (tscrAD7879_t *state)
int gpioAD7879_pinGet (tscrAD7879_t *state, unsigned char *value)
int tscrAD7879_release (tscrAD7879_t *state)

Function Documentation

int gpioAD7879_pinClear ( tscrAD7879_t state  ) 

int gpioAD7879_pinGet ( tscrAD7879_t state,
unsigned char *  value 
)

int gpioAD7879_pinSet ( tscrAD7879_t state  ) 

int tscrAD7879_init ( tscrAD7879_t state,
unsigned char  slaveAddress,
unsigned int  width,
unsigned int  height,
unsigned int  resistanceX,
unsigned char  interruptEnable,
unsigned char  includeMeasurements 
)

int tscrAD7879_positionGet ( tscrAD7879_t state,
tscrPosition position 
)

int tscrAD7879_pressureGet ( tscrAD7879_t state,
double *  pressure 
)

int tscrAD7879_pressurePositionGet ( tscrAD7879_t state,
tscrPosition position,
double *  pressure 
)

int tscrAD7879_regGet ( tscrAD7879_t state,
unsigned char  reg,
unsigned int *  value 
)

int tscrAD7879_regSet ( tscrAD7879_t state,
unsigned char  reg,
unsigned int  value 
)

int tscrAD7879_release ( tscrAD7879_t state  ) 

int tscrAD7879_touchEventGet ( tscrAD7879_t state,
tscrPosition position,
double *  pressure 
)


Generated on 3 Mar 2014 for PAL bare-c Library by  doxygen 1.4.7