亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? c2312.h

?? flash programer driver
?? H
?? 第 1 頁 / 共 4 頁
字號:
/***************** Header File for STFL-I Flash Memory Driver ******************   Filename:    c2312.h   Description: Header file for c2312.c                Consult also the C file for more details.   Version:     $Id: c2312.h,v 1.0 2006/05/10    Author:     Ze-Yu He, MSAC,STMicroelectronics, Shanghai (China)               Wiley Xu, MSAC,STMicroelectronics, Shanghai (China)               Echo Chen,MSAC,STMicroelectronics, Beijing  (China)   Copyright (c) 2006 STMicroelectronics.   THIS PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,EITHER   EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTY   OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK   AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE   PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,   REPAIR OR CORRECTION.********************************************************************************   Version History.   Ver.   Date        Comments   0.0    2006/02/20  Initial Release of the software (Alpha)   1.0    2006/05/10  Qualified Release of the software   *******************************************************************************//*************** User Change Area *******************************************   This section is meant to give all the opportunities to customize the   SW Drivers according to the requirements of hardware and flash configuration.   It is possible to choose flash start address, CPU Bitdepth, number of flash   chips, hardware configuration and performance data (TimeOut Info).   The options are listed and explained below:   ********* Data Types *********   The source code defines hardware independent datatypes assuming the   compiler implements the numerical types as   unsigned char    8 bits (defined as ubyte)   char             8 bits (defined as byte)     unsigned short  16 bits (defined as uword)   short           16 bits (defined as word)   unsigned int    32 bits (defined as udword)   int             32 bits (defined as dword)    In case the compiler does not support the currently used numerical types,   they can be easily changed just once here in the user area of the headerfile.   The data types are consequently referenced in the source code as (u)byte,   (u)word and (u)dword. No other data types like 'CHAR','SHORT','INT','LONG'   directly used in the code.   ********* Flash Type *********   This driver supports the following Flash Types   M29DW640F     8bit, 64Mbit Dual Bank Flash  #define USE_M29DW640F_8   M29DW640F    16bit, 64Mbit Dual Bank Flash #define USE_M29DW640F_16   ********* Base Address *********   The start address where the flash memory chips are "visible" within   the memory of the CPU is called the BASE_ADDR. This address must be   set according to the current system. This value is used by FlashRead()   FlashWrite(). Some applications which require a more complicated   FlashRead() or FlashWrite() may not use BASE_ADDR.   ********* Flash and Board Configuration *********   The driver supports also different configurations of the flash chips   on the board. In each configuration a new data Type called   'uCPUBusType' is defined to match the current CPU data bus width.   This data type is then used for all accesses to the memory.   The different options (defines) are explained below:      - USE_16BIT_CPU_ACCESSING_2_8BIT_FLASH   Using this define enables a configuration consisting of an environment   containing a CPU with 16bit databus and 2 8bit flash chips connected   to it.   - USE_16BIT_CPU_ACCESSING_1_16BIT_FLASH   Using this define enables a configuration consisting of an environment   containing a CPU with 16bit databus and 1 16bit flash chip connected   to it. Standard Configuration   - USE_32BIT_CPU_ACCESSING_4_8BIT_FLASH   Using this define enables a configuration consisting of an environment   containing a CPU with 32bit databus and 4 8bit flash chips connected   to it.   - USE_32BIT_CPU_ACCESSING_2_16BIT_FLASH   Using this define enables a configuration consisting of an environment   containing a CPU with 32bit databus and 2 16bit flash chips connected   to it.   - USE_8BIT_CPU_ACCESSING_1_8BIT_FLASH   Using this define enables a configuration consisting of an environment   containing a CPU with 8bit databus and 1 8bit flash chips connected   to it.      ********* TimeOut *********   There are timeouts implemented in the loops of the code, in order   to enable a timeout for operations that would otherwise never terminate.   There are two possibilities:   1) The ANSI Library functions declared in 'time.h' exist        If the current compiler supports 'time.h' the define statement      TIME_H_EXISTS should be activated. This makes sure that      the performance of the current evaluation HW does not change      the timeout settings.    2) or they are not available (COUNT_FOR_A_SECOND)      If the current compiler does not support 'time.h', the define      statement can not be used. To overcome this constraint the value      COUNT_FOR_A_SECOND has to be defined in order to create a one      second delay. For example, if 100000 repetitions of a loop are      needed, to give a time delay of one second, then      COUNT_FOR_A_SECOND should have the value 100000.   ********* Pause Constant *********   The function Flashpause() is used in several areas of the code to   generate a delay required for correct operation of the flash device.   There are two options provided:   1) The Option ANSI Library functions declared in 'time.h' exists      If the current compiler supports 'time.h' the define statement TIME_H_EXISTS should be	  activated. This makes sure that the performance of the current evaluation HW does not	  change the timeout settings.      #define TIME_H_EXISTS    2)	The Option COUNT_FOR_A_MICROSECOND      If the current compiler does not support 'time.h', the define statement TIME_H_EXISTS can	  not be used. To overcome this constraint the value COUNT_FOR_A_MICROSECOND has to be defined	  in order to create a one micro second delay.      Depending on a 'While(count-- != 0);' loop a value has to be found which creates the	  necessary delay.      - An approximate approach can be given by using the clock frequency of the test plattform.	  That means if an evaluation board with 200 Mhz is used, the value for COUNT_FOR_A_MICROSECOND 	  would be: 200.      - The real exact value can only be found using a logic state analyser.      #define COUNT_FOR_A_MICROSECOND (chosen value).      Note: This delay is HW (Performance) dependent and needs,      therefore, to be updated with every new HW.      This driver has been tested with a certain configuration and other      target platforms may have other performance data, therefore, the      value may have to be changed.            It is up to the user to implement this value to avoid the code      timing out too early instead of completing correctly.   ********* Additional Routines *********   The drivers provides also a subroutine which displays the full   error message instead of just an error number.   The define statement VERBOSE activates additional Routines.   Currently it activates the function FlashErrorStr()   No further changes should be necessary. *****************************************************************************/#ifndef __C2312__H__#define __C2312__H__typedef unsigned char  ubyte; /* All HW dependent Basic Data Types */      typedef          char   byte;  typedef unsigned short uword;      typedef          short  word;      typedef unsigned int  udword;      typedef          int   dword;      #define USE_M29DW640F_16/* Possible Values: USE_M29DW640F_8                      USE_M29DW640F_16*/#define BASE_ADDR ((volatile uCPUBusType*)0x00000000)/* BASE_ADDR is the base or start address of the flash, see the functions   FlashRead and FlashWrite(). Some applications which require a more   complicated FlashRead() or FlashWrite() may not use BASE_ADDR */#define USE_16BIT_CPU_ACCESSING_1_16BIT_FLASH /* Current PCB Info *//* Possible Values: USE_16BIT_CPU_ACCESSING_2_8BIT_FLASH                    USE_16BIT_CPU_ACCESSING_1_16BIT_FLASH                    USE_32BIT_CPU_ACCESSING_4_8BIT_FLASH                    USE_32BIT_CPU_ACCESSING_2_16BIT_FLASH */ #define TIME_H_EXISTS  /* set this macro if C-library "time.h" is supported *//* Possible Values: TIME_H_EXISTS                     - no define - TIME_H_EXISTS */#ifndef TIME_H_EXISTS   #define COUNT_FOR_A_SECOND 100000    /* Timer Usage */   #define COUNT_FOR_MICROSECOND 20  /* Used in FlashPause function */#endif#define VERBOSE /* Activates additional Routines *//* Currently the Error String Definition *//********************** End of User Change Area *****************************//*****************************************************************************HW Structure Info, Usage of the Flash Memory (Circuitry)*****************************************************************************/#ifdef USE_16BIT_CPU_ACCESSING_2_8BIT_FLASH   typedef uword uCPUBusType;   typedef  word  CPUBusType;   #define FLASH_BIT_DEPTH 8   #define HEX "04Xh"   #define CMD(A)  ((A<<8)+A)    #define CONFIGURATION_DEFINED#endif#ifdef USE_16BIT_CPU_ACCESSING_1_16BIT_FLASH   typedef uword uCPUBusType;   typedef  word  CPUBusType;   #define FLASH_BIT_DEPTH 16   #define HEX "04Xh"   #define CMD(A) (A)   #define CONFIGURATION_DEFINED#endif                                       #ifdef USE_32BIT_CPU_ACCESSING_4_8BIT_FLASH   typedef udword uCPUBusType;   typedef  dword  CPUBusType;   #define FLASH_BIT_DEPTH 8   #define HEX "08Xh"   #define CMD(A) (A+(A<<24)+(A<<16)+(A<<8))   #define CONFIGURATION_DEFINED#endif#ifdef USE_32BIT_CPU_ACCESSING_2_16BIT_FLASH   typedef udword uCPUBusType;   typedef  dword  CPUBusType;   #define FLASH_BIT_DEPTH 16   #define HEX "08Xh"   #define CMD(A) (A+(A<<16))   #define CONFIGURATION_DEFINED#endif/*******************************************************************************Device Specific Return Codes*******************************************************************************/typedef enum {   FlashSpec_TooManyBlocks,   FlashSpec_MpuTooSlow,   FlashSpec_ToggleFailed} SpecificReturnType;/*******************************************************************************      CONFIGURATION CHECK*******************************************************************************/  #ifndef CONFIGURATION_DEFINED #error  User Change Area Error: PCB Info uncorrect Check the USE_xxBIT_CPU_ACCESSING_n_yyBIT_FLASH Value#endif/******************************************************************************* 

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩亚洲综合在线| 亚洲国产成人一区二区三区| 91精品婷婷国产综合久久竹菊| 7777精品伊人久久久大香线蕉完整版 | 日韩欧美一级特黄在线播放| 91精品国产综合久久精品| 欧美日韩不卡在线| 久久久久国产成人精品亚洲午夜| 中文字幕亚洲综合久久菠萝蜜| 国产日韩在线不卡| 亚洲男女一区二区三区| 麻豆91免费观看| 波多野结衣在线aⅴ中文字幕不卡 波多野结衣在线一区 | 久久精品72免费观看| 色综合天天综合网天天狠天天| 成人国产精品免费网站| 欧美视频一区二区在线观看| 精品国产不卡一区二区三区| 日韩理论片中文av| 免费一级欧美片在线观看| 白白色 亚洲乱淫| 欧美一级黄色大片| 亚洲欧洲日本在线| 蜜桃视频一区二区三区在线观看| 成人免费av在线| 日韩一区二区三区电影在线观看| 免费观看在线综合| 欧美日韩午夜影院| 亚洲欧美一区二区久久| 日韩和欧美一区二区三区| www.性欧美| 久久精品亚洲乱码伦伦中文 | 国产成人午夜电影网| 日韩美女天天操| 日韩av不卡一区二区| 99久久免费国产| 欧美韩国一区二区| 国产九色精品成人porny| 日韩欧美中文一区二区| 午夜日韩在线电影| 精品国产不卡一区二区三区| 首页亚洲欧美制服丝腿| 欧美性受极品xxxx喷水| 日韩欧美国产一区在线观看| 午夜欧美大尺度福利影院在线看| 69堂国产成人免费视频| 久久精品999| 中文字幕中文字幕在线一区 | 亚洲一区二区三区爽爽爽爽爽| 91精品福利视频| 蜜臀av一区二区三区| 国产亚洲婷婷免费| 91首页免费视频| 日日摸夜夜添夜夜添国产精品| 欧美大胆一级视频| 97se亚洲国产综合自在线| 天堂在线一区二区| 久久午夜羞羞影院免费观看| 成人涩涩免费视频| 婷婷久久综合九色国产成人| 日本成人在线看| 国产精品国产三级国产普通话99| 欧美日韩aaaaaa| 欧美精品tushy高清| 麻豆91精品91久久久的内涵| 中文字幕一区二区不卡| 日韩一级视频免费观看在线| 99久久婷婷国产综合精品电影| 男女性色大片免费观看一区二区| 亚洲欧美日韩在线| 久久综合成人精品亚洲另类欧美 | 大尺度一区二区| 国产呦萝稀缺另类资源| 亚洲国产精品嫩草影院| 2017欧美狠狠色| 欧美妇女性影城| 成人av午夜电影| 国产一区不卡视频| 视频在线观看91| 亚洲最色的网站| 一区二区免费看| 国产精品久久午夜| 中文字幕第一区二区| 国产精品久久久久影院亚瑟 | 美日韩黄色大片| 五月激情丁香一区二区三区| 一区二区三区在线影院| 亚洲品质自拍视频网站| 国产精品午夜久久| 亚洲美女免费在线| 日韩专区在线视频| 一区二区三区免费| 日韩毛片精品高清免费| 亚洲成av人综合在线观看| 国产一区二区伦理| 99久久伊人久久99| 欧美日韩精品免费| 日韩精品一区二| 中文成人综合网| 亚洲欧美另类小说| 日韩精品五月天| 奇米色一区二区三区四区| 激情欧美一区二区三区在线观看| 国产不卡视频一区| 欧美日韩三级在线| 欧美成人精品3d动漫h| 日韩欧美的一区| 最新成人av在线| 三级久久三级久久| 国产一区二区三区免费看| 9色porny自拍视频一区二区| 欧美少妇xxx| 国产亚洲午夜高清国产拍精品| 国产精品国产三级国产| 亚洲国产另类av| 成人av午夜影院| 精品日韩在线观看| 一区二区久久久久久| 国产成人精品网址| 精品国产91乱码一区二区三区 | 欧美日本一道本| 国产亚洲婷婷免费| 青青青伊人色综合久久| 91麻豆免费在线观看| 欧美激情一区二区三区四区 | 极品少妇一区二区三区精品视频| 一本大道av一区二区在线播放| 国产午夜精品一区二区三区四区 | 欧美—级在线免费片| 日本午夜一本久久久综合| 日本乱码高清不卡字幕| 国产精品久久久久精k8 | 在线观看国产91| 中文字幕中文字幕一区| 成人v精品蜜桃久久一区| 久久综合999| 国产一区亚洲一区| 国产日韩欧美a| 成人听书哪个软件好| 亚洲国产精品ⅴa在线观看| 激情五月激情综合网| 精品成人免费观看| 国产一区欧美一区| 中文字幕av不卡| a在线播放不卡| 一区二区三区四区不卡在线 | 亚洲电影视频在线| 欧美四级电影在线观看| 91美女在线看| 亚洲亚洲精品在线观看| 欧美久久一区二区| 捆绑变态av一区二区三区| 日韩欧美一级二级三级久久久| 久久机这里只有精品| 中文字幕国产一区| 色偷偷久久人人79超碰人人澡| 亚洲一区电影777| 欧美va亚洲va国产综合| 成人sese在线| 午夜精品久久久久久久| 久久综合av免费| a4yy欧美一区二区三区| 亚洲午夜三级在线| 久久中文娱乐网| 日本高清不卡aⅴ免费网站| 全部av―极品视觉盛宴亚洲| 欧美国产丝袜视频| 欧美精品一级二级三级| 国产高清久久久| 亚洲成人www| 国产精品欧美久久久久一区二区| 69av一区二区三区| 久久日韩精品一区二区五区| 色哟哟国产精品| 国产成人精品影视| 日欧美一区二区| 亚洲精品乱码久久久久久| 亚洲一区在线观看免费观看电影高清| 免费观看一级特黄欧美大片| 国产精品第13页| 精品第一国产综合精品aⅴ| 欧美日韩中文字幕一区| 成人精品国产免费网站| 精品一区二区免费看| 亚洲一区自拍偷拍| 亚洲欧美综合在线精品| 久久精品一级爱片| 日韩欧美国产系列| 在线电影院国产精品| 色先锋资源久久综合| 91小视频免费观看| 成人黄色一级视频| 激情另类小说区图片区视频区| 日日夜夜免费精品视频| 亚洲成人免费av| 亚洲欧美激情视频在线观看一区二区三区| 2021久久国产精品不只是精品| 欧美日韩高清不卡| 欧美一二三区在线| 欧美大尺度电影在线|