From 1a4ea70147216f586f1341d4f1981733ed2c203c Mon Sep 17 00:00:00 2001
From: tao_z <tzj0429@163.com>
Date: Sat, 03 Jul 2021 21:41:30 +0800
Subject: [PATCH] 采用三个外部中断触发

---
 USR/INC/pwm.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/USR/INC/pwm.h b/USR/INC/pwm.h
index f3e99c5..da32571 100644
--- a/USR/INC/pwm.h
+++ b/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);

--
Gitblit v1.8.0