STRUCT STM32_LPTIMER(9)
π NAME π
okay bestie, welcome to the Kernel API Manual page for struct stm32_lptimer(9) β yes, section 9, low-power timer data, we are thriving π
β¨
struct stm32_lptimer is literally the data for the STM32 Low-Power Timer, and it gets assigned by the parent device. Parent device hands it over, the struct holds the lore, periodt π«Ά
β¨ SYNOPSIS β¨
okay so the whole struct looks like this, no cap:
struct stm32_lptimer {
struct clk *clk;
struct regmap *regmap;
bool has_encoder;
unsigned int num_cc_chans;
u32 version;
};
π«Ά Members π«Ά
clkβ the clock reference for this instance. Itβs giving βtimekeeper bestieβ energy β°πregmapβ the register map reference for this instance. Registers? Mapped. Iconic.has_encoderβ aboolthat flags whether this Low-Power Timer supports encoder mode. Encoder mode said present, maybe πβ¨num_cc_chansβ tells you how many capture/compare channels there are. Count βem, bestie π’versionβ shows the major and minor revision of the controller. Revision check, slay π
π SEE ALSO π
Kernel file ./include/linux/mfd/stm32-lptimer.h β thatβs the one, bestie. Go read it if you want the full lore. iykyk πβ¨
okay thatβs the whole page! big kiss from ./include/linux/mfd, October 2026 β aka the source/version and date for this struct stm32_lptimer(9) situation π«Άπ
β¨
π¦ 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