00001 00036 #ifndef _UTILS_H_ 00037 #define _UTILS_H_ 00038 00039 #include <avr/io.h> 00040 00041 extern uint8_t lcdAvailable; 00042 00044 void Write16bitRegister(volatile uint16_t *reg, uint16_t value); 00045 00047 uint16_t Read16bitRegister(volatile uint16_t *reg); 00048 00050 void SleepUntilTerminalClock(); 00051 00053 void SleepUntilCardInserted(); 00054 00055 #endif // _UTILS_H_ 00056