📄 f326_flashutils.h
字号:
//-----------------------------------------------------------------------------
// F326_FlashUtils.h
//-----------------------------------------------------------------------------
// Copyright 2006 Silicon Laboratories, Inc.
// http://www.silabs.com
//
// Program Description:
//
// This program contains several useful utilities for writing and updating
// FLASH memory.
//
// FID: 326000027
// Target: C8051F326/7
// Tool chain: Keil C51 8.00 / Keil EVAL C51
// Command Line: None
//
// Release 1.0
// -Initial Revision (GP)
// -30 JAN 2006
//
#ifndef F326_FLASHUTILS_H
#define F326_FLASHUTILS_H
//-----------------------------------------------------------------------------
// Includes
//-----------------------------------------------------------------------------
#include "F326_FlashPrimitives.h"
//-----------------------------------------------------------------------------
// Structures, Unions, Enumerations, and Type Definitions
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
// Global Constants
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
// Exported Function Prototypes
//-----------------------------------------------------------------------------
// FLASH read/write/erase routines
extern void FLASH_Write (FLADDR dest, char *src, unsigned numbytes);
extern char * FLASH_Read (char *dest, FLADDR src, unsigned numbytes);
extern void FLASH_Clear (FLADDR addr, unsigned numbytes);
// FLASH update/copy routines
// copy with destination preservation
extern void FLASH_Update (FLADDR dest, char *src, unsigned numbytes);
// low-level FLASH/FLASH byte copy
extern void FLASH_Copy (FLADDR dest, FLADDR src, unsigned numbytes);
// FLASH test routines
extern void FLASH_Fill (FLADDR addr, ULONG length, UCHAR fill);
#endif // F326_FLASHUTILS_H
//-----------------------------------------------------------------------------
// End Of File
//-----------------------------------------------------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -