Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: EALib EthernetInterface_vz mbed-rtos mbed
Fork of header_main_colinas_V0-20-09-14 by
parallelcpld.h
00001 #ifndef __PARALLELCPLD_H__ 00002 #define __PARALLELCPLD_H__ 00003 00004 #include "ring_buffer.h" 00005 #include "bits.h" 00006 #include "debug.h" 00007 #include "vz_protocol.h" 00008 #include "utils.h" 00009 #include "fw.h" 00010 #include "flood.h" 00011 #include "file_system_manager.h" 00012 00013 //alguém explica por que eu nao consido deixar esse cara como extern ??? 00014 extern ring_buffer * rb; 00015 00016 extern uint8_t TXBuffer[ CB_BUFFER_SIZE ]; 00017 ///<UART3 TX Buffer -- Buffer de transmissao para o CPLD 00018 extern uint8_t tx_clear; 00019 00020 extern uint8_t cb_tx_buffer[ CB_BUFFER_SIZE ]; 00021 ///< Armazena o ultimo pacote enviado para os CBx 00022 00023 void parallel_write( uint8_t data); 00024 //void send2callboxes(); 00025 void send2callboxes( uint8_t * buffer ); 00026 void get2(); 00027 /* rotina que esvazia possiveis pacotes que não foram transmitidos para evitar conflito */ 00028 void tx_buffer_ring_buffer_handler( void ); 00029 00030 extern DigitalOut data0; //LSB 00031 extern DigitalOut data1; 00032 extern DigitalOut data2; 00033 extern DigitalOut data3; 00034 extern DigitalOut data4; 00035 extern DigitalOut data5; 00036 extern DigitalOut data6; 00037 extern DigitalOut data7; //MSB 00038 00039 extern DigitalOut DataReady; 00040 ///<IO 27 00041 00042 extern DigitalOut hw_extern_wdt; 00043 00044 #endif
Generated on Tue Jul 12 2022 16:25:06 by
