You are here

GPIO_CloseAllDevices()

GPIO_RESULT GPIO_CloseAllDevices();

The GPIO_CloseAllDevices() function closes all devices, currently opened by the application.

Return values:

GPIO_S_SUCCESS

All devices were successfully closed.

GPIO_E_FAIL

Failed to close one or more devices.

GPIO_E_NOT_INITIALIZED

Library has not been initialized.