f53x_linsnooper_flash.h

来自「8051试验程序 基础教材」· C头文件 代码 · 共 56 行

H
56
字号
//-----------------------------------------------------------------------------
// F53x_LINSnooper_Flash.h
//-----------------------------------------------------------------------------
// Copyright 2006 Silicon Laboratories, Inc.
// http://www.silabs.com
//
// Program Description:
//
// Header file with function prototypes relevant to F53x_LINSnooper_Flash.c
//
// How To Test:    See Readme.txt
//
//
// FID:
// Target:          C8051F53x
// Tool chain:      KEIL C51 7.20
// Command Line:    None
// Project Name:    LIN Snooper
//
// Release 1.0
//    -Initial Revision
//    -01 NOV 2006
//
//

//-----------------------------------------------------------------------------
// Header File Preprocessor Directive
//-----------------------------------------------------------------------------
#ifndef __FLASH_H__
#define __FLASH_H__

//-----------------------------------------------------------------------------
// Includes
//-----------------------------------------------------------------------------

//-----------------------------------------------------------------------------
// Function Prototypes
//-----------------------------------------------------------------------------
#ifdef   F53x_FLASH_SOURCE

void Flash_Erase(unsigned char __code * mem);
void Flash_Store(unsigned char __code * mem, unsigned char byte);
unsigned char Flash_Read(unsigned char* mem) reentrant;
#else
extern void Flash_Erase(unsigned char __code * mem);
extern void Flash_Store(unsigned char __code * mem, unsigned char byte);
extern unsigned char Flash_Read(unsigned char offset);             //reentrant;
extern uint ADDR;
#endif                                 // endif definition of F53x_FLASH_SOURCE

#endif                                 // endif definition of __FLASH_H__

//-----------------------------------------------------------------------------
// End Of File
//-----------------------------------------------------------------------------

⌨️ 快捷键说明

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