A96G150 User's manual
7. Interrupt controller
81
7.11
Interrupt register overview
7.11.1
Interrupt Enable register (IE, IE1, IE2, and IE3)
Interrupt enable register consists of global interrupt control bit (EA) and peripheral interrupt control bits.
Total 24 peripherals are able to control interrupt.
7.11.2
Interrupt priority register (IP and IP1)
24 interrupts are divided into 6 groups which have 4 interrupt sources respectively. A group can be
assigned to 4 levels of interrupt priority using interrupt priority register. Level 3 is the highest priority,
while level 0 is the lowest priority.
After a reset,
IP and IP1 are cleared to ‘00H’. If interrupts have the same priority level, lower number
interrupt is served first.
7.11.3
External interrupt flag register (EIFLAG0 and EIFLAG1)
External Interrupt Flag 0 Register (EIFLAG0) and External Interrupt Flag 1 Register (EIFLAG1) are set
to ‘1’ when the external interrupt generating condition is satisfied. These flags are cleared when the
interrupt service routine is execute
d. Alternatively, these flags can be cleared by writing ‘0’ on to
themselves.
7.11.4
External interrupt polarity register (EIPOL0L, EIPOL0H, and EIPOL1)
External Interrupt Polarity0 high/low Register (EIPOL0H/L) and External Interrupt Polarity1 Register
(EIPOL1) determines an edge type from rising edge, falling edge, and both edges of interrupt. Initially,
default value is no interrupt at any edge.
Содержание A96G150
Страница 126: ...12 Timer 0 1 2 3 4 5 A96G150 User s manual 126 Figure 43 16 bit Timer Counter Mode Operation Example...
Страница 136: ...12 Timer 0 1 2 3 4 5 A96G150 User s manual 136 Figure 51 16 bit Timer Counter Mode Operation Example...
Страница 147: ...A96G150 User s manual 12 Timer 0 1 2 3 4 5 147 Figure 59 16 bit Timer Counter Mode Operation Example...
Страница 157: ...A96G150 User s manual 12 Timer 0 1 2 3 4 5 157 Figure 67 16 bit Timer Counter Mode Operation Example...
Страница 171: ...A96G150 User s manual 14 12 bit ADC 171 Figure 79 ADC Operation Flow Sequence...
Страница 333: ...A96G150 User s manual Revision history 333 Revision history Revision Date Notes 1 00 2022 06 22 First creation...