struct_pwm_args(9) 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