91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

stm8l內部AD測量溫度工程文件,使用庫函數。本人在stm8l052r8上測試通過

資源截圖

代碼片段和文件信息

/**
??******************************************************************************
??*?@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??2015-12-08?15:43??mytestproject\
?????目錄???????????0??2015-12-09?15:10??mytestproject\Project\
?????目錄???????????0??2015-12-09?09:15??mytestproject\Project\Debug\
?????目錄???????????0??2015-12-10?14:50??mytestproject\Project\Debug\Exe\
?????文件??????101352??2015-12-10?14:50??mytestproject\Project\Debug\Exe\templproj.out
?????目錄???????????0??2015-12-09?09:15??mytestproject\Project\Debug\List\
?????目錄???????????0??2015-12-10?14:50??mytestproject\Project\Debug\Obj\
?????文件????????6091??2015-12-09?09:37??mytestproject\Project\Debug\Obj\delay.o
?????文件??????190561??2015-12-09?09:37??mytestproject\Project\Debug\Obj\delay.pbi
?????文件???????10253??2015-12-09?09:37??mytestproject\Project\Debug\Obj\delay.pbi.cout
?????文件???????11741??2015-12-10?14:50??mytestproject\Project\Debug\Obj\intTempMeasure.o
?????文件????????7426??2015-12-10?14:50??mytestproject\Project\Debug\Obj\main.o
?????文件??????192487??2015-12-09?09:49??mytestproject\Project\Debug\Obj\main.pbi
?????文件???????10255??2015-12-09?09:49??mytestproject\Project\Debug\Obj\main.pbi.cout
?????文件?????1076701??2015-12-09?09:49??mytestproject\Project\Debug\Obj\Project.pbd
?????文件?????1076701??2015-12-09?09:49??mytestproject\Project\Debug\Obj\Project.pbd.browse
?????文件???????44145??2015-12-09?09:37??mytestproject\Project\Debug\Obj\stm8l15x_adc.o
?????文件??????202637??2015-12-09?09:37??mytestproject\Project\Debug\Obj\stm8l15x_adc.pbi
?????文件???????10285??2015-12-09?09:37??mytestproject\Project\Debug\Obj\stm8l15x_adc.pbi.cout
?????文件???????25032??2015-12-09?09:37??mytestproject\Project\Debug\Obj\stm8l15x_aes.o
?????文件??????200264??2015-12-09?09:37??mytestproject\Project\Debug\Obj\stm8l15x_aes.pbi
?????文件???????10285??2015-12-09?09:37??mytestproject\Project\Debug\Obj\stm8l15x_aes.pbi.cout
?????文件???????11479??2015-12-09?09:37??mytestproject\Project\Debug\Obj\stm8l15x_beep.o
?????文件??????193102??2015-12-09?09:37??mytestproject\Project\Debug\Obj\stm8l15x_beep.pbi
?????文件???????10286??2015-12-09?09:37??mytestproject\Project\Debug\Obj\stm8l15x_beep.pbi.cout
?????文件???????52476??2015-12-09?09:37??mytestproject\Project\Debug\Obj\stm8l15x_clk.o
?????文件??????206650??2015-12-09?09:37??mytestproject\Project\Debug\Obj\stm8l15x_clk.pbi
?????文件???????10285??2015-12-09?09:37??mytestproject\Project\Debug\Obj\stm8l15x_clk.pbi.cout
?????文件???????28950??2015-12-09?09:37??mytestproject\Project\Debug\Obj\stm8l15x_comp.o
?????文件??????210309??2015-12-09?09:37??mytestproject\Project\Debug\Obj\stm8l15x_comp.pbi
?????文件???????10286??2015-12-09?09:37??mytestproject\Project\Debug\Obj\stm8l15x_comp.pbi.cout
............此處省略152個文件信息

評論

共有 條評論