Camera interfaces
STINGRAY Technical Manual
V2.2.0
86
IO_OUTP_CTRL 1-4
The outputs (Output mode, Polarity) are controlled via 4 advanced feature
registers (see
Table 27: Advanced register: Output control
on page 86).
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
L
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
Table 29: PWM configura-
tion registers
on page 89.
---
[2..6]
Reserved
Polarity
[7]
0: Signal not inverted
1: Signal inverted
---
[8..10]
Reserved
Output mode
[11..15] Mode
see
Table 28: Output routing
on page 87
---
[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 27: Advanced register:
Output control