Mercurial > hg > beaglert
view examples/d-box/sensors.h @ 318:f7b19ea31bbb prerelease
Added NEON vectorised float<->int converters. Curiously, its performance is worse than the C version. I guess clang is better at vectorising than we thought! The new code remains disabled for now.
author | andrewm |
---|---|
date | Mon, 30 May 2016 01:06:01 +0100 |
parents | dbeed520b014 |
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_ */