EZR

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

Fork of smartRamalKW by Equipe Firmware V2COM

sensor.h

Committer:
fprado
Date:
2016-06-16
Revision:
35:78614a27b9e6
Parent:
24:69e7e7079915

File content as of revision 35:78614a27b9e6:

#ifndef SENSOR_H
#define SENSOR_H

#include "mbed.h"
#include "settings.h"
#include "parameters.h"
#include "appParameters.h"

float getInstVoltage(unsigned char channel);
float getInstCurrent();
bool getSensorState(unsigned char channel);
bool checkVoltageReturn(unsigned char channel);
void readSample();
void timeoutReadingSamples();
float calculateRMS(float angCoef, float linCoef);

#endif