Справочник Пользователя для Freescale Semiconductor Demonstration Board for Freescale MC9S12XHY256 Microcontroller DEMO9S12XHY256 DEMO9S12XHY256

Модели
DEMO9S12XHY256
Скачать
Страница из 924
Interrupt (S12XINTV2)
MC9S12XHY-Family Reference Manual, Rev. 1.04
188
Freescale Semiconductor
4.3.2.3
Interrupt Request Configuration Address Register (INT_CFADDR)
Read: Anytime
Write: Anytime
4.3.2.4
Interrupt Request Configuration Data Registers (INT_CFDATA0–7)
The eight register window visible at addresses INT_CFDATA0–7 contains the configuration data for the
block of eight interrupt requests (out of 128) selected by the interrupt configuration address register
(INT_CFADDR) in ascending order. INT_CFDATA0 represents the interrupt configuration data register
of the vector with the lowest address in this block, while INT_CFDATA7 represents the interrupt
configuration data register of the vector with the highest address, respectively.
Table 4-6. XGATE Interrupt Priority Levels
Priority
XILVL2
XILVL1
XILVL0
Meaning
0
0
0
Interrupt request is disabled
low
0
0
1
Priority level 1
0
1
0
Priority level 2
0
1
1
Priority level 3
1
0
0
Priority level 4
1
0
1
Priority level 5
1
1
0
Priority level 6
high
1
1
1
Priority level 7
Address: 0x0127
7
6
5
4
3
2
1
0
R
INT_CFADDR[7:4]
0
0
0
0
W
Reset
0
0
0
1
0
0
0
0
= Unimplemented or Reserved
Figure 4-5. Interrupt Configuration Address Register (INT_CFADDR)
Table 4-7. INT_CFADDR Field Descriptions
Field
Description
7–4
INT_CFADDR[7:4]
Interrupt Request Configuration Data Register Select Bits — These bits determine which of the 128
configuration data registers are accessible in the 8 register window at INT_CFDATA0–7. The hexadecimal
value written to this register corresponds to the upper nibble of the lower byte of the address of the interrupt
vector, i.e., writing 0xE0 to this register selects the configuration data register block for the 8 interrupt vector
requests starting with vector at address (vector base + 0x00E0) to be accessible as INT_CFDATA0–7.
Note: Writing all 0s selects non-existing configuration registers. In this case write accesses to
INT_CFDATA0–7 will be ignored and read accesses will return all 0.