beautypg.com

5 ifx_tapi_pcm_activation_set, Ifx_tapi_pcm_activation_set – Maxim Integrated 73M1866B/73M1966B Infineon TAPI High-Level Driver User Manual

Page 12

background image

73M1866B/73M1966B TAPI High-Level Driver User Guide

UG_1x66B_021

12

Rev. 2.2

3.5 IFX_TAPI_PCM_ACTIVATION_SET

Description

This service activates / deactivates the PCM time slots 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 Type

Name

Description

int

chan_fd

Channel descriptor.

int

IFX_TAPI_PCM_ACTIVATION_SET

I/O control identifier for this operation.

unsigned long

param

The parameter defines the activation
status: 0 deactivate the time slot, 1
activate the time slot.


Return Values

Data Type

Description

int

IFX_ERROR – Failed to perform PCM activation set.
IFX_SUCCESS – Successful.