Introduction - If you have any usage issues, please Google them yourself
A program is my own transplant, carried out using only soft KEIL simulation, testing did not find the problem. Support from any one of interrupt service routine release semaphore. 2 of this code as a reference and learning to use, if in the use of the process of loss, I no responsibility. 3 of this code as a reference and learning to use, because inside has UCOS-II, if we as a commercial use, please pay uCOS welcomes U.S. test, in practice, testing about more than make a suggestion. Thank you, I will in accordance with the first U.S. test results to solve the problem. The previous version has already found loopholes in the amendment has passed the test on STM32F103CBT6: