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

  • 大小: 1.3MB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2023-08-26
  • 語言: 其他
  • 標(biāo)簽: STM32??

資源簡介

在stm32f4 的板子上實現(xiàn)的一個小時候玩的游戲,五個按鍵控制,一個選中按鍵,4個方向控制。開機(jī)可以選擇使用角色,算法比較簡單。

資源截圖

代碼片段和文件信息

/**
??******************************************************************************
??*?@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??2013-12-08?22:22??led-f4x-game\
?????目錄???????????0??2013-11-30?14:48??led-f4x-game\MDK\
?????文件??????198921??2013-08-20?20:12??led-f4x-game\MDK\Proj.htm
?????文件?????????696??2013-08-20?20:12??led-f4x-game\MDK\Proj.lnp
?????文件??????186628??2013-08-20?20:12??led-f4x-game\MDK\Proj.map
?????文件???????41921??2013-08-20?20:39??led-f4x-game\MDK\Proj.plg
?????文件?????????479??2013-08-20?18:55??led-f4x-game\MDK\Proj.sct
?????文件????????2714??2013-08-20?20:12??led-f4x-game\MDK\Proj.tra
?????文件???????77723??2013-09-03?10:13??led-f4x-game\MDK\Proj.uvgui.cuiwensi
?????文件???????77725??2013-09-02?16:16??led-f4x-game\MDK\Proj.uvgui_cuiwensi.bak
?????文件???????22775??2013-09-03?10:13??led-f4x-game\MDK\Proj.uvopt
?????文件???????21022??2013-09-02?10:49??led-f4x-game\MDK\Proj.uvproj
?????文件???????25059??2013-08-20?19:17??led-f4x-game\MDK\Proj_uvopt.bak
?????文件???????22882??2013-08-20?19:17??led-f4x-game\MDK\Proj_uvproj.bak
?????文件???????????0??2013-08-20?18:46??led-f4x-game\MDK\startup_stm32f40xx.lst
?????文件???????77768??2013-08-20?20:05??led-f4x-game\MDK\startup_stm32f4xx.lst
?????文件??????????62??2013-09-02?12:17??led-f4x-game\MDK\刪除.bat
?????目錄???????????0??2013-11-30?14:48??led-f4x-game\STM32F4-Discovery\
?????文件??????129125??2011-10-28?10:31??led-f4x-game\STM32F4-Discovery\MCD-ST?Image?SW?License?Agreement?19Jul2011?v0.1.pdf
?????文件???????13081??2011-10-28?10:31??led-f4x-game\STM32F4-Discovery\Release_Notes.html
?????文件????????6956??2011-10-28?10:31??led-f4x-game\STM32F4-Discovery\libPDMFilter_GCC.a
?????文件????????8880??2011-10-28?10:31??led-f4x-game\STM32F4-Discovery\libPDMFilter_IAR.a
?????文件????????6476??2011-10-28?10:31??led-f4x-game\STM32F4-Discovery\libPDMFilter_Keil.lib
?????文件????????2864??2011-10-28?10:31??led-f4x-game\STM32F4-Discovery\pdm_filter.h
?????文件????????7323??2013-08-14?17:22??led-f4x-game\STM32F4-Discovery\stm32f4_discovery.c
?????文件????????4233??2013-08-01?18:00??led-f4x-game\STM32F4-Discovery\stm32f4_discovery.h
?????文件???????61290??2011-10-28?10:31??led-f4x-game\STM32F4-Discovery\stm32f4_discovery_audio_codec.c
?????文件???????12874??2011-10-28?10:31??led-f4x-game\STM32F4-Discovery\stm32f4_discovery_audio_codec.h
?????文件???????16096??2013-08-03?09:30??led-f4x-game\STM32F4-Discovery\stm32f4_discovery_lis302dl.c
?????文件???????32363??2013-08-01?19:30??led-f4x-game\STM32F4-Discovery\stm32f4_discovery_lis302dl.h
?????目錄???????????0??2013-11-30?14:48??led-f4x-game\Third_Party\
............此處省略189個文件信息

評論

共有 條評論