Microchip® Advanced Software Framework

btstack_run_loop_freertos.h File Reference
#include "btstack_config.h"
#include "btstack_run_loop.h"

Functions

void btstack_run_loop_freertos_execute_code_on_main_thread (void(*fn)(void *arg), void *arg)
 
void btstack_run_loop_freertos_execute_code_on_main_thread_from_isr (void(*fn)(void *arg), void *arg)
 
const btstack_run_loop_tbtstack_run_loop_freertos_get_instance (void)
 Provide btstack_run_loop_freertos instance for use with btstack_run_loop_init. More...
 
void btstack_run_loop_freertos_trigger (void)
 Triggers processing of data sources from thread context. More...
 
void btstack_run_loop_freertos_trigger_from_isr (void)
 Triggers processing of data sources from an ISR. More...
 

void btstack_run_loop_freertos_execute_code_on_main_thread ( void(*)(void *arg)  fn,
void *  arg 
)
void btstack_run_loop_freertos_execute_code_on_main_thread_from_isr ( void(*)(void *arg)  fn,
void *  arg 
)
const btstack_run_loop_t* btstack_run_loop_freertos_get_instance ( void  )

Provide btstack_run_loop_freertos instance for use with btstack_run_loop_init.

Provide btstack_run_loop_freertos instance for use with btstack_run_loop_init.

References btstack_run_loop_freertos.

Referenced by bt_task(), and main().

void btstack_run_loop_freertos_trigger ( void  )

Triggers processing of data sources from thread context.

Has to be called after enabling a poll data source to wake-pup run loop.

References btstack_run_loop_event_group, btstack_run_loop_task, eSetBits, EVENT_GROUP_FLAG_RUN_LOOP, xEventGroupSetBits(), and xTaskNotify.

Referenced by btstack_run_loop_freertos_execute_code_on_main_thread().

void btstack_run_loop_freertos_trigger_from_isr ( void  )

Triggers processing of data sources from an ISR.

Has to be called after enabling a poll data source to wake-pup run loop.

Referenced by btstack_uart_block_freertos_received_isr(), and btstack_uart_block_freertos_sent_isr().