None

Dependents:   nRF51822

Fork of nrf51-sdk by Lancaster University

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


Field Documentation

__IO uint32_t BITMODE

Sets timer behaviour.

Definition at line 687 of file nrf51.h.

__IO uint32_t CC[4]

Capture/compare registers.

Definition at line 692 of file nrf51.h.

__IO uint32_t EVENTS_COMPARE[4]

Compare event on CC[n] match.

Definition at line 679 of file nrf51.h.

__IO uint32_t INTENCLR

Interrupt enable clear register.

Definition at line 684 of file nrf51.h.

__IO uint32_t INTENSET

Interrupt enable set register.

Definition at line 683 of file nrf51.h.

__IO uint32_t MODE

Timer Mode selection.

Definition at line 686 of file nrf51.h.

__IO uint32_t POWER

Peripheral power control.

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

__IO uint32_t SHORTS

Shortcuts for Timer.

Definition at line 681 of file nrf51.h.

__O uint32_t TASKS_CAPTURE[4]

Capture Timer value to CC[n] registers.

Definition at line 677 of file nrf51.h.

__O uint32_t TASKS_CLEAR

Clear timer.

Definition at line 674 of file nrf51.h.

__O uint32_t TASKS_COUNT

Increment Timer (In counter mode).

Definition at line 673 of file nrf51.h.

__O uint32_t TASKS_SHUTDOWN

Shutdown timer.

Definition at line 675 of file nrf51.h.

__O uint32_t TASKS_START

< TIMER Structure Start Timer.

Definition at line 671 of file nrf51.h.

__O uint32_t TASKS_STOP

Stop Timer.

Definition at line 672 of file nrf51.h.