Patched version of nrf51822 FOTA compatible driver, with GPTIO disabled, as it clashed with the mbed definitions...

Fork of nRF51822 by Nordic Semiconductor

Embed: (wiki syntax)

« Back to documentation index

NRF_GPIO_Type Struct Reference

NRF_GPIO_Type Struct Reference
[Device_Peripheral_Registers]

General purpose input and output. More...

#include <nrf51.h>

Data Fields

__I uint32_t RESERVED0 [321]
__IO uint32_t OUT
__IO uint32_t OUTSET
__IO uint32_t OUTCLR
__I uint32_t IN
__IO uint32_t DIR
__IO uint32_t DIRSET
__IO uint32_t DIRCLR
__IO uint32_t PIN_CNF [32]

Detailed Description

General purpose input and output.

(GPIO)

Definition at line 1191 of file nrf51.h.


Field Documentation

__IO uint32_t DIR

Direction of GPIO pins.

Definition at line 1197 of file nrf51.h.

__IO uint32_t DIRCLR

DIR clear register.

Definition at line 1199 of file nrf51.h.

__IO uint32_t DIRSET

DIR set register.

Definition at line 1198 of file nrf51.h.

__I uint32_t IN

Read GPIO port.

Definition at line 1196 of file nrf51.h.

__IO uint32_t OUT

Write GPIO port.

Definition at line 1193 of file nrf51.h.

__IO uint32_t OUTCLR

Clear individual bits in GPIO port.

Definition at line 1195 of file nrf51.h.

__IO uint32_t OUTSET

Set individual bits in GPIO port.

Definition at line 1194 of file nrf51.h.

__IO uint32_t PIN_CNF[32]

Configuration of GPIO pins.

Definition at line 1201 of file nrf51.h.

__I uint32_t RESERVED0[321]

< GPIO Structure

Definition at line 1192 of file nrf51.h.