Rishka
RISC-V virtual runtime in C/C++ made for ESP32-WROVER
io.h File Reference

Header file for input/output operations in Rishka applications. More...

#include <librishka/types.h>

Go to the source code of this file.

Classes

class  IO
 Class for handling input/output operations in Rishka applications. More...
 

Macros

Foreground Color Definitions

Macros for setting the foreground (text) color in terminal output.

#define TERM_FG_BLACK   F("\e[30m")
 Black text color.
 
#define TERM_FG_RED   F("\e[31m")
 Red text color.
 
#define TERM_FG_GREEN   F("\e[32m")
 Green text color.
 
#define TERM_FG_YELLOW   F("\e[33m")
 Yellow text color.
 
#define TERM_FG_BLUE   F("\e[34m")
 Blue text color.
 
#define TERM_FG_MAGENTA   F("\e[35m")
 Magenta text color.
 
#define TERM_FG_CYAN   F("\e[36m")
 Cyan text color.
 
#define TERM_FG_WHITE   F("\e[37m")
 White text color.
 
#define TERM_FG_HBLACK   F("\e[90m")
 High-intensity black text color (gray).
 
#define TERM_FG_HRED   F("\e[91m")
 High-intensity red text color.
 
#define TERM_FG_HGREEN   F("\e[92m")
 High-intensity green text color.
 
#define TERM_FG_HYELLOW   F("\e[93m")
 High-intensity yellow text color.
 
#define TERM_FG_HBLUE   F("\e[94m")
 High-intensity blue text color.
 
#define TERM_FG_HMAGENTA   F("\e[95m")
 High-intensity magenta text color.
 
#define TERM_FG_HCYAN   F("\e[96m")
 High-intensity cyan text color.
 
#define TERM_FG_HWHITE   F("\e[97m")
 High-intensity white text color (bright white).
 
Background Color Definitions

Macros for setting the background color in terminal output.

#define TERM_BG_BLACK   F("\e[40m")
 Black background color.
 
#define TERM_BG_RED   F("\e[41m")
 Red background color.
 
#define TERM_BG_GREEN   F("\e[42m")
 Green background color.
 
#define TERM_BG_YELLOW   F("\e[43m")
 Yellow background color.
 
#define TERM_BG_BLUE   F("\e[44m")
 Blue background color.
 
#define TERM_BG_MAGENTA   F("\e[45m")
 Magenta background color.
 
#define TERM_BG_CYAN   F("\e[46m")
 Cyan background color.
 
#define TERM_BG_WHITE   F("\e[47m")
 White background color.
 
#define TERM_BG_HBLACK   F("\e[100m")
 High-intensity black background color (gray).
 
#define TERM_BG_HRED   F("\e[101m")
 High-intensity red background color.
 
#define TERM_BG_HGREEN   F("\e[102m")
 High-intensity green background color.
 
#define TERM_BG_HYELLOW   F("\e[103m")
 High-intensity yellow background color.
 
#define TERM_BG_HBLUE   F("\e[104m")
 High-intensity blue background color.
 
#define TERM_BG_HMAGENTA   F("\e[105m")
 High-intensity magenta background color.
 
#define TERM_BG_HCYAN   F("\e[106m")
 High-intensity cyan background color.
 
#define TERM_BG_HWHITE   F("\e[107m")
 High-intensity white background color (bright white).
 
Text Style Definitions

Macros for setting text styles in terminal output.

#define TERM_STYLE_NORMAL   F("\e[0m")
 Normal text style.
 
#define TERM_STYLE_BOLD   F("\e[1m")
 Bold text style.
 
#define TERM_STYLE_ITALIC   F("\e[3m")
 Italic text style.
 
#define TERM_STYLE_UNDERLINED   F("\e[4m")
 Underlined text style.
 
#define TERM_STYLE_BLINK   F("\e[5m")
 Blinking text style.
 
#define TERM_STYLE_INVERSE   F("\e[7m")
 Inverse text style (swap foreground and background colors).
 

Detailed Description

Header file for input/output operations in Rishka applications.

Author
Nathanne Isip

This header file defines the IO class, which provides functionalities for input/output operations on ESP32-WROVER microcontrollers.