色婷婷AⅤ一区二区三区|亚洲精品第一国产综合亚AV|久久精品官方网视频|日本28视频香蕉

          新聞中心

          uC/OSII移植步驟

          作者: 時(shí)間:2016-10-08 來(lái)源:網(wǎng)絡(luò) 收藏
          ; Pop new task's CPSR
          MSRSPSR_cxsf, R4
          LDMFDSP!, {R0-R12,LR,PC}^; Pop new task's context
          RSEG CODE:CODE:NOROOT(2)
          CODE32
          OS_CPU_FIQ_ISR
          STMFDSP!, {R1-R3}; PUSH WORKING REGISTERS ONTO FIQ STACK
          MOVR1, SP; SaveFIQ stack pointer
          ADDSP, SP,#12; Adjust FIQ stack pointer
          SUBR2, LR,#4; Adjust PC for return address to task
          MRSR3, SPSR; Copy SPSR (i.e. interrupted task's CPSR) to R3
          MSRCPSR_c, #(NO_INT | SVC32_MODE) ; Change to SVC mode


          關(guān)鍵詞:

          評(píng)論


          相關(guān)推薦

          技術(shù)專區(qū)

          關(guān)閉