Critical Link MityCam SoC Firmware
1.0
Critical Link MityCam SoC Firmware
|
#include <SensorBoard.h>
Public Member Functions | |
tcSensorBoard (int aeType, uint32 anStreamAddr, int32 length, int32 *aaGpioNum) | |
tcSensorBoard (int aeType, uint32_t anFpgaBaseAddr, uint32_t anRamStreamAddr, int32 length, int32 *aaGpioNum) | |
virtual | ~tcSensorBoard () |
int | id () |
int32 | init () |
virtual tcAbstractHandler * | getCustomHandlers (tcAbstractHandler *apTailHandler, std::map< std::string, tcAbstractHandler * > *apStringMap) |
virtual void | resetFpga () |
virtual uint64_t | fpgaVersion () |
virtual int | GetCameraInfo (tsCameraInfo *apInfo)=0 |
virtual void | update (tsUpdate asMessage) |
virtual teNackCode | calibrate () |
virtual teNackCode | whiteLevelCalibrate () |
virtual teNackCode | setClockSetting (int32 anSetting) |
virtual teNackCode | getClockSetting (int32 &arSetting) |
virtual void | snap (tsCaptureRequest asSnapRequest) |
start a capture More... | |
virtual int32 | initialize ()=0 |
virtual teNackCode | setExposure (int32 anMicroseconds, uint32_t anExpIndex=0)=0 |
teNackCode | setExposure (std::chrono::microseconds anMicroseconds, uint32_t anExpIndex=0) |
virtual int32 | getExposure (uint32_t anExpIndex=0)=0 |
virtual uint32 | getMinFrameIntervalMicroS () |
std::chrono::microseconds | getMinFrameInterval () |
virtual teNackCode | setFrameInterval (int32 anMicroseconds)=0 |
teNackCode | setFrameInterval (std::chrono::microseconds anMicroseconds) |
virtual int32 | getFrameInterval ()=0 |
virtual teNackCode | setROI (ROI region)=0 |
virtual ROI | getROI ()=0 |
virtual ROI | getImageROI () |
virtual teNackCode | setVerticalBin (int32 anPixels)=0 |
virtual int32 | getVerticalBin ()=0 |
virtual teNackCode | setHorizontalBin (int32 anPixels)=0 |
virtual int32 | getHorizontalBin ()=0 |
virtual teNackCode | setShutterMode (teShutterMode eeMode)=0 |
virtual int32 | getShutterMode ()=0 |
virtual teNackCode | setBPP (teBPPMode eeMode)=0 |
virtual teNackCode | setColor (bool) |
virtual teNackCode | setTestPattern (teTestPattern eeSelection)=0 |
virtual int32 | getTestPattern ()=0 |
virtual teNackCode | setTrigger (teTriggerMode eeTrigger)=0 |
virtual int32 | getTrigger ()=0 |
virtual teNackCode | peek (int32 anRegister, int *apValue) |
virtual teNackCode | poke (int32 anRegister, int32 anValue) |
virtual int32 | validate ()=0 |
virtual bool | isCapturing ()=0 |
virtual teNackCode | start ()=0 |
virtual teNackCode | stop ()=0 |
virtual std::string | getTemperature (int32 anSensor=0)=0 |
virtual float | getTempCelsius () |
virtual float | getBoardTempCelsius () |
virtual std::string | getVersion ()=0 |
virtual teNackCode | save (int32 anConfiguration)=0 |
virtual teNackCode | recall (int32 anConfiguration)=0 |
virtual teNackCode | setIODirection (int32 anPin, int32 anDirection) |
tcSensorBoard::setIODirection Sets the camera GPIO direction. More... | |
virtual teNackCode | setIOValue (int32 anPinNum, int32 anValue) |
tcSensorBoard::setIOValue Sets the output value of the gpio-camio linux module controlling the cam-gpio.vhd critical link camera IO block. More... | |
virtual teNackCode | setIOInverter (int32 anPinNum, int32 anInvertEnable) |
tcSensorBoard::setIOInverter Sets the camera GPIO invert state. More... | |
virtual teNackCode | power (bool abOn) |
virtual int32 | getIODirection () |
virtual int32 | getIOValue () |
tcSensorBoard::getIOValue More... | |
virtual int32 | getNumPins () |
virtual teNackCode | setMirroring (bool isX, bool Enabled) |
virtual teNackCode | getMirroring (bool isX, bool *Enabled) |
virtual teNackCode | setNoiseReduct (bool enHi, uint16_t threshhi, bool enLo, uint16_t threshlo) |
virtual teNackCode | getNoiseReduct (bool &enHi, uint16_t &threshhi, bool &enLo, uint16_t &threshlo) |
virtual teNackCode | setSqrtCompression (bool enable) |
virtual teNackCode | getSqrtCompression (bool &enable) |
virtual teNackCode | setDemoMode (int32 anMode) |
virtual teNackCode | getDemoMode (int32 &arMode) |
virtual teNackCode | loadColumnBias (const char *asFilename) |
virtual teNackCode | loadColumnGain (const char *asFilename) |
virtual teNackCode | loadPixelCal (const char *asFilename) |
virtual tcRAMStreamer * | getStreamer () |
virtual tcTimestamp * | getTimestamper () |
virtual void | setTimestamper (tcTimestamp *apStamper) |
virtual tcSensorBoard * | self () |
uint32 | getFrameSizeBytes () |
int | getSysIdNumber (unsigned short &major, unsigned short &minor) |
uint32 | getMaxImgCount () |
uint32 | getNumSnapFramesLeft () |
virtual void | Handler (unsigned int gpionum, unsigned int val) |
Handler GPIO Handler notifies changes on any gpio with edges enabled. More... | |
virtual uint32 | getPixelFormat (void) |
Get the pixel format generated by the pixel pipeline. More... | |
virtual tcVoltageSensor * | getVoltageSensor () |
get the temperature monitor object for this sensor More... | |
virtual tcTemperatureSensor * | getTempSensor () |
get the tcTemperature monitor object for this sensor More... | |
virtual void | runPeriodic () |
can be called by framework to do any periodic work. More... | |
virtual int32_t | getSensorWidth () |
virtual int32_t | getSensorHeight () |
Public Member Functions inherited from tcObserver | |
tcObserver () | |
virtual | ~tcObserver () |
Static Public Attributes | |
static const std::string | NO_TEMPERATURE_SENSOR |
static const std::string | TEMPERATURE_SENSOR_ERROR |
Protected Member Functions | |
void | nextRequest () |
void | initGpios (int32 length, int32 *aaGpioNum) |
virtual uint32 | GetSkipFrames (bool &reload) |
GetSkipFrames If the current sensor needs to skip initially received frames, they can overload this function, which will be called immediately prior to a ::start() call, to set the number of frames to skip. This only works with the RAMStreamer image data. More... | |
uint32 | ConvertPixelFormat (uint32 anFormat, bool abFlipX, bool abFlipY) |
Utility routine to convert PFNC pixel format given flip options. More... | |
teNackCode | GetA10BoardTemp (uint32 anIndex, float &anTemp) |
Utility routine to get the temp sensor readings off an A10 processor card. More... | |
Protected Attributes | |
bool | mbIsPowered |
tcMutex | mhMutex |
MityDSP::tcGpio * | mpCamIO |
MityDSP::tcGpio::PinConfig * | maPinConfigs |
int32 | mnPinCount |
tcRAMStreamer * | mpStreamer |
std::map< int, std::pair< tcIntAccessor *, IntAccessorFunction > > | mhPeekMap |
std::map< int, std::pair< tcIntSetter *, IntSetterFunction > > | mhPokeMap |
tcPollingInterruptThread | mcInterruptThread |
MityDSP::tcAD741x * | mpTempSensor |
uint32 | mnMaxImgCount |
const sensors_chip_name * | mpChipnameAD7414 |
lmsensors chipname for AD7414 on A10/CV More... | |
const sensors_chip_name * | mpChipnameLM95235 |
lmsensors chipname for LM95235 on A10 More... | |
int | mnAD7414_sf |
TEMP input subfeature number needed to get the actual temperature. More... | |
int | mnLM95235_die_sf |
TEMP input subfeature for die temperature (CPU) sensor. More... | |
int | mnLM95235_board_sf |
TEMP input subfeature for on-chip sensor. More... | |
for the Cyclone V, there is no hwmon / kernel driver used for the AD741X, so we try to use the I2C device directly with the mpTempSensor class. This will fail if the sensor is taken by a hwmon/lmsensor kernel driver, and will be handled below.
Attempt to locate the sensor chip name and subfeature indexes for our HWMON / lmsensors based temperature sensor. We are using the libsensors library instead of sysfs because the order of the two sensors (e.g., hwmon1, hwmon0) is not gauranteed. Instead of crawling around sysfs use the libsensor API to figure out the right pathnames / references.
Note: this is really only for the A10, the current Cyclone V exposes the AD741X chip directly (no hwmon / kernel I2C driver is specified in the device tree), so the mpTempSensor, above, is used.
tcSensorBoard::tcSensorBoard | ( | int | aeType, |
uint32_t | anFpgaBaseAddr, | ||
uint32_t | anRamStreamAddr, | ||
int32 | length, | ||
int32 * | aaGpioNum | ||
) |
|
virtual |
|
virtual |
Perform calibration routine for the camera.
Reimplemented in SocCamera::tcSavableSensorBoard.
|
protected |
Utility routine to convert PFNC pixel format given flip options.
anFormat | the input format |
abFlipX | invert the X parameter |
abFlipY | invert the Y parameter |
|
virtual |
Reimplemented in SocCamera::tcSimSensorSensorBoard.
|
protected |
Utility routine to get the temp sensor readings off an A10 processor card.
anIndex[in] | temp sensor index. 1 = AD7415 board temp, 2 = A10 Diode / CPU temp, 3 = LM95235 board temp |
anTemp[out] | measured temperature in degrees C |
make sure valid pointers. If we had problems locating lmsensor info during construction, we're not going to get good data
|
virtual |
Gets the SoC board temperature in degrees celsius. If the i2c temperature sensor does not exist (ie: old revision of the board), returns -275.
|
pure virtual |
Get the camera info for the given sensor board.
apInfo | - pointer to camera structure to fill in. |
Implemented in SocCamera::tcSimSensorSensorBoard, SocCamera::tcStdOutSensorBoard, and SocCamera::tcSavableSensorBoard.
|
virtual |
Gets the current clock setting.
a | reference to an integer to store the setting |
|
virtual |
Reimplemented in SocCamera::tcSimSensorSensorBoard.
|
inlinevirtual |
Return the currently set demo mode.
reference | to an int for the demo mode state. |
|
pure virtual |
Returns the currently set exposure time in microseconds.
Implemented in SocCamera::tcSavableSensorBoard, SocCamera::tcSimSensorSensorBoard, and SocCamera::tcStdOutSensorBoard.
|
pure virtual |
Returns the frame interval time in microseconds.
Implemented in SocCamera::tcSimSensorSensorBoard, SocCamera::tcSavableSensorBoard, and SocCamera::tcStdOutSensorBoard.
uint32 SocCamera::tcSensorBoard::getFrameSizeBytes | ( | ) |
Returns the returned image size in bytes.
|
pure virtual |
Gets the currently set horizontal binning factor being used.
Implemented in SocCamera::tcSimSensorSensorBoard, SocCamera::tcSavableSensorBoard, and SocCamera::tcStdOutSensorBoard.
|
inlinevirtual |
By default this function returns this->getROI(). For Multiple ROI Sensors, this should return an ROI that defines the image.
Reimplemented in SocCamera::tcSavableSensorBoard.
|
virtual |
Returns the current direction of the pins as a bit mask where the position of the bit is the gpio and a non-zero value indicates an output.
Reimplemented in SocCamera::tcSavableSensorBoard, SocCamera::tcStdOutSensorBoard, and tcCamLinkTestSensorBoard.
|
virtual |
Returns the current value of the pins; if the pin is an input, this is the value read. If the pin is an output, this is the value it is driving.
Reimplemented in SocCamera::tcSavableSensorBoard, SocCamera::tcStdOutSensorBoard, and tcCamLinkTestSensorBoard.
uint32 SocCamera::tcSensorBoard::getMaxImgCount | ( | ) |
Returns the maximum image count.
|
inline |
|
inlinevirtual |
Returns the minimum frame interval period in microseconds
Reimplemented in SocCamera::tcSimSensorSensorBoard.
|
inlinevirtual |
Gets mirroring state.
isX | when true operation is for X direction, else Y |
Enabled | whether to flip |
|
inlinevirtual |
Get Noise Reduction options
enHi | enable Hi side noise reduction |
threshhi | high side threshold |
enLo | enable Low side noise reduction |
threshlo | low side threshold |
|
virtual |
Returns the number of pins.
uint32 SocCamera::tcSensorBoard::getNumSnapFramesLeft | ( | ) |
|
virtual |
Get the pixel format generated by the pixel pipeline.
|
pure virtual |
Returns the currently set region of interest for the camera.
Implemented in SocCamera::tcSimSensorSensorBoard, SocCamera::tcSavableSensorBoard, and SocCamera::tcStdOutSensorBoard.
|
inlinevirtual |
|
inlinevirtual |
|
pure virtual |
Returns the current shutter mode of the camera.
Implemented in SocCamera::tcSimSensorSensorBoard, SocCamera::tcSavableSensorBoard, and SocCamera::tcStdOutSensorBoard.
|
inlineprotectedvirtual |
GetSkipFrames If the current sensor needs to skip initially received frames, they can overload this function, which will be called immediately prior to a ::start() call, to set the number of frames to skip. This only works with the RAMStreamer image data.
reload[out] | set to true if skip valid should be reloaded each capture interval |
|
inlinevirtual |
Get Enable state of square root compression
enable | set to true when compression is enabled |
|
virtual |
Gets the RAM streamer component reference to share with IOChannel objects.
Reimplemented in SocCamera::tcSavableSensorBoard.
int SocCamera::tcSensorBoard::getSysIdNumber | ( | unsigned short & | major, |
unsigned short & | minor | ||
) |
Converts the SYS_ID version number register
major | location to store major portion of number |
minor | location to store minor portion of number |
|
virtual |
A default temperature accessor that returns a single sensor's reading in celsius.
Reimplemented in SocCamera::tcSavableSensorBoard.
|
pure virtual |
Returns the temperature for the sensor specified if there are multiple. This function returns tcSensorBoard::NO_TEMPERATURE_SENSOR (below absolute 0) if not implemented for a specific sensor.
anSensor | - the sensor to request. |
Implemented in SocCamera::tcStdOutSensorBoard, SocCamera::tcSimSensorSensorBoard, and SocCamera::tcSavableSensorBoard.
|
inlinevirtual |
get the tcTemperature monitor object for this sensor
|
pure virtual |
Get the currently set test pattern from eeTestPatterns.
Implemented in SocCamera::tcSimSensorSensorBoard, SocCamera::tcSavableSensorBoard, and SocCamera::tcStdOutSensorBoard.
|
virtual |
Gets the Timestamp component to share with other objects.
Reimplemented in SocCamera::tcSavableSensorBoard.
|
pure virtual |
Returns the currently set trigger mode.
Implemented in SocCamera::tcSimSensorSensorBoard, SocCamera::tcSavableSensorBoard, and SocCamera::tcStdOutSensorBoard.
|
pure virtual |
Get the chip version of the sensor board if possible.
Implemented in SocCamera::tcSimSensorSensorBoard, SocCamera::tcSavableSensorBoard, and SocCamera::tcStdOutSensorBoard.
|
pure virtual |
Gets the currently set vertical binnign factor being used.
Implemented in SocCamera::tcSimSensorSensorBoard, SocCamera::tcSavableSensorBoard, and SocCamera::tcStdOutSensorBoard.
|
inlinevirtual |
get the temperature monitor object for this sensor
|
virtual |
Handler GPIO Handler notifies changes on any gpio with edges enabled.
gpionum | the logical / linux gpionum raising the interrupt |
val | the current value of the GPIO pin |
int tcSensorBoard::id | ( | ) |
int32 SocCamera::tcSensorBoard::init | ( | ) |
Try to locate first 4 GPIOS from sysfs names. Note: going forward, using the GPIO names from the device tree / sysfs is preferred. this will allow survival through any changes to NR_GPIO (or it's removal) from the kernel in the future (as the GPIO numbering is not gauranteed to remain static from kernel to kernel).
register to by notified of changes, but by default, no changes will be reported. This will kick off the tcGpio monitoring thread, which will start kicking the callback if we set any of the GPIO pin's edge properties
|
pure virtual |
Performs the operations of initialization. This consists of power up, setting default register values and configuring peripherals.
Implemented in SocCamera::tcSimSensorSensorBoard, SocCamera::tcSavableSensorBoard, and SocCamera::tcStdOutSensorBoard.
|
pure virtual |
Test if the camera is currently capturing. Used to prevent setting certain paramters when the device is capturing.
Implemented in SocCamera::tcSimSensorSensorBoard, SocCamera::tcSavableSensorBoard, and SocCamera::tcStdOutSensorBoard.
|
inlinevirtual |
Load the column bias.
filename | of the column biases. |
|
inlinevirtual |
Load the column gains.
filename | of the column gains. |
|
inlinevirtual |
Load the column bias.
filename | of the column biases. |
|
protected |
|
virtual |
Gets the current value of a register according to the document defining the behavior of the concrete class.
anRegister | - an int32 - the register to look at. |
apValue | - a pointer to a location to store the value read back |
Reimplemented in SocCamera::tcSavableSensorBoard, and SocCamera::tcStdOutSensorBoard.
|
virtual |
Sets a register according to the document defining the behavior of the concrete class.
anRegister | - an int32 - the register to set. |
anValue | - an int32 - the value to set the register to. |
Reimplemented in SocCamera::tcSavableSensorBoard, and SocCamera::tcStdOutSensorBoard.
|
virtual |
Toggle power on the sensor board; hook provides no functionality.
abOn | - true to turn power on; false to turn it off. |
Reimplemented in SocCamera::tcSavableSensorBoard.
|
pure virtual |
Recall a configuration identified by anConfiguration.
anConfiguration | - an int32 specifying the config to recall |
Implemented in SocCamera::tcSimSensorSensorBoard, SocCamera::tcSavableSensorBoard, and SocCamera::tcStdOutSensorBoard.
|
virtual |
Resets the FPGA if appropriate; this is needed to decouple certain pipeline components from the IOChannel object.
Function is an empty adapter; only some FPGA/IOChannel combos will need this
Reimplemented in SocCamera::tcSimSensorSensorBoard.
|
inlinevirtual |
can be called by framework to do any periodic work.
|
pure virtual |
Saves a configuration identified by anConfiguration.
anConfiguration | - an int32 specifying the config to recall |
Implemented in SocCamera::tcSimSensorSensorBoard, SocCamera::tcSavableSensorBoard, and SocCamera::tcStdOutSensorBoard.
|
virtual |
Returns itself or a pointer to the object being controlled.
Reimplemented in SocCamera::tcSavableSensorBoard.
|
pure virtual |
A request to set the BPP mode of the camera.
eeMode | - an int32 from eeBPPMode for the mode to enter |
Implemented in SocCamera::tcSimSensorSensorBoard, SocCamera::tcSavableSensorBoard, and SocCamera::tcStdOutSensorBoard.
|
virtual |
Camera-specific method of setting the clock. Some clocks may need to be set manually or for debug purposes, set the clock faster/slower as desired.
anSetting | - a camera specific setting. |
|
inlinevirtual |
Sets whether sensor is in color mode. Used mostly for configuring bad pixel map
abColor | True if in color mode |
|
inlinevirtual |
If the camera supports it, set a special demo mode.
By convention, 0 should disable any demo-mode features.
anMode | - the demo mode to put the camera into. |
|
pure virtual |
Sets the exposure time to the nearest valid exposure time which is greater than the parameter.
anMicroseconds | - an int32 - the number of microseconds the exposure should be |
anExpIndex | - index of exposure control, typically 0 (default). Can be used for HDR type configuration to specific a second exposure setting |
Implemented in SocCamera::tcSimSensorSensorBoard, SocCamera::tcSavableSensorBoard, and SocCamera::tcStdOutSensorBoard.
|
inline |
|
pure virtual |
Sets the frame interval to the nearest valid interval time which is shorter than the paramter.
anMicroseconds | - an int32 - the number of microseconds the frame interval time should be |
Implemented in SocCamera::tcSimSensorSensorBoard, SocCamera::tcSavableSensorBoard, and SocCamera::tcStdOutSensorBoard.
|
inline |
|
pure virtual |
A request to set the horizontal binning factor of the camera.
anPixels | - an int32 - the number of pixels to bin horizontally |
Implemented in SocCamera::tcSimSensorSensorBoard, SocCamera::tcSavableSensorBoard, and SocCamera::tcStdOutSensorBoard.
|
virtual |
tcSensorBoard::setIODirection Sets the camera GPIO direction.
anPin | zero based GPIO pin number corresponding to gpio-camio index |
anDirection | 0 = nominal input, 1 = output, 2 = alternate input |
anPin | zero based GPIO pin number corresponding to gpio-camio index |
anDirection | 0 = nominal input, 1 = output, 2 = alternate input |
Reimplemented in SocCamera::tcSavableSensorBoard, and tcCamLinkTestSensorBoard.
|
virtual |
tcSensorBoard::setIOInverter Sets the camera GPIO invert state.
Sets the inversion state pin. This will invert the input, or the output depending on the pin's direction.
anPinNum | Zero Based GPIO pin number. 0-3 should map to camera GPIO 1-4 |
anInvertEnable | when zero don't invert, otherwise invert |
|
virtual |
tcSensorBoard::setIOValue Sets the output value of the gpio-camio linux module controlling the cam-gpio.vhd critical link camera IO block.
anPinNum | Zero Based GPIO Pin Number. 0-3 should map to camera GPIO 1-4. |
anValue | 0 -> static low output, 1 -> static high output, 2-5 : FPGA fabric inputs 0-3, respectively |
anPinNum | Zero Based GPIO Pin Number. 0-3 should map to camera GPIO 1-4. |
anValue | 0 -> static low output, 1 -> static high output, 2-5 : FPGA fabric inputs 0-3, respectively |
Reimplemented in tcCamLinkTestSensorBoard, and SocCamera::tcSavableSensorBoard.
|
inlinevirtual |
Flips Image, if supported based on mask values.
isX | when true operation is for X direction, else Y |
Enabled | whether to flip |
|
inlinevirtual |
Set Noise Reduction options
enHi | enable Hi side noise reduction |
threshhi | high side threshold |
enLo | enable Low side noise reduction |
threshlo | low side threshold |
|
pure virtual |
Sets the ROI from the sensor's perspective; binning will reduce the the actual number of pixels in a frame.
region | - ROI struct - dictates the top left of the region and the size. |
Implemented in SocCamera::tcSimSensorSensorBoard, SocCamera::tcSavableSensorBoard, and SocCamera::tcStdOutSensorBoard.
|
pure virtual |
A request to set the shutter mode of the camera.
eeMode | - an int32 from eeShutterMode to place the camera into. |
Implemented in SocCamera::tcSimSensorSensorBoard, SocCamera::tcSavableSensorBoard, and SocCamera::tcStdOutSensorBoard.
|
inlinevirtual |
Enable / Disable square root compression
enable | set to true to enable compression |
|
pure virtual |
Request to set the test pattern from eeTestPatterns.
eeSelection | - an int32 from eeTestPatterns for which pattern to use |
Implemented in SocCamera::tcSimSensorSensorBoard, SocCamera::tcSavableSensorBoard, and SocCamera::tcStdOutSensorBoard.
|
virtual |
Sets a timestamper for external use.
|
pure virtual |
Selects the trigger mode to use.
eeTrigger | - an int32 from eeTriggerModes |
Implemented in SocCamera::tcSimSensorSensorBoard, SocCamera::tcSavableSensorBoard, and SocCamera::tcStdOutSensorBoard.
|
pure virtual |
A request to set the vertical binning factor of the camera.
anPixels | - an int32 - the number of pixels to bin vertically |
Implemented in SocCamera::tcSimSensorSensorBoard, SocCamera::tcSavableSensorBoard, and SocCamera::tcStdOutSensorBoard.
|
virtual |
start a capture
Queue the request for images to be asynchronously fulfilled.
asSnapRequest | - the snap request message. |
asSnapRequest |
Reimplemented in SocCamera::tcSavableSensorBoard.
|
pure virtual |
Request to start capturing if configuration is valid.
Implemented in SocCamera::tcSimSensorSensorBoard, SocCamera::tcSavableSensorBoard, and SocCamera::tcStdOutSensorBoard.
|
pure virtual |
Request to stop the camera from capturing.
Implemented in SocCamera::tcSimSensorSensorBoard, SocCamera::tcSavableSensorBoard, and SocCamera::tcStdOutSensorBoard.
|
virtual |
Observers are updated of a change by an observable.
asMessage | - the message sent by the observable. |
Implements tcObserver.
|
pure virtual |
Checks if the current configuration is valid and can be applied when trying to begin capturing.
Implemented in SocCamera::tcSimSensorSensorBoard, SocCamera::tcSavableSensorBoard, and SocCamera::tcStdOutSensorBoard.
|
virtual |
Performs a white level calibration and applies the ratio to obtain a properly set gain.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
TEMP input subfeature number needed to get the actual temperature.
|
protected |
TEMP input subfeature for on-chip sensor.
|
protected |
TEMP input subfeature for die temperature (CPU) sensor.
|
protected |
|
protected |
|
protected |
|
protected |
lmsensors chipname for AD7414 on A10/CV
|
protected |
lmsensors chipname for LM95235 on A10
|
protected |
|
protected |
|
static |
|
static |