|
OPTIGA™ Trust M
Host Library Documentation
|
Go to the documentation of this file.
38 #ifndef _PAL_OS_EVENT_H_
39 #define _PAL_OS_EVENT_H_
83 void * callback_args);
125 void * callback_args,
164 void * callback_args);
void(* register_callback)(void *)
typedef for Callback function when timer elapses.
LIBRARY_EXPORTS pal_os_event_t * pal_os_event_create(register_callback callback, void *callback_args)
Create an os event.
LIBRARY_EXPORTS void pal_os_event_start(pal_os_event_t *p_pal_os_event, register_callback callback, void *callback_args)
Start an os event.
LIBRARY_EXPORTS void pal_os_event_destroy(pal_os_event_t *pal_os_event)
Destroys an os event.
This file contains the type definitions for the fundamental data types.
void * callback_ctx
context to be passed to callback
register_callback callback_registered
registered callback
LIBRARY_EXPORTS void pal_os_event_stop(pal_os_event_t *p_pal_os_event)
Stops an os event.
uint8_t bool_t
Typedef for a boolean.
struct pal_os_event pal_os_event_t
PAL os event structure.
bool_t is_event_triggered
event triggered status
void pal_os_event_trigger_registered_callback(void)
Timer callback handler.
LIBRARY_EXPORTS void pal_os_event_register_callback_oneshot(pal_os_event_t *p_pal_os_event, register_callback callback, void *callback_args, uint32_t time_us)
Callback registration function to trigger once when timer expires.