Searched refs:UART_FUNCSEL_NUM (Results 1 – 3 of 3) sorted by relevance
/hal_rpi_pico-latest/src/rp2_common/pico_stdio_uart/ |
D | stdio_uart.c | 49 …bi_decl_if_func_used(bi_1pin_with_func(PICO_DEFAULT_UART_TX_PIN, UART_FUNCSEL_NUM(uart_default, PI… in stdio_uart_init() 50 …bi_decl_if_func_used(bi_1pin_with_func(PICO_DEFAULT_UART_RX_PIN, UART_FUNCSEL_NUM(uart_default, PI… in stdio_uart_init() 71 …bi_decl_if_func_used(bi_1pin_with_func(PICO_DEFAULT_UART_TX_PIN, UART_FUNCSEL_NUM(uart_default, PI… in stdout_uart_init() 83 …bi_decl_if_func_used(bi_1pin_with_func(PICO_DEFAULT_UART_RX_PIN, UART_FUNCSEL_NUM(uart_default, PI… in stdin_uart_init() 95 if (tx_pin >= 0) gpio_set_function((uint)tx_pin, UART_FUNCSEL_NUM(uart, tx_pin)); in stdio_uart_init_full() 96 if (rx_pin >= 0) gpio_set_function((uint)rx_pin, UART_FUNCSEL_NUM(uart, rx_pin)); in stdio_uart_init_full()
|
/hal_rpi_pico-latest/src/rp2_common/hardware_uart/include/hardware/ |
D | uart.h | 177 #ifndef UART_FUNCSEL_NUM 179 #define UART_FUNCSEL_NUM(uart, gpio) GPIO_FUNC_UART macro 181 #define UART_FUNCSEL_NUM(uart, gpio) ((gpio) & 0x2 ? GPIO_FUNC_UART_AUX : GPIO_FUNC_UART) macro
|
/hal_rpi_pico-latest/src/host/hardware_uart/include/hardware/ |
D | uart.h | 94 #define UART_FUNCSEL_NUM(uart, gpio) 0 macro
|