STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
Initialization and de-initialization functions
Collaboration diagram for Initialization and de-initialization functions:

Functions

HAL_StatusTypeDef HAL_RTC_Init (RTC_HandleTypeDef *hrtc)
HAL_StatusTypeDef HAL_RTC_DeInit (RTC_HandleTypeDef *hrtc)
void HAL_RTC_MspInit (RTC_HandleTypeDef *hrtc)
 RTC MSP Initialization This function configures the hardware resources used in this example.
void HAL_RTC_MspDeInit (RTC_HandleTypeDef *hrtc)
 RTC MSP De-Initialization This function freeze the hardware resources used in this example.

Detailed Description

Function Documentation

◆ HAL_RTC_DeInit()

HAL_StatusTypeDef HAL_RTC_DeInit ( RTC_HandleTypeDef * hrtc)

References hrtc.

◆ HAL_RTC_Init()

HAL_StatusTypeDef HAL_RTC_Init ( RTC_HandleTypeDef * hrtc)

References hrtc.

Referenced by MX_RTC_Init().

◆ HAL_RTC_MspDeInit()

void HAL_RTC_MspDeInit ( RTC_HandleTypeDef * hrtc)

RTC MSP De-Initialization This function freeze the hardware resources used in this example.

Parameters
hrtcRTC handle pointer
Return values
None

Definition at line 306 of file stm32h7xx_hal_msp.c.

References __HAL_RCC_RTC_DISABLE, HAL_NVIC_DisableIRQ(), hrtc, RTC, and RTC_WKUP_IRQn.

◆ HAL_RTC_MspInit()

void HAL_RTC_MspInit ( RTC_HandleTypeDef * hrtc)

RTC MSP Initialization This function configures the hardware resources used in this example.

Parameters
hrtcRTC handle pointer
Return values
None

Initializes the peripherals clock

Definition at line 269 of file stm32h7xx_hal_msp.c.

References __HAL_RCC_RTC_ENABLE, Error_Handler(), HAL_NVIC_EnableIRQ(), HAL_NVIC_SetPriority(), HAL_OK, HAL_RCCEx_PeriphCLKConfig(), hrtc, RCC_PeriphCLKInitTypeDef::PeriphClockSelection, RCC_PERIPHCLK_RTC, RCC_RTCCLKSOURCE_LSI, RTC, RTC_WKUP_IRQn, and RCC_PeriphCLKInitTypeDef::RTCClockSelection.