Initialize the PWM HAL instance and hardware.
int32_t pwm_init( struct pwm_descriptor *const descr, void *const hw, struct _pwm_hpl_interface *const func )
Type: struct pwm_descriptor Struct *const
Pointer to the HAL PWM descriptor
Type: void *const
The pointer to hardware instance
Type: struct _pwm_hpl_interface *const
The pointer to a set of functions pointers
Type: int32_t
Operation status.