Maxim-integrated 73M1866B/73M1966B Infineon TAPI High-Level Driver Manual de usuario Pagina 11

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 35
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 10
UG_1x66B_021 73M1866B/73M1966B TAPI High-Level Driver User Guide
Rev. 2.2 11
3.3 IFX_TAPI_PCM_CFG_SET
Description
This ioctl configure the time slot for the PCM channel.
#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 Type Name Description
int
chan_fd
Channel descriptor.
int
IFX_TAPI_PCM_CFG_SET
I/O control identifier for this operation.
unsigned long
param
The parameter points to a
IFX_TAPI_PCM_CFG_t
structure.
Return Values
Data Type Description
int
IFX_ERROR Failed to configure PCM channel.
IFX_SUCCESS Successful.
3.4 IFX_TAPI_PCM_CFG_GET
Description
This ioctl retrieves the current time slot configuration 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 Type Name Description
chan_fd
Channel descriptor.
IFX_TAPI_PCM_CFG_GET
I/O control identifier for this operation.
unsigned long param
The parameter points to a
IFX_TAPI_PCM_CFG_t
structure.
Return Values
Data Type Description
int
IFX_ERROR Failed to retrieve PCM config.
IFX_SUCCESS Successful.
Vista de pagina 10
1 2 ... 6 7 8 9 10 11 12 13 14 15 16 ... 34 35

Comentarios a estos manuales

Sin comentarios