Maxim Integrated 73M1866B, 73M1966B User Manual

Page 1
Simplifying System In tegrationTM
73M1866B/73M1966B
Infineon TAPI High-Level Driver
User Guide
July, 2010
Rev. 2.2
UG_1x66B_021
Page 2
73M1866B/73M1966B TAPI High-Level Driver User Guide UG_1x66B_021
© 20 10 Teridian Semic onductor Corporation. All r igh ts r eserved . Teridian Semic onductor Corporati on is a registered trademark of Teridi an Semiconductor Corporation. Simplifying System Integ r ation i s a trademark of Teridian S emiconduct or C or poration . Linux is a regist er ed trademar k of Linus Torvalds. Asterisk is a registered trademark of Digium, Inc. All other trademarks ar e the property of thei r r espective owners.
Teridian Semiconductor Corporati on makes no warranty for the us e of its p r oduct s, other than expressly contained in the Comp any’s warranty d etailed in the Terid ian S emiconductor Corporation st andar d Terms and C onditions. The company assumes no responsibility for any errors which may appear in this document, reserves th e r i ght to change devic es or sp ecifications detailed herein at any time withou t notice and does n ot make any commitment to update the in formati on contained herein. Accordingl y, the reader is cautioned to verify that t his document is current by comparing it to the latest vers ion on http://www.teridian .com or by checking with your sales represen tative.
Teridian Semiconductor Corp., 6440 Oak Canyon, Sui te 100, I r vine, CA 92618
TEL (714) 508-8800, FAX (714) 508-8877, http://www.teridian.com
2 Rev. 2.2
Page 3
UG_1x66B_021 73M1866B/73M1966B TAPI High-Level Driver User Guide
Table of Contents
1
Introduction ................................................................................................................................... 5
1.1 Pu r pose an d Scope ................................................................................................................. 5
1.2 Conventions Used in this Guide ............................................................................................... 6
1.3 Acronyms................................................................................................................................. 6
2 Driver Service Interface ................................................................................................................. 7
2.1 Linux Ope r a t i ng Sy s tem ........................................................................................................... 7
2.2 Other Operating Systems ......................................................................................................... 7
3 IFX TAPI IOCTL Commands Descripti on ...................................................................................... 8
3.1 IFX_TAPI_CH_INIT ................................................................................................................. 9
3.2 IFX_TAPI_PCM_IF_CFG_SET .............................................................................................. 10
3.3 IFX_TAPI_PCM_CFG_SET ................................................................................................... 11
3.4 IFX_TAPI_PCM_CFG_GET ................................................................................................... 11
3.5 IFX_TAPI_PCM_ACTIVATION_SET ...................................................................................... 12
3.6 IFX_TAPI_PCM_ACTIVATION_GET ..................................................................................... 13
3.7 IFX_TAPI_EVENT_ENABLE .................................................................................................. 14
3.8 IFX_TAPI_EVENT_DISABLE ................................................................................................. 14
3.9 IFX_TAPI_EVENT_GET ........................................................................................................ 15
3.10 IFX_TAPI_VERSION_GET .................................................................................................... 15
3.11 IFX_TAPI_DEBUG_REPORT_SET........................................................................................ 16
3.12 IFX_TAPI_LINE_TYPE_SET.................................................................................................. 17
3.13 IFX_TAPI_PHONE_VOLUME_SET ....................................................................................... 18
3.14 IFX_TAPI_FXO_HOOK_SET ................................................................................................. 18
3.15 IFX_TAPI_FXO_FLASH_SET ................................................................................................ 19
3.16 IFX_TAPI_FXO_FLASH_CFG_SET ....................................................................................... 19
3.17 IFX_TAPI_FXO_BAT_ GET ................................................................................................... 20
3.18 IFX_TAPI_FXO_APOH_ GET ................................................................................................ 21
3.19 IFX_TAPI_FXO_RING_ GET ................................................................................................. 22
3.20 IFX_TAPI_FXO_POLARITY_ GET ......................................................................................... 23
3.21 IFX_TAPI_LASTERR ............................................................................................................. 24
3.22 IFX_TAPI_FXO_LINE_MODE_SET ....................................................................................... 25
4 Type and Structure Definitions ................................................................................................... 26
4.1 IFX_TAPI_CH_INIT_t............................................................................................................. 26
4.2 IFX_TAPI_PCM_IF_CFG_t .................................................................................................... 27
4.3 IFX_TAPI_PCM_ CFG_t ........................................................................................................ 28
4.4 IFX_TAPI_EVENT_t .............................................................................................................. 28
4.5 IFX_TAPI_LINE_TYPE_CFG_t .............................................................................................. 29
4.6 IFX_TAPI_FXO_LINE_MODES_t........................................................................................... 29
4.7 IFX_TAPI_LINE_VOLUME_t .................................................................................................. 30
4.8 IFX_TAPI_FXO_HOOK_t ....................................................................................................... 30
4.9 IFX_TAPI_FXO_FLASH_CFG_t............................................................................................. 30
4.10 IFX_TAPI_EVENT_ID_t ......................................................................................................... 31
4.11 M1966_DEBUG_TRACE_MASK............................................................................................ 31
4.12 M1966_CNTRY_CODE_XX ................................................................................................... 32
5 Related Documentation ............................................................................................................... 34
6 Contact Information ..................................................................................................................... 34
Revision H istory .................................................................................................................................. 35
Rev. 2.2 3
Page 4
73M1866B/73M1966B TAPI High-Level Driver User Guide UG_1x66B_021
Figures
Figure 1: Driver Architecture .................................................................................................................... 5
Tables
Table 1: Summary of I FX TAPI IOCTLs ................................................................................................... 8
Table 2: Summary of Types and Structure Definitions
............................................................................ 26
4 Rev. 2.2
Page 5
UG_1x66B_021 73M1866B/73M1966B TAPI High-Level Driver User Guide
Application
TAPI Driver
Teridian 73M1x66B Reference Driver
FXOCTL
(Command Line Interface)
TSC IOCTL
TAPI IOCTL
TSC IOCTL

1 Introduction

This document describes the functionalities of th e 73M1866B/73M1966B TAPI Driver. This driver software is provided as part of the Infineon BSP package for Danube, Vinax and AR9 platforms. Its design and implementation is tightly integ rated with Infin eon TAPI architecture, therefore, its sole purpose is to be used in Infineon TAPI environment. In addition to this TAPI driver, the Teredian 73 M1 866B/73M1966B Reference Driver is also required as for interface to the 73M1x66 chip set.
The 73M1x66B TAPI driver is bu ilt as a l oadabl e mod ule. It will b e brought into operation by a user application or by an operating system startup script. For Linux, the “insmod” command is used to insert the driver into the kernel. The “ insmod” command invokes the module_init() macro, which in turn runs the one-tim e in itialization funct ion of th e d river.

