Skip to content

Commit a438300

Browse files
committed
新增了国民技术的MCU定时器的外部时钟1驱动,已实现脉冲计数
在N32L406和N32G457测试通过,部分定时器配置未添加
1 parent bd5cb58 commit a438300

File tree

11 files changed

+1474
-137
lines changed

11 files changed

+1474
-137
lines changed

bsp/n32/libraries/n32_drivers/SConscript

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ if GetDepend(['BSP_USING_PWM']):
5353
if GetDepend(['BSP_USING_TIM_ETR_CNT']):
5454
src += ['tim_etr_cnt.c']
5555

56-
56+
if GetDepend(['BSP_USING_TIM_EXT_COUNTER']):
57+
src += ['drv_tim_external_counter.c']
58+
5759
path = [cwd]
5860
path += [cwd + '/config']
5961

0 commit comments

Comments
 (0)