📄 testsysteminit.bak
字号:
/*
*******************************************************************************
** 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( );
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -