Maxim-integrated 73M1866B/73M1966B Reference Driver Uživatelský manuál Strana 1

Procházejte online nebo si stáhněte Uživatelský manuál pro Hardware Maxim-integrated 73M1866B/73M1966B Reference Driver. Maxim Integrated 73M1866B/73M1966B Reference Driver User Manual [fr] [de] [en] Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 98
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 0
Simplifying System Integration
TM
73M1866B/73M1966B
Reference Driver User Guide
June 22, 2009
Rev. 2.7
UG_1x66B_015
Zobrazit stránku 0
1 2 3 4 5 6 ... 97 98

Shrnutí obsahu

Strany 1 - Reference Driver User Guide

Simplifying System IntegrationTM 73M1866B/73M1966B Reference Driver User Guide June 22, 2009 Rev. 2.7

Strany 2

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 10 Rev. 2.7 2.2 Functional Overview Once installed, the driver is a self-contained modu

Strany 3 - Table of Contents

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 11 The application is responsible for building up the IET using the IET table

Strany 4

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 12 Rev. 2.7 2.2.5 Loopback and Testing Modes The 1966B devices support six variations o

Strany 5

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 13 3 Driver Service Interface The Driver Service provides the link between t

Strany 6 - Figures

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 14 Rev. 2.7 4 Country Specific Settings The 73M1x66B Reference Driver supports global c

Strany 7 - 1 Introduction

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 15 5 FXO Events The driver provides event service to the high level applicat

Strany 8 - 1.3 Acronyms

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 16 Rev. 2.7 5.2 Event Identification 5.2.1 M1966_BATTERY_DROPPED This event occurs whe

Strany 9 - 2 Overview

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 17 5.2.4 M1966_ONH_NOPOH_DETECT This event is generated when a parallel phon

Strany 10 - 2.2 Functional Overview

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 18 Rev. 2.7 5.2.7 M1966_RING_DETECT_START This event is generated at the beginning of t

Strany 11 - 2.2.4 GPIO Support

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 19 5.2.10 M1966_OV_DETECT This event is generated on detection of an over

Strany 12 - 2.2.7 Billing Tone Filter

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 2 Rev. 2.7 © 2010 Teridian Semiconductor Corpora

Strany 13 - and ioctl()

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 20 Rev. 2.7 5.2.13 M1966_LINE_STATE This event is generated when the line state analys

Strany 14 - 4 Country Specific Settings

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 21 5.2.16 M1966_DEVICE_RECOVERED This event is generated after the device i

Strany 15 - 5 FXO Events

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 22 Rev. 2.7 6 IOCTL Commands Description Upon successful opening of a device or channel

Strany 16 - 5.2 Event Identification

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 23 6.1 Initialization and Configuration IOCTLs The following IOCTLs are defi

Strany 17

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 24 Rev. 2.7 6.1.1 M1966_CH_INIT Description Performs 73M1x66 channel initialization. T

Strany 18 - 5.2.8 M1966_RING_DETECT_END

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 25 6.1.2 M1966_PCM_IF_CSET_OPMODE_SET Description Sets the 73M1x66 to operat

Strany 19 - 5.2.12 M1966_OL_DETECT

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 26 Rev. 2.7 6.1.3 M1966_PCM_IF_CSET_FREQUENCY_SET Description If the incoming PCM frequ

Strany 20 - 5.2.15 M1966_DIAL_ABORTED

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 27 6.1.4 M1966_PCM_IF_CSET_RPOL_SET Description Sets receive edge polarity.

Strany 21 - 5.2.18 M1966_ONH_DETECT

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 28 Rev. 2.7 6.1.6 M1966_PCM_IF_CSET_RCS_SET Description Sets receive clock slot. #defi

Strany 22

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 29 6.1.8 M1966_PCM_CSET_TSLOT_RX_SET Description Sets receive PCM time slot.

Strany 23

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 3 Table of Contents 1 Introduction ...

