other versions
PWMCHIP_ADD(9) | Pulse-Width Modulation (PWM) | PWMCHIP_ADD(9) |
NAME¶
pwmchip_add - register a new PWM chip
SYNOPSIS¶
int pwmchip_add(struct pwm_chip * chip);
ARGUMENTS¶
chip
the PWM chip to add
DESCRIPTION¶
Register a new PWM chip. If chip->base < 0 then a dynamically assigned base will be used. The initial polarity for all channels is normal.
RETURN¶
0 on success or a negative error code on failure.
COPYRIGHT¶
January 2017 | Kernel Hackers Manual 4.8. |