# HG changeset patch # User alexis # Date 2011-04-26 06:22:02 # Node ID 1fb80e67e008bfe1b6d45e2a647ceb2c1c918bf7 # Parent 10679dca7fe846483eb29ebe81dfda02262a4b6d Bug with doxygen HTML frames fixed. diff --git a/LPP_drivers/Doc/ressources/Header b/LPP_drivers/Doc/ressources/Header --- a/LPP_drivers/Doc/ressources/Header +++ b/LPP_drivers/Doc/ressources/Header @@ -10,7 +10,6 @@
diff --git a/LPP_drivers/Doc/ressources/examples/scanAPB.c b/LPP_drivers/Doc/ressources/examples/scanAPB.c --- a/LPP_drivers/Doc/ressources/examples/scanAPB.c +++ b/LPP_drivers/Doc/ressources/examples/scanAPB.c @@ -17,35 +17,15 @@ -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -------------------------------------------------------------------------------*/ #include "stdio.h" +//remember to include: #include "lpp_apb_functions.h" int main() { - int d=0; - while(d!=10) - { - scanf("%d",&d); - switch(d) - { - case 0: - printf("cursor OFF \n"); - break; - case 1: - printf("cursor ON \n"); - break; - case 2: - break; - case 3: - apbprintdeviceslist(); - break; - case 10: - return 0; - break; - default: - break; - } - } - return 0; + //to print devices lilst + apbprintdeviceslist(); + //if you whant to get a second device with 0x01/0x02 as VID/PID + int * dev = apbgetdevice(0x02, 0x01, 1); } diff --git a/LPP_drivers/libsrc/AMBA/lpp_apb_functions.h b/LPP_drivers/libsrc/AMBA/lpp_apb_functions.h --- a/LPP_drivers/libsrc/AMBA/lpp_apb_functions.h +++ b/LPP_drivers/libsrc/AMBA/lpp_apb_functions.h @@ -124,7 +124,8 @@ void apbprintdeviceinfo(struct apbdevinf \brief Print APB devices informations in stdout. This function list all devices on APB bus and print theirs informations. - + + \example scanAPB.c */ void apbprintdeviceslist(); diff --git a/doc/ressources/Header b/doc/ressources/Header --- a/doc/ressources/Header +++ b/doc/ressources/Header @@ -10,5 +10,5 @@