sh_wdt_write_cnt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

sh_wdt_write_cnt β€” Write to Counter

okay bestie, this is sh_wdt_write_cnt(9) from the Kernel API Manual, and yes the name is literally β€œwrite to counter.” iconic.

✨ SYNOPSIS ✨

void sh_wdt_write_cnt (__u8 val );

πŸŽ€ ARGUMENTS πŸŽ€

  • val β€” Value to write. That’s the whole assignment, no cap.

πŸ¦‹ DESCRIPTION πŸ¦‹

No cap: this writes the given value val to the lower byte of the timer counter. The upper byte is set manually on each write.

So yeah β€” lower byte gets val, upper byte is a manual situation every single time. slay.

🌈 SEE ALSO 🌈

Kernel file ./arch/sh/include/asm/watchdog.h β€” plus the whole linked bestie lineup:


mwah πŸ’… shoutout to the source/version ./arch/sh/include/asm, dated October 2026. periodt. 🫢

πŸ“¦ where this page comes from