n/mcu
S'inscrire Se connecter

n/mcu

11 Membres · 0 En ligne

Échanges sur le développement embarqué avec des microcontrôleurs et la conception électronique

Épinglé u/binarydev
Welcome to 单片机

Welcome to our community! This is a space for discussions about 单片机. Feel free to introduce yourself and start conversations.

0 votes positifs3 commentaires
1 / 2
u/binarydev il y a 4 mois
MSPM0G3507知识库

【ima知识库】MSPM0G3507(地猛星)开发 https://ima.qq.com/wiki/?shareId=45157ce5c8ba7419e5b9a335ca8c60dc9a38f62da03779cdcb64fdee24a80101 把g3507包括引脚分布、原理图、api、数据手册在内的各种资料都收进去了 打电赛的应该会用上🧐

2 réponses159 vuesu/BearPaw a répondu il y a 4 mois
2
2 commentaires
2 159
il y a 4 moisu/BearPaw
u/binarydev il y a 6 mois
中断回调用HAL_Delay延迟卡死原因

写按键驱动的时候封装了一层函数,接收按键枚举和监听事件函数指针,传递给外部中断回调统一处理,习惯性地在监听函数写了HAL_Delay(200),然后就坏菜了 编译下载,按下Confirm,程序卡死 重新回顾了一下NVIC与HAL_Delay的机制,才注意到 HAL_Delay依赖HAL_GetTick获取SysTick计数值来实现延时的时间判断,而HAL_GetTick的值又需要SysTick中断来更新。在优先级更高的中断的回调中调用H…

2 réponses144 vuesu/Arvin_Leung a répondu il y a 6 mois
1 / 2
中断回调用HAL_Delay延迟卡死原因, image 1 sur 2
1 / 2
0
2 commentaires
2 144
il y a 6 moisu/Arvin_Leung

Vous êtes arrivé à la fin · 2 sujets