HPM SDK
HPMicro Software Development Kit
hpm_mipi_dsi_phy_drv.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2023 HPMicro
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  *
6  */
7 
8 #ifndef HPM_MIPI_DSI_PHY_DRV_H
9 #define HPM_MIPI_DSI_PHY_DRV_H
10 
18 #include "hpm_common.h"
19 #include "hpm_soc.h"
20 #include "hpm_mipi_dsi_phy_regs.h"
21 
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
27 typedef struct mipi_dsi_phy_config {
28  uint32_t lane_mbps;
29  uint8_t lanes;
31 
39 
40 #ifdef __cplusplus
41 }
42 #endif
43 
47 #endif /* HPM_MIPI_DSI_PHY_DRV_H */
struct mipi_dsi_phy_config mipi_dsi_phy_config_t
void mipi_dsi_phy_init(MIPI_DSI_PHY_Type *ptr, mipi_dsi_phy_config_t *cfg)
MIPI_DSI_PHY init.
Definition: hpm_mipi_dsi_phy_drv.c:67
Definition: hpm_mipi_dsi_phy_regs.h:12
Definition: hpm_mipi_dsi_phy_drv.h:27
uint8_t lanes
Definition: hpm_mipi_dsi_phy_drv.h:29
uint32_t lane_mbps
Definition: hpm_mipi_dsi_phy_drv.h:28