ST7232AK1B1 Datasheet

  • ST7232AK1B1

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

  • 1290.53KB

  • 154页

  • STMICROELECTRONICS   STMICROELECTRONICS

扫码查看芯片数据手册

上传产品规格书

PDF预览

ST7232A
INTERRUPTS
(Cont鈥檇)
Servicing Pending Interrupts
As several interrupts can be pending at the same
time, the interrupt to be taken into account is deter-
mined by the following two-step process:
鈥?the highest software priority interrupt is serviced,
鈥?if several interrupts have the same software pri-
ority then the interrupt with the highest hardware
priority is serviced first.
Figure 15
describes this decision process.
Figure 15. Priority Decision Process
PENDING
INTERRUPTS
vector is loaded in the PC register and the I1 and
I0 bits of the CC are set to disable interrupts (level
3). These sources allow the processor to exit
HALT mode.
鈻?/div>
TRAP (Non Maskable Software Interrupt)
This software interrupt is serviced when the TRAP
instruction is executed. It will be serviced accord-
ing to the flowchart in
Figure 14.
鈻?/div>
RESET
The RESET source has the highest priority in the
ST7. This means that the first current routine has
the highest software priority (level 3) and the high-
est hardware priority.
See the RESET chapter for more details.
Maskable Sources
Maskable interrupt vector sources can be serviced
if the corresponding interrupt is enabled and if its
own interrupt software priority (in ISPRx registers)
is higher than the one currently being serviced (I1
and I0 in CC register). If any of these two condi-
tions is false, the interrupt is latched and thus re-
mains pending.
鈻?/div>
External Interrupts
External interrupts allow the processor to exit from
HALT low power mode. External interrupt sensitiv-
ity is software selectable through the External In-
terrupt Control register (EICR).
External interrupt triggered on edge will be latched
and the interrupt request automatically cleared
upon entering the interrupt service routine.
If several input pins of a group connected to the
same interrupt line are selected simultaneously,
these will be logically ORed.
鈻?/div>
Peripheral Interrupts
Usually the peripheral interrupts cause the MCU to
exit from HALT mode except those mentioned in
the 鈥淚nterrupt Mapping鈥?table. A peripheral inter-
rupt occurs when a specific flag is set in the pe-
ripheral status registers and if the corresponding
enable bit is set in the peripheral control register.
The general sequence for clearing an interrupt is
based on an access to the status register followed
by a read or write to an associated register.
Note:
The clearing sequence resets the internal
latch. A pending interrupt (i.e. waiting for being
serviced) will therefore be lost if the clear se-
quence is executed.
Same
SOFTWARE
PRIORITY
Different
HIGHEST SOFTWARE
PRIORITY SERVICED
HIGHEST HARDWARE
PRIORITY SERVICED
When an interrupt request is not serviced immedi-
ately, it is latched and then processed when its
software priority combined with the hardware pri-
ority becomes the highest one.
Note 1:
The hardware priority is exclusive while
the software one is not. This allows the previous
process to succeed with only one interrupt.
Note 2:
RESET and TRAP can be considered as
having the highest software priority in the decision
process.
Different Interrupt Vector Sources
Two interrupt source types are managed by the
ST7 interrupt controller: the non-maskable type
(RESET,TRAP) and the maskable type (external
or from internal peripherals).
Non-Maskable Sources
These sources are processed regardless of the
state of the I1 and I0 bits of the CC register (see
Figure 14).
After stacking the PC, X, A and CC
registers (except for RESET), the corresponding
27/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

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

建议反馈

联系人:

联系方式:

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