DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

ST7PSCR1E4M1/XXX 查看數據表(PDF) - STMicroelectronics

零件编号
产品描述 (功能)
生产厂家
ST7PSCR1E4M1/XXX Datasheet PDF : 102 Pages
First Prev 21 22 23 24 25 26 27 28 29 30 Next Last
ST7SCR
INTERRUPTS (Cont’d)
Table 6. Dedicated Interrupt Instruction Set
Instruction
HALT
IRET
JRM
JRNM
POP CC
RIM
SIM
TRAP
WFI
New Description
Entering Halt mode
Interrupt routine return
Jump if I1:0=11
Jump if I1:0<>11
Pop CC from the Stack
Enable interrupt (level 0 set)
Disable interrupt (level 3 set)
Software trap
Wait for interrupt
Function/Example
Pop CC, A, X, PC
I1:0=11 ?
I1:0<>11 ?
Mem => CC
Load 10 in I1:0 of CC
Load 11 in I1:0 of CC
Software NMI
I1 H I0 N Z C
1
0
I1 H I0 N Z C
I1 H I0 N Z C
1
0
1
1
1
1
1
0
Note: During the execution of an interrupt routine, the HALT, POPCC, RIM, SIM and WFI instructions
change the current software priority up to the next IRET instruction or one of the previously mentioned
instructions.
In order not to lose the current software priority level, the RIM, SIM, HALT, WFI and POP CC instructions
should never be used in an interrupt routine.
Table 7. Interrupt Mapping
Source
Block
Description
RESET Reset
TRAP
Software Interrupt
0
ICP
FLASH Start programming NMI interrupt
1
UART
ISO7816-3 UART Interrupt
2
USB
USB Communication Interrupt
3
WAKUP1 External Interrupt Port C
4
WAKUP2 External Interrupt Port A
5
TIM
TBU Timer Interrupt
6 CARDDET 1) Smartcard Insertion/Removal Interrupt 1)
7
ESUSP End suspend Interrupt
8
Not used
Register
Label
N/A
Priority
Order
Highest
Priority
Exit
from
HALT
yes
no
UIC
USBISTR
yes
yes
TBUSR
no
USCUR
yes
USBISTR
Lowest
Priority no
Address
Vector
FFFEh-FFFFh
FFFCh-FFFDh
FFFAh-FFFBh
FFF8h-FFF9h
FFF6h-FFF7h
FFF4h-FFF5h
FFF2h-FFF3h
FFF0h-FFF1h
FFEEh-FFEFh
FFECh-FFEDh
FFEAh-FFEBh
Note 1: This interrupt can be used to exit from USB suspend mode.
27/102
1

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]