📄 events.h
字号:
/** ###################################################################
** Filename : Events.H
** Project : DP256B_PE_SPI
** Processor : MC9S12DP256BCPV
** Beantype : Events
** Version : Driver 01.04
** Compiler : CodeWarrior HC12 C Compiler
** Date/Time : 2007-4-29, 14:20
** Abstract :
** This is user's event module.
** Put your event handler code here.
** Settings :
** Contents :
** SM1_OnRxChar - void SM1_OnRxChar(void);
** SM1_OnTxChar - void SM1_OnTxChar(void);
** SM1_OnError - void SM1_OnError(void);
**
** (c) Copyright UNIS, spol. s r.o. 1997-2006
** 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 "SM1.h"
#pragma CODE_SEG DEFAULT
void SM1_OnRxChar(void);
/*
** ===================================================================
** Event : SM1_OnRxChar (module Events)
**
** From bean : SM1 [SynchroMaster]
** Description :
** This event is called after a correct character is
** received.
** The event is available only when the <Interrupt
** service/event> property is enabled.
** Parameters : None
** Returns : Nothing
** ===================================================================
*/
void SM1_OnTxChar(void);
/*
** ===================================================================
** Event : SM1_OnTxChar (module Events)
**
** From bean : SM1 [SynchroMaster]
** Description :
** This event is called after a character is transmitted.
** Parameters : None
** Returns : Nothing
** ===================================================================
*/
void SM1_OnError(void);
/*
** ===================================================================
** Event : SM1_OnError (module Events)
**
** From bean : SM1 [SynchroMaster]
** 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.
** The event is available only when the <Interrupt
** service/event> property is enabled.
** Parameters : None
** Returns : Nothing
** ===================================================================
*/
/* END Events */
#endif /* __Events_H*/
/*
** ###################################################################
**
** This file was created by UNIS Processor Expert 2.97 [03.83]
** for the Freescale HCS12 series of microcontrollers.
**
** ###################################################################
*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -