Reference Driver
73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015
26 Rev. 2.7
6.1.3 M1966_PCM_IF_CSET_FREQUENCY_SET
Description
If the incoming PCM frequency differs from the default value, then this IOCTL changes the 73M1x66 to
the requested frequency.
#define M1966_PCM_IF_CSET_FREQUENCY_SET _IOWR(0xA4,0xD1,unsigned int)
Prototype
int ioctl (
int chan_fd,
int M1966_PCM_IF_CSET_FREQUENCY_SET,
unsigned long param );
Parameters
Data Type Name Description
int
chan_fd
Channel descriptor.
int
M1966_PCM_IF_CSET_FREQUENCY_SET
I/O control identifier for this operation.
unsigned long param
PCLK Frequencies (in binary)
256 kHz – 0001
512 kHz – 0010
768 kHz – 0011
1024 kHz – 0100
1.536 MHz – 0101
1.544 MHz – 0110
2.048 MHz – 0111
3.088 MHz – 1000
4.096 MHz – 1001
6.176 MHz – 1010
8.192 MHz – 1011
See the 73M1866B/73M1966B Data
Sheet for more information.
Return Values
Data Type Description
int
-EFAULT – Invalid param.
0 – Successful.