| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

- Data Structures
- Data Structure Index
- Data Fields

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
IP_GPIO_001_T Struct Reference
IP: GPIO register block and driver

## Detailed Description

GPIO port register block structure.

Definition at line 50 of file gpio_001.h.

`#include "gpio_001.h"`

## Data Fields
__IO uint8_t | B [128][32]
__IO uint32_t | W [32][32]
__IO uint32_t | DIR [32]
__IO uint32_t | MASK [32]
__IO uint32_t | PIN [32]
__IO uint32_t | MPIN [32]
__IO uint32_t | SET [32]
__O uint32_t | CLR [32]
__O uint32_t | NOT [32]

## Field Documentation

__IO uint8_t B[128][32]

< GPIO_PORT Structure Offset 0x0000: Byte pin registers ports 0 to n; pins PIOn_0 to PIOn_31

Definition at line 51 of file gpio_001.h.

__O uint32_t CLR[32]

Offset 0x2280: Clear port n

Definition at line 58 of file gpio_001.h.

__IO uint32_t DIR[32]

Offset 0x2000: Direction registers port n

Definition at line 53 of file gpio_001.h.

__IO uint32_t MASK[32]

Offset 0x2080: Mask register port n

Definition at line 54 of file gpio_001.h.

__IO uint32_t MPIN[32]

Offset 0x2180: Masked port register port n

Definition at line 56 of file gpio_001.h.

__O uint32_t NOT[32]

Offset 0x2300: Toggle port n

Definition at line 59 of file gpio_001.h.

__IO uint32_t PIN[32]

Offset 0x2100: Portpin register port n

Definition at line 55 of file gpio_001.h.

__IO uint32_t SET[32]

Offset 0x2200: Write: Set register for port n Read: output bits for port n

Definition at line 57 of file gpio_001.h.

__IO uint32_t W[32][32]

Offset 0x1000: Word pin registers port 0 to n

Definition at line 52 of file gpio_001.h.

The documentation for this struct was generated from the following file:

- C:/nxp/v1.03/lpcopen_v1.03/lpcopen/software/lpc_core/lpc_ip/gpio_001.h