fork

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 1173 of file nrf51.h.


Field Documentation

__IO uint32_t DIR

Direction of GPIO pins.

Definition at line 1179 of file nrf51.h.

__IO uint32_t DIRCLR

DIR clear register.

Definition at line 1181 of file nrf51.h.

__IO uint32_t DIRSET

DIR set register.

Definition at line 1180 of file nrf51.h.

__I uint32_t IN

Read GPIO port.

Definition at line 1178 of file nrf51.h.

__IO uint32_t OUT

Write GPIO port.

Definition at line 1175 of file nrf51.h.

__IO uint32_t OUTCLR

Clear individual bits in GPIO port.

Definition at line 1177 of file nrf51.h.

__IO uint32_t OUTSET

Set individual bits in GPIO port.

Definition at line 1176 of file nrf51.h.

__IO uint32_t PIN_CNF[32]

Configuration of GPIO pins.

Definition at line 1183 of file nrf51.h.

__I uint32_t RESERVED0[321]

< GPIO Structure

Definition at line 1174 of file nrf51.h.