PDK API Guide for J721E
csitx_socPriv.h File Reference

Introduction

CSITX Low Level Driver SOC specific file.

Go to the source code of this file.

Data Structures

struct  Csitx_StrmInfo
 This structure holds information about CSI Tx streams available in current SoC. More...
 
struct  Csitx_ModInfo
 This structure holds information about CSI Tx Module available in current SoC. More...
 
struct  Csitx_PlatformData
 This structure holds information about CSI Tx instances available in current SoC. More...
 
struct  Csitx_DphyRangeData
 This structure holds information about CSI Tx Range. Typically used for DPHY programming. More...
 

Macros

CSITX Stream support

CSITX Stream support status.

#define CSITX_STRM_SUPPORT_NOT_SUPPORTED   ((uint32_t) 0x0U)
 Stream support: not supported. More...
 
#define CSITX_STRM_SUPPORT_SUPPORTED   ((uint32_t) 0x1U)
 Stream support: supported. More...
 
CSITX Channel Type

Id for CSITX Channel/Stream type.

#define CSITX_STRM_CH_TYPE_TX   ((uint32_t) 0x1U)
 Stream type: transmit mode, frames will transmitted from internal memory or DDR. More...
 
#define CSITX_STRM_CH_TYPE_COLORBAR   ((uint32_t) 0x2U)
 Stream type: Color Bar mode, Pre-defined color bar pattern is sent out through CSI interface. More...
 
#define CSITX_STRM_CH_TYPE_LPBK   ((uint32_t) 0x4U)
 Stream type: Loopback mode, frames are accepted through CSI Tx trans PADs and will sent out. More...
 
CSITX Enable serialized transmission

Options for serialized transmission.

#define CSITX_ENABLE_SERIAL_TRANS_DISABLE   ((uint32_t) 0x0U)
 CSITX serialized transmission: Disable. More...
 
#define CSITX_ENABLE_SERIAL_TRANS_ENABLE   ((uint32_t) 0x1U)
 CSITX serialized transmission: Enable. More...
 

Functions

void CsitxDrv_initPlatData (Csitx_PlatformData *platformData)
 This function should be used to initialize platform data for the given SoC. More...
 
int32_t Csitx_dphyConfig (void *instHandle)
 This function configures DPHY. More...
 
int32_t CsirtxDrv_lpbkSel (uint32_t instId, uint32_t lpbkSel)
 This function Select the source for loopback stream of CSITX. More...