资源简介
GPS应用程序,主要用于完成经纬度、时间的采集
代码片段和文件信息
/******************** (C) COPYRIGHT 2008 STMicroelectronics ********************
* File Name : stm32f10x_adc.c
* Author : MCD Application Team
* Version : V2.0
* Date : 05/23/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 SOFTWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
* INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
* FOR MORE INFORMATION PLEASE CAREFULLY READ THE LICENSE AGREEMENT FILE LOCATED
* IN THE ROOT DIRECTORY OF THIS FIRMWARE PACKAGE.
*******************************************************************************/
/* 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 ma
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 24207 2010-08-28 09:24 Neo_change_ USART3\cortexm3_macro.lst
文件 2348 2010-08-28 09:24 Neo_change_ USART3\cortexm3_macro.o
文件 106 2010-06-01 16:05 Neo_change_ USART3\del_project_out_put.bat
文件 19 2010-04-24 17:02 Neo_change_ USART3\ExtDll.iex
文件 205 2010-04-24 10:43 Neo_change_ USART3\Jli
文件 2356 2008-10-09 15:16 Neo_change_ USART3\library\inc\cortexm3_macro.h
文件 2158 2008-10-09 15:16 Neo_change_ USART3\library\inc\ip_arp_udp_tcp.h
文件 1086 2008-10-09 15:16 Neo_change_ USART3\library\inc\LCD1620.h
文件 18985 2008-10-09 15:16 Neo_change_ USART3\library\inc\stm32f10x_adc.h
文件 7042 2008-10-09 15:16 Neo_change_ USART3\library\inc\stm32f10x_bkp.h
文件 12410 2008-10-09 15:16 Neo_change_ USART3\library\inc\stm32f10x_can.h
文件 6327 2008-10-09 15:16 Neo_change_ USART3\library\inc\stm32f10x_conf.h
文件 2012 2008-10-09 15:16 Neo_change_ USART3\library\inc\stm32f10x_crc.h
文件 9729 2008-10-09 15:16 Neo_change_ USART3\library\inc\stm32f10x_dac.h
文件 2990 2008-10-09 15:16 Neo_change_ USART3\library\inc\stm32f10x_dbgmcu.h
文件 18105 2008-10-09 15:16 Neo_change_ USART3\library\inc\stm32f10x_dma.h
文件 5907 2008-10-09 15:16 Neo_change_ USART3\library\inc\stm32f10x_exti.h
文件 14127 2008-10-09 15:16 Neo_change_ USART3\library\inc\stm32f10x_flash.h
文件 19172 2008-10-09 15:16 Neo_change_ USART3\library\inc\stm32f10x_fsmc.h
文件 14951 2008-10-09 15:16 Neo_change_ USART3\library\inc\stm32f10x_gpio.h
文件 16391 2008-10-09 15:16 Neo_change_ USART3\library\inc\stm32f10x_i2c.h
文件 3973 2008-10-09 15:16 Neo_change_ USART3\library\inc\stm32f10x_it.h
文件 3545 2008-10-09 15:16 Neo_change_ USART3\library\inc\stm32f10x_iwdg.h
文件 3331 2008-10-09 15:16 Neo_change_ USART3\library\inc\stm32f10x_lib.h
文件 28427 2008-10-09 15:16 Neo_change_ USART3\library\inc\stm32f10x_map.h
文件 19329 2008-10-09 15:16 Neo_change_ USART3\library\inc\stm32f10x_nvic.h
文件 3996 2008-10-09 15:16 Neo_change_ USART3\library\inc\stm32f10x_pwr.h
文件 14914 2010-01-28 15:54 Neo_change_ USART3\library\inc\stm32f10x_rcc.h
文件 3750 2008-10-09 15:16 Neo_change_ USART3\library\inc\stm32f10x_rtc.h
文件 18457 2008-10-09 15:16 Neo_change_ USART3\library\inc\stm32f10x_sdio.h
............此处省略180个文件信息
- 上一篇:JPEG头信息解析c
- 下一篇:ZEMAX最全玻璃库
相关资源
- 烟雾报警器程序
- 基于STM32F407开发板驱动触摸屏原子
- stm32L431的寄存器手册AN4312 Application
- STM32的蓝牙程序HC-02
- 基于物联网的温室大棚监控系统的设
- STM32F103C8T6-LED例程
- stm32解析GPS模块数据流
- STM32F407四路12位AD采样
- stm32单片机+串口通信+温度采集
- Contiki入门手册高清中文版 PDF
- 蓝牙hc程序实现APP与单片机STM32F103的通
- STM32用DMA串口发送
- STM32四通道4-20ma
- 声音传感器程序-STM32
- GPS单点定位程序设计
- 基于stm32的温湿度采集显示系统设计
- STM32串行12864液晶显示
- stm32的TIM1带死区互补输出六路PWM波
- STM32无需外接解码芯片播放音乐
- STM32-PWM输出源码
- STM32F429 USB HID
- 2019电赛舵机云台控制代码.zip
- STM32 OLED显程
- 基于stm32的数字示波器c程序绝对完整
- FreeModbus--RTU--Master+Slave--uCOSIII--STM32F
- 基于STM32F4的小兵与大炮游戏
- keil.Jansson.1.0.0.pack
- OLED驱动STM32
- stm32 5路循迹智能小车资料,可遥控
- STM32F103VET6驱动HC-SR04.rar
评论
共有 条评论