Struck Documentation
SIS3153
VME interface
Page 12 of 38
3.2.4 LEMO IO control register
#define SIS3153USB_LEMO_IO_CTRL_REG
0x3
The register is implemented in a J/K fashion also and allows to check the status of the logic
level setting of the front panel inputs and outputs. In addition it can be used to control the
levels by software. Please note, that the actual control over the status of the inputs and outputs
is controlled via the LEMO I/O register
Bit
Write Function
Read Function/value
31
Disable Software Level Control (*)
0
30
reserved
0
29
reserved
0
28
reserved
0
27
reserved
0
26
reserved
0
25
reserved
0
24
reserved
0
23
Clear output 2 latch (*)
Status of input 2 latch
22
Clear output 1 latch (*)
Status of input 1 latch
21
Clear output 2 (*)
Status of input 2
20
Clear output 1 (*)
Status of input 1
19
Set input 2 to NIM level (*)
0
18
Set input 1 to NIM level (*)
0
17
Set output 2 to NIM level (*)
0
16
Set output 1 to NIM level (*)
0
15
Enable Software Level Control
Status Software Level Control
14
reserved
Status of reserved
13
reserved
Status of reserved
12
reserved
Status of reserved
11
reserved
Status of reserved
10
reserved
Status of reserved
9
reserved
Status of reserved
8
reserved
Status of reserved
7
Generate output pulse 2
0
6
Generate output pulse 1
0
5
Set output 2
Status of output 2
4
Set output 1
Status of output 1
3
Set input 2 to TTL level
Status of level input 2 (0=NIM, 1=TTL)
2
Set input 1 to TTL level
Status of level input 1 (0=NIM, 1=TTL)
1
Set output 2 to TTL level
Status of level output 2 (0=NIM, 1=TTL)
0
Set output 1 to TTL level
Status of level output 1 (0=NIM, 1=TTL)
The power up value is 0x00000000 (with the I/Os jumper configured to NIM level)
(*) denotes the power up default setting
Note 1:
Enable software control by setting bit 15 to gain software control over the logic levels
of the I/Os. By default the level is defined by jumpers JP123 and JP133.
Note 2:
for the typical application it will be good enough to set the logic levels to the desired
levels in hardware by setting JP123 and JP133 accordingly.