![]() |
PDK API Guide for J721E
|
Files | |
file | csitx_socPriv.h |
CSITX Low Level Driver SOC specific 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... | |
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... | |
CSITX Stream support | |
#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 | |
#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 | |
#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... | |
#define CSITX_STRM_SUPPORT_NOT_SUPPORTED ((uint32_t) 0x0U) |
Stream support: not supported.
#define CSITX_STRM_SUPPORT_SUPPORTED ((uint32_t) 0x1U) |
Stream support: supported.
#define CSITX_STRM_CH_TYPE_TX ((uint32_t) 0x1U) |
Stream type: transmit mode, frames will transmitted from internal memory or DDR.
#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.
#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.
#define CSITX_ENABLE_SERIAL_TRANS_DISABLE ((uint32_t) 0x0U) |
CSITX serialized transmission: Disable.
#define CSITX_ENABLE_SERIAL_TRANS_ENABLE ((uint32_t) 0x1U) |
CSITX serialized transmission: Enable.
void CsitxDrv_initPlatData | ( | Csitx_PlatformData * | platformData | ) |
This function should be used to initialize platform data for the given SoC.
platformData | A pointer of type Csitx_PlatformData. |
int32_t Csitx_dphyConfig | ( | void * | instHandle | ) |
This function configures DPHY.
instHandle | [IN] Pointer to CSIRX Instance handle. |
int32_t CsirtxDrv_lpbkSel | ( | uint32_t | instId, |
uint32_t | lpbkSel | ||
) |
This function Select the source for loopback stream of CSITX.
instId | [IN] CSITX instance. |
lpbkSel | [IN] Source for loopback stream (CSIRX0/1/2). |