資源簡介
MCU:STM32F407; IDE:IAR7.2; 時鐘晶振:12M; SYSCLK=HCLK=168MHz; 注意:USB時鐘一定要為48MHz
代碼片段和文件信息
/**
??******************************************************************************
??*?@file????misc.c
??*?@author??MCD?Application?Team
??*?@version?V1.0.0
??*?@date????30-September-2011
??*?@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
??*????--------------------------------------------
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????303676??2019-05-13?15:48??IAR_USB_Device_FS\Debug\Exe\IAR_Project.out
?????文件??????10747??2019-05-13?15:48??IAR_USB_Device_FS\Debug\Exe\IAR_Project.sim
?????文件????1716099??2019-05-13?15:48??IAR_USB_Device_FS\Debug\Obj\IAR_Project.pbd
?????文件????1716099??2019-05-13?15:48??IAR_USB_Device_FS\Debug\Obj\IAR_Project.pbd.browse
?????文件???????6666??2019-05-13?14:58??IAR_USB_Device_FS\Debug\Obj\LED.o
?????文件?????897561??2019-05-13?15:04??IAR_USB_Device_FS\Debug\Obj\LED.pbi
?????文件??????10553??2019-05-13?15:04??IAR_USB_Device_FS\Debug\Obj\LED.pbi.cout
?????文件??????22256??2019-05-13?15:39??IAR_USB_Device_FS\Debug\Obj\main.o
?????文件????1018899??2019-05-13?15:39??IAR_USB_Device_FS\Debug\Obj\main.pbi
?????文件??????10554??2019-05-13?15:39??IAR_USB_Device_FS\Debug\Obj\main.pbi.cout
?????文件??????14138??2019-05-13?14:58??IAR_USB_Device_FS\Debug\Obj\misc.o
?????文件?????899804??2019-05-13?15:04??IAR_USB_Device_FS\Debug\Obj\misc.pbi
?????文件??????10563??2019-05-13?15:04??IAR_USB_Device_FS\Debug\Obj\misc.pbi.cout
?????文件??????56137??2019-05-13?14:58??IAR_USB_Device_FS\Debug\Obj\startup_stm32f4xx.o
?????文件??????75251??2019-05-13?14:58??IAR_USB_Device_FS\Debug\Obj\stm32f4xx_adc.o
?????文件?????925114??2019-05-13?15:04??IAR_USB_Device_FS\Debug\Obj\stm32f4xx_adc.pbi
?????文件??????10572??2019-05-13?15:04??IAR_USB_Device_FS\Debug\Obj\stm32f4xx_adc.pbi.cout
?????文件??????61091??2019-05-13?14:58??IAR_USB_Device_FS\Debug\Obj\stm32f4xx_can.o
?????文件?????936476??2019-05-13?15:04??IAR_USB_Device_FS\Debug\Obj\stm32f4xx_can.pbi
?????文件??????10572??2019-05-13?15:04??IAR_USB_Device_FS\Debug\Obj\stm32f4xx_can.pbi.cout
?????文件??????14307??2019-05-13?14:58??IAR_USB_Device_FS\Debug\Obj\stm32f4xx_crc.o
?????文件?????898067??2019-05-13?15:04??IAR_USB_Device_FS\Debug\Obj\stm32f4xx_crc.pbi
?????文件??????10572??2019-05-13?15:04??IAR_USB_Device_FS\Debug\Obj\stm32f4xx_crc.pbi.cout
?????文件??????36299??2019-05-13?14:58??IAR_USB_Device_FS\Debug\Obj\stm32f4xx_cryp.o
?????文件?????911419??2019-05-13?15:04??IAR_USB_Device_FS\Debug\Obj\stm32f4xx_cryp.pbi
?????文件??????10573??2019-05-13?15:04??IAR_USB_Device_FS\Debug\Obj\stm32f4xx_cryp.pbi.cout
?????文件??????20292??2019-05-13?14:58??IAR_USB_Device_FS\Debug\Obj\stm32f4xx_cryp_aes.o
?????文件?????921591??2019-05-13?15:04??IAR_USB_Device_FS\Debug\Obj\stm32f4xx_cryp_aes.pbi
?????文件??????10577??2019-05-13?15:04??IAR_USB_Device_FS\Debug\Obj\stm32f4xx_cryp_aes.pbi.cout
?????文件??????13132??2019-05-13?14:58??IAR_USB_Device_FS\Debug\Obj\stm32f4xx_cryp_des.o
............此處省略284個文件信息
- 上一篇:微波測量 國防工業出版社
- 下一篇:北京工業大學 人工智能導論課件兩個版本
評論
共有 條評論