Hardware Abstraction Layer for FreeRTOS
pwm_software.h File Reference

Go to the source code of this file.

Macros

#define ADD_PWM_SOFTWARE(id)
 
#define PWM_SOFTWARE_ID(id)   HAL_GET_ID(pwm, software, pwm_software_##id)
 

Functions

int32_t pwm_software_connect (struct pwm *pwm, struct timer *timer, struct gpio_pin *pin)
 

Macro Definition Documentation

◆ ADD_PWM_SOFTWARE

#define ADD_PWM_SOFTWARE (   id)
Value:
struct pwm_software pwm_software_##id = { \
PWM_INIT_DEV(software) \
HAL_NAME("Software PWM " #id) \
};\
PWM_ADDDEV(software, pwm_software_##id)

◆ PWM_SOFTWARE_ID

#define PWM_SOFTWARE_ID (   id)    HAL_GET_ID(pwm, software, pwm_software_##id)

Function Documentation

◆ pwm_software_connect()

int32_t pwm_software_connect ( struct pwm *  pwm,
struct timer *  timer,
struct gpio_pin *  pin 
)