Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

drivers/include/ds1307.h : Compile Configs #13775

Merged
merged 1 commit into from
Apr 1, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions drivers/include/ds1307.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,19 @@ extern "C" {
#define DS1307_I2C_ADDRESS (0x68)
#endif

/**
* @defgroup drivers_ds1307_config DS1307 RTC driver compile configuration
* @ingroup config
* @{
*/

/**
* @brief Maximum I2C bus speed to use with the device
*/
#ifndef DS1307_I2C_MAX_CLK
#define DS1307_I2C_MAX_CLK (I2C_SPEED_FAST)
#endif
/** @} */

/**
* @brief Maximum size in byte of on-chip NVRAM
Expand Down