treewide: Fix some typos
This commit is contained in:
committed by
Karl Palsson
parent
93e0ccaf26
commit
a6927e410c
@@ -28,7 +28,7 @@ Alexandru Gagniuc <mr.nuke.me@gmail.com>
|
|||||||
|
|
||||||
* \brief <b>libopencm3 LM4F Clock control API</b>
|
* \brief <b>libopencm3 LM4F Clock control API</b>
|
||||||
*
|
*
|
||||||
* The LM$F clock API provides functionaliity for manipulating the system clock,
|
* The LM$F clock API provides functionality for manipulating the system clock,
|
||||||
* oscillator, and PLL. Functions are provided for fine-grained control of clock
|
* oscillator, and PLL. Functions are provided for fine-grained control of clock
|
||||||
* control registers, while also providing higher level functionality to easily
|
* control registers, while also providing higher level functionality to easily
|
||||||
* configure the main system clock source.
|
* configure the main system clock source.
|
||||||
@@ -419,7 +419,7 @@ static uint32_t xtal_to_freq(enum xtal_t xtal)
|
|||||||
* \brief Configure the system clock source
|
* \brief Configure the system clock source
|
||||||
*
|
*
|
||||||
* Sets up the system clock, including configuring the oscillator source, and
|
* Sets up the system clock, including configuring the oscillator source, and
|
||||||
* PLL to acheve the desired system clock frequency. Where applicable, The LM4F
|
* PLL to achieve the desired system clock frequency. Where applicable, The LM4F
|
||||||
* clock API uses the new RCC2 register to configure clock parameters.
|
* clock API uses the new RCC2 register to configure clock parameters.
|
||||||
*
|
*
|
||||||
* Enables the main oscillator if the clock source is OSCSRC_MOSC. If the main
|
* Enables the main oscillator if the clock source is OSCSRC_MOSC. If the main
|
||||||
|
|||||||
@@ -271,7 +271,7 @@ void rcc_osc_bypass_disable(enum rcc_osc osc)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* This is a helper to calculate dividers that go 2/4/8/16/64/128/256/512.
|
/* This is a helper to calculate dividers that go 2/4/8/16/64/128/256/512.
|
||||||
* These dividers also use the top bit as an "enable". This is tyipcally
|
* These dividers also use the top bit as an "enable". This is typically
|
||||||
* used for AHB and other system clock prescaler. */
|
* used for AHB and other system clock prescaler. */
|
||||||
uint16_t rcc_get_div_from_hpre(uint8_t div_val) {
|
uint16_t rcc_get_div_from_hpre(uint8_t div_val) {
|
||||||
if (div_val < 0x8) {
|
if (div_val < 0x8) {
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ Variables to tell gcc about project dependencies and input files
|
|||||||
----------------------------------------------------------------
|
----------------------------------------------------------------
|
||||||
|
|
||||||
LDSCRIPT Linker script file name (can be generated or fixed)
|
LDSCRIPT Linker script file name (can be generated or fixed)
|
||||||
LIBDEPS Array of library filenames that shoud be rebuilt if needed
|
LIBDEPS Array of library filenames that should be rebuilt if needed
|
||||||
LDLIBS Array of libraries to be linked with (array of -l<libname>)
|
LDLIBS Array of libraries to be linked with (array of -l<libname>)
|
||||||
OBJS Array of object files to be built
|
OBJS Array of object files to be built
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user