no-OS
|
Structure holding PWM function pointers that point to the platform specific function. More...
#include <no_os_pwm.h>
Public Attributes | |
int32_t(* | pwm_ops_init )(struct no_os_pwm_desc **, const struct no_os_pwm_init_param *) |
int32_t(* | pwm_ops_enable )(struct no_os_pwm_desc *) |
int32_t(* | pwm_ops_disable )(struct no_os_pwm_desc *) |
int32_t(* | pwm_ops_set_period )(struct no_os_pwm_desc *, uint32_t) |
int32_t(* | pwm_ops_get_period )(struct no_os_pwm_desc *, uint32_t *) |
int32_t(* | pwm_ops_set_duty_cycle )(struct no_os_pwm_desc *, uint32_t) |
int32_t(* | pwm_ops_get_duty_cycle )(struct no_os_pwm_desc *, uint32_t *) |
int32_t(* | pwm_ops_set_phase )(struct no_os_pwm_desc *, uint32_t) |
int32_t(* | pwm_ops_get_phase )(struct no_os_pwm_desc *, uint32_t *) |
int32_t(* | pwm_ops_set_polarity )(struct no_os_pwm_desc *, enum no_os_pwm_polarity) |
int32_t(* | pwm_ops_get_polarity )(struct no_os_pwm_desc *, enum no_os_pwm_polarity *) |
int32_t(* | pwm_ops_remove )(struct no_os_pwm_desc *) |
Structure holding PWM function pointers that point to the platform specific function.
int32_t(* no_os_pwm_platform_ops::pwm_ops_disable) (struct no_os_pwm_desc *) |
pwm disable function pointer
int32_t(* no_os_pwm_platform_ops::pwm_ops_enable) (struct no_os_pwm_desc *) |
pwm enable function pointer
int32_t(* no_os_pwm_platform_ops::pwm_ops_get_duty_cycle) (struct no_os_pwm_desc *, uint32_t *) |
pwm get duty cycle function pointer
int32_t(* no_os_pwm_platform_ops::pwm_ops_get_period) (struct no_os_pwm_desc *, uint32_t *) |
pwm get period function pointer
int32_t(* no_os_pwm_platform_ops::pwm_ops_get_phase) (struct no_os_pwm_desc *, uint32_t *) |
pwm get phase function pointer
int32_t(* no_os_pwm_platform_ops::pwm_ops_get_polarity) (struct no_os_pwm_desc *, enum no_os_pwm_polarity *) |
pwm get polarity function pointer
int32_t(* no_os_pwm_platform_ops::pwm_ops_init) (struct no_os_pwm_desc **, const struct no_os_pwm_init_param *) |
pwm initialization function pointer
int32_t(* no_os_pwm_platform_ops::pwm_ops_remove) (struct no_os_pwm_desc *) |
pwm remove function pointer
int32_t(* no_os_pwm_platform_ops::pwm_ops_set_duty_cycle) (struct no_os_pwm_desc *, uint32_t) |
pwm set duty cycle function pointer
int32_t(* no_os_pwm_platform_ops::pwm_ops_set_period) (struct no_os_pwm_desc *, uint32_t) |
pwm set period function pointer
int32_t(* no_os_pwm_platform_ops::pwm_ops_set_phase) (struct no_os_pwm_desc *, uint32_t) |
pwm set phase function pointer
int32_t(* no_os_pwm_platform_ops::pwm_ops_set_polarity) (struct no_os_pwm_desc *, enum no_os_pwm_polarity) |
pwm set polarity function pointer