4310| 1
|
ADC通过DMA传输的数据检查 |
3金钱
最佳答案用模拟看门狗试试,设置合适的阈值直接通过中断触发检测到的事件,在没有有效脉冲的情况下CPU就不用一直比较了。
RM0008文件的11.3.7节:
Analog watchdogThe AWD analog watchdog status bit is set if the analog voltage converted by the ADC isbelow a low threshold or above a high threshold. These thresholds are programmed in the12 least significant bits of the ADC_HTR and ADC_LTR 16-bit registers. An inter ...
| ||
| ||
|手机版|OpenEdv-开源电子网
( 粤ICP备12000418号-1 )
GMT+8, 2025-6-15 18:12
Powered by OpenEdv-开源电子网
© 2001-2030 OpenEdv-开源电子网