Home
last modified time | relevance | path

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

/hal_rpi_pico-latest/src/rp2_common/hardware_uart/include/hardware/
Duart.h209 #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() function
244 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()
/hal_rpi_pico-latest/src/rp2_common/hardware_uart/
Duart.c223 uart_char_to_line_feed[uart_get_index(uart)] = crlf ? '\n' : 0x100; in uart_set_translate_crlf()