资源简介
STM8+NRF24l01+接收程序,利用STM8最小系统实现NRF24L01的通讯,是学习的小案例
代码片段和文件信息
/**
******************************************************************************
* @file stm8s_adc1.c
* @author MCD Application Team
* @version V2.0.0
* @date 25-February-2011
* @brief This file contains all the functions/macros for the ADC1 peripheral.
******************************************************************************
* @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 “stm8s_adc1.h“
/** @addtogroup STM8S_StdPeriph_Driver
* @{
*/
/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/
/* Private macro -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
/* Private function prototypes -----------------------------------------------*/
/* Private functions ---------------------------------------------------------*/
/* Public functions ----------------------------------------------------------*/
/**
* @addtogroup ADC1_Public_Functions
* @{
*/
/**
* @brief Deinitializes the ADC1 peripheral registers to their default reset
* values.
* @param None
* @retval None
*/
void ADC1_DeInit(void)
{
ADC1->CSR = ADC1_CSR_RESET_VALUE;
ADC1->CR1 = ADC1_CR1_RESET_VALUE;
ADC1->CR2 = ADC1_CR2_RESET_VALUE;
ADC1->CR3 = ADC1_CR3_RESET_VALUE;
ADC1->TDRH = ADC1_TDRH_RESET_VALUE;
ADC1->TDRL = ADC1_TDRL_RESET_VALUE;
ADC1->HTRH = ADC1_HTRH_RESET_VALUE;
ADC1->HTRL = ADC1_HTRL_RESET_VALUE;
ADC1->LTRH = ADC1_LTRH_RESET_VALUE;
ADC1->LTRL = ADC1_LTRL_RESET_VALUE;
ADC1->AWCRH = ADC1_AWCRH_RESET_VALUE;
ADC1->AWCRL = ADC1_AWCRL_RESET_VALUE;
}
/**
* @brief Initializes the ADC1 peripheral according to the specified parameters
* @param ADC1_ConversionMode: specifies the conversion mode
* can be one of the values of @ref ADC1_ConvMode_TypeDef.
* @param ADC1_Channel: specifies the channel to convert
* can be one of the values of @ref ADC1_Channel_TypeDef.
* @param ADC1_PrescalerSelection: specifies the ADC1 prescaler
* can be one of the values of @ref ADC1_PresSel_TypeDef.
* @param ADC1_ExtTrigger: specifies th
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 115039 2012-06-11 21:55 STM8-无线串口 - IO-RX6[OK]\stm8s103 pj\FWlib\inc\stm8s.h
文件 15026 2011-02-25 17:22 STM8-无线串口 - IO-RX6[OK]\stm8s103 pj\FWlib\inc\stm8s_adc1.h
文件 11473 2011-02-25 17:22 STM8-无线串口 - IO-RX6[OK]\stm8s103 pj\FWlib\inc\stm8s_adc2.h
文件 4926 2011-02-25 17:22 STM8-无线串口 - IO-RX6[OK]\stm8s103 pj\FWlib\inc\stm8s_awu.h
文件 3495 2011-02-25 17:22 STM8-无线串口 - IO-RX6[OK]\stm8s103 pj\FWlib\inc\stm8s_beep.h
文件 25587 2011-02-25 17:22 STM8-无线串口 - IO-RX6[OK]\stm8s103 pj\FWlib\inc\stm8s_can.h
文件 16947 2011-02-25 17:22 STM8-无线串口 - IO-RX6[OK]\stm8s103 pj\FWlib\inc\stm8s_clk.h
文件 4625 2011-02-25 17:22 STM8-无线串口 - IO-RX6[OK]\stm8s103 pj\FWlib\inc\stm8s_exti.h
文件 13614 2011-02-25 17:22 STM8-无线串口 - IO-RX6[OK]\stm8s103 pj\FWlib\inc\stm8s_flash.h
文件 6270 2011-02-25 17:22 STM8-无线串口 - IO-RX6[OK]\stm8s103 pj\FWlib\inc\stm8s_gpio.h
文件 27706 2011-02-25 17:22 STM8-无线串口 - IO-RX6[OK]\stm8s103 pj\FWlib\inc\stm8s_i2c.h
文件 6679 2011-02-25 17:22 STM8-无线串口 - IO-RX6[OK]\stm8s103 pj\FWlib\inc\stm8s_itc.h
文件 4307 2011-02-25 17:22 STM8-无线串口 - IO-RX6[OK]\stm8s103 pj\FWlib\inc\stm8s_iwdg.h
文件 2834 2011-02-25 17:22 STM8-无线串口 - IO-RX6[OK]\stm8s103 pj\FWlib\inc\stm8s_rst.h
文件 13062 2011-02-25 17:22 STM8-无线串口 - IO-RX6[OK]\stm8s103 pj\FWlib\inc\stm8s_spi.h
文件 26735 2011-02-25 17:22 STM8-无线串口 - IO-RX6[OK]\stm8s103 pj\FWlib\inc\stm8s_tim1.h
文件 14088 2011-02-25 17:22 STM8-无线串口 - IO-RX6[OK]\stm8s103 pj\FWlib\inc\stm8s_tim2.h
文件 12917 2011-02-25 17:22 STM8-无线串口 - IO-RX6[OK]\stm8s103 pj\FWlib\inc\stm8s_tim3.h
文件 5299 2011-02-25 17:22 STM8-无线串口 - IO-RX6[OK]\stm8s103 pj\FWlib\inc\stm8s_tim4.h
文件 19890 2011-02-25 17:22 STM8-无线串口 - IO-RX6[OK]\stm8s103 pj\FWlib\inc\stm8s_tim5.h
文件 9524 2011-02-25 17:22 STM8-无线串口 - IO-RX6[OK]\stm8s103 pj\FWlib\inc\stm8s_tim6.h
文件 16529 2011-02-25 17:22 STM8-无线串口 - IO-RX6[OK]\stm8s103 pj\FWlib\inc\stm8s_uart1.h
文件 19058 2011-02-25 17:22 STM8-无线串口 - IO-RX6[OK]\stm8s103 pj\FWlib\inc\stm8s_uart2.h
文件 15311 2011-02-25 17:22 STM8-无线串口 - IO-RX6[OK]\stm8s103 pj\FWlib\inc\stm8s_uart3.h
文件 2478 2011-02-25 17:22 STM8-无线串口 - IO-RX6[OK]\stm8s103 pj\FWlib\inc\stm8s_wwdg.h
文件 23519 2011-02-25 17:22 STM8-无线串口 - IO-RX6[OK]\stm8s103 pj\FWlib\src\stm8s_adc1.c
文件 13702 2011-02-25 17:22 STM8-无线串口 - IO-RX6[OK]\stm8s103 pj\FWlib\src\stm8s_adc2.c
文件 6354 2011-02-25 17:22 STM8-无线串口 - IO-RX6[OK]\stm8s103 pj\FWlib\src\stm8s_awu.c
文件 4820 2011-02-25 17:22 STM8-无线串口 - IO-RX6[OK]\stm8s103 pj\FWlib\src\stm8s_beep.c
文件 49522 2011-03-03 18:05 STM8-无线串口 - IO-RX6[OK]\stm8s103 pj\FWlib\src\stm8s_can.c
............此处省略132个文件信息
相关资源
- STM8+NRF24l01+发送程序
- NRF24L01 51单片机温度监控程序带上位机
- NRF24L01 中文数据手册及
- stm32f103+nrf24l01 收发程序按键选择模式
- nrf24l01 verilog发送程序
- NRF24L01+串口上位机
- 基于stm8s103f3p6的NRF24L01收发模块资料电
- Ginkgo_USB-SPI_nRF24L01_Setup_v1.0.0.rar
- STM32 NRF24L01程序资料
- MPU6050 DMP+ADXL345+NRF24L01+HAL库+STM32F103C
- STM32F103VE_NRF24L01_GPIO模拟SPI通讯程序
- NRF24L01板载PCB天线设计
- STM32F103C8T6 2.4G nrf24l01无线模块通信代
- 基于MSP430单片机的无线温度控制系统
- 基于STM32的遥控小车程序NRF24l01
- 103C8_控制板-NRF24L01转串口转USB
- NRF24L01无线模块原理图、PCB图
- STM32F103C8T6 NRF24L01 无线收发程序
- 基于STM32和NRF24L01的无线温度监控系统
- STM32程序使用VS1053和2401做对讲机
- stm32f103操作NRF24L01发送和接受数据
- 基于nrf24l01的无线温度采集传输
- NRF24L01 无线模块 串口转USBLabview上位机
- STM32F103_SPI驱动nRF24L01
- 基于STM32F103C8T6的NRF24L01无线通讯模块
- nRF24L01 + PA 总成资料
- 基于nRF24L01一对多的无线通信
- NRF24L01(2.4G射频)可用例程
- 基于C51的无线温控系统
- 基于MSP430G2553和NRF24L01的DS1302时钟程序
评论
共有 条评论