|
wiced_thread_t * | wiced_rtos_create_thread (void) |
| Creates a new instance of thread. More...
|
|
wiced_bool_t | wiced_rtos_check_for_stack_overflow (void) |
| Checks if there is a stackoverflow. More...
|
|
wiced_result_t | wiced_rtos_init_thread (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_result_t | wiced_rtos_thread_join (wiced_thread_t *thread) |
| Sleeps until another thread has terminated. More...
|
|
wiced_result_t | wiced_rtos_thread_force_awake (wiced_thread_t *thread) |
| Forcibly wakes another thread. More...
|
|
wiced_result_t | wiced_rtos_is_current_thread (wiced_thread_t *thread) |
| Checks if a thread is the current thread. More...
|
|
wiced_result_t | wiced_rtos_delay_milliseconds (uint32_t milliseconds, wiced_delay_type_t delay_type) |
| Sleep for a given period of milliseconds. More...
|
|
wiced_result_t | wiced_rtos_delay_microseconds (uint32_t microseconds) |
| Delay for a given period of microseconds. More...
|
|
wiced_result_t | wiced_rtos_init_semaphore (wiced_semaphore_t *semaphore) |
| Initialises a semaphore. More...
|
|
wiced_semaphore_t * | wiced_rtos_create_semaphore (void) |
| Creates a new instance of semaphore. More...
|
|
wiced_result_t | wiced_rtos_set_semaphore (wiced_semaphore_t *semaphore) |
| Set (post/put/increment) a semaphore. More...
|
|
wiced_result_t | wiced_rtos_get_semaphore (wiced_semaphore_t *semaphore, uint32_t timeout_ms) |
| Get (wait/decrement) a semaphore. More...
|
|
wiced_result_t | wiced_rtos_init_mutex (wiced_mutex_t *mutex) |
| Initialises a mutex. More...
|
|
wiced_mutex_t * | wiced_rtos_create_mutex (void) |
| Creates a new instance of 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...
|
|
wiced_result_t | wiced_rtos_deinit_mutex (wiced_mutex_t *mutex) |
| De-initialise a mutex. More...
|
|
wiced_result_t | wiced_rtos_init_queue (wiced_queue_t *queue, const char *name, uint32_t message_size, uint32_t number_of_messages) |
| Initialises a queue. More...
|
|
wiced_queue_t * | wiced_rtos_create_queue (void) |
| Creates a new instance of queue. More...
|
|
wiced_result_t | wiced_rtos_push_to_queue (wiced_queue_t *queue, void *message, uint32_t timeout_ms) |
| Pushes an object onto a queue. More...
|
|
wiced_result_t | wiced_rtos_pop_from_queue (wiced_queue_t *queue, void *message, uint32_t timeout_ms) |
| Pops an object off a queue. More...
|
|
wiced_result_t | wiced_rtos_deinit_queue (wiced_queue_t *queue) |
| De-initialise a queue. More...
|
|
wiced_bool_t | wiced_rtos_is_queue_empty (wiced_queue_t *queue) |
| Check if a queue is empty. More...
|
|
wiced_bool_t | wiced_rtos_is_queue_full (wiced_queue_t *queue) |
| Check if a queue is full. More...
|
|
wiced_result_t | wiced_rtos_get_queue_occupancy (wiced_queue_t *queue, uint32_t *count) |
| Get the queue occupancy. More...
|
|
wiced_result_t | wiced_rtos_init_worker_thread (wiced_worker_thread_t *worker_thread, uint8_t priority, uint32_t stack_size, uint32_t event_queue_size) |
| Creates a worker thread. More...
|
|
wiced_worker_thread_t * | wiced_rtos_create_worker_thread (void) |
| Creates a new instance of worker thread. More...
|
|
wiced_result_t | wiced_rtos_send_asynchronous_event (wiced_worker_thread_t *worker_thread, event_handler_t function, void *arg) |
| Sends an asynchronous event to the associated worker thread. More...
|
|
wiced_result_t | wiced_rtos_init_event_flags (wiced_event_flags_t *event_flags) |
| Initialise an event flags. More...
|
|
wiced_event_flags_t * | wiced_rtos_create_event_flags (void) |
| Creates a new instance of 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...
|
|
Defines functions to access functions provided by the RTOS in a generic way.