Warner Losh
c558b53ec8
Loop reading the RTC registers until the same values are obtained
...
twice, as advised in the atmel docs.
Submitted by: Ian Lapore
2012-10-07 20:36:46 +00:00
Warner Losh
71d97412d0
Improve a few comments.
2012-10-07 02:08:19 +00:00
Warner Losh
6859e74003
Use the RTC unit to get the time. This works on all known AT91SAM9*
...
processors, either on reboot or after power down with battery backup.
However, the AT91RM9200 RTC always resets on reboot making it just
about useless at the moment (if we support a low-power mode or an
extended sleep mode, it might become useful).
Submitted by: Ian Lepore
2012-10-07 01:58:32 +00:00
Kevin Lo
d11bbab85d
Remove pointless semicolons after label
2011-09-30 04:55:23 +00:00
Warner Losh
82645a84eb
Tweak the disclaimer section of the license to match COPYRIGHT, for
...
better or worse. Ok'd by folks that have additional copyrights to the
files in cases where there's joint authorship.
2008-11-25 00:13:26 +00:00
Paolo Pisati
2e35649225
Correct return code (int) for at91_rtc_intr() prototype.
...
Approved by: cognet
2007-02-27 13:39:34 +00:00
Paolo Pisati
ef544f6312
o break newbus api: add a new argument of type driver_filter_t to
...
bus_setup_intr()
o add an int return code to all fast handlers
o retire INTR_FAST/IH_FAST
For more info: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=465712+0+current/freebsd-current
Reviewed by: many
Approved by: re@
2007-02-23 12:19:07 +00:00
Warner Losh
375906f555
Implement the set_time function. Rather pointless with this RTC, as it
...
resets when the core resets, but there may be some use for it...
2006-07-14 21:37:19 +00:00
Warner Losh
74e4c374f2
Add RTC support. This may be of dubious value since the RTC is reset
...
to 1998 every reboot.
2006-03-24 07:35:30 +00:00