how assign RTC to trigger alarm ? | Cypress Semiconductor
how assign RTC to trigger alarm ?
In datasheet of RTC I read this :
The component also has an optional alarm feature, which provides match detection for a second, minute, hour, day of week, day of month, month, and year. A mask selects what combination of time and date information will be used to generate the alarm. The alarm flexibility supports periodic alarms such as every twenty-third minute after the hour, or a single alarm such as 4:52 a.m. on September 28, 2043.
So my question is how assign RTC to trigger alarm for example every Sunday at 8.35 ?
Any example of code please !