I need a 3s timer and a 60s timer in different place, i choice the RTC module to generate the timer flag, LPO clk is the RTC CLK source, how to enable RTC module when the timer is needed, and how to disable RTC when it is unwanted.
You can disable the RTC module by disable the RTC_CLKOUT pin function. Disable the RTCO output function on pin PTC4 or PTC5 through SIM_PINSEL[RTCPS].
thanks，i don't use RTC_CLKOUT PIN, i just use RTC as a timer, because PIT is already used , what i want to know is how to disable RTC moduel, because i use LPOCLK as the RTC clk source, and SIM->SCGC &= ~SIM_SCGC_RTC_MASK will not disable RTC, is this right? the manaul says when reset ,the RTC is stopped in default, how can i start the RTC, and when the RTC runs, how to disable it?which instruction can i use ?
Retrieving data ...