Преглед на файлове

Merge pull request #445 from FrankBoesing/patch-2

Fix comment re: systick
teensy4-core
Paul Stoffregen преди 4 години
родител
ревизия
c1df8f338b
No account linked to committer's email address
променени са 1 файла, в които са добавени 2 реда и са изтрити 3 реда
  1. +2
    -3
      teensy4/delay.c

+ 2
- 3
teensy4/delay.c Целия файл

@@ -8,9 +8,8 @@ volatile uint32_t systick_cycle_count = 0;
volatile uint32_t scale_cpu_cycles_to_microseconds = 0;
uint32_t systick_safe_read; // micros() synchronization

// page 411 says "24 MHz XTALOSC can be the external clock source of SYSTICK"
// Testing shows the frequency is actually 100 kHz - but how? Did NXP really
// hide an undocumented divide-by-240 circuit in the hardware?
//The 24 MHz XTALOSC can be the external clock source of SYSTICK.
//Hardware devides this down to 100KHz. (RM Rev2, 13.3.21 PG 986)
#define SYSTICK_EXT_FREQ 100000

#if 0

Loading…
Отказ
Запис