Chapter 2
eSL/eSLS Series (+ eSLZ000) User’s Manual
Architecture
••••
51
2.9.5 System Mode Operation Examples
It is strongly suggested that to use the library on system mode, i.e.,
FASTMODE, SLOWMODE, GRENMODE and SLEEPMODE. Refer to the
library guide (see
eSL Series C Macro Reference Manual
and
eSL Series
Assembler Reference Manual)
for further detailed information. The folowing
shows an example
:
SLOWMODE
R0 = R1 + R2
GREENMODE
//After wake up
R0 = R1 + R2
SLEEPMODE
//After wake up
R4 = R2 + R5
FASTMODE
2.10 Exception-Handling
Exception-handling may be required by a Reset, a Trap Instruction (TRAP), or
by Interrupts.
2.10.1 Reset
A Reset has the highest exception priority. Exception-handling starts as soon as
the Reset is cleared by the /RESET pin. The chip is also reset when the
watchdog timer overflows, and exception-handling starts. Exception-handling
is the same as exception-handling by the /RESET pin.
2.10.2 Trap Instruction (TRAP)
Exception-handling starts when a trap instruction (TRAP) is executed. The
TRAP instruction generates a vector address corresponding to a vector number,
as specified in the instruction code. Exception-handling can be executed all the
time under program execution state.
2.10.3 Interrupts
The three elements of an Interrupt are interrupt source, interrupt vector, and
interrupt function. The interrupt vector saves the interrupt function address.
The interrupt source provides the interrupt signal. When an interrupt signal
(source) occurs, the program counter will jump to the pertinent interrupt
function address (vector) to implement the interrupt function.
Содержание eSL Series
Страница 8: ...Contents viii Contents eSL eSLS Series eSLZ000 User s Manual...
Страница 11: ...Contents eSL eSLS Series eSLZ000 User s Manual Contents xi...
Страница 12: ......
Страница 28: ......
Страница 110: ...Chapter 3 98 Peripheral Control eSL eSLS Series eSLZ000 User s Manual BC IO INTF1 ADIF RETI...
Страница 115: ...Chapter 3 eSL eSLS Series eSLZ000 User s Manual Peripheral Control 103...
Страница 148: ......
Страница 154: ...Chapter 4 142 Electrical Characteristics eSL eSLS Series eSLZ000 User s Manual...