from bbc microbit library

Fork of nrf51-sdk by Lancaster University

Embed: (wiki syntax)

« Back to documentation index

NRF_SPI_Type Struct Reference

NRF_SPI_Type Struct Reference
[Device_Peripheral_Registers]

SPI master 0. More...

#include <nrf51.h>

Data Fields

__I uint32_t RESERVED0 [66]
__IO uint32_t EVENTS_READY
__IO uint32_t INTENSET
__IO uint32_t INTENCLR
__IO uint32_t ENABLE
__IO uint32_t PSELSCK
__IO uint32_t PSELMOSI
__IO uint32_t PSELMISO
__I uint32_t RXD
__IO uint32_t TXD
__IO uint32_t FREQUENCY
__IO uint32_t CONFIG
__IO uint32_t POWER

Detailed Description

SPI master 0.

(SPI)

Definition at line 431 of file nrf51.h.


Field Documentation

__IO uint32_t CONFIG

Configuration register.

Definition at line 449 of file nrf51.h.

__IO uint32_t ENABLE

Enable SPI.

Definition at line 438 of file nrf51.h.

__IO uint32_t EVENTS_READY

TXD byte sent and RXD byte received.

Definition at line 433 of file nrf51.h.

__IO uint32_t FREQUENCY

SPI frequency

Definition at line 447 of file nrf51.h.

__IO uint32_t INTENCLR

Interrupt enable clear register.

Definition at line 436 of file nrf51.h.

__IO uint32_t INTENSET

Interrupt enable set register.

Definition at line 435 of file nrf51.h.

__IO uint32_t POWER

Peripheral power control.

Definition at line 451 of file nrf51.h.

__IO uint32_t PSELMISO

Pin select for MISO.

Definition at line 442 of file nrf51.h.

__IO uint32_t PSELMOSI

Pin select for MOSI.

Definition at line 441 of file nrf51.h.

__IO uint32_t PSELSCK

Pin select for SCK.

Definition at line 440 of file nrf51.h.

__I uint32_t RESERVED0[66]

< SPI Structure

Definition at line 432 of file nrf51.h.

__I uint32_t RXD

RX data.

Definition at line 444 of file nrf51.h.

__IO uint32_t TXD

TX data.

Definition at line 445 of file nrf51.h.