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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [HCS12_CodeWarrior_banked/] [CODE/] [Events.C] - Blame information for rev 588

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 588 jeremybenn
/** ###################################################################
2
**     Filename  : Events.C
3
**     Project   : RTOSDemo
4
**     Processor : MC9S12DP256BCPV
5
**     Beantype  : Events
6
**     Version   : Driver 01.01
7
**     Compiler  : Metrowerks HC12 C Compiler
8
**     Date/Time : 14/06/2005, 16:34
9
**     Abstract  :
10
**         This is user's event module.
11
**         Put your event handler code here.
12
**     Settings  :
13
**     Contents  :
14
**         TickTimer_OnInterrupt - void TickTimer_OnInterrupt(void);
15
**
16
**     (c) Copyright UNIS, spol. s r.o. 1997-2002
17
**     UNIS, spol. s r.o.
18
**     Jundrovska 33
19
**     624 00 Brno
20
**     Czech Republic
21
**     http      : www.processorexpert.com
22
**     mail      : info@processorexpert.com
23
** ###################################################################*/
24
/* MODULE Events */
25
 
26
 
27
/*Including used modules for compilling procedure*/
28
#include "Cpu.h"
29
#include "Events.h"
30
#include "TickTimer.h"
31
#include "Byte1.h"
32
#include "COM0.h"
33
 
34
/*Include shared modules, which are used for whole project*/
35
#include "PE_Types.h"
36
#include "PE_Error.h"
37
#include "PE_Const.h"
38
#include "IO_Map.h"
39
#include "PE_Timer.h"
40
 
41
/*
42
** ===================================================================
43
**     Event       :  TickTimer_OnInterrupt (module Events)
44
**
45
**     From bean   :  TickTimer [TimerInt]
46
**     Description :
47
**         When a timer interrupt occurs this event is called (only
48
**         when the bean is enabled - "Enable" and the events are
49
**         enabled - "EnableEvent").
50
**     Parameters  : None
51
**     Returns     : Nothing
52
** ===================================================================
53
*/
54
void TickTimer_OnInterrupt(void)
55
{
56
  /* Write your code here ... */
57
}
58
 
59
 
60
/*
61
** ===================================================================
62
**     Event       :  COM0_OnError (module Events)
63
**
64
**     From bean   :  COM0 [AsynchroSerial]
65
**     Description :
66
**         This event is called when a channel error (not the error
67
**         returned by a given method) occurs. The errors can be
68
**         read using  method.
69
**     Parameters  : None
70
**     Returns     : Nothing
71
** ===================================================================
72
*/
73
void COM0_OnError(void)
74
{
75
  /* Write your code here ... */
76
}
77
 
78
/*
79
** ===================================================================
80
**     Event       :  COM0_OnRxChar (module Events)
81
**
82
**     From bean   :  COM0 [AsynchroSerial]
83
**     Description :
84
**         This event is called after a correct character is
85
**         received. This
86
**     Parameters  : None
87
**     Returns     : Nothing
88
** ===================================================================
89
*/
90
void COM0_OnRxChar(void)
91
{
92
  /* Write your code here ... */
93
}
94
 
95
/*
96
** ===================================================================
97
**     Event       :  COM0_OnTxChar (module Events)
98
**
99
**     From bean   :  COM0 [AsynchroSerial]
100
**     Description :
101
**         This event is called after a character is transmitted.
102
**     Parameters  : None
103
**     Returns     : Nothing
104
** ===================================================================
105
*/
106
void COM0_OnTxChar(void)
107
{
108
  /* Write your code here ... */
109
}
110
 
111
/*
112
** ===================================================================
113
**     Event       :  COM0_OnFullRxBuf (module Events)
114
**
115
**     From bean   :  COM0 [AsynchroSerial]
116
**     Description :
117
**         This event is called when the input buffer is full.
118
**     Parameters  : None
119
**     Returns     : Nothing
120
** ===================================================================
121
*/
122
void COM0_OnFullRxBuf(void)
123
{
124
  /* Write your code here ... */
125
}
126
 
127
/*
128
** ===================================================================
129
**     Event       :  COM0_OnFreeTxBuf (module Events)
130
**
131
**     From bean   :  COM0 [AsynchroSerial]
132
**     Description :
133
**         This event is called after the last character in output
134
**         buffer is transmitted.
135
**     Parameters  : None
136
**     Returns     : Nothing
137
** ===================================================================
138
*/
139
void COM0_OnFreeTxBuf(void)
140
{
141
  /* Write your code here ... */
142
}
143
 
144
/* END Events */
145
 
146
/*
147
** ###################################################################
148
**
149
**     This file was created by UNIS Processor Expert 03.33 for
150
**     the Motorola HCS12 series of microcontrollers.
151
**
152
** ###################################################################
153
*/

powered by: WebSVN 2.1.0

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