mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-29 21:32:38 +00:00
btstack_uart_block: add set_flowcontrol
This commit is contained in:
parent
9ba7722dcc
commit
4b929998c3
@ -192,6 +192,7 @@ static const btstack_uart_block_t btstack_uart_embedded = {
|
||||
/* void (*set_block_sent)(void (*handler)(void)); */ &btstack_uart_embedded_set_block_sent,
|
||||
/* int (*set_baudrate)(uint32_t baudrate); */ &hal_uart_dma_set_baud,
|
||||
/* int (*set_parity)(int parity); */ &btstack_uart_embedded_set_parity,
|
||||
/* int (*set_flowcontrol)(int flowcontrol); */ NULL,
|
||||
/* void (*receive_block)(uint8_t *buffer, uint16_t len); */ &btstack_uart_embedded_receive_block,
|
||||
/* void (*send_block)(const uint8_t *buffer, uint16_t length); */ &btstack_uart_embedded_send_block,
|
||||
/* int (*get_supported_sleep_modes); */ &btstack_uart_embedded_get_supported_sleep_modes,
|
||||
|
@ -154,6 +154,7 @@ static const btstack_uart_block_t btstack_uart_block_freertos = {
|
||||
/* void (*set_block_sent)(void (*handler)(void)); */ &btstack_uart_block_freertos_set_block_sent,
|
||||
/* int (*set_baudrate)(uint32_t baudrate); */ &hal_uart_dma_set_baud,
|
||||
/* int (*set_parity)(int parity); */ &btstack_uart_block_freertos_set_parity,
|
||||
/* int (*set_flowcontrol)(int flowcontrol); */ NULL,
|
||||
/* void (*receive_block)(uint8_t *buffer, uint16_t len); */ &hal_uart_dma_receive_block,
|
||||
/* void (*send_block)(const uint8_t *buffer, uint16_t length); */ &hal_uart_dma_send_block,
|
||||
/* int (*get_supported_sleep_modes); */ NULL,
|
||||
|
@ -377,6 +377,7 @@ static const btstack_uart_block_t btstack_uart_posix = {
|
||||
/* void (*set_block_sent)(void (*handler)(void)); */ &btstack_uart_posix_set_block_sent,
|
||||
/* int (*set_baudrate)(uint32_t baudrate); */ &btstack_uart_posix_set_baudrate,
|
||||
/* int (*set_parity)(int parity); */ &btstack_uart_posix_set_parity,
|
||||
/* int (*set_flowcontrol)(int flowcontrol); */ NULL,
|
||||
/* void (*receive_block)(uint8_t *buffer, uint16_t len); */ &btstack_uart_posix_receive_block,
|
||||
/* void (*send_block)(const uint8_t *buffer, uint16_t length); */ &btstack_uart_posix_send_block,
|
||||
/* int (*get_supported_sleep_modes); */ NULL,
|
||||
|
@ -372,6 +372,7 @@ static const btstack_uart_block_t btstack_uart_block_wiced = {
|
||||
/* void (*set_block_sent)(void (*handler)(void)); */ &btstack_uart_block_wiced_set_block_sent,
|
||||
/* int (*set_baudrate)(uint32_t baudrate); */ &btstack_uart_block_wiced_set_baudrate,
|
||||
/* int (*set_parity)(int parity); */ &btstack_uart_block_wiced_set_parity,
|
||||
/* int (*set_flowcontrol)(int flowcontrol); */ NULL,
|
||||
/* void (*receive_block)(uint8_t *buffer, uint16_t len); */ &btstack_uart_block_wiced_receive_block,
|
||||
/* void (*send_block)(const uint8_t *buffer, uint16_t length); */ &btstack_uart_block_wiced_send_block,
|
||||
/* int (*get_supported_sleep_modes); */ NULL,
|
||||
|
@ -408,6 +408,7 @@ static const btstack_uart_block_t btstack_uart_windows = {
|
||||
/* void (*set_block_sent)(void (*handler)(void)); */ &btstack_uart_windows_set_block_sent,
|
||||
/* int (*set_baudrate)(uint32_t baudrate); */ &btstack_uart_windows_set_baudrate,
|
||||
/* int (*set_parity)(int parity); */ &btstack_uart_windows_set_parity,
|
||||
/* int (*set_flowcontrol)(int flowcontrol); */ NULL,
|
||||
/* void (*receive_block)(uint8_t *buffer, uint16_t len); */ &btstack_uart_windows_receive_block,
|
||||
/* void (*send_block)(const uint8_t *buffer, uint16_t length); */ &btstack_uart_windows_send_block,
|
||||
/* int (*get_supported_sleep_modes); */ NULL,
|
||||
|
@ -105,6 +105,11 @@ typedef struct {
|
||||
*/
|
||||
int (*set_parity)(int parity);
|
||||
|
||||
/**
|
||||
* set flowcontrol
|
||||
*/
|
||||
int (*set_flowcontrol)(int flowcontrol);
|
||||
|
||||
/**
|
||||
* receive block
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user