资源简介
PCB是DXP的工程文件,包括原理图与4层PCB,不是pdf格式的,
固件是配置好的 Keil 工程
代码片段和文件信息
/**
******************************************************************************
* @file stm32f10x_adc.c
* @author MCD Application Team
* @version V3.5.0
* @date 11-March-2011
* @brief This file provides all the ADC firmware functions.
******************************************************************************
* @attention
*
* THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
* TIME. AS A RESULT STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
* DIRECT INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
* FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
* CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
*
* © COPYRIGHT 2011 STMicroelectronics
******************************************************************************
*/
/* Includes ------------------------------------------------------------------*/
#include “stm32f10x_adc.h“
#include “stm32f10x_rcc.h“
/** @addtogroup STM32F10x_StdPeriph_Driver
* @{
*/
/** @defgroup ADC
* @brief ADC driver modules
* @{
*/
/** @defgroup ADC_Private_TypesDefinitions
* @{
*/
/**
* @}
*/
/** @defgroup ADC_Private_Defines
* @{
*/
/* ADC DISCNUM mask */
#define CR1_DISCNUM_Reset ((uint32_t)0xFFFF1FFF)
/* ADC DISCEN mask */
#define CR1_DISCEN_Set ((uint32_t)0x00000800)
#define CR1_DISCEN_Reset ((uint32_t)0xFFFFF7FF)
/* ADC JAUTO mask */
#define CR1_JAUTO_Set ((uint32_t)0x00000400)
#define CR1_JAUTO_Reset ((uint32_t)0xFFFFFBFF)
/* ADC JDISCEN mask */
#define CR1_JDISCEN_Set ((uint32_t)0x00001000)
#define CR1_JDISCEN_Reset ((uint32_t)0xFFFFEFFF)
/* ADC AWDCH mask */
#define CR1_AWDCH_Reset ((uint32_t)0xFFFFFFE0)
/* ADC Analog watchdog enable mode mask */
#define CR1_AWDMode_Reset ((uint32_t)0xFF3FFDFF)
/* CR1 register Mask */
#define CR1_CLEAR_Mask ((uint32_t)0xFFF0FEFF)
/* ADC ADON mask */
#define CR2_ADON_Set ((uint32_t)0x00000001)
#define CR2_ADON_Reset ((uint32_t)0xFFFFFFFE)
/* ADC DMA mask */
#define CR2_DMA_Set ((uint32_t)0x00000100)
#define CR2_DMA_Reset ((uint32_t)0xFFFFFEFF)
/* ADC RSTCAL mask */
#define CR2_RSTCAL_Set ((uint32_t)0x00000008)
/* ADC CAL mask */
#define CR2_CAL_Set ((uint32_t)0x00000004)
/* ADC SWSTART mask */
#define CR2_SWSTART_Set ((uint32_t)0x00400000)
/* ADC EXTTRIG mask */
#define CR2_EXTTRIG_Set ((uint32_t)0x00100000)
#define CR2_EXTTRIG_Reset ((uint32_t)0xFFEFFFFF)
/* ADC Software start mask */
#define CR2_EXTTRIG_SWSTART_Set ((uint32_t)0x00500000)
#define CR2_EXTTRIG_SWSTART_Reset ((uint32_t)0xFFAFFFFF)
/* ADC JEXTSEL mask */
#define CR2_JEXTSEL_Reset
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 898356 2014-05-15 13:28 ESC32\PCB\ESC32.PcbDoc
文件 11776 2016-01-14 20:53 ESC32\PCB\IO分配表.xls
文件 31855 2016-01-14 20:56 ESC32\PCB\PCB_Project1.PrjPCB
文件 303616 2014-05-15 13:26 ESC32\PCB\STM32_MCU.SchDoc
文件 12458 2016-01-14 20:53 ESC32\固件\lib\startup_stm32f10x_md.s
文件 625609 2016-01-14 20:53 ESC32\固件\lib\stm32f10x.h
文件 45894 2016-01-14 20:53 ESC32\固件\lib\stm32f10x_adc.c
文件 21207 2016-01-14 20:53 ESC32\固件\lib\stm32f10x_adc.h
文件 3222 2016-01-14 20:53 ESC32\固件\lib\stm32f10x_conf.h
文件 4987 2016-01-14 20:53 ESC32\固件\lib\stm32f10x_dbgmcu.c
文件 3699 2016-01-14 20:53 ESC32\固件\lib\stm32f10x_dbgmcu.h
文件 28893 2016-01-14 20:53 ESC32\固件\lib\stm32f10x_dma.c
文件 20315 2016-01-14 20:53 ESC32\固件\lib\stm32f10x_dma.h
文件 6690 2016-01-14 20:53 ESC32\固件\lib\stm32f10x_exti.c
文件 6640 2016-01-14 20:53 ESC32\固件\lib\stm32f10x_exti.h
文件 60867 2016-01-14 20:53 ESC32\固件\lib\stm32f10x_flash.c
文件 25019 2016-01-14 20:53 ESC32\固件\lib\stm32f10x_flash.h
文件 22571 2016-01-14 20:53 ESC32\固件\lib\stm32f10x_gpio.c
文件 19790 2016-01-14 20:53 ESC32\固件\lib\stm32f10x_gpio.h
文件 4726 2016-01-14 20:53 ESC32\固件\lib\stm32f10x_iwdg.c
文件 3688 2016-01-14 20:53 ESC32\固件\lib\stm32f10x_iwdg.h
文件 8452 2016-01-14 20:53 ESC32\固件\lib\stm32f10x_pwr.c
文件 4227 2016-01-14 20:53 ESC32\固件\lib\stm32f10x_pwr.h
文件 49801 2016-01-14 20:53 ESC32\固件\lib\stm32f10x_rcc.c
文件 29725 2016-01-14 20:53 ESC32\固件\lib\stm32f10x_rcc.h
文件 106269 2016-01-14 20:53 ESC32\固件\lib\stm32f10x_tim.c
文件 51263 2016-01-14 20:53 ESC32\固件\lib\stm32f10x_tim.h
文件 37250 2016-01-14 20:53 ESC32\固件\lib\stm32f10x_usart.c
文件 16136 2016-01-14 20:53 ESC32\固件\lib\stm32f10x_usart.h
文件 35463 2016-01-14 20:53 ESC32\固件\lib\system_stm32f10x.c
............此处省略80个文件信息
- 上一篇:数字图像处理标准测试图
- 下一篇:单片机应用小程序种类很全值得收藏
评论
共有 条评论