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

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

?? strata.h

?? eCos操作系統(tǒng)源碼
?? H
字號:
#ifndef CYGONCE_DEVS_FLASH_INTEL_STRATA_FLASH_H#define CYGONCE_DEVS_FLASH_INTEL_STRATA_FLASH_H//==========================================================================////      strata.h////      strataFlash programming - device constants, etc.////==========================================================================//####ECOSGPLCOPYRIGHTBEGIN####// -------------------------------------------// This file is part of eCos, the Embedded Configurable Operating System.// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.//// eCos is free software; you can redistribute it and/or modify it under// the terms of the GNU General Public License as published by the Free// Software Foundation; either version 2 or (at your option) any later version.//// eCos is distributed in the hope that it will be useful, but WITHOUT ANY// WARRANTY; without even the implied warranty of MERCHANTABILITY or// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License// for more details.//// You should have received a copy of the GNU General Public License along// with eCos; if not, write to the Free Software Foundation, Inc.,// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.//// As a special exception, if other files instantiate templates or use macros// or inline functions from this file, or you compile this file and link it// with other works to produce a work based on this file, this file does not// by itself cause the resulting work to be covered by the GNU General Public// License. However the source code for this file must still be made available// in accordance with section (3) of the GNU General Public License.//// This exception does not invalidate any other reasons why a work based on// this file might be covered by the GNU General Public License.//// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.// at http://sources.redhat.com/ecos/ecos-license/// -------------------------------------------//####ECOSGPLCOPYRIGHTEND####//==========================================================================//#####DESCRIPTIONBEGIN####//// Author(s):    gthomas, hmt// Contributors: gthomas// Date:         2001-02-14// Purpose:      // Description:  //              //####DESCRIPTIONEND####////==========================================================================#include <pkgconf/system.h>#include <pkgconf/devs_flash_strata.h>#include CYGDAT_DEVS_FLASH_STRATA_INL// ------------------------------------------------------------------------// // It is expected that the above include defined all the properties of the// device we want to drive: the choices this module supports include:////                                    Buffered  Read     Block//                                     write    query    locking// 28FxxxB3 - Bootblock               - no      no       no// 28FxxxC3 - StrataFlash             - no      yes      yes// 28FxxxJ3 - Advanced StrataFlash    - yes     yes      yes// 28FxxxK3 - Synchronous StrataFlash - yes     yes      yes// // These options are controlled by defining or not, in that include file,// these symbols (not CDL options, just symbols - though they could be CDL// in future)//         CYGOPT_FLASH_IS_BOOTBLOCK     - for xxxB3 devices.//         CYGOPT_FLASH_IS_NOT_ADVANCED  - for xxxC3 devices.//         CYGOPT_FLASH_IS_SYNCHRONOUS   - for xxxK3 devices.//         none of the above             - for xxxJ3 devices.  // (Advanced seems to be usual these days hence the sense of that opt)//// Other properties are controlled by these symbols://         CYGNUM_FLASH_DEVICES 	number of devices across the databus//         CYGNUM_FLASH_WIDTH 	        number of bits in each device//         CYGNUM_FLASH_BLANK           1 if blank is allones, 0 if 0//         CYGNUM_FLASH_BASE 	        base address//         CYGNUM_FLASH_BASE_MASK       a mask to get base address from any// // for example, a 32-bit memory could be made from 1x32bit, 2x16bit or// 4x8bit devices; usually 16bit ones are chosen in practice, so we would// have CYGNUM_FLASH_DEVICES = 2, and CYGNUM_FLASH_WIDTH = 16.  Both// devices would be handled simulataneously, via 32bit bus operations.// Some CPUs can handle a single 16bit device as 32bit memory "by magic".// In that case, CYGNUM_FLASH_DEVICES = 1 and CYGNUM_FLASH_WIDTH = 16, and// the device is managed using only 16bit bus operations.#define CYGNUM_FLASH_INTERLEAVE CYGNUM_FLASH_DEVICES#define _FLASH_PRIVATE_#include <cyg/io/flash_dev.h>#define flash_t flash_data_t// ------------------------------------------------------------------------//// This generic code is intended to deal with all shapes and orientations// of Intel StrataFlash.  Trademarks &c belong to their respective owners.//// It therefore needs some trickery to define the constants and accessor// types that we use to interact with the device or devices.//// The assumptions are that//  o Parallel devices, we write to, with the "opcode" replicated per//    device//  o The "opcode" and status returns exist only in the low byte of the//    device's interface regardless of its width.//  o Hence opcodes and status are only one byte.// An exception is the test for succesfully erased data.//// ------------------------------------------------------------------------// ------------------------------------------------------------------------#define FLASH_Read_ID      		FLASHWORD( 0x90 )#ifndef CYGOPT_FLASH_IS_BOOTBLOCK#define FLASH_Read_Query   		FLASHWORD( 0x98 ) // Strata only#endif#define FLASH_Read_Status  		FLASHWORD( 0x70 )#define FLASH_Clear_Status 		FLASHWORD( 0x50 )#define FLASH_Status_Ready 		FLASHWORD( 0x80 )#ifdef CYGOPT_FLASH_IS_BOOTBLOCK#define FLASH_Program      		FLASHWORD( 0x40 ) // BootBlock only#else#define FLASH_Program      		FLASHWORD( 0x10 )#endif#define FLASH_Block_Erase  		FLASHWORD( 0x20 )#ifndef CYGOPT_FLASH_IS_BOOTBLOCK#ifndef CYGOPT_FLASH_IS_NOT_ADVANCED#define FLASH_Write_Buffer 		FLASHWORD( 0xE8 ) // *Advanced* Strata only#endif // flash is advanced ie. has Write Buffer command#define FLASH_Set_Lock     		FLASHWORD( 0x60 ) // Strata only#define FLASH_Set_Lock_Confirm 		FLASHWORD( 0x01 ) // Strata only#define FLASH_Clear_Locks  		FLASHWORD( 0x60 ) // Strata only#define FLASH_Clear_Locks_Confirm	FLASHWORD( 0xD0 ) // Strata only#endif#define FLASH_Confirm      		FLASHWORD( 0xD0 )//#define FLASH_Configure    			FLASHWORD( 0xB8 )//#define FLASH_Configure_ReadyWait      	FLASHWORD( 0x00 )//#define FLASH_Configure_PulseOnErase   	FLASHWORD( 0x01 )//#define FLASH_Configure_PulseOnProgram 	FLASHWORD( 0x02 )//#define FLASH_Configure_PulseOnBoth    	FLASHWORD( 0x03 )#define FLASH_Reset        		FLASHWORD( 0xFF )                                                     // Status that we read back:                         #define FLASH_ErrorMask			FLASHWORD( 0x7E )#define FLASH_ErrorProgram		FLASHWORD( 0x10 )#define FLASH_ErrorErase		FLASHWORD( 0x20 )#define FLASH_ErrorNotVerified		FLASHWORD( 0x9910 ) // made-up number// ------------------------------------------------------------------------#define FLASH_Intel_code   0x89 // NOT mapped to 16+16#define FLASH_STMicro_code 0x20 // NOT mapped to 16+16// Extended query informationstruct FLASH_query {    unsigned char manuf_code;    // FLASH_Intel_code    unsigned char device_code;    unsigned char _unused0[14];    unsigned char id[3];  // Q R Y    unsigned char _unused1[20];    unsigned char device_size;    unsigned char device_interface[2];    unsigned char buffer_size[2];    unsigned char is_block_oriented;    unsigned char num_regions[2];    unsigned char region_size[2];};#endif  // CYGONCE_DEVS_FLASH_INTEL_STRATA_FLASH_H// ------------------------------------------------------------------------// EOF strata.h

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲欧美日韩国产手机在线| 精品国产一区二区亚洲人成毛片 | 亚洲综合在线五月| 欧美一区二区三区日韩| jizz一区二区| 蜜臀精品一区二区三区在线观看| 中文字幕一区二区三区色视频| 欧美日韩一区二区不卡| 国产福利不卡视频| 蜜桃一区二区三区四区| 亚洲精品高清在线观看| 亚洲国产精品成人综合| 欧美mv日韩mv亚洲| 欧美少妇xxx| 91看片淫黄大片一级在线观看| 狠狠v欧美v日韩v亚洲ⅴ| 午夜精品免费在线| 亚洲精品国产无天堂网2021| 欧美激情一区二区三区蜜桃视频| 欧美videos大乳护士334| 欧美日韩精品免费观看视频| 色网综合在线观看| thepron国产精品| 国产成人三级在线观看| 精品综合久久久久久8888| 日本欧美在线看| 亚洲综合精品自拍| 亚洲免费视频中文字幕| 中文字幕免费不卡在线| 亚洲精品在线免费观看视频| 欧美丰满嫩嫩电影| 欧美日韩精品一区二区三区| 91行情网站电视在线观看高清版| 99精品热视频| 91在线丨porny丨国产| 成人av高清在线| 丁香婷婷综合色啪| 成人性色生活片| 成人精品免费看| 成人自拍视频在线| 成人免费va视频| 不卡的av网站| 色综合久久66| 欧美日韩一区中文字幕| 欧美日韩一区二区三区不卡| 欧美精品一二三区| 欧美一区午夜视频在线观看| 91精品国产综合久久福利软件| 欧美欧美午夜aⅴ在线观看| 欧美日韩大陆在线| 欧美老年两性高潮| 制服丝袜av成人在线看| 日韩免费在线观看| 久久你懂得1024| 国产精品女同一区二区三区| 一区精品在线播放| 亚洲综合精品久久| 婷婷中文字幕一区三区| 美女爽到高潮91| 激情六月婷婷久久| 国产不卡免费视频| 91色综合久久久久婷婷| 欧美日本视频在线| 欧美电视剧免费全集观看| 久久久久久久久久看片| 中文字幕中文字幕一区二区| 一区二区在线观看视频| 三级欧美在线一区| 黄色日韩网站视频| 91久久国产最好的精华液| 91精品国产一区二区三区蜜臀 | 福利电影一区二区三区| 96av麻豆蜜桃一区二区| 欧美精品一级二级三级| 国产午夜精品久久久久久久| 国产精品成人在线观看| 亚洲va天堂va国产va久| 久久超级碰视频| 91影视在线播放| 欧美一区二区大片| 中文字幕在线不卡视频| 日韩精品成人一区二区在线| 国产一区二区调教| 欧美在线免费视屏| 久久综合av免费| 一区二区三区欧美日韩| 精品亚洲成a人| 在线观看国产精品网站| 国产亚洲一区二区三区在线观看| 亚洲男人的天堂在线观看| 捆绑变态av一区二区三区| 99热99精品| 精品国产精品一区二区夜夜嗨| 亚洲品质自拍视频网站| 精品一二三四区| 欧美日韩一级片网站| 国产人伦精品一区二区| 日韩激情中文字幕| 91色porny| 中文字幕av在线一区二区三区| 丝袜美腿亚洲色图| 99久精品国产| 国产日产欧美精品一区二区三区| 丝袜亚洲另类欧美综合| 99热99精品| 欧美激情一区二区| 久久国产夜色精品鲁鲁99| 欧美三级韩国三级日本三斤| 国产精品麻豆视频| 精品无码三级在线观看视频| 欧美亚洲精品一区| 日韩毛片视频在线看| 国产精品一区不卡| 欧美精品一区男女天堂| 日韩va欧美va亚洲va久久| 99re免费视频精品全部| 国产丝袜美腿一区二区三区| 男人的天堂久久精品| 欧美在线一区二区| 亚洲裸体在线观看| 99久久精品99国产精品| 欧美激情一区在线观看| 国产一区欧美二区| 337p粉嫩大胆噜噜噜噜噜91av | 欧美乱妇15p| 亚洲一区二区成人在线观看| 白白色 亚洲乱淫| 欧美激情一区二区三区全黄| 国产成人福利片| 久久综合久久综合久久综合| 美国一区二区三区在线播放| 久久新电视剧免费观看| 美女一区二区久久| 日韩一级黄色片| 麻豆中文一区二区| 日韩免费一区二区三区在线播放| 丝袜脚交一区二区| 欧美一级久久久| 久久99精品国产麻豆不卡| 日韩三级在线观看| 久久www免费人成看片高清| 精品va天堂亚洲国产| 国产在线观看免费一区| 精品国产精品网麻豆系列| 国产精品一二三区在线| 国产精品美日韩| 91蜜桃网址入口| 亚洲高清免费视频| 欧美一区二区三区在线视频| 精品一区二区三区蜜桃| 久久久久久久综合色一本| 国产91综合网| 亚洲欧洲成人av每日更新| 色久优优欧美色久优优| 亚洲gay无套男同| 欧美一级高清片| 国产不卡高清在线观看视频| 亚洲四区在线观看| 欧美日韩中文字幕一区| 免费成人在线观看| 国产精品色噜噜| 在线视频欧美精品| 美腿丝袜一区二区三区| 久久久国产一区二区三区四区小说 | 国产成人精品亚洲777人妖| 中文字幕av资源一区| 在线观看91精品国产入口| 日韩精品91亚洲二区在线观看| 久久综合丝袜日本网| 波多野结衣的一区二区三区| 午夜精品一区二区三区电影天堂| 欧美mv日韩mv| 91同城在线观看| 美女脱光内衣内裤视频久久影院| 亚洲国产精品黑人久久久| 欧美中文字幕一区二区三区| 狠狠色狠狠色综合日日91app| 国产精品美女久久久久久久| 欧美日韩精品免费| 成人综合在线视频| 午夜精品久久久久久久99樱桃 | 亚洲精品乱码久久久久久| 日韩一区二区麻豆国产| 高潮精品一区videoshd| 丝袜诱惑亚洲看片| 亚洲欧洲无码一区二区三区| 欧美一级免费大片| 91美女蜜桃在线| 激情五月激情综合网| 亚洲尤物视频在线| 国产亚洲一区二区三区四区 | 最新高清无码专区| 日韩欧美的一区二区| 91色视频在线| 国产成人日日夜夜| 欧美a级一区二区| 一区二区三区欧美日| 亚洲国产精华液网站w| 欧美一卡2卡3卡4卡| 91久久精品一区二区三|