Microbit as a BLE gamepad

Dependents:   nRF51822

Fork of nrf51-sdk by Lancaster University

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 218 of file nrf51.h.


Field Documentation

__IO uint32_t CTIV

Calibration timer interval.

Definition at line 246 of file nrf51.h.

__IO uint32_t EVENTS_CTTO

Calibration timer timeout.

Definition at line 231 of file nrf51.h.

__IO uint32_t EVENTS_DONE

Calibration of LFCLK RC oscillator completed.

Definition at line 230 of file nrf51.h.

__IO uint32_t EVENTS_HFCLKSTARTED

HFCLK oscillator started.

Definition at line 227 of file nrf51.h.

__IO uint32_t EVENTS_LFCLKSTARTED

LFCLK oscillator started.

Definition at line 228 of file nrf51.h.

__I uint32_t HFCLKRUN

Task HFCLKSTART trigger status.

Definition at line 236 of file nrf51.h.

__I uint32_t HFCLKSTAT

High frequency clock status.

Definition at line 237 of file nrf51.h.

__IO uint32_t INTENCLR

Interrupt enable clear register.

Definition at line 234 of file nrf51.h.

__IO uint32_t INTENSET

Interrupt enable set register.

Definition at line 233 of file nrf51.h.

__I uint32_t LFCLKRUN

Task LFCLKSTART triggered status.

Definition at line 239 of file nrf51.h.

__IO uint32_t LFCLKSRC

Clock source for the LFCLK clock.

Definition at line 244 of file nrf51.h.

__I uint32_t LFCLKSRCCOPY

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

Definition at line 241 of file nrf51.h.

__I uint32_t LFCLKSTAT

Low frequency clock status.

Definition at line 240 of file nrf51.h.

__O uint32_t TASKS_CAL

Start calibration of LFCLK RC oscillator.

Definition at line 223 of file nrf51.h.

__O uint32_t TASKS_CTSTART

Start calibration timer.

Definition at line 224 of file nrf51.h.

__O uint32_t TASKS_CTSTOP

Stop calibration timer.

Definition at line 225 of file nrf51.h.

__O uint32_t TASKS_HFCLKSTART

< CLOCK Structure Start HFCLK clock source.

Definition at line 219 of file nrf51.h.

__O uint32_t TASKS_HFCLKSTOP

Stop HFCLK clock source.

Definition at line 220 of file nrf51.h.

__O uint32_t TASKS_LFCLKSTART

Start LFCLK clock source.

Definition at line 221 of file nrf51.h.

__O uint32_t TASKS_LFCLKSTOP

Stop LFCLK clock source.

Definition at line 222 of file nrf51.h.

__IO uint32_t XTALFREQ

Crystal frequency.

Definition at line 248 of file nrf51.h.