Technical information
SCI to SPI Peripheral Communication in V850ES Microcontrollers
** None
**
**---------------------------------------------------------------------------
*/
void SystemInit( void )
{
_rcopy(&_S_romp, -1);
__asm("di"); /* disable interrupt */
PORT_Init( ); /* Port initiate */
TM00_Init( ); /* TM00 initiate */
__asm("ei"); /* enable interrupt */
}
4.1.6 Port.h
/*
*****************************************************************************
**
** 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 : port.h
** Abstract : This file implements a device driver for the PORT module
** APIlib: V850ESKX1H.lib V1.33 [24 Sep 2004]
**
Device: uPD70F3318Y
**
** Compiler: NEC/CA850
**
*****************************************************************************
*/
#ifndef _MDPORT_
#define _MDPORT_
/*
** **************************************************************************
** MacroDefine
** **************************************************************************
*/
#define PORT_PMC0 0x0
#define PORT_PM0 0xff
#define PORT_PU0 0x0
#define PORT_P0 0x0
#define PORT_PU1 0x0
57