DEMONSTRATION OF SIGNAL (EVENT & FLAG) in MBED RTOS. One Thread set particular signal and another thread receive it and proceed according signal state.

Files at this revision

API Documentation at this revision

Comitter:
radhey04ec
Date:
Wed Aug 05 07:37:47 2020 +0000
Parent:
0:747de80ae2bd
Commit message:
Demonstration of EVENT & FLAG , SIGNAL mechanism in MBED RTOS.; PLATFORM : MBED /RTOS; HARDWARE : STM32; PROFILE: SIGNAL,EVENT,FLAG;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Aug 05 07:15:14 2020 +0000
+++ b/main.cpp	Wed Aug 05 07:37:47 2020 +0000
@@ -29,7 +29,7 @@
 
 //TASK which is related to signal 
 void onBoard_led() {
-    uint32_t read = 0;
+    uint32_t read = 0;  //CREATE VARIABLE TO STORE DATA
     while (true) {
         // Signal flags that are reported as event are automatically cleared -Autonomous object of Kernal