Product Comparison: USB I2C | USB SPI | USB GPIO

USB-I/O Interface Adapter GPIO-24. Programmer's Reference Manual.


2.1.1. GPIO_Init()

GPIO_RESULT GPIO_Init(
      GPIO_NOTIFICATION Notification
);

The GPIO_Init() function initializes gpio_24.dll library and instructs it how to notify the application when GPIO-24 adapter sends events or responses.

Parameters:

Notification

Specifies the notification method. For detailed description refer to the Notification section.

Return values:

GPIO_S_SUCCESS

Library has been successfully initialized.

GPIO_S_SUCCESSFUL_REINIT

Library had been already initialized and now the new notification method was selected.

GPIO_E_OUT_OF_MEMORY

There is no enough memory to initialize the library.