Maxim-integrated 73M1866B/73M1966B Infineon TAPI High-Level Driver Manual de usuario Pagina 20

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 35
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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.
Vista de pagina 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 34 35

Comentarios a estos manuales

Sin comentarios