Maxim-integrated 73M1866B/73M1966B FXOAPI Uživatelský manuál Strana 45

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 66
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 44
UG_1x66B_046 73M1866B/73M1966B FXOAPI User Guide
Rev. 2.1 45
3.4 M1x66_PCM_CFG_t
Description
PCM config structure. This structure contains the PCM timeslots and codec parameter. These
parameters are not static and may change from session to session. The M1x66_PcmConfig API passes
the pointer to this structure to configure the PCM timeslots and codec.
Prototype
/*
**************************************************************************
** PCM Config Structure
*************************************************************************/
typedef struct {
int pcmResolution;
int pcmTimeslotRX;
int pcmTimeslotTX;
}
m1966_PcmConfig;
typedef m1966_PcmConfig M1x66_PCM_CFG_t;
Parameters
Data Type Name Description
Int pcmResolution
Defines the PCM interface coding.
0 – 8-bit A-law.
1 – 8-bit µ-law.
2 16-bit linear.
Int
pcmTimeslotRX
PCM timeslot for receive direction.
Int
pcmTimeslotTX
PCM timeslot for transmit direction.
Zobrazit stránku 44
1 2 ... 40 41 42 43 44 45 46 47 48 49 50 ... 65 66

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

Žádné komentáře