MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / RTC_CounterReset

Function RTC_CounterReset

bsp/efm32/Libraries/emlib/src/em_rtc.c:350–355  ·  view source on GitHub ↗

/ * @brief * Restart RTC counter from zero ******************************************************************************/

Source from the content-addressed store, hash-verified

348 * Restart RTC counter from zero
349 ******************************************************************************/
350void RTC_CounterReset(void)
351{
352 /* A disable/enable sequnce will start the counter at zero */
353 RTC_Enable(false);
354 RTC_Enable(true);
355}
356
357
358/** @} (end addtogroup RTC) */

Callers 1

rt_rtc_controlFunction · 0.85

Calls 1

RTC_EnableFunction · 0.70

Tested by

no test coverage detected