testuser.bak

来自「这是一个基于nec78f8024的led驱动程序」· BAK 代码 · 共 35 行

BAK
35
字号
/*
*******************************************************************************
**  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 :	user.h
**  Abstract :	This file implements the definition that relates to the Clock Generator
**              that reflects the setting in the GUI application.
**
**  Device :	uPD78F8024
**
**  Compiler :	NEC/CC78K0
**
*******************************************************************************
*/
#ifndef	_MDUSER_
#define _MDUSER_

/* clock generator type definition */
#define	CLOCK_TYPE_INTERNAL		0		/* Internal high-speed oscillator */
#define	CLOCK_TYPE_EXTOSC		1		/* External clock input */
#define	CLOCK_TYPE_EXTCRYSTAL	2		/* X1 oscillation by Crystal/ceramic resonator */

#define CLOCK_TYPE				CLOCK_TYPE_INTERNAL

#define OSCCTL_INIT_VALUE		0b00000000
#define RCM_INIT_VALUE			0b00000000
#define MOC_INIT_VALUE			0b10000000
#define MCM_INIT_VALUE			0b00000000

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?