from bbc microbit library

Fork of nrf51-sdk by Lancaster University

Embed: (wiki syntax)

« Back to documentation index

NRF_SPIS_Type Struct Reference

NRF_SPIS_Type Struct Reference
[Device_Peripheral_Registers]

SPI slave 1. More...

#include <nrf51.h>

Data Fields

__I uint32_t RESERVED0 [9]
__O uint32_t TASKS_ACQUIRE
__O uint32_t TASKS_RELEASE
__IO uint32_t EVENTS_END
__IO uint32_t EVENTS_ENDRX
__IO uint32_t EVENTS_ACQUIRED
__IO uint32_t SHORTS
__IO uint32_t INTENSET
__IO uint32_t INTENCLR
__I uint32_t SEMSTAT
__IO uint32_t STATUS
__IO uint32_t ENABLE
__IO uint32_t PSELSCK
__IO uint32_t PSELMISO
__IO uint32_t PSELMOSI
__IO uint32_t PSELCSN
__IO uint32_t RXDPTR
__IO uint32_t MAXRX
__I uint32_t AMOUNTRX
__IO uint32_t TXDPTR
__IO uint32_t MAXTX
__I uint32_t AMOUNTTX
__IO uint32_t CONFIG
__IO uint32_t DEF
__IO uint32_t ORC
__IO uint32_t POWER

Detailed Description

SPI slave 1.

(SPIS)

Definition at line 517 of file nrf51.h.


Field Documentation

__I uint32_t AMOUNTRX

Number of bytes received in last granted transaction.

Definition at line 546 of file nrf51.h.

__I uint32_t AMOUNTTX

Number of bytes transmitted in last granted transaction.

Definition at line 550 of file nrf51.h.

__IO uint32_t CONFIG

Configuration register.

Definition at line 552 of file nrf51.h.

__IO uint32_t DEF

Default character.

Definition at line 554 of file nrf51.h.

__IO uint32_t ENABLE

Enable SPIS.

Definition at line 537 of file nrf51.h.

__IO uint32_t EVENTS_ACQUIRED

Semaphore acquired.

Definition at line 526 of file nrf51.h.

__IO uint32_t EVENTS_END

Granted transaction completed.

Definition at line 522 of file nrf51.h.

__IO uint32_t EVENTS_ENDRX

End of RXD buffer reached

Definition at line 524 of file nrf51.h.

__IO uint32_t INTENCLR

Interrupt enable clear register.

Definition at line 531 of file nrf51.h.

__IO uint32_t INTENSET

Interrupt enable set register.

Definition at line 530 of file nrf51.h.

__IO uint32_t MAXRX

Maximum number of bytes in the receive buffer.

Definition at line 545 of file nrf51.h.

__IO uint32_t MAXTX

Maximum number of bytes in the transmit buffer.

Definition at line 549 of file nrf51.h.

__IO uint32_t ORC

Over-read character.

Definition at line 556 of file nrf51.h.

__IO uint32_t POWER

Peripheral power control.

Definition at line 558 of file nrf51.h.

__IO uint32_t PSELCSN

Pin select for CSN.

Definition at line 542 of file nrf51.h.

__IO uint32_t PSELMISO

Pin select for MISO.

Definition at line 540 of file nrf51.h.

__IO uint32_t PSELMOSI

Pin select for MOSI.

Definition at line 541 of file nrf51.h.

__IO uint32_t PSELSCK

Pin select for SCK.

Definition at line 539 of file nrf51.h.

__I uint32_t RESERVED0[9]

< SPIS Structure

Definition at line 518 of file nrf51.h.

__IO uint32_t RXDPTR

RX data pointer.

Definition at line 544 of file nrf51.h.

__I uint32_t SEMSTAT

Semaphore status.

Definition at line 533 of file nrf51.h.

__IO uint32_t SHORTS

Shortcuts for SPIS.

Definition at line 528 of file nrf51.h.

__IO uint32_t STATUS

Status from last transaction.

Definition at line 535 of file nrf51.h.

__O uint32_t TASKS_ACQUIRE

Acquire SPI semaphore.

Definition at line 519 of file nrf51.h.

__O uint32_t TASKS_RELEASE

Release SPI semaphore.

Definition at line 520 of file nrf51.h.

__IO uint32_t TXDPTR

TX data pointer.

Definition at line 548 of file nrf51.h.