/**
******************************************************************************
* @file stm32f3xx_hal_adc_ex.c
* @author MCD Application Team
* @brief This file provides firmware functions to manage the following
* functionalities of the Analog to Digital Convertor (ADC)
* peripheral:
* + Operation functions
* ++ Start, stop, get result of conversions of injected
* group, using 2 possible modes: polling, interruption.
* ++ Multimode feature (available on devices with 2 ADCs or more)
* ++ Calibration (ADC automatic self-calibration)
* + Control functions
* ++ Channels configuration on injected group
* Other functions (generic functions) are available in file
* "stm32f3xx_hal_adc.c".
*
@verbatim
[..]
(@) Sections "ADC peripheral features" and "How to use this driver" are
available in file of generic functions "stm32f3xx_hal_adc.c".
[..]
@endverbatim
******************************************************************************
* @attention
*
* <h2><center>© COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
* 3. Neither the name of STMicroelectronics nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
******************************************************************************
*/
/* Includes ------------------------------------------------------------------*/
#include "stm32f3xx_hal.h"
/** @addtogroup STM32F3xx_HAL_Driver
* @{
*/
/** @defgroup ADCEx ADCEx
* @brief ADC Extended HAL module driver
* @{
*/
#ifdef HAL_ADC_MODULE_ENABLED
/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/
/** @defgroup ADCEx_Private_Constants ADCEx Private Constants
* @{
*/
#if defined(STM32F302xE) || defined(STM32F303xE) || defined(STM32F398xx) || \
defined(STM32F302xC) || defined(STM32F303xC) || defined(STM32F358xx) || \
defined(STM32F303x8) || defined(STM32F334x8) || defined(STM32F328xx) || \
defined(STM32F301x8) || defined(STM32F302x8) || defined(STM32F318xx)
/* Fixed timeout values for ADC calibration, enable settling time, disable */
/* settling time. */
/* Values defined to be higher than worst cases: low clock frequency, */
/* maximum prescalers. */
/* Ex of profile low frequency : Clock source at 0.5 MHz, ADC clock */
/* prescaler 256 (devices STM32F30xx), sampling time 7.5 ADC clock cycles, */
/* resolution 12 bits. */
/* Unit: ms */
#define ADC_CALIBRATION_TIMEOUT ( 10U)
#define ADC_ENABLE_TIMEOUT ( 2U)
#define ADC_DISABLE_TIMEOUT ( 2U)
#define ADC_STOP_CONVERSION_TIMEOUT ( 11U)
/* Timeout to wait for current conversion on going to be completed. */
/* Timeout fixed to worst case, for 1 channel. */
/* - maximum sampling time (601.5 adc_clk) */
/* - ADC resolution (Tsar 12 bits= 12.5 adc_clk) */
/* - ADC clock (from PLL with prescaler 256 (devices STM32F30xx)) */
/* Unit: cycles of CPU clock. */
#define ADC_CONVERSION_TIME_MAX_CPU_CYCLES ( 156928U)
/* Delay for ADC stabilization time (ADC voltage regulator start-up time) */
/* Maximum delay is 10us (refer to device datasheet, param. TADCVREG_STUP). */
/* Unit: us */
#define ADC_STAB_DELAY_US ( 10U)
/* Delay for temperature sensor stabilization time. */
/* Maximum delay is 10us (refer device datasheet, parameter tSTART). */
/* Unit: us */
#define ADC_TEMPSENSOR_DELAY_US ( 10U)
#endif /* STM32F302xE || STM32F303xE || STM32F398xx || */
/* STM32F302xC || STM32F303xC || STM32F358xx || */
/* STM32F303x8 || STM32F334x8 || STM32F328xx || */
/* STM32F301x8 || STM32F302x8 || STM32F318xx */
#if defined(STM32F373xC) || defined(STM32F378xx)
/* Timeout values for ADC enable and disable settling time. */
/* Values defined to be higher than worst cases: low clocks freq, */
/* maximum prescaler. */
/* Ex of profile low frequency : Clock source at 0.1 MHz, ADC clock */
/* prescaler 4U, sampling time 12.5 ADC clock cycles, resolution 12 bits. */
/* Unit: ms */
#define ADC_ENABLE_TIMEOUT ( 2U)
#define ADC_DISABLE_TIMEOUT ( 2U)
/* Delay for ADC calibration: */
/* Hardware prerequisite before starting a calibration: the ADC must have */
/* been in power-on state for at least two ADC clock cycles. */
/* Unit: ADC clock cycles */
#define ADC_PRECALIBRATION_DELAY_ADCCLOCKCYCLES ( 2U)
/* Timeout value for ADC calibration */
/* Value defined to be higher than worst cases: low clocks freq, */
/* maximum prescaler. */
/* Ex of profile low frequency : Clock source at 0.1 MHz, ADC clock */
/* prescaler 4U, sampling time 12.5 ADC clock cycles, resolution 12 bits. */
/* Unit: ms */
#define ADC_CALIBRATION_TIMEOUT ( 10U)
/* Delay for ADC stabilization time. */
/* Maximum delay is 1us (refer to device datasheet, parameter tSTAB). */
/* Unit: us */
#define ADC_STAB_DELAY_US ( 1U)
/* Delay for temperature sensor stabilization time. */
/* Maximum delay is 10us (refer to
没有合适的资源?快使用搜索试试~ 我知道了~
1.28寸的GC9a01屏幕资料
共1305个文件
h:644个
c:538个
s:14个
需积分: 0 36 下载量 58 浏览量
2023-09-23
09:40:21
上传
评论
收藏 13.74MB RAR 举报
温馨提示
GC9a01屏幕资料 原理图+stm32例程+规格书,使用SPI通信
资源推荐
资源详情
资源评论
收起资源包目录
1.28寸的GC9a01屏幕资料 (1305个子文件)
LCD.uvguix.80685 90KB
LCD.uvguix.80685 89KB
LCD.uvguix.80685 89KB
LCD.uvguix.80685 88KB
LCD.uvgui.80685 70KB
STARTUP.A51 6KB
LCD.uvguix.Administrator 175KB
LCD.uvguix.Administrator 174KB
LCD.uvguix.Administrator 173KB
LCD.uvguix.Administrator 173KB
LCD.uvgui.Administrator 173KB
LCD.uvguix.Administrator 90KB
LCD.uvguix.Administrator 89KB
LCD.uvguix.Administrator 89KB
LCD.uvguix.Administrator 89KB
LCD.uvguix.Administrator 89KB
LCD.uvguix.Administrator 89KB
keilkilll.bat 399B
keilkilll.bat 399B
keilkilll.bat 399B
keilkilll.bat 399B
keilkilll.bat 399B
keilkilll.bat 399B
keilkilll.bat 399B
keilkilll.bat 399B
keilkilll.bat 399B
keilkilll.bat 399B
keilkill.bat 218B
40x40QQ企鹅.bmp 6KB
vcl60.bpl 1.26MB
rtl60.bpl 661KB
stm32f3xx_hal_adc_ex.c 311KB
stm32f3xx_hal_hrtim.c 298KB
stm32l4xx_hal_i2c.c 217KB
stm32l4xx_hal_tim.c 207KB
stm32f3xx_hal_tim.c 174KB
stm32l1xx_hal_i2c.c 167KB
stm32f3xx_hal_i2c.c 161KB
stm32l0xx_hal_i2c.c 159KB
stm32l1xx_hal_tim.c 159KB
stm32l0xx_hal_tim.c 158KB
stm32l4xx_hal_adc.c 146KB
stm32l4xx_hal_spi.c 138KB
stm32l4xx_hal_uart.c 137KB
stm32l4xx_hal_sd.c 130KB
stm32l4xx_hal_dfsdm.c 129KB
stm32l4xx_hal_smartcard.c 127KB
stm32l4xx_hal_usart.c 127KB
stm32l4xx_hal_rcc_ex.c 127KB
stm32f4xx_tim.c 122KB
stm32f3xx_hal_spi.c 122KB
stm32f0xx_tim.c 121KB
stm32l4xx_hal_cryp_ex.c 118KB
stm32l4xx_hal_hash.c 114KB
stm32l1xx_hal_sd.c 107KB
stm32f10x_tim.c 107KB
stm32f10x_tim.c 107KB
stm32f10x_tim.c 107KB
stm32f10x_tim.c 107KB
stm32l4xx_hal_irda.c 106KB
stm32l4xx_hal_ospi.c 106KB
stm32l1xx_hal_rtc_ex.c 103KB
stm32f4xx_rtc.c 100KB
stm32f3xx_ll_adc.c 100KB
stm32l0xx_hal_uart.c 97KB
stm32f4xx_rcc.c 97KB
stm32l4xx_hal_smbus.c 96KB
stm32f3xx_hal_tim_ex.c 96KB
stm32f3xx_hal_uart.c 95KB
stm32l4xx_hal_qspi.c 94KB
stm32l4xx_hal_adc_ex.c 94KB
stm32l4xx_hal_sai.c 93KB
stm32f3xx_hal_smartcard.c 90KB
stm32l0xx_hal_smartcard.c 90KB
stm32f3xx_hal_sdadc.c 88KB
stm32f0xx_rtc.c 87KB
stm32l4xx_hal_dsi.c 86KB
stm32l0xx_hal_irda.c 85KB
stm32l0xx_hal_adc.c 84KB
stm32l4xx_hal_tim_ex.c 83KB
stm32l0xx_hal_usart.c 83KB
stm32l4xx_hal_can.c 82KB
stm32f3xx_hal_irda.c 82KB
stm32f3xx_hal_usart.c 81KB
stm32l1xx_hal_adc.c 79KB
stm32f0xx_usart.c 79KB
stm32l0xx_hal_spi.c 79KB
stm32f3xx_hal_smbus.c 77KB
stm32l0xx_hal_smbus.c 77KB
stm32l4xx_hal_rtc_ex.c 76KB
stm32l4xx_hal_lptim.c 72KB
stm32l4xx_hal_ltdc.c 72KB
stm32l4xx_ll_usb.c 71KB
stm32l0xx_hal_cryp.c 71KB
stm32l1xx_hal_cryp.c 70KB
stm32l4xx_hal_dma2d.c 70KB
stm32l4xx_hal_rtc.c 69KB
stm32l1xx_hal_spi.c 69KB
stm32l4xx_hal_rcc.c 68KB
stm32f4xx_adc.c 67KB
共 1305 条
- 1
- 2
- 3
- 4
- 5
- 6
- 14
资源评论
林兴南
- 粉丝: 160
- 资源: 10
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功