Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 942 Bytes

README.md

File metadata and controls

31 lines (26 loc) · 942 Bytes

9_hw_int

demo_tm.c

../shell/rebuild_run_qemu.sh . -DDEMO_TM_C:BOOL=ON

demo_adc.c

../shell/rebuild_run_qemu.sh . -DDEMO_ADC_C:BOOL=ON

demo_notify.c

../shell/rebuild_run_qemu.sh . -DDEMO_NOTIFY_C:BOOL=ON

default demo_adc.c

../shell/rebuild_run_qemu.sh .

Introduction to RTOS Part 9 - Hardware Interrupts

As he explains while loop is running, interrupt occurs then OS switches to printValue.
Purpose isr should be as short as possible. You let other task to handle information. This called deferred interrupt.
adcTrace

Terminal Output

Notes

Use demo_init function in demo.c to implement your demo application. Run in debug console to dump the trace
-exec dump binary value trace.bin *RecorderDataPtr