update some err
This commit is contained in:
parent
646ca87981
commit
93a7aa7991
@ -14,5 +14,5 @@
|
||||
- [x] 产生一个210-230us可调节的准确延时。(TIMER15配置为1us计一个数,设置重载为需要的时间,产生中断即可。)
|
||||
- [x] 在产生指定时间的中断服务函数中,开启EXTI0(PA0,sensor信号接收引脚),开启TIMER14(计时计数器,1us计一个数,计算接收到外部中断的时间)
|
||||
- [ ] 在外部中断服务函数中,产生一个事件或中断,进入到TIMER14的中断
|
||||
- [ ] TIMER14不存在F4x系列,改用TIMER16.
|
||||
- [x] TIMER14不存在F4x系列,改用TIMER16.
|
||||
- [x] 放弃上述流程,多一层中断层,直接在EXTI0的中断服务函数中,直接读取TIMER16的CH_0计数值。
|
@ -49,6 +49,8 @@ void PendSV_Handler(void);
|
||||
/* this function handles SysTick exception */
|
||||
void SysTick_Handler(void);
|
||||
|
||||
void TIMER13_IRQHandler(void);
|
||||
void TIMER5_IRQHandler(void);
|
||||
void TIMER15_IRQHandler(void);
|
||||
void EXTI0_1_IRQHandler(void);
|
||||
|
||||
#endif /* GD32E23X_IT_H */
|
||||
|
Loading…
x
Reference in New Issue
Block a user