Module pwm

Module pwm 

Source
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.
PwmOpsVTable
VTable structure wrapper for PWM operations. Mirrors struct pwm_ops.
Registration
A resource guard that ensures pwmchip_remove is called on drop.
RoundedWaveform
The result of a round_waveform_tohw operation.
Waveform
Represents a PWM waveform configuration. Mirrors struct struct pwm_waveform.

Enums§

RoundingOutcome
Describes the outcome of a round_waveform operation.

Traits§

PwmOps
Trait defining the operations for a PWM driver.

Functions§

create_pwm_ops
Creates a PWM operations vtable for a type T that implements PwmOps.