INTERRUPT STRUCTURE
S3C80A5B
5-2
INTERRUPT TYPES
The three components of the S3C8 interrupt structure described above — levels, vectors, and sources — are
combined to determine the interrupt structure of an individual device and to make full use of its available interrupt
logic. There are three possible combinations of interrupt structure components, called interrupt types 1, 2, and 3.
The types differ in the number of vectors and interrupt sources assigned to each level (see Figure 5-1):
Type 1:
One level (IRQn) + one vector (V
1
) + one source (S
1
)
Type 2:
One level (IRQn) + one vector (V
1
) + multiple sources (S
1
– S
n
)
Type 3:
One level (IRQn) + multiple vectors (V
1
– V
n
) + multiple sources (S
1
– S
n
, S
n+1
– S
n+m
)
In the S3C80A5B microcontroller, all three interrupt types are implemented.
Vectors
Sources
Levels
S1
V1
S2
Type 2:
IRQn
S3
Sn
V1
S1
V2
S2
Type 3:
IRQn
V3
S3
V1
S1
Type 1:
IRQn
Vn
Sn + 1
Sn
Sn + 2
Sn + m
NOTES:
1. The number of Sn and Vn value is expandable.
2. In the S3C80A5B implementation, interrupt types 1, 2, and 3 is used.
Figure 5-1. S3C8-Series Interrupt Types