$i2c_Page_InputISE=0x10;// When written to $i2c_CurrentPage, makes registers 0..0xf control corresponding input (0..0xf) ISE (equalization):
// Bits 5:4 ISE short: 0 - off, 1 - minimal, 2 - moderate, 3 - maximal; bits 3:2 ISE medium, bits 1:0 ISE Long time constant
$i2c_Page_InputState=0x11;// When written to $i2c_CurrentPage, makes registers 0..0xf control corresponding input (0..0xf) enable, polarity and termination (default 6)
// Bit 2 (+4) Terminate to VDD ( 0 - connect, 1 - do not connect) - dedicated (0..7) inputs only
// Bit 1 (+2) Input power (0 - on, 1 - off)
// Bit 0 (+1) Invert signal at input
///$i2c_InputStateData= 0x04; // terminated,enabled, not inverted
$i2c_InputStateData=0x00;// terminated,disabled, not inverted
$i2c_Page_InputLOS=0x12;// When written to $i2c_CurrentPage, makes registers 0..0xf control corresponding input (0..0xf) LOS (loss of signal) threshold
$i2c_Page_OutputPreLong=0x20;// When written to $i2c_CurrentPage, makes registers 0..0xf control corresponding output (0..0xf) long time constant pre-emphasis
$i2c_Page_OutputPreShort=0x21;// When written to $i2c_CurrentPage, makes registers 0..0xf control corresponding output (0..0xf) short time constant pre-emphasis
$i2c_Page_OutputLevel=0x22;// When written to $i2c_CurrentPage, makes registers 0..0xf control corresponding output (0..0xf) short time constant pre-emphasis
// bit 4 (+0x10) - for 8-15 used as inputs only: terminate inputs 8..15 to VDDIO-0.7V
$i2c_Page_OutputState=0x23;// When written to $i2c_CurrentPage, makes registers 0..0xf control corresponding output (0..0xf) OOB signaling and output polarity
// bit 0 - OOB control: 1 - enable LOS forwarding, 0 - ignore LOS
$i2c_Page_ChannelStatus=0xf0;// When written to $i2c_CurrentPage, makes registers 0..0xf monitor corresponding input (0..0xf) LOS status
// bit 0 - LOS status: 1 - LOS detected (loss of signal), 0 - signal present (input has to be enabled, otherwise 0 is read)
// when reading from address 0x10 of this page:
// bit 0 - value of STAT0
// bit 1 - value of STAT1
$i2c_Page_Status0Configure=0x80;// When written to $i2c_CurrentPage, makes registers 0..0xf control selected input LOS to be OR-ed to STAT0 output pin (and bit)
// bit 0 : 1 - OR this input channel LOS status to STAT0
$i2c_Page_Status1Configure=0x81;// When written to $i2c_CurrentPage, makes registers 0..0xf control selected input LOS to be OR-ed to STAT1 output pin (and bit)
// bit 0 : 1 - OR this input channel LOS status to STAT1
$i2c_GlobalConnection=0x50;// Bit 4 (+0x10) - disable all outputs, bits 3:0 - input number to connect to all outputs
$i2c_GlobalInputISE=0x51;// Bits 5:4 ISE short: 0 - off, 1 - minimal, 2 - moderate, 3 - maximal; bits 3:2 ISE medium, bits 1:0 ISE Long time constant
$i2c_GlobalInputState=0x52;// Bit 2 (+4) - terminate input to VDD (0..7 only) 0-connect, 1 Normal; Bit 1 (+2) Input power off (0 - On, 1 - Off) bit0 (+1): Input polarity: 1 - inverted, 0 - normal
@@ -1429,28 +1192,6 @@ function programConnections($disableUnused)
...
@@ -1429,28 +1192,6 @@ function programConnections($disableUnused)
}
}
}
}
}
}
functionprogramConnections_old($disableUnused){
global$debug,$channels,$connections,$activeOutputs,$activeInputs,$BUS,$SA,$i2c_CurrentPage,$i2c_Page_Connection,$i2c_Page_InputState,$i2c_Page_OutputLevel;// in init mode all the unused connections will be powered down