struct_pwm_args(9) - phpMan
STRUCT PWM_ARGS(9) Pulse-Width Modulation (PWM) STRUCT PWM_ARGS(9)
NAME
struct_pwm_args - board-dependent PWM arguments
SYNOPSIS
struct pwm_args {
unsigned int period;
enum pwm_polarity polarity;
};
MEMBERS
period
reference period
polarity
reference polarity
DESCRIPTION
This structure describes board-dependent arguments attached to a PWM device. These
arguments are usually retrieved from the PWM lookup table or device tree.
Do not confuse this with the PWM state: PWM arguments represent the initial configuration
that users want to use on this PWM device rather than the current PWM hardware state.
COPYRIGHT
Kernel Hackers Manual 4.8. January 2017 STRUCT PWM_ARGS(9)
|