Microbit as a BLE gamepad

Dependents:   nRF51822

Fork of nrf51-sdk by Lancaster University

Embed: (wiki syntax)

« Back to documentation index

NRF_RADIO_Type Struct Reference

NRF_RADIO_Type Struct Reference
[Device_Peripheral_Registers]

The radio. More...

#include <nrf51.h>

Data Fields

__O uint32_t TASKS_TXEN
__O uint32_t TASKS_RXEN
__O uint32_t TASKS_START
__O uint32_t TASKS_STOP
__O uint32_t TASKS_DISABLE
__O uint32_t TASKS_RSSISTART
__O uint32_t TASKS_RSSISTOP
__O uint32_t TASKS_BCSTART
__O uint32_t TASKS_BCSTOP
__IO uint32_t EVENTS_READY
__IO uint32_t EVENTS_ADDRESS
__IO uint32_t EVENTS_PAYLOAD
__IO uint32_t EVENTS_END
__IO uint32_t EVENTS_DISABLED
__IO uint32_t EVENTS_DEVMATCH
__IO uint32_t EVENTS_DEVMISS
__IO uint32_t EVENTS_RSSIEND
__IO uint32_t EVENTS_BCMATCH
__IO uint32_t SHORTS
__IO uint32_t INTENSET
__IO uint32_t INTENCLR
__I uint32_t CRCSTATUS
__I uint32_t RXMATCH
__I uint32_t RXCRC
__I uint32_t DAI
__IO uint32_t PACKETPTR
__IO uint32_t FREQUENCY
__IO uint32_t TXPOWER
__IO uint32_t MODE
__IO uint32_t PCNF0
__IO uint32_t PCNF1
__IO uint32_t BASE0
__IO uint32_t BASE1
__IO uint32_t PREFIX0
__IO uint32_t PREFIX1
__IO uint32_t TXADDRESS
__IO uint32_t RXADDRESSES
__IO uint32_t CRCCNF
__IO uint32_t CRCPOLY
__IO uint32_t CRCINIT
__IO uint32_t TEST
__IO uint32_t TIFS
__I uint32_t RSSISAMPLE
__I uint32_t STATE
__IO uint32_t DATAWHITEIV
__IO uint32_t BCC
__IO uint32_t DAB [8]
__IO uint32_t DAP [8]
__IO uint32_t DACNF
__IO uint32_t OVERRIDE0
__IO uint32_t OVERRIDE1
__IO uint32_t OVERRIDE2
__IO uint32_t OVERRIDE3
__IO uint32_t OVERRIDE4
__IO uint32_t POWER

Detailed Description

The radio.

(RADIO)

Definition at line 297 of file nrf51.h.


Field Documentation

__IO uint32_t BASE0

Radio base address 0. Decision point: START task.

Definition at line 337 of file nrf51.h.

__IO uint32_t BASE1

Radio base address 1. Decision point: START task.

Definition at line 338 of file nrf51.h.

__IO uint32_t BCC

Bit counter compare.

Definition at line 353 of file nrf51.h.

__IO uint32_t CRCCNF

CRC configuration.

Definition at line 343 of file nrf51.h.

__IO uint32_t CRCINIT

CRC initial value.

Definition at line 345 of file nrf51.h.

__IO uint32_t CRCPOLY

CRC polynomial.

Definition at line 344 of file nrf51.h.

__I uint32_t CRCSTATUS

CRC status of received packet.

Definition at line 325 of file nrf51.h.

__IO uint32_t DAB[8]

Device address base segment.

Definition at line 355 of file nrf51.h.

__IO uint32_t DACNF

Device address match configuration.

Definition at line 357 of file nrf51.h.

__I uint32_t DAI

Device address match index.

Definition at line 329 of file nrf51.h.

__IO uint32_t DAP[8]

Device address prefix.

Definition at line 356 of file nrf51.h.

__IO uint32_t DATAWHITEIV

Data whitening initial value.

Definition at line 351 of file nrf51.h.

__IO uint32_t EVENTS_ADDRESS

Address event.

Definition at line 309 of file nrf51.h.

__IO uint32_t EVENTS_BCMATCH

Bit counter reached bit count value specified in BCC register.

Definition at line 318 of file nrf51.h.

__IO uint32_t EVENTS_DEVMATCH

A device address match occurred on the last received packet.

Definition at line 313 of file nrf51.h.

__IO uint32_t EVENTS_DEVMISS

No device address match occurred on the last received packet.

