-
大小: 5.43MB文件類型: .rar金幣: 2下載: 0 次發(fā)布日期: 2023-11-17
- 語言: 其他
- 標(biāo)簽: 工程模板??STM32F303x??
資源簡介
STM32F303x固件庫工程模板,標(biāo)準(zhǔn)通用,已配置好UART。

代碼片段和文件信息
/**
??******************************************************************************
??*?@file????stm32f30x_adc.c
??*?@author??MCD?Application?Team
??*?@version?V1.0.0
??*?@date????04-September-2012
??*?@brief???This?file?provides?firmware?functions?to?manage?the?following?
??*??????????functionalities?of?the?Analog?to?Digital?Convertor?(ADC)?peripheral:
??*???????????+?Initialization?and?Configuration
??*???????????+?Analog?Watchdog?configuration
??*???????????+?Temperature?Sensor?Vbat?&?Vrefint?(Internal?Reference?Voltage)?management?
??*???????????+?Regular?Channels?Configuration
??*???????????+?Regular?Channels?DMA?Configuration
??*???????????+?Injected?channels?Configuration
??*???????????+?Interrupts?and?flags?management
??*???????????+?Dual?mode?configuration??
??*?????????
??@verbatim
??==============================================================================
?????????????????????????????#####?How?to?use?this?driver?#####
??==============================================================================
????[..]
????(#)?select?the?ADC?clock?using?the?function?RCC_ADCCLKConfig()
????(#)?Enable?the?ADC?interface?clock?using?RCC_AHBPeriphClockCmd();
????(#)?ADC?pins?configuration
????????(++)?Enable?the?clock?for?the?ADC?GPIOs?using?the?following?function:
?????????????RCC_AHBPeriphClockCmd(RCC_AHBPeriph_GPIOx?ENABLE);
????????(++)?Configure?these?ADC?pins?in?analog?mode?using?GPIO_Init();
????(#)?Configure?the?ADC?conversion?resolution?data?alignment?external
????????trigger?and?edge?sequencer?lenght?and?Enable/Disable?the?continuous?mode
????????using?the?ADC_Init()?function.
????(#)?Activate?the?ADC?peripheral?using?ADC_Cmd()?function.
????***?ADC?channels?group?configuration?***
????========================================????
????[..]?
????(+)?To?configure?the?ADC?channels?features?use?ADC_Init()?ADC_InjectedInit()
????????and?ADC_RegularChannelConfig()?functions?or/and?ADC_InjectedChannelConfig()
????(+)?To?activate?the?continuous?mode?use?the?ADC_ContinuousModeCmd()
????????function.
????(+)?To?activate?the?Discontinuous?mode?use?the?ADC_DiscModeCmd()?functions.?
????(+)?To?activate?the?overrun?mode?use?the?ADC_OverrunModeCmd()?functions.
????(+)?To?activate?the?calibration?mode?use?the?ADC_StartCalibration()?functions.
????(+)?To?read?the?ADC?converted?values?use?the?ADC_GetConversionValue()
????????function.
????***?DMA?for?ADC?channels?features?configuration?***
????===================================================?????
????[..]?
????(+)?To?enable?the?DMA?mode?for?ADC?channels?group?use?the?ADC_DMACmd()?function.
????(+)?To?configure?the?DMA?transfer?request?use?ADC_DMAConfig()?function.
??@endverbatim
??*
??******************************************************************************
??*?@attention
??*
??*?©?COPYRIGHT?2012?STMicroelectronics
??*
??*?Licensed?under?MCD-ST?Liberty?SW?License?Agreement?V2?(the?“License“);
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????1121??2012-09-26?22:59??STM32_F303_B\STM32_F303_B\Libraries\CMSIS\arm_common_tables.h
?????文件?????240315??2012-09-26?22:59??STM32_F303_B\STM32_F303_B\Libraries\CMSIS\arm_math.h
?????文件??????31966??2012-09-26?22:59??STM32_F303_B\STM32_F303_B\Libraries\CMSIS\core_cm0.h
?????文件??????93501??2012-09-26?22:59??STM32_F303_B\STM32_F303_B\Libraries\CMSIS\core_cm3.h
?????文件?????102700??2012-09-26?22:59??STM32_F303_B\STM32_F303_B\Libraries\CMSIS\core_cm4.h
?????文件??????21435??2012-09-26?22:59??STM32_F303_B\STM32_F303_B\Libraries\CMSIS\core_cm4_simd.h
?????文件??????15845??2012-09-26?22:59??STM32_F303_B\STM32_F303_B\Libraries\CMSIS\core_cmFunc.h
?????文件??????17208??2012-09-26?22:59??STM32_F303_B\STM32_F303_B\Libraries\CMSIS\core_cmInstr.h
?????文件??????39156??2012-09-26?22:59??STM32_F303_B\STM32_F303_B\Libraries\CMSIS\core_sc000.h
?????文件??????91880??2012-09-26?22:59??STM32_F303_B\STM32_F303_B\Libraries\CMSIS\core_sc300.h
?????文件??????26340??2012-09-26?22:58??STM32_F303_B\STM32_F303_B\Libraries\CMSIS\startup_stm32f30x.s
?????文件?????487623??2012-09-26?22:58??STM32_F303_B\STM32_F303_B\Libraries\CMSIS\stm32f30x.h
?????文件???????2226??2012-09-26?22:58??STM32_F303_B\STM32_F303_B\Libraries\CMSIS\system_stm32f30x.h
?????文件??????45118??2012-09-26?23:00??STM32_F303_B\STM32_F303_B\Libraries\STM32F30x_StdPeriph_Driver\inc\stm32f30x_adc.h
?????文件??????27261??2012-09-26?23:00??STM32_F303_B\STM32_F303_B\Libraries\STM32F30x_StdPeriph_Driver\inc\stm32f30x_can.h
?????文件??????21996??2012-09-26?23:00??STM32_F303_B\STM32_F303_B\Libraries\STM32F30x_StdPeriph_Driver\inc\stm32f30x_comp.h
?????文件???????4753??2012-09-26?23:00??STM32_F303_B\STM32_F303_B\Libraries\STM32F30x_StdPeriph_Driver\inc\stm32f30x_crc.h
?????文件??????15227??2012-09-26?23:00??STM32_F303_B\STM32_F303_B\Libraries\STM32F30x_StdPeriph_Driver\inc\stm32f30x_dac.h
?????文件???????4130??2012-09-26?23:00??STM32_F303_B\STM32_F303_B\Libraries\STM32F30x_StdPeriph_Driver\inc\stm32f30x_dbgmcu.h
?????文件??????21197??2012-09-26?23:00??STM32_F303_B\STM32_F303_B\Libraries\STM32F30x_StdPeriph_Driver\inc\stm32f30x_dma.h
?????文件??????12086??2012-09-26?23:00??STM32_F303_B\STM32_F303_B\Libraries\STM32F30x_StdPeriph_Driver\inc\stm32f30x_exti.h
?????文件??????12620??2012-09-26?23:00??STM32_F303_B\STM32_F303_B\Libraries\STM32F30x_StdPeriph_Driver\inc\stm32f30x_flash.h
?????文件??????14220??2012-09-26?23:00??STM32_F303_B\STM32_F303_B\Libraries\STM32F30x_StdPeriph_Driver\inc\stm32f30x_gpio.h
?????文件??????18071??2012-09-26?23:00??STM32_F303_B\STM32_F303_B\Libraries\STM32F30x_StdPeriph_Driver\inc\stm32f30x_i2c.h
?????文件???????4701??2012-09-26?23:00??STM32_F303_B\STM32_F303_B\Libraries\STM32F30x_StdPeriph_Driver\inc\stm32f30x_iwdg.h
?????文件???????9389??2012-09-26?23:00??STM32_F303_B\STM32_F303_B\Libraries\STM32F30x_StdPeriph_Driver\inc\stm32f30x_misc.h
?????文件??????10982??2012-09-26?23:00??STM32_F303_B\STM32_F303_B\Libraries\STM32F30x_StdPeriph_Driver\inc\stm32f30x_opamp.h
?????文件???????6038??2012-09-26?23:00??STM32_F303_B\STM32_F303_B\Libraries\STM32F30x_StdPeriph_Driver\inc\stm32f30x_pwr.h
?????文件??????27295??2012-09-26?23:00??STM32_F303_B\STM32_F303_B\Libraries\STM32F30x_StdPeriph_Driver\inc\stm32f30x_rcc.h
?????文件??????39736??2012-09-26?23:00??STM32_F303_B\STM32_F303_B\Libraries\STM32F30x_StdPeriph_Driver\inc\stm32f30x_rtc.h
............此處省略206個文件信息
- 上一篇:2010年省縣級人口數(shù)據(jù)
- 下一篇:STM32F030工程模板
評論
共有 條評論