Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 882 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 882 Bytes

DS1302-RTC

This is a simple-to-use library to interface with the DS1302 RTC module written for STM32CubeHal.

Features

  1. Set or get individual time components. eg: ds1302_getSecond, ds1302_setDay...
  2. Set or get all time component using struct DS1302_TimeRecord
  3. Halt or unhalt clock
  4. Transition 12/24 hour mode
  5. Read write to Ram address individually or in burst mode

NOTICE⚠️: This library expects you to have a file named main.h in your include path which should contain an include directive for your stm32hal header such as stm32f4xx_hal.h

Checkout Examples here

Checkout Documentation here