Skip to content
GitLab
Menu
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
3808f5c3
Commit
3808f5c3
authored
Jun 09, 2012
by
Dean Camera
Browse files
Spell check source code, fix mistakes.
parent
544027da
Changes
41
Hide whitespace changes
Inline
Side-by-side
LUFA/Drivers/USB/Core/HostStandardReq.h
View file @
3808f5c3
...
...
@@ -91,7 +91,7 @@
/* Global Variables: */
/** Indicates the currently set configuration number of the attached device. This indicates the currently
* selected configuration value if one has been set sucessfully, or 0 if no configuration has been selected.
* selected configuration value if one has been set suc
c
essfully, or 0 if no configuration has been selected.
*
* To set a device configuration, call the \ref USB_Host_SetDeviceConfiguration() function.
*
...
...
LUFA/Drivers/USB/Core/StdDescriptors.h
View file @
3808f5c3
...
...
@@ -105,7 +105,7 @@
/** \name USB Configuration Descriptor Attribute Masks */
//@{
/** Mask for the reserved bit in the Configuration Descriptor's \c ConfigAttributes field, which must be set on all
* devices for historial purposes.
* devices for histori
c
al purposes.
*/
#define USB_CONFIG_ATTR_RESERVED 0x80
...
...
LUFA/Drivers/USB/Core/UC3/USBController_UC3.h
View file @
3808f5c3
...
...
@@ -172,7 +172,7 @@
* from the \ref USB_Modes_t enum.
*
* \param[in] Options Mask indicating the options which should be used when initializing the USB
* interface to control the USB interface's behavio
u
r. This should be comprised of
* interface to control the USB interface's behavior. This should be comprised of
* a \c USB_OPT_REG_* mask to control the regulator, a \c USB_OPT_*_PLL mask to control the
* PLL, and a \c USB_DEVICE_OPT_* mask (when the device mode is enabled) to set the device
* mode speed.
...
...
LUFA/Drivers/USB/Core/XMEGA/USBController_XMEGA.h
View file @
3808f5c3
...
...
@@ -180,7 +180,7 @@
* from the \ref USB_Modes_t enum.
*
* \param[in] Options Mask indicating the options which should be used when initializing the USB
* interface to control the USB interface's behavio
u
r. This should be comprised of
* interface to control the USB interface's behavior. This should be comprised of
* a \c USB_OPT_REG_* mask to control the regulator, a \c USB_OPT_*_PLL mask to control the
* PLL, and a \c USB_DEVICE_OPT_* mask (when the device mode is enabled) to set the device
* mode speed.
...
...
LUFA/Platform/Platform.h
View file @
3808f5c3
...
...
@@ -37,7 +37,7 @@
* management.
*
* User code may choose to either include this master dispatch header file to include all available platform
* driver header files for the current achitecture, or may choose to only include the specific platform driver
* driver header files for the current a
r
chitecture, or may choose to only include the specific platform driver
* modules required for a particular application.
*/
...
...
@@ -55,7 +55,7 @@
* system functions such as clock control and interrupt management.
*
* User code may choose to either include this master dispatch header file to include all available platform
* driver header files for the current achitecture, or may choose to only include the specific platform driver
* driver header files for the current a
r
chitecture, or may choose to only include the specific platform driver
* modules required for a particular application.
*
* \note The exact APIs and availability of sub-modules within the platform driver group may vary depending on the
...
...
LUFA/Platform/UC3/ClockManagement.h
View file @
3808f5c3
...
...
@@ -91,16 +91,16 @@
EXOSC_MODE_8MHZ_OR_MORE
=
AVR32_PM_OSCCTRL0_MODE_CRYSTAL_G3
,
/**< External crystal oscillator equal to or faster than 8MHz. */
};
/** Enum for the possible external oscillator statup times. */
/** Enum for the possible external oscillator sta
r
tup times. */
enum
UC3_Extern_OSC_ClockStartup_t
{
EXOSC_START_0CLK
=
AVR32_PM_OSCCTRL0_STARTUP_0_RCOSC
,
/**< Immediate startup, no delay. */
EXOSC_START_64CLK
=
AVR32_PM_OSCCTRL0_STARTUP_64_RCOSC
,
/**< Wait 64 clock cyles before startup for stability. */
EXOSC_START_128CLK
=
AVR32_PM_OSCCTRL0_STARTUP_128_RCOSC
,
/**< Wait 128 clock cyles before startup for stability. */
EXOSC_START_2048CLK
=
AVR32_PM_OSCCTRL0_STARTUP_2048_RCOSC
,
/**< Wait 2048 clock cyles before startup for stability. */
EXOSC_START_4096CLK
=
AVR32_PM_OSCCTRL0_STARTUP_4096_RCOSC
,
/**< Wait 4096 clock cyles before startup for stability. */
EXOSC_START_8192CLK
=
AVR32_PM_OSCCTRL0_STARTUP_8192_RCOSC
,
/**< Wait 8192 clock cyles before startup for stability. */
EXOSC_START_16384CLK
=
AVR32_PM_OSCCTRL0_STARTUP_16384_RCOSC
,
/**< Wait 16384 clock cyles before startup for stability. */
EXOSC_START_64CLK
=
AVR32_PM_OSCCTRL0_STARTUP_64_RCOSC
,
/**< Wait 64 clock cy
c
les before startup for stability. */
EXOSC_START_128CLK
=
AVR32_PM_OSCCTRL0_STARTUP_128_RCOSC
,
/**< Wait 128 clock cy
c
les before startup for stability. */
EXOSC_START_2048CLK
=
AVR32_PM_OSCCTRL0_STARTUP_2048_RCOSC
,
/**< Wait 2048 clock cy
c
les before startup for stability. */
EXOSC_START_4096CLK
=
AVR32_PM_OSCCTRL0_STARTUP_4096_RCOSC
,
/**< Wait 4096 clock cy
c
les before startup for stability. */
EXOSC_START_8192CLK
=
AVR32_PM_OSCCTRL0_STARTUP_8192_RCOSC
,
/**< Wait 8192 clock cy
c
les before startup for stability. */
EXOSC_START_16384CLK
=
AVR32_PM_OSCCTRL0_STARTUP_16384_RCOSC
,
/**< Wait 16384 clock cy
c
les before startup for stability. */
};
/** Enum for the possible module clock sources. */
...
...
LUFA/Platform/UC3/InterruptManagement.h
View file @
3808f5c3
...
...
@@ -93,7 +93,7 @@
/* Public Interface - May be used in end-application: */
/* Macros: */
/** Converts a given interrupt index into its assocated interrupt group.
/** Converts a given interrupt index into its assoc
i
ated interrupt group.
*
* \param[in] IRQIndex Index of the interrupt request to convert.
*
...
...
@@ -101,7 +101,7 @@
*/
#define INTC_IRQ_GROUP(IRQIndex) (IRQIndex / 32)
/** Converts a given interrupt index into its assocated interrupt line.
/** Converts a given interrupt index into its assoc
i
ated interrupt line.
*
* \param[in] IRQIndex Index of the interrupt request to convert.
*
...
...
LUFA/Platform/XMEGA/ClockManagement.h
View file @
3808f5c3
...
...
@@ -88,7 +88,7 @@
EXOSC_FREQ_16MHZ_MAX
=
OSC_FRQRANGE_12TO16_gc
,
/**< External crystal oscillator equal to or slower than 16MHz. */
};
/** Enum for the possible external oscillator statup times. */
/** Enum for the possible external oscillator sta
r
tup times. */
enum
XMEGA_Extern_OSC_ClockStartup_t
{
EXOSC_START_6CLK
=
OSC_XOSCSEL_EXTCLK_gc
,
/**< Wait 6 clock cycles before startup (external clock). */
...
...
@@ -141,7 +141,7 @@
* the oscillator is ready for use.
*
* \param[in] FreqRange Frequency range of the external oscillator, a value from \ref XMEGA_Extern_OSC_ClockFrequency_t.
* \param[in] Startup Statup time of the external oscillator, a value from \ref XMEGA_Extern_OSC_ClockStartup_t.
* \param[in] Startup Sta
r
tup time of the external oscillator, a value from \ref XMEGA_Extern_OSC_ClockStartup_t.
*
* \return Boolean \c true if the external oscillator was successfully started, \c false if invalid parameters specified.
*/
...
...
@@ -347,7 +347,7 @@
*
* \param[in] Source Clock source for the CPU core, a value from \ref XMEGA_System_ClockSource_t.
*
* \return Boolean \c true if the CPU core clock was sucessfully altered, \c false if invalid parameters specified.
* \return Boolean \c true if the CPU core clock was suc
c
essfully altered, \c false if invalid parameters specified.
*/
static
inline
bool
XMEGACLK_SetCPUClockSource
(
const
uint8_t
Source
)
ATTR_ALWAYS_INLINE
;
static
inline
bool
XMEGACLK_SetCPUClockSource
(
const
uint8_t
Source
)
...
...
Projects/AVRISP-MKII/AVRISPDescriptors.c
View file @
3808f5c3
...
...
@@ -38,7 +38,7 @@
#include
"AVRISPDescriptors.h"
#if defined(RESET_TOGGLES_LIBUSB_COMPAT) || defined(__DOXYGEN__)
/** Indicates if an external reset has ocurred and the compatibility mode needs to be altered */
/** Indicates if an external reset has oc
c
urred and the compatibility mode needs to be altered */
static
bool
AVRISP_NeedCompatibilitySwitch
ATTR_NO_INIT
;
/** Current AVRISP data IN endpoint address. */
...
...
@@ -255,7 +255,7 @@ uint16_t AVRISP_GetDescriptor(const uint16_t wValue,
*/
void
CheckExternalReset
(
void
)
{
/* If an external reset occured, we need to change compatibility mode */
/* If an external reset occur
r
ed, we need to change compatibility mode */
AVRISP_NeedCompatibilitySwitch
=
(
MCUSR
==
(
1
<<
EXTRF
));
MCUSR
=
0
;
...
...
Projects/Magstripe/Lib/CircularBitBuffer.h
View file @
3808f5c3
...
...
@@ -71,7 +71,7 @@
}
BitBuffer_t
;
/* Function Prototypes: */
/** Initiali
s
es or resets a given bit buffer, ready to store new bits.
/** Initiali
z
es or resets a given bit buffer, ready to store new bits.
*
* \param[in,out] Buffer Bit buffer to initialize
*/
...
...
Projects/Magstripe/Lib/MagstripeHW.h
View file @
3808f5c3
...
...
@@ -77,7 +77,7 @@
/* Public Interface - May be used in end-application: */
/* Inline Functions: */
/** Initiali
s
es the magnetic stripe card reader ports and pins so that the card reader
/** Initiali
z
es the magnetic stripe card reader ports and pins so that the card reader
* device can be controlled and read by the card reader driver. This must be called before
* trying to read any of the card reader's status lines.
*/
...
...
Projects/SerialToLCD/Lib/HD44780.c
View file @
3808f5c3
...
...
@@ -104,7 +104,7 @@ static void HD44780_PowerUp4Bit(void)
_delay_us
(
50
);
}
void
HD44780_Initiali
s
e
(
void
)
void
HD44780_Initiali
z
e
(
void
)
{
PORTD
&=
~
ALL_BITS
;
DDRD
|=
ALL_BITS
;
...
...
Projects/SerialToLCD/Lib/HD44780.h
View file @
3808f5c3
...
...
@@ -57,7 +57,7 @@
#define CMD_DISPLAY_ON 0x0C
/* Function Prototypes: */
void
HD44780_Initiali
s
e
(
void
);
void
HD44780_Initiali
z
e
(
void
);
void
HD44780_WriteData
(
const
uint8_t
c
);
void
HD44780_WriteCommand
(
const
uint8_t
c
);
...
...
Projects/SerialToLCD/SerialToLCD.c
View file @
3808f5c3
...
...
@@ -148,7 +148,7 @@ void SetupHardware(void)
USB_Init
();
/* Power up the HD44780 Interface */
HD44780_Initiali
s
e
();
HD44780_Initiali
z
e
();
HD44780_WriteCommand
(
CMD_DISPLAY_ON
);
/* Start the flush timer so that overflows occur rapidly to push received bytes to the USB interface */
...
...
Projects/TempDataLogger/Lib/DataflashManager.h
View file @
3808f5c3
...
...
@@ -53,7 +53,7 @@
#endif
/* Defines: */
/** Total number of bytes of the storage medium, comprised of one or more
d
ataflash ICs. */
/** Total number of bytes of the storage medium, comprised of one or more
D
ataflash ICs. */
#define VIRTUAL_MEMORY_BYTES ((uint32_t)DATAFLASH_PAGES * DATAFLASH_PAGE_SIZE * DATAFLASH_TOTALCHIPS)
/** Block size of the device. This is kept at 512 to remain compatible with the OS despite the underlying
...
...
Projects/TempDataLogger/TempDataLogger.c
View file @
3808f5c3
...
...
@@ -227,7 +227,7 @@ void EVENT_USB_Device_Connect(void)
{
LEDs_SetAllLEDs
(
LEDMASK_USB_ENUMERATING
);
/* Close the log file so that the host has exclusive filesystem access */
/* Close the log file so that the host has exclusive file
system access */
CloseLogFile
();
}
...
...
Projects/TempDataLogger/TempLogHostApp/DataLoggerSettings.Designer.cs
View file @
3808f5c3
...
...
@@ -157,7 +157,7 @@
this
.
MaximizeBox
=
false
;
this
.
MinimizeBox
=
false
;
this
.
Name
=
"frmDataloggerSettings"
;
this
.
Text
=
"Data
L
ogger"
;
this
.
Text
=
"Data
l
ogger"
;
this
.
Load
+=
new
System
.
EventHandler
(
this
.
frmDataloggerSettings_Load
);
((
System
.
ComponentModel
.
ISupportInitialize
)(
this
.
nudLogInterval
)).
EndInit
();
this
.
ResumeLayout
(
false
);
...
...
Projects/TempDataLogger/TempLogHostApp/DataLoggerSettings.cs
View file @
3808f5c3
...
...
@@ -85,7 +85,7 @@ namespace Project1HostApp
if
(
ConnectionHandle
==
null
)
{
MessageBox
.
Show
(
"Error: Cannot connect to Data
L
ogger device."
);
MessageBox
.
Show
(
"Error: Cannot connect to Data
l
ogger device."
);
return
;
}
...
...
@@ -115,7 +115,7 @@ namespace Project1HostApp
if
(
ConnectionHandle
==
null
)
{
MessageBox
.
Show
(
"Error: Cannot connect to Data
L
ogger device."
);
MessageBox
.
Show
(
"Error: Cannot connect to Data
l
ogger device."
);
return
;
}
...
...
Projects/TempDataLogger/TempLogHostApp/Properties/AssemblyInfo.cs
View file @
3808f5c3
...
...
@@ -9,7 +9,7 @@ using System.Runtime.InteropServices;
[
assembly
:
AssemblyDescription
(
""
)]
[
assembly
:
AssemblyConfiguration
(
""
)]
[
assembly
:
AssemblyCompany
(
"Dean Camera"
)]
[
assembly
:
AssemblyProduct
(
"Temp Data
L
ogger HostApp"
)]
[
assembly
:
AssemblyProduct
(
"Temp Data
l
ogger HostApp"
)]
[
assembly
:
AssemblyCopyright
(
"Copyright © Dean Camera 2011"
)]
[
assembly
:
AssemblyTrademark
(
""
)]
[
assembly
:
AssemblyCulture
(
""
)]
...
...
Projects/Webserver/Lib/DataflashManager.h
View file @
3808f5c3
...
...
@@ -51,7 +51,7 @@
#endif
/* Defines: */
/** Total number of bytes of the storage medium, comprised of one or more
d
ataflash ICs. */
/** Total number of bytes of the storage medium, comprised of one or more
D
ataflash ICs. */
#define VIRTUAL_MEMORY_BYTES ((uint32_t)DATAFLASH_PAGES * DATAFLASH_PAGE_SIZE * DATAFLASH_TOTALCHIPS)
/** Block size of the device. This is kept at 512 to remain compatible with the OS despite the underlying
...
...
Prev
1
2
3
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment