File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,11 @@ uint32_t micros();
4040#define delayMicroseconds (x ) wait_us(x)
4141#endif // IOA_USE_MBED
4242
43+ /* *
44+ * the definition of an interrupt handler function, to be called back when an interrupt occurs.
45+ */
46+ typedef void (*RawIntHandler)();
47+
4348/* *
4449 * Definition of a function to be called back when an interrupt is detected, marshalled by task manager into a task.
4550 * The pin that caused the interrupt is passed in the parameter on a best efforts basis.
Original file line number Diff line number Diff line change @@ -371,6 +371,4 @@ namespace tm_internal {
371371#endif // _has_include
372372#endif // GCC>=5 and !TM_ALLOW_CAPTURED_LAMBDA
373373
374- typedef void (*RawIntHandler)();
375-
376374#endif // TASKMANGERIO_PLATFORMDETERMINATION_H
You can’t perform that action at this time.
0 commit comments