Nordic stack and drivers for the mbed BLE API. Version to work around build bug.

Dependents:   microbit_rubber_ducky microbit_mouse_BLE microbit_mouse_BLE_daybreak_version microbit_presenter

Fork of nRF51822 by Nordic Semiconductor

Embed: (wiki syntax)

« Back to documentation index

NRF_SPIM_Type Struct Reference

NRF_SPIM_Type Struct Reference
[Device_Peripheral_Registers]

SPI master with easyDMA 1. More...

#include <nrf51.h>

Data Fields

__I uint32_t RESERVED0 [4]
__O uint32_t TASKS_START
__O uint32_t TASKS_STOP
__O uint32_t TASKS_SUSPEND
__O uint32_t TASKS_RESUME
__IO uint32_t EVENTS_STOPPED
__IO uint32_t EVENTS_ENDRX
__IO uint32_t EVENTS_ENDTX
__IO uint32_t EVENTS_STARTED
__IO uint32_t INTENSET
__IO uint32_t INTENCLR
__IO uint32_t ENABLE
SPIM_PSEL_Type PSEL
__IO uint32_t FREQUENCY
SPIM_RXD_Type RXD
SPIM_TXD_Type TXD
__IO uint32_t CONFIG
__IO uint32_t ORC
__IO uint32_t POWER

Detailed Description

SPI master with easyDMA 1.

(SPIM)

Definition at line 571 of file nrf51.h.


Field Documentation

__IO uint32_t CONFIG

Configuration register.

Definition at line 600 of file nrf51.h.

__IO uint32_t ENABLE

Enable SPIM.

Definition at line 590 of file nrf51.h.

__IO uint32_t EVENTS_ENDRX

End of RXD buffer reached.

Definition at line 581 of file nrf51.h.

__IO uint32_t EVENTS_ENDTX

End of TXD buffer reached.

Definition at line 583 of file nrf51.h.

__IO uint32_t EVENTS_STARTED

Transaction started.

Definition at line 585 of file nrf51.h.

__IO uint32_t EVENTS_STOPPED

SPI transaction has stopped.

Definition at line 579 of file nrf51.h.

__IO uint32_t FREQUENCY

SPI frequency.

Definition at line 594 of file nrf51.h.

__IO uint32_t INTENCLR

Interrupt enable clear register.

Definition at line 588 of file nrf51.h.

__IO uint32_t INTENSET

Interrupt enable set register.

Definition at line 587 of file nrf51.h.

__IO uint32_t ORC

Over-read character.

Definition at line 602 of file nrf51.h.

__IO uint32_t POWER

Peripheral power control.

Definition at line 604 of file nrf51.h.

SPIM_PSEL_Type PSEL

Pin select configuration.

Definition at line 592 of file nrf51.h.

__I uint32_t RESERVED0[4]

< SPIM Structure

Definition at line 572 of file nrf51.h.

SPIM_RXD_Type RXD

RXD EasyDMA configuration and status.

Definition at line 596 of file nrf51.h.

__O uint32_t TASKS_RESUME

Resume SPI transaction.

Definition at line 577 of file nrf51.h.

__O uint32_t TASKS_START

Start SPI transaction.

Definition at line 573 of file nrf51.h.

__O uint32_t TASKS_STOP

Stop SPI transaction.

Definition at line 574 of file nrf51.h.

__O uint32_t TASKS_SUSPEND

Suspend SPI transaction.

Definition at line 576 of file nrf51.h.

SPIM_TXD_Type TXD

TXD EasyDMA configuration and status.

Definition at line 598 of file nrf51.h.