teste de publish

Dependencies:   DS1820 HighSpeedAnalogIn devices mbed

Committer:
brunofgc
Date:
Wed May 10 12:57:13 2017 +0000
Revision:
2:55b7b466e742
Parent:
0:1c0a769988ee
Child:
4:13ff9c81dc10
Ainda com bug em configRede.htm

Who changed what in which revision?

UserRevisionLine numberNew contents of line
brunofgc 0:1c0a769988ee 1 #include "mbed.h"
brunofgc 0:1c0a769988ee 2 #include "cmsis_os.h" //Nucleo do Real Time Operational System
brunofgc 0:1c0a769988ee 3 #include "main.h" //Funções e variáveis globais
brunofgc 2:55b7b466e742 4 #define maxBufInModem 1024
brunofgc 0:1c0a769988ee 5 #define maxBufOutModem 512
brunofgc 0:1c0a769988ee 6
brunofgc 0:1c0a769988ee 7 namespace serialModem{
brunofgc 0:1c0a769988ee 8 //variáveis
brunofgc 0:1c0a769988ee 9 extern osTimerId timer_pacote; //ticker timer (Timer recursivo ISR) que processa pacotes entrantes da serial PC.
brunofgc 0:1c0a769988ee 10 extern bool startTimer_pacote;
brunofgc 0:1c0a769988ee 11
brunofgc 0:1c0a769988ee 12 //funções
brunofgc 0:1c0a769988ee 13 void serial_init(); //Função que faz a inicialização do recurso serial uart modem
brunofgc 0:1c0a769988ee 14 void isr_serial(); //Função que processa os caracteres entrantes da uart modem
brunofgc 0:1c0a769988ee 15 void chamaProcessaPacote(void const *);
brunofgc 0:1c0a769988ee 16 void configBaud();
brunofgc 0:1c0a769988ee 17 }