Skip to content

Commit b8836a6

Browse files
committed
Fix comments
1 parent 8983308 commit b8836a6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: cores/arduino/startup.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* - OSC8M clock source is enabled with a divider by 8 (1MHz).
2828
* - Generic Clock Generator 0 (GCLKMAIN) is using OSC8M as source.
2929
* We need to:
30-
* 1) Enable XOSC32K clock (External on-board 32.768Hz oscillator), will be used as DFLL48M reference.
30+
* 1) Enable XOSC32K clock (External on-board 32.768KHz oscillator), will be used as DFLL48M reference.
3131
* 2) Put XOSC32K as source of Generic Clock Generator 1
3232
* 3) Put Generic Clock Generator 1 as source for Generic Clock Multiplexer 0 (DFLL48M reference)
3333
* 4) Enable DFLL48M clock
@@ -56,7 +56,7 @@ void SystemInit( void )
5656
#if defined(CRYSTALLESS)
5757

5858
/* ----------------------------------------------------------------------------------------------
59-
* 1) Enable OSC32K clock (Internal 32.768Hz oscillator)
59+
* 1) Enable OSC32K clock (Internal 32.768KHz oscillator)
6060
*/
6161

6262
uint32_t calib = (*((uint32_t *) FUSES_OSC32K_CAL_ADDR) & FUSES_OSC32K_CAL_Msk) >> FUSES_OSC32K_CAL_Pos;
@@ -71,7 +71,7 @@ void SystemInit( void )
7171
#else // has crystal
7272

7373
/* ----------------------------------------------------------------------------------------------
74-
* 1) Enable XOSC32K clock (External on-board 32.768Hz oscillator)
74+
* 1) Enable XOSC32K clock (External on-board 32.768KHz oscillator)
7575
*/
7676
SYSCTRL->XOSC32K.reg = SYSCTRL_XOSC32K_STARTUP( 0x6u ) | /* cf table 15.10 of product datasheet in chapter 15.8.6 */
7777
SYSCTRL_XOSC32K_XTALEN | SYSCTRL_XOSC32K_EN32K ;

0 commit comments

Comments
 (0)