freescale
来自「Freescale 系列单片机常用模块与综合系统设计」· 代码 · 共 74 行
TXT
74 行
/** ###################################################################
** Filename : Events.H
** Project : IIC_Master
** Processor : MC9S08JM60CLHE
** Component : Events
** Version : Driver 01.02
** Compiler : CodeWarrior HCS08 C Compiler
** Date/Time : 2010-1-15, 8:45
** Abstract :
** This is user's event module.
** Put your event handler code here.
** Settings :
** Contents :
** No public methods
**
** ###################################################################*/
#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 "I2C_Master.h"
void I2C_Master_OnReceiveData(void);
/*
** ===================================================================
** Event : I2C_Master_OnReceiveData (module Events)
**
** Component : I2C_Master [InternalI2C]
** Description :
** This event is invoked when I2C finishes the reception of
** the data successfully. This event is not available for
** the SLAVE mode and if both RecvChar and RecvBlock are
** disabled. This event is enabled only if interrupts/events
** are enabled.
** Parameters : None
** Returns : Nothing
** ===================================================================
*/
void I2C_Master_OnTransmitData(void);
/*
** ===================================================================
** Event : I2C_Master_OnTransmitData (module Events)
**
** Component : I2C_Master [InternalI2C]
** Description :
** This event is invoked when I2C finishes the transmission
** of the data successfully. This event is not available for
** the SLAVE mode and if both SendChar and SendBlock are
** disabled. This event is enabled only if interrupts/events
** are enabled.
** Parameters : None
** Returns : Nothing
** ===================================================================
*/
/* END Events */
#endif /* __Events_H*/
/*
** ###################################################################
**
** This file was created by Processor Expert 3.07 [04.34]
** for the Freescale HCS08 series of microcontrollers.
**
** ###################################################################
*/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?