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) | |
send_i2c_4 ($width, $bus, $a, $d, $raw=0) | |
dcm_reset ($width, $bus, $raw=0) | |
Variables | |
$width = 16 | |
$bus = 0 | |
$raw = 0 | |
$phase_shift = 0 | |
$dcm_addr = 0 | |
$n = 1 | |
$sphase = 0x7 | |
$adr = 0x083a | |
$adr = 0x0861 | |
$data = receive_i2c_4($width,$bus,$adr,$raw=0) | |
$adr = 0x0862 | |
$data = receive_i2c_4($width,$bus,$adr,$raw=0) | |
$adr = 0x0863 | |
$data = receive_i2c_4($width,$bus,$adr,$raw=0) |
dcm_reset | ( | $ | width, | |
$ | bus, | |||
$ | raw = 0 | |||
) |
receive_i2c | ( | $ | width, | |
$ | bus, | |||
$ | a, | |||
$ | raw = 0 | |||
) |
receive_i2c_4 | ( | $ | width, | |
$ | bus, | |||
$ | a, | |||
$ | raw = 0 | |||
) |
send_i2c | ( | $ | width, | |
$ | bus, | |||
$ | a, | |||
$ | d, | |||
$ | raw = 0 | |||
) |
*************************************************************************** ! FILE NAME : adjust_phases.php ! DESCRIPTION: Provides single byte/short r/w from/to the i2c ! Setting per-slave protection mask, ! Synchronizing system clock with a "CMOS" one ! 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 39 of file phases_adjust.php.
send_i2c_4 | ( | $ | width, | |
$ | bus, | |||
$ | a, | |||
$ | d, | |||
$ | raw = 0 | |||
) |
$adr = 0x0863 |
Definition at line 162 of file phases_adjust.php.
$adr = 0x0862 |
Definition at line 158 of file phases_adjust.php.
$adr = 0x0861 |
Definition at line 154 of file phases_adjust.php.
$adr = 0x083a |
Definition at line 142 of file phases_adjust.php.
Referenced by oldone(), seq_receive(), and seq_send().
$bus = 0 |
Definition at line 102 of file phases_adjust.php.
Definition at line 155 of file phases_adjust.php.
Referenced by change_broadcast(), change_gateway(), change_ip(), change_netmask(), changeIP(), ddr_check(), ddr_init(), fpga_write(), hexdump(), i2c_ctl(), i2c_getCMOSClock(), i2c_read256b(), i2c_readCMOSClock(), i2c_receive(), i2c_setCMOSClock(), i2c_setprot(), i2c_write256b(), i2cread16(), oldone(), ramb_check(), read_broadcast(), read_gateway(), read_ip(), read_netmask(), receive347(), receive_i2c(), receive_i2c_4(), receive_i2c_n(), senspars_write(), and seq_receive().
$dcm_addr = 0 |
Definition at line 106 of file phases_adjust.php.
$n = 1 |
Definition at line 107 of file phases_adjust.php.
$phase_shift = 0 |
Definition at line 105 of file phases_adjust.php.
$raw = 0 |
Definition at line 103 of file phases_adjust.php.
$sphase = 0x7 |
Definition at line 109 of file phases_adjust.php.
$width = 16 |
Definition at line 101 of file phases_adjust.php.