Go to the documentation of this file.
37 #define PWMSS0_SYSFS_PATH "/sys/class/pwm/pwmchip0/"
39 #define PWMSS1_SYSFS_PATH "/sys/class/pwm/pwmchip2/"
42 #define EPWM0A_SYSFS_INDEX 0
44 #define EPWM1A_SYSFS_INDEX 0
46 #define EPWM1B_SYSFS_INDEX 1
49 #define EPWM0A_SYSFS_PATH PWMSS0_SYSFS_PATH "pwm-0:0/"
51 #define EPWM1A_SYSFS_PATH PWMSS1_SYSFS_PATH "pwm-2:0/"
53 #define EPWM1B_SYSFS_PATH PWMSS1_SYSFS_PATH "pwm-2:1/"
56 #define PWM_PERIOD_DEFAULT 490
58 #define PWM_DUTY_CYCLE_DEFAULT (PWM_PERIOD_DEFAULT / 2)