Updates:
Status: Started
Labels: Component-Peripheral
Comment #1 on issue 155 by robhamerling: Refactoring rtcc_hw library
http://code.google.com/p/jallib/issues/detail?id=155
The following changes are planned:
1. Abandon the use of byte*3 variables for date, time and alarmtime and in
stead use 3 separate byte variables for the parts: no confusion about
sequence.
2. Abandon use of 'hhmmss' and 'yymmdd' in function names and use 'time'
and 'date' in stead.
3. Abandon use of suffixes '_bcd' and '_bin' in names of functions and
procedures. It should be clear from the purpose of the function or
procedure if bcd or binary notation is used.
4. Rename functions which return a relative value to rtc_get_secondofday,
rtc_get_minuteofday, rtc_get_dayofweek (etc, when more functions of such
are added).
(to be continued)
Rob.
--
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en.