Strany 24 - 6.1.1 M1966_CH_INIT

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 30 Rev. 2.7 6.1.10 M1966_PCM_CSET_COMPRESSION_SET Description Sets PCM data compression

Strany 25

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 31 6.1.12 M1966_PCM_ACTIVATION_CLEAR Description This service de-activates t

Strany 26

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 32 Rev. 2.7 6.1.14 M1966_CNTRY_NMBR_GET Description Converts a null terminated ASCII st

Strany 27

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 33 6.1.15 M1966_GET_COUNTRY_CONFIG This IOCTL allows an application progra

Strany 28

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 34 Rev. 2.7 6.1.16 M1966_SET_COUNTRY_CONFIG This IOCTL allows application program to w

Strany 29

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 35 6.1.17 M1966_PHONE_VOLUME_SET Description The gain of both transmit and r

Strany 30

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 36 Rev. 2.7 6.1.18 M1966_PERF_RX_OFFSET_CALIB This IOCTL allows an application program

Strany 31

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 37 6.1.19 M1966_CLEAR_RX_OFFSET_REG Description Clears the receive offset me

Strany 32 - 6.1.14 M1966_CNTRY_NMBR_GET

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 38 Rev. 2.7 6.1.20 M1966_SAMPLE_RATE Description Select PCM sample rate. The 1x66 devi

Strany 33

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 39 6.2 Events and Status Service The driver can be queried for a variety of

Strany 34

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 4 Rev. 2.7 6.1.12 M1966_PCM_ACTIVATION_CLEAR ...

Strany 35

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 40 Rev. 2.7 6.2.2 M1966_POL_GET Description Gets the current polarity reversal status o

Strany 36

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 41 6.2.3 M1966_BAT_GET Description Gets the current battery status of the FX

Strany 37

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 42 Rev. 2.7 6.2.4 M1966_POH_GET Description Gets the current “parallel phone off-hook”

Strany 38 - 6.1.20 M1966_SAMPLE_RATE

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 43 6.2.5 M1966_EVENT_GET Description Returns an event from the FIFO queue.

Strany 39 - 6.2.1 M1966_RNG_GET

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 44 Rev. 2.7 6.2.6 M1966_ERROR_CODE_GET Description This IOCTL returns the error code of

Strany 40 - 6.2.2 M1966_POL_GET

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 45 6.3 FXO Hook Switch Control Services The configuration and control of the

Strany 41 - 6.2.3 M1966_BAT_GET

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 46 Rev. 2.7 6.3.2 M1966_ATH1 Description Issues the off-hook signal to the FXO interfac

Strany 42 - 6.2.4 M1966_POH_GET

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 47 6.3.3 M1966_ATH0 Description Issues on-hook in the FXO interface. #defin

Strany 43 - 6.2.5 M1966_EVENT_GET

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 48 Rev. 2.7 6.3.4 M1966_ATDP Description Performs pulse dialing on the FXO channel. As

Strany 44 - 6.2.6 M1966_ERROR_CODE_GET

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 49 6.3.5 M1966_ATDP_CANCEL Description Aborts or cancels an active pulse ses

Strany 45

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 5 7.6 M1966_PULSE_DIAL_t ...

Strany 46 - 6.3.2 M1966_ATH1

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 50 Rev. 2.7 6.3.6 M1966_ATDP_PARAM Description This IOCTL is used to modify or read the

Strany 47 - 6.3.3 M1966_ATH0

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 51 6.3.7 M1966_FLSH_CFG Description This is the configuration of flash-hook

Strany 48 - 6.3.4 M1966_ATDP

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 52 Rev. 2.7 6.3.9 M1966_SEND_WETTING_PULSE Description Performs hook flashing on the FX

Strany 49 - 6.3.5 M1966_ATDP_CANCEL

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 53 6.4 Caller-ID Services The following service control how the FXO manages

