Go to the source code of this file.
Functions | |
smbus_send ($a, $d) | |
Variables | |
$base_addr = 0x2c00 | |
$defaults |
smbus_send | ( | $ | a, | |
$ | d | |||
) |
*************************************************************************** ! FILE NAME : usb10369a.php ! DESCRIPTION: initializes USB hub on the 10369a 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 28 of file usb10369a.php.
$base_addr = 0x2c00 |
Definition at line 39 of file usb10369a.php.
$defaults |
Initial value:
array( array("addr"=>0x0,"data"=>0x34), // VID_LSB array("addr"=>0x1,"data"=>0x12), // VID_MSB array("addr"=>0x6,"data"=>0x9b), // CONFIG_BYTE_1 array("addr"=>0x7,"data"=>0x10), // CONFIG_BYTE_2 array("addr"=>0x8,"data"=>0x0 ), // CONFIG_BYTE_3 array("addr"=>0xff,"data"=>0x1 ) // CMD )
Definition at line 40 of file usb10369a.php.