Logo
UNICENS V2.1.0-3491
User Manual and API Reference
typedef void(* Ucs_Xrm_Stream_PortCfgResCb_t)(uint16_t node_address, uint8_t index, Ucs_Stream_PortOpMode_t op_mode, Ucs_Stream_PortOption_t port_option, Ucs_Stream_PortClockMode_t clock_mode, Ucs_Stream_PortClockDataDelay_t clock_data_delay, Ucs_StdResult_t result, void *user_ptr)

Function signature of result callback used by Ucs_Xrm_Stream_SetPortConfig() and Ucs_Xrm_Stream_GetPortConfig().

 The arguments of the result callback function correspond with the INIC's result for the function INIC.StreamPortConfiguration.
Parameters
node_addressThe node address from which the results come
indexStreaming Port instance.
 Index
op_modeOperation mode of the Streaming Port.
 OperationMode
port_optionDirection of the physical pins of the indexed Streaming Port.
 PortOption
clock_modeConfiguration of the FSY/SCK signals.
 ClockMode
clock_data_delayConfiguration of the FSY/SCK signals for Generic Streaming.
 ClockDataDelay
resultReturned result of the operation
user_ptrUser reference provided in Ucs_InitData_t::user_ptr