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

  • 大小: 15.45MB
    文件類型: .zip
    金幣: 1
    下載: 0 次
    發布日期: 2023-07-14
  • 語言: 其他
  • 標簽: U盤??IAP??STM32??升級??

資源簡介

此例程實現通過U盤升級STM32的程序(IAP),所有USB芯片為CH376,內附參考電路圖及源程序。歡迎下載。

資源截圖

代碼片段和文件信息

/*----------------------------------------------------------------------------
?*?Name:????GLCD.c
?*?Purpose:?MCBSTM32C?low?level?Graphic?LCD?(320x240?pixels)?functions
?*?Version:?V1.00
?*?Note(s):
?*----------------------------------------------------------------------------
?*?This?file?is?part?of?the?uVision/ARM?development?tools.
?*?This?software?may?only?be?used?under?the?terms?of?a?valid?current
?*?end?user?licence?from?KEIL?for?a?compatible?version?of?KEIL?software
?*?development?tools.?Nothing?else?gives?you?the?right?to?use?this?software.
?*
?*?This?software?is?supplied?“AS?IS“?without?warranties?of?any?kind.
?*
?*?Copyright?(c)?2009?Keil?-?An?ARM?Company.?All?rights?reserved.
?*----------------------------------------------------------------------------
?*?History:
?*??????????V1.00?Initial?Version
?*----------------------------------------------------------------------------*/

#pragma?diag_suppress=550

#include?“stm32f10x.h“
#include?“GLCD.h“
#include?“font.h“

/*?SPI_SR?-?bit?definitions.?*/
#define?RXNE????0x01
#define?TXE?????0x02
#define?BSY?????0x80


/***********************?Hardware?specific?configuration?**********************/

/*-------------------------?Speed?dependant?settings?-------------------------*/

/*?If?processor?works?on?high?frequency?delay?has?to?be?increased?it?can?be?
???increased?by?factor?2^N?by?this?constant???????????????????????????????????*/
#define?DELAY_2N????18

/*----------------------?Graphic?LCD?size?definitions?------------------------*/

#define?WIDTH???????320?????????????????/*?Screen?Width?(in?pixels)???????????*/
#define?HEIGHT??????240?????????????????/*?Screen?Hight?(in?pixels)???????????*/
#define?BPP?????????16??????????????????/*?Bits?per?pixel?????????????????????*/
#define?BYPP????????((BPP+7)/8)?????????/*?Bytes?per?pixel????????????????????*/

/*---------------?Graphic?LCD?interface?hardware?definitions?-----------------*/

#define?SPI_START???(0x70)??????????????/*?Start?byte?for?SPI?transfer????????*/
#define?SPI_RD??????(0x01)??????????????/*?WR?bit?1?within?start??????????????*/
#define?SPI_WR??????(0x00)??????????????/*?WR?bit?0?within?start??????????????*/
#define?SPI_DATA????(0x02)??????????????/*?RS?bit?1?within?start?byte?????????*/
#define?SPI_INDEX???(0x00)??????????????/*?RS?bit?0?within?start?byte?????????*/
?
/*----------------------------?Global?variables?------------------------------*/

/******************************************************************************/
static?volatile?unsigned?short?TextColor?=?Black?BackColor?=?White;


/************************?Local?auxiliary?functions?***************************/

/*******************************************************************************
*?Delay?in?while?loop?cycles???????????????????????????????????????????????????*
*???Parameter:????cnt:????number?of?while?cycles?to?delay??????????????????????*
*???Return:?????????????????????????????????????

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2015-11-02?23:42??U盤更新STM32程序\
?????目錄???????????0??2015-11-02?23:34??U盤更新STM32程序\APP\
?????文件?????????167??2009-12-19?10:22??U盤更新STM32程序\APP\CH376.plg
?????文件??????????21??2009-12-19?15:17??U盤更新STM32程序\APP\CH376.txt
?????文件??????141398??2015-11-02?23:34??U盤更新STM32程序\APP\CH376.uvgui.suojinyu
?????文件???????23815??2015-10-30?16:57??U盤更新STM32程序\APP\CH376.uvopt
?????文件???????22109??2015-10-30?17:47??U盤更新STM32程序\APP\CH376.uvproj
?????文件??????594533??2009-12-11?16:28??U盤更新STM32程序\APP\CH376EVT.ZIP
?????文件???????65323??2009-12-19?15:36??U盤更新STM32程序\APP\CH376_CH376.dep
?????文件????????5233??2009-12-19?15:26??U盤更新STM32程序\APP\CH376_Opt.Bak
?????文件??????????72??2009-12-19?10:22??U盤更新STM32程序\APP\CH376_Target?1.dep
?????文件????????5015??2009-12-19?12:01??U盤更新STM32程序\APP\CH376_Uv2.Bak
?????文件????????4079??2015-11-02?23:34??U盤更新STM32程序\APP\JlinkLog.txt
?????文件?????????671??2015-10-30?10:27??U盤更新STM32程序\APP\JlinkSettings.ini
?????目錄???????????0??2015-10-30?15:38??U盤更新STM32程序\APP\Lis\
?????目錄???????????0??2015-11-02?23:30??U盤更新STM32程序\APP\List\
?????文件???????85056??2015-11-02?23:31??U盤更新STM32程序\APP\List\CH376.map
?????文件???????59654??2015-10-30?15:25??U盤更新STM32程序\APP\List\startup_stm32f10x_hd.lst
?????目錄???????????0??2015-11-02?23:31??U盤更新STM32程序\APP\Obj\
?????文件??????571192??2015-11-02?23:31??U盤更新STM32程序\APP\Obj\CH376.axf
?????文件???????11776??2015-11-02?23:31??U盤更新STM32程序\APP\Obj\CH376.bin
?????文件????????1859??2015-11-02?23:31??U盤更新STM32程序\APP\Obj\CH376.build_log.htm
?????文件??????329492??2015-10-30?15:25??U盤更新STM32程序\APP\Obj\ch376.crf
?????文件????????1939??2015-10-30?15:25??U盤更新STM32程序\APP\Obj\ch376.d
?????文件???????12093??2015-11-02?11:30??U盤更新STM32程序\APP\Obj\CH376.dfu
?????文件???????33171??2015-11-02?23:31??U盤更新STM32程序\APP\Obj\CH376.hex
?????文件???????93541??2015-11-02?23:31??U盤更新STM32程序\APP\Obj\CH376.htm
?????文件?????????988??2015-11-02?23:31??U盤更新STM32程序\APP\Obj\CH376.lnp
?????文件??????353724??2015-10-30?15:25??U盤更新STM32程序\APP\Obj\ch376.o
?????文件?????????479??2015-10-31?12:17??U盤更新STM32程序\APP\Obj\CH376.sct
?????文件???????68347??2015-11-02?23:31??U盤更新STM32程序\APP\Obj\CH376_CH376.dep
............此處省略526個文件信息

評論

共有 條評論