它一直停留在函数 delay_US () 中,所以我调试了这个函数,发现 systick_value_Get () 总是返回 0。 我检查了源代码,发现第一次调用 d elay_US () 是在 pmu_init () 中,但在调用 pmu_init () 之前,没有调用 systick_Init ()。 我在pmu_init () 之前添加了 systick_init (),但是 systick_value...
The reload value of the SysTick is the core frequency divided by 1000, that means that the Systick interrupt is called every 1ms and increment the s_osif_tick_cnt counter. The counter is then read and compered by the OSIF_TimeDelay() function. If the core frequency was divided...
爱是无远弗届的奇迹 也是孤注一掷的勇气【转发】@:抱歉,根据作者设置的微博可见时间范围,此微博已不可见。
它一直停留在函数 delay_US () 中,所以我调试了这个函数,发现 systick_value_Get () 总是返回 0。 我检查了源代码,发现第一次调用 d elay_US () 是在 pmu_init () 中,但在调用 pmu_init () 之前,没有调用 systick_Init ()。 我在pmu_init () 之前添加了 systick_init (),但是 systick_value...