m30262f8gp Renesas Electronics Corporation., m30262f8gp Datasheet - Page 58

no-image

m30262f8gp

Manufacturer Part Number
m30262f8gp
Description
Renesas 16-bit Cmos Single-chip Microcomputer M16c Family / M16c/20 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
M30262F8GP
Manufacturer:
NA
Quantity:
20 000
Part Number:
m30262f8gp#D3
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Part Number:
m30262f8gp#D5
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Part Number:
m30262f8gp#U3
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Part Number:
m30262f8gp#U5
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Part Number:
m30262f8gp#U7
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Interrupts
52
Rewrite the interrupt control register
To rewrite the interrupt control register, do so at a point that does not generate the interrupt request for
that register. If there is possibility of the interrupt request occur, rewrite the interrupt control register after
the interrupt is disabled. The program examples are described as follow:
When changing an interrupt control register at a point where the interrupt is disabled, please read the
following precautions on instructions used before changing the register.
(1) Changing a non-interrupt request bit (interrupt priority level)
(2) Changing the interrupt request bit
When attempting to clear the interrupt request bit of an interrupt control register, the interrupt request bit
If an interrupt request for an interrupt control register is generated during an instruction to rewrite the
register is being executed, it is possible that the interrupt request bit is overwritten (reset to "0") and
consequently the interrupt is ignored. This will depend on the instruction used. If this creates problems,
use the instructions below to change the register.
Instructions : AND, OR, BCLR, BSET
is not cleared sometimes. This will depend on the instruction used. If this creates problems, use the
instructions below to change the register.
Instructions : MOV
Example 1:
Example 2:
Example 3:
The reason why two NOP instructions (four when using the HOLD function) or dummy read are inserted
before FSET I in Examples 1 and 2 is to prevent the interrupt enable flag I from being set before the
interrupt control register is rewritten due to effects of the instruction queue.
INT_SWITCH1:
INT_SWITCH2:
INT_SWITCH3:
Preliminary Specifications Rev. 0.9
Specifications in this manual are tentative and subject to change.
FCLR
AND.B
NOP
NOP
FSET
FCLR
AND.B
MOV.W MEM, R0
FSET
PUSHC FLG
FCLR
AND.B
POPC
I
#00h, 0055h ; Clear TA0IC int. priority level and int. request bit.
I
I
#00h, 0055h ; Clear TA0IC int. priority level and int. request bit.
I
I
#00h, 0055h ; Clear TA0IC int. priority level and int. request bit.
FLG
; Disable interrupts.
; Four NOP instructions are required when using HOLD function.
; Enable interrupts.
; Disable interrupts.
; Dummy read.
; Enable interrupts.
; Push Flag register onto stack
; Disable interrupts.
; Enable interrupts.
Renesas Technology Corp.
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M16C/26 Group

Related parts for m30262f8gp