📄 cpu.h
字号:
/** ###################################################################
** THIS BEAN MODULE IS GENERATED BY THE TOOL. DO NOT MODIFY IT.
** Filename : Cpu.H
** Project : LowFreqSG
** Processor : MC68HC908LV8CFA
** Beantype : MC68HC908LV8_52
** Version : Bean 01.078, Driver 01.36, CPU db: 2.89.060
** Datasheet : MC68HC908LV8 Rev. 2 12/2005
** Compiler : CodeWarrior HC08 C Compiler
** Date/Time : 2006-9-6, 11:29
** Abstract :
** This bean "MC68HC908LV8_52" implements properties, methods,
** and events of the CPU.
** Settings :
** Clock setting
** External clock : 0.032768 MHz
** CPU mode selection : 1
** Initialization interrupt priority : 0
** Stop instruction enabled : no
** LVI module : no
**
** Speed modes
** High speed clock : Main clock frequency / 1
** Internal bus clock : 7.995392 MHz
** Low speed mode : Disabled
** Slow speed mode : Disabled
** Contents :
** EnableInt - void Cpu_EnableInt(void);
** DisableInt - void Cpu_DisableInt(void);
**
** (c) Copyright UNIS, spol. s r.o. 1997-2006
** UNIS, spol. s r.o.
** Jundrovska 33
** 624 00 Brno
** Czech Republic
** http : www.processorexpert.com
** mail : info@processorexpert.com
** ###################################################################*/
#ifndef __Cpu
#define __Cpu
/* Active configuration define symbol */
#define PEcfg_Release_908LV8_52 1
/*Include shared modules, which are used for whole project*/
#include "PE_Types.h"
#include "PE_Error.h"
#include "PE_Const.h"
#include "IO_Map.h"
/* MODULE Cpu. */
/* Global variables */
extern volatile byte CCR_reg; /* Current CCR reegister */
extern byte CpuMode; /* Current speed mode */
#define Cpu_DisableInt() __DI() /* Disable interrupts */
/*
** ===================================================================
** Method : Cpu_DisableInt (bean MC68HC908LV8_52)
**
** Description :
** Disables maskable interrupts
** Parameters : None
** Returns : Nothing
** ===================================================================
*/
#define Cpu_EnableInt() __EI() /* Enable interrupts */
/*
** ===================================================================
** Method : Cpu_EnableInt (bean MC68HC908LV8_52)
**
** Description :
** Enables maskable interrupts
** Parameters : None
** Returns : Nothing
** ===================================================================
*/
__interrupt void Cpu_Interrupt(void);
/*
** ===================================================================
** Method : Cpu_Interrupt (bean MC68HC908LV8_52)
**
** Description :
** This ISR services unhandled interrupt vectors.
** This method is internal. It is used by Processor Expert only.
** ===================================================================
*/
void PE_low_level_init(void);
/*
** ===================================================================
** Method : PE_low_level_init (bean MC68HC908LV8_52)
**
** Description :
** Initializes beans and provides common register initialization.
** The method is called automatically as a part of the
** application initialization code.
** This method is internal. It is used by Processor Expert only.
** ===================================================================
*/
/* END Cpu. */
#endif /* ifndef __Cpu */
/*
** ###################################################################
**
** This file was created by UNIS Processor Expert 2.98 [03.80]
** for the Freescale HC08 series of microcontrollers.
**
** ###################################################################
*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -