资源简介
基于STM32的CC1101收发程序,此程序是经过测试通过的。
代码片段和文件信息
/******************** (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
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2225 2008-09-21 13:21 CC1101\new_CC1101_Receive\library\inc\cortexm3_macro.h
文件 18854 2008-09-21 13:21 CC1101\new_CC1101_Receive\library\inc\stm32f10x_adc.h
文件 6911 2008-09-21 13:21 CC1101\new_CC1101_Receive\library\inc\stm32f10x_bkp.h
文件 12279 2008-09-21 13:21 CC1101\new_CC1101_Receive\library\inc\stm32f10x_can.h
文件 1881 2008-09-21 13:21 CC1101\new_CC1101_Receive\library\inc\stm32f10x_crc.h
文件 9598 2008-09-21 13:21 CC1101\new_CC1101_Receive\library\inc\stm32f10x_dac.h
文件 2859 2008-09-21 13:21 CC1101\new_CC1101_Receive\library\inc\stm32f10x_dbgmcu.h
文件 17974 2008-09-21 13:21 CC1101\new_CC1101_Receive\library\inc\stm32f10x_dma.h
文件 5776 2008-09-21 13:21 CC1101\new_CC1101_Receive\library\inc\stm32f10x_exti.h
文件 13996 2008-09-21 13:21 CC1101\new_CC1101_Receive\library\inc\stm32f10x_flash.h
文件 18487 2008-09-21 13:21 CC1101\new_CC1101_Receive\library\inc\stm32f10x_fsmc.h
文件 14820 2008-09-21 13:21 CC1101\new_CC1101_Receive\library\inc\stm32f10x_gpio.h
文件 15604 2008-09-21 13:21 CC1101\new_CC1101_Receive\library\inc\stm32f10x_i2c.h
文件 3414 2008-09-21 13:21 CC1101\new_CC1101_Receive\library\inc\stm32f10x_iwdg.h
文件 3200 2008-09-21 13:21 CC1101\new_CC1101_Receive\library\inc\stm32f10x_lib.h
文件 500262 2008-09-21 13:21 CC1101\new_CC1101_Receive\library\inc\stm32f10x_map.h
文件 19198 2008-09-21 13:21 CC1101\new_CC1101_Receive\library\inc\stm32f10x_nvic.h
文件 3865 2008-09-21 13:21 CC1101\new_CC1101_Receive\library\inc\stm32f10x_pwr.h
文件 14783 2008-09-21 13:21 CC1101\new_CC1101_Receive\library\inc\stm32f10x_rcc.h
文件 3619 2008-09-21 13:21 CC1101\new_CC1101_Receive\library\inc\stm32f10x_rtc.h
文件 18326 2008-09-21 13:21 CC1101\new_CC1101_Receive\library\inc\stm32f10x_sdio.h
文件 13470 2011-05-06 11:15 CC1101\new_CC1101_Receive\library\inc\stm32f10x_spi.h
文件 3212 2008-09-21 13:21 CC1101\new_CC1101_Receive\library\inc\stm32f10x_systick.h
文件 47203 2008-09-21 13:21 CC1101\new_CC1101_Receive\library\inc\stm32f10x_tim.h
文件 3388 2008-09-21 13:21 CC1101\new_CC1101_Receive\library\inc\stm32f10x_type.h
文件 14180 2008-09-21 13:21 CC1101\new_CC1101_Receive\library\inc\stm32f10x_usart.h
文件 2620 2008-09-21 13:21 CC1101\new_CC1101_Receive\library\inc\stm32f10x_wwdg.h
文件 58563 2008-09-21 13:21 CC1101\new_CC1101_Receive\library\src\stm32f10x_adc.c
文件 11170 2008-09-21 13:21 CC1101\new_CC1101_Receive\library\src\stm32f10x_bkp.c
文件 31644 2008-09-21 13:21 CC1101\new_CC1101_Receive\library\src\stm32f10x_can.c
............此处省略215个文件信息
相关资源
- 初级教程篇:按键(中断方式)实现
- stm32程序Keil直流电机算法控制之PID控
- STM32的3.2寸TFT液晶驱动程序
- STM32F1-GRBL-master
- STM32侧脉冲实时显示波形
- stm32单片机knn算法手写数字识别
- PCAP685+STM32F103
- 2017年电子设计大赛专科组简易水清检
- 用STM32频率计
- 基于STM32F103的半桥、全桥移相PWM控制
- stm32超声波测距程序STM32F103ZET6程序
- STM32+UCOSIII+EMWIN+DHT11波形显示
- 基于STM32单片机的DHT11 温湿度传感器
- STM32F469TouchGFX配置.docx
- 智能窗帘APP+stm32控制
- 基于STM32F103的最方便的I/O口任意定义
- 三旋翼机STM32飞控源码
- STM32固件库函数说明手册中文版,ST
- STM32F103双ADC模式同步采集两通道电压
- STM32L15**手册和寄存器说明
- 2个STM32通信
- CH451手册及按键源码
- stm32-小车超声波避障v3.5
- STM32双机通讯
- STM32F103_SPI驱动nRF24L01
- STM32F107-lwip-UDP-client发送数据
- 电子设计大赛电源组PID程序
- STM32定时器产生PWM波控制电机寄存器版
- stm32+esp8266上传数据到移动onenet平台
- INA226硬件IICSTM32F4驱动.7z
评论
共有 条评论