armOS  0.1.0
Minimal ARM Operating System for the Raspberry Pi - Documentation generated for Pi 4.
console.h
Go to the documentation of this file.
1 
9 #ifndef CONSOLE_H
10 #define CONSOLE_H
11 
12 #include <stdint.h>
13 
19 #define DEVICE_LENGTH 5
20 
25 #define PROMPT_LENGTH 11
26 
30 typedef enum {
45 } command;
46 
53 extern uint8_t led_pin_num;
54 
60 char *console_init(char *device);
61 
70 int console_get_cmd(char *input);
71 
79 void console(char *device);
80 
85 void console_help();
86 
91 void console_help_led();
92 
95 #endif
cmd_create_procs
@ cmd_create_procs
Definition: console.h:41
cmd_led_pin
@ cmd_led_pin
Definition: console.h:33
led_pin_num
uint8_t led_pin_num
Definition: console.c:21
console_init
char * console_init(char *device)
Definition: console.c:23
cmd_led_on_ms
@ cmd_led_on_ms
Definition: console.h:38
cmd_led_irq_on
@ cmd_led_irq_on
Definition: console.h:36
cmd_help_led
@ cmd_help_led
Definition: console.h:32
cmd_kill_procs
@ cmd_kill_procs
Definition: console.h:43
cmd_led_blink_sos
@ cmd_led_blink_sos
Definition: console.h:40
command
command
Definition: console.h:30
console_get_cmd
int console_get_cmd(char *input)
Definition: console.c:35
cmd_run_procs
@ cmd_run_procs
Definition: console.h:42
cmd_halt
@ cmd_halt
Definition: console.h:44
cmd_led_on
@ cmd_led_on
Definition: console.h:34
cmd_led_irq_off
@ cmd_led_irq_off
Definition: console.h:37
console
void console(char *device)
Definition: console.c:69
cmd_led_blink_times
@ cmd_led_blink_times
Definition: console.h:39
cmd_led_off
@ cmd_led_off
Definition: console.h:35
cmd_help
@ cmd_help
Definition: console.h:31
console_help
void console_help()
Definition: console.c:252
console_help_led
void console_help_led()
Definition: console.c:269