资源简介
基于stm32f4discover 的板子扩展板,采用OV9655摄像头,在摄像头近距离人眼睛并且光良好的条件下,能够识别人眨眼。
代码片段和文件信息
/**
******************************************************************************
* @file stm32f4xx_adc.c
* @author MCD Application Team
* @version V1.1.0
* @date 11-January-2013
* @brief This file provides firmware functions to manage the following
* functionalities of the Analog to Digital Convertor (ADC) peripheral:
* + Initialization and Configuration (in addition to ADC multi mode
* selection)
* + Analog Watchdog configuration
* + Temperature Sensor & Vrefint (Voltage Reference internal) & VBAT
* management
* + Regular Channels Configuration
* + Regular Channels DMA Configuration
* + Injected channels Configuration
* + Interrupts and flags management
*
@verbatim
===============================================================================
##### How to use this driver #####
===============================================================================
[..]
(#) Enable the ADC interface clock using
RCC_APB2PeriphClockCmd(RCC_APB2Periph_ADCx ENABLE);
(#) ADC pins configuration
(++) Enable the clock for the ADC GPIOs using the following function:
RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOx ENABLE);
(++) Configure these ADC pins in analog mode using GPIO_Init();
(#) Configure the ADC Prescaler conversion resolution and data
alignment using the ADC_Init() function.
(#) 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 configurate and activate the Discontinuous mode use the
ADC_DiscModeChannelCountConfig() and ADC_DiscModeCmd() functions.
(+) To read the ADC converted values use the ADC_GetConversionValue()
function.
*** Multi mode ADCs Regular channels configuration ***
======================================================
[..]
(+) Refer to “Regular channels group configuration“ description to
configure the ADC1 ADC2 and ADC3 regular channels.
(+) Select the Multi mode ADC regular channels features (dual or
triple mode) using ADC_CommonInit() function and configure
the DMA mode using ADC_MultiModeDMARequestAfterLastTransferCmd()
functions.
(+) Read the ADCs converted values using the
ADC_GetMultiModeConversionValue() function.
*** DMA for Regular channels group features configuration ***
===========
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2014-03-04 18:31 cam_gui\
目录 0 2014-03-03 16:56 cam_gui\DSP\
文件 874 2012-03-24 11:47 cam_gui\DSP\DSP.lnk
文件 9654196 2011-07-26 10:34 cam_gui\DSP\arm_cortexM4lf_math.lib
文件 240326 2011-10-03 19:48 cam_gui\DSP\arm_math.h
目录 0 2014-03-03 16:57 cam_gui\STM32F4-Discovery\
文件 129125 2011-10-28 10:31 cam_gui\STM32F4-Discovery\MCD-ST Image SW License Agreement 19Jul2011 v0.1.pdf
文件 13081 2011-10-28 10:31 cam_gui\STM32F4-Discovery\Release_Notes.html
文件 6956 2011-10-28 10:31 cam_gui\STM32F4-Discovery\libPDMFilter_GCC.a
文件 8880 2011-10-28 10:31 cam_gui\STM32F4-Discovery\libPDMFilter_IAR.a
文件 6476 2011-10-28 10:31 cam_gui\STM32F4-Discovery\libPDMFilter_Keil.lib
文件 2864 2011-10-28 10:31 cam_gui\STM32F4-Discovery\pdm_filter.h
文件 7323 2013-08-14 17:22 cam_gui\STM32F4-Discovery\stm32f4_discovery.c
文件 4233 2014-01-19 12:04 cam_gui\STM32F4-Discovery\stm32f4_discovery.h
文件 61290 2011-10-28 10:31 cam_gui\STM32F4-Discovery\stm32f4_discovery_audio_codec.c
文件 12874 2011-10-28 10:31 cam_gui\STM32F4-Discovery\stm32f4_discovery_audio_codec.h
文件 16096 2013-08-03 09:30 cam_gui\STM32F4-Discovery\stm32f4_discovery_lis302dl.c
文件 32363 2013-08-01 19:30 cam_gui\STM32F4-Discovery\stm32f4_discovery_lis302dl.h
目录 0 2014-03-03 16:57 cam_gui\Third_Party\
目录 0 2014-03-03 16:57 cam_gui\Third_Party\fat_fs\
目录 0 2014-03-03 16:57 cam_gui\Third_Party\fat_fs\inc\
文件 1869 2011-10-28 10:31 cam_gui\Third_Party\fat_fs\inc\diskio.h
文件 83 2011-10-28 10:31 cam_gui\Third_Party\fat_fs\inc\fattime.h
文件 29899 2011-10-28 10:31 cam_gui\Third_Party\fat_fs\inc\ff.h
文件 6339 2011-10-28 10:31 cam_gui\Third_Party\fat_fs\inc\ffconf.h
文件 968 2011-10-28 10:31 cam_gui\Third_Party\fat_fs\inc\integer.h
文件 5239 2011-10-28 10:31 cam_gui\Third_Party\fat_fs\readme.txt
目录 0 2014-03-03 16:57 cam_gui\Third_Party\fat_fs\src\
文件 4124 2011-10-28 10:32 cam_gui\Third_Party\fat_fs\src\diskio.c
文件 123 2011-10-28 10:32 cam_gui\Third_Party\fat_fs\src\fattime.c
文件 100254 2011-10-28 10:32 cam_gui\Third_Party\fat_fs\src\ff.c
............此处省略968个文件信息
- 上一篇:mschart 经典
- 下一篇:图标素材 软件开发界面图标
相关资源
- stm32f407+mbed+lwip+lan8720 例程
- STM32F4-SIM900A模块GPRS功能使用精简例程
- STM32F407示波器 正点原子探索者STM32F
- STM32F4系列芯片中文学习资料
- STM32F407VGT6 最小系统原理图及PCB layo
- STM32F407ZET6开发版原理图
- stm32f407 利用DAC产生sin波形通过DMA
- stm32f407ADC高速采样并进行CFFT变换
- STM32F407最小系统资料_包括原理图和
- STM32F407开发板示波器程序
- STM32F413原理图
- SMT32F4函数固件库手册——新库
- STM32F4系列 不同定时器的PWM输出多达
- (STM32F407)C610电调+M2006电机.rar
- 基于STM32F407的超声波智能跟随小车
- STM32F407定高超声波避障激光雷达.rar
- 基于STM32F407的OPENMV设计资料
- STM32F4串口二配置
- STM32F407读取MPU9250原始数据
- OLED-STM32F4-IIC
- HX711-stm32f407
- stm32f4 ad波形采集用da接示波器
- 正点原子STM32F407 BMP180测试程序
- 通过STM32F407对BH1750光照度传感器采集
- 基于STM32的电子秤-HX711模块-OLED显示
- STM32F407VE实现软件IIC读取mpu6050数据
- stm32f407官方评估板,包含原理图和P
- stm32f407舵机控制程序
- STM32F蓝牙超声波避障小车
- OLED stm32f4程序
评论
共有 条评论