Arduino menU-Ui magic 1.0
Arduino menu user interface library
Classes | Macros | Enumerations
terminalParser.h File Reference

object and resources definitions for terminal parser library, Inheritable byte-by-byte string parser state machine. More...

#include <Arduino.h>

Go to the source code of this file.

Classes

class  terminalParser
 

Macros

#define terminalParser_bufferSize   10
 
#define inverteixColorsTerminal   "\e[7m"
 
#define colorsTerminalReset   "\e[m"
 

Enumerations

enum  CONTROL_CARACTERS {
  BEEP = 0x07 , BACKSPACE = 0x08 , HT = 0x09 , LF = 0x0A ,
  CR = 0x0D , SO = 0x0E , SI = 0x0F , CAN = 0x18 ,
  ESC = 0x1B , DEL = 0x7F , CSI = 0x9B
}
 
enum  ESCAPE_SEQUENCES {
  RIS = 'c' , IND = 'D' , NEL = 'E' , HTS = 'H' ,
  RI = 'M' , DECID = 'Z' , DECSC = '7' , DECRC = '8' ,
  ES_CSI = '[' , DECPNM = '>' , DECPAM = '=' , OSC = ']' ,
  selecting_character_set = '' , DECALN = '#' , STARTG0 = '(' , STARTG1 = ')'
}
 
enum  CSI_SEQUENCES {
  ICH = '@' , CUU = 'A' , CUD = 'B' , CUF = 'C' ,
  CUB = 'D' , CNL = 'E' , CPL = 'F' , CHA = 'G' ,
  CUP = 'H' , ED = 'J' , EL = 'K' , IL = 'L' ,
  DL = 'M' , DCH = 'P' , ECH = 'X' , HPR = 'a' ,
  DA = 'c' , VPA = 'd' , VPR = 'e' , HVP = 'f' ,
  TBC = 'g' , SM = 'h' , RM = 'l' , SGR = 'm' ,
  DSR = 'n' , CPR = 'R' , DECLL = 'q' , DECSTBM = 'r' ,
  Save_cursor_location = 's' , Restore_cursor_location = 'u' , HPA = '`' , LINUX_PRIVATE_CONTROL = ']' ,
  PRIVATE_CONTROL_SEQUENCE = '?'
}
 

Detailed Description

object and resources definitions for terminal parser library, Inheritable byte-by-byte string parser state machine.

This library makes intensive use of object-oriented programming. Meant to be inherited to make use of it's features.

Author
Gerard Forcada Bigas
Date
20/12/22

Enumeration Type Documentation

◆ CONTROL_CARACTERS

1 keystroke keys

◆ CSI_SEQUENCES

finalization escape sequence command

◆ ESCAPE_SEQUENCES

which kind of escape are we going to?