Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Erik Strand
lufa
Commits
05576760
Commit
05576760
authored
Mar 29, 2010
by
Dean Camera
Browse files
Add file-level brief documentation.
Remove accidentally duplicated model-specific peripheral driver files.
parent
ec19436d
Changes
111
Hide whitespace changes
Inline
Side-by-side
Demos/Host/LowLevel/StillImageHost/StillImageHost.c
View file @
05576760
...
...
@@ -215,11 +215,11 @@ void StillImage_Task(void)
DeviceInfoPos
+=
8
;
// Skip to VendorExtensionDesc String
DeviceInfoPos
+=
(
1
+
UNICODE_STRING_LENGTH
(
*
DeviceInfoPos
));
// Skip over VendorExtensionDesc String
DeviceInfoPos
+=
2
;
// Skip over FunctionalMode
DeviceInfoPos
+=
(
4
+
(
*
(
uint32_t
*
)
DeviceInfoPos
<<
1
));
// Skip over Operation
Code
Array
DeviceInfoPos
+=
(
4
+
(
*
(
uint32_t
*
)
DeviceInfoPos
<<
1
));
// Skip over Event
Code
Array
DeviceInfoPos
+=
(
4
+
(
*
(
uint32_t
*
)
DeviceInfoPos
<<
1
));
// Skip over DeviceProp
Code
Array
DeviceInfoPos
+=
(
4
+
(
*
(
uint32_t
*
)
DeviceInfoPos
<<
1
));
// Skip over
Object
Format
Code
Array
DeviceInfoPos
+=
(
4
+
(
*
(
uint32_t
*
)
DeviceInfoPos
<<
1
));
// Skip over
Object
Format
Code
Array
DeviceInfoPos
+=
(
4
+
(
*
(
uint32_t
*
)
DeviceInfoPos
<<
1
));
// Skip over
Supported
Operation
s
Array
DeviceInfoPos
+=
(
4
+
(
*
(
uint32_t
*
)
DeviceInfoPos
<<
1
));
// Skip over
Supported
Event
s
Array
DeviceInfoPos
+=
(
4
+
(
*
(
uint32_t
*
)
DeviceInfoPos
<<
1
));
// Skip over
Supported
Device
Prop
erties
Array
DeviceInfoPos
+=
(
4
+
(
*
(
uint32_t
*
)
DeviceInfoPos
<<
1
));
// Skip over
Capture
Format
s
Array
DeviceInfoPos
+=
(
4
+
(
*
(
uint32_t
*
)
DeviceInfoPos
<<
1
));
// Skip over
Image
Format
s
Array
/* Extract and convert the Manufacturer Unicode string to ASCII and print it through the USART */
char
Manufacturer
[
*
DeviceInfoPos
];
...
...
LUFA/Common/BoardTypes.h
View file @
05576760
...
...
@@ -29,6 +29,7 @@
*/
/** \file
* \brief Supported board hardware defines.
*
* This file contains constants which can be passed to the compiler (via setting the macro BOARD) in the
* user project makefile using the -D option to configure the library board-specific drivers.
...
...
LUFA/Common/Common.h
View file @
05576760
...
...
@@ -29,6 +29,7 @@
*/
/** \file
* \brief Common library convenience macros and functions.
*
* This file contains macros which are common to all library elements, and which may be useful in user code. It
* also includes other common headers, such as Atomic.h, FunctionAttributes.h and BoardTypes.h.
...
...
LUFA/Common/FunctionAttributes.h
View file @
05576760
...
...
@@ -29,6 +29,7 @@
*/
/** \file
* \brief AVR-GCC special function attribute macros.
*
* This file contains macros for applying GCC specific attributes to functions to control various optimizer
* and code generation features of the compiler. Attributes may be placed in the function prototype in any
...
...
LUFA/Doxygen.conf
View file @
05576760
...
...
@@ -811,7 +811,7 @@ HTML_FOOTER =
# the style sheet file to the HTML output directory, so don't put your own
# stylesheet in the HTML output directory as well, or it will be erased!
HTML_STYLESHEET
=
HTML_STYLESHEET
=
Doxygen
.
css
# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML
# page will contain the date and time when the page was generated. Setting
...
...
LUFA/Doxygen.css
0 → 100644
View file @
05576760
/* The standard CSS for doxygen */
body
,
table
,
div
,
p
,
dl
{
font-family
:
Lucida
Grande
,
Verdana
,
Geneva
,
Arial
,
sans-serif
;
font-size
:
12px
;
}
/* @group Heading Levels */
h1
{
text-align
:
center
;
font-size
:
150%
;
}
h2
{
font-size
:
120%
;
}
h3
{
font-size
:
100%
;
}
dt
{
font-weight
:
bold
;
}
div
.multicol
{
-moz-column-gap
:
1em
;
-webkit-column-gap
:
1em
;
-moz-column-count
:
3
;
-webkit-column-count
:
3
;
}
p
.startli
,
p
.startdd
,
p
.starttd
{
margin-top
:
2px
;
}
p
.endli
{
margin-bottom
:
0px
;
}
p
.enddd
{
margin-bottom
:
4px
;
}
p
.endtd
{
margin-bottom
:
2px
;
}
/* @end */
caption
{
font-weight
:
bold
;
}
span
.legend
{
font-size
:
70%
;
text-align
:
center
;
}
h3
.version
{
font-size
:
90%
;
text-align
:
center
;
}
div
.qindex
,
div
.navtab
{
background-color
:
#e8eef2
;
border
:
1px
solid
#84b0c7
;
text-align
:
center
;
margin
:
2px
;
padding
:
2px
;
}
div
.qindex
,
div
.navpath
{
width
:
100%
;
line-height
:
140%
;
}
div
.navtab
{
margin-right
:
15px
;
}
/* @group Link Styling */
a
{
color
:
#153788
;
font-weight
:
normal
;
text-decoration
:
none
;
}
.contents
a
:visited
{
color
:
#1b77c5
;
}
a
:hover
{
text-decoration
:
underline
;
}
a
.qindex
{
font-weight
:
bold
;
}
a
.qindexHL
{
font-weight
:
bold
;
background-color
:
#6666cc
;
color
:
#ffffff
;
border
:
1px
double
#9295C2
;
}
.contents
a
.qindexHL
:visited
{
color
:
#ffffff
;
}
a
.el
{
font-weight
:
bold
;
}
a
.elRef
{
}
a
.code
{
color
:
#3030f0
;
}
a
.codeRef
{
color
:
#3030f0
;
}
/* @end */
dl
.el
{
margin-left
:
-1cm
;
}
.fragment
{
font-family
:
monospace
,
fixed
;
font-size
:
105%
;
}
pre
.fragment
{
border
:
1px
solid
#CCCCCC
;
background-color
:
#f5f5f5
;
padding
:
4px
6px
;
margin
:
4px
8px
4px
2px
;
overflow
:
auto
;
word-wrap
:
break-word
;
font-size
:
9pt
;
line-height
:
125%
;
}
div
.ah
{
background-color
:
black
;
font-weight
:
bold
;
color
:
#ffffff
;
margin-bottom
:
3px
;
margin-top
:
3px
}
div
.groupHeader
{
margin-left
:
16px
;
margin-top
:
12px
;
margin-bottom
:
6px
;
font-weight
:
bold
;
}
div
.groupText
{
margin-left
:
16px
;
font-style
:
italic
;
}
body
{
background
:
white
;
color
:
black
;
margin-right
:
20px
;
margin-left
:
20px
;
}
td
.indexkey
{
background-color
:
#e8eef2
;
font-weight
:
bold
;
border
:
1px
solid
#CCCCCC
;
margin
:
2px
0px
2px
0
;
padding
:
2px
10px
;
}
td
.indexvalue
{
background-color
:
#e8eef2
;
border
:
1px
solid
#CCCCCC
;
padding
:
2px
10px
;
margin
:
2px
0px
;
}
tr
.memlist
{
background-color
:
#f0f0f0
;
}
p
.formulaDsp
{
text-align
:
center
;
}
img
.formulaDsp
{
}
img
.formulaInl
{
vertical-align
:
middle
;
}
div
.center
{
text-align
:
center
;
margin-top
:
0px
;
margin-bottom
:
0px
;
padding
:
0px
;
}
div
.center
img
{
border
:
0px
;
}
img
.footer
{
border
:
0px
;
vertical-align
:
middle
;
}
/* @group Code Colorization */
span
.keyword
{
color
:
#008000
}
span
.keywordtype
{
color
:
#604020
}
span
.keywordflow
{
color
:
#e08000
}
span
.comment
{
color
:
#800000
}
span
.preprocessor
{
color
:
#806020
}
span
.stringliteral
{
color
:
#002080
}
span
.charliteral
{
color
:
#008080
}
span
.vhdldigit
{
color
:
#ff00ff
}
span
.vhdlchar
{
color
:
#000000
}
span
.vhdlkeyword
{
color
:
#700070
}
span
.vhdllogic
{
color
:
#ff0000
}
/* @end */
.search
{
color
:
#003399
;
font-weight
:
bold
;
}
form
.search
{
margin-bottom
:
0px
;
margin-top
:
0px
;
}
input
.search
{
font-size
:
75%
;
color
:
#000080
;
font-weight
:
normal
;
background-color
:
#e8eef2
;
}
td
.tiny
{
font-size
:
75%
;
}
.dirtab
{
padding
:
4px
;
border-collapse
:
collapse
;
border
:
1px
solid
#84b0c7
;
}
th
.dirtab
{
background
:
#e8eef2
;
font-weight
:
bold
;
}
hr
{
height
:
0px
;
border
:
none
;
border-top
:
1px
solid
#666
;
}
hr
.footer
{
height
:
1px
;
}
/* @group Member Descriptions */
.mdescLeft
,
.mdescRight
,
.memItemLeft
,
.memItemRight
,
.memTemplItemLeft
,
.memTemplItemRight
,
.memTemplParams
{
background-color
:
#FAFAFA
;
border
:
none
;
margin
:
4px
;
padding
:
1px
0
0
8px
;
}
.mdescLeft
,
.mdescRight
{
padding
:
0px
8px
4px
8px
;
color
:
#555
;
}
.memItemLeft
,
.memItemRight
,
.memTemplParams
{
border-top
:
1px
solid
#ccc
;
}
.memItemLeft
,
.memTemplItemLeft
{
white-space
:
nowrap
;
}
.memTemplParams
{
color
:
#606060
;
white-space
:
nowrap
;
}
/* @end */
/* @group Member Details */
/* Styles for detailed member documentation */
.memtemplate
{
font-size
:
80%
;
color
:
#606060
;
font-weight
:
normal
;
margin-left
:
3px
;
}
.memnav
{
background-color
:
#e8eef2
;
border
:
1px
solid
#84b0c7
;
text-align
:
center
;
margin
:
2px
;
margin-right
:
15px
;
padding
:
2px
;
}
.memitem
{
padding
:
0
;
margin-bottom
:
10px
;
}
.memname
{
white-space
:
nowrap
;
font-weight
:
bold
;
margin-left
:
6px
;
}
.memproto
{
border-top
:
1px
solid
#84b0c7
;
border-left
:
1px
solid
#84b0c7
;
border-right
:
1px
solid
#84b0c7
;
padding
:
0
;
background-color
:
#d5e1e8
;
font-weight
:
bold
;
/* firefox specific markup */
background-image
:
-moz-linear-gradient
(
rgba
(
228
,
233
,
245
,
1.0
)
0%
,
rgba
(
193
,
205
,
232
,
1.0
)
100%
);
-moz-box-shadow
:
rgba
(
0
,
0
,
0
,
0.15
)
5px
5px
5px
;
-moz-border-radius-topright
:
8px
;
-moz-border-radius-topleft
:
8px
;
/* webkit specific markup */
background-image
:
-webkit-gradient
(
linear
,
0%
0%
,
0%
100%
,
from
(
rgba
(
228
,
233
,
245
,
1.0
)),
to
(
rgba
(
193
,
205
,
232
,
1.0
)));
-webkit-box-shadow
:
5px
5px
5px
rgba
(
0
,
0
,
0
,
0.15
);
-webkit-border-top-right-radius
:
8px
;
-webkit-border-top-left-radius
:
8px
;
}
.memdoc
{
border-bottom
:
1px
solid
#84b0c7
;
border-left
:
1px
solid
#84b0c7
;
border-right
:
1px
solid
#84b0c7
;
padding
:
2px
5px
;
background-color
:
#eef3f5
;
border-top-width
:
0
;
/* firefox specific markup */
-moz-border-radius-bottomleft
:
8px
;
-moz-border-radius-bottomright
:
8px
;
-moz-box-shadow
:
rgba
(
0
,
0
,
0
,
0.15
)
5px
5px
5px
;
/* webkit specific markup */
-webkit-border-bottom-left-radius
:
8px
;
-webkit-border-bottom-right-radius
:
8px
;
-webkit-box-shadow
:
5px
5px
5px
rgba
(
0
,
0
,
0
,
0.15
);
}
.paramkey
{
text-align
:
right
;
}
.paramtype
{
white-space
:
nowrap
;
}
.paramname
{
color
:
#602020
;
white-space
:
nowrap
;
}
.paramname
em
{
font-style
:
normal
;
}
/* @end */
/* @group Directory (tree) */
/* for the tree view */
.ftvtree
{
font-family
:
sans-serif
;
margin
:
0.5em
;
}
/* these are for tree view when used as main index */
.directory
{
font-size
:
9pt
;
font-weight
:
bold
;
}
.directory
h3
{
margin
:
0px
;
margin-top
:
1em
;
font-size
:
11pt
;
}
/*
The following two styles can be used to replace the root node title
with an image of your choice. Simply uncomment the next two styles,
specify the name of your image and be sure to set 'height' to the
proper pixel height of your image.
*/
/*
.directory h3.swap {
height: 61px;
background-repeat: no-repeat;
background-image: url("yourimage.gif");
}
.directory h3.swap span {
display: none;
}
*/
.directory
>
h3
{
margin-top
:
0
;
}
.directory
p
{
margin
:
0px
;
white-space
:
nowrap
;
}
.directory
div
{
display
:
none
;
margin
:
0px
;
}
.directory
img
{
vertical-align
:
-30%
;
}
/* these are for tree view when not used as main index */
.directory-alt
{
font-size
:
100%
;
font-weight
:
bold
;
}
.directory-alt
h3
{
margin
:
0px
;
margin-top
:
1em
;
font-size
:
11pt
;
}
.directory-alt
>
h3
{
margin-top
:
0
;
}
.directory-alt
p
{
margin
:
0px
;
white-space
:
nowrap
;
}
.directory-alt
div
{
display
:
none
;
margin
:
0px
;
}
.directory-alt
img
{
vertical-align
:
-30%
;
}
/* @end */
address
{
font-style
:
normal
;
color
:
#333
;
}
table
.doxtable
{
border-collapse
:
collapse
;
}
table
.doxtable
td
,
table
.doxtable
th
{
border
:
1px
solid
#153788
;
padding
:
3px
7px
2px
;
}
table
.doxtable
th
{
background-color
:
#254798
;
color
:
#FFFFFF
;
font-size
:
110%
;
padding-bottom
:
4px
;
padding-top
:
5px
;
text-align
:
left
;
}
p
{
padding-left
:
20px
;}
\ No newline at end of file
LUFA/Drivers/Board/ATAVRUSBRF01/Buttons.h
View file @
05576760
...
...
@@ -29,8 +29,7 @@
*/
/** \file
*
* Board specific Buttons driver header for the ATAVRUSBRF01.
* \brief Board specific Buttons driver header for the ATAVRUSBRF01.
*
* \note This file should not be included directly. It is automatically included as needed by the Buttons driver
* dispatch header located in LUFA/Drivers/Board/Buttons.h.
...
...
LUFA/Drivers/Board/ATAVRUSBRF01/LEDs.h
View file @
05576760
...
...
@@ -29,8 +29,7 @@
*/
/** \file
*
* Board specific LED driver header for the ATAVRUSBRF01.
* \brief Board specific LED driver header for the ATAVRUSBRF01.
*
* \note This file should not be included directly. It is automatically included as needed by the LEDs driver
* dispatch header located in LUFA/Drivers/Board/LEDs.h.
...
...
LUFA/Drivers/Board/BUMBLEB/Buttons.h
View file @
05576760
...
...
@@ -29,9 +29,10 @@
*/
/** \file
* \brief Board specific Buttons driver header for the BUMBLEB.
*
*
Board specific Buttons driver header for the BUMBLEB.
The BUMBLEB third-party board does not include any on-board
*
peripherals, but does have an officially recommended
external peripheral layout for buttons, LEDs and a Joystick.
* The BUMBLEB third-party board does not include any on-board
peripherals, but does have an officially recommended
* external peripheral layout for buttons, LEDs and a Joystick.
*
* \note This file should not be included directly. It is automatically included as needed by the Buttons driver
* dispatch header located in LUFA/Drivers/Board/Buttons.h.
...
...