board_common
Vitis Drivers API Documentation
xrfclk.h File Reference

Functions

u32 XRFClk_WriteReg (u32 ChipId, u32 Data)
 This function is used to write a register on one of LMX2594 or LMX04828. More...
 
u32 XRFClk_ReadReg (u32 ChipId, u32 *Data)
 This function is used to read a register from one of LMX2594 or LMX04828. More...
 
u32 XRFClk_Init (int GpioId)
 This function is used to initialize RFCLK devices on i2c1-bus: i2c1 bus switch, i2c2spi bridge and MUX_SELx GPIOs. More...
 
void XRFClk_Close ()
 This function is used to close RFCLK devices. More...
 
u32 XRFClk_ResetChip (u32 ChipId)
 This function is used to reset one of LMX2594 or LMK04828. More...
 
u32 XRFClk_SetConfigOnOneChipFromConfigId (u32 ChipId, u32 ConfigId)
 This function is used to set a full configuration on one of LMX2594 or LMX04828 for the requested frequency.where the register settings is provided from the selected hard coded data. More...
 
u32 XRFClk_SetConfigOnOneChip (u32 ChipId, u32 *cfgData, u32 len)
 This function is used to set the full configuration data on one of LMX2594 or LMX04828. More...
 
u32 XRFClk_GetConfigFromOneChip (u32 ChipId, u32 *cfgData)
 This function is used to read the full configuration data from one of LMX2594 or LMX04828. More...
 
u32 XRFClk_SetConfigOnAllChipsFromConfigId (u32 ConfigId_LMK, u32 ConfigId_RF1, u32 ConfigId_RF2)
 This function is used to set a full configuration on all LMX2594 and LMK04828 or LMK04208 for the requested frequency. More...
 
u32 XRFClk_ControlOutputPortLMK (u32 PortId, u32 state)
 This function is used to enable or disable the specified output port on LMK04828. More...
 
u32 XRFClk_ConfigOutputDividerAndMUXOnLMK (u32 PortId, u32 DCLKoutX_DIV, u32 DCLKoutX_MUX, u32 SDCLKoutY_MUX, u32 SYSREF_DIV)
 This function is used to configure a clock divider and the output port MUX state on LMK04828. More...