mirror of
https://github.com/eclipse/upm.git
synced 2025-06-10 07:10:22 +03:00
ds1307: header update
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
parent
b243290a36
commit
9b3befd6f2
@ -42,18 +42,29 @@
|
||||
#define DS1307_DAY_SUN 7
|
||||
|
||||
namespace upm {
|
||||
/**
|
||||
* @brief DS1307 Real Time CLock library
|
||||
* @defgroup ds1307 libupm-ds1307
|
||||
* @ingroup seeed i2c time
|
||||
*/
|
||||
|
||||
/**
|
||||
* @library ds1307
|
||||
* @sensor ds1307
|
||||
* @comname Grove RTC (Real Time Clock)
|
||||
* @altname DS1307
|
||||
* @type time
|
||||
* @man seeed
|
||||
* @con i2c
|
||||
*
|
||||
* @brief C++ API for the DS1307 Real Time CLock
|
||||
*
|
||||
* UPM module for the DS1307 based RTC. The clock can provide information
|
||||
* about the seconds, minutes, hours, day of the week, day of the month,
|
||||
* month, and year. It can operate in either 24-hour or 12-hour format.
|
||||
*
|
||||
* This device can also output a square wave at 1Khz, 4Khz, 8Khz, and 32Khz.
|
||||
* However, this capability is not implemented in this module.
|
||||
*
|
||||
* @ingroup i2c ds1307 RTC
|
||||
* @snippet ds1307.cxx Interesting
|
||||
*/
|
||||
class DS1307 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user