EZR

Dependencies:   CRC16 FreescaleIAP FreescaleWatchdog GGSProtocol LM75B PIMA Parameters PersistentCircularQueue SerialNumberV2COM mbed-dev-watchdog_2016_03_04

Fork of smartRamalKW by Equipe Firmware V2COM

Committer:
fprado
Date:
Thu Jun 16 18:55:57 2016 +0000
Revision:
35:78614a27b9e6
Parent:
24:69e7e7079915
temporary snapshot

Who changed what in which revision?

UserRevisionLine numberNew contents of line
tpadovani 5:1bc98277c257 1 #ifndef SENSOR_H
tpadovani 5:1bc98277c257 2 #define SENSOR_H
tpadovani 5:1bc98277c257 3
tpadovani 5:1bc98277c257 4 #include "mbed.h"
tpadovani 5:1bc98277c257 5 #include "settings.h"
tpadovani 5:1bc98277c257 6 #include "parameters.h"
tpadovani 5:1bc98277c257 7 #include "appParameters.h"
tpadovani 5:1bc98277c257 8
tpadovani 22:b66e36356dd4 9 float getInstVoltage(unsigned char channel);
tpadovani 22:b66e36356dd4 10 float getInstCurrent();
tpadovani 22:b66e36356dd4 11 bool getSensorState(unsigned char channel);
tpadovani 24:69e7e7079915 12 bool checkVoltageReturn(unsigned char channel);
tpadovani 8:e8d86c66283c 13 void readSample();
tpadovani 8:e8d86c66283c 14 void timeoutReadingSamples();
tpadovani 22:b66e36356dd4 15 float calculateRMS(float angCoef, float linCoef);
tpadovani 5:1bc98277c257 16
tpadovani 5:1bc98277c257 17 #endif