5 m1x66_gpioenable, 6 m1x66_gpiodisable, M1x66_gpioenable – Maxim Integrated 73M1866B/73M1966B FXOAPI User Manual
Page 24: M1x66_gpiodisable, G m1x66_gpioenable

73M1866B/73M1966B FXOAPI User Guide
UG_1x66B_046
24
Rev. 2.1
2.7.5 M1x66_GpioEnable
Description
This is an API for enable the GPIO. After a GPIO pin is configured using M1x66_SetGpioConfig it must
be enabled to start the operation. Once enabled the GPIO signal can be manipulated using
M1x66_SetGpioData for those configured for output direction, or the signal can be read for those
configured for input direction.
Prototype
M1x66_RET M1x66_GpioEnable (M1x66_HANDLE chanHandle,
M1966_GPIO_NUMBER gpio)
Parameters
Data Type
Name
Description
chanHandle
Channel handle from FXO open channel.
M1966_GPIO_NUMBER
gpio
GPIO number
Return Values
Data Type
Description
M1x66_SUCCESS – Successful.
M1x66_FAILED – Failure.
2.7.6 M1x66_GpioDisable
Description
This API disables the GPIO. The GPIO will stop it internal operation,
Prototype
M1x66_RET M1x66_GpioEnable (M1x66_HANDLE chanHandle,
M1966_GPIO_NUMBER gpio)
Parameters
Data Type
Name
Description
chanHandle
Channel handle from FXO open channel.
M1966_GPIO_NUMBER
gpio
GPIO number
Return Values
Data Type
Description
M1x66_SUCCESS – Successful.
M1x66_FAILED – Failure.