📄 lib_flash_at49.h
字号:
//*----------------------------------------------------------------------------//* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -