![]() |
PDK Documentation
|
Files | |
| file | csirx_ss.h |
| This file contains the prototypes of the APIs present in the device abstraction layer file of CSI RX SS. This also contains some related macros. | |
Data Structures | |
| struct | CSL_CsirxVPConfig |
| Structure for Video Port configuration for CSI Rx SS. More... | |
| struct | CSL_CsirxDMAConfig |
| Structure for PSI-L/DMA configuration for CSI Rx SS. More... | |
| struct | CSL_CsirxRevisionId |
| Structure for accessing Revision ID and Core Release Info. of CSI Rx module. More... | |
Functions | |
| void | CSL_csirxGetRevisionId (const CSL_csi_rx_ifRegs *ifRegisters, CSL_CsirxRevisionId *revId) |
| This API is used get the CSI Rx revision ID. More... | |
| int32_t | CSL_csirxEnableVP (CSL_csi_rx_ifRegs *ifRegisters, uint32_t instance, uint32_t enable) |
| This API is used enable/disable Video Port. More... | |
| int32_t | CSL_csirxConfigVP (CSL_csi_rx_ifRegs *ifRegisters, const CSL_CsirxVPConfig *config) |
| This API is used to configure Video Port. More... | |
| void | CSL_csirxAssertPixelIfReset (CSL_csi_rx_ifRegs *ifRegisters, uint32_t assert) |
| This API is used assert/de-assert reset for pixel interface. More... | |
| int32_t | CSL_csirxEnableDMA (CSL_csi_rx_ifRegs *ifRegisters, uint32_t threadNum, uint32_t enable) |
| This API is used enable/disable DMA. More... | |
| int32_t | CSL_csirxConfigDMA (CSL_csi_rx_ifRegs *ifRegisters, const CSL_CsirxDMAConfig *config) |
| This API is used to configure DMA. More... | |
Enumerations | |
| enum | CSL_CsirxVPInstance { CSL_CSIRX_VP_INSTANCE_0 = CSL_CSI_RX_IF_VP0, CSL_CSIRX_VP_INSTANCE_1 = CSL_CSI_RX_IF_VP1 } |
| Enum to represent the Video Port Instance. More... | |
| enum | CSL_CsirxDMADataSizeShift { CSL_CSIRX_DMA_DATA_SIZE_SHIFT_8BITS = 0U, CSL_CSIRX_DMA_DATA_SIZE_SHIFT_16BITS = 1U, CSL_CSIRX_DMA_DATA_SIZE_SHIFT_32BITS = 2U } |
| Enum to represent Data Size Shift while unpacking. More... | |
| enum | CSL_CsirxYUV422Mode { CSL_CSIRX_YUV422_MODE_UYVY = 0U, CSL_CSIRX_YUV422_MODE_VYUY = 1U, CSL_CSIRX_YUV422_MODE_YUYV = 2U, CSL_CSIRX_YUV422_MODE_YVYU = 3U } |
| Enum to represent Data Size Shift while unpacking. More... | |
Macros | |
| #define | CSL_CSIRX_PSI_L_THREAD_NUM_MAX ((uint32_t)32U) |
| Maximum number of PSI-L Threads supported by CSI Rx SS. More... | |
| #define CSL_CSIRX_PSI_L_THREAD_NUM_MAX ((uint32_t)32U) |
Maximum number of PSI-L Threads supported by CSI Rx SS.
| enum CSL_CsirxVPInstance |
| enum CSL_CsirxYUV422Mode |
| void CSL_csirxGetRevisionId | ( | const CSL_csi_rx_ifRegs * | ifRegisters, |
| CSL_CsirxRevisionId * | revId | ||
| ) |
This API is used get the CSI Rx revision ID.
| ifRegisters | Base Address of the CSI Rx SS Registers. |
| revId | Contains Revision ID of CSI Rx module. Refer to CSL_CsirxRevisionId. |
| int32_t CSL_csirxEnableVP | ( | CSL_csi_rx_ifRegs * | ifRegisters, |
| uint32_t | instance, | ||
| uint32_t | enable | ||
| ) |
This API is used enable/disable Video Port.
| ifRegisters | Base Address of the CSI Rx SS Registers. |
| instance | Video Port instance to enable/disable. Refer to CSL_CsirxVPInstance |
| enable | Video Port is enabled if it is TRUE. Video Port Mode is disabled if it is FALSE. |
| int32_t CSL_csirxConfigVP | ( | CSL_csi_rx_ifRegs * | ifRegisters, |
| const CSL_CsirxVPConfig * | config | ||
| ) |
This API is used to configure Video Port.
| ifRegisters | Base Address of the CSI Rx SS Registers. |
| config | Pointer to Video Port Configurations. Refer to CSL_CsirxVPConfig |
| void CSL_csirxAssertPixelIfReset | ( | CSL_csi_rx_ifRegs * | ifRegisters, |
| uint32_t | assert | ||
| ) |
This API is used assert/de-assert reset for pixel interface.
| ifRegisters | Base Address of the CSI Rx SS Registers. |
| assert | Reset is asserted if it is TRUE. Reset is not asserted if it is FALSE. |
| int32_t CSL_csirxEnableDMA | ( | CSL_csi_rx_ifRegs * | ifRegisters, |
| uint32_t | threadNum, | ||
| uint32_t | enable | ||
| ) |
This API is used enable/disable DMA.
| ifRegisters | Base Address of the CSI Rx SS Registers. |
| threadNum | PSIL-L Thread to use for transfer. Range:[0:(CSL_CSIRX_PSI_L_THREAD_NUM_MAX - 1)] |
| enable | DMA is enabled if it is TRUE. DMA is disabled if it is FALSE. |
| int32_t CSL_csirxConfigDMA | ( | CSL_csi_rx_ifRegs * | ifRegisters, |
| const CSL_CsirxDMAConfig * | config | ||
| ) |
This API is used to configure DMA.
| ifRegisters | Base Address of the CSI Rx SS Registers. |
| config | Pointer to Video Port Configurations. Refer to CSL_CsirxDMAConfig |