Definition at line 314 of file nrf51.h.

__IO uint32_t EVENTS_DISABLED

Disable event.

Definition at line 312 of file nrf51.h.

__IO uint32_t EVENTS_END

End event.

Definition at line 311 of file nrf51.h.

__IO uint32_t EVENTS_PAYLOAD

Payload event.

Definition at line 310 of file nrf51.h.

__IO uint32_t EVENTS_READY

Ready event.

Definition at line 308 of file nrf51.h.

__IO uint32_t EVENTS_RSSIEND

Sampling of the receive signal strength complete. A new RSSI sample is ready for readout at the RSSISAMPLE register.

Definition at line 315 of file nrf51.h.

__IO uint32_t FREQUENCY

Frequency.

Definition at line 332 of file nrf51.h.

__IO uint32_t INTENCLR

Interrupt enable clear register.

Definition at line 323 of file nrf51.h.

__IO uint32_t INTENSET

Interrupt enable set register.

Definition at line 322 of file nrf51.h.

__IO uint32_t MODE

Data rate and modulation.

Definition at line 334 of file nrf51.h.

__IO uint32_t OVERRIDE0

Trim value override register 0.

Definition at line 359 of file nrf51.h.

__IO uint32_t OVERRIDE1

Trim value override register 1.

Definition at line 360 of file nrf51.h.

__IO uint32_t OVERRIDE2

Trim value override register 2.

Definition at line 361 of file nrf51.h.

__IO uint32_t OVERRIDE3

Trim value override register 3.

Definition at line 362 of file nrf51.h.

__IO uint32_t OVERRIDE4

Trim value override register 4.

Definition at line 363 of file nrf51.h.

__IO uint32_t PACKETPTR

Packet pointer. Decision point: START task.

Definition at line 331 of file nrf51.h.

__IO uint32_t PCNF0

Packet configuration 0.

Definition at line 335 of file nrf51.h.

__IO uint32_t PCNF1

Packet configuration 1.

Definition at line 336 of file nrf51.h.

__IO uint32_t POWER

Peripheral power control.

Definition at line 365 of file nrf51.h.

__IO uint32_t PREFIX0

Prefixes bytes for logical addresses 0 to 3.

Definition at line 339 of file nrf51.h.

__IO uint32_t PREFIX1

Prefixes bytes for logical addresses 4 to 7.

Definition at line 340 of file nrf51.h.

__I uint32_t RSSISAMPLE

RSSI sample.

Definition at line 348 of file nrf51.h.

__IO uint32_t RXADDRESSES

Receive address select.

Definition at line 342 of file nrf51.h.

__I uint32_t RXCRC

Received CRC.

Definition at line 328 of file nrf51.h.

__I uint32_t RXMATCH

Received address.

Definition at line 327 of file nrf51.h.

__IO uint32_t SHORTS

Shortcuts for the radio.

Definition at line 320 of file nrf51.h.

__I uint32_t STATE

Current radio state.

Definition at line 350 of file nrf51.h.

__O uint32_t TASKS_BCSTART

Start the bit counter.

Definition at line 305 of file nrf51.h.

__O uint32_t TASKS_BCSTOP

Stop the bit counter.

Definition at line 306 of file nrf51.h.

__O uint32_t TASKS_DISABLE

Disable radio.

Definition at line 302 of file nrf51.h.

__O uint32_t TASKS_RSSISTART

Start the RSSI and take one sample of the receive signal strength.

Definition at line 303 of file nrf51.h.

__O uint32_t TASKS_RSSISTOP

Stop the RSSI measurement.

Definition at line 304 of file nrf51.h.

__O uint32_t TASKS_RXEN

Enable radio in RX mode.

Definition at line 299 of file nrf51.h.

__O uint32_t TASKS_START

Start radio.

Definition at line 300 of file nrf51.h.

__O uint32_t TASKS_STOP

Stop radio.

Definition at line 301 of file nrf51.h.

__O uint32_t TASKS_TXEN

< RADIO Structure Enable radio in TX mode.

Definition at line 298 of file nrf51.h.

__IO uint32_t TEST

Test features enable register.

Definition at line 346 of file nrf51.h.

__IO uint32_t TIFS

Inter Frame Spacing in microseconds.

Definition at line 347 of file nrf51.h.

__IO uint32_t TXADDRESS

Transmit address select.

Definition at line 341 of file nrf51.h.

__IO uint32_t TXPOWER

Output power.

Definition at line 333 of file nrf51.h.