[LPC15XX] Fix GPIO port word pin registers offset

Adjust offset for GPIO port word pin registers from 0x100 to 0x1000
pull/1286/head
Devan Lai 2015-08-07 22:32:57 -07:00
parent 020975119c
commit 37c71434dd
1 changed files with 2 additions and 2 deletions

View File

@ -159,9 +159,9 @@ typedef enum {
typedef struct { /*!< GPIO_PORT Structure */
__IO uint8_t B[76]; /*!< Byte pin registers */
__I uint32_t RESERVED0[45];
__I uint32_t RESERVED0[1005];
__IO uint32_t W[76]; /*!< Word pin registers */
__I uint32_t RESERVED1[1908];
__I uint32_t RESERVED1[948];
__IO uint32_t DIR[3]; /*!< Port Direction registers */
__I uint32_t RESERVED2[29];
__IO uint32_t MASK[3]; /*!< Port Mask register */