Instruction manual

Configuration of the camera
MARLIN Technical Manual
Page 110
11.4.13 Input/output pin control
All input and output signals running over the HiRose plug are controlled by this register.
Offset Name Field Bit Description
0xF1000300 IO_INP_CTRL1 Presence_Inq [0] Indicates presence
of this feature
(read only)
--- [1..6]
Polarity [7] 0: low active, 1:
high active
--- [8..10]
InputMode [11..15] Mode
--- [16..30]
PinState [31] RD: Current state
of pin
0xF1000304 IO_INP_CTRL2 Same as
IO_INP_CTRL1
Table 74: Input control configuration register
IO_INP_CTRL 1-2
The Polarity flag determines whether the input is low active (0) or high active (1). The input
mode can be seen in the following table. The PinState flag is used to query the current status of
the input.
For inputs, the PinState bit refers to the inverted output side of the optical coupler. This means
that an open input sets the PinState bit to “1”.
ID Mode
Default
0x00
Off
0x01 reserved
0x02 Trigger input Input 1
0x03 Incremental decoder input
0x04 reserved
0x05 tbd (SPI external DCLK)
0x06..0x0F reserved
0x10..0x1F reserved
Table 75: Input routing
Trigger
If more than one input is being operated in trigger mode, these inputs are logically linked by
AND.