📄 events.c
字号:
/** ###################################################################
** Filename : Events.C
** Project : LM75A
** Processor : MC9S08QE8CFM
** Beantype : Events
** Version : Driver 01.02
** Compiler : CodeWarrior HCS08 C Compiler
** Date/Time : 2009-1-13, 15:18
** Abstract :
** This is user's event module.
** Put your event handler code here.
** Settings :
** Contents :
** I2C1_OnReceiveData - void I2C1_OnReceiveData(void);
** I2C1_OnTransmitData - void I2C1_OnTransmitData(void);
**
** (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
** ###################################################################*/
/* MODULE Events */
#include "Cpu.h"
#include "Events.h"
/*
** ===================================================================
** Event : I2C1_OnReceiveData (module Events)
**
** From bean : I2C1 [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 I2C1_OnReceiveData(void)
{
/* Write your code here ... */
}
/*
** ===================================================================
** Event : I2C1_OnTransmitData (module Events)
**
** From bean : I2C1 [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
** ===================================================================
*/
void I2C1_OnTransmitData(void)
{
/* Write your code here ... */
}
/* END Events */
/*
** ###################################################################
**
** 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -