Understanding the Volatile Keyword in Microcontroller Programming

Understanding the Volatile Keyword in Microcontroller Programming

Click the “blue text” above Follow us! The variable modified by volatile indicates that this variable may be unexpectedly changed. For programmers, this keyword is quite common in microcontroller programming. Volatile means changeable and unstable. In fact, many people may have never seen this keyword and are unaware of its existence. There are also many … Read more

Classic Review: Analysis of 11 Embedded Linux C Interview Questions

Classic Review: Analysis of 11 Embedded Linux C Interview Questions

Click on the above “Hundred Questions Technology”, select “Pin to Public Account” Embedded essentials delivered promptly Some students suggested that we post more interview questions to help them prepare, so here it is. Reprinted fromCU Technology Community, original title: Classic Review: 16 Embedded C Language Interview Questions I have cut quite a bit from the … Read more

Understanding Global Variable Issues in RTOS Tasks

Understanding Global Variable Issues in RTOS Tasks

This issue: A group friend asked a question in the group: In FreeRTOS, a high-priority task changed the value of a global variable, while a low-priority task was waiting in a loop for the value to change; why did the low-priority task not exit the loop and continue execution after the high-priority task changed the … Read more