参数资料
型号: UPSD3212AV-24U6T
厂商: 意法半导体
英文描述: Flash Programmable System Devices with 8032 MCU with USB and Programmable Logic
中文描述: 闪存可编程系统设备与8032具有USB和可编程逻辑控制器
文件页数: 34/163页
文件大小: 2844K
代理商: UPSD3212AV-24U6T
uPSD3212A, uPSD3212C, uPSD3212CV
34/163
INTERRUPT SYSTEM
There are interrupt requests from 10 sources as
follows (see
Figure 16., page 35
).
INT0 External Interrupt
2nd USART Interrupt
Timer 0 Interrupt
I
2
C Interrupt
INT1 External Interrupt (or ADC Interrupt)
Timer 1 Interrupt
USB Interrupt
USART Interrupt
Timer 2 Interrupt
External Int0
The INT0 can be either level-active or
transition-active depending on Bit IT0 in
register TCON. The flag that actually
generates this interrupt is Bit IE0 in TCON.
When an external interrupt is generated, the
corresponding request flag is cleared by the
hardware when the service routine is vectored
to only if the interrupt was transition activated.
If the interrupt was level activated then the
interrupt request flag remains set until the
requested interrupt is actually generated.
Then it has to deactivate the request before
the interrupt service routine is completed, or
else another interrupt will be generated.
Timer 0 and 1 Interrupts
Timer 0 and Timer 1 Interrupts are generated
by TF0 and TF1 which are set by an overflow
of their respective Timer/Counter registers
(except for Timer 0 in Mode 3).
These flags are cleared by the internal
hardware when the interrupt is serviced.
Timer 2 Interrupt
Timer 2 Interrupt is generated by TF2 which is
set by an overflow of Timer 2. This flag has to
be cleared by the software - not by hardware.
It is also generated by the T2EX signal (Timer
2 External Interrupt P1.1) which is controlled
by EXEN2 and EXF2 Bits in the T2CON
register.
I
2
C Interrupt
The interrupt of the I
2
C is generated by Bit
INTR in the register S2STA.
This flag is cleared by hardware.
External Int1
The INT1 can be either level active or
transition active depending on Bit IT1 in
register TCON. The flag that actually
generates this interrupt is Bit IE1 in TCON.
When an external interrupt is generated, the
corresponding request flag is cleared by the
hardware when the service routine is vectored
to only if the interrupt was transition activated.
If the interrupt was level activated then the
interrupt request flag remains set until the
requested interrupt is actually generated.
Then it has to deactivate the request before
the interrupt service routine is completed, or
else another interrupt will be generated.
The ADC can take over the External INT1 to
generate an interrupt on conversion being
completed
USB Interrupt
The USB Interrupt is generated when
endpoint0 has transmitted a packet or
received a packet, when endpoint1 or
endpoint2 has transmitted a packet, when the
suspend or resume state is detected and
every EOP received.
When the USB Interrupt is generated, the
corresponding request flag must be cleared by
software. The interrupt service routine will
have to check the various USB registers to
determine the source and clear the
corresponding flag.
Please see the dedicated interrupt control
registers for the USB peripheral for more
information.
相关PDF资料
PDF描述
UPSD3212AV-40T6T Flash Programmable System Devices with 8032 MCU with USB and Programmable Logic
UPSD3212AV-40U6T Flash Programmable System Devices with 8032 MCU with USB and Programmable Logic
UPSD3212CV-24T6 Flash Programmable System Devices with 8032 MCU with USB and Programmable Logic
UPSD3212CV-24U6 Flash Programmable System Devices with 8032 MCU with USB and Programmable Logic
uPSD3212C Flash Programmable System Devices with 8032 Microcontroller Core and 16Kbit SRAM(带8032微控制器内核和16Kbit SRAM的FLASH可编程系统器件)
相关代理商/技术参数
参数描述
UPSD3212AV-40T6T 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:Flash Programmable System Devices with 8032 MCU with USB and Programmable Logic
UPSD3212AV-40U6T 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:Flash Programmable System Devices with 8032 MCU with USB and Programmable Logic
UPSD3212C 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:Flash Programmable System Devices with 8032 MCU with USB and Programmable Logic
UPSD3212C-24T1T 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:Flash Programmable System Devices with 8032 Microcontroller Core and 16Kbit SRAM
UPSD3212C-24T6T 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:Flash Programmable System Devices with 8032 MCU with USB and Programmable Logic