ST52F510FMB6 STMICROELECTRONICS [STMicroelectronics], ST52F510FMB6 Datasheet - Page 43

no-image

ST52F510FMB6

Manufacturer Part Number
ST52F510FMB6
Description
8-BIT INTELLIGENT CONTROLLER UNIT ICU Two Timer/PWMs, ADC, I2C, SPI, SCI
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
Low Priority Register (INT_PRL_L)
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 (PRL24-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 Table
5.1).
Table 5.1 Interrupt sources paramethers
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
PRL code
PRL0
0
000
001
010
100
101
011
110
111
-
-
PRL2-PRL1: 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 prioritylevel 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.
RINT code
0
1
2
3
4
5
6
7
8
-
Maskable
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
No
ST52F510/F513/F514
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)
43/106

Related parts for ST52F510FMB6