Real Time Clock Module with I2C Interface  0.3
⇒ back to Project Page
 All Data Structures Files Functions Variables Typedefs Macros Pages
void rtc_setup_ds1307 ( uint8_t *  rtc_data)

This function checks the DS1307 chip for it's operational state. Therefore it reads the oscillator state - if the oscillator is running, the DS1307 seems to provide the correct time data (via backup battery). If the oscillator is not running, the function switches it on.

Parameters
[in]rtc_dataarray for the data transfer to the DS1307 chip, it will be filled by this function an does not require any data at the function call
See Also
I2C_MASTER_BUFFER_LENGTH
Date
  • Created 26.01.2013
  • Modified 26.01.2013
Author
Michael Skutek, micha.nosp@m.el@s.nosp@m.kutek.nosp@m..de

Definition at line 106 of file i2c_rtc_control_operation.c.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function: