Loading...
Searching...
No Matches
rtc.h File Reference

RTC clock setup for STM32H7 family. More...

Detailed Description

RTC clock setup for STM32H7 family.

Author
Jay R Vaghela jay.v.nosp@m.aghe.nosp@m.la@tu.nosp@m.hh.d.nosp@m.e

Definition in file rtc.h.

#include "lse.h"
#include "lsi.h"
+ Include dependency graph for rtc.h:

Go to the source code of this file.

#define CONFIG_RTC_USE_LSE   1
 Select RTC clock source.
 
#define CLOCK_RTC   CLOCK_LSI
 RTC clock frequency.
 

Macro Definition Documentation

◆ CLOCK_RTC

#define CLOCK_RTC   CLOCK_LSI

RTC clock frequency.

Definition at line 41 of file rtc.h.

◆ CONFIG_RTC_USE_LSE

#define CONFIG_RTC_USE_LSE   1

Select RTC clock source.

If enabled, the RTC is clocked from LSE. Otherwise, LSI is used as RTC clock source.

Definition at line 32 of file rtc.h.