|
TuyaOS
|
the description of tuya kernel adapter layer uart 更多...
#include <tkl_init_common.h>
成员变量 | |
| OPERATE_RET(* | deinit )(TUYA_UART_NUM_E port_id) |
| OPERATE_RET(* | init )(TUYA_UART_NUM_E port_id, TUYA_UART_BASE_CFG_T *cfg) |
| INT_T(* | read )(TUYA_UART_NUM_E port_id, VOID_T *buff, UINT16_T len) |
| VOID_T(* | rx_irq_cb_reg )(TUYA_UART_NUM_E port_id, TUYA_UART_IRQ_CB rx_cb) |
| OPERATE_RET(* | set_rx_flowctrl )(TUYA_UART_NUM_E port_id, BOOL_T enable) |
| VOID_T(* | tx_irq_cb_reg )(TUYA_UART_NUM_E port_id, TUYA_UART_IRQ_CB rx_cb) |
| INT_T(* | write )(TUYA_UART_NUM_E port_id, VOID_T *buff, UINT16_T len) |
the description of tuya kernel adapter layer uart