?? systeminit.c
字號:
/*
*******************************************************************************
**
** This device driver was created by Applilet2 for 78K0R/Kx3
** 16-Bit Single-Chip Microcontrollers
**
** Copyright(C) NEC Electronics Corporation 2002 - 2008
** 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 : systeminit.c
** Abstract : This file implements system initializing function.
** APIlib : Applilet2 for 78K0R/Kx3 V2.10 [31 Jan. 2007]
**
** Device : uPD78F1166_A0
**
** Compiler : CC78K0R
**
** Creation date: 2008-7-16
**
*******************************************************************************
*/
/*
*******************************************************************************
** Include files
*******************************************************************************
*/
#include "macrodriver.h"
#include "user_define.h"
#include "TAU.h"
#include "System.h"
/*
*******************************************************************************
** Global define
*******************************************************************************
*/
/*
**-----------------------------------------------------------------------------
**
** Abstract:
** This function initializes every macro.
**
** Parameters:
** None
**
** Returns:
** None
**
**-----------------------------------------------------------------------------
*/
void SystemInit( void )
{
/*Process of reset*/
CG_ReadResetSource();
/*Initialize the clock generator*/
Clock_Init();
/*Initialize TAU function*/
TAU_Init();
}
/*
**-----------------------------------------------------------------------------
**
** Abstract:
** This function initializes hardware setting.
**
** Parameters:
** None
**
** Returns:
** None
**
**-----------------------------------------------------------------------------
*/
void hdwinit( void )
{
DI( );
SystemInit( );
EI( );
}
/* Start adding user code. Do not edit comment generated here */
/* End user code adding. Do not edit comment generated here */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -