pwm_enable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

Hey bestie πŸ’– you're reading pwm_enable(9) from the Kernel API Manual β€” and yes, it's exactly the glow-up you think it is. ✨

🌸 NAME 🌸

pwm_enable - start a PWM output toggling πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

int pwm_enable (struct pwm_device *pwm );

πŸŽ€ ARGUMENTS πŸŽ€

  • pwm β€” PWM device. That's the device you're handing over so it can get enabled, bestie. 🫢

⭐ RETURN ⭐

It returns 0 on success or a negative error code on failure. So: 0 = slay, negative = error code, no cap. πŸ’€βœ¨

πŸ’… SEE ALSO πŸ’…

The whole little friend group is chilling around the kernel file ./include/linux/pwm.h, and here's the full squad:

okay bye bestie 🫢 this cutie comes from the ./include/linux source tree, dated October 2026, and it's filed as pwm_enable(9) β€” periodt. πŸ’–

πŸ“¦ where this page comes from