📄 testport.h
字号:
/*
*******************************************************************************
** 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 : port.h
** Abstract : This file implements the definition that rerates to the PORT module.
**
** Device : uPD78F8024
**
** Compiler : NEC/CC78K0
**
*******************************************************************************
*/
#ifndef _MDPORT_
#define _MDPORT_
/*
*******************************************************************************
** MacroDefine
*******************************************************************************
*/
/* set value definition of port */
#define PORT_PM0 0b11111101
#define PORT_PU0 0b00000010
#define PORT_P0 0b00000000
#define PORT_PM1 0b00011111
#define PORT_PU1 0b00000000
#define PORT_P1 0b00000000
#define PORT_PM2 0b11111111
#define PORT_P2 0b00000000
#define PORT_PM3 0b11110111
#define PORT_PU3 0b00000000
#define PORT_P3 0b00000000
#define PORT_PM6 0b11111111
#define PORT_P6 0b00000000
#define PORT_PM12 0b11111111
#define PORT_PU12 0b00000000
#define PORT_P12 0b00000000
#define PORT_ADPC 0b00000000
/* function prototypes */
void PORT_Init( void );
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -