?? davincievm_gpio.h
字號:
/*
* Copyright 2005 by Spectrum Digital Incorporated.
* All rights reserved. Property of Spectrum Digital Incorporated.
*
* Not for distribution.
*/
/*
* GPIO header file
*
*/
#ifndef GPIO_
#define GPIO_
#ifdef __cplusplus
extern "C" {
#endif
#include "davincievm.h"
#define GPIO_IN 1
#define GPIO_OUT 0
/* ------------------------------------------------------------------------ *
* *
* GPIO Prototypes *
* *
* ------------------------------------------------------------------------ */
Int16 DAVINCIEVM_GPIO_init ( );
Int16 DAVINCIEVM_GPIO_setDirection( Uint16 number, Uint8 direction );
Int16 DAVINCIEVM_GPIO_setOutput ( Uint16 number, Uint8 value );
Int16 DAVINCIEVM_GPIO_getInput ( Uint16 number );
#ifdef __cplusplus
}
#endif
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -