Maxim-integrated 73M1822/73M1922 Control Module Manuel d'utilisateur Page 31

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 86
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 30
UG_1x22_053 73M1822/73M1922 Control Module User Guide
Rev. 1.0 31
6.2.3 M1X22_BAT_GET
Description
Gets the current battery status of the modem line. The driver maintains this status in its local variable and
it is being retrieved by user application using this command.
#define M1X22_BAT_GET _IOWR(0xA4,0xB6,unsigned int)
Prototype
int ioctl (
int chan_fd,
int M1X22_BAT_GET,
unsigned long param );
Parameters
Data Type Name Description
int
chan_fd
Channel descriptor.
int
M1X22_BAT_GET
I/O control identifier for this operation.
unsigned long
param
N/A.
Return Values
Data Type Description
int
The return value can be either of the following:
0 The modem line is not powered.
1 The modem line is connected to the PSTN and being powered.
Vue de la page 30
1 2 ... 26 27 28 29 30 31 32 33 34 35 36 ... 85 86

Commentaires sur ces manuels

Pas de commentaire