diff options
| author | Daniel Campora | 2015-03-26 13:51:37 +0100 |
|---|---|---|
| committer | Daniel Campora | 2015-03-26 13:58:58 +0100 |
| commit | 4be44014abd5804e3cd8f810b67ad5555af47f13 (patch) | |
| tree | c9a9f55da29f12b1c7d4b487324fbc96c3156194 /cc3200/misc/mpcallback.h | |
| parent | 0090c714ba94a10b21d8a09756d7d6f7354ac3f9 (diff) | |
cc3200: Reenable active interrupts when waking from suspended mode.
Diffstat (limited to 'cc3200/misc/mpcallback.h')
| -rw-r--r-- | cc3200/misc/mpcallback.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cc3200/misc/mpcallback.h b/cc3200/misc/mpcallback.h index cadc73bad..743d73fe1 100644 --- a/cc3200/misc/mpcallback.h +++ b/cc3200/misc/mpcallback.h @@ -49,6 +49,7 @@ typedef struct { mp_obj_t parent; mp_obj_t handler; mp_cb_methods_t *methods; + bool isenabled; } mpcallback_obj_t; /****************************************************************************** @@ -63,6 +64,7 @@ extern const mp_obj_type_t pyb_callback_type; void mpcallback_init0 (void); mp_obj_t mpcallback_new (mp_obj_t parent, mp_obj_t handler, const mp_cb_methods_t *methods); mpcallback_obj_t *mpcallback_find (mp_obj_t parent); +void mpcallback_wake_all (void); void mpcallback_remove (const mp_obj_t parent); void mpcallback_handler (mp_obj_t self_in); uint mpcallback_translate_priority (uint priority); |
