91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

此工程使用STM32L152直接驅(qū)動段式LCD(4*8),可根據(jù)程序增加COM以及SEG,程序列舉了4個COM的顯示,可自己添加其它

資源截圖

代碼片段和文件信息

/**
??******************************************************************************
??*?@file????system_stm32l1xx.c
??*?@author??MCD?Application?Team
??*?@version?V1.1.1
??*?@date????09-March-2012
??*?@brief???CMSIS?Cortex-M3?Device?Peripheral?Access?layer?System?Source?File.
??*??????????This?file?contains?the?system?clock?configuration?for?STM32L1xx?Ultra
??*??????????Low?Power?devices?and?is?generated?by?the?clock?configuration
??*??????????tool?“STM32L1xx_Clock_Configuration_V1.1.0.xls“.
??*?????????????
??*?1.??This?file?provides?two?functions?and?one?global?variable?to?be?called?from?
??*?????user?application:
??*??????-?SystemInit():?Setups?the?system?clock?(System?clock?source?PLL?Multiplier
??*??????????????????????and?Divider?factors?AHB/APBx?prescalers?and?Flash?settings)
??*??????????????????????depending?on?the?configuration?made?in?the?clock?xls?tool.?
??*??????????????????????This?function?is?called?at?startup?just?after?reset?and?
??*??????????????????????before?branch?to?main?program.?This?call?is?made?inside
??*??????????????????????the?“startup_stm32l1xx_xx.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?MSI?(2.1?MHz?Range)?is?used?as?system?clock?source.
??*????Then?SystemInit()?function?is?called?in?“startup_stm32l1xx_xx.s“?file?to
??*????configure?the?system?clock?before?to?branch?to?main?program.????
??*????
??*?3.?If?the?system?clock?source?selected?by?user?fails?to?startup?the?SystemInit()
??*????function?will?do?nothing?and?MSI?still?used?as?system?clock?source.?User?can?
??*????add?some?code?to?deal?with?this?issue?inside?the?SetSysClock()?function.
??*?
??*?4.?The?default?value?of?HSE?crystal?is?set?to?8MHz?refer?to?“HSE_VALUE“?define
??*????in?“stm32l1xx.h“?file.?When?HSE?is?used?as?system?clock?source?directly?or
??*????through?PLL?and?you?are?using?different?crystal?you?have?to?adapt?the?HSE
??*????value?to?your?own?configuration.
??*?
??*?5.?This?file?configures?the?system?clock?as?follows:??
??*=============================================================================
??*?????????????????????????System?Clock?Configuration
??*=============================================================================
??*????????System?Clock?source??????????|?PLL(HSE)
??*-----------------------------------------------------------------------------
??*????????SYSCLK???????????????????????|?32000000?Hz
??*---------------------------------

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????14803??2012-03-09?17:33??程序\CMSIS\startup_stm32l1xx_hd.s

?????文件??????13020??2012-03-09?17:33??程序\CMSIS\startup_stm32l1xx_md.s

?????文件??????14559??2012-03-09?17:33??程序\CMSIS\startup_stm32l1xx_mdp.s

?????文件?????475347??2012-03-09?17:33??程序\CMSIS\stm32l1xx.h

?????文件??????20175??2012-03-09?17:33??程序\CMSIS\system_stm32l1xx.c

?????文件???????2220??2012-03-09?17:33??程序\CMSIS\system_stm32l1xx.h

?????文件???????9173??2012-03-05?21:12??程序\FWlib\inc\misc.h

?????文件??????28932??2014-07-24?17:56??程序\FWlib\inc\stm32l1xx_adc.h

?????文件???????9391??2012-03-05?21:12??程序\FWlib\inc\stm32l1xx_aes.h

?????文件???????7062??2012-03-05?21:12??程序\FWlib\inc\stm32l1xx_comp.h

?????文件???????2414??2012-03-05?21:12??程序\FWlib\inc\stm32l1xx_crc.h

?????文件??????14712??2012-03-05?21:12??程序\FWlib\inc\stm32l1xx_dac.h

?????文件???????3823??2012-03-05?21:12??程序\FWlib\inc\stm32l1xx_dbgmcu.h

?????文件??????21338??2012-03-05?21:12??程序\FWlib\inc\stm32l1xx_dma.h

?????文件???????8724??2012-03-05?21:12??程序\FWlib\inc\stm32l1xx_exti.h

?????文件??????23584??2012-03-05?21:12??程序\FWlib\inc\stm32l1xx_flash.h

?????文件??????16537??2012-03-05?21:12??程序\FWlib\inc\stm32l1xx_fsmc.h

?????文件??????16118??2012-03-05?21:12??程序\FWlib\inc\stm32l1xx_gpio.h

?????文件??????31666??2012-03-05?21:12??程序\FWlib\inc\stm32l1xx_i2c.h

?????文件???????4326??2012-03-05?21:12??程序\FWlib\inc\stm32l1xx_iwdg.h

?????文件??????22397??2012-03-05?21:12??程序\FWlib\inc\stm32l1xx_lcd.h

?????文件???????6443??2012-03-05?21:12??程序\FWlib\inc\stm32l1xx_opamp.h

?????文件???????7318??2012-03-05?21:12??程序\FWlib\inc\stm32l1xx_pwr.h

?????文件??????19482??2012-03-05?21:12??程序\FWlib\inc\stm32l1xx_rcc.h

?????文件??????42255??2012-03-05?21:12??程序\FWlib\inc\stm32l1xx_rtc.h

?????文件??????22738??2012-03-05?21:12??程序\FWlib\inc\stm32l1xx_sdio.h

?????文件??????19932??2012-03-05?21:12??程序\FWlib\inc\stm32l1xx_spi.h

?????文件??????23195??2012-03-05?21:12??程序\FWlib\inc\stm32l1xx_syscfg.h

?????文件??????43379??2012-03-05?21:12??程序\FWlib\inc\stm32l1xx_tim.h

?????文件??????17642??2012-03-05?21:12??程序\FWlib\inc\stm32l1xx_usart.h

............此處省略67個文件信息

評論

共有 條評論