📄 mpc565.h
字号:
/**************************************************************************/
/* FILE NAME: MPC565.h COPYRIGHT (c) MOTOROLA 2002 */
/* VERSION: 3.01 All Rights Reserved */
/* */
/* DESCRIPTION: */
/* This file includes the files that contain all of the register and bit */
/* field definitions for the MPC565. */
/* */
/*========================================================================*/
/* AUTHOR: Jeff Loeliger */
/* COMPILER: Diab Data VERSION: 4.3f */
/* */
/* UPDATE HISTORY */
/* REV AUTHOR DATE DESCRIPTION OF CHANGE */
/* --- ----------- --------- --------------------- */
/* 0.1 J. Loeliger 13/Sep/99 Initial version of file for */
/* MPC565. */
/* 0.2 J. Loeliger 03/Oct/00 Change FLASH file name to uc3f.h */
/* 3.0 J. Loeliger 16/Apr/02 Updated for new generic module files. */
/* 3.01 J. Loeliger 11/Jun/02 Changed to _MPC561_H_ define. */
/**************************************************************************/
#ifndef _MPC565_H_
#define _MPC565_H_
/*Device specific defines*/
#define _UC3F_FLASH
#define _MIOS14
#define _MIOS14_RTC
#define _CALRAM
#define _QADC64E
/* Out of RESET the QADC64E runs in enhanced mode. If legacy mode is needed*/
/* uncomment out the following line.*/
/*#define QADC64E_LEGACY*/
#include "m_usiu.h" /*also includes UIMB module*/
#include "m_flash.h"
#include "m_tpu3.h" /*also includes DPTRAM module*/
#include "m_qadc64.h"
#include "m_qsmcm.h"
#include "m_mios.h"
#include "m_toucan.h" /*also includes DLC module */
#include "m_sram.h"
#define USIU (*( struct USIU_tag *) (INTERNAL_MEMORY_BASE + 0x2FC000))
#define UC3F_A (*( struct UC3F_tag *) (INTERNAL_MEMORY_BASE + 0x2FC800))
#define UC3F_B (*( struct UC3F_tag *) (INTERNAL_MEMORY_BASE + 0x2FC840))
#define TPU_A (*( struct TPU3_tag *) (INTERNAL_MEMORY_BASE + 0x304000))
#define TPU_B (*( struct TPU3_tag *) (INTERNAL_MEMORY_BASE + 0x304400))
#define TPU_C (*( struct TPU3_tag *) (INTERNAL_MEMORY_BASE + 0x305C00))
#define QADC_A (*( struct QADC64_tag *) (INTERNAL_MEMORY_BASE + 0x304800))
#define QADC_B (*( struct QADC64_tag *) (INTERNAL_MEMORY_BASE + 0x304C00))
#define QSMCM_A (*( struct QSMCM_tag *) (INTERNAL_MEMORY_BASE + 0x305000))
#define QSMCM_B (*( struct QSMCM_tag *) (INTERNAL_MEMORY_BASE + 0x305400))
#define MIOS14 (*( struct MIOS_tag *) (INTERNAL_MEMORY_BASE + 0x306000))
#define CAN_A (*( struct TOUCAN_tag *) (INTERNAL_MEMORY_BASE + 0x307080))
#define CAN_B (*( struct TOUCAN_tag *) (INTERNAL_MEMORY_BASE + 0x307480))
#define CAN_C (*( struct TOUCAN_tag *) (INTERNAL_MEMORY_BASE + 0x307880))
#define UIMB (*( struct UIMB_tag *) (INTERNAL_MEMORY_BASE + 0x307F80))
#define CALRAM_A (*( struct CALRAM_tag *) (INTERNAL_MEMORY_BASE + 0x380000))
#define CALRAM_B (*( struct CALRAM_tag *) (INTERNAL_MEMORY_BASE + 0x380040))
#define DPTRAM6K (*( struct DPTRAM_tag *) (INTERNAL_MEMORY_BASE + 0x300000))
#define DPTRAM4K (*( struct DPTRAM_tag *) (INTERNAL_MEMORY_BASE + 0x300040))
#define DLCMD2 (*( struct DLCMD2_tag *) (INTERNAL_MEMORY_BASE + 0x300080))
#endif /* ifndef _MPC565_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -