//
//  $Id: sensors.h 283 2008-11-06 01:22:02Z jcw $
//  $Revision: 283 $
//  $Author: jcw $
//  $Date: 2008-11-05 20:22:02 -0500 (Wed, 05 Nov 2008) $
//  $HeadURL: http://tinymicros.com/svn_public/arm/lpc2148_demo/trunk/sensors/sensors.h $
//

#ifndef _SENSORS_H_
#define _SENSORS_H_

#include "FreeRTOS.h"
#include "semphr.h"

//
//
//
typedef struct sensorData_s
{
  int  sensorCount;
  int  adcChanges;
  int  adcValue;
  int  dacValue;
  int  dacDirection;
}
sensorData_t;

//
//
//
int sensorsCopyData (sensorData_t *dst);
signed portBASE_TYPE sensorsTaskStart (void);
signed portBASE_TYPE sensorsTaskStop (void);

#endif
