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