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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? c2312.h

?? flash programer driver
?? H
?? 第 1 頁 / 共 4 頁
字號(hào):
/***************** 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/******************************************************************************* 

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91精品国产日韩91久久久久久| 不卡高清视频专区| 午夜免费久久看| 亚洲成av人片一区二区三区| 亚洲色欲色欲www在线观看| 一区视频在线播放| 一区二区三区四区av| 亚洲国产精品精华液网站| 亚洲福利一区二区| 免费高清在线一区| 国产精品一色哟哟哟| 国产成人免费视频一区| 91污在线观看| 欧美日韩精品欧美日韩精品一综合| 欧美久久免费观看| 久久尤物电影视频在线观看| 久久久精品天堂| 亚洲人精品午夜| 日韩精品五月天| 国产一区二区三区黄视频| 波多野结衣中文字幕一区| 日本韩国欧美一区二区三区| 欧美电影一区二区三区| 久久亚洲影视婷婷| 一区二区高清在线| 激情国产一区二区| 色综合久久久网| 欧美成人一区二区三区在线观看| 久久久不卡网国产精品一区| 亚洲私人影院在线观看| 亚洲gay无套男同| 国产高清在线精品| 欧美精品乱码久久久久久按摩| 精品电影一区二区三区 | 91福利国产成人精品照片| 欧美剧情电影在线观看完整版免费励志电影 | 久久久精品国产免费观看同学| 综合精品久久久| 韩国成人在线视频| 欧美日韩亚洲综合在线| 欧美激情一二三区| 日本人妖一区二区| 欧美在线观看一二区| 26uuu成人网一区二区三区| 亚洲综合色婷婷| 国产成人av电影免费在线观看| 欧美色综合影院| 国产精品不卡在线观看| 国产中文一区二区三区| 欧美喷潮久久久xxxxx| 亚洲欧美在线另类| 国产一区二区主播在线| 欧美一区日本一区韩国一区| 亚洲精品成人精品456| 丁香啪啪综合成人亚洲小说| 欧美成人一区二区三区片免费| 亚洲午夜国产一区99re久久| 99久久国产综合精品麻豆| 国产香蕉久久精品综合网| 美女被吸乳得到大胸91| 91精品啪在线观看国产60岁| 亚洲国产毛片aaaaa无费看| 91在线丨porny丨国产| 国产精品久久久久一区二区三区 | 91在线无精精品入口| 欧美国产欧美亚州国产日韩mv天天看完整| 日韩黄色免费电影| 欧美日本高清视频在线观看| 亚洲电影在线播放| 欧洲av在线精品| 亚洲免费观看高清| 色中色一区二区| 亚洲乱码精品一二三四区日韩在线| 成人一级片在线观看| 国产精品网站在线播放| 成人久久视频在线观看| 中文字幕av一区二区三区免费看 | voyeur盗摄精品| 国产精品久久99| 欧美伊人精品成人久久综合97 | 亚洲欧美电影院| 欧美性做爰猛烈叫床潮| 亚洲国产精品嫩草影院| 91超碰这里只有精品国产| 日本欧美大码aⅴ在线播放| 精品免费视频一区二区| 国产福利一区二区三区视频| 国产精品嫩草影院com| 在线免费一区三区| 日韩av高清在线观看| 精品国内片67194| 国产精品一区二区在线播放| 国产欧美va欧美不卡在线| 成+人+亚洲+综合天堂| 亚洲激情自拍视频| 欧美日产在线观看| 国产精品正在播放| 亚洲视频香蕉人妖| 日韩视频一区二区三区在线播放| 激情图区综合网| 亚洲人成精品久久久久| 4438亚洲最大| 成人开心网精品视频| 午夜电影一区二区三区| 精品99一区二区三区| 色偷偷一区二区三区| 免费成人你懂的| 国产精品不卡视频| 精品蜜桃在线看| 91福利在线导航| 国产白丝精品91爽爽久久| 亚洲无线码一区二区三区| 久久精品一二三| 欧美三级视频在线| 成人午夜大片免费观看| 天堂一区二区在线| 亚洲视频一区在线| 久久久精品人体av艺术| 欧美顶级少妇做爰| 一本高清dvd不卡在线观看 | www.综合网.com| 久久狠狠亚洲综合| 亚洲高清免费观看| 亚洲欧美韩国综合色| 久久久久国产精品人| 91精品一区二区三区久久久久久| 99久久精品免费观看| 国产精品一区二区无线| 日韩精品乱码av一区二区| 亚洲另类一区二区| 中文字幕一区二区三区在线观看| 日韩欧美区一区二| 在线综合+亚洲+欧美中文字幕| 91社区在线播放| 成人黄色软件下载| 东方欧美亚洲色图在线| 国产精品一区二区无线| 精品一二三四区| 蜜桃视频一区二区三区在线观看 | 日本一区二区视频在线观看| 日韩欧美你懂的| 欧美一区二区二区| 欧美福利一区二区| 欧美三级视频在线观看| 欧美中文一区二区三区| 色94色欧美sute亚洲线路二 | 久久嫩草精品久久久久| 日韩一区二区高清| 日韩欧美卡一卡二| 精品福利二区三区| wwwwxxxxx欧美| 久久精品视频网| 国产欧美1区2区3区| 国产精品全国免费观看高清| 欧美国产视频在线| 国产精品久久久久久久岛一牛影视| 欧美经典一区二区| 国产精品美日韩| 成人免费视频在线观看| 综合久久久久综合| 亚洲午夜激情av| 蜜臀91精品一区二区三区 | 欧美激情在线观看视频免费| 国产区在线观看成人精品| 亚洲国产精品成人综合| 国产精品视频九色porn| 亚洲色图在线播放| 五月婷婷综合激情| 日产国产高清一区二区三区| 国精品**一区二区三区在线蜜桃| 国产另类ts人妖一区二区| 99久久综合精品| 欧美三级电影网| 日韩欧美二区三区| 欧美经典一区二区| 亚洲国产视频网站| 蜜臀久久99精品久久久画质超高清 | 欧美国产亚洲另类动漫| 一区二区三区小说| 久久国产剧场电影| www..com久久爱| 91精品欧美综合在线观看最新 | 最近中文字幕一区二区三区| 亚洲图片欧美色图| 国产在线播精品第三| 97久久人人超碰| 欧美一区二区私人影院日本| 国产片一区二区| 午夜伦欧美伦电影理论片| 国产福利一区二区三区在线视频| 91福利区一区二区三区| 久久久久久**毛片大全| 午夜精品影院在线观看| 国产成人免费9x9x人网站视频| 在线影院国内精品| 中文字幕国产一区| 日韩精品一级中文字幕精品视频免费观看 | av在线不卡网| 精品不卡在线视频| 日韩高清一区在线|