ICARUS OS (Intelligent Cooperative Architecture for Real-time Unified Systems) 0.1.0
Preemptive Real-Time Operating System for ARM Cortex-M7
Loading...
Searching...
No Matches
rtc.c File Reference

This file provides code for the configuration of the RTC instances. More...

#include "bsp/rtc.h"
#include "bsp/error.h"

Go to the source code of this file.

Functions

void MX_RTC_Init (void)
 
void HAL_RTC_MspInit (RTC_HandleTypeDef *rtcHandle)
 
void HAL_RTC_MspDeInit (RTC_HandleTypeDef *rtcHandle)
 

Variables

RTC_HandleTypeDef hrtc
 

Detailed Description

This file provides code for the configuration of the RTC instances.

Attention

Copyright (c) 2025 STMicroelectronics. All rights reserved.

This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.

Definition in file rtc.c.

Function Documentation

◆ HAL_RTC_MspDeInit()

void HAL_RTC_MspDeInit ( RTC_HandleTypeDef *  rtcHandle)

Definition at line 118 of file rtc.c.

◆ HAL_RTC_MspInit()

void HAL_RTC_MspInit ( RTC_HandleTypeDef *  rtcHandle)

Initializes the peripherals clock

Definition at line 90 of file rtc.c.

References Error_Handler().

◆ MX_RTC_Init()

void MX_RTC_Init ( void  )

Initialize RTC Only

Initialize RTC and set the Time and Date

Definition at line 31 of file rtc.c.

References Error_Handler(), and hrtc.

Referenced by hal_init().

Variable Documentation

◆ hrtc

RTC_HandleTypeDef hrtc

Definition at line 28 of file rtc.c.

Referenced by MX_RTC_Init().