STM32F030F4P6工程模板
基于keil5的stm32f030f4p6工程模块,已实现点亮LED的功能,内含文本教程,欢迎下载参考。
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1120 2012-03-23 19:36 STM32F030F4P6工程模块LEDCOREarm_common_tables.h
文件 240326 2012-03-23 19:36 STM32F030F4P6工程模块LEDCOREarm_math.h
文件 31948 2012-03-23 19:36 STM32F030F4P6工程模块LEDCOREcore_cm0.h
文件 15691 2012-03-23 19:36 STM32F030F4P6工程模块LEDCOREcore_cmFunc.h
文件 16108 2012-03-23 19:36 STM32F030F4P6工程模块LEDCOREcore_cmInstr.h
文件 10646 2012-03-23 19:36 STM32F030F4P6工程模块LEDCOREstartup_stm32f0xx.s
文件 116984 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJled.axf
文件 1345 2018-10-24 16:56 STM32F030F4P6工程模块LEDOBJled.build_log.htm
文件 3066 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJled.hex
文件 26205 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJled.htm
文件 483 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJled.lnp
文件 12258 2018-10-24 16:56 STM32F030F4P6工程模块LEDOBJled_LED.dep
文件 212099 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJmain.crf
文件 1457 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJmain.d
文件 231784 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJmain.o
文件 57 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJstartup_stm32f0xx.d
文件 4808 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJstartup_stm32f0xx.o
文件 214459 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJstm32f0xx_gpio.crf
文件 1876 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJstm32f0xx_gpio.d
文件 248932 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJstm32f0xx_gpio.o
文件 212133 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJstm32f0xx_it.crf
文件 1744 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJstm32f0xx_it.d
文件 236552 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJstm32f0xx_it.o
文件 212534 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJstm32f0xx_misc.crf
文件 1876 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJstm32f0xx_misc.d
文件 234428 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJstm32f0xx_misc.o
文件 219924 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJstm32f0xx_rcc.crf
文件 1843 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJstm32f0xx_rcc.d
文件 285612 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJstm32f0xx_rcc.o
文件 213515 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJsystem_stm32f0xx.crf
............此处省略77个文件信息
/**
******************************************************************************
* @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
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1120 2012-03-23 19:36 STM32F030F4P6工程模块LEDCOREarm_common_tables.h
文件 240326 2012-03-23 19:36 STM32F030F4P6工程模块LEDCOREarm_math.h
文件 31948 2012-03-23 19:36 STM32F030F4P6工程模块LEDCOREcore_cm0.h
文件 15691 2012-03-23 19:36 STM32F030F4P6工程模块LEDCOREcore_cmFunc.h
文件 16108 2012-03-23 19:36 STM32F030F4P6工程模块LEDCOREcore_cmInstr.h
文件 10646 2012-03-23 19:36 STM32F030F4P6工程模块LEDCOREstartup_stm32f0xx.s
文件 116984 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJled.axf
文件 1345 2018-10-24 16:56 STM32F030F4P6工程模块LEDOBJled.build_log.htm
文件 3066 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJled.hex
文件 26205 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJled.htm
文件 483 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJled.lnp
文件 12258 2018-10-24 16:56 STM32F030F4P6工程模块LEDOBJled_LED.dep
文件 212099 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJmain.crf
文件 1457 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJmain.d
文件 231784 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJmain.o
文件 57 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJstartup_stm32f0xx.d
文件 4808 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJstartup_stm32f0xx.o
文件 214459 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJstm32f0xx_gpio.crf
文件 1876 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJstm32f0xx_gpio.d
文件 248932 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJstm32f0xx_gpio.o
文件 212133 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJstm32f0xx_it.crf
文件 1744 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJstm32f0xx_it.d
文件 236552 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJstm32f0xx_it.o
文件 212534 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJstm32f0xx_misc.crf
文件 1876 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJstm32f0xx_misc.d
文件 234428 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJstm32f0xx_misc.o
文件 219924 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJstm32f0xx_rcc.crf
文件 1843 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJstm32f0xx_rcc.d
文件 285612 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJstm32f0xx_rcc.o
文件 213515 2018-10-24 16:55 STM32F030F4P6工程模块LEDOBJsystem_stm32f0xx.crf
............此处省略77个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)