Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

R8C/L3AB Scheda tecnica(PDF) 237 Page - Renesas Technology Corp

Il numero della parte R8C/L3AB
Spiegazioni elettronici  RENESAS MCU R8C FAMILY / R8C/Lx SERIES
PDF  848 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Produttore elettronici  RENESAS [Renesas Technology Corp]
Homepage  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

R8C/L3AB Scheda tecnica(HTML) 237 Page - Renesas Technology Corp

Back Button R8C/L3AB Datasheet HTML 233Page - Renesas Technology Corp R8C/L3AB Datasheet HTML 234Page - Renesas Technology Corp R8C/L3AB Datasheet HTML 235Page - Renesas Technology Corp R8C/L3AB Datasheet HTML 236Page - Renesas Technology Corp R8C/L3AB Datasheet HTML 237Page - Renesas Technology Corp R8C/L3AB Datasheet HTML 238Page - Renesas Technology Corp R8C/L3AB Datasheet HTML 239Page - Renesas Technology Corp R8C/L3AB Datasheet HTML 240Page - Renesas Technology Corp R8C/L3AB Datasheet HTML 241Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 237 / 848 page
background image
REJ09B0441-0010 Rev.0.10
Jul 30, 2008
Page 201 of 809
Under development Preliminary specification
Specifications in this manual are tentative and subject to change.
12. Interrupts
R8C/L35A Group, R8C/L36A Group, R8C/L38A Group, R8C/L3AA Group,
R8C/L35B Group, R8C/L36B Group, R8C/L38B Group, R8C/L3AB Group
12.8.5
Rewriting Interrupt Control Register
(a) The contents of the interrupt control register can be rewritten only while no interrupt requests
corresponding to that register are generated. If an interrupt request may be generated, disable the interrupt
before rewriting the contents of the interrupt control register.
(b) When rewriting the contents of the interrupt control register after disabling the interrupt, be careful to
choose appropriate instructions.
Changing any bit other than the IR bit
If an interrupt request corresponding to the register is generated while executing the instruction, the IR bit
may not be set to 1 (interrupt requested), and the interrupt may be ignored. If this causes a problem, use one
of the following instructions to rewrite the contents of the register:
AND, OR, BCLR, and BSET.
Changing the IR bit
Depending on the instruction used, the IR bit may not be set to 0 (no interrupt requested).
Use the MOV instruction to set the IR bit to 0.
(c) When using the I flag to disable an interrupt, set the I flag as shown in the sample programs below.
Refer to (b) regarding rewriting the contents of interrupt control registers using the sample programs.
Examples 1 to 3 shows how to prevent the I flag from being set to 1 (interrupts enabled) before the contents of
the interrupt control register are rewritten for the effects of the internal bus and the instruction queue buffer.
Example 1:
Use the NOP instructions to pause program until the interrupt control register is rewritten
INT_SWITCH1:
FCLR
I
; Disable interrupts
AND.B
#00H,0056H
; Set the TRAIC register to 00h
NOP
;
NOP
FSET
I
; Enable interrupts
Example 2:
Use a dummy read to delay the FSET instruction
INT_SWITCH2:
FCLR
I
; Disable interrupts
AND.B
#00H,0056H
; Set the TRAIC register to 00h
MOV.W MEM,R0
; Dummy read
FSET
I
; Enable interrupts
Example 3:
Use the POPC instruction to change the I flag
INT_SWITCH3:
PUSHC
FLG
FCLR
I
; Disable interrupts
AND.B
#00H,0056H
; Set the TRAIC register to 00h
POPC
FLG
; Enable interrupts



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


Scheda tecnica Scarica

Go To PDF Page


Link URL



Lei ha avuto il aiuto da alldatasheet?  [ DONATE ] 

Di alldatasheet   |   Richest di pubblicita   |   contatti   |   Privacy Policy   |   Collegamento alla scheda tecnica    |   scambio Link   |   Ricerca produttore
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