📄 events.h
字号:
/** ###################################################################
** Filename : Events.H
** Project : PMSM
** Processor : 56F8013
** Beantype : Events
** Version : Driver 01.02
** Compiler : Metrowerks DSP C Compiler
** Date/Time : 2005-2-28, 14:32
** Abstract :
** This is user's event module.
** Put your event handler code here.
** Settings :
** Contents :
** PWM_OnReload - void PWM_OnReload(void);
**
** (c) Copyright UNIS, spol. s r.o. 1997-2004
** UNIS, spol. s r.o.
** Jundrovska 33
** 624 00 Brno
** Czech Republic
** http : www.processorexpert.com
** mail : info@processorexpert.com
** ###################################################################*/
#ifndef __Events_H
#define __Events_H
/* MODULE Events */
#include "PE_Types.h"
#include "PE_Error.h"
#include "PE_Const.h"
#include "IO_Map.h"
#include "PWM.h"
#include "MFR.h"
#include "ADC1.h"
#include "PB413.h"
#include "TI1.h"
#include "TO1.h"
#include "ACRELAY.h"
#include "LEDSPI.h"
#include "SCIAS.h"
void PWM_OnReload(void);
/*
** ===================================================================
** Event : PWM_OnReload (module Events)
**
** From bean : PWM [PWMMC]
** Description :
** This event is called before PWM cycle according to reload
** frequency. (only when the bean is enabled - <Enable> and
** the events are enabled - <EnableEvent>) (event is
** available only if interrupt service/event is enabled).
** Parameters : None
** Returns : Nothing
** ===================================================================
*/
void TI2_OnInterrupt(void);
/*
** ===================================================================
** Event : TI2_OnInterrupt (module Events)
**
** From bean : TI2 [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 SCIAS_OnError(void);
/*
** ===================================================================
** Event : SCIAS_OnError (module Events)
**
** From bean : SCIAS [AsynchroSerial]
** Description :
** This event is called when a channel error (not the error
** returned by a given method) occurs. The errors can be
** read using <GetError> method.
** Parameters : None
** Returns : Nothing
** ===================================================================
*/
void SCIAS_OnFullRxBuf(void);
/*
** ===================================================================
** Event : SCIAS_OnFullRxBuf (module Events)
**
** From bean : SCIAS [AsynchroSerial]
** Description :
** This event is called when the input buffer is full.
** Parameters : None
** Returns : Nothing
** ===================================================================
*/
void TO1_OnFalling(void);
/*
** ===================================================================
** Event : TO1_OnFalling (module Events)
**
** From bean : TO1 [TimerOut]
** Description :
** This event is called at falling edge of the output signal.
** (only when the bean is enabled - "Enable" and the events
** are enabled - "EnableEvent").
** Parameters : None
** Returns : Nothing
** ===================================================================
*/
void TI1_OnInterrupt(void);
/*
** ===================================================================
** Event : TI1_OnInterrupt (module Events)
**
** From bean : TI1 [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
** ===================================================================
*/
/* END Events */
#endif /* __Events_H*/
/*
** ###################################################################
**
** This file was created by UNIS Processor Expert 2.95 [03.56]
** for the Freescale 56800 series of microcontrollers.
**
** ###################################################################
*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -