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

NRF_RTC_Type Struct Reference
[Device_Peripheral_Registers]

Real time counter 0. More...

#include <nrf51.h>

Data Fields

__O uint32_t TASKS_START
__O uint32_t TASKS_STOP
__O uint32_t TASKS_CLEAR
__O uint32_t TASKS_TRIGOVRFLW
__IO uint32_t EVENTS_TICK
__IO uint32_t EVENTS_OVRFLW
__IO uint32_t EVENTS_COMPARE [4]
__IO uint32_t INTENSET
__IO uint32_t INTENCLR
__IO uint32_t EVTEN
__IO uint32_t EVTENSET
__IO uint32_t EVTENCLR
__I uint32_t COUNTER
__IO uint32_t PRESCALER
__IO uint32_t CC [4]
__IO uint32_t POWER

Detailed Description

Real time counter 0.

(RTC)

Definition at line 764 of file nrf51.h.


Field Documentation

__IO uint32_t CC[4]

Capture/compare registers.

Definition at line 788 of file nrf51.h.

__I uint32_t COUNTER

Current COUNTER value.

Definition at line 784 of file nrf51.h.

__IO uint32_t EVENTS_COMPARE[4]

Compare event on CC[n] match.

Definition at line 773 of file nrf51.h.

__IO uint32_t EVENTS_OVRFLW

Event on COUNTER overflow.

Definition at line 771 of file nrf51.h.

__IO uint32_t EVENTS_TICK

Event on COUNTER increment.

Definition at line 770 of file nrf51.h.

__IO uint32_t EVTEN

Configures event enable routing to PPI for each RTC event.

Definition at line 778 of file nrf51.h.

__IO uint32_t EVTENCLR

Disable events routing to PPI. The reading of this register gives the value of EVTEN.

Definition at line 781 of file nrf51.h.

__IO uint32_t EVTENSET

Enable events routing to PPI. The reading of this register gives the value of EVTEN.

Definition at line 779 of file nrf51.h.

__IO uint32_t INTENCLR

Interrupt enable clear register.

Definition at line 776 of file nrf51.h.

__IO uint32_t INTENSET

Interrupt enable set register.

Definition at line 775 of file nrf51.h.

__IO uint32_t POWER

Peripheral power control.

Definition at line 790 of file nrf51.h.

__IO uint32_t PRESCALER

12-bit prescaler for COUNTER frequency (32768/(PRESCALER+1)). Must be written when RTC is STOPed.

Definition at line 785 of file nrf51.h.

__O uint32_t TASKS_CLEAR

Clear RTC Counter.

Definition at line 767 of file nrf51.h.

__O uint32_t TASKS_START

< RTC Structure Start RTC Counter.

Definition at line 765 of file nrf51.h.

__O uint32_t TASKS_STOP

Stop RTC Counter.

Definition at line 766 of file nrf51.h.

__O uint32_t TASKS_TRIGOVRFLW

Set COUNTER to 0xFFFFFFF0.

Definition at line 768 of file nrf51.h.