参数资料
型号: ST7FSCR1E4U1
厂商: STMICROELECTRONICS
元件分类: 微控制器/微处理器
英文描述: 8-BIT, FLASH, 8 MHz, MICROCONTROLLER, QCC64
封装: QFN-64
文件页数: 20/101页
文件大小: 4506K
代理商: ST7FSCR1E4U1
ST7SCR1E4 ST7SCR1R4
25/101
7 INTERRUPTS
7.1 INTRODUCTION
The CPU enhanced interrupt management pro-
vides the following features:
Hardware interrupts
Software interrupt (TRAP)
Nested or concurrent interrupt management
with
flexible
interrupt
priority
and
level
management:
– Up to 4 software programmable nesting levels
– Up to 16 interrupt vectors fixed by hardware
– 3 non maskable events: RESET, TRAP, TLI
This interrupt management is based on:
– Bit 5 and bit 3 of the CPU CC register (I1:0),
– Interrupt software priority registers (ISPRx),
– Fixed interrupt vector addresses located at the
high addresses of the memory map (FFE0h to
FFFFh) sorted by hardware priority order.
This enhanced interrupt controller guarantees full
upward compatibility with the standard (not nest-
ed) CPU interrupt controller.
7.2 MASKING AND PROCESSING FLOW
The interrupt masking is managed by the I1 and I0
bits of the CC register and the ISPRx registers
which give the interrupt software priority level of
each interrupt vector (see Table 6). The process-
ing flow is shown in Figure 17.
When an interrupt request has to be serviced:
– Normal processing is suspended at the end of
the current instruction execution.
– The PC, X, A and CC registers are saved onto
the stack.
– I1 and I0 bits of CC register are set according to
the corresponding values in the ISPRx registers
of the serviced interrupt vector.
– The PC is then loaded with the interrupt vector of
the interrupt to service and the first instruction of
the interrupt service routine is fetched (refer to
“Interrupt Mapping” table for vector addresses).
The interrupt service routine should end with the
IRET instruction which causes the contents of the
saved registers to be recovered from the stack.
Note: As a consequence of the IRET instruction,
the I1 and I0 bits will be restored from the stack
and the program in the previous level will resume.
Table 6. Interrupt Software Priority Levels
Figure 17. Interrupt Processing Flowchart
Interrupt software priority
Level
I1
I0
Level 0 (main)
Low
High
1
0
Level 1
0
1
Level 2
0
Level 3 (= interrupt disable)
1
“IRET”
RESTORE PC, X, A, CC
STACK PC, X, A, CC
LOAD I1:0 FROM INTERRUPT SW REG.
FETCH NEXT
RESET
TLI
PENDING
INSTRUCTION
I1:0
FROM STACK
LOAD PC FROM INTERRUPT VECTOR
Y
N
Y
N
Y
N
Interrupt has the same or a
lower software priority
THE INTERRUPT
STAYS PENDING
than current one
In
te
rr
up
t
h
as
a
h
ig
h
e
r
so
ftwa
re
p
ri
o
rit
y
th
an
cu
rr
en
t
o
ne
EXECUTE
INSTRUCTION
INTERRUPT
相关PDF资料
PDF描述
ST7SCR1T1/XXX 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP64
ST7SCR1E4U1/XXX MICROCONTROLLER, QCC24
ST7SCR1E4M1/XXX 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDSO24
ST7L34F2MCRE/XXX 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDSO20
ST7L35F2MARE/XXX 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDSO20
相关代理商/技术参数
参数描述
ST7FSCR1R4 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:8-BIT LOW-POWER, FULL-SPEED USB MCU WITH 16K FLASH, 768 RAM, SMARTCARD I/F, TIMER
ST7FSCR1R4T1 功能描述:8位微控制器 -MCU 8-BIT Lw Pwr USB MCU W/ 16K FLASH RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
ST7FUS-PRIMER 功能描述:程序设计器 - 基于处理器 Low-Cost Eval Dev Tool Pack RoHS:否 制造商:Olimex Ltd. 产品:Programmers 工具用于评估:XMEGA, MegaAVR, tinyAVR 核心:AVR 接口类型:USB 工作电源电压:1.8 V to 5.5 V
ST7FUS-SK/RAIS 制造商:STMicroelectronics 功能描述:Evaluation and Application Development with ST7Ultralite
ST7GEME4 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:Full-speed USB MCU with smartcard firmware and EMV/non-EMV interface