ST7232AK1B1 Datasheet

  • ST7232AK1B1

  • 8-BIT MCU WITH 8K FLASH/ROM, ADC, 4 TIMERS, SPI, SCI INTERFA...

  • 1290.53KB

  • 154页

  • STMICROELECTRONICS   STMICROELECTRONICS

扫码查看芯片数据手册

上传产品规格书

PDF预览

ST7232A
7 INTERRUPTS
7.1 INTRODUCTION
The ST7 enhanced interrupt management pro-
vides the following features:
鈻?/div>
Hardware interrupts
鈻?/div>
Software interrupt (TRAP)
鈻?/div>
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
鈥?2 non maskable events: RESET, TRAP
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) ST7 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 14
Figure 14. Interrupt Processing Flowchart
RESET
PENDING
INTERRUPT
N
Y
TRAP
Interrupt has the same or a
lower software priority
than current one
N
I1:0
Interrupt has a higher
software priority
than current one
Y
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
鈥淚nterrupt 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
Interrupt software priority
Level 0 (main)
Level 1
Level 2
Level 3 (= interrupt disable)
Level
Low
I1
1
0
0
1
I0
0
1
0
1
High
FETCH NEXT
INSTRUCTION
THE INTERRUPT
STAYS PENDING
Y
鈥淚RET鈥?/div>
N
RESTORE PC, X, A, CC
FROM STACK
EXECUTE
INSTRUCTION
STACK PC, X, A, CC
LOAD I1:0 FROM INTERRUPT SW REG.
LOAD PC FROM INTERRUPT VECTOR
26/154
1

ST7232AK1B1相关型号PDF文件下载

  • 型号
    版本
    描述
    厂商
    下载
  • 英文版
    8-BIT MCU FOR CAN WITH 32K ROM, 1K RAM, EEPROM, ADC, WDG, PW...
    STMICROELECTRONICS
  • 英文版
    8-BIT MCU FOR CAN WITH 32K ROM, 1K RAM, EEPROM,ADC, WDG, PWM...
    STMicro
  • 英文版
    LOW SPEED USB 8-BIT MCU FAMILY WITH UP TO 8K FLASH/ROM AND S...
    STMICROELECTRONICS
  • 英文版
    ST7 - LOW SPEED USB 8-BIT MCU WITH 3 ENDPOINTS, FLASH MEMORY...
    STMicroelectronics
  • 英文版
    LOW SPEED USB 8-BIT MCU WITH 3 ENDPOINTS, FLASH OR ROM MEMOR...
    STMicroelectronics
  • 英文版
    LOW SPEED USB 8-BIT MCU FAMILY with up to 16K MEMORY, up to ...
    STMICROELECTRONICS
  • 英文版
    LOW SPEED USB 8-BIT MCU FAMILY with up to 16K MEMORY,
    STMicro
  • 英文版
    ST7 - LOW-POWER. FULL-SPEED USB 8-BIT MCU WITH 32K FLASH. 5K...
    ETC
  • 英文版
    ST7 - LOW-POWER, FULL-SPEED USB 8-BIT MCU WITH 32K FLASH, 5K...
    STMicroelectronics
  • 英文版
    USB 2.0 HIGH SPEED MASS STORAGE MICROCONTROLLER
    ST
  • 英文版
    8-BIT HCMOS MCUs WITH EEPROM AND TV/MONITOR DEDICATED FUNCTI...
    STMICROELECTRONICS
  • 英文版
    8-BIT HCMOS MCUs WITH EEPROM AND TV/MONITOR DEDICATED FUNCTI...
    STMICROELECTRON...
  • 英文版
    8-BIT MCU WITH 24K ROM, EEPROM,ADC,PWM/BRM DACs,SYNC PROCESS...
    STMICROELECTRONICS
  • 英文版
    8-BIT MCU WITH 24K ROM, EEPROM,ADC,PWM/BRM DACs,SYNC PROCESS...
    STMICROELECTRON...
  • 英文版
    8-BIT USB MCU FOR MONITORS WITH UP TO 60K ROM, 2K RAM, ADC, ...
    STMICROELECTRONICS
  • 英文版
    8-BIT USB MCU FOR MONITORS WITH UP TO 60K ROM, 2K RAM, ADC, ...
    STMICROELECTRON...
  • 英文版
    ROM FROM EPROM
    STMICROELECTRONICS
  • 英文版
    8-BIT MCU WITH 4 TO 8K ROM/OTP/EPROM, 256 BYTES RAM, ADC, WD...
    STMICROELECTRONICS
  • 英文版
    8-BIT MCU WITH 4 TO 8K ROM/OTP/EPROM, 256 BYTES RAM, ADC, WD...
    STMICROELECTRON...
  • 英文版
    8-BIT MICROCONTROLLER (MCU) WITH 8 TO 16 K ROM/OTP/EPROM. 38...
    ETC

扫码下载APP,
一键连接广大的电子世界。

在线人工客服

买家服务:
卖家服务:

0571-85317607

客服在线时间周一至周五
9:00-17:30

关注官方微信号,
第一时间获取资讯。

建议反馈

联系人:

联系方式:

按住滑块,拖拽到最右边
>>
感谢您向阿库提出的宝贵意见,您的参与是维库提升服务的动力!意见一经采纳,将有感恩红包奉上哦!