XMC Peripheral Library for XMC4000 Family
XMC_RTC_TIME_t Struct Reference

#include <xmc_rtc.h>

Detailed Description

Time values of RTC

The structure presents a convenient way to set/obtain the time values for seconds, minutes, hours, days, month and year of RTC. The XMC_RTC_SetTime() and XMC_RTC_GetTime() can be used to populate the structure with the time value of RTC

Field Documentation

◆ days

uint32_t days

Days time value (0-Actual days of month: Above this causes this bitfield to be set with 0)

◆ daysofweek

uint32_t daysofweek

Days of week time value (0-6: Above this causes this bitfield to be set with 0)

◆ hours

uint32_t hours

Hours time value (0-23: Above this causes this bitfield to be set with 0)

◆ minutes

uint32_t minutes

Minutes time value (0-59: Above this causes this bitfield to be set with 0)

◆ month

uint32_t month

Month time value (0-11: Above this causes this bitfield to be set with 0)

◆ seconds

uint32_t seconds

Seconds time value (0-59: Above this causes this bitfield to be set with 0)

◆ year

uint32_t year

Year time value


The documentation for this struct was generated from the following file: