STRUCT ATMEL_TCB_CONFIG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

struct atmel_tcb_config β€” the SoC data bestie for a Timer/Counter Block ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

struct atmel_tcb_config {
    size_t counter_width;
    bool has_gclk;
    bool has_qdec;
 };

okay so this is the whole vibe right here β€” three little fields, all the lore about what a given Timer/Counter Block can actually do, no cap πŸ’…


🌸 Members 🌸

  • counter_width β€” literally the size, in bits, of a timer counter register πŸ‘‘ that's the width, that's it, that's the whole field.
  • has_gclk β€” a boolean that tells you whether a timer counter has a generic clock πŸŽ€ true = yes bestie, false = nope.
  • has_qdec β€” a boolean saying whether a timer counter has a quadrature decoder πŸ¦‹ (the qdec girlies know, iykyk).

⭐ SEE ALSO ⭐

  • Kernel file ./include/soc/at91/atmel_tcb.h πŸ“
  • struct atmel_tc(9) 🫢

lowkey go read that header file too, it's giving main character energy and it's right there in ./include/soc/at91 🧚

and that's the page, periodt πŸ’œ this lil icon lives in ./include/soc/at91, and the date on the tin is October 2026 β€” slay, see you then πŸŒˆπŸ’–πŸŽ€

πŸ“¦ where this page comes from