st52f513 STMicroelectronics, st52f513 Datasheet - Page 45

no-image

st52f513

Manufacturer Part Number
st52f513
Description
8-bit Microcontrollers
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
st52f5136G3M6
Manufacturer:
ST
0
Part Number:
st52f513F3M6TR
Manufacturer:
ON
Quantity:
2 835
Part Number:
st52f513G3M6
Manufacturer:
ST
0
Part Number:
st52f513G3M6
Manufacturer:
ST
Quantity:
20 000
Part Number:
st52f513G3M6TR
Manufacturer:
ST
Quantity:
20 000
Part Number:
st52f513GM6
Manufacturer:
ST
0
Part Number:
st52f513Y3M6
Manufacturer:
ST
0
High Priority Register (INT_PRL_H)
Configuration Register 4 (04h) Read/Write
Reset Value: 1000 1000 (088h)
These three register are used to configure the
priority level of each interrupt source. The 24 bits
of these registers (PRL23-PRL0) are divided into 8
groups of three bits: each group is associated with
a priority level (from level 1, the highest, to level 8,
the lowest: level 0 is fixed for the NMI that can be
interrupted only by the TRAP). The three bits of
each group are written with the code number
associated with the interrupt source (see
5.1).
Table 5.1 Interrupt source parameters
PRL7
A/D Converter
PWM/Timer 0
PWM/Timer 1
SCI
SPI
I
Port A
Port B
NMI
TRAP
2
7
C Interface
Interrupt Source
PRL6
PRL5
PRL4
Fixed to highest
PRL3
Programmable
Programmable
Programmable
Programmable
Programmable
Programmable
Programmable
Programmable
Priority type
Fixed
PRL2
PRL1
Table
PRL code
PRL0
0
000
001
010
100
101
011
110
111
-
-
PRL2-PRL0: Interrupt priority level 1 (highest)
PRL5-PRL3: Interrupt priority level 2
PRL8-PRL6: Interrupt priority level 3
PRL11-PRL9:Interrupt priority level 4
PRL14-PRL12: Interrupt priority level 5
PRL17-PRL15: Interrupt priority level 6
PRL20-PRL18: Interrupt priority level 7
PRL23-PRL21: Interrupt priority level 8 (lowest)
Example: writing the code 110 into PRL8-PRL6
bits the priority level 3 is assigned to the Port A
Interrupt.
Warning: the Priority Level configuration registers
must be always configured with consistent values.
RINT code
0
1
2
3
4
5
6
7
8
-
Maskable
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
No
ST52510xx ST52513xx
27-29 (01Bh-01Dh)
Vector Addresses
24-26 (018h-01Ah)
30-32 (01Eh-020h)
18-20 (012h-014h)
21-23 (015h-017h)
15-17 (0Fh-011h)
12-14 (0Ch-0Eh)
9-11 (09h-0Bh)
3-5 (03h-05h)
6-8 (06h-08h)
45/136

Related parts for st52f513