📄 cpu.h
字号:
/*
** ###################################################################
**
** THIS BEAN MODULE IS GENERATED BY THE TOOL. DO NOT MODIFY IT.
**
** Filename : Cpu.H
**
** Project : LK24E
**
** Processor : MC68HC908LK24FAC_80
**
** Beantype : MC68HC908LK24_80
**
** Version : Bean 01.001, Driver 01.17, CPU db: 2.89.000
**
** Compiler : Metrowerks HC08 C Compiler
**
** Date/Time : 2004-1-3, 17:14
**
** Abstract :
**
** This bean "MC68HC908LK24_80" implements properties, methods,
** and events of the CPU.
**
** Settings :
**
** Clock setting
** External clock : 0.032768 MHz
** CPU mode selection : Monitor mode
** Initialization interrupt priority : 1
** LVI module : no
**
** Speed modes
** High speed clock : Main clock frequency / 1
** Internal bus clock : 0.008192 MHz
** Low speed mode : Disabled
** Slow speed mode : Disabled
**
** Contents :
**
** GetSpeedMode - byte Cpu_GetSpeedMode(void);
** EnableInt - void Cpu_EnableInt(void);
** DisableInt - void Cpu_DisableInt(void);
**
**
** (c) Copyright UNIS, spol. s r.o. 1997-2002
**
** UNIS, spol. s r.o.
** Jundrovska 33
** 624 00 Brno
** Czech Republic
**
** http : www.processorexpert.com
** mail : info@processorexpert.com
**
** ###################################################################
*/
#ifndef __Cpu
#define __Cpu
/*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 MC68HC908LK24_80)
**
** Description :
** Disable maskable interrupts
** Parameters : None
** Returns : Nothing
** ===================================================================
*/
#define Cpu_EnableInt() __EI() /* Enable interrupts */
/*
** ===================================================================
** Method : Cpu_EnableInt (bean MC68HC908LK24_80)
**
** Description :
** Enable maskable interrupts
** Parameters : None
** Returns : Nothing
** ===================================================================
*/
byte Cpu_GetSpeedMode(void);
/*
** ===================================================================
** Method : Cpu_GetSpeedMode (bean MC68HC908LK24_80)
**
** Description :
** Get current speed mode
** Parameters : None
** Returns :
** --- - Speed mode (HIGH_SPEED, LOW_SPEED,
** SLOW_SPEED)
** ===================================================================
*/
__interrupt void Cpu_Interrupt(void);
/*
** ===================================================================
** Method : Cpu_Interrupt (bean MC68HC908LK24_80)
**
** Description :
** This method is internal. It is used by Processor Expert
** only.
** ===================================================================
*/
__interrupt void Cpu_SWIInterrupt(void);
/*
** ===================================================================
** Method : Cpu_SWIInterrupt (bean MC68HC908LK24_80)
**
** Description :
** This method is internal. It is used by Processor Expert
** only.
** ===================================================================
*/
void PE_low_level_init(void);
/*
** ===================================================================
** Method : PE_low_level_init (bean MC68HC908LK24_80)
**
** Description :
** This method is internal. It is used by Processor Expert
** only.
** ===================================================================
*/
/* END Cpu. */
#endif /* ifndef __Cpu */
/*
** ###################################################################
**
** This file was created by UNIS Processor Expert 03.23 for
** the Motorola HC08 series of microcontrollers.
**
** ###################################################################
*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -