tao_z
2021-07-10 9051da0184cf839037f1370c729b27bf065b9c95
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);