Power requirements: 17.5 W,
3.5 A at +5V.
Reading this input register returns a 32-bit word.
The SIS3600 is defined by:
define/dev=input_register/module=sis3600/base=0x10000/chan=0 latch1
The following piece of code shows how the value of a particular bit can be the return value of a virtual counter:
if( $method =~ /reset/i) { return 1; } if( $method =~ /read/i) { # # 0 is the number of the first input channel (down-left) # my $bitno = 0; return ((Spectra::rir( "latch1") >> $bitno) & 1); }