Skip to content

naquad/AVR-DS1302

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AVR DS1302 Library

This library provides access to all functionality of DS1302 real time clock IC.

Notes

Library is very raw, I've tested basic functionality (clock itself, burst mode, memory) in conjunction with ATmega168P microcontroller.

No support for multiple DS1302 (because of defines) and no support for interrupt-based I/O.

To make included example run get USART.h and USART.c from hexagon5un.

Slightly modified Makefile is also his.

NOTE: Do not copy example as is. It utilizes printf() function which is quiet heavy.

Reference

For reference look into rtc2.h;

Enabling / disabling features

To save some space you can enable or disable functionality. See rtc2_config.h file for details.

TODO

  • More testing;
  • Testing with other models of AVR and maybe other compilers;

About

AVR DS1302 real time clock interface library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published