protegemed, aquisição via A/D simples utilizando interrupção do timer

Dependencies:   EthernetInterface NTPClient mbed-rtos mbed

Fork of ptgm_semDMA by Marcelo Rebonatto

Headers/CommTCP.h

Committer:
viniciushl
Date:
2016-01-13
Revision:
1:8129536051df
Parent:
0:fac116e94d44

File content as of revision 1:8129536051df:

/*
 * CommTCP.h
 *
 *  Created on: 07/07/2013
 *      Author: Rebonatto
 */
#ifndef COMM_TCP_H
#define COMM_TCP_H

#include <mbed.h>
#include <rtos.h>

#include "EthernetInterface.h"    

#include "Settings.h"
#include "EventDetector.h"

extern void CommTCP_Thread(void const *arg);

class CommTCP
{
public:

    static void CommTCP_Thread(void const *arg);
    static void RequestAcom();
    static void SendAcom(int tipo,int tomada);
};

#endif //#ifndef COMM_TCP_H