資源簡介
實驗器材:
探索者STM32F4開發板
實驗目的:
學習GPIO作為輸出的使用
硬件資源:
1,DS0(連接在PF9)
2,DS1(連接在PF10)
實驗現象:
本實驗通過代碼控制開發板上的兩個LED:DS0和DS1交替閃爍,實現類似跑馬燈的效果
代碼片段和文件信息
/**
??******************************************************************************
??*?@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?
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2016-04-15?21:57??CORE\
?????文件??????109142??2016-04-15?21:57??CORE\core_cm4.h
?????文件???????22735??2016-04-15?21:57??CORE\core_cm4_simd.h
?????文件???????17146??2016-04-15?21:57??CORE\core_cmFunc.h
?????文件???????20513??2016-04-15?21:57??CORE\core_cmInstr.h
?????文件???????29605??2016-04-15?21:57??CORE\startup_stm32f40_41xxx.s
?????目錄???????????0??2016-04-15?21:57??FWLIB\
?????目錄???????????0??2016-04-15?21:57??FWLIB\inc\
?????文件????????6924??2016-04-15?21:57??FWLIB\inc\misc.h
?????文件???????32880??2016-04-15?21:57??FWLIB\inc\stm32f4xx_adc.h
?????文件???????27318??2016-04-15?21:57??FWLIB\inc\stm32f4xx_can.h
?????文件????????2416??2016-04-15?21:57??FWLIB\inc\stm32f4xx_crc.h
?????文件???????14481??2016-04-15?21:57??FWLIB\inc\stm32f4xx_cryp.h
?????文件???????14946??2016-04-15?21:57??FWLIB\inc\stm32f4xx_dac.h
?????文件????????4296??2016-04-15?21:57??FWLIB\inc\stm32f4xx_dbgmcu.h
?????文件???????12977??2016-04-15?21:57??FWLIB\inc\stm32f4xx_dcmi.h
?????文件???????28882??2016-04-15?21:57??FWLIB\inc\stm32f4xx_dma.h
?????文件???????19692??2016-04-15?21:57??FWLIB\inc\stm32f4xx_dma2d.h
?????文件????????8012??2016-04-15?21:57??FWLIB\inc\stm32f4xx_exti.h
?????文件???????24467??2016-04-15?21:57??FWLIB\inc\stm32f4xx_flash.h
?????文件????????3275??2016-04-15?21:57??FWLIB\inc\stm32f4xx_flash_ramfunc.h
?????文件???????44924??2016-04-15?21:57??FWLIB\inc\stm32f4xx_fmc.h
?????文件???????27181??2016-04-15?21:57??FWLIB\inc\stm32f4xx_fsmc.h
?????文件???????23548??2016-04-15?21:57??FWLIB\inc\stm32f4xx_gpio.h
?????文件???????10084??2016-04-15?21:57??FWLIB\inc\stm32f4xx_hash.h
?????文件???????31939??2016-04-15?21:57??FWLIB\inc\stm32f4xx_i2c.h
?????文件????????4323??2016-04-15?21:57??FWLIB\inc\stm32f4xx_iwdg.h
?????文件???????21191??2016-04-15?21:57??FWLIB\inc\stm32f4xx_ltdc.h
?????文件????????7728??2016-04-15?21:57??FWLIB\inc\stm32f4xx_pwr.h
?????文件???????30063??2016-04-15?21:57??FWLIB\inc\stm32f4xx_rcc.h
?????文件????????3958??2016-04-15?21:57??FWLIB\inc\stm32f4xx_rng.h
............此處省略78個文件信息
- 上一篇:基于STM32F4的四軸航拍飛行器
- 下一篇:51單片機籃球24秒計時器.docx
評論
共有 條評論