Critical Link MityCam SoC Firmware  1.0
Critical Link MityCam SoC Firmware
arm_dsp_msgs.h
Go to the documentation of this file.
1 
13 #ifndef _DSP_ARM_MSGS_
14 #define _DSP_ARM_MSGS_
15 
16 #include "scmos_params.h"
17 
18 #include <stdint.h>
19 
24 typedef enum
25 {
26  eeINPUT = 0,
27  eeOUTLOW = 1,
28  eeOUTHIGH = 2,
29  eeSHUTTER = 3,
33 } tePinState;
34 
40 {
43 };
44 
49 {
50  uint32_t mnStartRow;
51  uint32_t mnEndRow;
52  uint32_t mnStartCol;
53  uint32_t mnEndCol;
54  uint32_t mnExpLen;
55  bool mbIsMicros;
56  uint32_t mnInterFrameTime;
57  int32_t mnNumFrames;
58  uint32_t mnExternalTrigger;
60  uint32_t mnTriggerPin;
61  uint32_t mnTrigRisingEdge;
62  uint32_t mnTriggerMode;
63  // when 0, 1 trigger per frame
64  uint32_t mnTriggerDelay;
69 };
70 
71 #endif /* _DSP_ARM_MSGS_ */
72 
eeOUTTIMGEN2
@ eeOUTTIMGEN2
drive GPIO with custom timing strobe 2 (TBD)
Definition: arm_dsp_msgs.h:32
tsCaptureConfigMsg::mnTrigRisingEdge
uint32_t mnTrigRisingEdge
when 1, use rising edge of trigger
Definition: arm_dsp_msgs.h:61
tsCaptureConfigMsg::mnEndRow
uint32_t mnEndRow
ROI last row (zero based)
Definition: arm_dsp_msgs.h:51
tsCaptureConfigMsg::mnMechShutterOpenTime
uint32_t mnMechShutterOpenTime
time required to open mechanical shutter, ms
Definition: arm_dsp_msgs.h:65
tsCaptureConfigMsg::mnStartRow
uint32_t mnStartRow
ROI first row (zero based)
Definition: arm_dsp_msgs.h:50
eeOUTLOW
@ eeOUTLOW
drive GPIO low
Definition: arm_dsp_msgs.h:27
eeROLLING_SHUTTER
@ eeROLLING_SHUTTER
Definition: arm_dsp_msgs.h:41
tsCaptureConfigMsg::mnStartCol
uint32_t mnStartCol
ROI first column (zero based)
Definition: arm_dsp_msgs.h:52
tePinState
tePinState
Definition: arm_dsp_msgs.h:24
tsCaptureConfigMsg::mnTriggerDelay
uint32_t mnTriggerDelay
number of ms to delay from trigger to capture start
Definition: arm_dsp_msgs.h:64
tsCaptureConfigMsg
The tsCaptureConfigMsg struct holds the pending sensor configuration prior to capture.
Definition: arm_dsp_msgs.h:48
tsCaptureConfigMsg::mnSensorShutterMode
uint32_t mnSensorShutterMode
See teSensorShutterMode.
Definition: arm_dsp_msgs.h:68
eeOUTTIMGEN0
@ eeOUTTIMGEN0
drive GPIO with custom timing strobe 0 (TBD)
Definition: arm_dsp_msgs.h:30
teSensorShutterMode
teSensorShutterMode
Definition: arm_dsp_msgs.h:39
tsCaptureConfigMsg::mnExpLen
uint32_t mnExpLen
Exposure length is ms. (min, max??)
Definition: arm_dsp_msgs.h:54
scmos_params.h
Common file storing parameter related to the sCMOS sensor.
eeINPUT
@ eeINPUT
set the GPIO as in INPUT
Definition: arm_dsp_msgs.h:26
tsCaptureConfigMsg::mnMechShutterPolarity
uint32_t mnMechShutterPolarity
when 1, shutter is active high, when 0, active low
Definition: arm_dsp_msgs.h:67
tsCaptureConfigMsg::mnTriggerMode
uint32_t mnTriggerMode
when 1, single trigger starts group of frames,
Definition: arm_dsp_msgs.h:62
eeGLOBAL_SHUTTER
@ eeGLOBAL_SHUTTER
Definition: arm_dsp_msgs.h:42
tsCaptureConfigMsg::mbIsMicros
bool mbIsMicros
Definition: arm_dsp_msgs.h:55
tsCaptureConfigMsg::mnTriggerPin
uint32_t mnTriggerPin
0-4, trigger pin index
Definition: arm_dsp_msgs.h:60
eeSHUTTER
@ eeSHUTTER
drive GPIO with shutter signal
Definition: arm_dsp_msgs.h:29
eeOUTTIMGEN1
@ eeOUTTIMGEN1
drive GPIO with custom timing strobe 1 (TBD)
Definition: arm_dsp_msgs.h:31
tsCaptureConfigMsg::mnMechShutterCloseTime
uint32_t mnMechShutterCloseTime
time required to close mechanical shutter, ms
Definition: arm_dsp_msgs.h:66
tsCaptureConfigMsg::mnExternalTrigger
uint32_t mnExternalTrigger
when 1, use external triggering
Definition: arm_dsp_msgs.h:59
tsCaptureConfigMsg::mnEndCol
uint32_t mnEndCol
ROI last column (zero based)
Definition: arm_dsp_msgs.h:53
tsCaptureConfigMsg::mnInterFrameTime
uint32_t mnInterFrameTime
Frame to frame interval in ms. (0 is fast as can)
Definition: arm_dsp_msgs.h:56
eeOUTHIGH
@ eeOUTHIGH
drive GPIO high
Definition: arm_dsp_msgs.h:28
tsCaptureConfigMsg::mnNumFrames
int32_t mnNumFrames
current capture. Set to negative for continunous capture.
Definition: arm_dsp_msgs.h:57