G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference

Functions

__STATIC_INLINE void DDL_RTC_SetTime (RTC_TypeDef *RTCx, uint32_t TimerCounter)
 Set time in Binary format.
__STATIC_INLINE uint32_t DDL_RTC_GetTime (RTC_TypeDef *RTCx)
 Get time (all converted to seconds) in Binary format.

Detailed Description

Function Documentation

◆ DDL_RTC_GetTime()

__STATIC_INLINE uint32_t DDL_RTC_GetTime ( RTC_TypeDef * RTCx)

Get time (all converted to seconds) in Binary format.

Parameters
RTCxRTC Instance
Return values
Valuebetween Min_Data=0x00 and Max_Data=0xFFFFFFFF.

Definition at line 330 of file g32r4xx_ddl_rtc.h.

◆ DDL_RTC_SetTime()

__STATIC_INLINE void DDL_RTC_SetTime ( RTC_TypeDef * RTCx,
uint32_t TimerCounter )

Set time in Binary format.

Note
It can be written in initialization mode only (DDL_RTC_EnableInitMode function)
Parameters
RTCxRTC Instance
TimerCounterValue between Min_Data=0x00 and Max_Data=0xFFFFFFFF
Return values
None

Definition at line 319 of file g32r4xx_ddl_rtc.h.