It's a pointer to the respective UART instance hardware registers base address.
Look at some examples: https://github.com/raspberrypi/pico-exa ... aster/uart
But you can simply use uart0 or uart1, it's the first or second UART module (there are 2 of them).#define uart0 ((uart_inst_t *)uart0_hw)
Identifier for UART instance 0
Expands to:
((uart_inst_t *)((uart_hw_t *)0x40034000u))
#define uart1 ((uart_inst_t *)uart1_hw)
Identifier for UART instance 1
Expands to:
((uart_inst_t *)((uart_hw_t *)0x40038000u))
Look at some examples: https://github.com/raspberrypi/pico-exa ... aster/uart
Statistics: Posted by gmx — Mon Sep 29, 2025 10:15 pm