Maxim-integrated 73M1866B/73M1966B Reference Driver Manual de usuario Pagina 36

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 98
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 35
73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015
36 Rev. 2.7
6.1.18 M1966_PERF_RX_OFFSET_CALIB
This IOCTL allows an application program to perform receive DC offset calibration on demand while the
FXO line is in on-hook state,
Description
Performs receive offset calibration.
#define M1966_PERF_RX_OFFSET_CALIB _IOWR(0xA4, 0xF7, unsigned int)
Prototype
int ioctl (
int chan_fd,
int M1966_PERF_RX_OFFSET_CALIB,
unsigned long param );
Parameters
Data Type Name Description
int
chan_fd
Channel descriptor.
int
M1966_PERF_RX_OFFSET_CALIB
I/O control identifier for this operation.
unsigned long
param
N/A.
Return Values
Data Type Description
int
0 – Successful.
-EFAULTFailed to perform offset calibration.
Example
The following example code illustrates how this IOCTL is used.
Int ret;
ret = ioctl (fd, M1966_PERF_RX_OFFSET_CALIB, NULL);
if (ret < 0)
printf (“Failed to perform offset calibration, error code: %d”, ret);
Vista de pagina 35
1 2 ... 31 32 33 34 35 36 37 38 39 40 41 ... 97 98

Comentarios a estos manuales

Sin comentarios