Camera interfaces
STINGRAY Technical Manual
V4.4.2
107
IO_OUTP_CTRL 1-4
The outputs (Output mode, Polarity) are controlled via 4 advanced feature
registers (see
Table 29: Advanced register: Output control
The
Polarity
field determines whether the output is inverted or not. The
out-
put mode
can be viewed in the table below. The current status of the output
can be queried and set via the
PinState
.
It is possible to read back the status of an output pin regardless of the output
mode. This allows for example the host computer to determine if the camera
is busy by simply polling the BUSY output.
Note
Outputs in Direct Mode:
For correct functionality the Polarity should always be set
to 0 (SmartView: Trig/IO tab, Invert=No).
Register
Name
Field
Bit
Description
0xF1000320
IO_OUTP_CTRL1
Presence_Inq
[0]
Indicates presence of this
feature (read only)
PWMCapable
[1]
All Stingray cameras (housing
and board level):
Indicates if an output pin
supports the PWM feature.
See
---
[2..6]
Reserved
Polarity
[7]
0: Signal not inverted
1: Signal inverted
---
[8..10]
Reserved
Output mode
[11..15] Mode
see
---
[16..30] Reserved
PinState
[31]
RD: Current state of pin
WR: New state of pin
0xF1000324
IO_OUTP_CTRL2
Same as
IO_OUTP_CTRL1
Table 29: Advanced register:
Output control