M1966_pcm_activation_clear, M1966_pcm_activation_get – Maxim Integrated 73M1866B/73M1966B Reference Driver User Manual
Page 31

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 the PCM time slots configured for this FXO channel.
#define M1966_PCM_ACTIVATION_CLEAR _IOWR(0xA4,0xDA,unsigned int)
Prototype
int ioctl (
int chan_fd,
int M1966_PCM_ACTIVATION_CLEAR,
unsigned long param );
Parameters
Data Type
Name
Description
int
chan_fd
Channel descriptor.
int
M1966_PCM_ACTIVATION_CLEAR
I/O control identifier for this operation.
unsigned long
param
N/A.
Return Values
Data Type
Description
int
Always returns 0.
6.1.13 M1966_PCM_ACTIVATION_GET
Description
This service retrieves the status of the PCM time slots.
#define M1966_PCM_ACTIVATION_GET _IOWR(0xA4,0xDB,unsigned int)
Prototype
int ioctl (
int chan_fd,
int M1966_PCM_ACTIVATION_GET,
unsigned long param );
Parameters
Data Type
Name
Description
int
chan_fd
Channel descriptor.
int
M1966_PCM_ACTIVATION_GET
I/O control identifier for this operation.
unsigned long
param
N/A.
Return Values
Data Type
Description
int
1 – If PCM time slots is activated.
0 – If PCM time slots is inactivated.