-
大小: 2.97MB文件類型: .rar金幣: 2下載: 1 次發(fā)布日期: 2023-08-10
- 語(yǔ)言: 其他
- 標(biāo)簽: STM32F030F4P??KEIL5??
資源簡(jiǎn)介
基于keil5的stm32f030f4p6工程模塊,已實(shí)現(xiàn)點(diǎn)亮LED的功能,內(nèi)含文本教程,歡迎下載參考。

代碼片段和文件信息
/**
??******************************************************************************
??*?@file????stm32f0xx_adc.c
??*?@author??MCD?Application?Team
??*?@version?V1.0.0
??*?@date????23-March-2012
??*?@brief???This?file?provides?firmware?functions?to?manage?the?following?
??*??????????functionalities?of?the?Analog?to?Digital?Convertor?(ADC)?peripheral:
??*???????????+?Initialization?and?Configuration
??*???????????+?Power?saving
??*???????????+?Analog?Watchdog?configuration
??*???????????+?Temperature?Sensor?Vrefint?(Internal?Reference?Voltage)?and?
??*?????????????Vbat?(Voltage?battery)?management?
??*???????????+?ADC?Channels?Configuration
??*???????????+?ADC?Channels?DMA?Configuration
??*???????????+?Interrupts?and?flags?management
??*
??*??@verbatim
================================================================================
??????????????????????#####?How?to?use?this?driver?#####
================================================================================
????[..]
????(#)?Enable?the?ADC?interface?clock?using?
????????RCC_APB2PeriphClockCmd(RCC_APB2Periph_ADC1?ENABLE);?
????(#)?ADC?pins?configuration
???????(++)?Enable?the?clock?for?the?ADC?GPIOs?using?the?following?function:
????????????RCC_AHBPeriphClockCmd(RCC_AHBPeriph_GPIOx?ENABLE);???
???????(++)?Configure?these?ADC?pins?in?analog?mode?using?GPIO_Init();??
????(#)?Configure?the?ADC?conversion?resolution?data?alignment?external
????????trigger?and?edge?scan?direction?and?Enable/Disable?the?continuous?mode
????????using?the?ADC_Init()?function.
????(#)?Activate?the?ADC?peripheral?using?ADC_Cmd()?function.
????***?ADC?channels?group?configuration?***
????============================================
????[..]?
????(+)?To?configure?the?ADC?channels?features?use?ADC_Init()?and?
????????ADC_ChannelConfig()?functions.
????(+)?To?activate?the?continuous?mode?use?the?ADC_ContinuousModeCmd()
????????function.
????(+)?To?activate?the?Discontinuous?mode?use?the?ADC_DiscModeCmd()?functions.?
????(+)?To?activate?the?overrun?mode?use?the?ADC_OverrunModeCmd()?functions.
????(+)?To?activate?the?calibration?mode?use?the?ADC_GetCalibrationFactor()?functions.
????(+)?To?read?the?ADC?converted?values?use?the?ADC_GetConversionValue()
????????function.
????***?DMA?for?ADC?channels?features?configuration?***
????=============================================================
????[..]?
????(+)?To?enable?the?DMA?mode?for?ADC?channels?group?use?the?ADC_DMACmd()?function.
????(+)?To?configure?the?DMA?transfer?request?use?ADC_DMARequestModeConfig()?function.
??*??@endverbatim
??*
??******************************************************************************
??*?@attention
??*
??*?©?COPYRIGHT?2012?STMicroelectronics
??*
??*?Licensed?under?MCD-ST?Liberty?SW?License?Agreement?V2?(the?“License“);
??*?You?may?not?use?this?file?except?in?compliance?with?the?License.
??*?You?may?obtain?a?copy?of?the?License?at
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件???????1120??2012-03-23?19:36??STM32F030F4P6工程模塊\LED\CORE\arm_common_tables.h
?????文件?????240326??2012-03-23?19:36??STM32F030F4P6工程模塊\LED\CORE\arm_math.h
?????文件??????31948??2012-03-23?19:36??STM32F030F4P6工程模塊\LED\CORE\core_cm0.h
?????文件??????15691??2012-03-23?19:36??STM32F030F4P6工程模塊\LED\CORE\core_cmFunc.h
?????文件??????16108??2012-03-23?19:36??STM32F030F4P6工程模塊\LED\CORE\core_cmInstr.h
?????文件??????10646??2012-03-23?19:36??STM32F030F4P6工程模塊\LED\CORE\startup_stm32f0xx.s
?????文件?????116984??2018-10-24?16:55??STM32F030F4P6工程模塊\LED\OBJ\led.axf
?????文件???????1345??2018-10-24?16:56??STM32F030F4P6工程模塊\LED\OBJ\led.build_log.htm
?????文件???????3066??2018-10-24?16:55??STM32F030F4P6工程模塊\LED\OBJ\led.hex
?????文件??????26205??2018-10-24?16:55??STM32F030F4P6工程模塊\LED\OBJ\led.htm
?????文件????????483??2018-10-24?16:55??STM32F030F4P6工程模塊\LED\OBJ\led.lnp
?????文件??????12258??2018-10-24?16:56??STM32F030F4P6工程模塊\LED\OBJ\led_LED.dep
?????文件?????212099??2018-10-24?16:55??STM32F030F4P6工程模塊\LED\OBJ\main.crf
?????文件???????1457??2018-10-24?16:55??STM32F030F4P6工程模塊\LED\OBJ\main.d
?????文件?????231784??2018-10-24?16:55??STM32F030F4P6工程模塊\LED\OBJ\main.o
?????文件?????????57??2018-10-24?16:55??STM32F030F4P6工程模塊\LED\OBJ\startup_stm32f0xx.d
?????文件???????4808??2018-10-24?16:55??STM32F030F4P6工程模塊\LED\OBJ\startup_stm32f0xx.o
?????文件?????214459??2018-10-24?16:55??STM32F030F4P6工程模塊\LED\OBJ\stm32f0xx_gpio.crf
?????文件???????1876??2018-10-24?16:55??STM32F030F4P6工程模塊\LED\OBJ\stm32f0xx_gpio.d
?????文件?????248932??2018-10-24?16:55??STM32F030F4P6工程模塊\LED\OBJ\stm32f0xx_gpio.o
?????文件?????212133??2018-10-24?16:55??STM32F030F4P6工程模塊\LED\OBJ\stm32f0xx_it.crf
?????文件???????1744??2018-10-24?16:55??STM32F030F4P6工程模塊\LED\OBJ\stm32f0xx_it.d
?????文件?????236552??2018-10-24?16:55??STM32F030F4P6工程模塊\LED\OBJ\stm32f0xx_it.o
?????文件?????212534??2018-10-24?16:55??STM32F030F4P6工程模塊\LED\OBJ\stm32f0xx_misc.crf
?????文件???????1876??2018-10-24?16:55??STM32F030F4P6工程模塊\LED\OBJ\stm32f0xx_misc.d
?????文件?????234428??2018-10-24?16:55??STM32F030F4P6工程模塊\LED\OBJ\stm32f0xx_misc.o
?????文件?????219924??2018-10-24?16:55??STM32F030F4P6工程模塊\LED\OBJ\stm32f0xx_rcc.crf
?????文件???????1843??2018-10-24?16:55??STM32F030F4P6工程模塊\LED\OBJ\stm32f0xx_rcc.d
?????文件?????285612??2018-10-24?16:55??STM32F030F4P6工程模塊\LED\OBJ\stm32f0xx_rcc.o
?????文件?????213515??2018-10-24?16:55??STM32F030F4P6工程模塊\LED\OBJ\system_stm32f0xx.crf
............此處省略77個(gè)文件信息
評(píng)論
共有 條評(píng)論