The function sets the DST time and configures the ALARM2 interrupt register with the appropriate DST time.
This function sets the DST stop time if the current time is already in the DST period. The DST period is a period of time between the DST start time and DST stop time. The DST start time and DST stop time is presented in the DST configuration structure, see cy_stc_rtc_dst_t.
- Parameters
-
dstTime | The DST configuration structure, see cy_stc_rtc_dst_t. |
timeDate | The time and date structure. The the appropriate DST time is set based on this time and date, see cy_stc_rtc_config_t. |
- Returns
- cy_en_rtc_status_t A validation check result of RTC register update.