HPM SDK
HPMicro Software Development Kit
hpm_pixelmux_drv.c File Reference
#include "hpm_common.h"
#include "hpm_pixelmux_drv.h"

Functions

void pixelmux_rgb_data_source_enable (pixelmux_rgb_select_t src)
 select pixel data source and enable for rgb interface More...
 
void pixelmux_rgb_data_source_disable (void)
 disable rgb interface pixel data source More...
 
void pixelmux_gwc1_data_source_enable (pixelmux_gwc1_select_t src)
 select pixel data source and enable for gwc1 More...
 
void pixelmux_gwc1_data_source_disable (void)
 disable gwc1 pixel data source More...
 
void pixelmux_gwc0_data_source_enable (pixelmux_gwc0_select_t src)
 select pixel data source and enable for gwc0 More...
 
void pixelmux_gwc0_data_source_disable (void)
 disable gwc0 pixel data source More...
 
void pixelmux_lvb_di1_data_source_enable (pixelmux_lvb_di1_select_t src)
 select pixel data source and enable for lvb di1 More...
 
void pixelmux_lvb_di1_data_source_disable (void)
 disable lvb di1 pixel data source More...
 
void pixelmux_lvb_di0_data_source_enable (pixelmux_lvb_di0_select_t src)
 select pixel data source and enable for lvb di0 More...
 
void pixelmux_lvb_di0_data_source_disable (void)
 disable lvb di0 pixel data source More...
 
void pixelmux_mipi_dsi1_data_source_enable (pixelmux_mipi_dsi1_select_t src)
 select pixel data source and enable for mipi dsi1 More...
 
void pixelmux_mipi_dsi1_data_source_disable (void)
 disable mipi dis1 pixel data source More...
 
void pixelmux_mipi_dsi0_data_source_enable (pixelmux_mipi_dsi0_select_t src)
 select pixel data source and enable for mipi dsi0 More...
 
void pixelmux_mipi_dsi0_data_source_disable (void)
 disable mipi dsi0 pixel data source More...
 
void pixelmux_mipi_dsi1_set_data_type (pixelmux_mipi_dsi_data_type_t type)
 set data type for mipi dsi1 More...
 
void pixelmux_mipi_dsi0_set_data_type (pixelmux_mipi_dsi_data_type_t type)
 set data type for mipi dsi0 More...
 
void pixelmux_cam1_data_source_enable (pixelmux_cam1_select_t src)
 select pixel data source and enable for camera1 More...
 
void pixelmux_cam1_data_source_disable (void)
 disable camera1 pixel data source More...
 
void pixelmux_cam0_data_source_enable (pixelmux_cam0_select_t src)
 select pixel data source and enable for camera0 More...
 
void pixelmux_cam0_data_source_disable (void)
 disable camera0 pixel data source More...
 
hpm_stat_t pixelmux_lvds_phy_calc_pll_cfg (uint32_t pixel_freq_hz, bool is_split, lvds_phy_clk_param_t *param)
 calculate pll config base pixel frequency More...
 
void pixelmux_config_tx_phy0_mode (pixelmux_tx_phy_mode_t mode)
 config tx phy0 mode More...
 
void pixelmux_config_tx_phy1_mode (pixelmux_tx_phy_mode_t mode)
 config tx phy1 mode More...
 
void pixelmux_config_lvds_tx_phy0_clk (const lvds_phy_clk_reg_t *clk_reg)
 config lvds tx phy0 clock More...
 
void pixelmux_config_lvds_tx_phy1_clk (const lvds_phy_clk_reg_t *clk_reg)
 config lvds tx phy1 clock More...
 
void pixelmux_config_rx_phy0_mode (pixelmux_rx_phy_mode_t mode)
 config rx phy0 mode More...
 
void pixelmux_config_rx_phy1_mode (pixelmux_rx_phy_mode_t mode)
 config rx phy1 mode More...