#include "t89c51cc02.h"
#include "datatypes.h"
#include "fingersensors.h"
#include "adc.h"
Go to the source code of this file.
Functions | |
void | Fingersensors_init () |
initializes fingersensors subsystem | |
void | Fingersensors_read () |
read all finger mounted force sensing resistors | |
Variables | |
WORD idata | fingersensors [FINGERSENSORS_NR] |
storage buffer for current fingersensor values |
Definition in file fingersensors.c.
|
initializes fingersensors subsystem P1.1 and P1.2 are configured as valid analogue inputs for the subsystem. Definition at line 33 of file fingersensors.c. References fingersensors, FINGERSENSORS_NR, and Fingersensors_PowerOff. Referenced by main(). |
|
read all finger mounted force sensing resistors The samples are saved into the buffer. (see fingersensors ) Definition at line 49 of file fingersensors.c. References ADC(), fingersensors, Fingersensors_PowerOff, Fingersensors_SelectBank1, and Fingersensors_SelectBank2. Referenced by main(). |
|
storage buffer for current fingersensor values The buffer is located in indirect addressable IRAM of the T89C51CC02 Definition at line 26 of file fingersensors.c. Referenced by Fingersensors_init(), Fingersensors_read(), and main(). |