st(3)
β¨ NAME β¨
st β it's the System Timer access page, bestie π (yes, that's st(3), the bcm2835 library one, not the terminal emulator, don't get it twisted π«Ά)
πΈ SYNOPSIS πΈ
okay so here's the whole squad, like literally every function on this page:
uint64_t bcm2835_st_read (void)
void bcm2835_st_delay (uint64_t offset_micros, uint64_t micros)
π Functions π
uint64_t bcm2835_st_read (void)β reads the System Timer Counter, gives you a number back πvoid bcm2835_st_delay (uint64_t offset_micros, uint64_t micros)β makes you wait, but make it precise β³
π¦ Detailed Description π¦
So the whole vibe of this page? It allows access to and delays using the System Timer Counter. That's it, that's the tea β β you can peek at the counter, and you can sit and wait for a set amount of time. Iconic, lowkey essential, no cap π₯
π Function Documentation π
π void bcm2835_st_delay (uint64_t offset_micros, uint64_t micros) [extern]
This one delays for the specified number of microseconds with offset. Like, you're not just napping, you're napping relative to an offset, okay? Very main character energy β°β¨
Parameters
offset_microsβ the Offset in microseconds πΈmicrosβ the Delay in microseconds π
ngl both of these are microseconds, so keep your units straight or the vibes will be off fr fr π
π uint64_t bcm2835_st_read (void) [extern]
Reads the System Timer Counter register. That's the whole job, and she does it flawlessly π
Returns
- the value read from the System Timer Counter Lower 32 bits register β
heads up bestie: it's the Lower 32 bits register specifically, so don't be out here expecting the full 64-bit picture from this one π
π§ Author π§
Generated automatically by Doxygen for bcm2835 from the source code. Not a human, just a robot doing its little documentation thing, and honestly? slay π€π
and that's the whole page, babe π«Ά this was bcm2835 Version 1.75, st(3) β go read it again if you forgot something, i'll wait ππ
no thoughts, just System Timer Counter. π
π¦ where this page comes from
- debian trixie: libbcm2835-dev 1.75+ds-1 Β· GPL-3.0-only
- ubuntu noble: libbcm2835-dev 1.75+ds-1 Β· GPL-3.0-only
- ubuntu questing: libbcm2835-dev 1.75+ds-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms