User`s manual

RX62N Group, RX621 Group 4. Library Reference
Description (2/2)
[data2]
Select the values to be changed.
To set multiple options at the same time, use "|" to separate each value.
If no change is required, specify PDL_NO_DATA.
Select the time counters to be updated, using values supplied in parameter data3.
PDL_RTC_UPDATE_CURRENT_HOUR
All three can be selected using:
PDL_RTC_UPDATE_CURRENT_TIME
PDL_RTC_UPDATE_CURRENT_MINUTE
PDL_RTC_UPDATE_CURRENT_SECOND
Select the date counters to be updated, using values supplied in parameters data3 and data4.
PDL_RTC_UPDATE_CURRENT_YEAR
All four can be selected using:
PDL_RTC_UPDATE_CURRENT_DATE.
Parameter data3 is used for the day of the
week.
PDL_RTC_UPDATE_CURRENT_MONTH
PDL_RTC_UPDATE_CURRENT_DAY
PDL_RTC_UPDATE_CURRENT_DOW
Select the alarm time counters to be updated, using values supplied in parameter data5.
PDL_RTC_UPDATE_ALARM_HOUR
All three can be selected using
PDL_RTC_UPDATE_ALARM_TIME.
PDL_RTC_UPDATE_ALARM_MINUTE
PDL_RTC_UPDATE_ALARM_SECOND
Select the alarm date counters to be updated, using values supplied in parameters data5 and
data6.
PDL_RTC_UPDATE_ALARM_YEAR
All four can be selected using
PDL_RTC_UPDATE_ALARM_DATE.
Parameter data5 is used for the day of the
week.
PDL_RTC_UPDATE_ALARM_MONTH
PDL_RTC_UPDATE_ALARM_DAY
PDL_RTC_UPDATE_ALARM_DOW
[data3]
The new day of the week and time. Ignored if not selected above.
[data4]
The new year, month and day. Ignored if not selected above.
[data5]
The new alarm day of the week and time. Ignored if not selected above.
[data6]
The new alarm year, month and day. Ignored if not selected above.
Return value
True if all parameters are valid and exclusive; otherwise false.
Category
Real-time clock
Reference
R_RTC_Create
Remarks
Refer to R_RTC_Create for the time and date formats.
If the current time or date values are updated, the clock is stopped during the update.
If the day of week is updated using automatic calculation, the most recent year, month and
date will be used.
The range checking for either day value uses the most recent year and month values.
R20UT0084EE0112 Rev.1.12 Page 4-159
July. 16, 2014