---
title: "System timer"
canonical_url: https://developer.repebble.com/pebbleos/docs/drivers/timer/
last_updated: 2026-11-24
sdk_version: 4.44
---
# System timer

Source: https://developer.repebble.com/pebbleos/docs/drivers/timer/

The system timer drives the kernel’s notion of time: a clock source, a free-running counter the kernel reads, and a clock event device, which interrupts after a given number of cycles for the next tick or timeout. One device may provide both, and both keep running in every idle state. The SoC selects the drivers of its timers.

| 

 | 

 |
| --- | --- |
| 

Directory

 | 

`drivers/timer`

 |
| 

Header

 | 

`pbl/drivers/timer.h`

 |
| 

API

 | 

[API reference](https://developer.repebble.com/pebbleos/apidoc/d3/de3/group __drivers__ timer.html)

 |

## Drivers

| 

Driver

 | 

Compatible

 | 

Kconfig

 |
| --- | --- | --- |
| 

Arm SysTick

 | 

—

 | 

`CONFIG_TIMER_ARM_SYSTICK`

 |
| 

QEMU

 | 

—

 | 

`CONFIG_TIMER_QEMU`

 |
| 

Nordic nRF5 RTC

 | 

—

 | 

`CONFIG_TIMER_NRF5_RTC`

 |
| 

SiFli SF32LB LPTIM

 | 

—

 | 

`CONFIG_TIMER_SF32LB_LPTIM`

 |
| 

ST STM32 LPTIM

 | 

—

 | 

`CONFIG_TIMER_STM32_LPTIM`

 |
| 

POSIX

 | 

—

 | 

`CONFIG_TIMER_POSIX`

 |

Generated from PebbleOS [12b6c531f](https://github.com/coredevices/pebbleos/commit/12b6c531f9e0c2f39fe4e9bb2886314697128f08). This page is maintained in the pebbleos repository: [docs/drivers/timer.md](https://github.com/coredevices/pebbleos/blob/12b6c531f9e0c2f39fe4e9bb2886314697128f08/docs/drivers/timer.md).
