Yuki Suga / RTnoV4

Dependencies:   EthernetInterface mbed-rtos

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ExecutionContext.h Source File

ExecutionContext.h

00001 #ifndef EXECUTION_CONTEXT_HEADER_INCLUDED
00002 #define EXECUTION_CONTEXT_HEADER_INCLUDED
00003 
00004 #include <stdint.h>
00005 
00006 extern "C" {
00007   typedef int8_t LifeCycleState;
00008   typedef int8_t ReturnValue_t;
00009   
00010   void EC_init(int8_t);
00011   LifeCycleState EC_get_component_state();
00012   ReturnValue_t EC_activate_component();
00013   ReturnValue_t EC_deactivate_component();
00014   ReturnValue_t EC_execute();
00015   ReturnValue_t EC_error();
00016   int8_t EC_get_type();
00017   
00018   extern void (*EC_start)();
00019   extern void (*EC_suspend)();
00020   extern void (*EC_resume)();
00021 }
00022 
00023 #endif // #ifndef EXECUTION_CONTEXT_HEADER_INCLDUED