extmod/mpbthci.h: Add mp_bluetooth_hci_uart_any prototype.
This allows drivers to use mpbthciport functions to read/write/poll UART.
This commit is contained in:
parent
6e39f2cc1e
commit
80f2c794e6
|
@ -45,6 +45,7 @@ int mp_bluetooth_hci_controller_wakeup(void);
|
||||||
int mp_bluetooth_hci_uart_init(uint32_t port, uint32_t baudrate);
|
int mp_bluetooth_hci_uart_init(uint32_t port, uint32_t baudrate);
|
||||||
int mp_bluetooth_hci_uart_deinit(void);
|
int mp_bluetooth_hci_uart_deinit(void);
|
||||||
int mp_bluetooth_hci_uart_set_baudrate(uint32_t baudrate);
|
int mp_bluetooth_hci_uart_set_baudrate(uint32_t baudrate);
|
||||||
|
int mp_bluetooth_hci_uart_any(void);
|
||||||
int mp_bluetooth_hci_uart_readchar(void);
|
int mp_bluetooth_hci_uart_readchar(void);
|
||||||
int mp_bluetooth_hci_uart_write(const uint8_t *buf, size_t len);
|
int mp_bluetooth_hci_uart_write(const uint8_t *buf, size_t len);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue