Revision 213 trunk/cardbox/timer.h
| timer.h (revision 213) | ||
|---|---|---|
| 32 | 32 |
/** Globals **/ |
| 33 | 33 |
volatile char seconds; //Seconds elapsed |
| 34 | 34 |
volatile char minutes; //Minutes exlapsed |
| 35 |
char timeout_flag; //Indicates that timeout has occured |
|
| 36 | 35 |
|
| 37 | 36 |
/** @brief Seconds that have elapsed since the timer started */ |
| 38 | 37 |
//extern volatile char seconds; |
| ... | ... | |
| 52 | 51 |
void reset_timeout_flag(void); |
| 53 | 52 |
/** @brief Sets the timeout flag to 1 */ |
| 54 | 53 |
void set_timeout_flag(void); |
| 54 |
/** @brief Gets the timeout flag (nonzero means set) */ |
|
| 55 |
char get_timeout_flag(void); |
|
| 55 | 56 |
|
| 56 | 57 |
#endif |
Also available in: Unified diff