Electronic Components Datasheet Search
  English  ▼

X  

Z8F2480 Datasheet(PDF) 97 Page - Zilog, Inc.

Part # Z8F2480
Description  Z8 Encore! XP® F1680 Series
PDF  412 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ZILOG [Zilog, Inc.]
Direct Link  http://www.zilog.com
Logo ZILOG - Zilog, Inc.

Z8F2480 Datasheet(HTML) 97 Page - Zilog, Inc.

Back Button Z8F2480 Datasheet HTML 93Page - Zilog, Inc. Z8F2480 Datasheet HTML 94Page - Zilog, Inc. Z8F2480 Datasheet HTML 95Page - Zilog, Inc. Z8F2480 Datasheet HTML 96Page - Zilog, Inc. Z8F2480 Datasheet HTML 97Page - Zilog, Inc. Z8F2480 Datasheet HTML 98Page - Zilog, Inc. Z8F2480 Datasheet HTML 99Page - Zilog, Inc. Z8F2480 Datasheet HTML 100Page - Zilog, Inc. Z8F2480 Datasheet HTML 101Page - Zilog, Inc. Next Button
Zoom Inzoom in Zoom Outzoom out
 97 / 412 page
background image
PS025017-1222
P R E L I M I N A R Y
Interrupt Controller
Z8 Encore! XP® F1680 Series
Product Specification
72
Example 1.
A poor coding style that can result in lost interrupt requests:
LDX r0, IRQ0
AND r0, MASK
LDX IRQ0, r0
To avoid missing interrupts, use the coding style in Example 2 to clear bits in the Interrupt
Request 0 Register:
Example 2.
A good coding style that avoids lost interrupt requests:
ANDX IRQ0, MASK
8.3.4. Software Interrupt Assertion
Program code can generate interrupts directly. Writing a 1 to the correct bit in the Interrupt
Request Register triggers an interrupt (assuming that the interrupt is enabled). When the
interrupt request is acknowledged by the eZ8 CPU, the bit in the Interrupt Request
Register is automatically cleared to 0.
Zilog recommends not using a coding style to generate software interrupts by setting bits
in the Interrupt Request registers. All incoming interrupts received between execution of
the first LDX command and the final LDX command are lost. See Example 3, which fol-
lows.
Example 3.
A poor coding style that can result in lost interrupt requests:
LDX r0, IRQ0
OR r0, MASK
LDX IRQ0, r0
To avoid missing interrupts, use the coding style in Example 4 to set bits in the Interrupt
Request registers:
Example 4.
A good coding style that avoids lost interrupt requests:
ORX IRQ0, MASK
8.4.
Interrupt Control Register Definitions
For all interrupts other than the Watchdog Timer interrupt, the Primary Oscillator Fail
Trap and the Watchdog Oscillator Fail Trap, the Interrupt Control registers enable
individual interrupts, set interrupt priorities and indicate interrupt requests.
Caution:



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