beautypg.com

M1966_pcm_if_cset_rpol_set, M1966_pcm_if_cset_tpol_set – Maxim Integrated 73M1866B/73M1966B Reference Driver User Manual

Page 27

background image

UG_1x66B_015

73M1866B/73M1966B Reference Driver User Guide

Rev. 2.7

27

6.1.4 M1966_PCM_IF_CSET_RPOL_SET

Description

Sets receive edge polarity.

#define M1966_PCM_IF_CSET_RPOL_SET _IOWR(0xA4,0xD2,unsigned int)

Prototype

int ioctl (

int chan_fd,

int M1966_PCM_IF_CSET_RPOL_SET,

unsigned long param );


Parameters

Data Type

Name

Description

int

chan_fd

Channel descriptor.

int

M1966_PCM_IF_CSET_RPOL_SET

I/O control identifier for this operation.

unsigned long

param

1 – Rising edge.
0 – Falling edge.


Return Values

Data Type

Description

int

Always returns 0.

6.1.5 M1966_PCM_IF_CSET_TPOL_SET

Description

Sets transmit edge polarity.

#define M1966_PCM_IF_CSET_TPOL_SET _IOWR(0xA4,0xD3,unsigned int)

Prototype

int ioctl (

int chan_fd,

int M1966_PCM_IF_CSET_TPOL_SET,

unsigned long param );


Parameters

Data Type

Name

Description

int

chan_fd

Channel descriptor.

int

M1966_PCM_IF_CSET_TPOL_SET

I/O control identifier for this operation.

unsigned long

param

1 – Rising edge.
0 – Falling edge.


Return Values

Data Type

Description

int

Always returns 0.