1.1 Purpose and Scope

IFX TAPI is the API l ayer used by In fineon. This vers ion of the Teridian TA PI driver i s comp l iant to IFX TAPI Version 3.8.3. This specification is avai lable from Infineon.
The 73M1x66B TAPI Driver provides the necessary system interfac es for t he control and management of the 73M1x66B. The driver supports ioctl calls from the appl ication and translates these to and from the device vi a the Reference Driver layer .
The scope of this document will includes only the TAPI driver’s user interface. Detail of intern al d river architecture can be found in the 73M1x66 B R eference Dri ver User Guide document.
Figure 1 illustrates the basic architecture model for the driver. The model is i ntended to be independent of processor and operati ng s ys tem. Layers above the r eference driver addres s software interfaces which may pre-exist for a given appl ication (e.g. Asterisk ®) and the layer below addresses hard ware related interfaces between the pr ocessor and th e 73M1 x66B devices .
Figure 1: Driver Architecture
Rev. 2.2 5
Page 6
73M1866B/73M1966B TAPI High-Level Driver User Guide UG_1x66B_021

1.2 Conventions Used in this Guide

This document uses the following conventions:
Software code, I OCTL names and data types are presented i n Cou r ier font.
A table with a blue header i s a summary tabl e. A table with a gray header is a det ail table.

1.3 Acronyms

APOH – An other Phone O ff Hook BSP – Board Support Package DAA – Data A ccess Arran gem ent FXO – Foreign eXchange Offic e IOCTL – I/O Control NOPOH – N o Phone Off Hook POH – Phone Off Hook
6 Rev. 2.2
Page 7
UG_1x66B_021 73M1866B/73M1966B TAPI High-Level Driver User Guide

2 Driver Service Interface

The Driver Ser vice provid es th e link between the FXO device and the us er application. Firs t, th e driver must be loaded and bonded into the operating syst em envir onment before this ser vice can be provided. Acc ess to the driver i s done via two file d escriptors – the d evice and channel file d escriptors. The device file descri ptor provides access to devi ce level management interface while the channel descriptor is used to m anage at the channel level interface. The driver supports multiple FXO channels through separated channel descriptors; however, only one d evice d escriptor is used.
The following sections describe how the driver is brought into action based on the operating system environment.

2.1 Linux Operating System

This description is valid for Linux 2.4 and 2.6. The 73M1x66 B driver takes the form of a Linux standard character device driver. It is brought i nto operation by a user application or by Linux startup script using
insmod command. This comm and inserts the driver module into the kernel which in turn registers with
the kernel using the default m aj or num ber of 221. Multiple FXO channels are supported vi a the use of minor number which can varies from 0 to 16. This minor n um ber ass ociated with the devic e and ch annel descriptors cr eated using mknod command. The driver expects the minor number 0 t o be associated with the device descriptor and the number from 1 to 16 with the channel descriptors. Device maj or and min or numbers are configurabl e at build time as descr i bed in the Reference Driver document.
The dev i ce and channel d escriptors must be created in the “/dev” direct ory at t he same time when the driver is ins mod i nto the kernel. The mknod command is used to c r eate those descript or s as illust r ated below:
mknod -m 660 /de v/ter10 c 221 0 mknod -m 660 /de v/ter11 c 221 1
In this example above one device d escriptor (ter10) is c r eated wit h major number 221, minor number 0, and one channel descr i ptor (ter11) is created with maj or number 221, mi nor nu m ber 1.
Once the driver is installed and the device/channel descriptors are created, the dri ver service can be accessed via standard C library
The foll owing illustrates how the device and chann el are opened, closed, and the ioctl access:
devfd = open("/dev/ter10",O_RDONLY|O_WRONLY); chanfd = open (“/ dev /ter11”,O_RDONLY|O_WRONLY); ioctl (devfd, M1 966 _EV ENT _GE T, &event_st ruc tur e); ioctl (chanfd, M1966_ATH1, NULL); close (devfd); close (chanfd);
Acc essing the dr iver using ioctl must be done via an opened des criptor. There are two t ypes of i octl command – the devic e level comm ands which can be acces sed by an opened devic e descr iptor and channel l evel commands, whic h can be accessed using an opened channel descriptor. S ection 3 describes the ioctl command.

2.2 Other Operating Systems

open(), close(), and ioctl() functions.
To be provided.
Rev. 2.2 7
Page 8
73M1866B/73M1966B TAPI High-Level Driver User Guide UG_1x66B_021
IFX_TAPI_CH_INIT
IFX_TAPI_PCM_IF_CFG_SET
IFX_TAPI_PCM_CFG_SET
IFX_TAPI_PCM_CFG_GET
IFX_TAPI_PCM_ACTIVATION_SET
IFX_TAPI_PCM_ACTIVATION_GET
IFX_TAPI_EVENT_ENABLE
IFX_TAPI_EVENT_DISABLE
IFX_TAPI_EVENT_GET
IFX_TAPI_VERSION_GET
IFX_TAPI_DEBUG_REPORT_SET
IFX_TAPI_LINE_TYPE_SET
IFX_TAPI_PHONE_VOLUME_SET
IFX_TAPI_FXO_HOOK_SET
IFX_TAPI_FXO_FLASH_SET
IFX_TAPI_FXO_FLASH_CFG_SET
IFX_TAPI_FXO_BAT_ GET
IFX_TAP I_F XO_ APO H_ GET
IFX_TAP I_F XO_ RIN G_ GET
IFX_TAPI_FXO_POLARITY_ GET
IFX_TAPI_LASTERR
IFX_TAPI_FXO_LINE_MODE_SET

3 IFX TAPI IOCTL Commands Description

Once the driver is successfully opened the application can control the oper ation of the device and the FXO channel . The application in user space communicates with the driver via standard Linux driver interface IOCTL calls. The following sections describe the d etail of each IO C TL command.
Some commands pertain to device l evel config urati on such as PCM inter face parameters; these must be called usi ng devic e descr iptor, while others are channel level commands and must be called using specific channel descriptor, if more than one channel is active. Table 1 provides a s um m ary of the IOCTLs.
Table 1: Summary of IFX TAP I IOCTLs
IOCTL Name Description Descriptor
Initializing FXO ch annel for operation. Channel Set PCM interface configuration. Device Set PCM configuration. Channel Retrieve PCM configurat ion. Channel Activate/Deactivate PCM channel. Channel Retrieve PCM activation state. Channel En able FXO event d etection. Channel Disable FXO event detec tion. Channel Retrieve FXO event. Device Retrieve driver version number. Device Set driver debug message t r ace mas k. Device Set l ine type – must be FXO only. Channel Set speaker phone/micro phone volume. Channel Iss ue on/off hook. Channel Iss ue flash hook. Channel Configure FXO hook flas h par ameter. Channel Retrieve bat tery status. Channel Retrieve APOH status. Channel Retrieve ring status. Channel Retrieve line pol ar ity s tatus. Channel Retrieve driver last error code. Device En able/D isabl e FXO channel. Channel
8 Rev. 2.2
Page 9
UG_1x66B_021 73M1866B/73M1966B TAPI High-Level Dr iv er User Guide
int
chan_fd
int
IFX_TAPI_CH_INIT
int

