mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 17:48:33 -04:00
First version under SVN is V4.0.1
This commit is contained in:
parent
243393860c
commit
b6df57c7e3
918 changed files with 269038 additions and 0 deletions
111
Demo/HCS12_CodeWarrior_banked/CODE/Cpu.H
Normal file
111
Demo/HCS12_CodeWarrior_banked/CODE/Cpu.H
Normal file
|
@ -0,0 +1,111 @@
|
|||
/** ###################################################################
|
||||
** THIS BEAN MODULE IS GENERATED BY THE TOOL. DO NOT MODIFY IT.
|
||||
** Filename : Cpu.H
|
||||
** Project : RTOSDemo
|
||||
** Processor : MC9S12DP256BCPV
|
||||
** Beantype : MC9S12DP256_112
|
||||
** Version : Bean 01.148, Driver 01.09, CPU db: 2.87.283
|
||||
** Compiler : Metrowerks HC12 C Compiler
|
||||
** Date/Time : 14/06/2005, 16:34
|
||||
** Abstract :
|
||||
** This bean "MC9S12DP256_112" implements properties, methods,
|
||||
** and events of the CPU.
|
||||
** Settings :
|
||||
**
|
||||
** Contents :
|
||||
** 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
|
||||
|
||||
/* Active configuration define symbol */
|
||||
#define PEcfg_112pin 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"
|
||||
#include "PE_Timer.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 MC9S12DP256_112)
|
||||
**
|
||||
** Description :
|
||||
** Disable maskable interrupts
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#define Cpu_EnableInt() __EI() /* Enable interrupts */
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Cpu_EnableInt (bean MC9S12DP256_112)
|
||||
**
|
||||
** Description :
|
||||
** Enable maskable interrupts
|
||||
** Parameters : None
|
||||
** Returns : Nothing
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#pragma CODE_SEG __NEAR_SEG NON_BANKED /* Interrupt section for this module. Placement will be in NON_BANKED area. */
|
||||
|
||||
__interrupt void Cpu_Interrupt(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : Cpu_Interrupt (bean MC9S12DP256_112)
|
||||
**
|
||||
** Description :
|
||||
** This method is internal. It is used by Processor Expert
|
||||
** only.
|
||||
** ===================================================================
|
||||
*/
|
||||
|
||||
#pragma CODE_SEG DEFAULT /* Change code section to DEFAULT. */
|
||||
|
||||
void PE_low_level_init(void);
|
||||
/*
|
||||
** ===================================================================
|
||||
** Method : PE_low_level_init (bean MC9S12DP256_112)
|
||||
**
|
||||
** 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.33 for
|
||||
** the Motorola HCS12 series of microcontrollers.
|
||||
**
|
||||
** ###################################################################
|
||||
*/
|
Loading…
Add table
Add a link
Reference in a new issue