INTERRUPT STRUCTURE

S3C84E5/C84E9/P84E9

 

 

INTERRUPT TYPES

The three components of the S3C8 interrupt structure described before — 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 (V1) + one source (S1)

Type 2: One level (IRQn) + one vector (V1) + multiple sources (S1 – Sn)

Type 3: One level (IRQn) + multiple vectors (V1 – Vn) + multiple sources (S1 – Sn , Sn+1 – Sn+m)

In the S3C84E5/C84E9/P84E9 microcontroller, two interrupt types are implemented.

Levels

Type 1: IRQn

Type 2: IRQn

Type 3: IRQn

NOTES:

Vectors

V1

V1

V1

V2

V3

Vn

Sources

S1

S1

S2

S3

Sn

S1

S2

S3

Sn

S n +1

S n +2

S n +m

1.The number of Sn and Vn value is expandable

2.In the S3C84E5/C84E9/P84E9 implementation, interrupt types 1 and 3 are used.

Figure 5-1. S3C8-Series Interrupt Types

5-2

Page 112
Image 112
Samsung S3C84E5 user manual Interrupt Types, Levels Type 1 IRQn Type 2 IRQn Type 3 IRQn Vectors Sources