TMP91C824
91C824-34
2008-02-20
Example:
The STOP mode is entered when the low-frequency operates, and high-frequency
operates after releasing due to NMI.
Address
SYSCR0
EQU
00E0H
SYSCR1
EQU
00E1H
SYSCR2
EQU
00E2H
8FFDH
LD (SYSCR1),
08H
; f
SYS
=
fs/2
9000H
LD (SYSCR2), X
−
1001
−
1B
; Sets warm-up time to 2
14
/f
OSCH
9002H
LD (SYSCR0), 011000
−
−
B
; Operates high frequency after released
9005H
HALT
NMI
9006H
LD XX,
XX
RETI
−
: No change
Note: When different modes are used before and after STOP mode as the above mentioned,
there is possible to release the HALT mode without changing the operation mode by
acceptance of the halt release interrupt request during execution of HALT instruction
(during 6 states). In the system which accepts the interrupts during execution HALT
instruction, set the same operation mode before and after the STOP mode.
Clears and starts hit
warm-up timer
(High frequency)
End
NMI Interrupt routine