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
{
31
cmd_help
,
32
cmd_help_led
,
33
cmd_led_pin
,
34
cmd_led_on
,
35
cmd_led_off
,
36
cmd_led_irq_on
,
37
cmd_led_irq_off
,
38
cmd_led_on_ms
,
39
cmd_led_blink_times
,
40
cmd_led_blink_sos
,
41
cmd_create_procs
,
42
cmd_run_procs
,
43
cmd_kill_procs
,
44
cmd_halt
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
include
kernel
console.h
Generated by
1.8.17