Strany 50 - M1966_PULSE_DIAL_PARAM_t

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 54 Rev. 2.7 6.4.2 M1966_DISABLE_CALLER_ID Description Disables the automatic Caller ID

Strany 51 - 6.3.8 M1966_FLSH_SET

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 55 6.4.3 M1966_ENTER_CID_MODE Description Manually enters Caller ID mode reg

Strany 52

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 56 Rev. 2.7 6.4.4 M1966_EXIT_CID_MODE Description Exits Caller ID mode. #define M1966

Strany 53 - 6.4 Caller-ID Services

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 57 6.5 Ring Detection Services The following services control how the FXO ma

Strany 54

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 58 Rev. 2.7 6.5.2 M1966_SET_RING_MIN_FREQ Description Upon detection of a ring burst th

Strany 55 - 6.4.3 M1966_ENTER_CID_MODE

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 59 6.5.3 M1966_SET_RING_MAX_FREQ Description Upon detection of a ring burst

Strany 56 - 6.4.4 M1966_EXIT_CID_MODE

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 6 Rev. 2.7 Figures Figure 1: Driver Architecture ...

Strany 57 - 6.5 Ring Detection Services

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 60 Rev. 2.7 6.6 Line State Analysis Services The following services control the FXO lin

Strany 58

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 61 6.6.2 M1966_MEASURE_STOP Description Stops an on-going measurement (curre

Strany 59

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 62 Rev. 2.7 6.6.3 M1966_MEASURE_UPDATE Description Reads an IET entry or updates an IE

Strany 60 - 6.6.1 M1966_MEASURE_START

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 63 The following example code illustrates a reading of a line voltage IET tab

Strany 61 - 6.6.2 M1966_MEASURE_STOP

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 64 Rev. 2.7 6.7 GPIO Services 6.7.1 M1966_GPIO_CONFIG Description The ioctl is used t

Strany 62 - 6.6.3 M1966_MEASURE_UPDATE

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 65 6.7.3 M1966_GPIO_DATA Description This IOCTL is used to read or write da

Strany 63 - M1966_MEASURE_UPDATE_t read;

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 66 Rev. 2.7 6.8 Loopback Services 6.8.1 M1966_LOOPBACK Description This IOCTL is used

Strany 64 - 6.7 GPIO Services

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 67 6.9 Miscellaneous 6.9.1 M1966_THRESHOLD_OVERRIDE Description Various FXO

Strany 65 - 6.7.3 M1966_GPIO_DATA

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 68 Rev. 2.7 6.9.2 M1966_BTONE_FILTER Description Large amplitude out-of-band tones can

Strany 66 - 6.8 Loopback Services

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 69 6.9.3 M1966_CPROG_MONITOR Description The Call Progress Monitor monitors

Strany 67 - 6.9 Miscellaneous

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 7 1 Introduction This document describes the capabilities of the 73M1866B/73

Strany 68 - 6.9.2 M1966_BTONE_FILTER

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 70 Rev. 2.7 6.9.4 M1966_DEBUG_LEVEL_SET Description Sets the driver trace mask to enabl

Strany 69 - 6.9.3 M1966_CPROG_MONITOR

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 71 6.9.5 M1966_TEST_CODE Description The M1966_TEST_CODE ioctl command can b

Strany 70 - 6.9.4 M1966_DEBUG_LEVEL_SET

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 72 Rev. 2.7 7 Type and Structure Definition Reference This section contains the type de

Strany 71 - 6.9.5 M1966_TEST_CODE

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 73 #define M1966_CNTRY_CODE_MX 43 /* "Mexico"

Strany 72 - 7.1 M1966_COUNTRY_CODE

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 74 Rev. 2.7 7.2 M1966_CNTRY_STRUCT_t Description This structure defines the country def

Strany 73

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 75 7.3 M1966_DEBUG_TRACE_MASK Description Trace macros used by the M1966_DEB

Strany 74 - 7.2 M1966_CNTRY_STRUCT_t

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 76 Rev. 2.7 7.5 struct txrx_gain Description This structure is used by the M1966_PHONE_

Strany 75 - 7.4 M1966_LAST_ERROR_CODE

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 77 7.7 M1966_PULSE_DIAL_PARAM_t Description This structure is used by the M1

Strany 76 - 7.6 M1966_PULSE_DIAL_t

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 78 Rev. 2.7 7.9 M1966_SAMPLE_RATE_SELECTION Description This is the enumerated sample r

Strany 77 - 7.8 M1966_THRESH_OVERRIDE_t

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 79 7.10.2 M1966_BTONE_FREQUENCY Description This is the list of tone frequen

Strany 78

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 8 Rev. 2.7 1.2 Conventions Used in this Guide This document uses the following convent

Strany 79 - 7.10.3 M1966_BTONE_FILTER_t

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 80 Rev. 2.7 7.11 Call Progress Monitor Data Type and Structure 7.11.1 M1966_CPROG_MON_

Strany 80 - 7.11.2 M1966_CPROG_MON_GAIN

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 81 7.11.3 M1966_CPROG_MONITOR_t Description This structure is used by the M1

Strany 81

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 82 Rev. 2.7 7.12 GPIO Related Data Type and Structures 7.12.1 M1966_GPIO_NUMBER Descri

Strany 82 - 7.12.1 M1966_GPIO_NUMBER

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 83 7.12.3 M1966_GPIO_CONTROL_TYPE Description GPIO control type definitios.

Strany 83

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 84 Rev. 2.7 7.12.5 M1966_GPIO_DATA_TYPE Description GPIO data types – this is the GPIO

Strany 84 - 7.12.5 M1966_GPIO_DATA_TYPE

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 85 7.12.7 M1966_GPIO_INTR_POLARITY Description GPIO Interrupt signal transit

Strany 85 - 7.12.8 M1966_GPIO_CONFIG_t

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 86 Rev. 2.7 7.12.9 M1966_GPIO_DATA_t Description This structure is used by the M1966_GP

Strany 86 - 7.12.9 M1966_GPIO_DATA_t

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 87 7.13 Loopback Related Data Type and Structure 7.13.1 M1966_LOOPBACK_COMM

Strany 87 - 7.13.2 M1966_LOOPBACK_MODE

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 88 Rev. 2.7 7.13.3 M1966_LOOPBACK_t Description This is the structure used for managing

Strany 88 - 7.14.1 M1966_MEASURE_ENTITY

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 89 7.14.2 M1966_MEASURE_ACTION Description This is the enumerated list of po

Strany 89 - 7.14.2 M1966_MEASURE_ACTION

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 9 2 Overview 2.1 Driver Architecture The driver provides a framework by whi

Strany 90

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 90 Rev. 2.7 7.14.4 M1966_MEASURE_UPDATE_t Description This structure is used by the M19

Strany 91 - 7.14.5 M1966_IET_t

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 91 7.14.5 M1966_IET_t Description This Interval and Event Table structure (I

Strany 92

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 92 Rev. 2.7 8 Porting to a Specific H/W Platform As stated earlier, it is anticipated t

Strany 93

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 93 8.3 Platform Dependent Macros The following macros are used in the drive

Strany 94

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 94 Rev. 2.7 SPI_WAIT_FOR_READY (status); \ SP

Strany 95 - 10 Contact Information

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 95 9 Related Documentation The following 73M1x66B documents are available fr

Strany 96 - Appendix A – Country Codes

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 96 Rev. 2.7 Appendix A – Country Codes Table 8 provides all the defined countries, their

Strany 97 - Revision History

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide Rev. 2.7 97 Revision History Revision Date Description 2.0 8/22/2008 First publica

Strany 98

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015 98 Rev. 2.7 2.5.2 8/13/2009 Changed all instances of M1966_FXO_EVENT to M1966_FXO_EVEN

Komentáře k této Příručce

Žádné komentáře