beautypg.com

Io_outp_ctrl 1-4, In chapter, 103ff – ALLIED Vision Technologies Stingray F-504 User Manual

Page 105

background image

Camera interfaces

STINGRAY Technical Manual V4.4.4

103

IO_OUTP_CTRL 1-4

The outputs (Output mode, Polarity) are controlled via 4 advanced feature
registers (see

Table 28: Advanced register: Output control

on page 103).

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

Table 30: PWM configura-

tion registers

on page 106.

---

[2..6]

Reserved

Polarity

[7]

0: Signal not inverted

1: Signal inverted

---

[8..10]

Reserved

Output mode

[11..15] Mode

see

Table 29: Output routing

on page 104

---

[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 28: Advanced register: Output control