testboard.h
来自「这是一个基于nec78f8024的led驱动程序」· C头文件 代码 · 共 33 行
H
33 行
/*
*******************************************************************************
** 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 : BOARD.h
** Abstract : This file implements the definition that relates to the board control.
**
** Device : uPD78F8024
**
** Compiler : NEC/CC78K0
**
*******************************************************************************
*/
#ifndef _MDBOARD_
#define _MDBOARD_
/* mnemonic of port related to board control */
#define PORT_BOARD_ENABLE P0.1
/* board state definition */
#define BOARD_STATUS_SHUTDOWN 0x80
#define BOARD_STATUS_ENABLE 0x00
/* function prototypes */
void BOARD_init( void );
void changeBoardStatus(unsigned char ucStatus);
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?