armOS  0.1.0
Minimal ARM Operating System for the Raspberry Pi - Documentation generated for Pi 4.
console.h File Reference

Definition of functions and types for a minimal console. More...

#include <stdint.h>
Include dependency graph for console.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DEVICE_LENGTH   5
 
#define PROMPT_LENGTH   11
 

Enumerations

enum  command {
  cmd_help,
  cmd_help_led,
  cmd_led_pin,
  cmd_led_on,
  cmd_led_off,
  cmd_led_irq_on,
  cmd_led_irq_off,
  cmd_led_on_ms,
  cmd_led_blink_times,
  cmd_led_blink_sos,
  cmd_create_procs,
  cmd_run_procs,
  cmd_kill_procs,
  cmd_halt
}
 

Functions

char * console_init (char *device)
 
int console_get_cmd (char *input)
 
void console (char *device)
 
void console_help ()
 
void console_help_led ()
 

Variables

uint8_t led_pin_num
 

Detailed Description

Definition of functions and types for a minimal console.