S32 SDK
rtc_hal.c File Reference
#include "rtc_hal.h"

Go to the source code of this file.

Functions

status_t RTC_HAL_Init (RTC_Type *const base)
 Initialize RTC instance. More...
 
status_t RTC_HAL_Enable (RTC_Type *const base)
 Enable RTC instance counter. More...
 
status_t RTC_HAL_Disable (RTC_Type *const base)
 Disable RTC instance counter. More...
 
status_t RTC_HAL_SetTimeSecondsRegister (RTC_Type *const base, uint32_t seconds)
 Set Time Seconds Register. More...
 
status_t RTC_HAL_SetTimePrescalerRegister (RTC_Type *const base, uint16_t value)
 Set Time Prescaler Register. More...
 
status_t RTC_HAL_ConfigureRegisterLock (RTC_Type *const base, rtc_lock_register_select_t registerToConfig)
 This function configures register lock status. More...
 
bool RTC_HAL_IsRegisterLocked (const RTC_Type *const base, rtc_lock_register_select_t reg)
 This function gets register lock status. More...
 
status_t RTC_HAL_ConfigureClockOut (RTC_Type *const base, rtc_clk_out_config_t config)
 This function configures the Clock Out pin source. More...