Changeset 11
- Timestamp:
- 10/18/07 10:35:15 (15 months ago)
- Files:
-
- 3 modified
-
SPrint/staticPrint.h (modified) (2 diffs)
-
ds1337/ds1337.h (modified) (1 diff)
-
global.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
SPrint/staticPrint.h
r1 r11 1 1 #ifndef staticPrint_H 2 2 #define staticPrint_H 3 4 #ifndef nop5 #define nop() asm volatile ("nop")6 #endif7 3 8 4 #ifndef SPrint … … 19 15 20 16 #ifndef SPrint 21 #define SPrintlnHe z(str) SPrintlnHex_P(PSTR(str))17 #define SPrintlnHex(str) SPrintlnHex_P(PSTR(str)) 22 18 #endif 23 19 -
ds1337/ds1337.h
r9 r11 91 91 #define DS1337_ALARM_DT_DATE false 92 92 93 /** 94 * Alarm 1: Every second 95 * Alarm 2: Every minute (at 00s) 96 **/ 93 97 #define DS1337_ALARM_PERA B00001111 94 98 #define DS1337_ALARM_PER_SEC DS1337_ALARM_PERA /* Used for alarm 1 only*/ 95 99 #define DS1337_ALARM_PER_MIN DS1337_ALARM_PERA /* Used for alarm 2 only*/ 96 100 101 /** 102 * Alarm 1: Match second 103 * Alarm 2: Match minute 104 **/ 97 105 #define DS1337_ALARM_MCH_SEC B00001110 /* Used for alarm 1 only */ 98 106 #define DS1337_ALARM_MCH_MIN B00001100 /* Used for alarm 2 only */ 99 107 108 /** 109 * Alarm 1: Match minutes and seconds 110 * Alarm 2: Match hours and minutes 111 **/ 100 112 #define DS1337_ALARM_MCH_MINSEC B00001100 /* Used for alarm 1 only */ 101 113 #define DS1337_ALARM_MCH_HRMIN B00001000 /* Used for alarm 2 only */ 102 114 115 /** 116 * Alarm 1: Match hour, minute and second 117 **/ 103 118 #define DS1337_ALARM_MCH_HRMINSEC B00001000 /* Used for alarm 1 only */ 104 119 120 /** 121 * Alarm 1: Match date, hour, minute, second 122 * Alarm 2: Match da,te hour, minute 123 **/ 105 124 #define DS1337_ALARM_MCH_DATEHRMINSEC B00000000 /* Used for alarm 1 only */ 106 125 #define DS1337_ALARM_MCH_DATEHRMIN B00000000 /* Used for alarm 2 only */ 107 126 127 /** 128 * Alarm 1: Match day of the week, hour, minute, second 129 * Alarm 2: Match day of the week, hour, minute 130 **/ 108 131 #define DS1337_ALARM_MCH_DOWHRMINSEC B10000000 /* Used for alarm 1 only */ 109 132 #define DS1337_ALARM_MCH_DOWHRMIN B10000000 /* Used for alarm 2 only */ -
global.h
r9 r11 39 39 #define sei() __asm__ __volatile__ ("sei" ::) 40 40 #endif 41 #ifndef nop 42 #define nop() asm volatile ("nop") 43 #endif 41 44 42 45 #endif