From 368fa59d4e8819f9d20e6631915b23f5f9faf90a Mon Sep 17 00:00:00 2001 From: cinsights Date: Tue, 20 Apr 2021 15:25:37 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14244 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- os/common/ext/RP/RP2040/rp2040.h | 53 ++++++++++++++++++++++---------- 1 file changed, 37 insertions(+), 16 deletions(-) diff --git a/os/common/ext/RP/RP2040/rp2040.h b/os/common/ext/RP/RP2040/rp2040.h index a2d6eecc5..bb008809f 100644 --- a/os/common/ext/RP/RP2040/rp2040.h +++ b/os/common/ext/RP/RP2040/rp2040.h @@ -123,7 +123,7 @@ typedef struct { __IO uint32_t INTE0; __IO uint32_t INTF0; __IO uint32_t INTS0; - __I uint32_t resvd10; + __I uint32_t resvd410; __IO uint32_t INTE1; __IO uint32_t INTF1; __IO uint32_t INTS1; @@ -141,11 +141,18 @@ typedef struct { DMA_Channel_Typedef CH[12]; __I uint32_t resvd300[64]; __IO uint32_t INTR; - struct { - __IO uint32_t INTE; - __IO uint32_t INTF; - __IO uint32_t INTS; - } C[2]; +// struct { +// __IO uint32_t INTE; +// __IO uint32_t INTF; +// __IO uint32_t INTS; +// } C[2]; + __IO uint32_t INTE0; + __IO uint32_t INTF0; + __IO uint32_t INTS0; + __I uint32_t resvd410; + __IO uint32_t INTE1; + __IO uint32_t INTF1; + __IO uint32_t INTS1; __IO uint32_t TIMER[4]; __IO uint32_t MULTI_CHAN_TRIGGER; __IO uint32_t SNIFF_CTRL; @@ -161,11 +168,18 @@ typedef struct { DMA_Channel_Typedef CH[12]; __I uint32_t resvd300[64]; __IO uint32_t INTR; - struct { - __IO uint32_t INTE; - __IO uint32_t INTF; - __IO uint32_t INTS; - } C[2]; +// struct { +// __IO uint32_t INTE; +// __IO uint32_t INTF; +// __IO uint32_t INTS; +// } C[2]; + __IO uint32_t INTE0; + __IO uint32_t INTF0; + __IO uint32_t INTS0; + __I uint32_t resvd410; + __IO uint32_t INTE1; + __IO uint32_t INTF1; + __IO uint32_t INTS1; __IO uint32_t TIMER[4]; __IO uint32_t MULTI_CHAN_TRIGGER; __IO uint32_t SNIFF_CTRL; @@ -181,11 +195,18 @@ typedef struct { DMA_Channel_Typedef CH[12]; __I uint32_t resvd300[64]; __IO uint32_t INTR; - struct { - __IO uint32_t INTE; - __IO uint32_t INTF; - __IO uint32_t INTS; - } C[2]; +// struct { +// __IO uint32_t INTE; +// __IO uint32_t INTF; +// __IO uint32_t INTS; +// } C[2]; + __IO uint32_t INTE0; + __IO uint32_t INTF0; + __IO uint32_t INTS0; + __I uint32_t resvd410; + __IO uint32_t INTE1; + __IO uint32_t INTF1; + __IO uint32_t INTS1; __IO uint32_t TIMER[4]; __IO uint32_t MULTI_CHAN_TRIGGER; __IO uint32_t SNIFF_CTRL;