freescale

来自「Freescale 系列单片机常用模块与综合系统设计」· 代码 · 共 122 行

TXT
122
字号
/** ###################################################################
**     Filename  : Events.H
**     Project   : Pc_Communication
**     Processor : MC9S08JM60CLHE
**     Beantype  : Events
**     Version   : Driver 01.02
**     Compiler  : CodeWarrior HCS08 C Compiler
**     Date/Time : 2009-10-25, 14:56
**     Abstract  :
**         This is user's event module.
**         Put your event handler code here.
**     Settings  :
**     Contents  :
**         No public methods
**
**     (c) Copyright UNIS, spol. s r.o. 1997-2008
**     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 "Uart.h"


void Uart_OnError(void);
/*
** ===================================================================
**     Event       :  Uart_OnError (module Events)
**
**     From bean   :  Uart [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.
**         The event is available only when the <Interrupt
**         service/event> property is enabled.
**     Parameters  : None
**     Returns     : Nothing
** ===================================================================
*/

void Uart_OnRxChar(void);
/*
** ===================================================================
**     Event       :  Uart_OnRxChar (module Events)
**
**     From bean   :  Uart [AsynchroSerial]
**     Description :
**         This event is called after a correct character is
**         received.
**         The event is available only when the <Interrupt
**         service/event> property is enabled and either the
**         <Receiver> property is enabled or the <SCI output mode>
**         property (if supported) is set to Single-wire mode.
**     Parameters  : None
**     Returns     : Nothing
** ===================================================================
*/

void Uart_OnTxChar(void);
/*
** ===================================================================
**     Event       :  Uart_OnTxChar (module Events)
**
**     From bean   :  Uart [AsynchroSerial]
**     Description :
**         This event is called after a character is transmitted.
**     Parameters  : None
**     Returns     : Nothing
** ===================================================================
*/

void Uart_OnFullRxBuf(void);
/*
** ===================================================================
**     Event       :  Uart_OnFullRxBuf (module Events)
**
**     From bean   :  Uart [AsynchroSerial]
**     Description :
**         This event is called when the input buffer is full.
**     Parameters  : None
**     Returns     : Nothing
** ===================================================================
*/

void Uart_OnFreeTxBuf(void);
/*
** ===================================================================
**     Event       :  Uart_OnFreeTxBuf (module Events)
**
**     From bean   :  Uart [AsynchroSerial]
**     Description :
**         This event is called after the last character in output
**         buffer is transmitted.
**     Parameters  : None
**     Returns     : Nothing
** ===================================================================
*/

/* END Events */
#endif /* __Events_H*/

/*
** ###################################################################
**
**     This file was created by UNIS Processor Expert 3.03 [04.07]
**     for the Freescale HCS08 series of microcontrollers.
**
** ###################################################################
*/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?