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) | |
Variables | |
$width = 16 | |
$bus = 0 | |
$adr = 0x0860 | |
$datax = 5 | |
$nopars = false | |
$raw = 0 | |
$phase_shift = 0 | |
$channel = 9 | |
$lines = 4 | |
$pixes = 1619 | |
$delay = 0x000fffff | |
$change_channel = 0 | |
$sphase = 0x00000000 | |
$ch1_ch2_delay = 2 | |
$data = receive_i2c_4($width,$bus,0x0860,$raw=0) | |
$data = receive_i2c_4($width,$bus,0x0840,$raw=0) | |
$data = receive_i2c_4($width,$bus,0x0870,$raw=0) | |
$data = receive_i2c_4($width,$bus,0x0871,$raw=0) |
channels_init | ( | $ | width, | |
$ | bus, | |||
$ | raw = 0 | |||
) |
dcm_reset | ( | $ | width, | |
$ | bus, | |||
$ | raw = 0 | |||
) |
ddr_check | ( | $ | width, | |
$ | bus, | |||
$ | raw = 0 | |||
) |
Definition at line 181 of file switch_to_ch2.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 145 of file switch_to_ch2.php.
References $bus, $data, $raw, $width, receive_i2c_4(), and send_i2c_4().
ddr_read | ( | $ | width, | |
$ | bus, | |||
$ | raw = 0 | |||
) |
Definition at line 243 of file switch_to_ch2.php.
References $bus, $i, $raw, $width, receive_i2c_n(), and send_i2c_4().
ramb_check | ( | $ | width, | |
$ | bus, | |||
$ | raw = 0 | |||
) |
Definition at line 114 of file switch_to_ch2.php.
References $bus, $data, $i, $raw, $width, receive_i2c_4(), and send_i2c_4().
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 | ( | $ | width, | |
$ | bus, | |||
$ | a, | |||
$ | d, | |||
$ | raw = 0 | |||
) |
*************************************************************************** ! FILE NAME : switch_to_ch2.php ! DESCRIPTION: switches between channels ! 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/>. ! -----------------------------------------------------------------------------** !
Definition at line 36 of file switch_to_ch2.php.
send_i2c_4 | ( | $ | width, | |
$ | bus, | |||
$ | a, | |||
$ | d, | |||
$ | raw = 0 | |||
) |
$adr = 0x0860 |
$bus = 0 |
Definition at line 306 of file switch_to_ch2.php.
$ch1_ch2_delay = 2 |
Definition at line 319 of file switch_to_ch2.php.
$change_channel = 0 |
Definition at line 317 of file switch_to_ch2.php.
$channel = 9 |
Definition at line 313 of file switch_to_ch2.php.
Definition at line 360 of file switch_to_ch2.php.
Definition at line 356 of file switch_to_ch2.php.
Definition at line 352 of file switch_to_ch2.php.
Definition at line 348 of file switch_to_ch2.php.
Referenced by change_broadcast(), change_gateway(), change_ip(), change_netmask(), changeIP(), xml_simple::char_data(), ddr_check(), ddr_init(), fpga_write(), hexdump(), i2c_ctl(), i2c_getCMOSClock(), i2c_read256b(), i2c_receive(), i2c_setCMOSClock(), i2c_setprot(), i2c_write256b(), i2cread16(), xml_simple::parse(), xml_simple::parse_file(), ramb_check(), read_broadcast(), read_gateway(), read_ip(), read_netmask(), receive347(), receive_i2c(), receive_i2c_4(), receive_i2c_n(), senspars_write(), and seq_receive().
$datax = 5 |
Definition at line 308 of file switch_to_ch2.php.
$delay = 0x000fffff |
$lines = 4 |
Definition at line 314 of file switch_to_ch2.php.
$nopars = false |
Definition at line 309 of file switch_to_ch2.php.
$phase_shift = 0 |
Definition at line 312 of file switch_to_ch2.php.
$pixes = 1619 |
Definition at line 315 of file switch_to_ch2.php.
$raw = 0 |
Definition at line 310 of file switch_to_ch2.php.
$sphase = 0x00000000 |
Definition at line 318 of file switch_to_ch2.php.
$width = 16 |
Definition at line 305 of file switch_to_ch2.php.