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_CLOCK_Type Struct Reference

NRF_CLOCK_Type Struct Reference
[Device_Peripheral_Registers]

Clock control. More...

#include <nrf51.h>

Data Fields

__O uint32_t TASKS_HFCLKSTART
__O uint32_t TASKS_HFCLKSTOP
__O uint32_t TASKS_LFCLKSTART
__O uint32_t TASKS_LFCLKSTOP
__O uint32_t TASKS_CAL
__O uint32_t TASKS_CTSTART
__O uint32_t TASKS_CTSTOP
__IO uint32_t EVENTS_HFCLKSTARTED
__IO uint32_t EVENTS_LFCLKSTARTED
__IO uint32_t EVENTS_DONE
__IO uint32_t EVENTS_CTTO
__IO uint32_t INTENSET
__IO uint32_t INTENCLR
__I uint32_t HFCLKRUN
__I uint32_t HFCLKSTAT
__I uint32_t LFCLKRUN
__I uint32_t LFCLKSTAT
__I uint32_t LFCLKSRCCOPY
__IO uint32_t LFCLKSRC
__IO uint32_t CTIV
__IO uint32_t XTALFREQ

Detailed Description

Clock control.

(CLOCK)

Definition at line 249 of file nrf51.h.


Field Documentation

__IO uint32_t CTIV

Calibration timer interval.

Definition at line 277 of file nrf51.h.

__IO uint32_t EVENTS_CTTO

Calibration timer timeout.

Definition at line 262 of file nrf51.h.

__IO uint32_t EVENTS_DONE

Calibration of LFCLK RC oscillator completed.

Definition at line 261 of file nrf51.h.

__IO uint32_t EVENTS_HFCLKSTARTED

HFCLK oscillator started.

Definition at line 258 of file nrf51.h.

__IO uint32_t EVENTS_LFCLKSTARTED

LFCLK oscillator started.

Definition at line 259 of file nrf51.h.

__I uint32_t HFCLKRUN

Task HFCLKSTART trigger status.

Definition at line 267 of file nrf51.h.

__I uint32_t HFCLKSTAT

High frequency clock status.

Definition at line 268 of file nrf51.h.

__IO uint32_t INTENCLR

Interrupt enable clear register.

Definition at line 265 of file nrf51.h.

__IO uint32_t INTENSET

Interrupt enable set register.

Definition at line 264 of file nrf51.h.

__I uint32_t LFCLKRUN

Task LFCLKSTART triggered status.

Definition at line 270 of file nrf51.h.

__IO uint32_t LFCLKSRC

Clock source for the LFCLK clock.

Definition at line 275 of file nrf51.h.

__I uint32_t LFCLKSRCCOPY

Clock source for the LFCLK clock, set when task LKCLKSTART is triggered.

Definition at line 272 of file nrf51.h.

__I uint32_t LFCLKSTAT

Low frequency clock status.

Definition at line 271 of file nrf51.h.

__O uint32_t TASKS_CAL

Start calibration of LFCLK RC oscillator.

Definition at line 254 of file nrf51.h.

__O uint32_t TASKS_CTSTART

Start calibration timer.

Definition at line 255 of file nrf51.h.

__O uint32_t TASKS_CTSTOP

Stop calibration timer.

Definition at line 256 of file nrf51.h.

__O uint32_t TASKS_HFCLKSTART

< CLOCK Structure Start HFCLK clock source.

Definition at line 250 of file nrf51.h.

__O uint32_t TASKS_HFCLKSTOP

Stop HFCLK clock source.

Definition at line 251 of file nrf51.h.

__O uint32_t TASKS_LFCLKSTART

Start LFCLK clock source.

Definition at line 252 of file nrf51.h.

__O uint32_t TASKS_LFCLKSTOP

Stop LFCLK clock source.

Definition at line 253 of file nrf51.h.

__IO uint32_t XTALFREQ

Crystal frequency.

Definition at line 279 of file nrf51.h.