/**** DO NOT EDIT -- this file has been automatically generated from @emmoco.com.Blinker on 2014-05-09T15:40:37T ****/ /**** protocolLevel = 12, toolsVersion = 12.0.0.201211010336 ****/ #ifndef Blinker__H #define Blinker__H #include "Em_Types.h" #include "Em_Message.h" #ifdef __cplusplus extern "C" { #endif /* enum Cmd */ typedef uint8_t Blinker_Cmd; #define Blinker_START_CMD 0 #define Blinker_STOP_CMD 1 /* enum LedState */ typedef uint8_t Blinker_LedState; #define Blinker_LED_OFF 0 #define Blinker_LED_ON 1 /* resource cmd */ typedef Blinker_Cmd Blinker_cmd_t; extern void Blinker_cmd_store(Blinker_cmd_t* const input); /* resource count */ typedef int16_t Blinker_count_t; extern void Blinker_count_fetch(Blinker_count_t* const output); extern void Blinker_count_store(Blinker_count_t* const input); /* resource delay */ typedef uint16_t Blinker_delay_t; #define Blinker_delay_min 500 #define Blinker_delay_max 2000 #define Blinker_delay_step 100 extern void Blinker_delay_fetch(Blinker_delay_t* const output); extern void Blinker_delay_store(Blinker_delay_t* const input); /* resource ledState */ typedef Blinker_LedState Blinker_ledState_t; extern void Blinker_ledState_fetch(Blinker_ledState_t* const output); extern void Blinker_ledState_indicate(void); void Blinker_reset(void); void Blinker_run(void); void Blinker_accept(bool enable); void Blinker_disconnect(void); void Blinker_pairingOn(uint8_t secs, void(*handler)(void)); void Blinker_pairingOff(void(*handler)(void)); void Blinker_connectHandler(void); void Blinker_disconnectHandler(void); #ifdef __cplusplus } #endif #endif /* Blinker__H */