]> begriffs open source - cmsis-freertos/blob - Demo/HCS12_CodeWarrior_small/CODE/Events.C
Update cmsis_os2.c
[cmsis-freertos] / Demo / HCS12_CodeWarrior_small / CODE / Events.C
1 /** ###################################################################
2 **     Filename  : Events.C
3 **     Project   : RTOSDemo
4 **     Processor : MC9S12C32CFU
5 **     Beantype  : Events
6 **     Version   : Driver 01.01
7 **     Compiler  : Metrowerks HC12 C Compiler
8 **     Date/Time : 17/05/2005, 08:36
9 **     Abstract  :
10 **         This is user's event module.
11 **         Put your event handler code here.
12 **     Settings  :
13 **     Contents  :
14 **         vTaskTickInterrupt - void vTaskTickInterrupt(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 "Byte1.h"
31 #include "TickTimer.h"
32 #include "ButtonInterrupt.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       :  vTaskTickInterrupt (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 vTaskTickInterrupt(void)
55 {
56   /* Write your code here ... */
57 }
58
59
60 /*
61 ** ===================================================================
62 **     Event       :  ButtonInterrupt_OnInterrupt (module Events)
63 **
64 **     From bean   :  ButtonInterrupt [ExtInt]
65 **     Description :
66 **         This event is called when the active signal edge/level
67 **         occurs.
68 **     Parameters  : None
69 **     Returns     : Nothing
70 ** ===================================================================
71 */
72 void ButtonInterrupt_OnInterrupt(void)
73 {
74   /* place your ButtonInterrupt interrupt procedure body here */
75 }
76
77
78 /* END Events */
79
80 /*
81 ** ###################################################################
82 **
83 **     This file was created by UNIS Processor Expert 03.33 for 
84 **     the Motorola HCS12 series of microcontrollers.
85 **
86 ** ###################################################################
87 */