beautypg.com

M1966_pcm_if_cset_rcs_set, M1966_pcm_if_cset_tcs_set – Maxim Integrated 73M1866B/73M1966B Reference Driver User Manual

Page 28

background image

73M1866B/73M1966B Reference Driver User Guide

UG_1x66B_015

28

Rev. 2.7

6.1.6 M1966_PCM_IF_CSET_RCS_SET

Description

Sets receive clock slot.

#define M1966_PCM_IF_CSET_RCS_SET _IOWR(0xA4,0xD4,unsigned int)

Prototype

int ioctl (

int chan_fd,

int M1966_PCM_IF_CSET_RCS_SET,

unsigned long param );


Parameters

Data Type

Name

Description

int

chan_fd

Channel descriptor.

int

M1966_PCM_IF_CSET_RCS_SET

I/O control identifier for this operation.

unsigned long

param

Clock slot value from 0 to 7.

Return Values

Data Type

Description

int

Always returns 0.

6.1.7 M1966_PCM_IF_CSET_TCS_SET

Description

Sets transmit clock slot.

#define M1966_PCM_IF_CSET_TCS_SET _IOWR(0xA4,0xD5,unsigned int)

Prototype

int ioctl (

int chan_fd,

int M1966_PCM_IF_CSET_TCS_SET,

unsigned long param );


Parameters

Data Type

Name

Description

int

chan_fd

Channel descriptor.

int

M1966_PCM_IF_CSET_TCS_SET

I/O control identifier for this operation.

unsigned long

param

Clock slot value from 0 to 7.


Return Values

Data Type

Description

int

Always returns 0.