ST10F272B_12 STMICROELECTRONICS [STMicroelectronics], ST10F272B_12 Datasheet - Page 58

no-image

ST10F272B_12

Manufacturer Part Number
ST10F272B_12
Description
16-bit MCU with 256 Kbyte Flash memory and 12/20 Kbyte RAM
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
Interrupt system
9.1
58/188
Table 29.
Hardware traps are exceptions or error conditions that arise during run-time. They cause
immediate non-maskable system reaction similar to a standard interrupt service (branching
to a dedicated vector table location).
The occurrence of a hardware trap is additionally signified by an individual bit in the trap flag
register (TFR). Except when another higher prioritized trap service is in progress, a
hardware trap will interrupt any other program execution. Hardware trap services cannot not
be interrupted by standard interrupt or by PEC interrupts.
X-Peripheral interrupt
The limited number of X-Bus interrupt lines of the present ST10 architecture, imposes some
constraints on the implementation of the new functionality. In particular, the additional X-
Peripherals SSC1, ASC1, I
and PEC transfer capabilities. For this reason, a multiplexed structure for the interrupt
management is proposed. In the next
diagram, which shows the basic structure replicated for each of the four X-interrupt available
vectors (XP0INT, XP1INT, XP2INT and XP3INT).
It is based on a set of 16-bit registers XIRxSEL (x=0,1,2,3), divided in two portions each:
GPT2 Timer 6
GPT2 CAPREL Register
A/D Conversion Complete
A/D Overrun Error
ASC0 Transmit
ASC0 Transmit Buffer
ASC0 Receive
ASC0 Error
SSC Transmit
SSC Receive
SSC Error
PWM Channel 0...3
See
See
See
See
Source of Interrupt or
PEC Service Request
Byte High
Byte Low
Section 9.1
Section 9.1
Section 9.1
Section 9.1
Interrupt sources (continued)
2
C, PWM1 and RTC need some resources to implement interrupt
Request
S0TBIR
PWMIR
ADCIR
ADEIR
SCRIR
SCEIR
S0RIR
SCTIR
S0TIR
S0EIR
XP0IR
XP1IR
XP2IR
XP3IR
CRIR
T6IR
Flag
Doc ID 11917 Rev 3
XIRxSEL[15:8]
XIRxSEL[7:0]
Figure
S0TBIE
Enable
PWMIE
ADCIE
ADEIE
SCTIE
SCRIE
SCEIE
S0RIE
S0EIE
XP0IE
XP1IE
XP2IE
XP3IE
S0TIE
CRIE
Flag
T6IE
8, the principle is explained through a simple
Interrupt Enable bits
Interrupt Flag bits
Interrupt
S0TBINT
PWMINT
ADCINT
ADEINT
SCRINT
SCEINT
S0RINT
SCTINT
S0TINT
S0EINT
XP0INT
XP1INT
XP2INT
XP3INT
Vector
CRINT
T6INT
ST10F272B/ST10F272E
00’009Ch
00’00ACh
00’00BCh
00’00FCh
Location
00’00A0h
00’00A4h
00’00A8h
00’011Ch
00’00B0h
00’00B4h
00’00B8h
00’010Ch
00’0098h
00’0100h
00’0104h
00’0108h
Vector
Number
Trap
2Ch
2Ah
2Bh
2Dh
2Eh
2Fh
3Fh
26h
27h
28h
29h
47h
40h
41h
42h
43h

Related parts for ST10F272B_12