Expand description
PWM subsystem abstractions.
C header: include/linux/pwm.h.
Structs§
- Chip
- Wrapper for a PWM chip/controller (
struct pwm_chip). - Device
- Wrapper for a PWM device
struct pwm_device. - PwmOpsV
Table - VTable structure wrapper for PWM operations.
Mirrors
struct pwm_ops. - Registration
- A resource guard that ensures
pwmchip_removeis called on drop. - Rounded
Waveform - The result of a
round_waveform_tohwoperation. - Waveform
- Represents a PWM waveform configuration.
Mirrors struct
struct pwm_waveform.
Enums§
- Rounding
Outcome - Describes the outcome of a
round_waveformoperation.
Traits§
- PwmOps
- Trait defining the operations for a PWM driver.
Functions§
- create_
pwm_ ops - Creates a PWM operations vtable for a type
Tthat implementsPwmOps.