STRUCT MCHP_PIT64B_TIMER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct mchp_pit64b_timer(9) πŸ’–

okay so bestie, this page is from the Kernel API Manual, and it’s literally all about struct mchp_pit64b_timer.

✨ NAME ✨

struct mchp_pit64b_timer β€” the PIT64B timer data structure. iconic little container, no cap.

🌸 SYNOPSIS 🌸

here’s the whole struct, exactly as it is:

struct mchp_pit64b_timer {
    void __iomem    *base;
    struct clk      *pclk;
    struct clk      *gclk;
    u32 mode;
 };

πŸ’… Members πŸ’…

  • base β€” base address of the PIT64B hardware block. that’s the address where the block lives, periodt.
  • pclk β€” PIT64B's peripheral clock. yes bestie, the peripheral one.
  • gclk β€” PIT64B's generic clock. the generic clock, not a drill πŸ’€.
  • mode β€” precomputed value for the mode register. already computed, ready to go, slay.

πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file to check is ./drivers/clocksource/timer-microchip-pit64b.c, and these are the structs/functions to peek at:


cute little sign-off: source/version ./drivers/clocksource Β· date October 2026 Β· manual Kernel API Manual Β· page struct mchp_pit64b_timer(9) β€” bye bestie, go read the kernel file πŸ’–

πŸ“¦ where this page comes from