Searched refs:uart_get_index (Results 1 – 2 of 2) sorted by relevance
209 #define UART_RESET_NUM(uart) (uart_get_index(uart) ? RESET_UART1 : RESET_UART0)218 static inline uint uart_get_index(uart_inst_t *uart) { in uart_get_index() function244 uart_get_index(uart); // check it is a hw uart in uart_get_hw()510 if (uart_char_to_line_feed[uart_get_index(uart)] == c) in uart_putc()
223 uart_char_to_line_feed[uart_get_index(uart)] = crlf ? '\n' : 0x100; in uart_set_translate_crlf()