Maxim-integrated 73M1866B/73M1966B Reference Driver Uživatelský manuál Strana 36

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 98
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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);
Zobrazit stránku 35
1 2 ... 31 32 33 34 35 36 37 38 39 40 41 ... 97 98

Komentáře k této Příručce

Žádné komentáře