Interrupt Sources
Interrupt Global Mask Bit
Interrupt Global Mask Bit
INTM used to globally enable/disable interrupts:
INTM used to globally enable/disable interrupts:
Enable:
Enable:
INTM = 0
INTM = 0
Disable:
Disable:
INTM = 1 (reset value)
INTM = 1 (reset value)
INTM modified from assembly code only:
INTM modified from assembly code only:
INTM
INTM
ST1
ST1
Bit 0
Bit 0
/*** Global Interrupts ***/
/*** Global Interrupts ***/
asm
asm
(“ CLRC INTM”); //enable global interrupts
(“ CLRC INTM”); //enable global interrupts
asm
asm
(“ SETC INTM”); //disable global interrupts
(“ SETC INTM”); //disable global interrupts
Peripheral Interrupt Expansion (PIE)
Peripheral Interrupt Expansion
Peripheral Interrupt Expansion
-
-
PIE
PIE
Pe
rip
h
eral In
te
rru
p
ts
12
x8
=
9
6
Perip
h
eral In
te
rru
p
ts
12
x
8 =
96
IF
R
IFR
IER
IER
INTM
INTM
28x
28x
Core
Core
28x Core Interrupt logic
28x Core Interrupt logic
PIE module for 96 Interrupts
PIE module for 96 Interrupts
INT1.x interrupt group
INT1.x interrupt group
INT2.x interrupt group
INT2.x interrupt group
INT3.x interrupt group
INT3.x interrupt group
INT4.x interrupt group
INT4.x interrupt group
INT5.x interrupt group
INT5.x interrupt group
INT6.x interrupt group
INT6.x interrupt group
INT7.x interrupt group
INT7.x interrupt group
INT8.x interrupt group
INT8.x interrupt group
INT9.x interrupt group
INT9.x interrupt group
INT10.x interrupt group
INT10.x interrupt group
INT11.x interrupt group
INT11.x interrupt group
INT12.x interrupt group
INT12.x interrupt group
INT1
INT1
–
–
INT 12
INT 12
12 Interrupts
12 Interrupts
96
96
INT1.1
INT1.1
INT1.2
INT1.2
INT1.8
INT1.8
1
0
1
•
•
•
•
•
•
•
•
•
•
•
•
INT1
INT1
PIEIFR1
PIEIFR1
PIEIER1
PIEIER1
Interrupt Group 1
Interrupt Group 1
INT13
INT13
(TINT1 / XINT13)
INT14
INT14
(TINT2)
NMI
NMI
C28x - Reset and Interrupts
4 - 9
Содержание C28 Series
Страница 64: ...Summary 3 16 C28x Peripheral Registers Header Files ...
Страница 78: ...Interrupt Sources 4 14 C28x Reset and Interrupts ...
Страница 218: ...Lab 9 DSP BIOS 9 22 C28x Using DSP BIOS ...
Страница 244: ...Lab 10 Programming the Flash 10 26 C28x System Design ...
Страница 273: ...Appendix A eZdsp F2812 C28x Appendix A eZdsp F2812 A 1 ...
Страница 275: ...Appendix eZdsp F2812 eZdsp F2812 Connector Header and Pin Diagram C28x Appendix A eZdsp F2812 A 3 ...
Страница 276: ...Appendix P2 Expansion Interface A 4 C28x Appendix A eZdsp F2812 ...
Страница 277: ...Appendix P4 P8 P7 I O Interface C28x Appendix A eZdsp F2812 A 5 ...
Страница 278: ...Appendix A 6 C28x Appendix A eZdsp F2812 ...
Страница 279: ...Appendix P5 P9 Analog Interface C28x Appendix A eZdsp F2812 A 7 ...
Страница 281: ...Appendix JP7 JP8 JP11 JP12 Boot Mode Select JP9 PLL Disable DS1 DS2 LEDs C28x Appendix A eZdsp F2812 A 9 ...
Страница 282: ...Appendix A 10 C28x Appendix A eZdsp F2812 TP1 TP2 Test Points ...