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

📄 mcucfg.h

📁 CodeWarrior for HCS12 V4.7
💻 H
字号:
/******************************************************************************
													Copyright (c) Motorola 2001
File Name		 :	$RCSfile: mcucfg.h,v $		
	
Engineer		 :	$Author: estyger $

Location		 :	EKB

Date Created	 :	05/07/2001

Current Revision :	$Revision: 1.1.1.1 $

Notes			:					

*******************************************************************************
Motorola reserves the right to make changes without further notice to any
product	herein to improve reliability, function	or design. Motorola does not
assume any liability arising out of the	application or use of any product,
circuit, or software described	herein;	neither	does it	convey any license
under its patent rights	nor the rights of others. Motorola products are	not
designed, intended, or authorized for use as components in systems intended for
surgical implant into the body, or other applications intended to support life,
or for any other application in which the failure of the  Motorola product
could create a	situation where	personal injury	or death may occur. Should
Buyer purchase or use Motorola products for any such unintended or
unauthorized application, Buyer shall idemnify and hold Motorola and its
officers, employees, subsidiaries, affiliates, and distributors	harmless
against	all claims costs, damages, and expenses, and reasonable	attorney fees 
arising	out of,	directly or indirectly,	any claim of personal injury or	death
associated with	such unintended	or unauthorized use, even if such claim alleges
that Motorola was negligent regarding the design or manufacture	of the part.
Motorola and the Motorola logo*	are registered trademarks of Motorola Ltd.
******************************************************************************/

#ifndef MCUCFG_H
#define MCUCFG_H

/************************* System Include Files ******************************/

/************************* Project Include Files *****************************/
#include "stdtypes.h"

/************************* typedefs ******************************************/

/************************* Extern Variables **********************************/


/************************* #Defines ******************************************/
/* Oscillator frequency in kHz */
#define	OSCCLK_FREQ_KHZ		4000L		/* must have "L" appended for F/ECLK_PRESCALER macro */
/* register values for PLL */
#define REFDV				0			/* fref = fosc / (REFDV+1) */
#define SYNR				5			/* fbus = fref*(SYNR+1) */
/* Bus frequency in kHz */
#define BUSCLK_FREQ_KHZ		OSCCLK_FREQ_KHZ*(SYNR+1)/(REFDV+1)		
/* register base address */
#define REG_BASE			0x0000		

/************************* Macros ********************************************/

/************************* Prototypes ****************************************/


#endif	/* End of Header file !defined	*/

⌨️ 快捷键说明

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