18#ifndef __HAL_DRIVER_COMMON_PWM_TIMER_TO_PWM_H__
19#define __HAL_DRIVER_COMMON_PWM_TIMER_TO_PWM_H__
25#if VSF_HAL_USE_PWM == ENABLED && VSF_HAL_USE_TIMER == ENABLED
42#ifndef VSF_HW_PWM_CFG_MULTI_CLASS
43# define VSF_HW_PWM_CFG_MULTI_CLASS VSF_PWM_CFG_MULTI_CLASS
50#ifndef VSF_HW_PWM_CFG_CAPABILITY_MIN_FREQ
51# define VSF_HW_PWM_CFG_CAPABILITY_MIN_FREQ (1ul * 1000)
53#ifndef VSF_HW_PWM_CFG_CAPABILITY_MAX_FREQ
54# define VSF_HW_PWM_CFG_CAPABILITY_MAX_FREQ (100ul * 1000 * 1000)
84#if VSF_HW_PWM_CFG_MULTI_CLASS == ENABLED
104#ifndef VSF_TIMER_TO_PWM_DEFAULT_TIMER
105# define VSF_TIMER_TO_PWM_DEFAULT_TIMER(__IDX) \
106 (vsf_timer_t *)&VSF_MCONNECT(vsf_hw_timer, __IDX)
unsigned uint32_t
Definition stdint.h:9
uint32_t configured_mask
Definition timer_to_pwm.h:90
vsf_pwm_cfg_t cfg
Definition timer_to_pwm.h:88
vsf_pwm_t vsf_pwm
Definition pwm.c:43
vsf_timer_t * timer
Definition timer_to_pwm.h:87
bool enabled
Definition timer_to_pwm.h:91
uint32_t period
Definition timer_to_pwm.h:89
PWM configuration structure. Used to configure the PWM generator's frequency settings.
Definition vsf_template_pwm.h:170
Definition vsf_template_pwm.h:274
Definition vsf_template_timer.h:780