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

  • 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 40
UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide
Rev. 2.7 41
6.2.3 M1966_BAT_GET
Description
Gets the current battery status of the FXO line. The driver maintains this status in its local variable and it
is being retrieved by user application using this command.
#define M1966_BAT_GET _IOWR(0xA4,0xB6,unsigned int)
Prototype
int ioctl (
int chan_fd,
int M1966_BAT_GET,
unsigned long param );
Parameters
Data Type Name Description
chan_fd
Channel descriptor.
M1966_BAT_GET
I/O control identifier for this operation.
param
N/A.
Return Values
Data Type Description
int
The return value can be either of the following:
0 The FXO line is not powered.
1 The FXO line is connected to the PSTN and being powered.
Zobrazit stránku 40
1 2 ... 36 37 38 39 40 41 42 43 44 45 46 ... 97 98

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

Žádné komentáře