Home
last modified time | relevance | path

Searched refs:p_mcu_uart (Results 1 – 1 of 1) sorted by relevance

/AliOS-Things-master/components/genie_service/sal/src/
A Dgenie_sal_uart.c15 static uart_dev_t mcu_uart, *p_mcu_uart = NULL; variable
58 p_mcu_uart = &mcu_uart; in genie_sal_uart_init()
68 if (p_mcu_uart == NULL) in genie_sal_uart_send_one_byte()
76 return hal_uart_send(p_mcu_uart, &send_data, 1, 0); in genie_sal_uart_send_one_byte()
85 if (p_mcu_uart == NULL) in genie_sal_uart_send_str()
102 …if (0 != hal_uart_send(p_mcu_uart, (void *)send_buff, (uint32_t)strlen((const char *)send_buff), H… in genie_sal_uart_send_str()
117 if (p_mcu_uart == NULL) in genie_sal_uart_read()
123 ret = hal_uart_recv_II(p_mcu_uart, &read_buff, 1, &recv_size, timeout); in genie_sal_uart_read()

Completed in 7 milliseconds