⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mcf5202.h

📁 Coldfire MCF5282 DBug bootloader
💻 H
字号:
/*
 * File:		src/include/cpu/coldfire/mcf5202.h
 * Purpose:		MCF5202 definitions
 *
 * Notes:		This file automatically included.
 *
 * Author:		Eric DeVolder
 * Date:
 *
 * Modifications:
 *
 */

#ifndef _CPU_MCF5202_H
#define _CPU_MCF5202_H

/***********************************************************************/

/*
 * Cache and Access Control Register routines and defintions
 */
#define MCF5202_CACR_EC			(0x80000000)
#define MCF5202_CACR_ESB		(0x20000000)
#define MCF5202_CACR_DPI		(0x10000000)
#define MCF5202_CACR_HLCK		(0x08000000)
#define MCF5202_CACR_CINVA		(0x01000000)
#define MCF5202_CACR_DCM_C_WT	(0x00000000) /* cacheable, write thru */
#define MCF5202_CACR_DCM_C_CB	(0x00000100) /* cacheable, copyback   */
#define MCF5202_CACR_DCM_CI_P	(0x00000200) /* noncacheable, precise */
#define MCF5202_CACR_DCM_CI_IP	(0x00000300) /* noncacheable, imprec. */
#define MCF5202_CACR_DW			(0x00000020)

#define MCF5202_ACR_BASE(a)		((a)&0xFF000000)
#define MCF5202_ACR_MASK(a)		(((a)&0xFF000000) >> 8)
#define MCF5202_ACR_E			(0x00008000)
#define MCF5202_ACR_S_USER		(0x00000000)
#define MCF5202_ACR_S_SUPER		(0x00002000)
#define MCF5202_ACR_S_IGNORE	(0x00006000)
#define MCF5202_ACR_CM_C_WT		(0x00000000) /* cacheable, write thru */
#define MCF5202_ACR_CM_C_CB		(0x00000020) /* cacheable, copyback   */
#define MCF5202_ACR_CM_CI_P		(0x00000040) /* noncacheable, precise */
#define MCF5202_ACR_CM_CI_IP	(0x00000060) /* noncacheable, imprec. */
#define MCF5202_ACR_W			(0x00000004)

/***********************************************************************/

#endif	/* _CPU_MCF5202_H */

⌨️ 快捷键说明

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