RPV Event driven kernel
Loading...
Searching...
No Matches
console.h File Reference

Console interface used by the Kernel Shell. More...

#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>
Include dependency graph for console.h:

Go to the source code of this file.

Functions

void con_ln (void)
 Moves cursor to the next line.
 
void con_tab (void)
 Inserts a horizontal tab.
 
void con_clear (void)
 Clears the console display.
 
void con_char (const char code)
 Writes a single character to the console.
 
void con_string (const char *str)
 Writes a null-terminated string to the console.
 
void con_xy (size_t cx, size_t cy)
 Sets the cursor position.
 
size_t con_getx (void)
 Retrieves the current cursor X position.
 
size_t con_gety (void)
 Retrieves the current cursor Y position.
 
void set_con (void)
 Initializes the console subsystem.
 

Variables

size_t MAX_X
 Maximum horizontal coordinate of the console.
 
size_t MAX_Y
 Maximum vertical coordinate of the console.
 

Detailed Description

Console interface used by the Kernel Shell.