1 #ifndef _ADF7030_1__PATCH_H_ 2 #define _ADF7030_1__PATCH_H_ 4 #include <drivers/spi/adi_spi.h> 5 #include <devices/rf/adf703x/adi_adf7030-1_reg.h> 15 extern uint32_t ADF7030_1_SPI_PNTR[8];
27 uint16_t build_number;
31 uint8_t full_layer_num;
50 ADI_SPI_HANDLE hSPIDevice,
56 ADI_SPI_HANDLE hSPIDevice,
62 ADI_SPI_HANDLE hSPIDevice,
68 ADI_SPI_HANDLE hSPIDevice,
74 ADI_SPI_HANDLE hSPIDevice,
80 ADI_SPI_HANDLE hSPIDevice,
87 ADI_SPI_HANDLE hSPIDevice,
94 ADI_SPI_HANDLE hSPIDevice,
uint32_t adf7030_1__XferPatch(ADI_SPI_HANDLE hSPIDevice, PATCH_DESCRIPTOR_Type *pPATCH, bool READ_nWRITE, bool CHECK_ONLY)
Generic Patch transfers function between Host and the Radio PHY.
uint32_t adf7030_1_ReadPatchInfo(ADI_SPI_HANDLE hSPIDevice, version_info_t *pPathInfo, uint32_t PhyAddr)
Function to read Patch Information from the PHY Radio.
uint32_t adf7030_1__VerifyPatch(ADI_SPI_HANDLE hSPIDevice, PATCH_DESCRIPTOR_Type *pPATCH)
Function call to verify the integrity of the patch.
uint16_t nbBlock
Total size of the Patch.
uint32_t InfoAddr
Pointer to the Patch info structure in the host memory.
version_info_t * pInfo
Number of data blocks.
uint32_t adf7030_1__InjectPatch(ADI_SPI_HANDLE hSPIDevice, PATCH_DESCRIPTOR_Type *pPATCH)
Function call to re-enable the patch if needed.
uint16_t Size
String with name of Patch.
uint32_t adf7030_1_WritePatchInfo(ADI_SPI_HANDLE hSPIDevice, version_info_t *pPathInfo, uint32_t PhyAddr)
Function to write Patch Information to the PHY Radio.
uint32_t adf7030_1__ReadPatch(ADI_SPI_HANDLE hSPIDevice, PATCH_DESCRIPTOR_Type *pPATCH)
Function call to readback the patch from Radio PHY.
DATA_BLOCK_DESCRIPTOR_Type BLOCKS[]
Disable patch sequence.
uint32_t adf7030_1__WritePatch(ADI_SPI_HANDLE hSPIDevice, PATCH_DESCRIPTOR_Type *pPATCH)
Function call to write patch to Radio PHY.
uint16_t InjectSeq
Start location of the Patch info structure in the PHY.
uint32_t adf7030_1__EjectPatch(ADI_SPI_HANDLE hSPIDevice, PATCH_DESCRIPTOR_Type *pPATCH)
Function call to disnable the patch if needed.
uint16_t EjectSeq
Enable patch sequence.