Skip to content

julenetxebemalkorra/ncs-nrfx-timer-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NRFX Timer example

Overview

This is a simple example showing how to use the nrfx_timer driver to access one of the TIMER modules in the nRF devices. The TIMER modules allow you to do more accurate timing than the RTC modules used by the standard Zephyr timer functions, since the timers can be configured to run at up to 16MHz clock speed (vs 32.768kHz of the RTC).

The example enables the TIMER1 module, and configures an application callback that will be triggered by the TIMER1 interrupt when the compare0 event occurs. This can be used to trigger an action at regular intervals with higher accuracy than that possible through the RTC.

Requirements

nRF Connect SDK v2.3.0

Tested on the following boards:

  • nrf52840dk_nrf52840

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 93.0%
  • CMake 7.0%