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

include/rom/system.h File Reference

ROM Interface: RCX system control functions. More...

#include <sys/irq.h>

Include dependency graph for system.h:

Include dependency graph

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

Included by dependency graph

Go to the source code of this file.

Functions

void power_off (void)
 enters software standby mode.

void power_init (void)
 disables software standby mode so tm_idle_task() can use the sleep

void reset (void) __attribute__((noreturn))
 erases BrickOS, returning control to ROM.

void rom_reset (void) __attribute__((noreturn))
 turns off interrupts, then issues reset.


Detailed Description

ROM Interface: RCX system control functions.

Author:
Markus L. Noga <markus@noga.de>

Definition in file system.h.


Function Documentation

void power_init void   )  [inline]
 

disables software standby mode so tm_idle_task() can use the sleep

Definition at line 54 of file system.h.

References __asm__().

void power_off void   )  [inline]
 

enters software standby mode.

Definition at line 42 of file system.h.

References __asm__().

void reset void   ) 
 

erases BrickOS, returning control to ROM.

Referenced by rom_reset().

void rom_reset void   )  [inline]
 

turns off interrupts, then issues reset.

Definition at line 68 of file system.h.

References disable_irqs(), and reset().


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

Generated on Mon Feb 16 21:02:22 2004 for brickOS Kernel Developer by doxygen 1.3.5