1<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>enum pwm_polarity</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Linux Device Drivers"><link rel="up" href="pwm.html" title="Chapter 13. Pulse-Width Modulation (PWM)"><link rel="prev" href="pwm.html" title="Chapter 13. Pulse-Width Modulation (PWM)"><link rel="next" href="API-struct-pwm-device.html" title="struct pwm_device"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">enum pwm_polarity</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="pwm.html">Prev</a> </td><th width="60%" align="center">Chapter 13. Pulse-Width Modulation (PWM)</th><td width="20%" align="right"> <a accesskey="n" href="API-struct-pwm-device.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-enum-pwm-polarity"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>enum pwm_polarity — 2 polarity of a PWM signal 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting"> 4enum pwm_polarity { 5 PWM_POLARITY_NORMAL, 6 PWM_POLARITY_INVERSED 7}; </pre></div><div class="refsect1"><a name="id-1.15.6.5"></a><h2>Constants</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">PWM_POLARITY_NORMAL</span></dt><dd><p> 8a high signal for the duration of the duty- 9cycle, followed by a low signal for the remainder of the pulse 10period 11 </p></dd><dt><span class="term">PWM_POLARITY_INVERSED</span></dt><dd><p> 12a low signal for the duration of the duty- 13cycle, followed by a high signal for the remainder of the pulse 14period 15 </p></dd></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="pwm.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="pwm.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-struct-pwm-device.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 13. Pulse-Width Modulation (PWM) </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">struct pwm_device</span></td></tr></table></div></body></html> 16