FR8003A的PMU_PWM怎么使用 我这边按如下配置没有正确输出
-
str_PWMParam_t PWMParam; PWMParam.Port = GPIO_PORT_C; PWMParam.Pin = GPIO_BIT_2; PWMParam.Period = 99; PWMParam.HighCount = 50; PWMParam.Invert = 0; pmu_pwm_config(PWM_2, PWMParam); pmu_pwm_cycle_start(PWM_2); PWMParam.Port = GPIO_PORT_C; PWMParam.Pin = GPIO_BIT_3; PWMParam.Period = 99; PWMParam.HighCount = 50; PWMParam.Invert = 0; pmu_pwm_config(PWM_3, PWMParam); pmu_pwm_cycle_start(PWM_3);