Skip to content

Commit 0a83a42

Browse files
Roy, ElizabethRoy, Elizabeth
Roy, Elizabeth
authored and
Roy, Elizabeth
committed
Added comments for F_CPU_CORRECTED and PERFORM_SIGROW_CORRECTION_F_CPU
1 parent 05eba3d commit 0a83a42

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

cores/arduino/Arduino.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,14 @@ extern "C"{
6868
#define _NOP() do { __asm__ volatile ("nop"); } while (0)
6969
#endif
7070

71+
/* Allows performing a correction on the CPU value using the signature row
72+
values indicating oscillator error provided from the device manufacturer */
7173
#define PERFORM_SIGROW_CORRECTION_F_CPU 0
74+
75+
/* Variable containing corrected F_CPU value, after checks for safe operating
76+
frequency vs supply voltage, oscillator fuse setting and MCLK divider.
77+
Also includes the correction from signature row values if above #define
78+
PERFORM_SIGROW_CORRECTION_F_CPU = 1 */
7279
extern uint32_t F_CPU_CORRECTED;
7380

7481
uint16_t clockCyclesPerMicrosecond(uint32_t clk);

0 commit comments

Comments
 (0)