Teridian 73M1866B/73M1966B FXOAPI User Guide

This manual introduces the functions and usage of Teridian Semiconductor's 73M1866B/73M1966B FXOAPI.


Teridian 73M1866B/73M1966B FXOAPI User Guide - cover page
Brand
Teridian
Category
Other
Document type
Programming Manual
Language
English
Pages
66
File format
PDF
File size
632 KB
Published
09 April, 2012
Updated
30 September, 2023
MD5 checksum
D3CEB01B010CE113C480412F4FE65030

About this manual

This document describes the application programming interface (API) of the Teridian M1x66 Reference Driver. The API is defined as a simplified functional interface that allows an application program written in C language to communicate with the driver without going through complicated and cumbersome Linux driver IOCTL. In addition, the API subsystem encapsulates the FXO asynchronous event notification and provides a simpler mechanism to the user application via a callback function.

The guide details the programming flow for accessing and managing the FXO device/channel. It covers initialization, opening and closing device and channel descriptors, PCM management, hook switching, pulse dialing, GPIO management, loopback control, and hardware register access. A sample application is provided to demonstrate usage.

What's inside

  • Introduction
  • API Descriptions
  • FXO API Initialization and Termination
  • Device/Channel Open, Close and Initialization APIs
  • PCM Management and Control APIs
  • Hook Switch and Pulse Dial Related APIs
  • GPIO Management APIs
  • Loopback Control APIs
  • 1x66 H/W Register Access and Debugging aid APIs
  • Sample Application

Frequently asked questions

How do you initialize the FXOAPI subsystem?

Call M1x66_FxoApiInit to initialize internal data structures and prepare the API subsystem for subsequent calls.

What is the purpose of the callback function in the FXOAPI?

The callback function serves as a hook to notify the application whenever an FXO event is generated through the device descriptor.

How do you enable the PCM channel for a voice call?

Use M1x66_PcmActivation to enable the PCM channel, which is disabled by default when there is no voice call.

Download PDF (632 KB)

More Teridian Manuals


View all Teridian manuals →