NY8A051 NY8A051H 邯郸NY8A051H厂家电话
  • NY8A051 NY8A051H 邯郸NY8A051H厂家电话
  • NY8A051 NY8A051H 邯郸NY8A051H厂家电话
  • NY8A051 NY8A051H 邯郸NY8A051H厂家电话

产品描述

封装SOP8/SOT23-6 开发可以 烧录可以 编带可以 可以
After instruction INT is executed, no matter GIE is set or clear, the next instruction will be fetched from address 0x001. At the same time, GIE will be clear to 0 by NY8A051H automatically. This will prevent nested interrupt from happening. The last instruction of interrupt service routine of software interrupt has to be RETIE. Execution of this instruction will set GIE to 1 and return to original execution sequence.
While any of hardware interrupts is occurred, the corresponding bit of Interrupt Flag Register INTF will be set to 1. This bit will not be clear until firmware writes 0 to this bit. Therefore user can obtain information of which event causes hardware interrupt by polling register INTF. Note that only when the corresponding bit of Interrupt Enable register INTE is set to 1, will the corresponding interrupt flag be read. And if the corresponding bit of Interrupt Enable Register INTE is set to 1 and GIE is also 1, hardware interrupt will occur and next instruction will be fetched from 0x008. At the same time, the register bit GIE will be clear by NY8A051H automatically. If user wants to implement nested interrupt, instruction ENI can be used as the first instruction of interrupt service routine which will set GIE to 1 again and allow other interrupt events to interrupt NY8A051H again. Instruction RETIE has to be the last instruction of interrupt service routine which will set GIE to 1 and return to original execution sequence.
NY8A051H
NY8A051H
NY8A051H
http://lzysh.b2b168.com
产品推荐

Development, design, production and sales in one of the manufacturing enterprises

您是第233292位访客
版权所有 ©2024 八方资源网 粤ICP备10089450号-8 深圳市华凡电子科技有限公司 保留所有权利.

深圳市华凡电子科技有限公司 保留所有权利.

技术支持: 八方资源网 八方供应信息 投诉举报 网站地图