Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    求助:D1上如何在S模式下处理异常和中断?

    MR Series
    2
    2
    1100
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Z
      小红帽 LV 4 last edited by

      看C906的手册说,在S模式下处理中断需要将中断委托给S模式处理,并设置stvec、mstatus、sstatus、mie、sie等寄存器。
      但将中断委托给S模式后就不进中断和异常了,是还有什么需要设置的吗?

      1 Reply Last reply Reply Quote Share 0
      • aozima
        aozima LV 7 last edited by

        直接用M模式多好

        1 Reply Last reply Reply Quote Share 0
        • 1 / 1
        • First post
          Last post

        Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

        行为准则 | 用户协议 | 隐私权政策