I2C hang recover function added

Dependencies:   UniGraphic mbed vt100

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers edge_mgr.h Source File

edge_mgr.h

00001 #ifndef _EDGE_MGR_H_
00002 #define _EDGE_MGR_H_
00003 #include "edge_sensor.h"
00004 
00005 void   init_display(void) ;
00006 void   init_sensors(void) ;
00007 void   enable_sensors(void) ;
00008 void   disable_sensors(void) ;
00009 int    init_edge_attribute(void) ;
00010 void   edge_splash(void) ;
00011 void   edge_loop(uint32_t tick_count) ;
00012 void   reboot_edge(void) ;
00013 void   draw_chart_frame(void) ;
00014 
00015 extern ILI9341         *display ;
00016 extern char             *reset_reason_str ;
00017 extern edge_sensor      *sensor[] ;
00018 extern bool             verbos ;
00019 extern int              display_mode ;
00020 extern int              edge_mgr_status ;
00021 extern bool             reboot_requested ;
00022 
00023 extern const unsigned char Arial12x12[] ;
00024 extern const unsigned char Arial24x23[] ;
00025 extern const unsigned char Arial28x28[] ;
00026 
00027 #define EDGE_MGR_INIT    0
00028 #define EDGE_MGR_RUNNING 1
00029 
00030 #endif /* _EDGE_MGR_H_ */