![Samsung S3P80C5 Скачать руководство пользователя страница 105](http://html1.mh-extra.com/html/samsung/s3p80c5/s3p80c5_user-manual_3993739105.webp)
INTERRUPT STRUCTURE
S3P80C5/C80C5/C80C8
5-14
INTERRUPT REQUEST REGISTER (IRQ)
You can poll bit values in the interrupt request register, IRQ (set 1, DCH), to monitor interrupt request status for
all levels in the microcontroller's interrupt structure. Each bit corresponds to the interrupt level of the same
number: bit 0 to IRQ0, bit 1 to IRQ1, and so on. A "0" indicates that no interrupt request is currently being issued
for that level; a "1" indicates that an interrupt request has been generated for that level.
IRQ bit values are read-only addressable using Register addressing mode. You can read (test) the contents of
the IRQ register at any time using bit or byte addressing to determine the current interrupt request status of
specific interrupt levels. After a reset, all IRQ status bits are cleared to "0".
You can poll IRQ register values even if a DI instruction has been executed (that is, if global interrupt processing
is disabled). If an interrupt occurs while the interrupt structure is disabled, the CPU will not service it. You can,
however, still detect the interrupt request by polling the IRQ register. In this way, you can determine which events
occurred while the interrupt structure was globally disabled.
Interrupt Request Register (IRQ)
DCH, Set 1, Read-only
.7
.6
.5
.4
.3
.2
.1
.0
MSB
LSB
IRQ1
Not
used
Not
used
IRQ4
Not
used
IRQ6
IRQ7
IRQ0
Interrupt level request pending bits:
0 = Interrupt level is not pending
1 = Interrupt level is pending
Figure 5-9. Interrupt Request Register (IRQ)
Содержание S3P80C5
Страница 2: ...S3P80C5 C80C5 C80C8 8 BIT CMOS MICROCONTROLLERS USER S MANUAL Revision 1 ...
Страница 5: ......
Страница 13: ......
Страница 15: ......
Страница 17: ......
Страница 19: ......
Страница 49: ...ADDRESS SPACES S3P80C5 C80C5 C80C8 2 20 NOTES ...
Страница 197: ...INSTRUCTION SET S3P80C5 C80C5 C80C8 6 88 NOTES ...
Страница 201: ...CLOCK CIRCUITS S3P80C5 C80C5 C80C8 7 4 NOTES ...
Страница 237: ...TIMER 1 S3P80C5 C80C5 C80C8 11 6 NOTES ...
Страница 245: ...COUNTER A S3P80C5 C80C5 C80C8 12 8 NOTES ...
Страница 255: ......
Страница 257: ......
Страница 259: ......
Страница 261: ......
Страница 263: ...BOOK SPINE TEXT SAMSUNG Logo S3P80C5 C80C5 C80C8 Microcontrollers User s Manual Rev 1 May 2002 ...