Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8093

SDK • Re: TIMER_x documentation

$
0
0
I know there are some utility fn in SDK which provide "alarms" and an alarm pool but I want find the doc on the processor.
The "4 alarms" do not appear to be part of the vocabulary of RP2040 manual. Neither is this anything to do with "sleeps", timers to not sleep the processor.
It seems there is some bleed over and confusion in this writing.
Where do I find the doc on the timing of these TIMER_IRQ_x events?
Look in RP2040 Datasheet:
4.6. Timer
4.6.1. Overview
The system timer peripheral on RP2040 provides a global microsecond timebase for the system, and generates
interrupts based on this timebase. It supports the following features:
• A single 64-bit counter, incrementing once per microsecond
• This counter can be read from a pair of latching registers, for race-free reads over a 32-bit bus.
Four alarms: match on the lower 32 bits of counter, IRQ on match.
...
4.6.3. Alarms
...
4.6.4. Programmer’s Model
... 4.6.4.4. Complete example using SDK
4.6.5. List of Registers

Statistics: Posted by gmx — Tue Nov 11, 2025 5:39 pm



Viewing all articles
Browse latest Browse all 8093

Trending Articles