Internal Interrupts are used to respond to asynchronous requests from a certain part of themicro
An easy way to work with Exter
资料详细技术说明
Internal Interrupts are used to respond to asynchronous requests from a certain part of the
microcontroller that needs to be serviced. Each peripheral in the TriCore as well as the
Bus Control Unit, the Debug Unit, the Peripheral Control Processor (PCP) and the CPU
itself can generate an Interrupt Request.
So what is an external Interrupt?
An external Interrupt is something alike as the internal Interrupt. The difference is that an
external Interrupt request is caused by an external event. Normally this would be a pulse
on Port0 or Port1, but it can be even a signal from the input buffer of the SSC, indicating
that a service is requested.
The User’s Manual does not explain this aspect in detail so this ApNote will explain the
most common form of an external Interrupt request. This ApNote will show that there is an
easy way to react on a pulse on Port0 or Port1 and to create with this impulse an Interrupt
Service Request. Later in the second part of the document, you can find hints on how to
debounce impulses to enable the use of a simple switch as the input device.
Note: You will find additional information on how to setup the Interrupt System in the
ApNote “First steps through the TriCore Interrupt System” (AP3222xx)1. It would go
beyond the scope of this document to explain this here, but you will find selfexplanatory
examples later on.
microcontroller that needs to be serviced. Each peripheral in the TriCore as well as the
Bus Control Unit, the Debug Unit, the Peripheral Control Processor (PCP) and the CPU
itself can generate an Interrupt Request.
So what is an external Interrupt?
An external Interrupt is something alike as the internal Interrupt. The difference is that an
external Interrupt request is caused by an external event. Normally this would be a pulse
on Port0 or Port1, but it can be even a signal from the input buffer of the SSC, indicating
that a service is requested.
The User’s Manual does not explain this aspect in detail so this ApNote will explain the
most common form of an external Interrupt request. This ApNote will show that there is an
easy way to react on a pulse on Port0 or Port1 and to create with this impulse an Interrupt
Service Request. Later in the second part of the document, you can find hints on how to
debounce impulses to enable the use of a simple switch as the input device.
Note: You will find additional information on how to setup the Interrupt System in the
ApNote “First steps through the TriCore Interrupt System” (AP3222xx)1. It would go
beyond the scope of this document to explain this here, but you will find selfexplanatory
examples later on.
相关单片机编程资料推荐
下载与解压说明
下载积分规则
- 本资源下载仅需 2 积分
- 24 小时内重复下载免扣积分
- VIP 会员享专属免积分高速通道
文件解压指南
- 推荐使用 7-Zip 或新版 WinRAR 解压
- 原理图与 PCB 请使用对应 EDA 软件打开
- 压缩包内源码可直接在上方在线预览
免费获取积分
- 新用户注册即赠送 10 积分
- 上传分享工程资料可获得持续积分奖励
- 查看积分规则与会员权益 →