no-OS
Public Attributes | List of all members
no_os_pwm_platform_ops Struct Reference

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 *)
 

Detailed Description

Structure holding PWM function pointers that point to the platform specific function.

Member Data Documentation

◆ pwm_ops_disable

int32_t(* no_os_pwm_platform_ops::pwm_ops_disable) (struct no_os_pwm_desc *)

pwm disable function pointer

◆ pwm_ops_enable

int32_t(* no_os_pwm_platform_ops::pwm_ops_enable) (struct no_os_pwm_desc *)

pwm enable function pointer

◆ pwm_ops_get_duty_cycle

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

◆ pwm_ops_get_period

int32_t(* no_os_pwm_platform_ops::pwm_ops_get_period) (struct no_os_pwm_desc *, uint32_t *)

pwm get period function pointer

◆ pwm_ops_get_phase

int32_t(* no_os_pwm_platform_ops::pwm_ops_get_phase) (struct no_os_pwm_desc *, uint32_t *)

pwm get phase function pointer

◆ pwm_ops_get_polarity

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

◆ pwm_ops_init

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

◆ pwm_ops_remove

int32_t(* no_os_pwm_platform_ops::pwm_ops_remove) (struct no_os_pwm_desc *)

pwm remove function pointer

◆ pwm_ops_set_duty_cycle

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

◆ pwm_ops_set_period

int32_t(* no_os_pwm_platform_ops::pwm_ops_set_period) (struct no_os_pwm_desc *, uint32_t)

pwm set period function pointer

◆ pwm_ops_set_phase

int32_t(* no_os_pwm_platform_ops::pwm_ops_set_phase) (struct no_os_pwm_desc *, uint32_t)

pwm set phase function pointer

◆ pwm_ops_set_polarity

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


The documentation for this struct was generated from the following file: