![](/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
wdt_manager.h
- Committer:
- klauss
- Date:
- 2015-01-08
- Revision:
- 91:c2a86b1f8aaa
- Parent:
- 85:b6f2dc1d0f4f
- Child:
- 104:62646ef786a3
File content as of revision 91:c2a86b1f8aaa:
#ifndef __WDT_MANAGER_H__ #define __WDT_MANAGER_H__ #include "mbed.h" #include "wdt.h" #include "debug.h" extern Watchdog wdt; extern Timer wdt_timer; extern UDPSocket udp_wdt_client; #define EXTERNAL_WDT_IP "192.168.120.144" #define EXTERNAL_WDT_SERVER_PORT 9395 #define EXTERNAL_WDT_HEADER_PORT 6612 #define init_wdt() { \ wdt.Configure( 30.0 ); \ wdt_timer.start(); \ } #define init_external_wdt() { \ udp_wdt_client.set_blocking( false, 0 ); \ udp_wdt_client.bind( 6612 ); \ } #endif