Author Topic: mcf52259 RTC  (Read 2401 times)

Offline neil

  • Sr. Member
  • ****
  • Posts: 438
    • View Profile
mcf52259 RTC
« on: February 09, 2020, 06:23:18 PM »
Hi Mark
   I am thinking of using the onboard RTC instead of an external one. I see in the file M5223X.c file you have support for it. Is there any examples on how to use this with utasker? I want to read/set time and use the 1 Hz interupt.

Best Regards
Neil

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3234
    • View Profile
    • uTasker
Re: mcf52259 RTC
« Reply #1 on: February 09, 2020, 06:48:31 PM »
Hi Neil

See whether this document helps: https://www.utasker.com/docs/uTasker/uTasker_Time.pdf

In about 2015 the "time keeper"module was added to make the time/calendar/alarms interface more generic but it is basically an encapsulation of the RTC (and other possible methods) so the underlying details should still be relevant for older projects too.

Regards

Mark