Samsung S3F80JB manual System Mode Register SYM

Models: S3F80JB

1 346
Download 346 pages 34.13 Kb
Page 120
Image 120

INTERRUPT STRUCTURE

S3F80JB

 

 

SYSTEM MODE REGISTER (SYM)

The system mode register, SYM (DEH, Set 1, Bank0), is used to globally enable and disable interrupt processing and to control fast interrupt processing (See Figure 5-5).

A reset clears SYM.7, SYM.1, and SYM.0 to "0". The 3-bit value, SYM.4–SYM.2, is for fast interrupt level selection and undetermined values after reset. SYM.6 and SYM5 are not used.

The instructions EI and DI enable and disable global interrupt processing, respectively, by modifying the bit 0 value of the SYM register. An Enable Interrupt (EI) instruction must be included in the initialization routine, which follows a reset operation, in order to enable interrupt processing. Although you can manipulate SYM.0 directly to enable and disable interrupts during normal operation, we recommend using the EI and DI instructions for this purpose.

System Mode Register (SYM)

DEH, Set 1, Bank 0, R/W

MSB

.7

-

-

 

.4

 

 

.3

 

.2

 

 

.1

 

.0

LSB

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

External Interface Tri-state Enable Bit:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Global Interrupt Enable

0 = Normal operation

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Not used

 

Fast Interrupt Level

 

 

 

Bit:

(Tri-state disabled)

 

 

 

 

 

 

 

 

 

 

 

 

0 = Disable all

1 = High impedance

 

 

 

 

 

 

 

 

Selection Bits:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1 = Enable all

(Tri-state enabled)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Fast Interrupt Enable Bit:

 

 

 

 

 

 

0

0

0

 

IRQ0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0 = Disable fast

 

 

 

 

 

 

 

 

 

 

0

0

1

 

IRQ1

 

 

1 = Enable fast

 

 

 

 

 

 

 

 

 

 

0

1

0

 

IRQ2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

1

1

 

IRQ3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

0

0

 

IRQ4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

0

1

 

IRQ5

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

1

0

 

IRQ6

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

1

1

 

IRQ7

 

 

 

 

 

 

NOTE: In case of S3F80JB, an external memory interface is not implemented.

Figure 5-5. System Mode Register (SYM)

5-10

Page 120
Image 120
Samsung S3F80JB manual System Mode Register SYM