资源简介
蜘蛛机器人STM32F103控制程序源码
代码片段和文件信息
/******************** (C) COPYRIGHT 2008 STMicroelectronics ********************
* File Name : stm32f10x_adc.c
* Author : MCD Application Team
* Version : V2.0.3
* Date : 09/22/2008
* Description : This file provides all the ADC firmware functions.
********************************************************************************
* 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.
*******************************************************************************/
/* Includes ------------------------------------------------------------------*/
#include “stm32f10x_adc.h“
#include “stm32f10x_rcc.h“
/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/
/* ADC DISCNUM mask */
#define CR1_DISCNUM_Reset ((u32)0xFFFF1FFF)
/* ADC DISCEN mask */
#define CR1_DISCEN_Set ((u32)0x00000800)
#define CR1_DISCEN_Reset ((u32)0xFFFFF7FF)
/* ADC JAUTO mask */
#define CR1_JAUTO_Set ((u32)0x00000400)
#define CR1_JAUTO_Reset ((u32)0xFFFFFBFF)
/* ADC JDISCEN mask */
#define CR1_JDISCEN_Set ((u32)0x00001000)
#define CR1_JDISCEN_Reset ((u32)0xFFFFEFFF)
/* ADC AWDCH mask */
#define CR1_AWDCH_Reset ((u32)0xFFFFFFE0)
/* ADC Analog watchdog enable mode mask */
#define CR1_AWDMode_Reset ((u32)0xFF3FFDFF)
/* CR1 register Mask */
#define CR1_CLEAR_Mask ((u32)0xFFF0FEFF)
/* ADC ADON mask */
#define CR2_ADON_Set ((u32)0x00000001)
#define CR2_ADON_Reset ((u32)0xFFFFFFFE)
/* ADC DMA mask */
#define CR2_DMA_Set ((u32)0x00000100)
#define CR2_DMA_Reset ((u32)0xFFFFFEFF)
/* ADC RSTCAL mask */
#define CR2_RSTCAL_Set ((u32)0x00000008)
/* ADC CAL mask */
#define CR2_CAL_Set ((u32)0x00000004)
/* ADC SWSTART mask */
#define CR2_SWSTART_Set ((u32)0x00400000)
/* ADC EXTTRIG mask */
#define CR2_EXTTRIG_Set ((u32)0x00100000)
#define CR2_EXTTRIG_Reset ((u32)0xFFEFFFFF)
/* ADC Software start mask */
#define CR2_EXTTRIG_SWSTART_Set ((u32)0x00500000)
#define CR2_EXTTRIG_SWSTART_Reset ((u32)0xFFAFFFFF)
/* ADC JEXTSEL mask */
#define CR2_JEXTSEL_Reset ((u32)0xFFFF8FFF)
/* ADC JEXTTRIG mask */
#define CR2_JEXTTRIG_Set ((u32)0x00008000)
#define CR2_JEXTTRIG_Reset ((u32)0xFFFF7FFF)
/* ADC JSWST
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 5767 2012-03-08 20:15 robot\code\code\code.cbp
文件 2528 2013-03-27 10:19 robot\code\code\code.layout
文件 2225 2008-09-21 13:21 robot\FWLib\inc\cortexm3_macro.h
文件 18854 2008-09-21 13:21 robot\FWLib\inc\stm32f10x_adc.h
文件 6911 2008-09-21 13:21 robot\FWLib\inc\stm32f10x_bkp.h
文件 12279 2008-09-21 13:21 robot\FWLib\inc\stm32f10x_can.h
文件 1881 2008-09-21 13:21 robot\FWLib\inc\stm32f10x_crc.h
文件 9598 2008-09-21 13:21 robot\FWLib\inc\stm32f10x_dac.h
文件 2859 2008-09-21 13:21 robot\FWLib\inc\stm32f10x_dbgmcu.h
文件 17974 2008-09-21 13:21 robot\FWLib\inc\stm32f10x_dma.h
文件 5776 2008-09-21 13:21 robot\FWLib\inc\stm32f10x_exti.h
文件 13996 2008-09-21 13:21 robot\FWLib\inc\stm32f10x_flash.h
文件 18487 2008-09-21 13:21 robot\FWLib\inc\stm32f10x_fsmc.h
文件 14820 2008-09-21 13:21 robot\FWLib\inc\stm32f10x_gpio.h
文件 15604 2008-09-21 13:21 robot\FWLib\inc\stm32f10x_i2c.h
文件 3414 2008-09-21 13:21 robot\FWLib\inc\stm32f10x_iwdg.h
文件 3200 2008-09-21 13:21 robot\FWLib\inc\stm32f10x_lib.h
文件 500262 2008-09-21 13:21 robot\FWLib\inc\stm32f10x_map.h
文件 19198 2008-09-21 13:21 robot\FWLib\inc\stm32f10x_nvic.h
文件 3865 2008-09-21 13:21 robot\FWLib\inc\stm32f10x_pwr.h
文件 14783 2008-09-21 13:21 robot\FWLib\inc\stm32f10x_rcc.h
文件 3619 2008-09-21 13:21 robot\FWLib\inc\stm32f10x_rtc.h
文件 18326 2008-09-21 13:21 robot\FWLib\inc\stm32f10x_sdio.h
文件 13470 2008-09-21 13:21 robot\FWLib\inc\stm32f10x_spi.h
文件 3212 2008-09-21 13:21 robot\FWLib\inc\stm32f10x_systick.h
文件 47203 2008-09-21 13:21 robot\FWLib\inc\stm32f10x_tim.h
文件 3388 2008-09-21 13:21 robot\FWLib\inc\stm32f10x_type.h
文件 14180 2008-09-21 13:21 robot\FWLib\inc\stm32f10x_usart.h
文件 2620 2008-09-21 13:21 robot\FWLib\inc\stm32f10x_wwdg.h
文件 10308 2008-09-21 13:21 robot\FWLib\src\cortexm3_macro.s
............此处省略169个文件信息
- 上一篇:蜘蛛机器人STM32F103控制程序源码
- 下一篇:师生交流系统可实现视频的文件的
相关资源
- 蜘蛛机器人STM32F103控制程序源码
- stm32小车控制程序
- stm32 iic 控制0.96寸oled
- STM32 PWM 步进电机 脉冲输出带占空比修
- 串口图像显示使用STM32作为下位机
- STM32 接收GPS程序并对其数据解析
- STM32F103-CAN通讯程序+代码.docx
- stm32f103操作NRF24L01发送和接受数据
- STM32F103ZET6开发板原理图和PCB
- STM32的TIM3输出相位差0~360可调的PWM波形
- 基于STM32F103RCT6的简易示波器
- STM32F767_429 PCB工程
- STM32F103C8T6+OLED+BS18B20温度显示
- 蓝牙4.0模块控制板demo程序基于stm32f
- stm32F103ze利用DMA产生正弦波
- sht20 sht30 温湿度传感器 stm8-stm32
- STM32F4 官方IAP 超级终端 Ymordem
- stm32串口烧录软件DOS
- STM32红外遥控实验.zip
- 1 STM32 产生相差60°,占空比为75%的三
- STM32做的DMX512转SPI信号控制MBI6030
- RT-Thread STM32工程模板
- STM32F10x_DSP_Lib_V2.0.0.zip
- STM32控制步进驱动器的程序
- stm32 dds fft
- stm32f103的蜂鸣器程序
- 基于STM32f103的串口DMA收发数据实验
- FreeModbus+RT-Thead+STM32
- 移植MPU9250_DMP原代码到STM32F429
- STM32f103ADC USART FLASH 八段数码管驱动
评论
共有 条评论