?? testsysteminit.bak
字號(hào):
/*
*******************************************************************************
** COPYRIGHT (C) NEC Electronics Corporation 2008
** NEC ELECTRONICS CONFIDENTIAL AND PROPRIETARY
** All rights reserved by NEC Electronics Corporation.
** Use of copyright notice does not evidence publication.
**
** Filename : systeminit.c
** Abstract : This file implements macro initialization.
**
** Device : uPD78F8024
**
** Compiler : NEC/CC78K0
**
*******************************************************************************
*/
/*
*******************************************************************************
** Include files
*******************************************************************************
*/
#include "testmacrodriver.h"
#include "testsystem.h"
#include "testint.h"
#include "testport.h"
#include "testlvi.h"
#include "testwatchdogtimer.h"
#include "testbianhua.h"
/*
**-----------------------------------------------------------------------------
**
** function name:
** SystemInit
**
** Parameters:
** void
**
** Returns:
** void
**
**-----------------------------------------------------------------------------
*/
void SystemInit( void )
{
/* clock generator initialize */
Clock_Init();
/* port initialize */
PORT_Init();
/* interrupt control initialize */
INT_Init();
/* low-voltage detector initialize */
Lvi_Init();
/* watchdogtimer initialize */
WDT_Init();
testbianhua_init();
}
/*
**-----------------------------------------------------------------------------
**
** function name:
** hdwinit
**
** Parameters:
** void
**
** Returns:
** void
**
**-----------------------------------------------------------------------------
*/
void hdwinit( void )
{
DI( );
SystemInit( );
EI( );
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -