AM273x MCU+ SDK  08.02.00

Detailed Description

Context configuration.

Data Fields

uint8_t virtualChannelId
 Virtual channel Id as per MIPI spec. More...
 
uint16_t format
 Data format, one of CSIRX_DATA_FORMAT. More...
 
uint8_t userDefinedMapping
 Selects the pixel format of USER_DEFINED in CSIRX_DATA_FORMAT configuration. One of CSIRX_USER_DEFINED_FORMAT. More...
 
uint16_t numFramesToAcquire
 number of frames to acquire. Special value CSIRX_NUM_FRAMES_TO_ACQUIRE_INFINITE for infinite frames More...
 
uint16_t numLinesForIntr
 see description of CSIRX_ContextIntr::isNumLines More...
 
uint16_t alpha
 controls the padding for *_EXP16, *_EXP32 and *_EXP32_24 data formats of the format field More...
 
bool isByteSwapEnabled
 If true, enables byte swapping of payload data when it is multiples of 16-bits. Byte swapping is performed before pixel reconstruction. It doesn't affect short packets, long packet header or footers or CRC calculation. More...
 
bool isGenericEnabled
 If true, data is received as per format and the long packet code transmitted in the MIPI stream is ignored. If disabled, data is received as per format and the long packet code transmitted in the MIPI stream is used. More...
 
bool isEndOfFramePulseEnabled
 if enabled, end of frame pulse is generated at the end of the frame. This controls the combined End of Frame interrupt. More...
 
bool isEndOfLinePulseEnabled
 if enabled, end of line pulse is generated at the end of the line. This controls the combined End of Line IRQ and the context End of Line interrupt. More...
 
bool isPayloadChecksumEnable
 If true, enables checksum checking of long packet payload. Influenced by CSIRX_ContextIntr::isPayloadChecksumMismatch. More...
 
bool isGenerateIntrEveryNumLinesForIntr
 see description of CSIRX_ContextIntr::isNumLines More...
 
CSIRX_ContextTranscodeConfig transcodeConfig
 Transcode configuration. More...
 
CSIRX_ContextPingPongConfig pingPongConfig
 ping-pong configuration More...
 
CSIRX_ContextIntr enableIntr
 Context interrupts to enable/disable. More...
 
CSIRX_ContextCallback eolCallback
 Context End of Line interrupt call back function definition - NOT SUPPORTED AS OF NOW. More...
 
void * eolCallbackArgs
 Arguments for CSIRX_ContextConfig::eolCallback. More...
 

Field Documentation

◆ virtualChannelId

uint8_t CSIRX_ContextConfig::virtualChannelId

Virtual channel Id as per MIPI spec.

◆ format

uint16_t CSIRX_ContextConfig::format

Data format, one of CSIRX_DATA_FORMAT.

◆ userDefinedMapping

uint8_t CSIRX_ContextConfig::userDefinedMapping

Selects the pixel format of USER_DEFINED in CSIRX_DATA_FORMAT configuration. One of CSIRX_USER_DEFINED_FORMAT.

◆ numFramesToAcquire

uint16_t CSIRX_ContextConfig::numFramesToAcquire

number of frames to acquire. Special value CSIRX_NUM_FRAMES_TO_ACQUIRE_INFINITE for infinite frames

◆ numLinesForIntr

uint16_t CSIRX_ContextConfig::numLinesForIntr

see description of CSIRX_ContextIntr::isNumLines

◆ alpha

uint16_t CSIRX_ContextConfig::alpha

controls the padding for *_EXP16, *_EXP32 and *_EXP32_24 data formats of the format field

◆ isByteSwapEnabled

bool CSIRX_ContextConfig::isByteSwapEnabled

If true, enables byte swapping of payload data when it is multiples of 16-bits. Byte swapping is performed before pixel reconstruction. It doesn't affect short packets, long packet header or footers or CRC calculation.

◆ isGenericEnabled

bool CSIRX_ContextConfig::isGenericEnabled

If true, data is received as per format and the long packet code transmitted in the MIPI stream is ignored. If disabled, data is received as per format and the long packet code transmitted in the MIPI stream is used.

◆ isEndOfFramePulseEnabled

bool CSIRX_ContextConfig::isEndOfFramePulseEnabled

if enabled, end of frame pulse is generated at the end of the frame. This controls the combined End of Frame interrupt.

◆ isEndOfLinePulseEnabled

bool CSIRX_ContextConfig::isEndOfLinePulseEnabled

if enabled, end of line pulse is generated at the end of the line. This controls the combined End of Line IRQ and the context End of Line interrupt.

◆ isPayloadChecksumEnable

bool CSIRX_ContextConfig::isPayloadChecksumEnable

If true, enables checksum checking of long packet payload. Influenced by CSIRX_ContextIntr::isPayloadChecksumMismatch.

◆ isGenerateIntrEveryNumLinesForIntr

bool CSIRX_ContextConfig::isGenerateIntrEveryNumLinesForIntr

see description of CSIRX_ContextIntr::isNumLines

◆ transcodeConfig

CSIRX_ContextTranscodeConfig CSIRX_ContextConfig::transcodeConfig

Transcode configuration.

◆ pingPongConfig

CSIRX_ContextPingPongConfig CSIRX_ContextConfig::pingPongConfig

ping-pong configuration

◆ enableIntr

CSIRX_ContextIntr CSIRX_ContextConfig::enableIntr

Context interrupts to enable/disable.

◆ eolCallback

CSIRX_ContextCallback CSIRX_ContextConfig::eolCallback

Context End of Line interrupt call back function definition - NOT SUPPORTED AS OF NOW.

   This is called
   when the context's end of line is received and the last memory write
   of the received line has landed in memory.
   NOTE: this is generated independent
   of the \ref CSIRX_ContextIntr::isLineEndCodeDetect configuration.
   This is only relevant when
   \ref CSIRX_ContextPingPongConfig::pingPongSwitchMode
   is \ref CSIRX_PING_PONG_LINE_SWITCHING

◆ eolCallbackArgs

void* CSIRX_ContextConfig::eolCallbackArgs