?? portio.h
字號:
/*****************************************************************//* Copyright (c) Texas Instruments, Incorporated 2000 *//*****************************************************************//*****************************************************************************/
/*****************************************************************************/
/* portio.h - Header file for portio_.asm */
/* */
/* */
/* FUNCTIONS: */
/* */
/* portRead() */
/* portWrite() */
/* */
/* */
/* STATIC FUNCTIONS: */
/* None */
/* */
/* */
/* GLOBAL VARIABLES DEFINED */
/* */
/* */
/*****************************************************************************/
#ifndef _PORTIO_H
#define _PORTIO_H
#include <type.h>
/*****************************************************************************/
/* s16 portRead(u16 port) */
/* */
/* This routine reads a word from the specified port. */
/* */
/* Parameters: */
/* - port - port address (HEX) */
/* */
/* Return: */
/* - returns value read from port. */
/* */
/* Notes: */
/* */
/*****************************************************************************/
s16 portRead(u16 port);
/*****************************************************************************/
/* portWrite(u16 port, s16 value) */
/* */
/* This routine writes a word to the specified port. */
/* */
/* Parameters: */
/* - port - port address (HEX) */
/* - value - 16 bit word to write. */
/* */
/* Return: */
/* - none */
/* */
/* Notes: */
/* */
/*****************************************************************************/
void portWrite(u16 port, s16 value);
#endif /* end of #ifndef _PORTIO_H */
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -