struct pwm_device — PWM channel object
struct pwm_device {
const char * label;
unsigned long flags;
unsigned int hwpwm;
unsigned int pwm;
struct pwm_chip * chip;
void * chip_data;
struct pwm_args args;
struct pwm_state state;
}; name of the PWM device
flags associated with the PWM device
per-chip relative index of the PWM device
global index of the PWM device
PWM chip providing this PWM device
chip-private data associated with the PWM device
PWM arguments
curent PWM channel state