3.1 IFX_TAPI_CH_INIT

Description
Perfo r m all 73M1x66 channel initialization. This includes init ialize all defau lt registers and c ountry specific threshold parameters.
#define IFX_TAPI_CH_INIT _IO(IFX_TAPI_IOC_MAGIC, 0x0F)
Prototype
int ioctl ( int chan_fd, int IFX_TA PI_CH_INIT, unsigned long param );
Parameters
Data T ype Name Description
Channel descriptor. I/O control identifier for this operation.
unsigned long param
Return Values
The parameter poin ts to a IFX_TAPI_CH_INIT_t structure.
Data T ype Description
IFX_ERROR – Failed perform chann el initializ ation. IFX_SUCCESS – Successful.
Rev. 2.2 9
Page 10
73M1866B/73M1966B TAPI High-Level Driver User Guide UG_1x66B_021
int
dev_fd
int
IFX_TAPI_PCM_IF_CFG_SET
int

3.2 IFX_TAPI_PCM_IF_CFG_SET

Description
This ioctl configures the P CM interfac e.
#define IFX_TAPI_PCM_IF_CFG_SET _IO(IFX_TAPI_IOC_MAGIC, 0x11)
Prototype
int ioctl ( int dev_fd, int IFX_TA PI_PCM_IF_CFG_SET, unsigned long param );
Parameters
Data T ype Name Description
Device descriptor. I/O control identifier for this operation.
unsigned long param
Return Values
The parameter poin ts to a IFX_TAPI_PCM_IF_CFG_SET_t
structure.
Data T ype Description
IFX_ERROR – F ailed to configure PCM interface. IFX_SUCCESS – Successful.
10 Rev. 2.2
Page 11
UG_1x66B_021 73M1866B/73M1966B TAPI High-Level Dr iv er User Guide
int
chan_fd
int
IFX_TAPI_PCM_CFG_SET
unsigned long
param IFX_TAPI_PCM_CFG_t
int
chan_fd
int
IFX_TAPI_PCM_CFG_GET
The parameter poin ts to a
IFX_TAPI_PCM_CFG_t

3.3 IFX_TAPI_PCM_CFG_SET

Description
This ioctl configure the time slot for the PCM ch annel.
#define IFX_TAPI_PCM_CFG_SET _IO(IFX_TAPI_IOC_MAGIC, 0x04)
Prototype
int ioctl ( int chan_fd, int IFX_TAPI_PCM_CFG_SET, unsigned long param );
Parameters
Data T ype Name Description
Channel descriptor. I/O control identifier for this operation. The parameter poin ts to a
structure.
Return Values
Data T ype Description
int
IFX_ERROR – F ailed to configure PCM channel. IFX_SUCCESS – Successful.

3.4 IFX_TAPI_PCM_CFG_GET

Description
This ioctl retrieves the cu r r ent time slot confi guration for the PCM channel.
#define IFX_TAPI_PCM_CFG_GET _IO(IFX_TAPI_IOC_MAGIC, 0x05)
Prototype
int ioctl ( int chan_fd, int IFX_TAPI_PCM_CFG_GET, unsigned long param );
Parameters
Data T ype Name Description
Channel descriptor. I/O control identifier for this operation.
unsigned long param
structure.
Return Values
Data T ype Description
int
Rev. 2.2 11
IFX_ERROR – F ailed to retrieve PCM config. IFX_SUCCESS – Successful.
Page 12
73M1866B/73M1966B TAPI High-Level Driver User Guide UG_1x66B_021
int
chan_fd
int
IFX_TAPI_PCM_ACTIVATION_SET

3.5 IFX_TAPI_PCM_ACTIVATION_SET

Description
This s ervice activates / deactivates the PCM time sl ots configured for this channel.
#define IFX_TAPI_PCM_ACTIVATION_SET _IO(IFX_TAPI_IOC_MAGIC, 0x06)
Prototype
int ioctl ( int chan_fd, int IFX_TAPI_PCM_ACTIVATION_SET, unsigned long param );
Parameters
Data T ype Name Description
Channel descriptor. I/O control identifier for this operation.
unsigned long param
Return Values
The parameter defines t he act ivation status : 0 deacti vate the tim e slot, 1 activate the time slot.
Data T ype Description
int
IFX_ERROR – F ailed to perform PCM activati on set . IFX_SUCCESS – Successful.
12 Rev. 2.2
Page 13
UG_1x66B_021 73M1866B/73M1966B TAPI High-Level Dr iv er User Guide
int
chan_fd
int
IFX_TAPI_PCM_ACTIVATION_GET
which returns the status 0: The time slot

3.6 IFX_TAPI_PCM_ACTIVATION_GET

Description
This s ervice gets the activation status of the PCM tim e slots configured for t his chann el.
#define IFX_TAPI_PCM_ACTIVATION_GET _IO(IFX_TAPI_IOC_MAGIC, 0x07)
Prototype
int ioctl ( int chan_fd, int IFX_TAPI_PCM_ACTIVATION_GET, unsigned long param );
Parameters
Data T ype Name Description
Channel descriptor. I/O control identifier for this operation.
unsigned long param
Return Values
The parameter poin ts to an in teger is d eactivate, or 1: The time slot is
active.
Data T ype Description
int
IFX_ERROR – F ailed to retrieve PCM channel activation status. IFX_SUCCESS – Successful.
Rev. 2.2 13
Page 14
73M1866B/73M1966B TAPI High-Level Driver User Guide UG_1x66B_021
int
chan_fd
int
IFX_TAPI_EVENT_ENABLE
unsigned long
param
int
chan_fd
int
IFX_TAPI_EVENT_DISABLE
unsigned long
param

3.7 IFX_TAPI_EVENT_ENABLE

