資源簡介
FFT在STM32處理器上的實現完整代碼,可以直接運行在STM32系列芯片上
代碼片段和文件信息
/**
??******************************************************************************
??*?@file????misc.c
??*?@author??MCD?Application?Team
??*?@version?V1.4.0
??*?@date????04-August-2014
??*?@brief???This?file?provides?all?the?miscellaneous?firmware?functions?(add-on
??*??????????to?CMSIS?functions).
??*??????????
??*??@verbatim???
??*???????????????????????????????
??*??????????===================================================================??????
??*????????????????????????How?to?configure?Interrupts?using?driver?
??*??????????===================================================================??????
??*?
??*????????????This?section?provide?functions?allowing?to?configure?the?NVIC?interrupts?(IRQ).
??*????????????The?Cortex-M4?exceptions?are?managed?by?CMSIS?functions.
??*
??*????????????1.?Configure?the?NVIC?Priority?Grouping?using?NVIC_PriorityGroupConfig()
??*????????????????function?according?to?the?following?table.
?
??*??The?table?below?gives?the?allowed?values?of?the?pre-emption?priority?and?subpriority?according
??*??to?the?Priority?Grouping?configuration?performed?by?NVIC_PriorityGroupConfig?function
??*????==========================================================================================================================
??*??????NVIC_PriorityGroup???|?NVIC_IRQChannelPreemptionPriority?|?NVIC_IRQChannelSubPriority??|???????Description
??*????==========================================================================================================================
??*?????NVIC_PriorityGroup_0??|????????????????0??????????????????|????????????0-15?????????????|?0?bits?for?pre-emption?priority
??*???????????????????????????|???????????????????????????????????|?????????????????????????????|?4?bits?for?subpriority
??*????--------------------------------------------------------------------------------------------------------------------------
??*?????NVIC_PriorityGroup_1??|????????????????0-1????????????????|????????????0-7??????????????|?1?bits?for?pre-emption?priority
??*???????????????????????????|???????????????????????????????????|?????????????????????????????|?3?bits?for?subpriority
??*????--------------------------------------------------------------------------------------------------------------------------????
??*?????NVIC_PriorityGroup_2??|????????????????0-3????????????????|????????????0-3??????????????|?2?bits?for?pre-emption?priority
??*???????????????????????????|???????????????????????????????????|?????????????????????????????|?2?bits?for?subpriority
??*????--------------------------------------------------------------------------------------------------------------------------????
??*?????NVIC_PriorityGroup_3??|????????????????0-7????????????????|????????????0-1??????????????|?3?bits?for?pre-emption?priority
??*???????????????????????????|???????????????????????????????????|?????????????????????????????|?1?bits?for?subpriority
??*????-----------------------------------------------
- 上一篇:yuy2格式的裸數據
- 下一篇:ADI ad9361 vivado 下源代碼
評論
共有 條評論