Go to the source code of this file.
Functions | |
send347 ($register_address, $d0=0, $d1=-1, $d2=-1, $d3=-1, $d4=-1, $d5=-1, $d6=-1, $d7=-1) | |
receive347 ($register_address) | |
i2cread16 ($start, $length=256) | |
Variables | |
$LOOP = 0x0000 | |
$ELOOP = 0x1000 | |
$JUMPOUT = 0x1400 | |
$JUMP = 0x1800 | |
$CJUMP = 0x1c00 | |
$RESET = 0x2000 | |
$TGLEXPOS = 0x3000 | |
$TGLFRAME = 0x4000 | |
$TGLLINE = 0x5000 | |
$TGLFD = 0x6000 | |
$TGLSHUTTER = 0x7000 | |
$VPH0 = 0x8000 | |
$VPH1 = 0x9000 | |
$VPH2 = 0xa000 | |
$VPH3 = 0xb000 | |
$VPH4 = 0xc000 | |
$VPH5 = 0xd000 | |
$VPH6 = 0xe000 | |
$VPH7 = 0xf000 | |
$NLINES = 0xaa0 | |
$NPIX = 0x7f8 | |
$T_HD = 55 | |
$T_VCCD = 55 | |
$T_V3RD = 139 | |
$T_V3P = 833 | |
$T_V3D = 278 | |
$T_S = 70 | |
$T_SD = 28 | |
$T_FD = 14 | |
$T_SFD = 1389 | |
$T_MS = 70 | |
$i2c = fopen('/dev/xi2c16', 'r') | |
$data = fread($i2c, 2) | |
$regs = unpack('n*',$data) |
i2cread16 | ( | $ | start, | |
$ | length = 256 | |||
) |
receive347 | ( | $ | register_address | ) |
send347 | ( | $ | register_address, | |
$ | d0 = 0 , |
|||
$ | d1 = -1 , |
|||
$ | d2 = -1 , |
|||
$ | d3 = -1 , |
|||
$ | d4 = -1 , |
|||
$ | d5 = -1 , |
|||
$ | d6 = -1 , |
|||
$ | d7 = -1 | |||
) |
*************************************************************************** ! FILE NAME : init347.php ! DESCRIPTION: Provides initialization of the 10347 board FPGA (called at init) ! Copyright (C) 2007 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/>. ! -----------------------------------------------------------------------------** !
Definition at line 38 of file init347.php.
Referenced by seq_send().
$CJUMP = 0x1c00 |
Definition at line 211 of file init347.php.
$data = fread($i2c, 2) |
Definition at line 365 of file init347.php.
$ELOOP = 0x1000 |
Definition at line 208 of file init347.php.
$i2c = fopen('/dev/xi2c16', 'r') |
Definition at line 363 of file init347.php.
Referenced by i2c_getCMOSClock(), i2c_read256b(), i2c_receive(), i2c_send(), i2c_setCMOSClock(), i2c_write256b(), i2cread16(), receive347(), receive_i2c(), receive_i2c_4(), receive_i2c_n(), send347(), send_i2c(), send_i2c_4(), send_i2c_4_nc(), send_i2c_4a(), sendi2c16(), seq_receive(), and smbus_send().
$JUMP = 0x1800 |
Definition at line 210 of file init347.php.
$JUMPOUT = 0x1400 |
Definition at line 209 of file init347.php.
$LOOP = 0x0000 |
Definition at line 207 of file init347.php.
$NLINES = 0xaa0 |
Definition at line 227 of file init347.php.
$NPIX = 0x7f8 |
Definition at line 228 of file init347.php.
Definition at line 367 of file init347.php.
Referenced by fpga_read(), i2cread16(), senspars_read(), and seq_receive().
$RESET = 0x2000 |
Definition at line 212 of file init347.php.
$T_FD = 14 |
Definition at line 249 of file init347.php.
$T_HD = 55 |
Definition at line 242 of file init347.php.
$T_MS = 70 |
Definition at line 251 of file init347.php.
$T_S = 70 |
Definition at line 247 of file init347.php.
$T_SD = 28 |
Definition at line 248 of file init347.php.
$T_SFD = 1389 |
Definition at line 250 of file init347.php.
$T_V3D = 278 |
Definition at line 246 of file init347.php.
$T_V3P = 833 |
Definition at line 245 of file init347.php.
$T_V3RD = 139 |
Definition at line 244 of file init347.php.
$T_VCCD = 55 |
Definition at line 243 of file init347.php.
$TGLEXPOS = 0x3000 |
Definition at line 213 of file init347.php.
$TGLFD = 0x6000 |
Definition at line 216 of file init347.php.
$TGLFRAME = 0x4000 |
Definition at line 214 of file init347.php.
$TGLLINE = 0x5000 |
Definition at line 215 of file init347.php.
$TGLSHUTTER = 0x7000 |
Definition at line 217 of file init347.php.
$VPH0 = 0x8000 |
Definition at line 218 of file init347.php.
$VPH1 = 0x9000 |
Definition at line 219 of file init347.php.
$VPH2 = 0xa000 |
Definition at line 220 of file init347.php.
$VPH3 = 0xb000 |
Definition at line 221 of file init347.php.
$VPH4 = 0xc000 |
Definition at line 222 of file init347.php.
$VPH5 = 0xd000 |
Definition at line 223 of file init347.php.
$VPH6 = 0xe000 |
Definition at line 224 of file init347.php.
$VPH7 = 0xf000 |
Definition at line 225 of file init347.php.