- OS: Ubuntu 18.04 LTS
- Board: LPCXpresso54628
- IDE: MCUXpresso IDE v11.0.1 [Build 2563] [2019-09-01]
I examined rit.c from SDK example. With the code, I confirmed that the LED is toggled in one second interval.
However, I cannot understand how the one second interval is configured.
Related sentences in [rit.c] may be
A. #define RIT_SOURCE_CLOCK CLOCK_GetFreq(kCLOCK_CoreSysClk)
C. RIT_SetTimerCompare(RIT, RIT_SOURCE_CLOCK);
Q1. What is the kCLOCK_Gpio3 (and others, such as kCLOCK_Gpio0)? I found no explanations on documents.
Q2. Why is kCLOCK_Gpio3 used in this example? (Related to kCLOCK_CoreSysClk?)
Q3. How do they produce one second interval?
Thanks in advance.