This controls the sleep operation for the LCD. More...
#include <avr/interrupt.h>
#include <avr/sleep.h>
#include <avr/wdt.h>
#include <util/delay.h>
#include <stdbool.h>
#include "main.h"
#include "sleep.h"
#include "uart.h"
#include "key.h"
#include "timer.h"
#include "lcd.h"
Go to the source code of this file.
Functions | |
void | sleep_now (int howlong) |
Prepares for and executes sleep. | |
void | sleep_wakeup (void) |
This will send a wakeup command to ATmega1284p It may already be awake, if not it will respond during the next wake cycle Upon receiving the command it will return an acknowledgement frame. | |
ISR (PCINT0_vect) | |
This is the wake up button interrupt. | |
ISR (TIMER2_OVF_vect) | |
This is the timer2 overflow interrupt. |
This controls the sleep operation for the LCD.
Definition in file sleep.c.