packages/web/353/php_top/usb10369a.php File Reference

Go to the source code of this file.

Functions

 smbus_send ($a, $d)

Variables

 $base_addr = 0x2c00
 $defaults


Function Documentation

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/>. ! -----------------------------------------------------------------------------** !

Log
usb10369a.php,v
! Revision 1.2 2008/06/26 00:07:34 spectr_rain ! *** empty log message *** ! !

Definition at line 28 of file usb10369a.php.

References $cmd, $d, $i2c, $res, and dev.


Variable Documentation

$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.


Generated on Thu Aug 7 16:20:58 2008 for elphel by  doxygen 1.5.1