|
AM62Px MCU+ SDK
10.01.00
|
|
Go to the documentation of this file.
53 #include <drivers/hw_include/soc_config.h>
66 #define PANEL_INVALID_VALUE (0xFFFFFFFFU)
72 #define CONFIG_PANEL_TYPE_I2C (0x00U)
73 #define CONFIG_PANEL_TYPE_DSI (0x01U)
74 #define CONFIG_PANEL_TYPE_INVALID (0xFFU)
80 #define PANEL_MAX_NUM_PINS_CTRL (0xAU)
144 uint32_t cmd,
void *cmdArgs);
252 typedef struct Panel_Params_s
277 typedef struct Panel_Config_s
struct Panel_Config_s Panel_Config
Forward declaration of Panel_Config.
Definition: panel.h:90
uint32_t deviceI2cInstId
Definition: panel.h:171
void(* Panel_CloseFxn)(Panel_Config *config, Panel_Params *params)
Driver implementation to close a specific panel driver.
Definition: panel.h:128
Panel_vidOutputParams vidOutParams
Definition: panel.h:255
int32_t Panel_control(Panel_Handle handle, uint32_t cmd, void *cmdArgs)
Control Panel operation using panel specific commands.
uint32_t pinCtrlI2cInstance
Definition: panel.h:237
uint32_t pinType
Definition: panel.h:226
void * object
Definition: panel.h:283
Bridge configuration parameters.
Definition: panel.h:170
int32_t Panel_reset(Panel_Handle handle)
Do a reset of the panel.
Panel_CloseFxn closeFxn
Definition: panel.h:265
uint32_t videoIfMode
Definition: panel.h:193
uint32_t videoDataFormat
Definition: panel.h:207
Panel_Handle Panel_open(uint32_t instanceId, Panel_Params *params)
Open panel driver.
TCA6424_Config ioExpConfig
Definition: panel.h:245
void Panel_init(void)
This function initializes the Panel module.
#define PANEL_MAX_NUM_PINS_CTRL
Max number pins configured for panel pin control.
Definition: panel.h:80
uint32_t outputFormat
Definition: panel.h:183
Configuration paramters for bridge encoder.
Definition: panel.h:190
uint32_t deviceI2cAddr
Definition: panel.h:173
uint32_t numPins
Definition: panel.h:241
uint32_t pinVal
Definition: panel.h:228
Panel_PinCtrl * pinConfig
Definition: panel.h:287
uint32_t pinCtrlI2cAddr
Definition: panel.h:239
uint32_t standard
Definition: panel.h:191
void Panel_deinit(void)
This function de-initializes the Panel module.
uint32_t panelType
Definition: panel.h:279
void * inputParams
Definition: panel.h:285
struct Panel_Params_s Panel_Params
Forward declaration of Panel_Params.
Definition: panel.h:95
int32_t(* Panel_OpenFxn)(Panel_Config *config, Panel_Params *params)
Driver implementation to open a specific panel driver.
Definition: panel.h:114
uint32_t hotPlugGpioIntrLine
Definition: panel.h:177
Driver implementation callbacks.
Definition: panel.h:262
Panel_Handle Panel_getHandle(uint32_t instanceId)
Get handle to panel driver.
Panel_BridgeParams bridgeParams
Definition: panel.h:254
int32_t(* Panel_ResetFxn)(Panel_Config *config, Panel_Params *params)
Driver implementation to soft reset the panel.
Definition: panel.h:158
uint32_t videoIfWidth
Definition: panel.h:197
uint32_t clkEdge
Definition: panel.h:179
uint32_t inpClk
Definition: panel.h:175
uint32_t Panel_getPanelInterfaceIndex(uint32_t panelType)
Return panel index based on type of panel.
Panel_ControlFxn controlFxn
Definition: panel.h:267
Parameters passed during Panel_open()
Definition: panel.h:253
void Panel_close(Panel_Handle handle)
Close panel driver.
Configuration paramters for panel pin control.
Definition: panel.h:236
Panel_Fxns * fxns
Definition: panel.h:281
Opaque semaphore object used with the semaphore APIs.
Definition: SemaphoreP.h:59
SemaphoreP_Object lockSem
Definition: panel.h:289
uint32_t pinIoNum
Definition: panel.h:224
IO Expander driver configuration. This is the driver object used to store state variables.
Definition: ioexp_tca6424.h:115
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.
Definition: panel.h:143
void * Panel_Handle
Handle to the FLash driver returned by Panel_open()
Definition: panel.h:85
Panel_OpenFxn openFxn
Definition: panel.h:263
Panel_ResetFxn resetFxn
Definition: panel.h:269
Panel driver configuration, these are filled by SysCfg based on the panel device that is selected.
Definition: panel.h:278
Panel pin control data.
Definition: panel.h:223