![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Modularizando o src
Dependencies: EALib EthernetInterface_vz mbed-rtos mbed
Fork of header_main_colinas_V0-20-09-14 by
configs.h@135:2f4290590e51, 2015-09-10 (annotated)
- Committer:
- klauss
- Date:
- Thu Sep 10 20:11:35 2015 +0000
- Revision:
- 135:2f4290590e51
- Parent:
- 122:480c44b0e205
inclus?o das funcionalidades; - [get|set]_cbx_wake_mode; - [get|set]_cbx_detach_mode; - [get|set]_cbx_mode; - simula < ext > <msg_id > < type >; - refresh_status
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
klauss | 122:480c44b0e205 | 1 | #ifndef __CONFIGS_H__ |
klauss | 122:480c44b0e205 | 2 | #define __CONFIGS_H__ |
klauss | 122:480c44b0e205 | 3 | |
klauss | 122:480c44b0e205 | 4 | #include "mbed.h" |
klauss | 122:480c44b0e205 | 5 | #include "parallelcpld.h" |
klauss | 122:480c44b0e205 | 6 | #include "UART3Interrupt.h" |
klauss | 74:81c47fff88a5 | 7 | |
klauss | 0:4d17cd9c8f9d | 8 | extern InterruptIn NextData; //IO 96 |
klauss | 0:4d17cd9c8f9d | 9 | extern InterruptIn FrameSync; |
klauss | 0:4d17cd9c8f9d | 10 | //Ticker ticker; // Timer para Debug |
klauss | 0:4d17cd9c8f9d | 11 | |
klauss | 0:4d17cd9c8f9d | 12 | extern DigitalOut RST; // Pino de reset para o CPLD |
klauss | 0:4d17cd9c8f9d | 13 | extern DigitalIn PPD; // Pino de conexao com o cristal do CPLD |
klauss | 0:4d17cd9c8f9d | 14 | |
klauss | 0:4d17cd9c8f9d | 15 | extern DigitalOut ENABLE_F_REG; // Configuracao da Alimentacao do CPLD |
klauss | 0:4d17cd9c8f9d | 16 | extern DigitalOut ENABLE_F_RX; |
klauss | 0:4d17cd9c8f9d | 17 | extern DigitalOut ENABLE_F_TX; |
klauss | 0:4d17cd9c8f9d | 18 | |
klauss | 0:4d17cd9c8f9d | 19 | extern Serial Uart3; // default baudrate = 9600; Sem paridade, 8bits, 1 stop-bit |
klauss | 0:4d17cd9c8f9d | 20 | |
klauss | 119:ee6a53069455 | 21 | int start_cpld( void ); |
klauss | 119:ee6a53069455 | 22 | int config_lpc( void ); |
klauss | 0:4d17cd9c8f9d | 23 | |
klauss | 0:4d17cd9c8f9d | 24 | #endif |