DEMONSTRATION OF SIGNAL (EVENT & FLAG) in MBED RTOS. One Thread set particular signal and another thread receive it and proceed according signal state.
Revision 1:9dbbb3022957, committed 2020-08-05
- 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 |
diff -r 747de80ae2bd -r 9dbbb3022957 main.cpp --- 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