XDfePrach_InstanceInit - 2.0 English - PG391

RFSoC DFE PRACH LogiCORE IP Product Guide (PG391)

Document ID
PG391
Release Date
2024-11-20
Version
2.0 English

API initialises an instance of the driver.

Traverse "/sys/bus/platform/device" directory (in Linux), to find registered PRACH device with the name DeviceNodeName. The first available slot in the instance array XDfePrach_Prach[] will be taken as a DeviceNodeName object. On success it moves the state machine to a Ready state, while on failure stays in a Not Ready state.

Prototype


            
               XDfePrach
             * XDfePrach_InstanceInit(const char *DeviceNodeName);

Parameters

The following table lists the XDfePrach_InstanceInit function arguments.

Table 1. XDfePrach_InstanceInit Arguments
Type Member Description
const char * DeviceNodeName Device node name.

Returns

  • Pointer to the instance if successful.
  • NULL on error.