STRUCT ATMEL_TCB_CONFIG(9)
π 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β abooleanthat tells you whether a timer counter has a generic clock π true = yes bestie, false = nope.has_qdecβ abooleansaying 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms