/* Reset the RTC. We also enable the oscillator output on the SQW/INTB* pin and program it for 32,768 Hz output. Note that according to the datasheet, turning on the square wave output increases the current drain on the backup battery from about 600 nA to 2uA.  */
void rtc_reset(void)
/* Reset the RTC. We also enable the oscillator output on the SQW/INTB* pin and program it for 32,768 Hz output. Note that according to the datasheet, turning on the square wave output increases the current drain on the backup battery from about 600 nA to 2uA.  */
void rtc_reset(void)
{
	rtc_write (RTC_CTL_REG_ADDR, RTC_CTL_BIT_RS1 | RTC_CTL_BIT_RS2);
}