Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

include/sys/timeout.h File Reference

Internal Interface: Powerdown Timer Routines. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define DEFAULT_SHUTOFF_TIME   (15*60)

Functions

void shutoff_init (void)
void shutoff_restart (void)
void autoshutoff_check (void)

Variables

volatile unsigned int auto_shutoff_counter
unsigned int auto_shutoff_period
unsigned int auto_shutoff_secs
volatile unsigned int auto_shutoff_elapsed
volatile unsigned int idle_powerdown


Detailed Description

Internal Interface: Powerdown Timer Routines.

Author:
Rossz Vamos-Wentworth <rossw@jps.net>

Definition in file timeout.h.


Define Documentation

#define DEFAULT_SHUTOFF_TIME   (15*60)
 

Definition at line 39 of file timeout.h.


Function Documentation

void autoshutoff_check void   
 

void shutoff_init void   
 

Referenced by kmain().

void shutoff_restart void   
 


Variable Documentation

volatile unsigned int auto_shutoff_counter
 

Definition at line 47 of file timeout.h.

volatile unsigned int auto_shutoff_elapsed
 

Definition at line 50 of file timeout.h.

unsigned int auto_shutoff_period
 

Definition at line 48 of file timeout.h.

unsigned int auto_shutoff_secs
 

Definition at line 49 of file timeout.h.

volatile unsigned int idle_powerdown
 

Definition at line 51 of file timeout.h.


brickOS is released under the Mozilla Public License.
Original code copyright 1998-2002 by the authors.

Generated on Tue Dec 10 00:09:17 2002 for brickOS Kernel Developer by doxygen 1.2.15