Go to the source code of this file.
Functions | |
send_i2c ($a, $d) | |
receive_i2c ($a) | |
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) | |
send_i2c_4_nc ($a, $d) | |
dcm_reset ($width, $bus, $raw=0) | |
ramb_check ($width, $bus, $raw=0) | |
ddr_init ($width, $bus, $raw=0) | |
ddr_page_write ($width, $bus, $sa, $raw=0) | |
ddr_page_read ($width, $bus, $rra, $raw=0) | |
Variables | |
$width = 16 | |
$bus = 0 | |
$raw = 0 | |
$phase_shift = 0 | |
$row_adr = 0x3ff | |
$N = 0 | |
$N_shifts = 1 |
dcm_reset | ( | $ | width, | |
$ | bus, | |||
$ | raw = 0 | |||
) |
ddr_init | ( | $ | width, | |
$ | bus, | |||
$ | raw = 0 | |||
) |
Definition at line 151 of file mem_test.php.
References $bus, $data, $raw, $width, receive_i2c_4(), and send_i2c_4().
ddr_page_read | ( | $ | width, | |
$ | bus, | |||
$ | rra, | |||
$ | raw = 0 | |||
) |
Definition at line 227 of file mem_test.php.
References $bus, $i, $raw, $width, receive_i2c_n(), and send_i2c_4_nc().
ddr_page_write | ( | $ | width, | |
$ | bus, | |||
$ | sa, | |||
$ | raw = 0 | |||
) |
ramb_check | ( | $ | width, | |
$ | bus, | |||
$ | raw = 0 | |||
) |
Definition at line 120 of file mem_test.php.
References $bus, $data, $i, $raw, $width, receive_i2c_4(), and send_i2c_4().
receive_i2c | ( | $ | a | ) |
receive_i2c_4 | ( | $ | width, | |
$ | bus, | |||
$ | a, | |||
$ | raw = 0 | |||
) |
receive_i2c_n | ( | $ | width, | |
$ | bus, | |||
$ | a, | |||
$ | raw = 0 | |||
) |
send_i2c | ( | $ | a, | |
$ | d | |||
) |
*************************************************************************** ! FILE NAME : mem_test.php ! DESCRIPTION: tests DDR memory on 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/>. ! -----------------------------------------------------------------------------** !
Definition at line 39 of file mem_test.php.
send_i2c_4 | ( | $ | width, | |
$ | bus, | |||
$ | a, | |||
$ | d, | |||
$ | raw = 0 | |||
) |
send_i2c_4_nc | ( | $ | a, | |
$ | d | |||
) |
$bus = 0 |
Definition at line 254 of file mem_test.php.
$N = 0 |
Definition at line 259 of file mem_test.php.
$N_shifts = 1 |
Definition at line 260 of file mem_test.php.
$phase_shift = 0 |
Definition at line 257 of file mem_test.php.
$raw = 0 |
Definition at line 255 of file mem_test.php.
$row_adr = 0x3ff |
Definition at line 258 of file mem_test.php.
$width = 16 |
Definition at line 253 of file mem_test.php.