資源簡介
使用STM32F10X型號板子,進行ADC多路信號采樣準換實驗。

代碼片段和文件信息
/**
??******************************************************************************
??*?@file????stm32f4_discovery.c
??*?@author??MCD?Application?Team
??*?@version?V1.1.0
??*?@date????28-October-2011
??*?@brief???This?file?provides?set?of?firmware?functions?to?manage?Leds?and
??*??????????push-button?available?on?STM32F4-Discovery?Kit?from?STMicroelectronics.
??******************************************************************************
??*?@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?“stm32f4_discovery.h“
//?for?some?stupid?reason?ST?doesn‘t?include?this?file?even?though?it?is?needed.?uh...
#include?“stm32f4xx_conf.h“
/**?@addtogroup?Utilities
??*?@{
??*/?
/**?@addtogroup?STM32F4_DISCOVERY
??*?@{
??*/???
????
/**?@defgroup?STM32F4_DISCOVERY_LOW_LEVEL?
??*?@brief?This?file?provides?set?of?firmware?functions?to?manage?Leds?and?push-button
??*????????available?on?STM32F4-Discovery?Kit?from?STMicroelectronics.
??*?@{
??*/?
/**?@defgroup?STM32F4_DISCOVERY_LOW_LEVEL_Private_TypesDefinitions
??*?@{
??*/?
/**
??*?@}
??*/?
/**?@defgroup?STM32F4_DISCOVERY_LOW_LEVEL_Private_Defines
??*?@{
??*/?
/**
??*?@}
??*/?
/**?@defgroup?STM32F4_DISCOVERY_LOW_LEVEL_Private_Macros
??*?@{
??*/?
/**
??*?@}
??*/?
/**?@defgroup?STM32F4_DISCOVERY_LOW_LEVEL_Private_Variables
??*?@{
??*/?
GPIO_TypeDef*?GPIO_PORT[LEDn]?=?{LED4_GPIO_PORT?LED3_GPIO_PORT?LED5_GPIO_PORT
?????????????????????????????????LED6_GPIO_PORT};
const?uint16_t?GPIO_PIN[LEDn]?=?{LED4_PIN?LED3_PIN?LED5_PIN
?????????????????????????????????LED6_PIN};
const?uint32_t?GPIO_CLK[LEDn]?=?{LED4_GPIO_CLK?LED3_GPIO_CLK?LED5_GPIO_CLK
?????????????????????????????????LED6_GPIO_CLK};
GPIO_TypeDef*?BUTTON_PORT[BUTTONn]?=?{USER_BUTTON_GPIO_PORT?};?
const?uint16_t?BUTTON_PIN[BUTTONn]?=?{USER_BUTTON_PIN?};?
const?uint32_t?BUTTON_CLK[BUTTONn]?=?{USER_BUTTON_GPIO_CLK?};
const?uint16_t?BUTTON_EXTI_LINE[BUTTONn]?=?{USER_BUTTON_EXTI_LINE?};
const?uint8_t?BUTTON_PORT_SOURCE[BUTTONn]?=?{USER_BUTTON_EXTI_PORT_SOURCE};
?
const?uint8_t?BUTTON_PIN_SOURCE[BUTTONn]?=?{USER_BUTTON_EXTI_PIN_SOURCE?};?
const?uint8_t?BUTTON_IRQn[BUTTONn]?=?{USER_BUTTON_EXTI_IRQn?};
NVIC_InitTypeDef???NVIC_InitStructure;
/**
??*?@}
??*/?
/**?@defgr
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2014-07-10?19:31??ADC3_DMA-master\
?????文件????????4413??2014-07-10?19:31??ADC3_DMA-master\.cproject
?????文件??????????29??2014-07-10?19:31??ADC3_DMA-master\.gitignore
?????文件?????????760??2014-07-10?19:31??ADC3_DMA-master\.project
?????目錄???????????0??2014-07-10?19:31??ADC3_DMA-master\inc\
?????文件????????3807??2014-07-10?19:31??ADC3_DMA-master\inc\stm32f4xx_conf.h
?????文件????????2062??2014-07-10?19:31??ADC3_DMA-master\inc\stm32f4xx_it.h
?????目錄???????????0??2014-07-10?19:31??ADC3_DMA-master\lib\
?????文件????????1115??2014-07-10?19:31??ADC3_DMA-master\lib\Makefile
?????目錄???????????0??2014-07-10?19:31??ADC3_DMA-master\lib\inc\
?????目錄???????????0??2014-07-10?19:31??ADC3_DMA-master\lib\inc\core\
?????文件????????1120??2014-07-10?19:31??ADC3_DMA-master\lib\inc\core\arm_common_tables.h
?????文件??????240326??2014-07-10?19:31??ADC3_DMA-master\lib\inc\core\arm_math.h
?????文件???????31948??2014-07-10?19:31??ADC3_DMA-master\lib\inc\core\core_cm0.h
?????文件???????69722??2014-07-10?19:31??ADC3_DMA-master\lib\inc\core\core_cm3.h
?????文件???????79281??2014-07-10?19:31??ADC3_DMA-master\lib\inc\core\core_cm4.h
?????文件???????23979??2014-07-10?19:31??ADC3_DMA-master\lib\inc\core\core_cm4_simd.h
?????文件???????15691??2014-07-10?19:31??ADC3_DMA-master\lib\inc\core\core_cmFunc.h
?????文件???????16108??2014-07-10?19:31??ADC3_DMA-master\lib\inc\core\core_cmInstr.h
?????文件????????2864??2014-07-10?19:31??ADC3_DMA-master\lib\inc\pdm_filter.h
?????目錄???????????0??2014-07-10?19:31??ADC3_DMA-master\lib\inc\peripherals\
?????文件????????6792??2014-07-10?19:31??ADC3_DMA-master\lib\inc\peripherals\misc.h
?????文件???????32417??2014-07-10?19:31??ADC3_DMA-master\lib\inc\peripherals\stm32f4xx_adc.h
?????文件???????27186??2014-07-10?19:31??ADC3_DMA-master\lib\inc\peripherals\stm32f4xx_can.h
?????文件????????2284??2014-07-10?19:31??ADC3_DMA-master\lib\inc\peripherals\stm32f4xx_crc.h
?????文件???????12528??2014-07-10?19:31??ADC3_DMA-master\lib\inc\peripherals\stm32f4xx_cryp.h
?????文件???????14814??2014-07-10?19:31??ADC3_DMA-master\lib\inc\peripherals\stm32f4xx_dac.h
?????文件????????4164??2014-07-10?19:31??ADC3_DMA-master\lib\inc\peripherals\stm32f4xx_dbgmcu.h
?????文件???????12845??2014-07-10?19:31??ADC3_DMA-master\lib\inc\peripherals\stm32f4xx_dcmi.h
?????文件???????28750??2014-07-10?19:31??ADC3_DMA-master\lib\inc\peripherals\stm32f4xx_dma.h
?????文件????????7880??2014-07-10?19:31??ADC3_DMA-master\lib\inc\peripherals\stm32f4xx_exti.h
............此處省略154個文件信息
評論
共有 條評論