Infineon Logo AIROC BTSDK v4.7 - Documentation
 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
wiced_rtos.h File Reference

Defines functions to access functions provided by the RTOS in a generic way. More...

Macros

#define WICED_NO_WAIT   0
 
#define WICED_WAIT_FOREVER   ((uint32_t) 0xFFFFFFFF)
 
#define WICED_NEVER_TIMEOUT   ((uint32_t) 0xFFFFFFFF)
 

Functions

wiced_result_t wiced_rtos_create_thread_with_stack (wiced_thread_t *thread, uint8_t priority, const char *name, wiced_thread_function_t function, uint32_t stack_size, void *arg)
 Initializes and starts a new thread. More...
 
wiced_event_flags_t * wiced_rtos_create_event_flags (void)
 Creates a new instance of event flags. More...
 
wiced_result_t wiced_rtos_init_event_flags (wiced_event_flags_t *event_flags)
 Initialise an event flags. More...
 
wiced_result_t wiced_rtos_wait_for_event_flags (wiced_event_flags_t *event_flags, uint32_t flags_to_wait_for, uint32_t *flags_set, wiced_bool_t clear_set_flags, wiced_event_flags_wait_option_t wait_option, uint32_t timeout_ms)
 Wait for event flags to be set. More...
 
wiced_result_t wiced_rtos_set_event_flags (wiced_event_flags_t *event_flags, uint32_t flags_to_set)
 Set event flags. More...
 
wiced_mutex_t * wiced_rtos_create_mutex (void)
 Creates a new instance of mutex. More...
 
wiced_result_t wiced_rtos_init_mutex (wiced_mutex_t *mutex)
 Initialises a mutex. More...
 
wiced_result_t wiced_rtos_lock_mutex (wiced_mutex_t *mutex)
 Obtains the lock on a mutex. More...
 
wiced_result_t wiced_rtos_unlock_mutex (wiced_mutex_t *mutex)
 Releases the lock on a mutex. More...
 

Variables

wiced_worker_thread_t wiced_hardware_io_worker_thread
 
wiced_worker_thread_t wiced_networking_worker_thread
 

Detailed Description

Defines functions to access functions provided by the RTOS in a generic way.