M30280F6HP RENESAS [Renesas Technology Corp], M30280F6HP Datasheet - Page 378

no-image

M30280F6HP

Manufacturer Part Number
M30280F6HP
Description
16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/Tiny SERIES
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
M30280F6HP
Manufacturer:
RENESAS
Quantity:
5 000
Company:
Part Number:
M30280F6HP
Quantity:
12 590
Part Number:
M30280F6HP D5A
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Company:
Part Number:
M30280F6HP D5A
Quantity:
12 474
Part Number:
M30280F6HP#D5
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Part Number:
M30280F6HP#D5
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
M30280F6HP#U3B
Manufacturer:
Renesas Electronics America
Quantity:
135
Part Number:
M30280F6HP#U3B
Manufacturer:
Renesas
Quantity:
201
Part Number:
M30280F6HP#U3B
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Part Number:
M30280F6HP#U3BU3H
Quantity:
20
Part Number:
M30280F6HP#U5
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Part Number:
M30280F6HP#U5
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
M30280F6HP#U5B
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Part Number:
M30280F6HP#U5B
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
M30280F6HP#U7
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Part Number:
M30280F6HP#U7B
Manufacturer:
Renesas Electronics America
Quantity:
135
Part Number:
M30280F6HP#U9B
Manufacturer:
Renesas Electronics America
Quantity:
135
M
R
R
e
E
1
. v
J
6
0
20.4.6 Rewrite the Interrupt Control Register
20.4.7 Watchdog Timer Interrupt
C
2
9
2 /
(1) The interrupt control register for any interrupt should be modified in places where no requests for that
(2) To rewrite the interrupt control register for any interrupt after disabling that interrupt, be careful with the
(3) When using the I flag to disable an interrupt, refer to the sample program fragments shown below as
Examples 1 through 3 show how to prevent the I flag from being set to “1” (interrupts enabled) before the
interrupt control register is rewrited, due to the internal bus and the instruction queue buffer.
Example 1: Using the NOP instruction to keep the program waiting until the
Example 2:Using the dummy read to keep the FSET instruction waiting
Example 3:Using the POPC instruction to changing the I flag
Initialize the watchdog timer after the watchdog timer interrupt occurs.
0 .
B
Changing any bit other than the IR bit
Changing the IR bit
0
0
8
INT_SWITCH1:
The number of NOP instruction is as follows.
PM20 = 1 (1 wait) : 2, PM20 = 0 (2 waits): 3
INT_SWITCH2:
INT_SWITCH3:
0
If while executing an instruction, a request for an interrupt controlled by the register being modified
occurs, the IR bit in the register may not be set to “1” (interrupt requested), with the result that the
interrupt request is ignored. If such a situation presents a problem, use the instructions shown below
to modify the register.
Usable instructions: AND, OR, BCLR, BSET
Depending on the instruction used, the IR bit may not always be cleared to “0” (interrupt not re-
quested). Therefore, be sure to use the MOV instruction to clear the IR bit.
interrupt may occur. Otherwise, disable the interrupt before rewriting the interrupt control register.
instruction to be used.
you set the I flag. (Refer to (2) for details about rewrite the interrupt control registers in the sample
program fragments.)
G
4
J
7
a
o r
0 -
. n
FCLR
AND.B
NOP
NOP
FSET
FCLR
AND.B
MOV.W
FSET
PUSHC
FCLR
AND.B
POPC
u
2
3
p
0
, 1
0
(
M
2
0
1
interrupt control register is modified
0
6
7
C
I
#00h, 0055h
I
I
#00h, 0055h
MEM, R0
I
FLG
I
#00h, 0055h
FLG
2 /
page 358
, 8
M
1
6
C
2 /
f o
8
3
) B
8
; Disable interrupts
;Set the TA0IC register to 00
;
; Enable interrupts
; Disable interrupts
; Set the TA0IC register to 00
; Dummy read
; Enable interrupts
; Disable interrupts
; Set the TA0IC register to 00
; Enable interrupts
5
16
16
16
20. Precautions

Related parts for M30280F6HP