#include <emergency_parser.h>
|
enum | State : char {
EP_RESET,
EP_N,
EP_M,
EP_M1,
EP_M10,
EP_M108,
EP_M11,
EP_M112,
EP_M4,
EP_M41,
EP_M410,
EP_IGNORE
} |
|
◆ State
Enumerator |
---|
EP_RESET | |
EP_N | |
EP_M | |
EP_M1 | |
EP_M10 | |
EP_M108 | |
EP_M11 | |
EP_M112 | |
EP_M4 | |
EP_M41 | |
EP_M410 | |
EP_IGNORE | |
55 #if ENABLED(HOST_PROMPT_SUPPORT)
◆ EmergencyParser()
EmergencyParser::EmergencyParser |
( |
| ) |
|
◆ enable()
◆ disable()
◆ update()
90 case '0':
case '1':
case '2':
91 case '3':
case '4':
case '5':
92 case '6':
case '7':
case '8':
93 case '9':
case '-':
case ' ':
break;
104 #if ENABLED(HOST_PROMPT_SUPPORT)
105 case '8':
state = EP_M8;
break;
135 #if ENABLED(HOST_PROMPT_SUPPORT)
147 case 'S':
state = EP_M876S;
break;
155 case '0':
case '1':
case '2':
156 case '3':
case '4':
case '5':
157 case '6':
case '7':
case '8':
160 M876_reason = (
uint8_t)(c -
'0');
172 if (enabled)
switch (
state) {
176 #if ENABLED(HOST_PROMPT_SUPPORT)
◆ killed_by_M112
bool EmergencyParser::killed_by_M112 |
|
static |