⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 events.h

📁 飞思卡尔智能车的sci例程用于大学生智能车大赛的串口调试
💻 H
字号:
/** ###################################################################
**     Filename  : Events.H
**     Project   : DG128
**     Processor : MC9S12DG128BCPV
**     Beantype  : Events
**     Version   : Driver 01.04
**     Compiler  : CodeWarrior HC12 C Compiler
**     Date/Time : 2008-2-25, 下午 12:45
**     Abstract  :
**         This is user's event module.
**         Put your event handler code here.
**     Settings  :
**     Contents  :
**         SCI0_OnRxCharExt - void SCI0_OnRxCharExt(Events_TComData Chr);
**         SCI0_OnTxChar    - void SCI0_OnTxChar(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 "SCI0.h"
#include "Byte1.h"

#pragma CODE_SEG DEFAULT

void SCI0_OnRxCharExt(SCI0_TComData Chr);
/*
** ===================================================================
**     Event       :  SCI0_OnRxCharExt (module Events)
**
**     From bean   :  SCI0 [AsynchroSerial]
**     Description :
**         This event is called after a correct character is
**         received. The last received character is passed as a
**         parameter of the event function.
**         Nevertheless, the last received character is placed in
**         the external buffer of the bean.
**         This event is identical in function with the <OnRxChar>
**         event with a parameter added. It is not recommended to
**         use both <OnRxChar> and OnRxCharExt events at the same
**         time.
**         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  :
**         NAME            - DESCRIPTION
**         Chr             - The last character correctly received.
**     Returns     : Nothing
** ===================================================================
*/

void SCI0_OnRxChar(void);
/*
** ===================================================================
**     Event       :  SCI0_OnRxChar (module Events)
**
**     From bean   :  SCI0 [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
** ===================================================================
*/

/* 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 + -