USR/INC/pwm.h @@ -5,7 +5,7 @@ #define PERIOD_CAP (30000U) //48Mzhz / 3000 = 16Khz = 62.5us #define PERIOD_CMP (4000u) #define PERIOD_CMP (3000u) void TimerInit(void); void SetPwmDuty(uint16_t ch, uint32_t duty);