typedef void(* Ucs_Gpio_PinStateResCb_t)(uint16_t node_address, uint16_t gpio_port_handle, uint16_t current_state, uint16_t sticky_state, Ucs_Gpio_Result_t result, void *user_ptr) |
Function signature of result callback used by Ucs_Gpio_WritePort() and Ucs_Gpio_ReadPort().
node_address | The node address of the device from where the results come |
gpio_port_handle | The port resource handle. |
current_state | The current state of the GPIO pin |
sticky_state | The sticky state of all GPIO pins configured as sticky inputs. |
result | The operation result |
user_ptr | User reference provided in Ucs_InitData_t::user_ptr |