LVB APIs. More...
Data Structures | |
| struct | lvb_config |
| LVB config. More... | |
| struct | lvb_ch_config |
| LVB channel config. More... | |
| struct | lvb_lvds_phy_lane_config |
Typedefs | |
| typedef enum lvb_di_vsync_polarity | lvb_di_vsync_polarity_t |
| LVB DI vsync polarity. More... | |
| typedef enum lvb_txclk_shift | lvb_txclk_shift_t |
| Shift the LVDS TX PHY clock in relation to the data. More... | |
| typedef struct lvb_config | lvb_config_t |
| LVB config. More... | |
| typedef enum lvb_ch_mapping | lvb_ch_mapping_t |
| LVB channel pixel data mapping. More... | |
| typedef enum lvb_ch_data_source | lv_ch_data_source_t |
| LVB channel pixel data source. More... | |
| typedef enum lvb_ch_num | lvb_ch_num_t |
| LVB channel number. More... | |
| typedef struct lvb_ch_config | lvb_ch_config_t |
| LVB channel config. More... | |
| typedef enum lvb_lvds_lane_phase_sel | lvb_lvds_lane_phase_sel_t |
| typedef enum lvb_lvds_lane_amp | lvb_lvds_lane_amp_t |
| typedef enum lvb_lvds_lane_vcom | lvb_lvds_lane_vcom_t |
| typedef struct lvb_lvds_phy_lane_config | lvb_lvds_phy_lane_config_t |
| typedef enum lvb_lvds_lane_idx | lvb_lvds_lane_idx_t |
LVB APIs.
| typedef enum lvb_ch_data_source lv_ch_data_source_t |
#include <drivers/inc/hpm_lvb_drv.h>
LVB channel pixel data source.
| typedef struct lvb_ch_config lvb_ch_config_t |
#include <drivers/inc/hpm_lvb_drv.h>
LVB channel config.
| typedef enum lvb_ch_mapping lvb_ch_mapping_t |
#include <drivers/inc/hpm_lvb_drv.h>
LVB channel pixel data mapping.
| typedef enum lvb_ch_num lvb_ch_num_t |
#include <drivers/inc/hpm_lvb_drv.h>
LVB channel number.
| typedef struct lvb_config lvb_config_t |
#include <drivers/inc/hpm_lvb_drv.h>
LVB config.
| typedef enum lvb_di_vsync_polarity lvb_di_vsync_polarity_t |
#include <drivers/inc/hpm_lvb_drv.h>
LVB DI vsync polarity.
| typedef enum lvb_lvds_lane_amp lvb_lvds_lane_amp_t |
#include <drivers/inc/hpm_lvb_drv.h>
| typedef enum lvb_lvds_lane_idx lvb_lvds_lane_idx_t |
#include <drivers/inc/hpm_lvb_drv.h>
| typedef enum lvb_lvds_lane_phase_sel lvb_lvds_lane_phase_sel_t |
#include <drivers/inc/hpm_lvb_drv.h>
| typedef enum lvb_lvds_lane_vcom lvb_lvds_lane_vcom_t |
#include <drivers/inc/hpm_lvb_drv.h>
| typedef struct lvb_lvds_phy_lane_config lvb_lvds_phy_lane_config_t |
#include <drivers/inc/hpm_lvb_drv.h>
| typedef enum lvb_txclk_shift lvb_txclk_shift_t |
#include <drivers/inc/hpm_lvb_drv.h>
Shift the LVDS TX PHY clock in relation to the data.
| enum lvb_ch_data_source |
#include <drivers/inc/hpm_lvb_drv.h>
LVB channel pixel data source.
| Enumerator | |
|---|---|
| lvb_ch_data_source_di0 | |
| lvb_ch_data_source_di1 | |
| enum lvb_ch_mapping |
#include <drivers/inc/hpm_lvb_drv.h>
LVB channel pixel data mapping.
| Enumerator | |
|---|---|
| lvb_ch_mapping_vesa | |
| lvb_ch_mapping_jeida | |
| enum lvb_ch_num |
#include <drivers/inc/hpm_lvb_drv.h>
LVB DI vsync polarity.
| Enumerator | |
|---|---|
| lvb_di_vsync_polarity_active_high | |
| lvb_di_vsync_polarity_active_low | |
| enum lvb_lvds_lane_amp |
#include <drivers/inc/hpm_lvb_drv.h>
| enum lvb_lvds_lane_idx |
#include <drivers/inc/hpm_lvb_drv.h>
#include <drivers/inc/hpm_lvb_drv.h>
| enum lvb_lvds_lane_vcom |
#include <drivers/inc/hpm_lvb_drv.h>
| enum lvb_txclk_shift |
#include <drivers/inc/hpm_lvb_drv.h>
Shift the LVDS TX PHY clock in relation to the data.
| Enumerator | |
|---|---|
| lvb_txclk_shift_1100011 | |
| lvb_txclk_shift_1110001 | |
| lvb_txclk_shift_1111000 | |
| lvb_txclk_shift_1000111 | |
| lvb_txclk_shift_0001111 | |
| lvb_txclk_shift_0011110 | |
| lvb_txclk_shift_0111100 | |
| void lvb_ch_config | ( | LVB_Type * | ptr, |
| lvb_ch_num_t | ch_num, | ||
| lvb_ch_config_t * | ch_cfg | ||
| ) |
#include <drivers/inc/hpm_lvb_drv.h>
LVB channel config.
| [in] | ptr | LVB base address |
| [in] | ch_num | LVB channel number |
| [in] | ch_cfg | config of LVB channel |
| void lvb_ch_disable | ( | LVB_Type * | ptr, |
| lvb_ch_num_t | ch_num | ||
| ) |
#include <drivers/inc/hpm_lvb_drv.h>
LVB channel disable.
| [in] | ptr | LVB base address |
| [in] | ch_num | LVB channel number |
| void lvb_ch_enable | ( | LVB_Type * | ptr, |
| lvb_ch_num_t | ch_num | ||
| ) |
#include <drivers/inc/hpm_lvb_drv.h>
LVB channel enable.
| [in] | ptr | LVB base address |
| [in] | ch_num | LVB channel number |
| void lvb_get_ch_default_config | ( | lvb_ch_config_t * | ch_cfg | ) |
#include <drivers/inc/hpm_lvb_drv.h>
get LVB channel of default config
| [out] | ch_cfg | config of LVB |
| void lvb_get_default_config | ( | lvb_config_t * | cfg | ) |
| void lvb_init | ( | LVB_Type * | ptr, |
| lvb_config_t * | cfg | ||
| ) |
#include <drivers/inc/hpm_lvb_drv.h>
LVB init.
| [in] | ptr | LVB base address |
| [in] | cfg | config of LVB |
|
inlinestatic |
| void lvb_lvds_phy0_powerdown | ( | LVB_Type * | ptr | ) |
| void lvb_lvds_phy0_poweron | ( | LVB_Type * | ptr | ) |
|
inlinestatic |
| void lvb_lvds_phy1_powerdown | ( | LVB_Type * | ptr | ) |
| void lvb_lvds_phy1_poweron | ( | LVB_Type * | ptr | ) |
| void lvb_lvds_phy_lane_get_default_config | ( | lvb_lvds_phy_lane_config_t * | cfg | ) |
#include <drivers/inc/hpm_lvb_drv.h>
lvb lvds lane get default config
| [out] | cfg | lvds lane config lvb_lvds_phy_lane_config_t |
| void lvb_lvds_phy_lane_init | ( | LVB_Type * | ptr, |
| lvb_lvds_lane_idx_t | tx_index, | ||
| lvb_lvds_phy_lane_config_t * | cfg | ||
| ) |
#include <drivers/inc/hpm_lvb_drv.h>
lvb lvds lane init and config
| [in] | ptr | LVB base address |
| [in] | tx_index | lvds phy lane index lvb_lvds_lane_idx_t |
| [in] | cfg | lvds lane config lvb_lvds_phy_lane_config_t |
|
inlinestatic |
#include <drivers/inc/hpm_lvb_drv.h>
check LVB phy0 and phy1 is lock
| [in] | ptr | LVB base address |