uC/OSII移植步驟 作者: 時(shí)間:2016-10-08 來(lái)源:網(wǎng)絡(luò) 加入技術(shù)交流群 掃碼加入和技術(shù)大咖面對(duì)面交流海量資料庫(kù)查詢 收藏 ; Move task's R1-R3 from IRQ stack to SVC stackSTMFDSP!, {R4-R6}STMFDSP!, {R0}; Push task's R0onto task's stackSTMFDSP!, {R3}; Push task's CPSR (i.e. IRQ's SPSR)LDRR0,OS_IntNesting; OSIntNesting++;LDRBR1, [R0]ADDR1, R1,#1STRBR1, [R0]CMPR1, #1; if (OSIntNesting == 1) {BNEOS_CPU_IRQ_ISR_1 上一頁(yè) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 下一頁(yè)
評(píng)論