fpga/x359/test_scripts/tests_for_96mhz.php File Reference

Go to the source code of this file.

Functions

 send_i2c ($width, $bus, $a, $d, $raw=0)
 receive_i2c ($width, $bus, $a, $raw=0)
 receive_i2c_4 ($width, $bus, $a, $raw=0)
 receive_i2c_n ($width, $bus, $a, $raw=0)
 send_i2c_4 ($width, $bus, $a, $d, $raw=0)
 dcm_reset ($width, $bus, $raw=0)
 ramb_check ($width, $bus, $raw=0)
 ddr_init ($width, $bus, $raw=0)
 ddr_check ($width, $bus, $raw=0)
 ddr_read ($width, $bus, $raw=0)
 channels_init ($width, $bus, $raw=0)
 sensor_init ($width, $bus, $channel, $init_pars, $raw=0)

Variables

 $width = 16
 $bus = 0
 $adr = 0x0860
 $datax = 5
 $nopars = false
 $raw = 0
 $phase_shift = 0
 $channel = 33
 $lines = 1940
 $pixes = 2595
 $delay = 0x00ffffff
 $sphase = 7
 $ch1_ch2_delay = 115


Function Documentation

channels_init ( width,
bus,
raw = 0 
)

Definition at line 288 of file tests_for_96mhz.php.

References $bus, $raw, $width, and send_i2c_4().

dcm_reset ( width,
bus,
raw = 0 
)

Definition at line 110 of file tests_for_96mhz.php.

References $bus, $raw, $width, and send_i2c_4().

ddr_check ( width,
bus,
raw = 0 
)

Definition at line 184 of file tests_for_96mhz.php.

References $bus, $data, $i, $raw, $width, receive_i2c_4(), receive_i2c_n(), and send_i2c_4().

ddr_init ( width,
bus,
raw = 0 
)

Definition at line 148 of file tests_for_96mhz.php.

References $bus, $data, $raw, $width, receive_i2c_4(), and send_i2c_4().

ddr_read ( width,
bus,
raw = 0 
)

Definition at line 246 of file tests_for_96mhz.php.

References $bus, $i, $raw, $width, receive_i2c_n(), and send_i2c_4().

ramb_check ( width,
bus,
raw = 0 
)

Definition at line 117 of file tests_for_96mhz.php.

References $bus, $data, $i, $raw, $width, receive_i2c_4(), and send_i2c_4().

receive_i2c ( width,
bus,
a,
raw = 0 
)

Definition at line 50 of file tests_for_96mhz.php.

References $bus, $data, $i2c, $v, $width, dev, and raw.

receive_i2c_4 ( width,
bus,
a,
raw = 0 
)

Definition at line 62 of file tests_for_96mhz.php.

References $bus, $data, $i2c, $v, $width, dev, and raw.

receive_i2c_n ( width,
bus,
a,
raw = 0 
)

Definition at line 78 of file tests_for_96mhz.php.

References $bus, $data, $i2c, $v, $width, dev, and raw.

send_i2c ( width,
bus,
a,
d,
raw = 0 
)

*************************************************************************** ! FILE NAME : tests_for_96mhz.php ! DESCRIPTION: some tests for the 10359 board ! Copyright (C) 2008 Elphel, Inc ! -----------------------------------------------------------------------------** ! ! This program is free software: you can redistribute it and/or modify ! it under the terms of the GNU General Public License as published by ! the Free Software Foundation, either version 3 of the License, or ! (at your option) any later version. ! ! This program is distributed in the hope that it will be useful, ! but WITHOUT ANY WARRANTY; without even the implied warranty of ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! GNU General Public License for more details. ! ! You should have received a copy of the GNU General Public License ! along with this program. If not, see <http://www.gnu.org/licenses/>. ! -----------------------------------------------------------------------------** !

Log
tests_for_96mhz.php,v
! Revision 1.5 2008/06/23 08:11:58 dzhimiev ! 1. added more scripts for 10359 board ! ! Revision 1.3 2008/06/16 07:43:58 dzhimiev ! mcontr address range changed from 0x0820-0x082F to 0x0840-0x085F (for making extra channels) ! ! Revision 1.2 2008/05/01 20:27:08 dzhimiev ! reformatted a little ! ! Revision 1.1 2008/04/23 01:55:50 dzhimiev ! 1. added x359 files to src lists ! 2. x359 read/write DDR ! 3. x359 3 channels mux directly to out ! 4. x359 one channel through DDR and another directly frames switching at out !

Definition at line 39 of file tests_for_96mhz.php.

References $bus, $d, $i2c, $res, $width, dev, and raw.

send_i2c_4 ( width,
bus,
a,
d,
raw = 0 
)

Definition at line 94 of file tests_for_96mhz.php.

References $bus, $d, $i2c, $res, $width, dev, and raw.

sensor_init ( width,
bus,
channel,
init_pars,
raw = 0 
)

Definition at line 310 of file tests_for_96mhz.php.

References $bus, $i, $init_pars, $raw, $width, receive_i2c(), and send_i2c().


Variable Documentation

$adr = 0x0860

Definition at line 331 of file tests_for_96mhz.php.

$bus = 0

Definition at line 330 of file tests_for_96mhz.php.

$ch1_ch2_delay = 115

Definition at line 342 of file tests_for_96mhz.php.

$channel = 33

Definition at line 337 of file tests_for_96mhz.php.

$datax = 5

Definition at line 332 of file tests_for_96mhz.php.

$delay = 0x00ffffff

Definition at line 340 of file tests_for_96mhz.php.

$lines = 1940

Definition at line 338 of file tests_for_96mhz.php.

$nopars = false

Definition at line 333 of file tests_for_96mhz.php.

$phase_shift = 0

Definition at line 336 of file tests_for_96mhz.php.

$pixes = 2595

Definition at line 339 of file tests_for_96mhz.php.

$raw = 0

Definition at line 334 of file tests_for_96mhz.php.

$sphase = 7

Definition at line 341 of file tests_for_96mhz.php.

$width = 16

Definition at line 329 of file tests_for_96mhz.php.


Generated on Thu Aug 7 16:20:01 2008 for elphel by  doxygen 1.5.1