MSPM0C1105_C1106 Driver Library  2.05.01.00
Data Fields
DL_RTC_Common_Calendar Struct Reference

Calendar struct to use in DL_RTC_Common_initCalendar() More...

#include <dl_rtc_common.h>

Data Fields

uint8_t seconds
 
uint8_t minutes
 
uint8_t hours
 
uint8_t dayOfWeek
 
uint8_t dayOfMonth
 
uint8_t month
 
uint16_t year
 

Detailed Description

Calendar struct to use in DL_RTC_Common_initCalendar()

Note
All struct values must be in the same format (Binary OR BCD). RTC Common format is set during initialization.

Field Documentation

§ seconds

uint8_t DL_RTC_Common_Calendar::seconds

The second to set the Calendar time to. Valid values are 0-59 in Binary format OR 0x0-0x59 in BCD format.

§ minutes

uint8_t DL_RTC_Common_Calendar::minutes

The minute to set the Calendar time to. Valid values are 0-59 in Binary format OR 0x0-0x59 in BCD format.

§ hours

uint8_t DL_RTC_Common_Calendar::hours

The hour to set the Calendar time to. Valid values are 0-23 in Binary format OR 0x0-0x23 in BCD format.

§ dayOfWeek

uint8_t DL_RTC_Common_Calendar::dayOfWeek

The day of the week to set the Calendar time to. Valid values are 0-6 in Binary format OR 0x0-0x6 in BCD format.

§ dayOfMonth

uint8_t DL_RTC_Common_Calendar::dayOfMonth

The day of the month to set the Calendar time to. Valid values are 1-31 in Binary format OR 0x1-0x31 in BCD format.

§ month

uint8_t DL_RTC_Common_Calendar::month

The month to set the Calendar time to. Valid values are 1-12 in Binary format OR 0x1-0x12 in BCD format.

§ year

uint16_t DL_RTC_Common_Calendar::year

The year to set the Calendar time to. Valid values are 0-4095 in Binary format OR 0x0-0x4095 in BCD format.


The documentation for this struct was generated from the following file:
© Copyright 1995-2025, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale