Maxim-integrated 73M1866B/73M1966B FXOAPI Manual de usuario Pagina 58

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 66
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 57
73M1866B/73M1966B FXOAPI User Guide UG_1x66B_046
58 Rev. 2.1
4.9 M1966_GPIO_CONFIG_COMMAND
Description
This is the GPIO configuration command. The GPIO can be configured using the
M1966_GPIO_CONFIG_SET command. Its configuration can be read using M1966_GPIO_CONFIG_GET
command. The GPIO must be enabled using the M1966_GPIO_CONTROL ioctl for the new configuration
to take effect.
Prototype
typedef enum
{
M1966_GPIO_CONFIG_GET = 0, /* GPIO config GET */
M1966_GPIO_CONFIG_SET = 1 /* GPIO config SET */
}
M1966_GPIO_CONFIG_COMMAND;
Parameters
Name Value Description
M1966_GPIO_CONFIG_GET
0
Read the GPIO configuration
M1966_GPIO_CONFIG_SET
1
Write the GPIO configuration
4.10 M1966_GPIO_CONTROL_TYPE
Description
GPIO control type definition.
Prototype
typedef enum
{
M1966_GPIO_CONTROL_DISABLE = 0, /* disable GPIO */
M1966_GPIO_CONTROL_ENABLE = 1 /* enable GPIO */
}
M1966_GPIO_CONTROL_TYPE;
Parameters
Name Value Description
M1966_GPIO_CONTROL_DISABLE
0
Disable GPIO.
M1966_GPIO_CONTROL_ENABLE
1
Enable GPIO.
Vista de pagina 57
1 2 ... 53 54 55 56 57 58 59 60 61 62 63 64 65 66

Comentarios a estos manuales

Sin comentarios