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_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_END
__IO uint32_t EVENTS_ENDTX
__IO uint32_t EVENTS_STARTED
__IO uint32_t SHORTS
__IO uint32_t INTENSET
__IO uint32_t INTENCLR
__IO uint32_t ENABLE
SPIM_PSEL_Type PSEL
__I uint32_t RXDDATA
__IO uint32_t TXDDATA
__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 621 of file nrf51.h.


Field Documentation

__IO uint32_t CONFIG

Configuration register.

Definition at line 657 of file nrf51.h.

__IO uint32_t ENABLE

Enable SPIM.

Definition at line 644 of file nrf51.h.

__IO uint32_t EVENTS_END

End of RXD buffer and TXD buffer reached.

Definition at line 633 of file nrf51.h.

__IO uint32_t EVENTS_ENDRX

End of RXD buffer reached.

Definition at line 631 of file nrf51.h.

__IO uint32_t EVENTS_ENDTX

End of TXD buffer reached.

Definition at line 635 of file nrf51.h.

__IO uint32_t EVENTS_STARTED

Transaction started.

Definition at line 637 of file nrf51.h.

__IO uint32_t EVENTS_STOPPED

SPI transaction has stopped.

Definition at line 629 of file nrf51.h.

__IO uint32_t FREQUENCY

SPI frequency.

Definition at line 651 of file nrf51.h.

__IO uint32_t INTENCLR

Interrupt enable clear register.

Definition at line 642 of file nrf51.h.

__IO uint32_t INTENSET

Interrupt enable set register.

Definition at line 641 of file nrf51.h.

__IO uint32_t ORC

Over-read character.

Definition at line 659 of file nrf51.h.

__IO uint32_t POWER

Peripheral power control.

Definition at line 661 of file nrf51.h.

SPIM_PSEL_Type PSEL

Pin select configuration.

Definition at line 646 of file nrf51.h.

__I uint32_t RESERVED0[4]

< SPIM Structure

Definition at line 622 of file nrf51.h.

SPIM_RXD_Type RXD

RXD EasyDMA configuration and status.

Definition at line 653 of file nrf51.h.

__I uint32_t RXDDATA

RXD register.

Definition at line 648 of file nrf51.h.

__IO uint32_t SHORTS

Shortcuts for SPIM.

Definition at line 639 of file nrf51.h.

__O uint32_t TASKS_RESUME

Resume SPI transaction.

Definition at line 627 of file nrf51.h.

__O uint32_t TASKS_START

Start SPI transaction.

Definition at line 623 of file nrf51.h.

__O uint32_t TASKS_STOP

Stop SPI transaction.

Definition at line 624 of file nrf51.h.

__O uint32_t TASKS_SUSPEND

Suspend SPI transaction.

Definition at line 626 of file nrf51.h.

SPIM_TXD_Type TXD

TXD EasyDMA configuration and status.

Definition at line 655 of file nrf51.h.

__IO uint32_t TXDDATA

TXD register.

Definition at line 649 of file nrf51.h.