Skip to content
This repository was archived by the owner on Jun 5, 2019. It is now read-only.
This repository was archived by the owner on Jun 5, 2019. It is now read-only.

RTC initialization #221

Description

@josesimoes

Hi,

I'm looking into RTC and I need some clarifications, please.
In the current implementation I believe RTC_Initialize() (@ STM32F4_RTC\STM32F4_RTC_functions.cpp) is being called in Time_Initialize() (@ STM32F4_Time\STM32F4_time_functions.cpp).

Despite that I also find in line #279 @ STM32F4_Bootstrap\STM32F4_bootstrap.cpp the following

ifdef STM32F4_Enable_RTC

STM32F4_RTC_Initialize(); // enable RTC

endif

But STM32F4_Enable_RTC doesn't show anywhere else.

I would like to understand better what is the strategy for RTC initialization and configuration.
Is it supposed to be implemented @ STM32F4_RTC_functions.cpp like it is now?
Maybe the STM32F4_RTC_Initialize() code block was from a previous implementation or it something that's planned but not implemented...

Appreciate your insight on this.
Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions