28 #ifndef INC_KERNEL_OC_SIGNAL_H_ 29 #define INC_KERNEL_OC_SIGNAL_H_ 40 #define _________________________________________TYPES_SECTION______________________________________________________________________________ 46 typedef bool (*oC_Signal_Slot_t)(
void * Context );
48 #undef _________________________________________TYPES_SECTION______________________________________________________________________________ 56 #define _________________________________________FUNCTIONS_SECTION__________________________________________________________________________ 60 extern oC_Signal_t oC_Signal_New (
void );
61 extern bool oC_Signal_Delete ( oC_Signal_t * Signal );
62 extern bool oC_Signal_IsCorrect ( oC_Signal_t Signal );
63 extern bool oC_Signal_Connect ( oC_Signal_t Signal , oC_Signal_Slot_t Slot ,
void * Context , oC_MemorySize_t StackSize );
64 extern bool oC_Signal_Disconnect ( oC_Signal_t Signal , oC_Signal_Slot_t Slot );
65 extern bool oC_Signal_Emit ( oC_Signal_t Signal ,
bool * outTaskWoken );
66 extern bool oC_Signal_WaitFor ( oC_Signal_t Signal , oC_Time_t Timeout );
68 #undef _________________________________________FUNCTIONS_SECTION__________________________________________________________________________ The file with interface for the GPIO driver.
The library with time definitions.