elphel_set_P_value($sensor_port,ELPHEL_MULTI_CFG,1);// cy22393 does not work on 10359. Not enough 3.3V?
$xml->addChild('elphel_set_P_value'.strval($sensor_port),elphel_set_P_value($sensor_port,ELPHEL_SENSOR,0x00,0,ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC));// / will start detection
elphel_set_P_value($sensor_port,ELPHEL_FPGA_XTRA,1000,$frame+3,ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC);// /compressor needs extra 1000 cycles to compress a frame (estimate)
// elphel_set_P_value ( $sensor_port, ELPHEL_EXTERN_TIMESTAMP, 1, $frame + 3, ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC ); // / only used with async trigger
// / good (latency should be changed, but for now that will make a correct initialization - maybe obsolete)
// SESNOR_PHASE for parallel sensors means quadrants (bits 1:0 - data, 3:2 - hact, 5:4 vact)
$xml->addChild('elphel_set_P_value'.strval($sensor_port),elphel_set_P_value($sensor_port,ELPHEL_SENSOR,0x00,0,ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC));// / will start detection
$xml->addChild('elphel_set_P_value'.strval($sensor_port),elphel_set_P_value($sensor_port,ELPHEL_SENSOR,0x00,0,ELPHEL_CONST_FRAMEPAIR_FORCE_NEWPROC));// / will start detection
// Seems that next LSEEK_SENSORPROC is not needed as 0->ELPHEL_SENSOR will trigger it anyway