Reference Driver

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.
#define M1966_PCM_CSET_TSLOT_RX_SET _IOWR(0xA4,0xD6,unsigned int)
Prototype
int ioctl (
int chan_fd,
int M1966_PCM_CSET_TSLOT_RX_SET,
unsigned long param );
Parameters
Data Type Name Description
int
chan_fd
Channel descriptor.
int
M1966_PCM_CSET_TSLOT_RX_SET
I/O control identifier for this operation.
unsigned long
param
PCM time slot value from 0 to 0x7F.
Return Values
Data Type Description
int
Always returns 0.
6.1.9 M1966_PCM_CSET_TSLOT_TX_SET
Description
Sets transmit PCM time slot.
#define M1966_PCM_CSET_TSLOT_TX_SET _IOWR(0xA4,0xD7,unsigned int)
Prototype
int ioctl (
int chan_fd,
int M1966_PCM_CSET_TSLOT_TX_SET,
unsigned long param );
Parameters
Data Type Name Description
int
chan_fd
Channel descriptor.
int
M1966_PCM_CSET_TSLOT_TX_SET
I/O control identifier for this operation.
unsigned long
param
PCM time slot value from 0 to 0x7F.
Return Values
Data Type Description
int
Always returns 0.