Searched refs:uart_get_index (Results 1 – 3 of 3) sorted by relevance
100 static inline uint uart_get_index(uart_inst_t *uart) { in uart_get_index() function112 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()
29 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()
115 const uint UART_IRQ = UART0_IRQ + uart_get_index(uart_instance); in stdio_uart_set_chars_available_callback()
Completed in 6 milliseconds