资源简介
STM32F030C8T6加SIM800C 通过MQTT协议连接阿里云物联网平台 进行消息收发

代码片段和文件信息
/**
******************************************************************************
* @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
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-11-29 08:54 修改\
目录 0 2018-11-29 08:54 修改\CMSIS\
文件 24423 2015-10-20 10:13 修改\CMSIS\cmsis_armcc.h
文件 33042 2018-04-28 09:13 修改\CMSIS\core_cm0.h
文件 40429 2018-04-28 09:13 修改\CMSIS\core_cm0plus.h
文件 3620 2015-10-20 10:13 修改\CMSIS\core_cmFunc.h
文件 3636 2015-10-20 10:13 修改\CMSIS\core_cmInstr.h
目录 0 2018-11-29 08:54 修改\FWLIB\
目录 0 2018-11-29 08:54 修改\FWLIB\inc\
文件 19520 2018-04-28 09:12 修改\FWLIB\inc\stm32f0xx_adc.h
文件 12353 2018-04-28 09:12 修改\FWLIB\inc\stm32f0xx_cec.h
文件 10385 2018-04-28 09:12 修改\FWLIB\inc\stm32f0xx_comp.h
文件 3680 2018-04-28 09:12 修改\FWLIB\inc\stm32f0xx_crc.h
文件 7138 2018-04-28 09:12 修改\FWLIB\inc\stm32f0xx_dac.h
文件 3892 2018-04-28 09:12 修改\FWLIB\inc\stm32f0xx_dbgmcu.h
文件 14207 2018-04-28 09:12 修改\FWLIB\inc\stm32f0xx_dma.h
文件 8617 2018-04-28 09:12 修改\FWLIB\inc\stm32f0xx_exti.h
文件 10957 2018-04-28 09:12 修改\FWLIB\inc\stm32f0xx_flash.h
文件 13174 2018-04-28 09:12 修改\FWLIB\inc\stm32f0xx_gpio.h
文件 18136 2018-04-28 09:12 修改\FWLIB\inc\stm32f0xx_i2c.h
文件 4531 2018-04-28 09:12 修改\FWLIB\inc\stm32f0xx_iwdg.h
文件 4413 2018-04-28 09:12 修改\FWLIB\inc\stm32f0xx_misc.h
文件 5909 2018-04-28 09:12 修改\FWLIB\inc\stm32f0xx_pwr.h
文件 20615 2018-04-28 09:12 修改\FWLIB\inc\stm32f0xx_rcc.h
文件 35039 2018-04-28 09:12 修改\FWLIB\inc\stm32f0xx_rtc.h
文件 22351 2018-04-28 09:12 修改\FWLIB\inc\stm32f0xx_spi.h
文件 9166 2018-04-28 09:12 修改\FWLIB\inc\stm32f0xx_syscfg.h
文件 51670 2018-04-28 09:12 修改\FWLIB\inc\stm32f0xx_tim.h
文件 25538 2018-04-28 09:12 修改\FWLIB\inc\stm32f0xx_usart.h
文件 3537 2018-04-28 09:12 修改\FWLIB\inc\stm32f0xx_wwdg.h
目录 0 2018-11-29 08:54 修改\FWLIB\src\
............此处省略169个文件信息
- 上一篇:嗖嗖移动大厅完整版代码.rar
- 下一篇:Bootstrap文档
相关资源
- STM32F103RC+ADC+DMA多通道采样LCD显示
- I2C读写AT24C02 基于STM32F103 cube116540
- 基于stm32f103ve的程序——跑马灯实验
- 基于STM32RCT6的步进电机驱动程序
- stm32f407上的两个can发送和接收例程
- STM32 led 时钟
- STM32 2.4G通信例程
- 直流无刷电机方波驱动 stm32 例程代码
- STM32中文资料
- STM32蓝牙和串口程序
- STM32f103超声波模块例程
- stm32f103c8t6 4 oled.rar
- stm32f030 IAP Demo(原创)
- STM32基于rt_thread操作系统的SDHC卡文件
- NRF24L01实现51与STM32双向通讯
- STM32F103 串口程序(完整版)
- stm32 ds18b20 温度传感器 测试通过
- stm32官方例程
- STM32F103定时器中断程序
- [免费]基于stm32f103ze 的OLED驱动代码
- STM32F103RBT6驱动UC1698控制芯片的160160黑
- STM32F103 DS18B20 V3.5.0固件库驱动程序工
- STM32定时器使用入门。看了这个程序会
- SIM908 SDIO FSMC STM32 FIFO
- STM32F103 CC2500完整驱动(模拟SPI)
- AD7606采集程序
- stm32 用SPI 方式读写 SDHC
- stm32通过DMA方式采集ADC数据
- 意法半导体STM全系列微控制器STM32ST
- 基于STM32芯片的SX1278 驱动 LORA.rar
评论
共有 条评论