Toshiba H1 Series User Manual
Page 40
Advertising
TMP92CZ26A
92CZ26A-37
(Example - releasing IDLE1 Mode)
An INT0 interrupt clears the Halt state when the device is in IDLE1 Mode.
Address
8200H
LD
(PCFC), 02H
; Sets PC1 to INT0 interrupt.
8203H
LD
(IIMC0), 00H
; Select INT0 interrupt rising edge.
8206H
LD
(INTE0), 06H
; Sets INT0 interrupt level to 6.
8209H
EI
5
; Sets CPU interrupt level to 5.
820BH
LD
(SYSCR2), 28H
; Sets Halt mode to IDLE1 mode.
820EH
HALT
; Halts CPU.
INT0
INT0 interrupt routine.
RETI
820FH LD XX,
XX
Advertising
This manual is related to the following products: