阅读:4776回复:7
中断模式:Latched or LevelSensitive 有什么区别?
rt
|
|
沙发#
发布于:2005-05-07 23:53
PCIBus 用 LevelSensitive 中断模式
Isa 用 Latched 中断模式 |
|
板凳#
发布于:2005-05-08 09:47
To: KMK
那么PCIBus的LevelSensitive 和Isa的Latched有什么概念上的不同呢? |
|
地板#
发布于:2005-05-08 11:25
To: KMK 其实Latched为脉冲触发中断,由于脉冲触发如果相应不及时,容易丢中断 LevelSensitive为电平触发,如果不能及时响应,它仍然保持着,直到响应后才降低,所以不会丢中断 |
|
|
地下室#
发布于:2005-05-08 11:43
在硬件提供中断的方法上来说明一下.
有些中断的提供是把某一个bit置1或0,这种设计好处在一些慢速的机器上中断不会走漏(中断被latched). 另一种是提供一短pluse,在较快的机器上会用到(levelsensitive). 跟bmyyud不一样 !! |
|
5楼#
发布于:2005-05-08 15:40
在硬件提供中断的方法上来说明一下. 我在DDK中找了一些有关东东 KINTERRUPT_MODE The KINTERRUPT_MODE enumeration type indicates whether an interrupt is level-triggered or edge-triggered. typedef enum _KINTERRUPT_MODE { LevelSensitive, Latched } KINTERRUPT_MODE; Enumerators LevelSensitive The interrupt is level-triggered. This is the mode for traditional PCI line-based interrupts. 电平触发的,(用于慢速机器,这里是偶加的) Latched The interrupt is edge-triggered. This is the mode for PCI message-based interrupts. 边沿触发(用于快速机器,这里是偶加的) Headers Declared in wdm.h and ntddk.h. Include wdm.h or ntddk.h. Comments The interrupt mode is an electrical characteristic of the interrupt. A device signals a level-triggered interrupt by changing the voltage on the interrupt pin, and holding it there until the processor signals that the interrupt is received. In contrast, to signal an edge-triggered interrupt, the device changes the voltage state for a fixed period of time, before reverting to the original voltage state. |
|
|
6楼#
发布于:2005-05-08 16:02
OMG ! I was totally mixed up !!!
|
|
7楼#
发布于:2018-10-11 14:17
|
|