![](/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
parallelcpld.h
- Committer:
- klauss
- Date:
- 2015-04-07
- Revision:
- 109:a5b8264ffbbc
- Parent:
- 105:a930035b6556
- Child:
- 113:db67ae00550e
File content as of revision 109:a5b8264ffbbc:
#ifndef __PARALLELCPLD_H__ #define __PARALLELCPLD_H__ #include <stdint.h> #include "mbed.h" #include "bits.h" #include "ring_buffer.h" #include "debug.h" #include "utils.h" #include "vz_protocol.h" #include "fw.h" //alguém explica por que eu nao consido deixar esse cara como extern ??? extern ring_buffer * rb; extern uint8_t TXBuffer[ __CB_BUFFER_SIZE__ ]; ///<UART3 TX Buffer -- Buffer de transmissao para o CPLD extern uint8_t tx_clear; extern uint8_t cb_tx_buffer[ __CB_BUFFER_SIZE__ ]; ///< Armazena o ultimo pacote enviado para os CBx void parallel_write( uint8_t data); //void send2callboxes(); void send2callboxes( uint8_t * buffer ); void get2(); void tx_buffer_ring_buffer_handler( void ); extern DigitalOut data0; //LSB extern DigitalOut data1; extern DigitalOut data2; extern DigitalOut data3; extern DigitalOut data4; extern DigitalOut data5; extern DigitalOut data6; extern DigitalOut data7; //MSB extern DigitalOut DataReady; ///<IO 27 extern DigitalOut hw_extern_wdt; extern Timer delay_to_send_to_cbx; #endif