OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [HCS12_CodeWarrior_small/] [CODE/] [Cpu.H] - Blame information for rev 620

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 588 jeremybenn
/** ###################################################################
2
**     THIS BEAN MODULE IS GENERATED BY THE TOOL. DO NOT MODIFY IT.
3
**     Filename  : Cpu.H
4
**     Project   : RTOSDemo
5
**     Processor : MC9S12C32CFU
6
**     Beantype  : MC9S12C32_80
7
**     Version   : Bean 01.002, Driver 01.09, CPU db: 2.87.276
8
**     Compiler  : Metrowerks HC12 C Compiler
9
**     Date/Time : 17/05/2005, 08:36
10
**     Abstract  :
11
**         This bean "MC9S12C32_80" implements properties, methods,
12
**         and events of the CPU.
13
**     Settings  :
14
**
15
**     Contents  :
16
**         EnableInt   - void Cpu_EnableInt(void);
17
**         DisableInt  - void Cpu_DisableInt(void);
18
**         SetWaitMode - void Cpu_SetWaitMode(void);
19
**         SetStopMode - void Cpu_SetStopMode(void);
20
**
21
**     (c) Copyright UNIS, spol. s r.o. 1997-2002
22
**     UNIS, spol. s r.o.
23
**     Jundrovska 33
24
**     624 00 Brno
25
**     Czech Republic
26
**     http      : www.processorexpert.com
27
**     mail      : info@processorexpert.com
28
** ###################################################################*/
29
 
30
#ifndef __Cpu
31
#define __Cpu
32
 
33
/* Active configuration define symbol */
34
#define PEcfg_80pin 1
35
 
36
/*Include shared modules, which are used for whole project*/
37
#include "PE_Types.h"
38
#include "PE_Error.h"
39
#include "PE_Const.h"
40
#include "IO_Map.h"
41
#include "PE_Timer.h"
42
 
43
/* MODULE Cpu. */
44
 
45
 
46
/* Global variables */
47
extern volatile byte CCR_reg;          /* Current CCR reegister */
48
extern byte CpuMode;                   /* Current speed mode */
49
 
50
 
51
#define   Cpu_SetStopMode()  __asm("STOP") /* Set STOP mode */
52
/*
53
** ===================================================================
54
**     Method      :  Cpu_SetStopMode (bean MC9S12C32_80)
55
**
56
**     Description :
57
**         Set low power mode - Stop mode. For more information
58
**         about the stop mode see documentation of this CPU.
59
**     Parameters  : None
60
**     Returns     : Nothing
61
** ===================================================================
62
*/
63
 
64
#define   Cpu_SetWaitMode()  __asm("WAIT") /* Set WAIT mode */
65
/*
66
** ===================================================================
67
**     Method      :  Cpu_SetWaitMode (bean MC9S12C32_80)
68
**
69
**     Description :
70
**         Set low power mode - Wait mode. For more information
71
**         about the wait mode see documentation of this CPU.
72
**         Release from Watch mode: Reset or interrupt
73
**     Parameters  : None
74
**     Returns     : Nothing
75
** ===================================================================
76
*/
77
 
78
 
79
 
80
#define   Cpu_DisableInt()  __DI()     /* Disable interrupts */
81
/*
82
** ===================================================================
83
**     Method      :  Cpu_DisableInt (bean MC9S12C32_80)
84
**
85
**     Description :
86
**         Disable maskable interrupts
87
**     Parameters  : None
88
**     Returns     : Nothing
89
** ===================================================================
90
*/
91
 
92
#define   Cpu_EnableInt()  __EI()      /* Enable interrupts */
93
/*
94
** ===================================================================
95
**     Method      :  Cpu_EnableInt (bean MC9S12C32_80)
96
**
97
**     Description :
98
**         Enable maskable interrupts
99
**     Parameters  : None
100
**     Returns     : Nothing
101
** ===================================================================
102
*/
103
 
104
#pragma CODE_SEG __NEAR_SEG NON_BANKED /* Interrupt section for this module. Placement will be in NON_BANKED area. */
105
 
106
__interrupt void Cpu_Interrupt(void);
107
/*
108
** ===================================================================
109
**     Method      :  Cpu_Interrupt (bean MC9S12C32_80)
110
**
111
**     Description :
112
**         This method is internal. It is used by Processor Expert
113
**         only.
114
** ===================================================================
115
*/
116
 
117
#pragma CODE_SEG DEFAULT               /* Change code section to DEFAULT. */
118
 
119
void PE_low_level_init(void);
120
/*
121
** ===================================================================
122
**     Method      :  PE_low_level_init (bean MC9S12C32_80)
123
**
124
**     Description :
125
**         This method is internal. It is used by Processor Expert
126
**         only.
127
** ===================================================================
128
*/
129
 
130
/* END Cpu. */
131
 
132
#endif /* ifndef __Cpu */
133
/*
134
** ###################################################################
135
**
136
**     This file was created by UNIS Processor Expert 03.33 for
137
**     the Motorola HCS12 series of microcontrollers.
138
**
139
** ###################################################################
140
*/

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.