⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 portio.h

📁 seed的滤波器设计程序
💻 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 */

⌨️ 快捷键说明

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