R1 code for micro:bit based train controller code, requires second micro:bit running rx code to operate - see https://meanderingpi.wordpress.com/ for more information

Fork of nrf51-sdk by Lancaster University

Embed: (wiki syntax)

« Back to documentation index

NRF_ADC_Type Struct Reference

NRF_ADC_Type Struct Reference
[Device_Peripheral_Registers]

Analog to digital converter. More...

#include <nrf51.h>

Data Fields

__O uint32_t TASKS_START
__O uint32_t TASKS_STOP
__IO uint32_t EVENTS_END
__IO uint32_t INTENSET
__IO uint32_t INTENCLR
__I uint32_t BUSY
__IO uint32_t ENABLE
__IO uint32_t CONFIG
__I uint32_t RESULT
__IO uint32_t POWER

Detailed Description

Analog to digital converter.

(ADC)

Definition at line 642 of file nrf51.h.


Field Documentation

__I uint32_t BUSY

ADC busy register.

Definition at line 651 of file nrf51.h.

__IO uint32_t CONFIG

ADC configuration register.

Definition at line 654 of file nrf51.h.

__IO uint32_t ENABLE

ADC enable.

Definition at line 653 of file nrf51.h.

__IO uint32_t EVENTS_END

ADC conversion complete.

Definition at line 646 of file nrf51.h.

__IO uint32_t INTENCLR

Interrupt enable clear register.

Definition at line 649 of file nrf51.h.

__IO uint32_t INTENSET

Interrupt enable set register.

Definition at line 648 of file nrf51.h.

__IO uint32_t POWER

Peripheral power control.

Definition at line 657 of file nrf51.h.

__I uint32_t RESULT

Result of ADC conversion.

Definition at line 655 of file nrf51.h.

__O uint32_t TASKS_START

< ADC Structure Start an ADC conversion.

Definition at line 643 of file nrf51.h.

__O uint32_t TASKS_STOP

Stop ADC.

Definition at line 644 of file nrf51.h.