Modularizando o src
Dependencies: EALib EthernetInterface_vz mbed-rtos mbed
Fork of header_main_colinas_V0-20-09-14 by
configs.h@137:32dd35a6dbc9, 2015-11-24 (annotated)
- Committer:
- klauss
- Date:
- Tue Nov 24 14:06:22 2015 +0000
- Revision:
- 137:32dd35a6dbc9
- Parent:
- 135:2f4290590e51
core source of the .bin (09/21/2015) in the field
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 |