Electronic Components Datasheet Search
  English  ▼

X  

MAC7200 Datasheet(PDF) 915 Page - Freescale Semiconductor, Inc

Part # MAC7200
Description  MAC7200 Microcontroller Family Reference Manual
PDF  976 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FREESCALE [Freescale Semiconductor, Inc]
Direct Link  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

MAC7200 Datasheet(HTML) 915 Page - Freescale Semiconductor, Inc

Back Button MAC7200 Datasheet HTML 911Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 912Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 913Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 914Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 915Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 916Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 917Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 918Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 919Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 915 / 976 page
background image
Functional Description
MAC7200 Microcontroller Family Reference Manual, Rev. 2
Freescale Semiconductor
837
34.7.4.2
Interrupts
When configured as a General Purpose Input (GPI), a pin may also be used to handle external edge
sensitive interrupts. This section describes how to use this functionality.
A pin may be used as an external interrupt by configuring the PIER and PULL[1:0] bits in the appropriate
CONFIGxx register as follows:
Detection of an external interrupt may be done in one of two ways:
•
Polling - You may choose to detect an external interrupt by continuously reading the CONFIGxx
register until the PIFR bit is set. Alternatively, you may also read the PORTIFR register to get all
pending external interrupts for the entire port. To use this method, clear the PIER bit in the
CONFIGxx register.
•
Interrupt Driven - If this method is chosen, by setting the PIER bit in the CONFIGxx register, a
system interrupt will be generated when an external interrupt occurs (with a minimum delay - See
Table 34-52). If so configured, this system interrupt can force the processor to take an exception,
where the interrupt may be cleared and serviced.
In either case, once an external interrupt has been recognized, it must be cleared before the next external
interrupt (i.e.-the next edge) will be recognized on that pin. This is done by writing a ’1’ to the PIFR bit in
the CONFIGxx register. Writing a ’0’ will not clear the interrupt flag.
There are two different ways in which interrupts can be organized in order to minimize the latency of the
interrupt service routine.
1. Place all external interrupts on a single port. If all interrupts are on a single port, then the exact
interrupt source can be determined by reading the Port Wide Interrupt Flag (PORTIFR) register for
that port.
2. Use multiple ports, but place only a single external interrupt on each port. In this scenarios, the
exact interrupt source can be determined by reading the Global Interrupt Status (GLBLINT)
register.
Interrupts from all Ports are driven into a single interrupt on the Interrupt Controller (Interrupt
Request #61).
All 16 pins in each port have a glitch filter, clocked by the system clock, to filter out spurious interrupt
signals. Table 34-52 shows the minimum pulse width for an external interrupt/wakeup signal.
Table 34-51. Interrupt Polarity Configuration
Interrupt Type
PULL[1:0]
Active High (Rising Edge)
00
Active High with pull-down (Rising Edge)
10
Active Low (Falling Edge)
01
Active Low with pull-up (Falling Edge)
11



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