Contiki 2.5
Functions
sleep.c File Reference

 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. More...
 
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. More...
 
 ISR (PCINT0_vect)
 This is the wake up button interrupt. More...
 
 ISR (TIMER2_OVF_vect)
 This is the timer2 overflow interrupt. More...
 

Detailed Description

 This controls the sleep operation for the LCD.
Author
Mike Vidales mavid.nosp@m.a404.nosp@m.@gmai.nosp@m.l.co.nosp@m.m

Definition in file sleep.c.