Electronic Components Datasheet Search
  English  ▼

X  

TMS320F Datasheet(PDF) 81 Page - Texas Instruments

Part # TMS320F
Description  CPU and Instruction Set
PDF  389 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  TI [Texas Instruments]
Direct Link  http://www.ti.com
Logo TI - Texas Instruments

TMS320F Datasheet(HTML) 81 Page - Texas Instruments

Back Button TMS320F Datasheet HTML 77Page - Texas Instruments TMS320F Datasheet HTML 78Page - Texas Instruments TMS320F Datasheet HTML 79Page - Texas Instruments TMS320F Datasheet HTML 80Page - Texas Instruments TMS320F Datasheet HTML 81Page - Texas Instruments TMS320F Datasheet HTML 82Page - Texas Instruments TMS320F Datasheet HTML 83Page - Texas Instruments TMS320F Datasheet HTML 84Page - Texas Instruments TMS320F Datasheet HTML 85Page - Texas Instruments Next Button
Zoom Inzoom in Zoom Outzoom out
 81 / 389 page
background image
CPU Interrupt Registers
5-17
Program Control
5.7
CPU Interrupt Registers
There are two CPU registers for controlling interrupts:
- The interrupt flag register (IFR) contains flag bits that indicate when mask-
able interrupt requests have reached the CPU on levels INT1 through
INT6.
- The interrupt mask register (IMR) contains mask bits that enable or dis-
able each of the interrupt levels (INT1 through INT6).
5.7.1
Interrupt Flag Register (IFR)
The interrupt flag register (IFR), a 16-bit, memory-mapped register at address
0006h in data-memory space, is used to identify and clear pending interrupts.
The IFR contains flag bits for all the maskable interrupts.
When a maskable interrupt is requested, the flag bit in the corresponding con-
trol register is set to 1. If the mask bit in that same control register is also 1, the
interrupt request is sent to the CPU, setting the corresponding flag in the IFR.
This indicates that the interrupt is pending, or waiting for, acknowledgement.
You can read the IFR to identify pending interrupts and write to the IFR to clear
pending interrupts. To clear a single interrupt, write a 1 to the corresponding
IFR bit. All pending interrupts can be cleared by writing the current contents
of the IFR back into the IFR. A device reset clears all IFR bits.
The following events also clear an IFR flag:
- The CPU acknowledges the interrupt.
- The ’C24x is reset.
Notes:
1) To clear an IFR bit, you must write a 1 to it, not a 0.
2) When a maskable interrupt is acknowledged,
only the IFR bit is cleared
automatically. The flag bit in the corresponding control register is
not
cleared. If an application requires that the control register flag be
cleared, the bit must be cleared by software.
3) When an interrupt is requested by an INTR instruction and the corre-
sponding IFR bit is set, the CPU does not clear the bit automatically. If
an application requires that the IFR bit be cleared, the bit must be cleared
by software.
The IFR is shown in Figure 5–5; descriptions of the bits follow the figure.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com