Spell check source code, fix mistakes.
This commit is contained in:
parent
544027da18
commit
3808f5c36d
41 changed files with 63 additions and 63 deletions
|
|
@ -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 architecture, 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 architecture, 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
|
||||
|
|
|
|||
|
|
@ -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 startup 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 cycles before startup for stability. */
|
||||
EXOSC_START_128CLK = AVR32_PM_OSCCTRL0_STARTUP_128_RCOSC, /**< Wait 128 clock cycles before startup for stability. */
|
||||
EXOSC_START_2048CLK = AVR32_PM_OSCCTRL0_STARTUP_2048_RCOSC, /**< Wait 2048 clock cycles before startup for stability. */
|
||||
EXOSC_START_4096CLK = AVR32_PM_OSCCTRL0_STARTUP_4096_RCOSC, /**< Wait 4096 clock cycles before startup for stability. */
|
||||
EXOSC_START_8192CLK = AVR32_PM_OSCCTRL0_STARTUP_8192_RCOSC, /**< Wait 8192 clock cycles before startup for stability. */
|
||||
EXOSC_START_16384CLK = AVR32_PM_OSCCTRL0_STARTUP_16384_RCOSC, /**< Wait 16384 clock cycles before startup for stability. */
|
||||
};
|
||||
|
||||
/** Enum for the possible module clock sources. */
|
||||
|
|
|
|||
|
|
@ -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 associated 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 associated interrupt line.
|
||||
*
|
||||
* \param[in] IRQIndex Index of the interrupt request to convert.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -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 startup 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 Startup 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 successfully 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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue