Use scoped enumerations to unified enumerations definitions and hardened the code.
Init properly members during begin()
Fix alarm match parameters usage. Before only MATCH_DHHMMSS was partially managed (match only one time not every month). Now all possible Alarm_Match value are handled.
Remove getHours(void)/getAlarmHours(void)
Use same methods with its default parameters value.
Review of #1
This fix and enhance the preview PR:
begin()
MATCH_DHHMMSS
was partially managed (match only one time not every month). Now all possible Alarm_Match value are handled.getHours(void)
/getAlarmHours(void)
Use same methods with its default parameters value.uint8_t getHours(RTC_AM_PM *period = NULL);
uint8_t getAlarmHours(RTC_AM_PM *period = NULL);
syncTime()
syncDate()
syncAlarmTime()
end()
getPrediv()
setPrediv