LED clock
 All Files Functions Variables Macros Groups
Macros
I2C peripheral used to communication with the DS1307 RTC IC

Macros

#define RTC_DS1307_I2C   I2C1
 I2C peripheral. More...
 
#define RTC_DS1307_I2C_RCC   RCC_I2C1
 I2C peripheral clock.
 
#define RTC_DS1307_I2C_PORT_RCC   RCC_GPIOB
 I2C I/O peripheral clock.
 
#define RTC_DS1307_I2C_PORT   GPIOB
 I2C I/O peripheral port.
 
#define RTC_DS1307_I2C_PIN_SDA   GPIO_I2C1_SDA
 I2C peripheral data pin (PB7)
 
#define RTC_DS1307_I2C_PIN_SCL   GPIO_I2C1_SCL
 I2C peripheral clock pin (PB6)
 
#define RTC_DS1307_I2C_ADDR   0x68
 DS1307 I2C address (fixed to 0b1101000)
 

Detailed Description

Macro Definition Documentation

#define RTC_DS1307_I2C   I2C1

I2C peripheral.

I2C peripheral

Definition at line 28 of file rtc_ds1307.h.