VCT 38xxA
ADVANCE INFORMATION
Interrupt sources
of peripheral
modules
12
IRPP.P0INT4
0
IRPM0
PINT0
1/4
Interrupt
1
Mux 0
Controller
IRPP.P1INT32
0
Special
Input
Ports
Trigger
Mode
15
PINT1
PINT2
Mux 1
Mux 2
Mux 3
1/32
1
PINT3
Fig. 5–12: Interrupt assignment and multiplexer
5.10.9.Port Interrupt Module
Table 5–10: PITn usage
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.
PITn
0h
Trigger Mode
Interrupt source is disabled
Rising edge
1h
2h
Falling edge
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 %.
3h
Rising and falling edges
151: 1F2C
152: IRPP
153: Interrupt Port Prescaler
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).
bit
w
7
6
5
4
3
2
1
0
x
x
x
x
x
x
P1INT32 P0INT4
reset
0
0
P1INT32
w1:
w0:
Port 1 interrupt prescaler
Indirect mode, 1:32 prescaler
Direct mode, bypass prescaler
148: 1F2B
149: IRPM0
150: Interrupt Port Mode
bit
7
6
5
4
0
3
2
1
0
0
P0INT4
w1:
w0:
Port 0 interrupt prescaler
Indirect mode, 1:4 prescaler
Direct mode, bypass prescaler
w
PIT3
PIT2
PIT1
PIT0
reset
0
0
0
0
0
0
PITn
Port interrupt trigger n
This field defines the trigger behavior of the associated
port interrupt.
104
Micronas