projects
/
pub
/
USBasp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
fd5e98d
)
Minor documentation improvements.
author
Dean Camera
<dean@fourwalledcubicle.com>
Sat, 4 May 2013 20:54:32 +0000
(20:54 +0000)
committer
Dean Camera
<dean@fourwalledcubicle.com>
Sat, 4 May 2013 20:54:32 +0000
(20:54 +0000)
LUFA/DoxygenPages/Donating.txt
patch
|
blob
|
blame
|
history
LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.h
patch
|
blob
|
blame
|
history
LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.h
patch
|
blob
|
blame
|
history
LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h
patch
|
blob
|
blame
|
history
LUFA/Drivers/USB/Core/XMEGA/Endpoint_XMEGA.h
patch
|
blob
|
blame
|
history
LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt
patch
|
blob
|
blame
|
history
diff --git
a/LUFA/DoxygenPages/Donating.txt
b/LUFA/DoxygenPages/Donating.txt
index
1436dae
..
cb2e0ea
100644
(file)
--- a/
LUFA/DoxygenPages/Donating.txt
+++ b/
LUFA/DoxygenPages/Donating.txt
@@
-19,6
+19,6
@@
* contact author for payment details.</b>).
*
* \image html "http://www.pledgie.com/campaigns/6927.png?skin_name=chrome"
* contact author for payment details.</b>).
*
* \image html "http://www.pledgie.com/campaigns/6927.png?skin_name=chrome"
- * <a href=
'http://www.lufa-lib.org/donate'
>Donate to this project via PayPal</a> - Thanks in Advance!
+ * <a href=
"http://www.lufa-lib.org/donate"
>Donate to this project via PayPal</a> - Thanks in Advance!
*/
*/
diff --git
a/LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.h
b/LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.h
index
c434cf8
..
5f2e46d
100644
(file)
--- a/
LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.h
+++ b/
LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.h
@@
-196,7
+196,7
@@
{
return (UPCFG0X & (1 << EPDIR)) ? PIPE_DIR_IN : PIPE_DIR_OUT;
}
{
return (UPCFG0X & (1 << EPDIR)) ? PIPE_DIR_IN : PIPE_DIR_OUT;
}
-
+
/** Returns the pipe address of the currently selected pipe. This is typically used to save the
* currently selected pipe address so that it can be restored after another pipe has been manipulated.
*
/** Returns the pipe address of the currently selected pipe. This is typically used to save the
* currently selected pipe address so that it can be restored after another pipe has been manipulated.
*
@@
-321,7
+321,7
@@
static inline uint8_t Pipe_GetBoundEndpointAddress(void)
{
uint8_t UPCFG0X_Temp = UPCFG0X;
static inline uint8_t Pipe_GetBoundEndpointAddress(void)
{
uint8_t UPCFG0X_Temp = UPCFG0X;
-
+
return (((UPCFG0X_Temp >> PEPNUM0) & PIPE_EPNUM_MASK) | ((UPCFG0X_Temp & PEPNUM1) ? ENDPOINT_DIR_OUT : ENDPOINT_DIR_IN));
}
return (((UPCFG0X_Temp >> PEPNUM0) & PIPE_EPNUM_MASK) | ((UPCFG0X_Temp & PEPNUM1) ? ENDPOINT_DIR_OUT : ENDPOINT_DIR_IN));
}
@@
-815,12
+815,12
@@
* \param[in] Entries Number of entries in the pipe table to configure.
*
* \return Boolean \c true if all pipes configured successfully, \c false otherwise.
* \param[in] Entries Number of entries in the pipe table to configure.
*
* \return Boolean \c true if all pipes configured successfully, \c false otherwise.
- */
+ */
bool Pipe_ConfigurePipeTable(const USB_Pipe_Table_t* const Table,
const uint8_t Entries);
bool Pipe_ConfigurePipeTable(const USB_Pipe_Table_t* const Table,
const uint8_t Entries);
-
- /** Configures the specified pipe address with the given pipe type, endpoint address within the attached device,
bank size
- * and number of hardware banks.
+
+ /** Configures the specified pipe address with the given pipe type, endpoint address within the attached device,
+ *
bank size
and number of hardware banks.
*
* A newly configured pipe is frozen by default, and must be unfrozen before use via the \ref Pipe_Unfreeze()
* before being used. Pipes should be kept frozen unless waiting for data from a device while in IN mode, or
*
* A newly configured pipe is frozen by default, and must be unfrozen before use via the \ref Pipe_Unfreeze()
* before being used. Pipes should be kept frozen unless waiting for data from a device while in IN mode, or
diff --git
a/LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.h
b/LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.h
index
bcf6b64
..
7e582ad
100644
(file)
--- a/
LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.h
+++ b/
LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.h
@@
-167,9
+167,8
@@
};
/* Inline Functions: */
};
/* Inline Functions: */
- /** Configures the specified endpoint address with the given endpoint type, direction, bank size
- * and banking mode. Once configured, the endpoint may be read from or written to, depending
- * on its direction.
+ /** Configures the specified endpoint address with the given endpoint type, bank size and number of hardware
+ * banks. Once configured, the endpoint may be read from or written to, depending on its direction.
*
* \param[in] Address Endpoint address to configure.
*
*
* \param[in] Address Endpoint address to configure.
*
@@
-209,7
+208,7
@@
const uint8_t Banks)
{
uint8_t Number = (Address & ENDPOINT_EPNUM_MASK);
const uint8_t Banks)
{
uint8_t Number = (Address & ENDPOINT_EPNUM_MASK);
-
+
if (Number >= ENDPOINT_TOTAL_ENDPOINTS)
return false;
if (Number >= ENDPOINT_TOTAL_ENDPOINTS)
return false;
@@
-277,7
+276,7
@@
static inline void Endpoint_ResetEndpoint(const uint8_t Address)
{
uint32_t EndpointNumber = (Address & ENDPOINT_EPNUM_MASK);
static inline void Endpoint_ResetEndpoint(const uint8_t Address)
{
uint32_t EndpointNumber = (Address & ENDPOINT_EPNUM_MASK);
-
+
AVR32_USBB.uerst |= (AVR32_USBB_EPRST0_MASK << EndpointNumber);
AVR32_USBB.uerst &= ~(AVR32_USBB_EPRST0_MASK << EndpointNumber);
USB_Endpoint_FIFOPos[EndpointNumber] = &AVR32_USBB_SLAVE[EndpointNumber * ENDPOINT_HSB_ADDRESS_SPACE_SIZE];
AVR32_USBB.uerst |= (AVR32_USBB_EPRST0_MASK << EndpointNumber);
AVR32_USBB.uerst &= ~(AVR32_USBB_EPRST0_MASK << EndpointNumber);
USB_Endpoint_FIFOPos[EndpointNumber] = &AVR32_USBB_SLAVE[EndpointNumber * ENDPOINT_HSB_ADDRESS_SPACE_SIZE];
diff --git
a/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h
b/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h
index
f09d560
..
a8cb29e
100644
(file)
--- a/
LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h
+++ b/
LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h
@@
-206,7
+206,7
@@
{
return (((&AVR32_USBB.UPCFG0)[USB_Pipe_SelectedPipe].ptoken == PIPE_TOKEN_OUT) ? PIPE_DIR_OUT : PIPE_DIR_IN);
}
{
return (((&AVR32_USBB.UPCFG0)[USB_Pipe_SelectedPipe].ptoken == PIPE_TOKEN_OUT) ? PIPE_DIR_OUT : PIPE_DIR_IN);
}
-
+
/** Returns the pipe address of the currently selected pipe. This is typically used to save the
* currently selected pipe number so that it can be restored after another pipe has been manipulated.
*
/** Returns the pipe address of the currently selected pipe. This is typically used to save the
* currently selected pipe number so that it can be restored after another pipe has been manipulated.
*
@@
-817,12
+817,12
@@
* \param[in] Entries Number of entries in the pipe table to configure.
*
* \return Boolean \c true if all pipes configured successfully, \c false otherwise.
* \param[in] Entries Number of entries in the pipe table to configure.
*
* \return Boolean \c true if all pipes configured successfully, \c false otherwise.
- */
+ */
bool Pipe_ConfigurePipeTable(const USB_Pipe_Table_t* const Table,
const uint8_t Entries);
bool Pipe_ConfigurePipeTable(const USB_Pipe_Table_t* const Table,
const uint8_t Entries);
- /** Configures the specified pipe address with the given pipe type, endpoint address within the attached device,
bank size
- * and number of hardware banks.
+ /** Configures the specified pipe address with the given pipe type, endpoint address within the attached device,
+ *
bank size
and number of hardware banks.
*
* A newly configured pipe is frozen by default, and must be unfrozen before use via the \ref Pipe_Unfreeze()
* before being used. Pipes should be kept frozen unless waiting for data from a device while in IN mode, or
*
* A newly configured pipe is frozen by default, and must be unfrozen before use via the \ref Pipe_Unfreeze()
* before being used. Pipes should be kept frozen unless waiting for data from a device while in IN mode, or
diff --git
a/LUFA/Drivers/USB/Core/XMEGA/Endpoint_XMEGA.h
b/LUFA/Drivers/USB/Core/XMEGA/Endpoint_XMEGA.h
index
9d6a628
..
4ebe0ce
100644
(file)
--- a/
LUFA/Drivers/USB/Core/XMEGA/Endpoint_XMEGA.h
+++ b/
LUFA/Drivers/USB/Core/XMEGA/Endpoint_XMEGA.h
@@
-194,9
+194,8
@@
*/
void Endpoint_SelectEndpoint(const uint8_t Address);
*/
void Endpoint_SelectEndpoint(const uint8_t Address);
- /** Configures the specified endpoint address with the given endpoint type, direction, bank size
- * and banking mode. Once configured, the endpoint may be read from or written to, depending
- * on its direction.
+ /** Configures the specified endpoint address with the given endpoint type, bank size and number of hardware
+ * banks. Once configured, the endpoint may be read from or written to, depending on its direction.
*
* \param[in] Address Endpoint address to configure.
*
*
* \param[in] Address Endpoint address to configure.
*
diff --git
a/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt
b/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt
index
18c3ea6
..
680cea5
100644
(file)
--- a/
LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt
+++ b/
LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt
@@
-74,7
+74,7
@@
</xsl:if>
</xsl:for-each>
</xsl:if>
</xsl:for-each>
- <!-- Add Module chapter -->
+ <!-- Add Module
s
chapter -->
<chapter>
<title>Modules</title>
<xsl:for-each select="compounddef[@kind = 'group']">
<chapter>
<title>Modules</title>
<xsl:for-each select="compounddef[@kind = 'group']">
@@
-226,7
+226,7
@@
<xsl:for-each select="memberdef">
<row id="{@id}" xreflabel="{name}">
<entry>
<xsl:for-each select="memberdef">
<row id="{@id}" xreflabel="{name}">
<entry>
- <xsl:
apply-templates
select="type"/>
+ <xsl:
value-of
select="type"/>
</entry>
<entry>
<xsl:value-of select="name"/>
</entry>
<entry>
<xsl:value-of select="name"/>
@@
-435,7
+435,7
@@
</section>
</xsl:template>
</section>
</xsl:template>
- <xsl:template match="linebreak">
+ <xsl:template match="linebreak
| simplesectsep
">
<literallayout>
</literallayout>
</xsl:template>
<literallayout>
</literallayout>
</xsl:template>
@@
-467,42
+467,42
@@
<title>
<xsl:value-of select="title"/>
</title>
<title>
<xsl:value-of select="title"/>
</title>
- <xsl:apply-templates
select="para"
/>
+ <xsl:apply-templates/>
</note>
</xsl:when>
<xsl:when test="@kind = 'return'">
<note>
<title>Returns</title>
</note>
</xsl:when>
<xsl:when test="@kind = 'return'">
<note>
<title>Returns</title>
- <xsl:apply-templates
select="para"
/>
+ <xsl:apply-templates/>
</note>
</xsl:when>
<xsl:when test="@kind = 'warning'">
<warning>
<title>Warning</title>
</note>
</xsl:when>
<xsl:when test="@kind = 'warning'">
<warning>
<title>Warning</title>
- <xsl:apply-templates
select="para"
/>
+ <xsl:apply-templates/>
</warning>
</xsl:when>
<xsl:when test="@kind = 'pre'">
<note>
<title>Precondition</title>
</warning>
</xsl:when>
<xsl:when test="@kind = 'pre'">
<note>
<title>Precondition</title>
- <xsl:apply-templates
select="para"
/>
+ <xsl:apply-templates/>
</note>
</xsl:when>
<xsl:when test="@kind = 'see'">
<note>
<title>See also</title>
</note>
</xsl:when>
<xsl:when test="@kind = 'see'">
<note>
<title>See also</title>
- <xsl:apply-templates
select="para"
/>
+ <xsl:apply-templates/>
</note>
</xsl:when>
<xsl:when test="@kind = 'note'">
<note>
<title>Note</title>
</note>
</xsl:when>
<xsl:when test="@kind = 'note'">
<note>
<title>Note</title>
- <xsl:apply-templates
select="para"
/>
+ <xsl:apply-templates/>
</note>
</xsl:when>
</note>
</xsl:when>
@@
-680,6
+680,7
@@
<title>
<xsl:value-of select="caption"/>
</title>
<title>
<xsl:value-of select="caption"/>
</title>
+
<xsl:call-template name="write.table.content"/>
</table>
</xsl:when>
<xsl:call-template name="write.table.content"/>
</table>
</xsl:when>