#include <sys/mm.h>
#include <sys/time.h>
#include <sys/tm.h>
#include <sys/irq.h>
#include <sys/lcd.h>
#include <sys/dsensor.h>
#include <sys/dmotor.h>
#include <sys/dsound.h>
#include <sys/lnp.h>
#include <sys/lnp-logical.h>
#include <sys/program.h>
#include <rom/system.h>
#include <dbutton.h>
#include <string.h>
#include <conio.h>
#include <unistd.h>
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
the user main() | |
void | show_on (void) |
show ON string | |
void | show_off (void) |
show OFF string | |
void | kmain (void) |
the beginning of everything | |
Variables | |
unsigned char * | firmware_string = "Do you byte, when I knock?" |
firmware recognition string | |
char | __bss |
the start of the uninitialized data segment | |
char | __bss_end |
the end of the uninitialized data segment | |
char | __text_hi |
the high memory segment | |
char | __etext_hi |
the high memory segment |
Definition in file kmain.c.
|
the beginning of everything initially called by ROM Definition at line 142 of file kmain.c. References __bss, __bss_end, __etext_hi, __text_hi, BUTTON_ONOFF, BUTTON_PROGRAM, cls, dbutton(), DEFAULT_STACK_SIZE, delay(), lcd_clear(), lcd_init(), lcd_power_off(), lcd_refresh(), lcd_show(), main(), man_run, memcpy(), memset(), power_init(), power_off(), PRESSED, PRIO_NORMAL, reset_vector, rom_reset(), show_off(), show_on(), and shutoff_init(). |
|
the user main()
Definition at line 44 of file activeSensor.C. |
|
show OFF string
Definition at line 116 of file kmain.c. References cls, lcd_digit, and lcd_refresh(). Referenced by kmain(). |
|
show ON string
Definition at line 87 of file kmain.c. References cls, delay(), lcd_digit, and lcd_refresh(). Referenced by kmain(). |
|
the start of the uninitialized data segment
Referenced by kmain(). |
|
the end of the uninitialized data segment
Referenced by kmain(). |
|
the high memory segment
Referenced by kmain(). |
|
the high memory segment
Referenced by kmain(). |
|
firmware recognition string the ROM checks for this string when validating new firmware |