Searched refs:rx_pin (Results 1 – 2 of 2) sorted by relevance
/hal_rpi_pico-latest/src/rp2_common/pico_stdio_uart/ |
D | stdio_uart.c | 40 int rx_pin = -1; in stdio_uart_init() local 44 rx_pin = PICO_DEFAULT_UART_RX_PIN; in stdio_uart_init() 57 rx_pin = PICO_DEFAULT_UART_RX_PIN; in stdio_uart_init() 64 stdio_uart_init_full(uart_default, PICO_DEFAULT_UART_BAUD_RATE, tx_pin, rx_pin); in stdio_uart_init() 93 void stdio_uart_init_full(struct uart_inst *uart, uint baud_rate, int tx_pin, int rx_pin) { in stdio_uart_init_full() argument 96 if (rx_pin >= 0) gpio_set_function((uint)rx_pin, UART_FUNCSEL_NUM(uart, rx_pin)); in stdio_uart_init_full() 104 int rx_pin = -1; in stdio_uart_deinit() local 109 rx_pin = PICO_DEFAULT_UART_RX_PIN; in stdio_uart_deinit() 111 stdio_uart_deinit_full(uart_default, tx_pin, rx_pin); in stdio_uart_deinit() 127 void stdio_uart_deinit_full(struct uart_inst *uart, int tx_pin, int rx_pin) { in stdio_uart_deinit_full() argument [all …]
|
/hal_rpi_pico-latest/src/rp2_common/pico_stdio_uart/include/pico/ |
D | stdio_uart.h | 69 void stdio_uart_init_full(uart_inst_t *uart, uint baud_rate, int tx_pin, int rx_pin); 102 void stdio_uart_deinit_full(uart_inst_t *uart, int tx_pin, int rx_pin);
|