📄 cache.h
字号:
/**********************************************************************************/
/* */
/* Copyright (C) 2003 Oki Electric Industry Co., LTD. */
/* */
/* System Name : ML675001 series */
/* Module Name : header file for using cache */
/* File Name : cache.h */
/* Revision : 01.00 */
/* Date : 2003/03/09 initial version */
/* */
/**********************************************************************************/
#ifndef CACHE_H
#define CACHE_H
#ifdef __cplusplus
extern "C" {
#endif
/* functions */
/**********************************************************************/
/* Initialize CACHE memory */
/* Function : void init_cache(void) */
/* Parameters */
/* input : nothing */
/* output : nothing */
/**********************************************************************/
void init_cache(void);
/**********************************************************************/
/* CACHE on */
/* Function : void cache_on(UWORD) */
/* Parameters */
/* input : bank */
/* output : nothing */
/**********************************************************************/
#define cache_on(n) set_wbit(CACHE, n)
/**********************************************************************/
/* CACHE off */
/* Function : void cache_off(UWORD) */
/* Parameters */
/* input : bank */
/* output : nothing */
/**********************************************************************/
#define cache_off(n) clr_wbit(CACHE, n)
#ifdef __cplusplus
}; /* end of 'extern "C"' */
#endif
#endif /* #define CACHE_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -