ENUM PWM_POLARITY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the Kernel API Manual page for enum pwm_polarity(9) β€” it’s giving tiny enum, huge main-character energy πŸ’…βœ¨

πŸ’– NAME πŸ’–

  • enum pwm_polarity β€” polarity of a PWM signal πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

       enum pwm_polarity {
           PWM_POLARITY_NORMAL ,
           PWM_POLARITY_INVERSED

       };

🌸 Constants 🌸

okay so there are exactly two constants here, and they are literally opposites, no cap:

  • PWM_POLARITY_NORMAL β€” a high signal for the duration of the duty- cycle, followed by a low signal for the remainder of the pulse period. high then low, periodt πŸ”₯
  • PWM_POLARITY_INVERSED β€” a low signal for the duration of the duty- cycle, followed by a high signal for the remainder of the pulse period. low then high, the flip side πŸ’œ

πŸ‘€ SEE ALSO πŸ‘€

The kernel file is ./include/linux/pwm.h β€” that’s where this lives, bestie 🫢. Also go peek at all of these:


xoxo, source/version ./include/linux, dated October 2026 β€” slay and bye, bestie πŸ’…πŸŽ€βœ¨

πŸ“¦ where this page comes from