#ifndef _CAPTURE_H_ 
#define _CAPTURE_H_ 

void capture_init();

//void period_avg_one_axis(unsigned int *pp, unsigned char channel);
void single_reading_two_axis(unsigned int *xpulse, unsigned int *xtotal, unsigned int *ypulse, unsigned int *ytotal);
unsigned int find_pulse_width(unsigned char channel);
void find_pw_pp(unsigned int *pulse, unsigned int *total, unsigned char channel);
#endif