diff --git a/doc/doxygen/html/bc_s.png b/doc/doxygen/html/bc_s.png
deleted file mode 100644
index e401862..0000000
Binary files a/doc/doxygen/html/bc_s.png and /dev/null differ
diff --git a/doc/doxygen/html/clcc_8c.html b/doc/doxygen/html/clcc_8c.html
deleted file mode 100644
index f36f885..0000000
--- a/doc/doxygen/html/clcc_8c.html
+++ /dev/null
@@ -1,317 +0,0 @@
-
-
-
-
-
#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <math.h>
-#include <usb.h>
-#include <argtable2.h>
-#include "../firmware/globals.h"
-
-
-Functions |
-void | lc_setFrame (unsigned long) |
- | The setFrame function.
|
-void | lc_setMode (int) |
- | The setMode function.
|
-void | lc_saveFrame (unsigned long, int) |
-void | lc_init (void) |
- | The init function.
|
-void | lc_close (void) |
- | The close function.
|
-int | main (int argc, char **argv) |
-
-
Function Documentation
-
-
-
-
-
- void lc_close |
- ( |
- | ) |
- |
-
-
-
-
-
-
The close function.
-
- Returns:
- NOT_CONNECTED_ERROR or return state of the usb_close function.
-
-
-
-
-
-
-
-
- void lc_init |
- ( |
- | ) |
- |
-
-
-
-
-
-
The init function.
-
- Returns:
- SUCCESSFULLY_CONNECTED or DEVICE_NOT_FOUND_ERROR.
-
{
-
- usb_init();
-
-
- _lc_vid = _lc_rawVid[1] * 256 + _lc_rawVid[0];
- _lc_pid = _lc_rawPid[1] * 256 + _lc_rawPid[0];
-
-
- if( usbOpenDevice( &_lc_handle, _lc_vid, _lc_vendor, _lc_pid, _lc_product, NULL, NULL, NULL) != 0)
- {
- fprintf(stderr, "Could not find USB device \"%s\" with lc_vid=0x%x lc_pid=0x%x\n", _lc_product, _lc_vid, _lc_pid);
- return DEVICE_NOT_FOUND_ERROR;
- }
- return SUCCESSFULLY_CONNECTED;
-}
-
-
-
-
-
-
-
-
- void lc_saveFrame |
- ( |
- unsigned |
- long, |
-
-
- |
- |
- int |
- |
-
-
- |
- ) |
- | |
-
-
-
-
-
-
-
-
-
-
-
-
- void lc_setFrame |
- ( |
- unsigned long |
- frame | ) |
- |
-
-
-
-
-
-
The setFrame function.
-
- Parameters:
-
-
- frame | The 32bit frame data. Bit 0-8 equals layer one; bit 9 - 17 euqals layer two; bit 18 - 26 equals layer three. the 5 MSB is the lifetime of the current frame in ISR calls (300Hz). |
-
-
-
-
- Returns:
- NOT_CONNECTED_ERROR or the return value of the usb_control_msg function.
-
{
-
- if (_lc_handle == NULL)
- return NOT_CONNECTED_ERROR;
-
- int low = frame & 0xffff;
- int high = (frame & 0xffff0000) >> 16;
-
- int ret = usb_control_msg(_lc_handle, USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_ENDPOINT_OUT, CUSTOM_RQ_SET_FRAME, low, 0, _lc_buffer, 0, 300);
- ret += usb_control_msg(_lc_handle, USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_ENDPOINT_OUT, CUSTOM_RQ_SET_FRAME, high, 1, _lc_buffer, 0, 300);
-
- return ret;
-}
-
-
-
-
-
-
-
-
- void lc_setMode |
- ( |
- int |
- mode | ) |
- |
-
-
-
-
-
-
The setMode function.
-
- Parameters:
-
-
- mode | The firmware mode. MODE_ANIMATION_STOP; MODE_ANIMATION_SINGLE; MODE_ANIMATION_LOOP |
-
-
-
-
- Returns:
- NOT_CONNECTED_ERROR or the return value of the usb_control_msg function.
-
-
-
-
-
-
-
-
- int main |
- ( |
- int |
- argc, |
-
-
- |
- |
- char ** |
- argv |
-
-
- |
- ) |
- | |
-
-
-
-
-
-
-
-
-
#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <math.h>
-#include <usb.h>
-#include "../firmware/globals.h"
-
-
Function Documentation
-
-
-
-
-
- void demo |
- ( |
- | ) |
- |
-
-
-
-
-
-
-
-
-
-
- void eeprom1 |
- ( |
- | ) |
- |
-
-
-
-
-
{
-
-
- lc_setMode(MODE_ANIMATION_STOP);
-
- unsigned long buf = 0;
- int tmp = 0;
- int tmp2 = 26;
- for (tmp = 0; tmp < 32; tmp++)
- {
- if (tmp < 27)
- buf = (1 << tmp);
- else
- {
- tmp2--;
- buf = (1 << tmp2);
- }
-
-
- lc_saveFrame(buf, tmp);
-
- }
-
-
- lc_setMode(MODE_ANIMATION_LOOP);
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
- void lc_close |
- ( |
- | ) |
- |
-
-
-
-
-
-
The close function.
-
- Returns:
- NOT_CONNECTED_ERROR or return state of the usb_close function.
-
-
-
-
-
-
-
-
- void lc_init |
- ( |
- | ) |
- |
-
-
-
-
-
-
The init function.
-
- Returns:
- SUCCESSFULLY_CONNECTED or DEVICE_NOT_FOUND_ERROR.
-
{
-
- usb_init();
-
-
- _lc_vid = _lc_rawVid[1] * 256 + _lc_rawVid[0];
- _lc_pid = _lc_rawPid[1] * 256 + _lc_rawPid[0];
-
-
- if( usbOpenDevice( &_lc_handle, _lc_vid, _lc_vendor, _lc_pid, _lc_product, NULL, NULL, NULL) != 0)
- {
- fprintf(stderr, "Could not find USB device \"%s\" with lc_vid=0x%x lc_pid=0x%x\n", _lc_product, _lc_vid, _lc_pid);
- return DEVICE_NOT_FOUND_ERROR;
- }
- return SUCCESSFULLY_CONNECTED;
-}
-
-
-
-
-
-
-
-
- void lc_saveFrame |
- ( |
- unsigned |
- long, |
-
-
- |
- |
- int |
- |
-
-
- |
- ) |
- | |
-
-
-
-
-
-
-
-
-
-
-
-
- void lc_setFrame |
- ( |
- unsigned long |
- frame | ) |
- |
-
-
-
-
-
-
The setFrame function.
-
- Parameters:
-
-
- frame | The 32bit frame data. Bit 0-8 equals layer one; bit 9 - 17 euqals layer two; bit 18 - 26 equals layer three. the 5 MSB is the lifetime of the current frame in ISR calls (300Hz). |
-
-
-
-
- Returns:
- NOT_CONNECTED_ERROR or the return value of the usb_control_msg function.
-
{
-
- if (_lc_handle == NULL)
- return NOT_CONNECTED_ERROR;
-
- int low = frame & 0xffff;
- int high = (frame & 0xffff0000) >> 16;
-
- int ret = usb_control_msg(_lc_handle, USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_ENDPOINT_OUT, CUSTOM_RQ_SET_FRAME, low, 0, _lc_buffer, 0, 300);
- ret += usb_control_msg(_lc_handle, USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_ENDPOINT_OUT, CUSTOM_RQ_SET_FRAME, high, 1, _lc_buffer, 0, 300);
-
- return ret;
-}
-
-
-
-
-
-
-
-
- void lc_setMode |
- ( |
- int |
- mode | ) |
- |
-
-
-
-
-
-
The setMode function.
-
- Parameters:
-
-
- mode | The firmware mode. MODE_ANIMATION_STOP; MODE_ANIMATION_SINGLE; MODE_ANIMATION_LOOP |
-
-
-
-
- Returns:
- NOT_CONNECTED_ERROR or the return value of the usb_control_msg function.
-
-
-
-
-
-
-
-
- int main |
- ( |
- int |
- argc, |
-
-
- |
- |
- char ** |
- argv |
-
-
- |
- ) |
- | |
-
-
-
-
-
-
-
-
-
-
- void sinus1 |
- ( |
- int |
- max | ) |
- |
-
-
-
-
-
{
-
-
- lc_setMode(MODE_ANIMATION_STOP);
-
- int j = max;
- while (--j)
- {
-
- int i = 0;
- int k = 0;
-
- for (i = 0; i < 360; i++)
- {
-
-
-
- double d = cos((double)((6.28*i)/360)) + 1;
- unsigned long tmp = (1 << (int)((27 * d) / 2));
-
-
- lc_setFrame(tmp);
-
-
-
-
-
- usleep(2500);
- k++;
- }
-
- }
-
-}
-
-
-
-
-
-
-
-
-
-
-
Here is a list of all files with brief descriptions:
-
-
-
-
Here is a list of all file members with links to the files they belong to:
-
-
- _ -
-
-
-
- d -
-
-
-
- e -
-
-
-
- l -
-- lc_close()
-: clcc.c
-, demo.c
-, ledcube.h
-, ledcube.c
-
-- lc_init()
-: ledcube.h
-, clcc.c
-, demo.c
-, ledcube.c
-
-- lc_saveFrame()
-: clcc.c
-, demo.c
-, ledcube.c
-, ledcube.h
-
-- lc_setFrame()
-: ledcube.h
-, clcc.c
-, ledcube.c
-, demo.c
-
-- lc_setMode()
-: ledcube.c
-, demo.c
-, clcc.c
-, ledcube.h
-
-
-
-
-
- m -
-
-
-
- n -
-
-
-
- s -
-
-
-
- u -
-
-
-
-
This page explains how to interpret the graphs that are generated by doxygen.
-
Consider the following example:
-
-class Invisible { };
-
-
-class Truncated : public Invisible { };
-
-
-class Undocumented { };
-
-
-class PublicBase : public Truncated { };
-
-
-template<class T> class Templ { };
-
-
-class ProtectedBase { };
-
-
-class PrivateBase { };
-
-
-class Used { };
-
-
-class Inherited : public PublicBase,
- protected ProtectedBase,
- private PrivateBase,
- public Undocumented,
- public Templ<int>
-{
- private:
- Used *m_usedClass;
-};
-
This will result in the following graph:
-
-
-
- The boxes in the above graph have the following meaning:
-
--
-A filled gray box represents the struct or class for which the graph is generated.
--
-A box with a black border denotes a documented struct or class.
--
-A box with a grey border denotes an undocumented struct or class.
--
-A box with a red border denotes a documented struct or class forwhich not all inheritance/containment relations are shown. A graph is truncated if it does not fit within the specified boundaries.
-
-
The arrows have the following meaning:
-
--
-A dark blue arrow is used to visualize a public inheritance relation between two classes.
--
-A dark green arrow is used for protected inheritance.
--
-A dark red arrow is used for private inheritance.
--
-A purple dashed arrow is used if a class is contained or used by another class. The arrow is labeled with the variable(s) through which the pointed class or struct is accessible.
--
-A yellow dashed arrow denotes a relation between a template instance and the template class it was instantiated from. The arrow is labeled with the template parameters of the instance.
-
-
-
-