1 Reply Latest reply on Feb 19, 2020 1:47 AM by AashitaR_11

    about PSoC Creator RTC component

    VaIk_2708246

      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.