test code 123

Dependencies:   mbed

Fork of LinkNode-Test by Qi Yao

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


Field Documentation

__IO uint32_t DIR

Direction of GPIO pins.

Definition at line 1170 of file nrf51.h.

__IO uint32_t DIRCLR

DIR clear register.

Definition at line 1172 of file nrf51.h.

__IO uint32_t DIRSET

DIR set register.

Definition at line 1171 of file nrf51.h.

__I uint32_t IN

Read GPIO port.

Definition at line 1169 of file nrf51.h.

__IO uint32_t OUT

Write GPIO port.

Definition at line 1166 of file nrf51.h.

__IO uint32_t OUTCLR

Clear individual bits in GPIO port.

Definition at line 1168 of file nrf51.h.

__IO uint32_t OUTSET

Set individual bits in GPIO port.

Definition at line 1167 of file nrf51.h.

__IO uint32_t PIN_CNF[32]

Configuration of GPIO pins.

Definition at line 1174 of file nrf51.h.

__I uint32_t RESERVED0[321]

< GPIO Structure

Definition at line 1165 of file nrf51.h.