»
(008) CubeIDE Implementation of USB Peripherals*
(018) C99 pointer*
(019) C99 With only value assignment*
(022) POSIX pthread multi-threads mutex*
(023) POSIX pthread multi-threads programming*
(027) C99 time and wait*
(028) High-precision calculation with GMP*
(029) Web Service Lib*
(030) International Components for Unicode (ICU)*
(031) Performance of C is higher than C++, because...*
🕹️(018) FreeRTOS SVC enter user mode
FreeRTOS从特权模式进入用户模式的方法:SVC,关键点:修改函数返回寄存器R14 orr r14 #0xd 即:orr r14 #0b1101 (3)1:进入线程模式; (2)1:从R13影子寄存器的进程堆栈POP,返回后使用PSP(用户级) (1)0:保留,未使用(此位始终为0) (0)1:指定返回到Thumb状态(此位始终为1)