首页| 行业标准| 论文文档| 电子资料| 图纸模型
购买积分 购买会员 激活码充值

您现在的位置是:团子下载站 > 电子元器件应用 > 用外部设备设置32位微控制器TriCore的中断的指令及方法

用外部设备设置32位微控制器TriCore的中断的指令及方法

  • 资源大小:129
  • 上传时间:2021-11-12
  • 下载次数:0次
  • 浏览次数:35次
  • 资源积分:1积分
  • 标      签: 32位 微控制器

资 源 简 介

The Infineon TriCore provides an Interrupt System with a high safety standard. Thisdocument contains some instructions on how to initiate an Interrupt from an external device. First it will show you how to trigger an Interrupt Service Request by an impulse on Port 0 or Port 1. Then in the second part of the document you can find hints how to debounce impulses to enable the use of a simple switch as input device.1 Overview..32 The External Interrupt 42.1 The general settings ....52.2 Service request specific Individual settings 52.3 Enabling the GPTU by setting the Clock Register CLC .......62.4 The signal path from Port 0 or Port 1 to GTSRSEL 72.5 Example: The External Interrupt ..83 How to debounce a signal using the GPT Appendix ..113.1 Example: External Interrupt - debounced by using the GPT 124 Appendix .134.1 xxSRC – Source xx Service Request Control Register ....134.2 ICR – Interrupt Control Register .144.3 GTSRSEL – GPT Service Request Source Selection Register 154.4 GTCLC – GPT Clock Control Register .....164.5 T2AIS – Timer T2/T2A External Input Selection Register 174.6 T2ES – Timer T2 External Input Edge Selection Register ..184.7 T2CON – Timer T2 Mode Control and Status Register ....194.8 T2RCCON – Timer T2 Reload/Capture Mode Control Register 204.9 T2RC0 – Timer T2 Reload/Capture Register 0 214.10 CLC – Clock Control Register 21
VIP VIP