資源簡介
基于STM32CubeMX開發的Max7219顯示程序,供大家參考。

代碼片段和文件信息
/**
??******************************************************************************
??*?@file????system_stm32f0xx.c
??*?@author??MCD?Application?Team
??*?@version?V2.3.0
??*?@date????27-May-2016
??*?@brief???CMSIS?Cortex-M0?Device?Peripheral?Access?layer?System?Source?File.
??*
??*?1.?This?file?provides?two?functions?and?one?global?variable?to?be?called?from
??*????user?application:
??*??????-?SystemInit():?This?function?is?called?at?startup?just?after?reset?and?
??*??????????????????????before?branch?to?main?program.?This?call?is?made?inside
??*??????????????????????the?“startup_stm32f0xx.s“?file.
??*
??*??????-?SystemCoreClock?variable:?Contains?the?core?clock?(HCLK)?it?can?be?used
??*??????????????????????????????????by?the?user?application?to?setup?the?SysTick
??*??????????????????????????????????timer?or?configure?other?parameters.
??*
??*??????-?SystemCoreClockUpdate():?Updates?the?variable?SystemCoreClock?and?must
??*?????????????????????????????????be?called?whenever?the?core?clock?is?changed
??*?????????????????????????????????during?program?execution.
??*
??*?2.?After?each?device?reset?the?HSI?(8?MHz)?is?used?as?system?clock?source.
??*????Then?SystemInit()?function?is?called?in?“startup_stm32f0xx.s“?file?to
??*????configure?the?system?clock?before?to?branch?to?main?program.
??*
??*?3.?This?file?configures?the?system?clock?as?follows:
??*=============================================================================
??*?????????????????????????Supported?STM32F0xx?device
??*-----------------------------------------------------------------------------
??*????????System?Clock?source????????????????????|?HSI
??*-----------------------------------------------------------------------------
??*????????SYSCLK(Hz)?????????????????????????????|?8000000
??*-----------------------------------------------------------------------------
??*????????HCLK(Hz)???????????????????????????????|?8000000
??*-----------------------------------------------------------------------------
??*????????AHB?Prescaler??????????????????????????|?1
??*-----------------------------------------------------------------------------
??*????????APB1?Prescaler?????????????????????????|?1
??*-----------------------------------------------------------------------------
??*=============================================================================
??******************************************************************************
??*?@attention
??*
??*?©?COPYRIGHT(c)?2016?STMicroelectronics
??*
??*?Redistribution?and?use?in?source?and?binary?forms?with?or?without?modification
??*?are?permitted?provided?that?the?following?conditions?are?met:
??*???1.?Redistributions?of?source?code?must?retain?the?above?copyright?notice
??*??????this?list?of?conditions?and?the?following?disclaimer.
??*???2.?Redistributions?in?binary?form?must?reproduce?the?above?copyright?notice
??*??????this?list?of?conditions?and
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2017-01-06?14:04??測試數碼管CUBEMX\
?????目錄???????????0??2017-01-06?14:04??測試數碼管CUBEMX\TEST\
?????文件????????2549??2017-01-06?14:03??測試數碼管CUBEMX\TEST.ioc
?????文件????????5300??2017-01-06?14:04??測試數碼管CUBEMX\TEST\.mxproject
?????目錄???????????0??2017-01-06?14:04??測試數碼管CUBEMX\TEST\Drivers\
?????目錄???????????0??2017-01-06?14:04??測試數碼管CUBEMX\TEST\Drivers\CMSIS\
?????目錄???????????0??2017-01-06?14:04??測試數碼管CUBEMX\TEST\Drivers\CMSIS\Device\
?????目錄???????????0??2017-01-06?14:04??測試數碼管CUBEMX\TEST\Drivers\CMSIS\Device\ST\
?????目錄???????????0??2017-01-06?14:04??測試數碼管CUBEMX\TEST\Drivers\CMSIS\Device\ST\STM32F0xx\
?????目錄???????????0??2017-01-06?14:04??測試數碼管CUBEMX\TEST\Drivers\CMSIS\Device\ST\STM32F0xx\Include\
?????文件??????430248??2016-10-20?10:04??測試數碼管CUBEMX\TEST\Drivers\CMSIS\Device\ST\STM32F0xx\Include\stm32f030x6.h
?????文件??????434939??2016-10-20?10:04??測試數碼管CUBEMX\TEST\Drivers\CMSIS\Device\ST\STM32F0xx\Include\stm32f030x8.h
?????文件??????469727??2016-10-20?10:04??測試數碼管CUBEMX\TEST\Drivers\CMSIS\Device\ST\STM32F0xx\Include\stm32f030xc.h
?????文件??????455760??2016-10-20?10:04??測試數碼管CUBEMX\TEST\Drivers\CMSIS\Device\ST\STM32F0xx\Include\stm32f031x6.h
?????文件??????452642??2016-10-20?10:04??測試數碼管CUBEMX\TEST\Drivers\CMSIS\Device\ST\STM32F0xx\Include\stm32f038xx.h
?????文件??????911588??2016-10-20?10:04??測試數碼管CUBEMX\TEST\Drivers\CMSIS\Device\ST\STM32F0xx\Include\stm32f042x6.h
?????文件??????908178??2016-10-20?10:04??測試數碼管CUBEMX\TEST\Drivers\CMSIS\Device\ST\STM32F0xx\Include\stm32f048xx.h
?????文件??????551517??2016-10-20?10:04??測試數碼管CUBEMX\TEST\Drivers\CMSIS\Device\ST\STM32F0xx\Include\stm32f051x8.h
?????文件??????548399??2016-10-20?10:04??測試數碼管CUBEMX\TEST\Drivers\CMSIS\Device\ST\STM32F0xx\Include\stm32f058xx.h
?????文件??????450442??2016-10-20?10:04??測試數碼管CUBEMX\TEST\Drivers\CMSIS\Device\ST\STM32F0xx\Include\stm32f070x6.h
?????文件??????466259??2016-10-20?10:04??測試數碼管CUBEMX\TEST\Drivers\CMSIS\Device\ST\STM32F0xx\Include\stm32f070xb.h
?????文件??????603770??2016-10-20?10:04??測試數碼管CUBEMX\TEST\Drivers\CMSIS\Device\ST\STM32F0xx\Include\stm32f071xb.h
?????文件??????963659??2016-10-20?10:04??測試數碼管CUBEMX\TEST\Drivers\CMSIS\Device\ST\STM32F0xx\Include\stm32f072xb.h
?????文件??????960842??2016-10-20?10:04??測試數碼管CUBEMX\TEST\Drivers\CMSIS\Device\ST\STM32F0xx\Include\stm32f078xx.h
?????文件?????1019688??2016-10-20?10:04??測試數碼管CUBEMX\TEST\Drivers\CMSIS\Device\ST\STM32F0xx\Include\stm32f091xc.h
?????文件?????1016552??2016-10-20?10:04??測試數碼管CUBEMX\TEST\Drivers\CMSIS\Device\ST\STM32F0xx\Include\stm32f098xx.h
?????文件????????9964??2016-10-20?10:04??測試數碼管CUBEMX\TEST\Drivers\CMSIS\Device\ST\STM32F0xx\Include\stm32f0xx.h
?????文件????????3790??2016-10-20?10:04??測試數碼管CUBEMX\TEST\Drivers\CMSIS\Device\ST\STM32F0xx\Include\system_stm32f0xx.h
?????目錄???????????0??2017-01-06?14:04??測試數碼管CUBEMX\TEST\Drivers\CMSIS\Device\ST\STM32F0xx\Source\
?????目錄???????????0??2017-01-06?14:04??測試數碼管CUBEMX\TEST\Drivers\CMSIS\Device\ST\STM32F0xx\Source\Templates\
?????目錄???????????0??2017-01-06?14:04??測試數碼管CUBEMX\TEST\Drivers\CMSIS\Device\ST\STM32F0xx\Source\Templates\arm\
............此處省略593個文件信息
評論
共有 條評論