![Samsung S3F80JB Скачать руководство пользователя страница 121](http://html.mh-extra.com/html/samsung/s3f80jb/s3f80jb_user-manual_340834121.webp)
S3F80JB
INTERRUPT STRUCTURE
5-11
INTERRUPT MASK REGISTER (IMR)
The interrupt mask register, IMR (DDH, Set 1, Bank0) is used to enable or disable interrupt processing for
individual interrupt levels. After a reset, all IMR bit values are undetermined and must therefore be written to their
required settings by the initialization routine.
Each IMR bit corresponds to a specific interrupt level: bit 1 to IRQ1, bit 2 to IRQ2, and so on. When the IMR bit of
an interrupt level is cleared to "0", interrupt processing for that level is disabled (masked). When you set a level's
IMR bit to "1", interrupt processing for the level is enabled (not masked).
The IMR register is mapped to register location DDH in set 1and Bank0. Bit values can be read and written by
instructions using the register addressing mode.
NOTE:
Before IMR register is changed to any value, all interrupts must be disable.
Using DI instruction is recommended.
Interrupt Mask Register (IMR)
DDH, Set 1, Bank 0, R/W
.7
.6
.5
.4
.3
.2
.1
.0
MSB
LSB
IRQ1
IRQ2
IRQ3
IRQ4
IRQ5
IRQ6
IRQ7
IRQ0
Interrupt Level Enable Bits (7-0):
0 = Disable (mask) interrupt
1 = Enable (un-mask) interrupt
Figure 5-6. Interrupt Mask Register (IMR)
Содержание S3F80JB
Страница 1: ...S3F80JB 8 BIT CMOS MICROCONTROLLERS USER S MANUAL Revision 1 1 ...
Страница 327: ...ELECTRICAL DATA 8MHz S3F80JB 18 14 NOTES ...
Страница 339: ...FLASH APPLICATION NOTES S3F80JB Programming By Tool ...
Страница 341: ...S3F80JB 2 This is only an example for setting Vdd This is SPW2 which is one of OPT MTP Writers ...
Страница 342: ...Important Note Subject Toggling phenomenon when serial writing programming on the S3F80JB ...