Description
En able detect i on of FXO even ts.
#define IFX_TAPI_EVENT_ENABLE _IO(IFX_TAPI_IOC_MAGIC, 0xC1)
Prototype
int ioctl ( int chan_fd, int IFX_TAPI_EVENT_ENABLE, unsigned long param );
Parameters
Data T ype Name Description
Channel descriptor. I/O control identifier for this operation. N/A.
Return Values
Data T ype Description
int
IFX_ERROR – F ailed to enab le event detection. IFX_SUCCESS – Successful.

3.8 IFX_TAPI_EVENT_DISABLE

Description
Disable detection of FXO events.
#define IFX_TAPI_EVENT_DISABLE _IO(IFX_TAPI_IOC_MAGIC, 0xC2)
Prototype
int ioctl ( int chan_fd, int IFX_TAPI_EVENT_DISABLE, unsigned long param );
Parameters
Data T ype Name Description
Channel descriptor. I/O control identifier for this operation. N/A.
Return Values
Data T ype Description
int
14 Rev. 2.2
IFX_ERROR – F ailed to dis abl e event detec tion. IFX_SUCCESS – Successful.
Page 15
UG_1x66B_021 73M1866B/73M1966B TAPI High-Level Dr iv er User Guide
int
dev_fd
int
IFX_TAPI_EVENT_GET
int
dev_fd
int
IFX_TAPI_EVENT_GET
unsigned long
param

3.9 IFX_TAPI_EVENT_GET

Description
Read FXO even t from the driver.
#define IFX_TAPI_EVENT_GET _IO(IFX_TAPI_IOC_MAGIC, 0xC0)
Prototype
int ioctl ( int dev_fd , int IFX_TAPI_EVENT_GET, unsigned long param );
Parameters
Data T ype Name Description
Device descr iptor . I/O control identifier for this operation.
unsigned long param
Return Values
Pointer t o an IFX_TAPI_EVENT_t structure.
Data T ype Description
int
IFX_ERROR – F ailed to read event. IFX_SUCCESS – Successful.

3.10 IFX_TAPI_VERSION_GET

Description
Retrieves the TAPI Driver version strin g.
#define IFX_TAPI_VERSION_GET _IO(IFX_TAPI_IOC_MAGIC, 0x00)
Prototype
int ioctl ( int dev_fd , int IFX_TAPI_VERSION_GET, unsigned long param );
Parameters
Data T ype Name Description
Device descr iptor . I/O control identifier for this operation. Pointer t o vers ion charac ter st r ing .
Return Values
Data T ype Description
int
Rev. 2.2 15
IFX_ERROR – F ailed to get TAP I version. IFX_SUCCESS – Successful.
Page 16
73M1866B/73M1966B TAPI High-Level Driver User Guide UG_1x66B_021
int
dev_fd
int
IFX_TAPI_DEBUG_REPORT_SET
Debug trace mask:
M1966_DEBUG_TRACE_MASK

3.11 IFX_TAPI_DEBUG_REPORT_SET

Description
Set the dri ver trac e mask to enable or disabl e r un-t ime trace mess ages. Mu l tiple t r ace mas ks can
#define IFX_TAPI_DEBUG_REPORT_SET _IO(IFX_TAPI_IOC_MAGIC, 0x12)
Prototype
int ioctl ( int dev_fd , int IFX_TAPI_DEBUG_REPORT_SET, unsigned long param );
Parameters
Data T ype Name Description
Device descr iptor . I/O control identifier for this operation.
unsigned long param
.
Return Values
Data T ype Description
int
IFX_ERROR – Failed to set debug report. IFX_SUCCESS – Successful.
16 Rev. 2.2
Page 17
UG_1x66B_021 73M1866B/73M1966B TAPI High-Level Dr iv er User Guide
int
chan_fd
int
IFX_TAPI_LINE_TYPE_SET
IFX_TAPI_LINE_TYPE_CFG_t struct.
int

3.12 IFX_TAPI_LINE_TYPE_SET

Description
This service configures the line type. Please note th at this command on l y ac cept FX O line type (IFX_TAPI_LINE_TYPE_FXO).
#define IFX_TAPI_LINE_TYPE_SET _IOW(IFX_TAPI_IOC_MAGIC, 0x47, int)
Prototype
int ioctl ( int chan_fd, int IFX_TAPI_LINE_TYPE_SET, unsigned long param );
Parameters
Data T ype Name Description
Channel descriptor. I/O control identifier for this operation.
unsigned long param
Return Values
The parameter is a poi nter to an
Data T ype Description
IFX_ERROR – F ailed to set line type. IFX_SUCCESS – Successful.
Rev. 2.2 17
Page 18
73M1866B/73M1966B TAPI High-Level Driver User Guide UG_1x66B_021
int
chan_fd
int
IFX_TAPI_PHONE_VOLUME_SET
IFX_TAPI_LINE_VOLUME_t
int
chan_fd
int
IFX_TAPI_FXO_HOOK_SET
unsigned long
param

3.13 IFX_TAPI_PHONE_VOLUME_SET

Description
Sets the speaker p hone and micr ophone volume settings.
#define IFX_TAPI_PHONE_VOLUME_SET _IOW(IFX_TAPI_IOC_MAGIC, 0x42, int)
Prototype
int ioctl ( int chan_fd, int IFX_TAPI_PHONE_VOLUME_SET, unsigned long param );
Parameters
Data T ype Name Description
Channel descriptor. I/O control identifier for this operation.
unsigned long param
Return Values
The parameter poin ts to an
structure.
Data T ype Description
int
IFX_ERROR – F ailed to set volume. IFX_SUCCESS – Successful.

3.14 IFX_TAPI_FXO_HOOK_SET

Description
Issues on-/off-hook in the fxo interf ace.
#define IFX_TAPI_FXO_HOOK_SET _IOW(IFX_TAPI_IOC_MAGIC, 0xDB, int)
Prototype
int ioctl ( int chan_fd, int IFX_TAPI_FXO_HOOK_SET, unsigned long param );
Parameters
Data T ype Name Description
Channel descriptor. I/O control identifier for this operation. Hook requested.
Return Values
Data T ype Description
int
18 Rev. 2.2
IFX_ERROR – Fai l ed to perform hook switch. IFX_SUCEESS – Successful.
Page 19
UG_1x66B_021 73M1866B/73M1966B TAPI High-Level Dr iv er User Guide
int
chan_fd
int
IFX_TAPI_FXO_FLASH_SET
unsigned long
param
int
chan_fd
int
IFX_TAPI_FXO_FLASH_CFG_SET

3.15 IFX_TAPI_FXO_FLASH_SET

