Skip to content

Commit fe266c2

Browse files
committed
添加了基于dma传输的pwm输入脉宽测量驱动;目前支持N32G457;已经过测试
1 parent a438300 commit fe266c2

File tree

7 files changed

+791
-87
lines changed

7 files changed

+791
-87
lines changed

bsp/n32/libraries/n32_drivers/SConscript

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,11 @@ if GetDepend(['BSP_USING_TIM_ETR_CNT']):
5454
src += ['tim_etr_cnt.c']
5555

5656
if GetDepend(['BSP_USING_TIM_EXT_COUNTER']):
57-
src += ['drv_tim_external_counter.c']
58-
57+
src += ['drv_tim_external_counter.c']
58+
59+
if GetDepend(['BSP_USING_TIM_PULSE_WIDTH']):
60+
src += ['drv_tim_pulse_width.c']
61+
5962
path = [cwd]
6063
path += [cwd + '/config']
6164

0 commit comments

Comments
 (0)