📄 events.h
字号:
/** ###################################################################
** Filename : Events.H
** Project : NODE_A
** Processor : MC9S12C64CFA16
** Beantype : Events
** Version : Driver 01.04
** Compiler : Metrowerks HC12 C Compiler
** Date/Time : 2006-11-11, 13:11
** Abstract :
** This is user's event module.
** Put your event handler code here.
** Settings :
** Contents :
** CAN1_OnFullRxBuffer - void CAN1_OnFullRxBuffer(void);
** AS1_OnRxChar - void AS1_OnRxChar(void);
** TI1_OnInterrupt - void TI1_OnInterrupt(void);
**
** (c) Copyright UNIS, spol. s r.o. 1997-2005
** 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 "PE_Timer.h"
#include "TI1.h"
#include "AS1.h"
#include "PWM6.h"
#include "CAN1.h"
#include "Bits1.h"
#include "TO1.h"
#pragma CODE_SEG DEFAULT
void CAN1_OnFullRxBuffer(void);
/*
** ===================================================================
** Event : CAN1_OnFullRxBuffer (module Events)
**
** From bean : CAN1 [FreescaleCAN]
** Description :
** This event is called when the receive buffer is full
** after a successful reception of a message.
** Parameters : None
** Returns : Nothing
** ===================================================================
*/
void AS1_OnRxChar(void);
/*
** ===================================================================
** Event : AS1_OnRxChar (module Events)
**
** From bean : AS1 [AsynchroSerial]
** Description :
** This event is called after a correct character is
** received.
** DMA mode:
** If DMA controller is available on the selected CPU and
** the receiver is configured to use DMA controller then
** this event is disabled. Only OnFullRxBuf method can be
** used in DMA mode.
** 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.96 [03.76]
** for the Freescale HCS12 series of microcontrollers.
**
** ###################################################################
*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -