lib_flash_at49.h

来自「使用JTAG口对AT91R40008芯片进行FLASH编程的程序」· C头文件 代码 · 共 49 行

H
49
字号
//*----------------------------------------------------------------------------//*      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           : lib_flash_at49.h//* Object              : Flash AT49BV Prototyping File//*                             AT49BV1604/AT49BV1604T//*                             AT49BV1614/AT49BV1604T//*                             AT49BV8011/AT49BV8011T//*                             AT49BV8011/AT49BV8011T//*//* 1.0 02/11/00 JPP    : Creation//*----------------------------------------------------------------------------#ifndef lib_flash_at49_h#define lib_flash_at49_h//* --------------------------- include file ----------------------------------/* Standards	*/typedef unsigned int        u_int;typedef unsigned short		u_char;/* 16-bit Flash Data type */typedef volatile unsigned short flash_word ;/* Timeout loop count */#define TIME_OUT                    1000000/* Define Flash Codes */#define FLASH_SEQ_ADD1              (0x5555)#define FLASH_SEQ_ADD2              (0x2AAA)#define FLASH_CODE1                 ((flash_word)(0xAA))#define FLASH_CODE2                 ((flash_word)(0x55))#define ID_IN_CODE                  ((flash_word)(0x90))#define ID_OUT_CODE                 ((flash_word)(0xF0))//* Com Channel#define R_BIT	1#define W_BIT	2#endif  /* lib_flash_at49_h */

⌨️ 快捷键说明

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