create_pwm_ops

Function create_pwm_ops 

Source
pub const fn create_pwm_ops<T: PwmOps>() -> PwmOpsVTable
Expand description

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

This is used to bridge Rust trait implementations to the C struct pwm_ops expected by the kernel.