view projects/d-box/sensors.h @ 39:638bc1ae2500 staging

Improved readibility of the DIGITAL code in the PRU, using register names instead of aliases and expanding some of the macros, removing unused macros. Binaries were not modified
author Giulio Moro <giuliomoro@yahoo.it>
date Wed, 13 May 2015 12:18:10 +0100
parents 901d205d1a3c
children
line wrap: on
line source
/*
 * sensors.h
 *
 *  Created on: May 28, 2014
 *      Author: Victor Zappi
 */

#ifndef SENSORS_H_
#define SENSORS_H_

#include "config.h"

int initSensorLoop(int sensorAddress0, int sensorAddress1, int sensorType);

void sensorLoop(void *);
void *keyboardLoop(void *);


#endif /* SENSORS_H_ */