-
大小: 2.97MB文件类型: .rar金币: 1下载: 0 次发布日期: 2023-08-10
- 语言: 其他
- 标签: STM32F030F4P KEIL5
资源简介
基于keil5的stm32f030f4p6工程模块,已实现点亮LED的功能,内含文本教程,欢迎下载参考。
代码片段和文件信息
/**
******************************************************************************
* @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工程模块\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个文件信息
相关资源
- KEIL5 STM32f1 安装包 版本 2.1.0 pack
- Keil.STM32F1xx_DFP.2.3.0.pack及安装说明.r
- STM32:Keil5下实现电子时钟
- STM32F103芯片包--keil5软件需要安装
- STM32F1开发标准库keil5MDK开发Keil.STM32
- Keil5c51v960a.rar
- Keil.STM32F1xx_DFP.2.2.0.pack Keil5下使用S
- FreeRTOS和FreeMODBUS移植到STM32F407傻瓜教
- keil5 mdk526汉化补丁 中文版不区分C51与
- GD32F1x0_Demo工程包加例程.rar
- keil5——51
- Keil及芯片包 ARM.CMSIS.5.5.1.pack STM32-F1芯
- KEIL5安装包以及破解文件.zip
- c51v954a完整版
- Keil.STM32F0xx_DFP.2.0.0 keil5 STM32F0xx支持文
- MDK KEIL5 i.MX RT1021算法
- Keil5配置GCC编译器编译STM32工程
- keil5配色方案
- keil5.14包含注册机.txt
- KEIL5.23中UCOS-ii移植全过程stm32
- 单片机交通灯设计基于proteus和keil5
- MDK_keil5注册机不含软件
- STM32F1+PS2+Serial+PWM (KEIL5)
- KEIL5注册机138013
- Keil5下的STM32F103Cx例程超值,含PWM输出
- MDK_5.25.30版本 KEIL5 网盘链接.txt
-
uli
nk2 固件 for KEIL5 版本V2.0.2 - STM32F030-uCOSIII
- Keil5 护眼主题
- STM32F103ZET6库函数模板
评论
共有 条评论