Maxim-integrated 73M1866B/73M1966B Infineon TAPI High-Level Driver Instrukcja Użytkownika Strona 20

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 35
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 19
73M1866B/73M1966B TAPI High-Level Driver User Guide UG_1x66B_021
20 Rev. 2.2
3.17 IFX_TAPI_FXO_BAT_ GET
Description
Receives battery status from the FXO interface.
#define IFX_TAPI_FXO_BAT_GET _IOW(IFX_TAPI_IOC_MAGIC, 0xDD, int)
Prototype
int ioctl (
int chan_fd,
int IFX_TAPI_FXO_BAT_GET,
unsigned long param );
Parameters
Data Type Name Description
chan_fd
Channel descriptor.
IFX_TAPI_FXO_BAT_GET
I/O control identifier for this operation.
unsigned long param
Points to IFX_boolean_t type,
indicating the battery status
IFX_TRUE if the FXO port is
disconnected from the PSTN (battery
absent).
IFX_FALSE if the FXO port is
connected to the PSTN (battery
present).
Return Values
Data Type Description
int
IFX_ERROR Failed to read battery status.
IFX_SUCCESS Successful.
Przeglądanie stron 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 34 35

Komentarze do niniejszej Instrukcji

Brak uwag