- 1、本文档共42页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
C28x 中断源 C28X DSP 的中断源 8.2 Peripheral Interrupt Expansion - PIE PIE 寄存器 8.3 可屏蔽中断处理过程 中断标志寄存器 (IFR) 中断使能寄存器 (IER) 中断全局使能 INTM用来做全局的使能/禁止中断: 使能: INTM = 0 禁止: INTM = 1 (reset value) INTM只能被汇编语言修改: 中断响应过程 8.4 中断向量 8.4 中断向量 8.4 中断向量 8.4 中断向量 TMS320F2812 内存映射 复位时默认中断向量表 PIE Vector Mapping (ENPIE = 1) F2812/10 PIE Interrupt Assignment Table Device Vector Mapping - Summary 8.5 复用中断处理的注意事项(略)(见教科书上的8.4节 中断源 部分) 8.6 定时器中断应用举例 定时器中断应用举例 定时器中断应用举例 本章小结 F2812的中断源及类型 F2812中断源的扩展原理 F2812中断向量的分配和映射方式 简述F2812可屏蔽中断的处理过程 定时器的工作原理及中断应用 C28x CPU的中断源分类 C28x 中断处理的一般过程 C28x 中断处理过程 1. 定时器控制寄存器(TCR) 2. 定时器预定标寄存器(TPR) 3. 定时器计数器(TPR) 4. 定时器周期寄存器(PRD) At the CPU level, each of the C28x interrupts, whether hardware or software, can be placed in one of the following two categories: Maskable interrupts.These are interrupts that can be blocked (masked) or enabled (unmasked) through software. Nonmaskable interrupts. These interrupts cannot be blocked. The C28x will immediately approve this type of interrupt and branch to the corresponding subroutine. All software-initiated interrupts are in this category. The C28x handles interrupts in four main phases: Receive the interrupt request. Suspension of the current program sequence must be requested by a software interrupt (from program code) or a hardware interrupt (from a pin or an on-chip device). Approve the interrupt. The C28x must approve the interrupt request. If the interrupt is maskable, certain conditions must be met in order for the C28x to approve it. For nonmaskable hardware interrupts and for software interrupts, approval is immediate. The C28x handles interrupts in four main phases: 3) Prepare for the interrupt service routine and save register values. 4) Execute the interrupt service routine. The C28x branches to its corresponding subroutine called an interrupt service routine (ISR). The C28x branches to the address (vector) you store at a redetermined vector location and executes the ISR you have written. 2005.8 第8章 TMS3
您可能关注的文档
最近下载
- GBT5680-2023 奥氏体锰钢铸件.pdf VIP
- 从课堂到奥数7年级.pdf VIP
- 2025年南通市第一人民医院医护人员招聘参考题库含答案解析.docx VIP
- 2025年西湖区专职社区工作者及两新专职党务工作者招聘62人笔试备考试题及答案解析.docx VIP
- CECS69-2011 拔出法检测混凝土强度技术规程.pdf VIP
- 广东省水利水电工程设计概(估)算编制规定_广东省水利厅 发布_2017_1.pdf
- SN_T 5417-2024 进口再生铜合金原料检验规程.docx
- 一汽丰田爱车养护课堂-空调滤芯-3.14.pptx VIP
- 消防安全培训记录.doc VIP
- 高级钳工技师实操试题.docx VIP
文档评论(0)