desc_flash_16x4.h

来自「ARM入门的好帮手.包含了从简单到相对较复杂的程序.」· C头文件 代码 · 共 48 行

H
48
字号
//*----------------------------------------------------------------------------//*      ATMEL Microcontroller Software Support  -  ROUSSET  -//*----------------------------------------------------------------------------//* The software is delivered "AS IS" without warranty or condition of any//* kind, either express, implied or statutory. This includes without//* limitation any warranty or condition with respect to merchantability or//* fitness for any particular purpose, or against the infringements of//* intellectual property rights of others.//*----------------------------------------------------------------------------//* File Name               :  desc_flash_16x4.h//* Object                  : FLASH programmer for : AT49BV1604/AT49BV1604//*//* 1.0 23/04/99 JPP        : Creation//*----------------------------------------------------------------------------#ifndef desc_flash_16x4_h#define desc_flash_16x4_h//* Flash features#define AT49BV1604_NB_SECTOR                   40/* Define Flash Codes */#define AT49BV1604_FLASH_MANUFACTURER_CODE     0x001F#define AT49BV1604_FLASH_DEVICE_CODE           0x00C0#define AT49BV1604_FLASH_SIZE                  (2*1024*KILO_BYTES)#define AT49BV1604_FLASH_MASK                  FLASH_SIZE-1#define AT49BV1604_FLASH_NAME                  "AT49BV1604"//* Defines supported flash organizations used for calculed the sector idOrgDef OrgAT49BV[] ={    /* 8 x 8kbytes sectors */    {  8,       8    },    /* 2 x 32 kbytes sectors */    {        2,        32    },    /* 30 x 64 kbytes sectors */    {        30,        64    }};#endif /* desc_flash_16x4_h *///* End file

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?