datasheetbank_Logo
Технический паспорт Поисковая и бесплатно техническое описание Скачать

W78L812A24PL(2006) Просмотр технического описания (PDF) - Winbond

Номер в каталоге
Компоненты Описание
Список матч
W78L812A24PL
(Rev.:2006)
Winbond
Winbond Winbond
W78L812A24PL Datasheet PDF : 31 Pages
1 2 3 4 5 6 7 8 9 10 Next Last
W78LE812/W78L812A
5.5 Interrupt System
The W78L812 has fourteen interrupt sources: INT0 and INT1; Timer 0,1 and 2; Serial Port; INT2 to
INT9. Each interrupt vectors to a specific location in program memory for its interrupt service routine.
Each of these sources can be individually enabled or disabled by setting or clearing the corresponding
bit in Special Function Register IE0 and IE1. The individual interrupt priority level depends on the
Interrupt Priority Register IP0 and IP1. Additional external interrupts INT2 to INT9 are level sensitive
and may be used to awake the device from power down mode. The Port 1 interrupts can be initialized
to either active HIGH or LOW via setting the Interrupt Polarity Register IX. The IRQ register contains
the flags of Port 1 interrupts. Each flag in IRQ register will be set when a interrupt request is
recognized but must be cleared by software. Note that the interrupt flags have to be cleared before the
interrupt service routine is completed, or else another interrupt will be generated.
5.5.1 Interrupt Enable Register 0
Bit:
7
6
5
4
3
2
1
0
EA
-
ET2
ES
ET1 EX1 ET0 EX0
Mnemonic: IE
Address: A8H
EA : Global enable. Enable/disable all interrupts.
ET2: Enable Timer 2 interrupt.
ES : Enable Serial Port interrupt.
ET1: Enable Timer 1 interrupt
EX1: Enable external interrupt 1
ET0: Enable Timer 0 interrupt
EX0: Enable external interrupt 0
5.5.2 Interrupt Enable Register 1
Bit:
7
6
5
4
3
2
1
0
EX9 EX8 EX7 EX6 EX5 EX4 EX3 EX2
Mnemonic: IE1
Address: E8H
EX9: Enable external interrupt 9
Note: 0 = interrupt disabled, 1 = interrupt enabled.
EX8: Enable external interrupt 8
EX7: Enable external interrupt 7
EX6: Enable external interrupt 6
EX5: Enable external interrupt 5
EX4: Enable external interrupt 4
EX3: Enable external interrupt 3
EX2: Enable external interrupt 2
Publication Release Date: November 6, 2006
-9-
Revision A9

Share Link: 

datasheetbank.com [ Privacy Policy ] [ Request Datasheet ] [ Contact Us ]