Skip to content

Latest commit

 

History

History
22 lines (12 loc) · 516 Bytes

README.md

File metadata and controls

22 lines (12 loc) · 516 Bytes

InterruptDeferring

1. Fetching the timestamp at the interrupt handler.

TimeStamp calculation


2. The interrupt deferring can be done, by synchronizing the ISR with the Task using a binary semaphore.

Giving the token from Call back function


3. Printing the timestamp in the deferred task

Take the semaphore token and print


4. Here is the result

Terminal