Technical information

CSI to SPI Peripheral Communication in V850ES Microcontrollers
4.1.10 Serial_user.c
/*
*****************************************************************************
**
** This device driver was created by Applilet for the V850ES/KX1+
** 32-Bit Single-Chip Microcontrollers
**
** Copyright(C) NEC Electronics Corporation 2002-2004
** All rights reserved by NEC Electronics Corporation
**
** This program should be used on your own responsibility.
** NEC Electronics Corporation assumes no responsibility for any losses
incurred
** by customers or third parties arising from the use of this file.
**
** Filename : serial_user.c
** Abstract : This file gives callback functions for serial module.
** APIlib: V850ESKX1H.lib V1.33 [24 Sep 2004]
**
Device: uPD70F3318Y
**
** Compiler: NEC/CA850
**
*****************************************************************************
*/
/*
** *************************************************************************
** Include files
** *************************************************************************
*/
#include "macrodriver.h"
#include "serial.h"
/* global data */
/* flag set by CALL_CSI00_Send() to signal end of transmission */
volatile MD_STATUS CSI00_SendDone;
/* flag set by CALL_CSI00_Receive to signal reception done */
volatile MD_STATUS CSI00_ReceiveDone;
/*
**---------------------------------------------------------------------------
**
** Abstract:
** This function is a call back function to deal with data process after
** some frame(s) data transfering of CSI00 interface.
**
** Parameters:
** None.
**
** Returns:
** None.
**
**---------------------------------------------------------------------------
*/
66