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
ab43251b
Commit
ab43251b
authored
13 years ago
by
Dean Camera
Browse files
Options
Downloads
Patches
Plain Diff
Minor documentation fixes.
parent
028a3c4a
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/Core/AVR8/USBController_AVR8.h
+10
-10
10 additions, 10 deletions
LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.h
Projects/AVRISP-MKII/Lib/ISP/ISPTarget.h
+1
-1
1 addition, 1 deletion
Projects/AVRISP-MKII/Lib/ISP/ISPTarget.h
with
11 additions
and
11 deletions
LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.h
+
10
−
10
View file @
ab43251b
...
...
@@ -352,9 +352,9 @@
static
inline
void
USB_REG_On
(
void
)
{
#if defined(USB_SERIES_4_AVR) || defined(USB_SERIES_6_AVR) || defined(USB_SERIES_7_AVR)
UHWCON
|=
(
1
<<
UVREGE
);
UHWCON
|=
(
1
<<
UVREGE
);
#else
REGCR
&=
~
(
1
<<
REGDIS
);
REGCR
&=
~
(
1
<<
REGDIS
);
#endif
}
...
...
@@ -362,9 +362,9 @@
static
inline
void
USB_REG_Off
(
void
)
{
#if defined(USB_SERIES_4_AVR) || defined(USB_SERIES_6_AVR) || defined(USB_SERIES_7_AVR)
UHWCON
&=
~
(
1
<<
UVREGE
);
UHWCON
&=
~
(
1
<<
UVREGE
);
#else
REGCR
|=
(
1
<<
REGDIS
);
REGCR
|=
(
1
<<
REGDIS
);
#endif
}
...
...
@@ -372,38 +372,38 @@
static
inline
void
USB_OTGPAD_On
(
void
)
ATTR_ALWAYS_INLINE
;
static
inline
void
USB_OTGPAD_On
(
void
)
{
USBCON
|=
(
1
<<
OTGPADE
);
USBCON
|=
(
1
<<
OTGPADE
);
}
static
inline
void
USB_OTGPAD_Off
(
void
)
ATTR_ALWAYS_INLINE
;
static
inline
void
USB_OTGPAD_Off
(
void
)
{
USBCON
&=
~
(
1
<<
OTGPADE
);
USBCON
&=
~
(
1
<<
OTGPADE
);
}
#endif
static
inline
void
USB_CLK_Freeze
(
void
)
ATTR_ALWAYS_INLINE
;
static
inline
void
USB_CLK_Freeze
(
void
)
{
USBCON
|=
(
1
<<
FRZCLK
);
USBCON
|=
(
1
<<
FRZCLK
);
}
static
inline
void
USB_CLK_Unfreeze
(
void
)
ATTR_ALWAYS_INLINE
;
static
inline
void
USB_CLK_Unfreeze
(
void
)
{
USBCON
&=
~
(
1
<<
FRZCLK
);
USBCON
&=
~
(
1
<<
FRZCLK
);
}
static
inline
void
USB_Controller_Enable
(
void
)
ATTR_ALWAYS_INLINE
;
static
inline
void
USB_Controller_Enable
(
void
)
{
USBCON
|=
(
1
<<
USBE
);
USBCON
|=
(
1
<<
USBE
);
}
static
inline
void
USB_Controller_Disable
(
void
)
ATTR_ALWAYS_INLINE
;
static
inline
void
USB_Controller_Disable
(
void
)
{
USBCON
&=
~
(
1
<<
USBE
);
USBCON
&=
~
(
1
<<
USBE
);
}
static
inline
void
USB_Controller_Reset
(
void
)
ATTR_ALWAYS_INLINE
;
...
...
This diff is collapsed.
Click to expand it.
Projects/AVRISP-MKII/Lib/ISP/ISPTarget.h
+
1
−
1
View file @
ab43251b
...
...
@@ -56,7 +56,7 @@
#endif
/* Macros: */
/** Low level device command to issue an extended FLASH address, for devices with o
th
er 128KB of FLASH. */
/** Low level device command to issue an extended FLASH address, for devices with o
v
er 128KB of FLASH. */
#define LOAD_EXTENDED_ADDRESS_CMD 0x4D
/** Macro to convert an ISP frequency to a number of timer clock cycles for the software SPI driver. */
...
...
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