All user API functions are implemented in the source file xrfdc.c. The prototypes for these are provided in header file xrfdc.h.
All driver API functions have InstancePtr
as an argument. It is a pointer to the XRFdc structure that contains information about
the base address, the structure pointing to RFdc default configurations, and structures
for RF-ADC and RF-DAC
tile configurations. The InstancePtr
argument is
initialized in the XRFdc_CfgInitialize
API function.
Call the XRFdc_CfgInitialize
API function to initialize
InstancePtr
before calling any other functions.