cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

New Contributor II

Hi

Most likely RTC function RTC_ConstructUnixAlarmTime contain error:

        /* Calculates Year value of first Alarm based on current time and Alarm Config Mask */

        tmpCurVal  = RTC_1_GetYear(curDateTime.date);

        if(0u != ((~((uint32)alarmCfgMask)) & RTC_ALARM_MONTH_MASK))  should be:   RTC_ALARM_YEAR_MASK

But maybe I'm wrong?

Thnx.

0 Likes
Reply
1 Solution
Moderator
Moderator

Hi  @

Yes you are right. We have filed an internal ticket to fix this. Thank you for your interest in Cypress products.

Thanks and Regards,

Aashita

View solution in original post

0 Likes
Reply
1 Reply
Moderator
Moderator

Hi  @

Yes you are right. We have filed an internal ticket to fix this. Thank you for your interest in Cypress products.

Thanks and Regards,

Aashita

View solution in original post

0 Likes
Reply