Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lufa
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Erik Strand
lufa
Commits
f7cde02b
Commit
f7cde02b
authored
15 years ago
by
Dean Camera
Browse files
Options
Downloads
Patches
Plain Diff
Added extra note about missing OUT endpoint configuration to the HID Device mode Class driver.
Added pinout information to the AVRISP project.
parent
665fe11f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
LUFA/Drivers/USB/Class/Device/HID.h
+4
-0
4 additions, 0 deletions
LUFA/Drivers/USB/Class/Device/HID.h
Projects/AVRISP/AVRISP.txt
+37
-1
37 additions, 1 deletion
Projects/AVRISP/AVRISP.txt
with
41 additions
and
1 deletion
LUFA/Drivers/USB/Class/Device/HID.h
+
4
−
0
View file @
f7cde02b
...
...
@@ -60,6 +60,10 @@
/** Class state structure. An instance of this structure should be made for each HID interface
* within the user application, and passed to each of the HID class driver functions as the
* HIDInterfaceInfo parameter. This stores each HID interface's configuration and state information.
*
* \note Due to technical limitations, the HID device class driver does not utilize a seperate OUT
* endpoint for host->device communications. Instead, the host->device data (if any) is sent to
* the device via the control endpoint.
*/
typedef
struct
{
...
...
This diff is collapsed.
Click to expand it.
Projects/AVRISP/AVRISP.txt
+
37
−
1
View file @
f7cde02b
...
...
@@ -66,6 +66,42 @@
* set to an appropriate ADC channel number in the project makefile for VTARGET detection to operate correctly. On models
* without an ADC converter, VTARGET will report at a fixed 5V level.
*
* Connections to the device are simple:
*
* <table>
* <tr>
* <td><b>Programmer Pin:</b></td>
* <td><b>Target Device Pin:</b></td>
* </tr>
* <tr>
* <td>MOSI</td>
* <td>PDI</td>
* </tr>
* <tr>
* <td>MISO</td>
* <td>PDO</td>
* </tr>
* <tr>
* <td>SCLK</td>
* <td>SCLK</td>
* </tr>
* <tr>
* <td>GND</td>
* <td>GND</td>
* </tr>
* <tr>
* <td>ADCx <b><sup>1</sup></b></td>
* <td>VTARGET</td>
* </tr>
* <tr>
* <td>PORTx.y <b><sup>2</sup></b></td>
* <td>/RESET</td>
* </tr>
* </table>
*
* <b><sup>1</sup></b> <i>Optional, see \ref SSec_Options section - for USB AVRs with ADC modules only</i> \n
* <b><sup>2</sup></b> <i>See \ref SSec_Options section</i>
*
* \section SSec_Options Project Options
*
* The following defines can be found in this demo, which can control the demo behaviour when defined, or changed in value.
...
...
@@ -89,7 +125,7 @@
* <tr>
* <td>RESET_LINE_MASK</td>
* <td>Makefile CDEFS</td>
* <td>Mask for the programmer's target RESET line on the chosen port.</td>
* <td>Mask for the programmer's target RESET line on the chosen port.
<b>Must not be the AVR's /SS pin.</b>
</td>
* </tr>
* <tr>
* <td>VTARGET_ADC_CHANNEL</td>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment