-
大小: 5.43MB文件类型: .rar金币: 1下载: 0 次发布日期: 2023-11-17
- 语言: 其他
- 标签: 工程模板 STM32F303x
资源简介
STM32F303x固件库工程模板,标准通用,已配置好UART。
代码片段和文件信息
/**
******************************************************************************
* @file stm32f30x_adc.c
* @author MCD Application Team
* @version V1.0.0
* @date 04-September-2012
* @brief This file provides firmware functions to manage the following
* functionalities of the Analog to Digital Convertor (ADC) peripheral:
* + Initialization and Configuration
* + Analog Watchdog configuration
* + Temperature Sensor Vbat & Vrefint (Internal Reference Voltage) management
* + Regular Channels Configuration
* + Regular Channels DMA Configuration
* + Injected channels Configuration
* + Interrupts and flags management
* + Dual mode configuration
*
@verbatim
==============================================================================
##### How to use this driver #####
==============================================================================
[..]
(#) select the ADC clock using the function RCC_ADCCLKConfig()
(#) Enable the ADC interface clock using RCC_AHBPeriphClockCmd();
(#) 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 sequencer lenght 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() ADC_InjectedInit()
and ADC_RegularChannelConfig() functions or/and ADC_InjectedChannelConfig()
(+) 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_StartCalibration() 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_DMAConfig() function.
@endverbatim
*
******************************************************************************
* @attention
*
* © COPYRIGHT 2012 STMicroelectronics
*
* Licensed under MCD-ST Liberty SW License Agreement V2 (the “License“);
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1121 2012-09-26 22:59 STM32_F303_B\STM32_F303_B\Libraries\CMSIS\arm_common_tables.h
文件 240315 2012-09-26 22:59 STM32_F303_B\STM32_F303_B\Libraries\CMSIS\arm_math.h
文件 31966 2012-09-26 22:59 STM32_F303_B\STM32_F303_B\Libraries\CMSIS\core_cm0.h
文件 93501 2012-09-26 22:59 STM32_F303_B\STM32_F303_B\Libraries\CMSIS\core_cm3.h
文件 102700 2012-09-26 22:59 STM32_F303_B\STM32_F303_B\Libraries\CMSIS\core_cm4.h
文件 21435 2012-09-26 22:59 STM32_F303_B\STM32_F303_B\Libraries\CMSIS\core_cm4_simd.h
文件 15845 2012-09-26 22:59 STM32_F303_B\STM32_F303_B\Libraries\CMSIS\core_cmFunc.h
文件 17208 2012-09-26 22:59 STM32_F303_B\STM32_F303_B\Libraries\CMSIS\core_cmInstr.h
文件 39156 2012-09-26 22:59 STM32_F303_B\STM32_F303_B\Libraries\CMSIS\core_sc000.h
文件 91880 2012-09-26 22:59 STM32_F303_B\STM32_F303_B\Libraries\CMSIS\core_sc300.h
文件 26340 2012-09-26 22:58 STM32_F303_B\STM32_F303_B\Libraries\CMSIS\startup_stm32f30x.s
文件 487623 2012-09-26 22:58 STM32_F303_B\STM32_F303_B\Libraries\CMSIS\stm32f30x.h
文件 2226 2012-09-26 22:58 STM32_F303_B\STM32_F303_B\Libraries\CMSIS\system_stm32f30x.h
文件 45118 2012-09-26 23:00 STM32_F303_B\STM32_F303_B\Libraries\STM32F30x_StdPeriph_Driver\inc\stm32f30x_adc.h
文件 27261 2012-09-26 23:00 STM32_F303_B\STM32_F303_B\Libraries\STM32F30x_StdPeriph_Driver\inc\stm32f30x_can.h
文件 21996 2012-09-26 23:00 STM32_F303_B\STM32_F303_B\Libraries\STM32F30x_StdPeriph_Driver\inc\stm32f30x_comp.h
文件 4753 2012-09-26 23:00 STM32_F303_B\STM32_F303_B\Libraries\STM32F30x_StdPeriph_Driver\inc\stm32f30x_crc.h
文件 15227 2012-09-26 23:00 STM32_F303_B\STM32_F303_B\Libraries\STM32F30x_StdPeriph_Driver\inc\stm32f30x_dac.h
文件 4130 2012-09-26 23:00 STM32_F303_B\STM32_F303_B\Libraries\STM32F30x_StdPeriph_Driver\inc\stm32f30x_dbgmcu.h
文件 21197 2012-09-26 23:00 STM32_F303_B\STM32_F303_B\Libraries\STM32F30x_StdPeriph_Driver\inc\stm32f30x_dma.h
文件 12086 2012-09-26 23:00 STM32_F303_B\STM32_F303_B\Libraries\STM32F30x_StdPeriph_Driver\inc\stm32f30x_exti.h
文件 12620 2012-09-26 23:00 STM32_F303_B\STM32_F303_B\Libraries\STM32F30x_StdPeriph_Driver\inc\stm32f30x_flash.h
文件 14220 2012-09-26 23:00 STM32_F303_B\STM32_F303_B\Libraries\STM32F30x_StdPeriph_Driver\inc\stm32f30x_gpio.h
文件 18071 2012-09-26 23:00 STM32_F303_B\STM32_F303_B\Libraries\STM32F30x_StdPeriph_Driver\inc\stm32f30x_i2c.h
文件 4701 2012-09-26 23:00 STM32_F303_B\STM32_F303_B\Libraries\STM32F30x_StdPeriph_Driver\inc\stm32f30x_iwdg.h
文件 9389 2012-09-26 23:00 STM32_F303_B\STM32_F303_B\Libraries\STM32F30x_StdPeriph_Driver\inc\stm32f30x_misc.h
文件 10982 2012-09-26 23:00 STM32_F303_B\STM32_F303_B\Libraries\STM32F30x_StdPeriph_Driver\inc\stm32f30x_opamp.h
文件 6038 2012-09-26 23:00 STM32_F303_B\STM32_F303_B\Libraries\STM32F30x_StdPeriph_Driver\inc\stm32f30x_pwr.h
文件 27295 2012-09-26 23:00 STM32_F303_B\STM32_F303_B\Libraries\STM32F30x_StdPeriph_Driver\inc\stm32f30x_rcc.h
文件 39736 2012-09-26 23:00 STM32_F303_B\STM32_F303_B\Libraries\STM32F30x_StdPeriph_Driver\inc\stm32f30x_rtc.h
............此处省略206个文件信息
- 上一篇:2010年省县级人口数据
- 下一篇:STM32F030工程模板
相关资源
- STM32F030工程模板
- GD32工程模板
- F2833x Project Template
- HT32F52352工程模板
- STM32F103ZET6工程模板
- GBA游戏软件的ADS1.2工程模板
- STM32C8T6工程模板
- STM32F746工程模板
- LPC17XX_Keil工程模板及配套例程 + LPC1
- STM32_F1系列FreeRTOS工程模板
- STM32L系列标准库工程模板
- CodeSmith生成MVC4项目工程模板V1.0.12.0
- 周立功 SmartCortex M3-1700 配套例程及工
-
Maven archetype-catalog.xm
l51090 - STM32F107VC工程模板
- stm32f10x工程模板
- TM4C123G工程模板(keil)
- RT-Thread STM32工程模板
- DSP TMS320F2802工程模板
- STM8L052工程模板
- STM32F0工程模板
- stm32f103c8t6工程模板
- STM32 F103VCT6 KEIL5环境 USART SPI I2C TIM
- GD32E103RB.zip
- 基于STM32C8T6的最小系统的工程模板文
- STM32F407的FSMC工程模板,STM32F407的FSM
- STM32F030F4P6工程模板
- 基于固件库的STM32F103ZET6工程模板ARM
- STM32F3系列固件库模板
- lpc1766_Keil工程模板及配套例程
评论
共有 条评论