[stm32f429i-discovery] Merge and delete systick blink example.

Added Chucks improvements to the systick example into the ported one.
This commit is contained in:
Piotr Esden-Tempski
2015-01-22 15:51:20 -08:00
parent 7629bb01e6
commit c18a16d979
4 changed files with 7 additions and 124 deletions

View File

@@ -46,7 +46,12 @@ static void msleep(uint32_t delay)
while (wake > system_millis);
}
/* Set up a timer to create 1mS ticks. */
/*
* systick_setup(void)
*
* This function sets up the 1khz "system tick" count. The SYSTICK counter is a
* standard feature of the Cortex-M series.
*/
static void systick_setup(void)
{
/* clock rate / 1000 to get 1mS interrupt rate */
@@ -57,7 +62,7 @@ static void systick_setup(void)
systick_interrupt_enable();
}
/* Set STM32 to 168 MHz. */
/* Set STM32 system clock to 168 MHz. */
static void clock_setup(void)
{
rcc_clock_setup_hse_3v3(&hse_8mhz_3v3[CLOCK_3V3_168MHZ]);