Interrupt Structure; Interrupt Processing Control Points; Enable/Disable Interrupt Instructions (Ei, Di) - Samsung KS86C6004 Manual

Table of Contents

Advertisement

KS86C6004/C6008/P6008 MICROCONTROLLER (Preliminary Spec)
5

INTERRUPT STRUCTURE

OVERVIEW
The SAM87RI interrupt structure has two basic components: a vector, and sources. The number of interrupt
sources can be serviced through a interrupt vector which is assigned in ROM address 0000H–0001H.

INTERRUPT PROCESSING CONTROL POINTS

Interrupt processing can be controlled in two ways: either globally, or by specific interrupt level and source. The
system-level control points in the interrupt structure are therefore:
— Global interrupt enable and disable (by EI and DI instructions)
— Interrupt source enable and disable settings in the corresponding peripheral control register(s)

ENABLE/DISABLE INTERRUPT INSTRUCTIONS (EI, DI)

The system mode register, SYM (DFH), is used to enable and disable interrupt processing.
SYM.2 is the enable and disable bit for global interrupt processing respectively, by modifying SYM.2. An Enable
Interrupt (EI) instruction must be included in the initialization routine that follows a reset operation in order to
enable interrupt processing. Although you can manipulate SYM.2 directly to enable and disable interrupts during
normal operation, we recommend that you use the EI and DI instructions for this purpose.
VECTOR
0000H
0001H
NOTES:
1.
The SAM87RI interrupt has only one vector address (0000H-0001H)
2.
The number of Sn value is expandable.
Figure 5-1. KS86-Series Interrupt Type
INTERRUPT STRUCTURE
SOURCES
S1
S2
S3
Sn
5-1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ks86c6008Ks86p6008

Table of Contents