📄 ac48drus.h
字号:
/************************************************************************/
/* * AudioCodes Ltd. * Copyright (c) 1998 * */
/************************************************************************/
/* File Name: Ac48DrUs.h */
/************************************************************************/
/* PURPOSE : This header file contains the declarations of user */
/* functions to generate a reset signal into an */
/* appropriate pin, for the booting process: */
/* AC48xxResetAssert */
/* AC48xxResetRelease */
/* */
/* DATE : April 1999 */
/* UPDATES : December 1999 */
/* UPDATES : March 2000 */
/* */
/* COMMENTS : The user have to locate the defination of functions */
/* (the file Ac48DrUs.c) into the application directory. */
/* */
/************************************************************************/
/************************************************************************/
/* !!! PLEASE DO NOT EDIT THIS SECTION !!! */
/************************************************************************/
#ifndef UserDef_h
#define UserDef_h
#define LITTLE_ENDIAN 1
#define BIG_ENDIAN 2
#define IO_MAPPING 1
#define AC48_IF_DIRECT_ACCESS 2
#define AC48_ISA_IF_WINDOWS_DRIVER 3
#define AC48_PCI_IF_WINDOWS_PC04_DRIVER 4
#define AC4804IF_WINDOWS_PCI_AVP_DRIVER 5
#define AC4804_DEVICE 1
#define AC481XX_DEVICE 2
#define AC4830X_DEVICE 3
#define AC48_BASIC_SIGNALING_MODE 1
#define AC48_EXTENDED_SIGNALING_MODE 2
/************************************************************************/
/* For user's definitions - correct defaults appropriatly. */
/************************************************************************/
#define AC48_DEVICE AC481XX_DEVICE
#define NUMBER_OF_CHANNELS 5
#define AC48_SIGNALING_MODE AC48_EXTENDED_SIGNALING_MODE
#define AC48_TIME_OUT 500
// for backward compatibility of versions until V-120,
// in addition to "EXTENDED_FAX_COMMAND",
// definition must be added:
//#define OLD_VERSION_OF_EXTENDED_FAX_COMMAND
#define EXTENDED_FAX_COMMAND
#define ENDIAN_MODE LITTLE_ENDIAN /* LITTLE_ENDIAN or BIG_ENDIAN */
/* ENDIAN_MODE == LITTLE_ENDIAN_MODE is */
/* an Intel type: the field-order into */
/* a byte is from Lsb to Msb. */
#define NUMBER_OF_AC48_DEVICES 2 /* > 0 */
/* "IO_MAPPING" or */
/* "AC48_IF_DIRECT_ACCESS" or */
/* "AC48_IF__WINDOWS_DRIVER" */
/* (for use in HWdrv.h) */
#define AC4804IF_TYPE AC48_PCI_IF_WINDOWS_PC04_DRIVER
/* unsigned int FirstAc48xxHPIAddress; a physical address, devided */
/* by 16, or 0x10, or 4 shifts right. shall initialize by the user */
#define VOICE_COMMAND_TEST_MODE // include SID Adaptation Disable
/************************************************************************/
#if __cplusplus
extern "C" {
#endif
/* U S E R D E F I N E D F U N C T I O N S */
/*======================================================================*/
/* Name : Ac48xxResetAssert */
/*======================================================================*/
/* Purpose : Reset device for begine a Booting proccess. */
/* This function performs: Reset = 0 and enables the */
/* download of the kernel into the AC48 */
/* */
/* Input : An integer, performing the device index. */
/*======================================================================*/
void Ac48xxResetAssert(int DeviceIndex);
/*======================================================================*/
/* Name : Ac48xxResetRelease */
/*======================================================================*/
/* Purpose : Freeing the device from Reset after a Booting proccess */
/* is completed. */
/* This function performs: Reset = 1 and enables the */
/* download of the rest of the executive program */
/* (after the kernel has been downloaded) into the AC48. */
/* */
/* Input : An integer, performing the device index. */
/*======================================================================*/
void Ac48xxResetRelease(int DeviceIndex);
/*======================================================================*/
/* Name : Ac48xxResponseDelay */
/*======================================================================*/
void Ac48xxResponseDelay();
/*int ErrorHandler(int ErrorCode, char *Label);*/
#if __cplusplus
}
#endif
#endif /* UserDef_h */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -