| 17 | | |
| 18 | | // Ucomment this to enable setting the clock from a |
| 19 | | // unix time stamp with gmt and dst correction |
| 20 | | #define DS1337_USE_SET_UTS |
| 21 | | |
| 22 | | // Uncomment this enable setting the clock using BCD |
| 23 | | //#define DS1337_USE_BCD_CLOCKSET |
| 24 | | |
| 25 | | // Uncomment this if you need to read back unix time stamp (without DTS correction) |
| 26 | | //#define DS1337_USE_GET_UTS |
| 27 | | |
| 28 | | // Uncomment this to support alarms |
| 29 | | #define DS1337_USE_ALARMS |
| 30 | | |
| 31 | | #ifdef DS1337_USE_ALARMS |
| 32 | | // Uncomment this to allow use external alarm interrupts |
| 33 | | #define DS1337_USE_ALARM_INTERRUPTS |
| 34 | | |
| 35 | | // Uncomment this to allow alarm functions callback |
| 36 | | #define DS1337_USE_ALARMS_CALLBACK |
| 37 | | #endif |
| 38 | | |
| 39 | | // Uncomment this to use integrity check functions |
| 40 | | //#define DS1337_USE_OSC_INTEGRITY |
| 41 | | |
| 42 | | // Uncomment this to support square wave output |
| 43 | | // If this is enabled, alarm 2 will output it's interrupt on INTA |
| 44 | | #define DS1337_USE_SQW_OUTPUT |
| | 14 | #include "../configs/ds1337/ds1337.h" |