Home
last modified time | relevance | path

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

/external/platform/pico/rp2_common/hardware_uart/include/hardware/
A Duart.h100 static inline uint uart_get_index(uart_inst_t *uart) { in uart_get_index() function
112 uart_get_index(uart); // check it is a hw uart in uart_get_hw()
370 if (uart_char_to_line_feed[uart_get_index(uart)] == c) in uart_putc()
461 return DREQ_UART0_TX + uart_get_index(uart) * 2 + !is_tx; in uart_get_dreq()
/external/platform/pico/rp2_common/hardware_uart/
A Duart.c29 reset_block(uart_get_index(uart) ? RESETS_RESET_UART1_BITS : RESETS_RESET_UART0_BITS); in uart_reset()
34 unreset_block_wait(uart_get_index(uart) ? RESETS_RESET_UART1_BITS : RESETS_RESET_UART0_BITS); in uart_unreset()
196 uart_char_to_line_feed[uart_get_index(uart)] = crlf ? '\n' : 0x100; in uart_set_translate_crlf()
/external/platform/pico/rp2_common/pico_stdio_uart/
A Dstdio_uart.c115 const uint UART_IRQ = UART0_IRQ + uart_get_index(uart_instance); in stdio_uart_set_chars_available_callback()

Completed in 6 milliseconds