HPM SDK
HPMicro Software Development Kit
hpm_mipi_dsi_phy_drv.c File Reference

Data Structures

struct  mipi_phy_clk_reg
 

Macros

#define MIPI_DSI_PHY_RATE_MAX   4
 
#define MIPI_DSI_PHY_REFCLK_FREQ_MHZ   24UL
 
#define MIPI_DSI_PHY_VCO_FREQ_MAX   4000UL
 
#define MIPI_DSI_PHY_PHY_VCO_FREQ_MIN   1600UL
 

Typedefs

typedef struct mipi_phy_clk_reg mipi_phy_clk_reg_t
 

Functions

hpm_stat_t mipi_pll_get_cfg (uint32_t lane_mbps, mipi_phy_clk_reg_t *reg)
 
static bool mipi_dsi_phy_pll_init (MIPI_DSI_PHY_Type *ptr, uint32_t lane_mbps)
 
void mipi_dsi_phy_init (MIPI_DSI_PHY_Type *ptr, mipi_dsi_phy_config_t *cfg)
 MIPI_DSI_PHY init. More...
 

Macro Definition Documentation

◆ MIPI_DSI_PHY_PHY_VCO_FREQ_MIN

#define MIPI_DSI_PHY_PHY_VCO_FREQ_MIN   1600UL

◆ MIPI_DSI_PHY_RATE_MAX

#define MIPI_DSI_PHY_RATE_MAX   4

◆ MIPI_DSI_PHY_REFCLK_FREQ_MHZ

#define MIPI_DSI_PHY_REFCLK_FREQ_MHZ   24UL

◆ MIPI_DSI_PHY_VCO_FREQ_MAX

#define MIPI_DSI_PHY_VCO_FREQ_MAX   4000UL

Typedef Documentation

◆ mipi_phy_clk_reg_t

Function Documentation

◆ mipi_dsi_phy_pll_init()

static bool mipi_dsi_phy_pll_init ( MIPI_DSI_PHY_Type ptr,
uint32_t  lane_mbps 
)
static

◆ mipi_pll_get_cfg()

hpm_stat_t mipi_pll_get_cfg ( uint32_t  lane_mbps,
mipi_phy_clk_reg_t reg 
)