The WCO can be supplied by Backup domain and therefore can run without Vddd/Vccd present. This is a high-accuracy oscillator that is suitable for RTC applications and requires a 32.768 kHz external crystal populated on the application board. The alarm flexibility supports periodic alarms (such as every minute), or a single alarm (13:45 on 28 September, 2043). Your interrupt handler then handles the response. You specify the match value for the time when you want the alarm to occur. The RTC has two alarms that you can configure to generate an interrupt. The start and end dates can be a fixed date (like 24 March) or a relative date (like the second Sunday in March). The RTC driver keeps track of second, minute, hour, day of the week, day of the month, month, and year.ĭST may be enabled and supports any start and end date. If the clock for the Backup domain is set and enabled, the RTC automatically starts counting. You need to choose the clock source for the Backup domain using the Cy_SysClk_ClkBakSetSource() function. The HW RTC is located in the Backup domain. The RTC driver provides access to the HW real-time clock.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |