VZTECH / Mbed 2 deprecated main_src

Dependencies:   EALib EthernetInterface_vz mbed-rtos mbed

Fork of header_main_colinas_V0-20-09-14 by VZTECH

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers eth.h Source File

eth.h

00001 #ifndef __ETH_H__
00002 #define __ETH_H__
00003 
00004 #include "EthernetInterface.h"
00005 #include "mbed.h"
00006 #include "debug.h"
00007 %: include "shared_variables.h"
00008 %: include "config_manager.h"
00009 #include "vz_protocol.h"
00010 
00011 extern EthernetInterface eth;
00012 ///< Representa o link com o mundo externo.
00013 
00014 /**
00015  * @Synopsis Responsavel por inicializar as configurações iniciais de conexão eth
00016  *
00017  * @return 0 ( zero ) caso tenha uma execução bem sucedida, um numero negativo, caso contrário.
00018  *
00019  * Exemplo:
00020  * @code
00021  * ...
00022  *   int eth_status = __init_eth__();
00023  * ...
00024  * @endcode
00025  */
00026 int __init_eth__ ( void );
00027 void __reconnect ( void );
00028 
00029 #endif