- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Solved! Go to Solution.
- Labels:
-
PSoC 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
User sets current time into RTC.
The alarm mask allows user to set an alarm on any combination of hours,
mins, secs, year, date, month etc.. So if you want an alarm to fire just in
the year 2020 on a specific hour, mask allows you to do that. Or every day
at 20:13, masking again allows you to ignore all but the hours and minutes.
In other words masking permits you to set an alarm that ignores some RTC
date/time parts, and use only specifc parts of the total data/time readings.
Regards, Dana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
User sets current time into RTC.
The alarm mask allows user to set an alarm on any combination of hours,
mins, secs, year, date, month etc.. So if you want an alarm to fire just in
the year 2020 on a specific hour, mask allows you to do that. Or every day
at 20:13, masking again allows you to ignore all but the hours and minutes.
In other words masking permits you to set an alarm that ignores some RTC
date/time parts, and use only specifc parts of the total data/time readings.
Regards, Dana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are a set of ISRs that fire if enabled by mask. You add code for
the ones that concern your alarm, and check by reading data/time and
checking against the ISR values that constitute your alarm settings.
t-text-stroke-width: 0px; "> Every Second handler – RTC_EverySecondHandler()
Every Minute handler – RTC_EveryMinuteHandler()
Every Hour handler – RTC_EveryHourHandler()
Every Day handler – RTC_EveryDayHandler()
Every Week handler – RTC_EveryWeekHandler()
Every Month handler – RTC_EveryMonthHandler()
Every Year handler – RTC_EveryYearHandler()
Regards, Dana.