Description
Issues flash-hook in the FXO interface.
#define IFX_TAPI_FXO_FLASH_SET _IOW(IFX_TAPI_IOC_MAGIC, 0xDC, int)
Prototype
int ioctl ( int chan_fd, int IFX_TAPI_FXO_FLASH_SET, unsigned long param );
Parameters
Data T ype Name Description
Channel descriptor. I/O control identifier for this operation. Parameter is not r equi r ed.
Return Values
Data T ype Description
int
IFX_ERROR – F ailed to perform hook flash. IFX_SUCCESS – Successful.

3.16 IFX_TAPI_FXO_FLASH_CFG_SET

Description
Configuration of t he fxo h ook.
#define IFX_TAPI_FXO_FLASH_CFG_SET _IOW(IFX_TAPI_IOC_MAGIC, 0xD7, int)
Prototype
int ioctl ( int chan_fd, int IFX_TAPI_FXO_FLASH_CFG_SET, unsigned long param );
Parameters
Data T ype Name Description
Channel descriptor. I/O control identifier for this operation.
unsigned long param
Return Values
Points to an
IFX_TAPI_FXO_FLASH_CFG_t
structure.
Data T ype Description
int
Rev. 2.2 19
IFX_ERROR – F ailed to set hook flash co nfig. IFX_SUCCESS – Successful.
Page 20
73M1866B/73M1966B TAPI High-Level Driver User Guide UG_1x66B_021
int
chan_fd
int
IFX_TAPI_FXO_BAT_GET
present).

3.17 IFX_TAPI_FXO_BAT_ GET

Description
Receives bat tery status from the FXO interface.
#define IFX_TAPI_FXO_BAT_GET _IOW(IFX_TAPI_IOC_MAGIC, 0xDD, int)
Prototype
int ioctl ( int chan_fd, int IFX_TAPI_FXO_BAT_GET, unsigned long param );
Parameters
Data T ype Name Description
Channel descriptor. I/O control identifier for this operation.
unsigned long param
Points to IFX_boolean_t type, indicat i ng the batter y s tatus
• IFX_TRUE if the FXO port is dis conn ected from th e PSTN (battery absent).
• IFX_FALSE if the FXO port is connected to the PSTN (battery
Return Values
Data T ype Description
int
IFX_ERROR – F ailed to read battery status. IFX_SUCCESS – Successful.
20 Rev. 2.2
Page 21
UG_1x66B_021 73M1866B/73M1966B TAPI High-Level Dr iv er User Guide
int
chan_fd
int
IFX_TAPI_FXO_APOH_GET
unsigned long
param
int

3.18 IFX_TAPI_FXO_APOH_ GET

Description
Retrieves APOH (another phone off-hook ) stat us of the fxo interf ace.
#define IFX_TAPI_FXO_APOH_GET _IOW(IFX_TAPI_IOC_MAGIC, 0xDF, int)
Prototype
int ioctl ( int chan_fd, int IFX_TAPI_FXO_APOH_GET, unsigned long param );
Parameters
Data T ype Name Description
Channel descriptor. I/O control identifier f or this operation.
to IFX_boolean_t type,
IFX_TRUE if APOH condition is verified. IFX_FALSE otherwise.
Return Values
Data T ype Description
IFX_ERROR – F ailed to read AP OH status. IFX_SUCCESS – Successful.
Rev. 2.2 21
Page 22
73M1866B/73M1966B TAPI High-Level Driver User Guide UG_1x66B_021
int
chan_fd
int
IFX_TAPI_FXO_RING_GET
int

3.19 IFX_TAPI_FXO_RING_ GET

Description
Receives ring st atus from the FXO in terface.
#define IFX_TAPI_FXO_RING_GET _IOW(IFX_TAPI_IOC_MAGIC, 0xE0, int)
Prototype
int ioctl ( int chan_fd, int IFX_TAPI_FXO_RING_GET, unsigned long param );
Parameters
Data T ype Name Description
Channel descriptor. I/O control identifier for this operation.
unsigned long param
Return Values
Data T ype Description
IFX_ERROR – F ailed to read ring st atus. IFX_SUCCESS – Successful.
Points to IFX_boolean_t type,indicating
the ringing status of the FXO line.
• IFX_TRUE the line is ringin g.
• IFX _FALSE the li ne is not ringi ng.
22 Rev. 2.2
Page 23
UG_1x66B_021 73M1866B/73M1966B TAPI High-Level Dr iv er User Guide
int
chan_fd
int
IFX_TAPI_FXO_POLARITY_GET
unsigned long
param

3.20 IFX_TAPI_FXO_POLARITY_ GET

Description
Receives line polarit y status from the FXO interface.
#define IFX_TAPI_FXO_POLARITY_GET _IOW(IFX_TAPI_IOC_MAGIC, 0xE1, int)
Prototype
int ioctl ( int chan_fd, int IFX_TAPI_FXO_POLARITY_GET, unsigned long param );
Parameters
Data T ype Name Description
Channel descriptor. I/O control identifier for this operation. Points to IFX_boolean_t type,
• IFX _TRUE refl ects normal polari ty,
• IFX _FALSE reflects reversed polarity
Return Values
Data T ype Description
int
IFX_ERROR – F ailed to read polarity s tatus. IFX_SUCCESS – Successful.
Rev. 2.2 23
Page 24
73M1866B/73M1966B TAPI High-Level Driver User Guide UG_1x66B_021
int
dev_fd
int
IFX_TAPI_LASTERR
IFX_TAPI_ErrorLine_t

3.21 IFX_TAPI_LASTERR

Description
This s ervice returns the last error code occurred i n the TAPI driver or the low level driver.
#define IFX_TAPI_LASTERR _IOW(IFX_TAPI_IOC_MAGIC, 0x48, int)
Prototype
int ioctl ( int dev_fd , int IFX_TAPI_LASTERR, unsigned long param );
Parameters
Data T ype Name Description
Device descr iptor . I/O control identifier for this operation.
unsigned long param
Return Values
The parameter poin ts to a
structure.
Data T ype Description
int
IFX_ERROR – F ailed to read last error code. IFX_SUCCESS – Successful.
24 Rev. 2.2
Page 25
UG_1x66B_021 73M1866B/73M1966B TAPI High-Level Dr iv er User Guide
int
chan_fd
int
IFX_TAPI_FXO_LINE_MODE_SET
unsigned long
param IFX_TAPI_FXO_LINE_MODES_t

3.22 IFX_TAPI_FXO_LINE_MODE_SET

Description
This service is used to manage (enable/d isabl e) the FXO chan nel. When disabl e d, the FXO channel is inoperative and it does not monit or the physical l i ne for chan nel events, nor will it detect an y incoming ring sig nal. H owever, it can be put back in op er ation using this ioctl with the “enable” parameter.
#define IFX_TAPI_FXO_LINE_MODE_SET _IOW(IFX_TAPI_IOC_MAGIC, 0xE4, int)
Prototype
int ioctl ( int dev_fd , int IFX_TAPI_FXO_LINE_MODE_SET, unsigned long param );
Parameters
Data T ype Name Description
Channel descriptor. I/O control identifier for this operation. The parameter poin ts to a
structure.
Return Values
Data T ype Description
int
IFX_ERROR – F ailed to set line mode. IFX_SUCCESS – Successful.
Rev. 2.2 25
Page 26
73M1866B/73M1966B TAPI High-Level Driver User Guide UG_1x66B_021
IFX_TAPI_CH_INIT
IFX_TAPI_PCM_IF_CFG_SET
IFX_TAPI_PCM_ CFG_t
IFX_TAPI_EVENT_GET
IFX_TAPI_LINE_TYPE_SET
IFX_TAPI_FXO_LINE_MODES_t
IFX_TAPI_LINE_TYPE_SET
IFX_TAPI_LINE_VOLUME_t
IFX_TAPI_FXO_HOOK_t IFX_TAPI_FXO_HOOK_SET
IFX_TAPI_FXO_FLASH_CFG_t
IFX_TAPI_FXO_FLASH_CFG_SET
IFX_TAPI_EVENT_ID_t
M1966_DEBUG_TRACE_MASK
IFX_TAPI_DEBUG_REPORT_SET
M1966_CNTRY_CODE_XX
IFX_TAPI_CH_INIT
Unsigned char
nMode

4 Type and Structure Definitions

This section describes the type definitions, data types and structures used in the 73M1x66B TAPI driver.
Table 2: Summary of Types and Structure Definitions
Structure/Type Name Description
IFX_TAPI_CH_INIT_t IFX_TAPI_PCM_IF_CFG_t
IFX_TAPI_EVENT_t IFX_TAPI_LINE_TYPE_CFG_t

4.1 IFX_TAPI_CH_INIT_t

TAPI initialization stru cture used by PCM interface configuration structure used by
.
Structure for PCM channel configuration. Structure reported by an
Line type configuration used by Enumerates possible FXO channel management commands used
by the Configures phone volume set tings. Defines th e possi ble h ook status for FXO, used in
. FXO hook configuration, used in Lis t of event IDs . Trace macros used by ioctl Country code mac r os used by ioctl
ioctl.
ioctl.
.
.
.
.
.
Description TAPI initialization stru cture used by IFX_TAPI_CH_INIT.
Prototype
typedef struct {
unsigned char nMode; unsigned char nCountry; void * pProc;
} IFX_TAPI_CH_INIT_t;
Parameters
Data T ype Name Description
N/A.
Unsigned char nCountry
Void * pProc
Country code as defined in M1966_CNTRY_CODE_XX.
For details, see the 73M1866/73M1966 Reference Driver User Guide.
26 Rev. 2.2
Page 27
UG_1x66B_021 73M1866B/73M1966B TAPI High-Level Dr iv er User Guide
IFX_TAPI_PCM_IF_MODE_t
nOpMode
IFX_TAPI_PCM_IF_SLOPE_t
nSlopeRX IFX_TAPI_PCM_IF_OFFSET_t
nOffsetTX
IFX_TAPI_PCM_IF_OFFSET_t
nOffsetRX
IFX_TAPI_PCM_IF_DRIVE_t
nDrive

4.2 IFX_TAPI_PCM_IF_CFG_t

Description
Structure for PCM interface configuration used by IFX_TAPI_PCM_IF_CFG_SET.
Prototype
typedef struct {
} IFX_TAPI_PCM_IF_CFG_t;
Parameters
Data T ype Name Description
IFX_TAPI_PCM_IF_DCLFREQ_t nDCLFreq
IFX_operation_t nDoubleClk
IFX_TAPI_PCM_IF_SLOPE_t nSlopeTX
IFX_operation_t nShift
IFX_uint8_t nMCTS
IFX_TAPI_PCM_IF_MODE_t nOpMode; IFX_TAPI_PCM_IF_DCLFREQ_t nDCLFreq; IFX_ope rat ion _t nDo ubleClk; IFX_TAPI_PCM_IF_SLOPE_t nSlopeTX; IFX_TAPI_PCM_IF_SLOPE_t nSlopeRX; IFX_TAP I_P CM_ IF_ OFFSET_t nOf fse tTX ; IFX_TAP I_P CM_ IF_ OFFSET_t nOf fse tRX ; IFX_TAPI_PCM_IF_DRIVE_t nDrive; IFX_ope rat ion _t nSh ift; IFX_uint8_t nMCTS;
PCM interfac e mod e ( master or slave mod e) . DCL frequency to be used i n master and/or slave
mode. Activation/deactiv ation of the doub le clock mode.
•IFX_DISABL E: s ing le clocking is used.
•IFX_ENABLE: double clocking is used. Slope to b e consi dered for the PCM transmit
direction. Slope t o be consid er ed for the PCM r eceive
direction. Transmit bit offset. Receive bit offset. Drive mode for bit 0. Enable/disable shift acc ess edge.
Shift the access edges by one clock cycle.
• IFX_DISABLE: no shift takes place.
• IFX_ENABLE: shift takes place. Note: This setting is defined only in double clock mode.
Reserved.PCM chip specific settings. Set this field to 0x00 if not advised otherwise by the IFX support team.
Rev. 2.2 27
Page 28
73M1866B/73M1966B TAPI High-Level Driver User Guide UG_1x66B_021
unsigned long
nTimeslotRX
unsigned long
nTimeslotTX
unsigned long
nHighway
IFX_TAPI_PCM_RES_t
IFX_TAPI_EVENT_ID_t
id
IFX_uint16_t
ch
IFX_TAPI_EVENT_DATA_t
data

4.3 IFX_TAPI_PCM_ CFG_t

Description
Structure for PCM channel configuration.
Prototype
typedef struct {
unsigned long nTimeslotRX; unsigned long nTimeslotTX; unsigned long nHighway; unsigned long nResolution;
} IFX_TAPI_PCM_CFG_t;
Parameters
Data T ype Name Description
PCM timeslot for th e r eceive direction. PCM timeslot for th e transmit direction. Defines the PCM highway number which is
connected to the channel.
unsigned long nResolution
Defines the PCM in terface coding, values defi ned in
.

4.4 IFX_TAPI_EVENT_t

Description
This structure is reported by an IFX_TAPI_EVENT_GET ioctl.
Prototype
typedef struct {
} IFX_TAPI_EVENT_t;
Parameters
Data T ype Name Description
IFX_uint16_t more
IFX_TAPI_EVENT_ID_t id; IFX_uin t16 _t ch; IFX_uin t16 _t mor e; IFX_TAP I_E VEN T_D ATA_t data;
Event type and sub-type. FXO channel number . This field i s used to report whether new e vent s are
ready (IFX_TRUE ) or not (IFX _FALSE ). N/A
28 Rev. 2.2
Page 29
UG_1x66B_021 73M1866B/73M1966B TAPI High-Level Dr iv er User Guide
IFX_TAPI_LINE_TYPE_FXO
IFX_uint8_t
nDaaCh
IFX_TAPI_FXO_LINE_MODE_DISABLED
0
IFX_TAPI_FXO_LINE_MODE_ACTIVE
1

4.5 IFX_TAPI_LINE_TYPE_CFG_t

Description
Line type configuration used by ioctl IFX_TAPI_LINE_TYPE_SET.
Prototype
typedef struct {
} IFX_TAPI_LINE_TYPE_CFG_t;
Data T ype Name Description
IFX_TAPI_LINE_TYPE_t lineType
IFX_TAPI_LINE_TYPE_t lineType; IFX_uint8_t nDaaCh;
Must be N/A
.

4.6 IFX_TAPI_FXO_LINE_MODES_t

Description
This data type enumerates possib le FXO channel m anagement c ommands used by the IFX_TAPI_LINE_TYPE_SET ioctl.
Prototype
/** Defines the possible line modes for fxo, used in IFX_TAPI_FXO_LINE_MODES_t */
typedef enum { /** Dis abl ed. */ IFX_TAPI_FXO_LINE_MODE_DISABLED = 0, /** Act ive . */ IFX_TAPI_FXO_LINE_MODE_ACTIVE = 1 } IFX_TAPI_FXO_LINE_MODES_t;
Data T ype Name Description
Disable FXO channel.
Enable FXO channel.
Rev. 2.2 29
Page 30
73M1866B/73M1966B TAPI High-Level Driver User Guide UG_1x66B_021
int
nGainRx
int
nGainTx
IFX_TAPI_FXO_HOOK_ONHOOK
0
IFX_TAPI_FXO_HOOK_OFFHOOK
1

4.7 IFX_TAPI_LINE_VOLUME_t

Description
Str uctu r e used t o configure phone volu me settings.
Prototype
typedef struct {
int nGainR x; int nGainT x;
} IFX_TAPI_LINE_VOLUME_t;
Data T ype Name Description
Volume s etting for the rec eiving path. Volume s etting for the transmitting path.

4.8 IFX_TAPI_FXO_HOOK_t

Description Defines the possible h ook status for fxo, used in IFX_TAPI_FXO_HOOK_SET.
Prototype
typedef enum {
IFX_TAP I_F XO_ HOO K_ONHOOK = 0, IFX_TAP I_F XO_ HOO K_OFFHOOK = 1
} IFX_TAPI_FXO_HOOK_t;
Data T ype Name Description
On-hook. Off-hook.

4.9 IFX_TAPI_FXO_FLASH_CFG_t

Description
Hook configuration for FXO, used in IFX_TAPI_FXO_FLASH_CFG_SET.
Prototype
typedef struct {
} IFX_TAPI_FXO_FLASH_CFG_t;
Data T ype Name Description
IFX_uint32_t nFlashTime
IFX_uin t32 _t nFl ash Time;
Duration of a flash -hook. Default 100 ms.
30 Rev. 2.2
Page 31
UG_1x66B_021 73M1866B/73M1966B TAPI High-Level Dr iv er User Guide

4.10 IFX_TAPI_EVENT_ID_t

Description
Lis t of event IDs . These ar e the #define macros of the FX O event i dentification.
Prototype
typedef enum { I IFX_TAPI_EVENT_NONE = IFX_TAPI_EVENT_TYPE_NONE | 0x0000,
} IFX_TAPI_EVENT_ID_t;
IFX_TAPI_EVENT_FXO_BAT_FEEDED = IFX_TAPI_EVENT_TYPE_FXO | 0x0001, IFX_TAPI_EVENT_FXO_BAT_DROPPED= IFX_TAPI_EVENT_TYPE_FXO | 0x0002, IFX_TAPI_EVENT_FXO_POLARITY = IFX_TAPI_EVENT_TYPE_FXO | 0x0003, IFX_TAPI_EVENT_FXO_RING_START = IFX_TAPI_EVENT_TYPE_FXO | 0x0004, IFX_TAPI_EVENT_FXO_RING_STOP = IFX_TAPI_EVENT_TYPE_FXO | 0x0005, IFX_TAPI_EVENT_FXO_OSI = IFX_TAPI_EVENT_TYPE_FXO | 0x0006, IFX_TAPI_EVENT_FXO_APOH = IFX_TAPI_EVENT_TYPE_FXO | 0x0007, IFX_TAPI_EVENT_FXO_NOPOH = IFX_TAPI_EVENT_TYPE_FXO | 0x0008,

4.11 M1966_DEBUG_TRACE_MASK

Description
Trace macros used by ioctl IFX_TAPI_DEBUG_REPORT_SET.
Prototype
#define M1966_DEBUG_EVENT 0x00000001 #define M1966_DEBUG_INIT 0x00000002 #define M1966_DEBUG_RING_PATH 0x00000004 #define M1966_DEBUG_TRACE 0x00000008 #define M1966_DEBUG_COUNTRY_CODE 0x00000010 #define M1966_DEBUG_CLIP 0x00000020 #define M1966_DEBUG_LINE_STATE 0x00000040 #define M1966_DEBUG_IOCTL 0x00000080 #define M1966_DEBUG_PCM 0x00000100 #define M1966_DEBUG_BARRIER 0x00000200 #define M1966_DEBUG_INT 0x00000400 #define M1966_DEBUG_PHU 0x00000800 #define M1966_DEBUG_TAPI 0x00001000 #define M1966_DEBUG_KPROC 0x00002000 #define M1966_DEBUG_SPI 0x00004000 #define M1966_DEBUG_ERROR 0x80000000
Rev. 2.2 31
Page 32
73M1866B/73M1966B TAPI High-Level Driver User Guide UG_1x66B_021

4.12 M1966_CNTRY_CODE_XX

Description
Country code mac r os used by ioctl IFX_TAPI_CH_INIT.
Prototype
/******************************************************************* ** 73M1966 Country code List - In ter net Count ry Codes *******************************************************************/ #define M1966_CNTRY_CODE_AR 0 /* "Argentina" */ #define M1966_CNTRY_CODE_AU 1 /* "Australia" */ #define M1966_CNTRY_CODE_AT 2 /* "Austria" */ #define M1966_CNTRY_CODE_BH 3 /* "Bahrain" */ #define M1966_CNTRY_CODE_BE 4 /* "Belgium" */ #define M1966_CNTRY_CODE_BR 5 /* "Brazil" */ #define M1966_CNTRY_CODE_BG 6 /* "Bulgaria" */ #define M1966_CNTRY_CODE_CA 7 /* "Canada" */ #define M1966_CNTRY_CODE_CL 8 /* "Chile" */ #define M1966_CNTRY_CODE_C1 9 /* "ChineData" */ #define M1966_CNTRY_CODE_C2 10 /* "ChinaVoice" */ #define M1966_CNTRY_CODE_CO 11 /* "Columbia" */ #define M1966_CNTRY_CODE_HR 12 /* "Croatia" */ #define M1966_CNTRY_CODE_TB 13 /* "TBR 21" */ #define M1966_CNTRY_CODE_CY 14 /* "Cyprus" */ #define M1966_CNTRY_CODE_CZ 15 /* "Czech Rep" */ #define M1966_CNTRY_CODE_DK 16 /* "Denmark" */ #define M1966_CNTRY_CODE_EC 17 /* "Equador" */ #define M1966_CNTRY_CODE_EG 18 /* "Egypt" */ #define M1966_CNTRY_CODE_SV 19 /* "El Salvador" */ #define M1966_CNTRY_CODE_FI 20 /* "Finland" */ #define M1966_CNTRY_CODE_FR 21 /* "France" */ #define M1966_CNTRY_CODE_DE 22 /* "Germany" */ #define M1966_CNTRY_CODE_GR 23 /* "Greece" */ #define M1966_CNTRY_CODE_GU 24 /* "Guam" */ #define M1966_CNTRY_CODE_HK 25 /* "Hong Kong" */ #define M1966_CNTRY_CODE_HU 26 /* "Hungary" */ #define M1966_CNTRY_CODE_IS 27 /* "Iceland" */ #define M1966_CNTRY_CODE_IN 28 /* "India" */ #define M1966_CNTRY_CODE_ID 29 /* "Indonesia" */ #define M1966_CNTRY_CODE_IE 30 /* "Ireland" */ #define M1966_CNTRY_CODE_IL 31 /* "Israel" */ #define M1966_CNTRY_CODE_IT 32 /* "Italy" */ #define M1966_CNTRY_CODE_JP 33 /* "Japan" */ #define M1966_CNTRY_CODE_JO 34 /* "Jordan" */ #define M1966_CNTRY_CODE_KZ 35 /* "Kazakhstan" */ #define M1966_CNTRY_CODE_KW 36 /* "Kuwait" */ #define M1966_CNTRY_CODE_LV 37 /* "Latvia" */ #define M1966_CNTRY_CODE_LB 38 /* "Lebanon" */ #define M1966_CNTRY_CODE_LU 39 /* "Luxembourg" */ #define M1966_CNTRY_CODE_MO 40 /* "Macao" */ #define M1966_CNTRY_CODE_MY 41 /* "Malaysia" */ #define M1966_CNTRY_CODE_MT 42 /* "Malta" */ #define M1966_CNTRY_CODE_MX 43 /* "Mexico" */ #define M1966_CNTRY_CODE_MA 44 /* "Morocco" */ #define M1966_CNTRY_CODE_NL 45 /* "Nether lan ds" */ #define M1966_CNTRY_CODE_NZ 46 /* "New Zealand" */ #define M1966_CNTRY_CODE_NG 47 /* "Nigeria" */ #define M1966_CNTRY_CODE_NO 48 /* "Norway" */
32 Rev. 2.2
Page 33
UG_1x66B_021 73M1866B/73M1966B TAPI High-Level Dr iv er User Guide
#define M1966_CNTRY_CODE_OM 49 /* "Oman" */ #define M1966_CNTRY_CODE_PK 50 /* "Pakistan" */ #define M1966_CNTRY_CODE_PR 51 /* "Peru" */ #define M1966_CNTRY_CODE_PH 52 /* "Philippines" */ #define M1966_CNTRY_CODE_PL 53 /* "Poland" */ #define M1966_CNTRY_CODE_PT 54 /* "Portugal" */ #define M1966_CNTRY_CODE_RO 55 /* "Romainia" */ #define M1966_CNTRY_CODE_RU 56 /* "Russia" */ #define M1966_CNTRY_CODE_SA 57 /* "Saudi Arabia" */ #define M1966_CNTRY_CODE_SG 58 /* "Singapore" */ #define M1966_CNTRY_CODE_SK 59 /* "Slovakia" */ #define M1966_CNTRY_CODE_SI 60 /* "Slovenia" */ #define M1966_CNTRY_CODE_ZA 61 /* "S. Africa" */ #define M1966_CNTRY_CODE_KR 62 /* "S. Korea" */ #define M1966_CNTRY_CODE_ES 63 /* "Spain" */ #define M1966_CNTRY_CODE_SE 64 /* "Sweden" */ #define M1966_CNTRY_CODE_CH 65 /* "Switzerland" */ #define M1966_CNTRY_CODE_SY 66 /* "Syria" */ #define M1966_CNTRY_CODE_TW 67 /* "Taiwan" */ #define M1966_CNTRY_CODE_TH 68 /* "Thailand" */ #define M1966_CNTRY_CODE_AE 69 /* "UAE" */ #define M1966_CNTRY_CODE_UK 70 /* "UK" */ #define M1966_CNTRY_CODE_US 71 /* "USA" */ #define M1966_CNTRY_CODE_YE 72 /* "Yemen" */
Rev. 2.2 33
Page 34
73M1866B/73M1966B TAPI High-Level Driver User Guide UG_1x66B_021

5 Related Documentation

The following 73M1x6 6B document s are available from Teri dian Semi conductor C orp or ation:
73M1866B/73M1966B Reference Driver User Manual 73M1866B/73M1966B D ata Sheet 73M1866B /73M1966B Demo Board User Manual 73M1866B /73M1966B GUI Use r Guide 73M1866B/73M1966B Layout Guidelines 73M1x 6 6 Wor ldwide Desi g n G uide TAPI V3 User’s Manual (available from Infineon)

6 Contact Information

For m or e i nform ation about Teridian Semiconductor pr oduct s or to check the availability of the 73M1866B and 73M1966B, contact us at:
644 0 Oak Canyon Road Suite 100 Irvin e, CA 92618-5201
Telephone: (714) 508-8800 FAX: (714) 508-8878 Email: modem.support@teridian.com
For a complete list of worldwide s ales offic es, g o to http://www.teridian.com.
34 Rev. 2.2
Loading...