![](http://datasheet.mmic.net.cn/220000/VCT3801A_datasheet_15509242/VCT3801A_104.png)
VCT 38xxA
ADVANCE INFORMATION
104
Micronas
Fig. 5–12:
Interrupt assignment and multiplexer
5.10.9.Port Interrupt Module
Port interrupts are the interface of the Interrupt Con-
troller to the external world. Four port pins are con-
nected to the module via their special input lines. Port
interrupt 0 and 1 can scale down the interrupt load by
prescalers. Port interrupt 2 and 3 are directly con-
nected to the special input multiplexer.
The user can define the trigger mode for each port
interrupt by the interrupt port mode register. The Port
interrupt prescaler can be switched by the interrupt
port prescaler register. The pulse duty factor of the
prescaler output is 50 %.
The Trigger mode defines on which edge of the inter-
rupt source signal the Interrupt Controller is triggered.
The triggering of the Interrupt Controller is shown in
Fig. 5–13 and Fig. 5–14 for port prescaler active
(P1INT32 or P0INT4 = 1).
PITn
Port interrupt trigger n
This field defines the trigger behavior of the associated
port interrupt.
P1INT32
w1:
w0:
Port 1 interrupt prescaler
Indirect mode, 1:32 prescaler
Direct mode, bypass prescaler
P0INT4
w1:
w0:
Port 0 interrupt prescaler
Indirect mode, 1:4 prescaler
Direct mode, bypass prescaler
Mux 0
Mux 1
Mux 2
Mux 3
Interrupt
Controller
Special
Input
Ports
15
Interrupt sources
of peripheral
modules
Trigger
Mode
IRPM0
0
1
1/4
IRPP.P0INT4
0
1
IRPP.P1INT32
1/32
12
PINT0
PINT1
PINT2
PINT3
148:
1F2B
149:
IRPM0
150:
Interrupt Port Mode
bit
7
6
5
4
3
2
1
0
w
PIT3
PIT2
PIT1
PIT0
reset
0
0
0
0
0
0
0
0
Table 5–10:
PITn usage
PITn
Trigger Mode
0h
Interrupt source is disabled
1h
Rising edge
2h
Falling edge
3h
Rising and falling edges
151:
1F2C
152:
IRPP
153:
Interrupt Port Prescaler
bit
7
6
5
4
3
2
1
0
w
x
x
x
x
x
x
P1INT32 P0INT4
reset
0
0