AM62x MCU+ SDK  10.01.00
panel.h File Reference

Go to the source code of this file.

Data Structures

struct  Panel_BridgeParams
 Bridge configuration parameters. More...
 
struct  Panel_vidOutputParams
 Configuration paramters for bridge encoder. More...
 
struct  Panel_PinConfig
 Panel pin control data. More...
 
struct  Panel_PinCtrl
 Configuration paramters for panel pin control. More...
 
struct  Panel_Params
 Parameters passed during Panel_open() More...
 
struct  Panel_Fxns
 Driver implementation callbacks. More...
 
struct  Panel_Config
 Panel driver configuration, these are filled by SysCfg based on the panel device that is selected. More...
 

Macros

#define PANEL_INVALID_VALUE   (0xFFFFFFFFU)
 
#define PANEL_MAX_NUM_PINS_CTRL   (0xAU)
 Max number pins configured for panel pin control. More...
 
#define CONFIG_PANEL_TYPE_I2C   (0x00U)
 Panel type supported. More...
 
#define CONFIG_PANEL_TYPE_DSI   (0x01U)
 
#define CONFIG_PANEL_TYPE_INVALID   (0xFFU)
 

Typedefs

typedef void * Panel_Handle
 Handle to the FLash driver returned by Panel_open() More...
 
typedef struct Panel_Config_s Panel_Config
 Forward declaration of Panel_Config. More...
 
typedef struct Panel_Params_s Panel_Params
 Forward declaration of Panel_Params. More...
 
Panel driver implementation callbacks
typedef int32_t(* Panel_OpenFxn) (Panel_Config *config, Panel_Params *params)
 Driver implementation to open a specific panel driver. More...
 
typedef void(* Panel_CloseFxn) (Panel_Config *config, Panel_Params *params)
 Driver implementation to close a specific panel driver. More...
 
typedef int32_t(* Panel_ControlFxn) (Panel_Config *config, Panel_Params *params, uint32_t cmd, void *cmdArgs)
 Driver implementation to control panel using a specific panel driver. More...
 
typedef int32_t(* Panel_ResetFxn) (Panel_Config *config, Panel_Params *params)
 Driver implementation to soft reset the panel. More...
 

Functions

Panel_Handle Panel_open (uint32_t instanceId, Panel_Params *params)
 Open panel driver. More...
 
void Panel_close (Panel_Handle handle)
 Close panel driver. More...
 
Panel_Handle Panel_getHandle (uint32_t instanceId)
 Get handle to panel driver. More...
 
int32_t Panel_control (Panel_Handle handle, uint32_t cmd, void *cmdArgs)
 Control Panel operation using panel specific commands. More...
 
int32_t Panel_reset (Panel_Handle handle)
 Do a reset of the panel. More...
 
uint32_t Panel_getPanelInterfaceIndex (uint32_t panelType)
 Return panel index based on type of panel. More...
 
void Panel_init (void)
 This function initializes the Panel module. More...
 
void Panel_deinit (void)
 This function de-initializes the Panel module. More...