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

NRF_TIMER_Type Struct Reference
[Device_Peripheral_Registers]

Timer 0. More...

#include <nrf51.h>

Data Fields

__O uint32_t TASKS_START
__O uint32_t TASKS_STOP
__O uint32_t TASKS_COUNT
__O uint32_t TASKS_CLEAR
__O uint32_t TASKS_SHUTDOWN
__O uint32_t TASKS_CAPTURE [4]
__IO uint32_t EVENTS_COMPARE [4]
__IO uint32_t SHORTS
__IO uint32_t INTENSET
__IO uint32_t INTENCLR
__IO uint32_t MODE
__IO uint32_t BITMODE
__IO uint32_t PRESCALER
__IO uint32_t CC [4]
__IO uint32_t POWER

Detailed Description

Timer 0.

(TIMER)

Definition at line 727 of file nrf51.h.


Field Documentation

__IO uint32_t BITMODE

Sets timer behaviour.

Definition at line 744 of file nrf51.h.

__IO uint32_t CC[4]

Capture/compare registers.

Definition at line 749 of file nrf51.h.

__IO uint32_t EVENTS_COMPARE[4]

Compare event on CC[n] match.

Definition at line 736 of file nrf51.h.

__IO uint32_t INTENCLR

Interrupt enable clear register.

Definition at line 741 of file nrf51.h.

__IO uint32_t INTENSET

Interrupt enable set register.

Definition at line 740 of file nrf51.h.

__IO uint32_t MODE

Timer Mode selection.

Definition at line 743 of file nrf51.h.

__IO uint32_t POWER

Peripheral power control.

Definition at line 751 of file nrf51.h.

__IO uint32_t PRESCALER

4-bit prescaler to source clock frequency (max value 9). Source clock frequency is divided by 2^SCALE.

Definition at line 746 of file nrf51.h.

__IO uint32_t SHORTS

Shortcuts for Timer.

Definition at line 738 of file nrf51.h.

__O uint32_t TASKS_CAPTURE[4]

Capture Timer value to CC[n] registers.

Definition at line 734 of file nrf51.h.

__O uint32_t TASKS_CLEAR

Clear timer.

Definition at line 731 of file nrf51.h.

__O uint32_t TASKS_COUNT

Increment Timer (In counter mode).

Definition at line 730 of file nrf51.h.

__O uint32_t TASKS_SHUTDOWN

Shutdown timer.

Definition at line 732 of file nrf51.h.

__O uint32_t TASKS_START

< TIMER Structure Start Timer.

Definition at line 728 of file nrf51.h.

__O uint32_t TASKS_STOP

Stop Timer.

Definition at line 729 of file nrf51.h.