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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [HCS12_CodeWarrior_small/] [CODE/] [RTOSDemo.C] - Blame information for rev 623

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

Line No. Rev Author Line
1 588 jeremybenn
/** ###################################################################
2
**     Filename  : RTOSDemo.C
3
**     Project   : RTOSDemo
4
**     Processor : MC9S12C32CFU
5
**     Version   : Driver 01.05
6
**     Compiler  : Metrowerks HC12 C Compiler
7
**     Date/Time : 10/05/2005, 11:11
8
**     Abstract  :
9
**         Main module.
10
**         Here is to be placed user's code.
11
**     Settings  :
12
**     Contents  :
13
**         No public methods
14
**
15
**     (c) Copyright UNIS, spol. s r.o. 1997-2002
16
**     UNIS, spol. s r.o.
17
**     Jundrovska 33
18
**     624 00 Brno
19
**     Czech Republic
20
**     http      : www.processorexpert.com
21
**     mail      : info@processorexpert.com
22
** ###################################################################*/
23
/* MODULE RTOSDemo */
24
 
25
/* Including used modules for compilling procedure */
26
#include "Cpu.h"
27
#include "Events.h"
28
#include "Byte1.h"
29
#include "TickTimer.h"
30
#include "ButtonInterrupt.h"
31
/* Include shared modules, which are used for whole project */
32
#include "PE_Types.h"
33
#include "PE_Error.h"
34
#include "PE_Const.h"
35
#include "IO_Map.h"
36
 
37
extern void vMain( void );
38
 
39
void main(void)
40
{
41
  /*** Processor Expert internal initialization. DON'T REMOVE THIS CODE!!! ***/
42
  PE_low_level_init();
43
  /*** End of Processor Expert internal initialization.                    ***/
44
 
45
  /*Write your code here*/
46
 
47
  /* Just jump to the real main(). */
48
  __asm
49
  {
50
         jmp vMain
51
  }
52
 
53
  /*** Processor Expert end of main routine. DON'T MODIFY THIS CODE!!! ***/
54
    for(;;);
55
  /*** Processor Expert end of main routine. DON'T WRITE CODE BELOW!!! ***/
56
} /*** End of main routine. DO NOT MODIFY THIS TEXT!!! ***/
57
 
58
/* END RTOSDemo */
59
/*
60
** ###################################################################
61
**
62
**     This file was created by UNIS Processor Expert 03.33 for
63
**     the Motorola HCS12 series of microcontrollers.
64
**
65
** ###################################################################
66
*/

powered by: WebSVN 2.1.0

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