test

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


Field Documentation

__IO uint32_t CC[4]

Capture/compare registers.

Definition at line 770 of file nrf51.h.

__I uint32_t COUNTER

Current COUNTER value.

Definition at line 766 of file nrf51.h.

__IO uint32_t EVENTS_COMPARE[4]

Compare event on CC[n] match.

Definition at line 755 of file nrf51.h.

__IO uint32_t EVENTS_OVRFLW

Event on COUNTER overflow.

Definition at line 753 of file nrf51.h.

__IO uint32_t EVENTS_TICK

Event on COUNTER increment.

Definition at line 752 of file nrf51.h.

__IO uint32_t EVTEN

Configures event enable routing to PPI for each RTC event.

Definition at line 760 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 763 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 761 of file nrf51.h.

__IO uint32_t INTENCLR

Interrupt enable clear register.

Definition at line 758 of file nrf51.h.

__IO uint32_t INTENSET

Interrupt enable set register.

Definition at line 757 of file nrf51.h.

__IO uint32_t POWER

Peripheral power control.

Definition at line 772 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 767 of file nrf51.h.

__O uint32_t TASKS_CLEAR

Clear RTC Counter.

Definition at line 749 of file nrf51.h.

__O uint32_t TASKS_START

< RTC Structure Start RTC Counter.

Definition at line 747 of file nrf51.h.

__O uint32_t TASKS_STOP

Stop RTC Counter.

Definition at line 748 of file nrf51.h.

__O uint32_t TASKS_TRIGOVRFLW

Set COUNTER to 0xFFFFFFF0.

Definition at line 750 of file nrf51.h.