Electronic Components Datasheet Search
  English  ▼

X  

MAC7200 Datasheet(PDF) 275 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) 275 Page - Freescale Semiconductor, Inc

Back Button MAC7200 Datasheet HTML 271Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 272Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 273Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 274Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 275Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 276Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 277Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 278Page - Freescale Semiconductor, Inc MAC7200 Datasheet HTML 279Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 275 / 976 page
background image
Overview of the MAC7200 Implementation
MAC7200 Microcontroller Family Reference Manual, Rev. 2
Freescale Semiconductor
197
12.1.6.3.2
Error Signalling
The DMA module has the capability to report three types of errors, with each error detected and reported
on a channel-by-channel basis:
— Source bus error
— Destination bus error
— Configuration error
You must choose whether to implement error handling in an interrupt driven or polling method. For
interrupt driven error handling, perform the following steps:
1. For each channel desired, set the corresponding bit in the DMAEEIL register. Alternatively,
individual channels may also be configured by writing the corresponding DMASEEI or
DMACEEI registers to respectively set or clear a DMAEEIL bit. To enable interrupt driven error
handling for all channels, simply write $FF to the DMASEEI register.
2. When an interrupt occurs (Interrupt #0), read the DMAERRL register to determine all current
pending errors. Note that a channel may have an error pending even though its corresponding
Enable Error Interrupt (DMAEEIL) register bit was cleared. Also note that multiple channels may
have pending errors at the same time.
3. Detailed information about the last recorded channel error can be obtained by reading the DMAES
register.
4. Once all errors have been detected (i.e.-Step #2), clear the errors by clearing the corresponding bits
in the DMAERRL register. To clear individual bits, you may also write to the DMACERR register.
If you want to clear all pending errors, simple write $FF to the DMACERR register.
To handles error in a polled fashion, following these steps:
1. For each channel desired, clear the corresponding bit in the DMAEEIL register. Alternatively,
individual channels may also be configured by writing the corresponding DMASEEI or
DMACEEI registers to respectively set or clear a DMAEEIL bit.
2. When desired, read the DMAERRL register to determine all current pending errors. Note that
multiple channels may have pending errors at the same time.
3. Detailed information about the last recorded channel error can be obtained by reading the DMAES
register.
4. Once all errors have been detected (i.e.-Step #2), clear the errors by clearing the corresponding bits
in the DMAERRL register. To clear individual bits, you may also write to the DMACERR register.
If you want to clear all pending errors, simple write $FF to the DMACERR register.
NOTE
As evident from the above steps, it would be very difficult to use polling
driven error handling with peripheral paced channel activation (See below).
For this reason, it is recommended to use interrupt driven error handling in
most cases, and especially when not using explicit software activation of
channels.



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