PDK API Guide for J721E
CSITX Driver Configurations

Introduction

This is documentation for CSITX driver configuration.

Files

file  csitx_cfg.h
 CSITX Driver configuration file.
 

Macros

#define CsitxTrace
 Log enable for CSITX module. More...
 
#define CSITX_DRV_ENABLE_DEBUG   (1U)
 Enable logging for debug purpose. Set to '1' to enable debug logging. More...
 
#define CSITX_DRV_LOG_CNT   (100U)
 Number of entries to log for debug. More...
 

CSITX Create Default configurations.

Default values for create time parameters. See Csitx_CreateParams for details

#define CSITX_NUM_CH   (4U)
 Number of Channels: Maximum number of channels for configuration Application can save some memory by reducing this to actual number of channels used rather than all available channels. More...
 
#define CSITX_CH_ID_DEFAULT   ((uint32_t) 0x00U)
 Channel ID: Default channel ID used for initialization. More...
 
#define CSITX_VC_NUM_DEFAULT   ((uint32_t) 0x00U)
 Virtual Channel ID: Default virtual channel ID used for initialization. More...
 
#define CSITX_OUT_DT_DEFAULT   (FVID2_CSI2_DF_RAW12)
 Frame DT: Default frame DT used for initialization. More...
 
#define CSITX_IN_FRAME_WIDTH_DEFAULT   (1920U)
 Frame Width: Default frame width used for initialization. More...
 
#define CSITX_IN_FRAME_HEIGHT_DEFAULT   (1080U)
 Frame Height: Default frame height used for initialization. More...
 
#define CSITX_IN_FRAME_HB_DEFAULT   (0U)
 Horizontal Blanking: Default HB (in terms of number of pixels) used for initialization. More...
 
#define CSITX_IN_FRAME_VB_DEFAULT   (0U)
 Vertical Blanking: Default VB (in terms of number of pixels) used for initialization. More...
 
#define CSITX_TX_QUEUE_DEPTH_PER_CH   ((uint32_t)10U)
 Default max number of frames that can be queued per capture driver instance. More...
 
#define CSITX_TIMEOUT_VAL_MS   ((uint32_t)10U)
 Time out value: Time-out value in ms. This is used as time-out for some of the blocking calls like completion of reset to prevent the driver from hang. More...
 
#define CSITX_DRV_ENABLE_EXTENDED_DT   (1U)
 Extended Data-type support for v2.0 partial support. Set to '1' to enable. More...
 
#define CSITX_DRV_ENABLE_LS_LE   (0U)
 Line Start and Line End packets transmit support. Set to '1' to enable. More...
 

Macro Definition Documentation

◆ CSITX_NUM_CH

#define CSITX_NUM_CH   (4U)

Number of Channels: Maximum number of channels for configuration Application can save some memory by reducing this to actual number of channels used rather than all available channels.

◆ CSITX_CH_ID_DEFAULT

#define CSITX_CH_ID_DEFAULT   ((uint32_t) 0x00U)

Channel ID: Default channel ID used for initialization.

◆ CSITX_VC_NUM_DEFAULT

#define CSITX_VC_NUM_DEFAULT   ((uint32_t) 0x00U)

Virtual Channel ID: Default virtual channel ID used for initialization.

◆ CSITX_OUT_DT_DEFAULT

#define CSITX_OUT_DT_DEFAULT   (FVID2_CSI2_DF_RAW12)

Frame DT: Default frame DT used for initialization.

◆ CSITX_IN_FRAME_WIDTH_DEFAULT

#define CSITX_IN_FRAME_WIDTH_DEFAULT   (1920U)

Frame Width: Default frame width used for initialization.

◆ CSITX_IN_FRAME_HEIGHT_DEFAULT

#define CSITX_IN_FRAME_HEIGHT_DEFAULT   (1080U)

Frame Height: Default frame height used for initialization.

◆ CSITX_IN_FRAME_HB_DEFAULT

#define CSITX_IN_FRAME_HB_DEFAULT   (0U)

Horizontal Blanking: Default HB (in terms of number of pixels) used for initialization.

◆ CSITX_IN_FRAME_VB_DEFAULT

#define CSITX_IN_FRAME_VB_DEFAULT   (0U)

Vertical Blanking: Default VB (in terms of number of pixels) used for initialization.

◆ CSITX_TX_QUEUE_DEPTH_PER_CH

#define CSITX_TX_QUEUE_DEPTH_PER_CH   ((uint32_t)10U)

Default max number of frames that can be queued per capture driver instance.

◆ CSITX_TIMEOUT_VAL_MS

#define CSITX_TIMEOUT_VAL_MS   ((uint32_t)10U)

Time out value: Time-out value in ms. This is used as time-out for some of the blocking calls like completion of reset to prevent the driver from hang.

◆ CSITX_DRV_ENABLE_EXTENDED_DT

#define CSITX_DRV_ENABLE_EXTENDED_DT   (1U)

Extended Data-type support for v2.0 partial support. Set to '1' to enable.

◆ CSITX_DRV_ENABLE_LS_LE

#define CSITX_DRV_ENABLE_LS_LE   (0U)

Line Start and Line End packets transmit support. Set to '1' to enable.

◆ CsitxTrace

#define CsitxTrace
Value:
((uint32_t) GT_INFO |\
(uint32_t) GT_TraceState_Enable)

Log enable for CSITX module.

◆ CSITX_DRV_ENABLE_DEBUG

#define CSITX_DRV_ENABLE_DEBUG   (1U)

Enable logging for debug purpose. Set to '1' to enable debug logging.

◆ CSITX_DRV_LOG_CNT

#define CSITX_DRV_LOG_CNT   (100U)

Number of entries to log for debug.