Skip to content

Commit fb0b758

Browse files
author
Jenny Plunkett
authored
Merge pull request ARMmbed#34 from yennster/port-api
Fixed GPIO TypeDef register offsets
2 parents 9264463 + 0236b84 commit fb0b758

File tree

1 file changed

+5
-5
lines changed
  • targets/TARGET_TI/TARGET_CC32XX/TARGET_CC3220SF/device

1 file changed

+5
-5
lines changed

targets/TARGET_TI/TARGET_CC32XX/TARGET_CC3220SF/device/CC3220SF.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ typedef struct
194194
typedef struct
195195
{
196196
__IO uint32_t DATA; /*!< Address offset : 0x00000000 */
197-
uint32_t RESERVED0[32];
197+
uint32_t RESERVED0[255];
198198
__IO uint32_t DIR; /*!< Address offset : 0x00000400 */
199199
__IO uint32_t IS; /*!< Address offset : 0x00000404 */
200200
__IO uint32_t IBE; /*!< Address offset : 0x00000408 */
@@ -204,7 +204,7 @@ typedef struct
204204
__IO uint32_t MIS; /*!< Address offset : 0x00000418 */
205205
__O uint32_t ICR; /*!< Address offset : 0x0000041C */
206206
__IO uint32_t AFSEL; /*!< Address offset : 0x00000420 */
207-
uint32_t RESERVED1[7];
207+
uint32_t RESERVED1[55];
208208
__IO uint32_t DR2R; /*!< Address offset : 0x00000500 */
209209
__IO uint32_t DR4R; /*!< Address offset : 0x00000504 */
210210
__IO uint32_t DR8R; /*!< Address offset : 0x00000508 */
@@ -216,11 +216,11 @@ typedef struct
216216
__IO uint32_t LOCK; /*!< Address offset : 0x00000520 */
217217
__IO uint32_t CR; /*!< Address offset : 0x00000524 */
218218
__IO uint32_t AMSEL; /*!< Address offset : 0x00000528 */
219-
__IO uint32_t PCTL; /*!< Address offset : 0x0000052C */
220-
__IO uint32_t ADCCTL; /*!< Address offset : 0x00000530 */
219+
__IO uint32_t PCTL; /*!< Address offset : 0x0000052C ! This register is not used in cc3xx. ! */
220+
__IO uint32_t ADCCTL; /*!< Address offset : 0x00000530 ! This register is not used in cc3xx. ! */
221221
__IO uint32_t DMACTL; /*!< Address offset : 0x00000534 */
222222
__IO uint32_t SI; /*!< Address offset : 0x00000538 */
223-
uint8_t RESERVED2[339];
223+
uint32_t RESERVED2[677];
224224
__IO uint32_t PERIPHID4; /*!< Address offset : 0x00000FD0 */
225225
__IO uint32_t PERIPHID5; /*!< Address offset : 0x00000FD4 */
226226
__IO uint32_t PERIPHID6; /*!< Address offset : 0x00000FD8 */

0 commit comments

Comments
 (0)