Numworks Epsilon  1.4.1
Graphing Calculator Operating System
mphalport.c
Go to the documentation of this file.
1 #include "py/mpstate.h"
2 #include "py/mphal.h"
3 
4 #if MICROPY_KBD_EXCEPTION
5 
7 
9  if (c != -1) {
11  }
13 }
14 
15 void mp_keyboard_interrupt(void) {
16  MP_STATE_VM(mp_pending_exception) = MP_OBJ_FROM_PTR(&MP_STATE_VM(mp_kbd_exception));
17 }
18 
19 #endif
void mp_obj_exception_clear_traceback(mp_obj_t self_in)
Definition: objexcept.c:478
void mp_keyboard_interrupt(void)
#define MP_OBJ_FROM_PTR(p)
Definition: obj.h:233
#define MP_STATE_VM(x)
Definition: mpstate.h:241
c(generic_all_nodes)
int mp_interrupt_char
void mp_hal_set_interrupt_char(int c)