📄 irda_api.h
字号:
///////////////////////////////////////////////////////////////////////////////
//
// ROCKWELL SEMICONDUCTOR SYSTEMS - WIRELESS COMMUNICATIONS DIVISION
//
///////////////////////////////////////////////////////////////////////////////
//
//
// irdaapi.h - irda user interface
//
//
// DESCRIPTION
//
// This files contains the structure used for the definition of the irda
// api interface.
//
//
// REVISION HISTORY (ORIGINAL AUTHOR: Ali Aiouaz)
//
// Rev 1.0 29 Mar 2003 luw
// Intial CheckIn
//
//
///////////////////////////////////////////////////////////////////////////////
//
// ROCKWELL CONFIDENTIAL AND PROPRIETARY
//
// This source is the sole property of Rockwell International. Reproduction
// or utilization of this source in whole or in part is forbidden without
// the written consent of Rockwell International.
//
// (c) Copyright Rockwell International, 1997. All Rights Reserved.
//
///////////////////////////////////////////////////////////////////////////////
// ----------------------- Constant / Macro Definitons ------------------------
#ifndef IRDA_API_H
#define IRDA_API_H
#include "wcdctypes.h"
#include "idevapi.h"
// ---------------------------- Type Declarations -----------------------------
// -------------------------- Variable Declarations ---------------------------
// --------------------------- Function Prototypes ----------------------------
//***************************************************************************
//
// Name: SDSOpenIrDA()
//
// Description: This function switch SDS to IrDA mode, must be calledc after
// SDSOpen.
//
// Parameters: - The Device Number
// - Device Read/Write Mode
// - SDS open parameters
//
// Return value: the status of SDS-IRDA
//
// Related Callback Events: None
//
//***************************************************************************
extern DEVSTATUS SDSOpenIrDA (USHORT DevNumber, DEVRWMODE Mode, VOID *pParams);
//***************************************************************************
//
// Name: SDSSetIrDABaudRate()
//
// Description: This function change IrDA Baudrate.
//
// Parameters: - The Device Handle
// - Device Baudrate
//
// Return value: the status of SDS-IRDA
//
// Related Callback Events: None
//
//***************************************************************************
extern DEVSTATUS SDSSetIrDABaudRate(DEVHANDLE DevHandle, ULONG BaudRate);
//***************************************************************************
//
// Name: SDSCloseIrDA()
//
// Description: This function close SDS IrDA mode.
//
// Parameters: - The Device Number
//
// Return value: the status of SDS-IRDA
//
// Related Callback Events: None
//
//***************************************************************************
extern DEVSTATUS SDSCloseIrDA(USHORT DevNumber);
#endif /* IRDA_API_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -