teste de publish
Dependencies: DS1820 HighSpeedAnalogIn devices mbed
serialPC.h@38:07d3907b74e5, 2018-06-08 (annotated)
- Committer:
- brunofgc
- Date:
- Fri Jun 08 22:14:21 2018 +0000
- Revision:
- 38:07d3907b74e5
- Parent:
- 18:1eefda1f7736
teste de publish para compilar no mbed-cli
Who changed what in which revision?
User | Revision | Line number | New 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 | 0:1c0a769988ee | 4 | #include "funcoesSDCard.h" |
brunofgc | 0:1c0a769988ee | 5 | #include "devices.h" |
brunofgc | 0:1c0a769988ee | 6 | #include "devices.h" |
brunofgc | 18:1eefda1f7736 | 7 | #define maxTentativasEnvioDados 5 |
brunofgc | 0:1c0a769988ee | 8 | |
brunofgc | 0:1c0a769988ee | 9 | namespace serialPC{ |
brunofgc | 0:1c0a769988ee | 10 | //variáveis |
brunofgc | 0:1c0a769988ee | 11 | extern osTimerId timer_pacote; //ticker timer (Timer recursivo ISR) que processa pacotes entrantes da serial PC. |
brunofgc | 0:1c0a769988ee | 12 | extern bool startTimer_pacote; |
brunofgc | 0:1c0a769988ee | 13 | |
brunofgc | 0:1c0a769988ee | 14 | //funções |
brunofgc | 0:1c0a769988ee | 15 | void serialPC_init(); //Função que faz a inicialização do recurso serial uart pc |
brunofgc | 0:1c0a769988ee | 16 | void isr_serialPC(); //Função que processa os caracteres entrantes da uart pc |
brunofgc | 0:1c0a769988ee | 17 | void processaPacotePC(void const *); |
brunofgc | 0:1c0a769988ee | 18 | } |
brunofgc | 0:1c0a769988ee | 19 | |
brunofgc | 0:1c0a769988ee | 20 |