fpga/x359/test_scripts/sensors_init.php File Reference

Go to the source code of this file.

Functions

 send_i2c ($width, $bus, $a, $d, $raw=0)
 send_i2c_4 ($width, $bus, $a, $d, $raw=0)
 receive_i2c ($width, $bus, $a, $raw=0)
 receive_i2c_4 ($width, $bus, $a, $raw=0)
 dcm_reset ($width, $bus, $raw=0)
 sensor_init ($width, $bus, $channel, $init_pars, $raw=0)

Variables

 $width = 16
 $bus = 0
 $sphase = 0x0000007


Function Documentation

dcm_reset ( width,
bus,
raw = 0 
)

Definition at line 96 of file sensors_init.php.

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

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

Definition at line 68 of file sensors_init.php.

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

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

Definition at line 80 of file sensors_init.php.

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

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

*************************************************************************** ! FILE NAME : sensors_init.php ! DESCRIPTION: reads parameters from the sensor 1 and writes to other sensors ! 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
sensors_init.php,v
! Revision 1.4 2008/06/23 08:11:58 dzhimiev ! 1. added more scripts for 10359 board ! ! Revision 1.2 2008/05/22 22:57:54 dzhimiev ! + 0x0800 - current channel number register ! + DCMs independent phase adjustment ! useful scripts ! ! Revision 1.2 2008/05/01 20:32:29 dzhimiev ! reads each sensor registers after configuration ! ! Revision 1.1 2008/04/23 01:55:49 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 41 of file sensors_init.php.

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

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

Definition at line 52 of file sensors_init.php.

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

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

Definition at line 103 of file sensors_init.php.

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


Variable Documentation

$bus = 0

Definition at line 123 of file sensors_init.php.

$sphase = 0x0000007

Definition at line 124 of file sensors_init.php.

$width = 16

Definition at line 122 of file sensors_init.php.


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