资源简介
使用stm8l的硬件iic做主机,调试通过。可以配合我上发的硬件iic从机一起使用
代码片段和文件信息
/**
******************************************************************************
* @file stm8l15x_adc.c
* @author MCD Application Team
* @version V1.6.1
* @date 30-September-2014
* @brief This file provides firmware functions to manage the following
* functionalities of the Analog to Digital Convertor (ADC) peripheral:
* - Initialization and Configuration
* - Power saving
* - Analog Watchdog configuration
* - Temperature Sensor & Vrefint (Voltage Reference internal) management
* - Regular Channels Configuration
* - Regular Channels DMA Configuration
* - Injected channels Configuration
* - Interrupts and flags management
*
* @verbatim
*
* ===================================================================
* How to use this driver
* ===================================================================
* 1. Enable The ADC controller clock using CLK_PeripheralClockConfig()
* function : CLK_PeripheralClockConfig(CLK_Peripheral_ADC1 ENABLE).
*
* 2. Configure the ADC Prescaler conversion resolution and data
* alignment using the ADC_Init() function.
*
* 3. Activate the ADC peripheral using ADC_Cmd() function.
*
* Regular channels group configuration
* ====================================
* - To configure the ADC regular channels group features use
* ADC_Init() and ADC_RegularChannelConfig() functions.
* - To activate the continuous mode use the ADC_continuousModeCmd()
* function.
* - To configure and activate the Discontinuous mode use the
* ADC_DiscModeChannelCountConfig() and ADC_DiscModeCmd() functions.
* - To read the ADC converted values use the ADC_GetConversionValue()
* function.
*
* DMA for Regular channels group features configuration
* ======================================================
* - To enable the DMA mode for regular channels group use the
* ADC_DMACmd() function.
* - To enable the generation of DMA requests continuously at the end
* of the last DMA transfer use the ADC_DMARequestAfterLastTransferCmd()
* function.
* Injected channels group configuration
* =====================================
* - To configure the ADC Injected channels group features use
* ADC_InjectedChannelConfig() and ADC_InjectedSequencerLengthConfig()
* functions.
* - To activate the continuous mode use the A
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2016-03-15 09:22 ProgStm8\
目录 0 2016-03-15 09:23 ProgStm8\Libraries\
目录 0 2016-03-15 09:23 ProgStm8\Libraries\inc\
文件 134533 2016-03-15 09:23 ProgStm8\Libraries\inc\stm8l15x.h
文件 17052 2016-03-15 09:23 ProgStm8\Libraries\inc\stm8l15x_adc.h
文件 5200 2016-03-15 09:23 ProgStm8\Libraries\inc\stm8l15x_aes.h
文件 3698 2016-03-15 09:23 ProgStm8\Libraries\inc\stm8l15x_beep.h
文件 19547 2016-03-15 09:23 ProgStm8\Libraries\inc\stm8l15x_clk.h
文件 10104 2016-03-15 09:23 ProgStm8\Libraries\inc\stm8l15x_comp.h
文件 10290 2016-03-15 09:23 ProgStm8\Libraries\inc\stm8l15x_dac.h
文件 13383 2016-03-15 09:23 ProgStm8\Libraries\inc\stm8l15x_dma.h
文件 9931 2016-03-15 09:23 ProgStm8\Libraries\inc\stm8l15x_exti.h
文件 14659 2016-03-15 09:23 ProgStm8\Libraries\inc\stm8l15x_flash.h
文件 6652 2016-03-15 09:23 ProgStm8\Libraries\inc\stm8l15x_gpio.h
文件 35578 2016-03-15 09:23 ProgStm8\Libraries\inc\stm8l15x_i2c.h
文件 2408 2016-03-15 09:23 ProgStm8\Libraries\inc\stm8l15x_irtim.h
文件 14238 2016-03-15 09:23 ProgStm8\Libraries\inc\stm8l15x_itc.h
文件 4773 2016-03-15 09:23 ProgStm8\Libraries\inc\stm8l15x_iwdg.h
文件 22787 2016-03-15 09:23 ProgStm8\Libraries\inc\stm8l15x_lcd.h
文件 4625 2016-03-15 09:23 ProgStm8\Libraries\inc\stm8l15x_pwr.h
文件 3242 2016-03-15 09:23 ProgStm8\Libraries\inc\stm8l15x_rst.h
文件 37913 2016-03-15 09:23 ProgStm8\Libraries\inc\stm8l15x_rtc.h
文件 14615 2016-03-15 09:23 ProgStm8\Libraries\inc\stm8l15x_spi.h
文件 21160 2016-03-15 09:23 ProgStm8\Libraries\inc\stm8l15x_syscfg.h
文件 37532 2016-03-15 09:23 ProgStm8\Libraries\inc\stm8l15x_tim1.h
文件 29284 2016-03-15 09:23 ProgStm8\Libraries\inc\stm8l15x_tim2.h
文件 29162 2016-03-15 09:23 ProgStm8\Libraries\inc\stm8l15x_tim3.h
文件 11839 2016-03-15 09:23 ProgStm8\Libraries\inc\stm8l15x_tim4.h
文件 28561 2016-03-15 09:23 ProgStm8\Libraries\inc\stm8l15x_tim5.h
文件 13320 2016-03-15 09:23 ProgStm8\Libraries\inc\stm8l15x_usart.h
文件 7927 2016-03-15 09:23 ProgStm8\Libraries\inc\stm8l15x_wfe.h
............此处省略173个文件信息
- 上一篇:PIC18F45K80中文手册(带书签)
- 下一篇:中华取名王2012完美破解版
相关资源
- DTH11温湿度显示在IIC_OLED上,好用,自
- rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COE
- Bert-Chinese-Text-Classification-Pytorch-maste
- jeecg-boot-master.zip
- STM32 IIC驱动DRV10983
- STM32--IIC通信两个JY-901模块
- MindMaster-破解补丁.exe
- WiiCCD Master 3.51 + Wbfs Master 2.15
- Master Control Panel
- rocketmq-externals-master.zip
- DIY_Face_recognition_system-master.zip
- 使用remastersys自制Ubuntu镜像
- Mastering Perl for Bioinformatics.pdf
- 基于FPGA的pcf8591的AD采样程序verilog
- TencentLocationDemo-master
- quicktime-sdk-7.3-for-windows-master
- eclipse和studio双版本:SwipeMenuListView-
- robomaster底盘驱动程序f427)
- Mastering Kubernetes 2nd edition.pdf
- LochMaster30绿色汉化版
- STM8L 内部温度ADC检测
- WiiCCD_Master_3.51_+_Wbfs_Master_2.16.rar
- remastersys_3.0.4-2_all.deb
- 关于七针0.96寸OLED使用IIC接口的说明
- caffe-master官方
- thinkgem-jeesite4-master.zip
- Mastering OpenCV with Practical Computer Visio
- Data Analytics for Beginners: Basic Guide to M
- openmv-boards-master(1).zip
- remastersys_3.0.4-2_all.deb和remastersys-gui_
评论
共有 条评论