Home
last modified time | relevance | path

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

/hal_rpi_pico-latest/src/rp2_common/pico_stdio_uart/
Dstdio_uart.c39 int tx_pin = -1; in stdio_uart_init() local
42 tx_pin = PICO_DEFAULT_UART_TX_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
95 if (tx_pin >= 0) gpio_set_function((uint)tx_pin, UART_FUNCSEL_NUM(uart, tx_pin)); in stdio_uart_init_full()
103 int tx_pin = -1; in stdio_uart_deinit() local
106 tx_pin = PICO_DEFAULT_UART_TX_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
132 ((void)tx_pin); in stdio_uart_deinit_full()
[all …]
/hal_rpi_pico-latest/src/rp2_common/pico_stdio_uart/include/pico/
Dstdio_uart.h69 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);