You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
88 lines
2.6 KiB
C
88 lines
2.6 KiB
C
/** ###################################################################
|
|
** Filename : Events.C
|
|
** Project : RTOSDemo
|
|
** Processor : MC9S12C32CFU
|
|
** Beantype : Events
|
|
** Version : Driver 01.01
|
|
** Compiler : Metrowerks HC12 C Compiler
|
|
** Date/Time : 17/05/2005, 08:36
|
|
** Abstract :
|
|
** This is user's event module.
|
|
** Put your event handler code here.
|
|
** Settings :
|
|
** Contents :
|
|
** vTaskTickInterrupt - void vTaskTickInterrupt(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
|
|
** ###################################################################*/
|
|
/* MODULE Events */
|
|
|
|
|
|
/*Including used modules for compilling procedure*/
|
|
#include "Cpu.h"
|
|
#include "Events.h"
|
|
#include "Byte1.h"
|
|
#include "TickTimer.h"
|
|
#include "ButtonInterrupt.h"
|
|
|
|
/*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"
|
|
|
|
/*
|
|
** ===================================================================
|
|
** Event : vTaskTickInterrupt (module Events)
|
|
**
|
|
** From bean : TickTimer [TimerInt]
|
|
** Description :
|
|
** When a timer interrupt occurs this event is called (only
|
|
** when the bean is enabled - "Enable" and the events are
|
|
** enabled - "EnableEvent").
|
|
** Parameters : None
|
|
** Returns : Nothing
|
|
** ===================================================================
|
|
*/
|
|
void vTaskTickInterrupt(void)
|
|
{
|
|
/* Write your code here ... */
|
|
}
|
|
|
|
|
|
/*
|
|
** ===================================================================
|
|
** Event : ButtonInterrupt_OnInterrupt (module Events)
|
|
**
|
|
** From bean : ButtonInterrupt [ExtInt]
|
|
** Description :
|
|
** This event is called when the active signal edge/level
|
|
** occurs.
|
|
** Parameters : None
|
|
** Returns : Nothing
|
|
** ===================================================================
|
|
*/
|
|
void ButtonInterrupt_OnInterrupt(void)
|
|
{
|
|
/* place your ButtonInterrupt interrupt procedure body here */
|
|
}
|
|
|
|
|
|
/* END Events */
|
|
|
|
/*
|
|
** ###################################################################
|
|
**
|
|
** This file was created by UNIS Processor Expert 03.33 for
|
|
** the Motorola HCS12 series of microcontrollers.
|
|
**
|
|
** ###################################################################
|
|
*/
|