nRF51 SDK - S120 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
nrf_drv_timer_config_t Struct Reference

Struct for TIMER instance configuration. More...

#include <nrf_drv_timer.h>

Data Fields

nrf_timer_frequency_t frequency
 
nrf_timer_mode_t mode
 
nrf_timer_bit_width_t bit_width
 
uint8_t interrupt_priority
 
void * p_context
 

Detailed Description

Struct for TIMER instance configuration.

Field Documentation

nrf_timer_bit_width_t nrf_drv_timer_config_t::bit_width

Bit width.

nrf_timer_frequency_t nrf_drv_timer_config_t::frequency

Frequency.

uint8_t nrf_drv_timer_config_t::interrupt_priority

TIMER interrupt priority

nrf_timer_mode_t nrf_drv_timer_config_t::mode

Mode of operation.

void* nrf_drv_timer_config_t::p_context

Context passed to interrupt handler