#include "btstack_debug.h"
#include "btstack_uart_block.h"
#include "btstack_run_loop_freertos.h"
#include "hal_uart_dma.h"
#include "FreeRTOS.h"
Macros | |
#define | __BTSTACK_FILE__ "btstack_uart_block_freertos.c" |
Functions | |
static int | btstack_uart_block_freertos_close (void) |
static int | btstack_uart_block_freertos_init (const btstack_uart_config_t *config) |
const btstack_uart_block_t * | btstack_uart_block_freertos_instance (void) |
static int | btstack_uart_block_freertos_open (void) |
static void | btstack_uart_block_freertos_process (btstack_data_source_t *ds, btstack_data_source_callback_type_t callback_type) |
static void | btstack_uart_block_freertos_received_isr (void) |
static void | btstack_uart_block_freertos_sent_isr (void) |
static void | btstack_uart_block_freertos_set_block_received (void(*block_handler)(void)) |
static void | btstack_uart_block_freertos_set_block_sent (void(*block_handler)(void)) |
static int | btstack_uart_block_freertos_set_parity (int parity) |
Variables | |
static void(* | block_received )(void) |
static void(* | block_sent )(void) |
static const btstack_uart_block_t | btstack_uart_block_freertos |
static int | receive_complete |
static int | send_complete |
static btstack_data_source_t | transport_data_source |
static const btstack_uart_config_t * | uart_config |
#define __BTSTACK_FILE__ "btstack_uart_block_freertos.c" |
|
static |
|
static |
References btstack_run_loop_add_data_source(), btstack_run_loop_enable_data_source_callbacks(), btstack_run_loop_set_data_source_handler(), btstack_uart_block_freertos_process(), btstack_uart_block_freertos_received_isr(), btstack_uart_block_freertos_sent_isr(), DATA_SOURCE_CALLBACK_POLL, hal_uart_dma_set_block_received(), and hal_uart_dma_set_block_sent().
const btstack_uart_block_t* btstack_uart_block_freertos_instance | ( | void | ) |
References btstack_uart_block_freertos.
|
static |
References btstack_uart_config_t::baudrate, hal_uart_dma_init(), and hal_uart_dma_set_baud().
|
static |
References block_received, block_sent, DATA_SOURCE_CALLBACK_POLL, receive_complete, and send_complete.
Referenced by btstack_uart_block_freertos_init().
|
static |
References btstack_run_loop_freertos_trigger_from_isr(), and receive_complete.
Referenced by btstack_uart_block_freertos_init().
|
static |
References btstack_run_loop_freertos_trigger_from_isr(), and send_complete.
Referenced by btstack_uart_block_freertos_init().
|
static |
References block_received.
|
static |
References block_sent.
|
static |
|
static |
|
static |
Referenced by btstack_uart_block_freertos_process(), and btstack_uart_block_freertos_set_block_sent().
|
static |
Referenced by btstack_uart_block_freertos_instance().
|
static |
Referenced by btstack_uart_block_freertos_process(), and btstack_uart_block_freertos_received_isr().
|
static |
Referenced by btstack_uart_block_freertos_process(), and btstack_uart_block_freertos_sent_isr().
|
static |
|
static |