APIs common across contexts
◆ CSIRX_STOP_STATE_FSM_TIMEOUT_MAX
#define CSIRX_STOP_STATE_FSM_TIMEOUT_MAX (200000U) |
◆ CSIRX_ENDIANNESS_NATIVE_MIPI_CSI2
#define CSIRX_ENDIANNESS_NATIVE_MIPI_CSI2 (0U) |
All little endian except legacy YUV422 8b and YUV420, which are big endian.
◆ CSIRX_ENDIANNESS_LITTLE_ENDIAN
#define CSIRX_ENDIANNESS_LITTLE_ENDIAN (1U) |
◆ CSIRX_ENDIANNESS_MAX
#define CSIRX_ENDIANNESS_MAX (1U) |
Endianness max for error checking purposes.
◆ CSIRX_BURST_SIZE_1X64
#define CSIRX_BURST_SIZE_1X64 (0U) |
Burst size 1x64 OCP writes.
◆ CSIRX_BURST_SIZE_2X64
#define CSIRX_BURST_SIZE_2X64 (1U) |
Burst size 2x64 OCP writes.
◆ CSIRX_BURST_SIZE_4X64
#define CSIRX_BURST_SIZE_4X64 (2U) |
Burst size 4x64 OCP writes.
◆ CSIRX_BURST_SIZE_8X64
#define CSIRX_BURST_SIZE_8X64 (3U) |
Burst size 8x64 OCP writes.
◆ CSIRX_BURST_SIZE_MAX
#define CSIRX_BURST_SIZE_MAX (3U) |
◆ CSIRX_CommonCallback
typedef void(* CSIRX_CommonCallback) (CSIRX_Handle handle, void *arg, struct CSIRX_CommonIntr_s *irq) |
Common interrupt callback.
The driver clear the pending interrupts internally so callback need not clear it
- Parameters
-
handle | [in] CSIRX driver handle |
arg | [in] User supplied argument |
irq | [in] Interrupt status, see CSIRX_CommonIntr |
◆ CSIRX_Callback
typedef void(* CSIRX_Callback) (CSIRX_Handle handle, void *arg) |
Generic Interrupt callback.
- Parameters
-
handle | [in] CSIRX driver handle |
arg | [in] User supplied argument |
◆ CSIRX_CommonConfig_init()
Sets default values for configuration.
- Parameters
-
◆ CSIRX_commonSetConfig()
Configure common to all context settings.
- Parameters
-
handle | [in] CSIRX driver handle |
config | [in] Common to all context configuration |
- Returns
- SystemP_SUCCESS on success, else failure
◆ CSIRX_commonClearAllIntr()
Clear all pending common to all context interrupts.
- Parameters
-
handle | [in] CSIRX driver handle |
- Returns
- SystemP_SUCCESS on success, else failure
◆ CSIRX_commonGetPendingIntr()
Get all pending common to all context interrupts.
- Parameters
-
handle | [in] CSIRX driver handle |
intrStatus | [out] Interrupt status |
- Returns
- SystemP_SUCCESS on success, else failure
◆ CSIRX_commonGetGenericShortPacket()
int32_t CSIRX_commonGetGenericShortPacket |
( |
CSIRX_Handle |
handle, |
|
|
uint32_t * |
shortPacket |
|
) |
| |
Get generic short packet header.
- Parameters
-
handle | [in] CSIRX driver handle |
shortPacket | [out] Generic short packet header |
- Returns
- SystemP_SUCCESS on success, else failure
◆ CSIRX_commonEnable()
Enable CSIRX interface.
- Parameters
-
handle | [in] CSIRX driver handle |
- Returns
- SystemP_SUCCESS on success, else failure
◆ CSIRX_commonDisable()
Disable CSIRX interface.
- Parameters
-
handle | [in] CSIRX driver handle |
- Returns
- SystemP_SUCCESS on success, else failure