Use the correct marcro name for RP2040_UART0_BASE

This commit is contained in:
Bernd Walter 2022-10-15 22:36:14 +02:00 committed by Xiang Xiao
parent 85440f5db6
commit 432c438c76

View File

@ -75,28 +75,28 @@
/* Register definitions (UART) **********************************************/
#define RP2040_UART0_UARTDR (RP2040_UART_BASE + RP2040_UART_UARTDR_OFFSET)
#define RP2040_UART0_UARTRSR (RP2040_UART_BASE + RP2040_UART_UARTRSR_OFFSET)
#define RP2040_UART0_UARTFR (RP2040_UART_BASE + RP2040_UART_UARTFR_OFFSET)
#define RP2040_UART0_UARTILPR (RP2040_UART_BASE + RP2040_UART_UARTILPR_OFFSET)
#define RP2040_UART0_UARTIBRD (RP2040_UART_BASE + RP2040_UART_UARTIBRD_OFFSET)
#define RP2040_UART0_UARTFBRD (RP2040_UART_BASE + RP2040_UART_UARTFBRD_OFFSET)
#define RP2040_UART0_UARTLCR_H (RP2040_UART_BASE + RP2040_UART_UARTLCR_H_OFFSET)
#define RP2040_UART0_UARTCR (RP2040_UART_BASE + RP2040_UART_UARTCR_OFFSET)
#define RP2040_UART0_UARTIFLS (RP2040_UART_BASE + RP2040_UART_UARTIFLS_OFFSET)
#define RP2040_UART0_UARTIMSC (RP2040_UART_BASE + RP2040_UART_UARTIMSC_OFFSET)
#define RP2040_UART0_UARTRIS (RP2040_UART_BASE + RP2040_UART_UARTRIS_OFFSET)
#define RP2040_UART0_UARTMIS (RP2040_UART_BASE + RP2040_UART_UARTMIS_OFFSET)
#define RP2040_UART0_UARTICR (RP2040_UART_BASE + RP2040_UART_UARTICR_OFFSET)
#define RP2040_UART0_UARTDMACR (RP2040_UART_BASE + RP2040_UART_UARTDMACR_OFFSET)
#define RP2040_UART0_UARTPERIPHID0 (RP2040_UART_BASE + RP2040_UART_UARTPERIPHID0_OFFSET)
#define RP2040_UART0_UARTPERIPHID1 (RP2040_UART_BASE + RP2040_UART_UARTPERIPHID1_OFFSET)
#define RP2040_UART0_UARTPERIPHID2 (RP2040_UART_BASE + RP2040_UART_UARTPERIPHID2_OFFSET)
#define RP2040_UART0_UARTPERIPHID3 (RP2040_UART_BASE + RP2040_UART_UARTPERIPHID3_OFFSET)
#define RP2040_UART0_UARTPCELLID0 (RP2040_UART_BASE + RP2040_UART_UARTPCELLID0_OFFSET)
#define RP2040_UART0_UARTPCELLID1 (RP2040_UART_BASE + RP2040_UART_UARTPCELLID1_OFFSET)
#define RP2040_UART0_UARTPCELLID2 (RP2040_UART_BASE + RP2040_UART_UARTPCELLID2_OFFSET)
#define RP2040_UART0_UARTPCELLID3 (RP2040_UART_BASE + RP2040_UART_UARTPCELLID3_OFFSET)
#define RP2040_UART0_UARTDR (RP2040_UART0_BASE + RP2040_UART_UARTDR_OFFSET)
#define RP2040_UART0_UARTRSR (RP2040_UART0_BASE + RP2040_UART_UARTRSR_OFFSET)
#define RP2040_UART0_UARTFR (RP2040_UART0_BASE + RP2040_UART_UARTFR_OFFSET)
#define RP2040_UART0_UARTILPR (RP2040_UART0_BASE + RP2040_UART_UARTILPR_OFFSET)
#define RP2040_UART0_UARTIBRD (RP2040_UART0_BASE + RP2040_UART_UARTIBRD_OFFSET)
#define RP2040_UART0_UARTFBRD (RP2040_UART0_BASE + RP2040_UART_UARTFBRD_OFFSET)
#define RP2040_UART0_UARTLCR_H (RP2040_UART0_BASE + RP2040_UART_UARTLCR_H_OFFSET)
#define RP2040_UART0_UARTCR (RP2040_UART0_BASE + RP2040_UART_UARTCR_OFFSET)
#define RP2040_UART0_UARTIFLS (RP2040_UART0_BASE + RP2040_UART_UARTIFLS_OFFSET)
#define RP2040_UART0_UARTIMSC (RP2040_UART0_BASE + RP2040_UART_UARTIMSC_OFFSET)
#define RP2040_UART0_UARTRIS (RP2040_UART0_BASE + RP2040_UART_UARTRIS_OFFSET)
#define RP2040_UART0_UARTMIS (RP2040_UART0_BASE + RP2040_UART_UARTMIS_OFFSET)
#define RP2040_UART0_UARTICR (RP2040_UART0_BASE + RP2040_UART_UARTICR_OFFSET)
#define RP2040_UART0_UARTDMACR (RP2040_UART0_BASE + RP2040_UART_UARTDMACR_OFFSET)
#define RP2040_UART0_UARTPERIPHID0 (RP2040_UART0_BASE + RP2040_UART_UARTPERIPHID0_OFFSET)
#define RP2040_UART0_UARTPERIPHID1 (RP2040_UART0_BASE + RP2040_UART_UARTPERIPHID1_OFFSET)
#define RP2040_UART0_UARTPERIPHID2 (RP2040_UART0_BASE + RP2040_UART_UARTPERIPHID2_OFFSET)
#define RP2040_UART0_UARTPERIPHID3 (RP2040_UART0_BASE + RP2040_UART_UARTPERIPHID3_OFFSET)
#define RP2040_UART0_UARTPCELLID0 (RP2040_UART0_BASE + RP2040_UART_UARTPCELLID0_OFFSET)
#define RP2040_UART0_UARTPCELLID1 (RP2040_UART0_BASE + RP2040_UART_UARTPCELLID1_OFFSET)
#define RP2040_UART0_UARTPCELLID2 (RP2040_UART0_BASE + RP2040_UART_UARTPCELLID2_OFFSET)
#define RP2040_UART0_UARTPCELLID3 (RP2040_UART0_BASE + RP2040_UART_UARTPCELLID3_OFFSET)
/* Register definitions (UART1) *********************************************/