#include <linux/err.h>
#include <linux/of.h>
Go to the source code of this file.
|
#define | PWM_LOOKUP(_provider, _index, _dev_id, _con_id) |
|
#define PWM_LOOKUP |
( |
|
_provider, |
|
|
|
_index, |
|
|
|
_dev_id, |
|
|
|
_con_id |
|
) |
| |
Value:{ \
.provider = _provider, \
.index = _index, \
.dev_id = _dev_id, \
.con_id = _con_id, \
}
Definition at line 236 of file pwm.h.
- Enumerator:
PWMF_REQUESTED |
|
PWMF_ENABLED |
|
Definition at line 76 of file pwm.h.
enum pwm_polarity - polarity of a PWM signal : a high signal for the duration of the duty- cycle, followed by a low signal for the remainder of the pulse period : a low signal for the duration of the duty- cycle, followed by a high signal for the remainder of the pulse period
- Enumerator:
PWM_POLARITY_NORMAL |
|
PWM_POLARITY_INVERSED |
|
Definition at line 71 of file pwm.h.
pwm_set_polarity() - configure the polarity of a PWM signal : PWM device : new polarity of the PWM signal
Note that the polarity cannot be configured while the PWM device is enabled
Definition at line 388 of file core.c.