port.h

来自「基于NEC单片的机的程序源码,关于PWM输出的程序.」· C头文件 代码 · 共 53 行

H
53 行
字号
/*
*******************************************************************************
**
**  This device driver was created by Applilet for the 78K0S/KB1+, 78K0S/KA1+,
**  78K0S/KY1+,78K0S/KU1+ 8-Bit Single-Chip Microcontrollers.
**
**  Copyright(C) NEC Electronics Corporation 2002-2006
**  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 device driver for port module.
**  APIlib :	NEC78K0SKX1+.lib V1.70 [7 Dec. 2006]
**
**  Device :	uPD78F9234
**
**  Compiler :	NEC/CC78K0
**
*******************************************************************************
*/

#ifndef	_MDPORT_
#define	_MDPORT_
/*
*******************************************************************************
**  MacroDefine
*******************************************************************************
*/
#define	PORT_PM0	0xff
#define	PORT_PU0	0x0
#define	PORT_P0	0x0
#define	PORT_PM2	0xff
#define	PORT_PU2	0x0
#define	PORT_P2	0x0
#define	PORT_PMC2	0x0
#define	PORT_PM3	0xff
#define	PORT_PU3	0x0
#define	PORT_P3	0x0
#define	PORT_PM4	0x1f
#define	PORT_PU4	0x0
#define	PORT_P4	0x0
#define	PORT_PM12	0xff
#define	PORT_PU12	0x0
#define	PORT_P12	0x0
#define	PORT_P13	0x0

void PORT_Init( void );

#endif

⌨️ 快捷键说明

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