EZR
Dependencies: CRC16 FreescaleIAP FreescaleWatchdog GGSProtocol LM75B PIMA Parameters PersistentCircularQueue SerialNumberV2COM mbed-dev-watchdog_2016_03_04
Fork of smartRamalKW by
Diff: appCommands.h
- Revision:
- 11:8c93e0de58cd
- Parent:
- 10:7a1d1abb5172
- Child:
- 12:0f549dfba86c
diff -r 7a1d1abb5172 -r 8c93e0de58cd appCommands.h --- a/appCommands.h Thu Jul 23 22:46:18 2015 +0000 +++ b/appCommands.h Fri Jul 24 21:58:21 2015 +0000 @@ -37,7 +37,8 @@ #define RESP_MM_CORRENTE 0x28 #define CMD_DETECTA_CARGA 0x29 #define RESP_DETECTA_CARGA 0x2a - +#define CMD_LER_CICLOS_CORTE 0x2b +#define RESP_LER_CICLOS_CORTE 0x2c extern CommandExecutor exec; extern Parameters param; @@ -60,9 +61,10 @@ void cmdReligar(); void cmdEstadoFornecimento(); void cmdDetectaCarga(); +void cmdLerCiclosCorte(); -void cmdTensaoInstantanea(unsigned char lineOrLoad); -void cmdMMTensao(unsigned char lineOrLoad); +void cmdTensaoInstantanea(int lineOrLoad); +void cmdMMTensao(int lineOrLoad, int block); void atualizaEstadoRele(unsigned char estado); unsigned char lerEstadoRele();