Holds the sensor control structure.
To activate a sensor control block, set the corresponding valid flag to TRUE and populate the control settings to be set.
To disable a sensor control block, set the corresponding valid flag to FALSE.
For example, to activate the white balance control block, set the wbValid flag in the wbControl structure to TRUE and populate the white balance settings to be programmed. To disable white balance control block, set the wbValid flag to FALSE.
Usage considerations
Definition at line 1987 of file devblk_cdi.h.

Data Fields | |
| uint8_t | numSensorContexts |
| Holds the number of sensor contexts to activate. More... | |
| DevBlkCDIExposure | exposureControl [DEVBLK_CDI_MAX_SENSOR_CONTEXTS] |
| Holds the sensor exposure settings to set for each context. More... | |
| DevBlkCDIWhiteBalance | wbControl [DEVBLK_CDI_MAX_SENSOR_CONTEXTS] |
| Holds the sensor white balance settings to set for each context. More... | |
| DevBlkCDIFrameReport | frameReportControl |
| Holds the sensor frame report value to be programmed. More... | |
| DevBlkCDIIllumination | illuminationControl [DEVBLK_CDI_MAX_SENSOR_CONTEXTS] |
| Holds the illumination settings for each context. More... | |
| DevBlkCDIFrameCtxID | multiCtxIDControl [DEVBLK_CDI_MAX_SENSOR_CONTEXTS] |
| Holds the sensor frame context id to be programmed for each context. More... | |
| DevBlkCDIExposure DevBlkCDISensorControl::exposureControl[DEVBLK_CDI_MAX_SENSOR_CONTEXTS] |
Holds the sensor exposure settings to set for each context.
Definition at line 2002 of file devblk_cdi.h.
| DevBlkCDIFrameReport DevBlkCDISensorControl::frameReportControl |
Holds the sensor frame report value to be programmed.
Sensor frame report control enables you to program custom user information per frame into sensor scratch space (registers) provided by the sensor for private use.
Definition at line 2015 of file devblk_cdi.h.
| DevBlkCDIIllumination DevBlkCDISensorControl::illuminationControl[DEVBLK_CDI_MAX_SENSOR_CONTEXTS] |
Holds the illumination settings for each context.
This control is only valid for RGB-IR sensors.
Definition at line 2021 of file devblk_cdi.h.
| DevBlkCDIFrameCtxID DevBlkCDISensorControl::multiCtxIDControl[DEVBLK_CDI_MAX_SENSOR_CONTEXTS] |
Holds the sensor frame context id to be programmed for each context.
This control is only valid for multi-context sensors (numSensorContexts > 1) Must be in the range [1, numSensorContexts].
Definition at line 2028 of file devblk_cdi.h.
| uint8_t DevBlkCDISensorControl::numSensorContexts |
Holds the number of sensor contexts to activate.
A sensor context is a mode of operation, supported by some sensors, in which multiple set of settings (contexts) are programmed and the sensor toggles between them at run time.
Must be in the range [1, DEVBLK_CDI_MAX_SENSOR_CONTEXTS]. For sensors that do not support sensor context, set to 1.
Definition at line 1997 of file devblk_cdi.h.
| DevBlkCDIWhiteBalance DevBlkCDISensorControl::wbControl[DEVBLK_CDI_MAX_SENSOR_CONTEXTS] |
Holds the sensor white balance settings to set for each context.
Definition at line 2007 of file devblk_cdi.h.