1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #13775 from akshaim/ds1307_CT_Config

drivers/include/ds1307.h : Compile Configs
This commit is contained in:
Leandro Lanzieri 2020-04-01 13:28:36 +02:00 committed by GitHub
commit 6f30086609
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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