uC/OSII移植步骤 作者: 时间:2016-10-08 来源:网络 加入技术交流群 扫码加入和技术大咖面对面交流海量资料库查询 收藏 ; 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 上一页 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 下一页
评论