M30624FGNHP#U5 Renesas Electronics America, M30624FGNHP#U5 Datasheet - Page 71

MCU 3V 256K PB-FREE 100-TQFP

M30624FGNHP#U5

Manufacturer Part Number
M30624FGNHP#U5
Description
MCU 3V 256K PB-FREE 100-TQFP
Manufacturer
Renesas Electronics America
Series
M16C™ M16C/60r
Datasheet

Specifications of M30624FGNHP#U5

Core Processor
M16C/60
Core Size
16-Bit
Speed
16MHz
Connectivity
SIO, UART/USART
Peripherals
DMA, PWM, WDT
Number Of I /o
85
Program Memory Size
256KB (256K x 8)
Program Memory Type
FLASH
Ram Size
20K x 8
Voltage - Supply (vcc/vdd)
3 V ~ 3.6 V
Data Converters
A/D 18x10b, D/A 2x8b
Oscillator Type
Internal
Operating Temperature
-20°C ~ 85°C
Package / Case
100-TQFP, 100-VQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
M30624FGNHP#U5
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Precautions for Interrupts
68
Figure 1.12.13. Switching condition of INT interrupt request
(6) Rewrite the interrupt control register
(1) Changing a non-interrupt request bit
(2) Changing the interrupt request bit
• To rewrite the interrupt control register, do so at a point that does not generate the interrupt request for
If an interrupt request for an interrupt control register is generated during an instruction to rewrite the
When attempting to clear the interrupt request bit of an interrupt control register, the interrupt request bit
When changing an interrupt control register in a sate of interrupts being disabled, please read the
following precautions on instructions used before changing the register.
register is being executed, there is a case that the interrupt request bit is not set and consequently the
interrupt is ignored. This will depend on the instruction. If this creates problems, use the below instruc-
tions to change the register.
Instructions : AND, OR, BCLR, BSET
is not cleared sometimes. This will depend on the instruction. If this creates problems, use the below
instructions to change the register.
Instructions : MOV
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:
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:
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
Note: Execute the setting above individually. Don't execute two or
; 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.
(Enable the accepting of INTi interrupt request)
Set the interrupt priority level to level 1 to 7
more settings at once(by one instruction).
Set the interrupt priority level to level 0
Clear the interrupt enable flag to “0”
Clear the interrupt request bit to “0”
______
Set the interrupt enable flag to “1”
Set the polarity select bit
(Disable INT
(Disable interrupt)
(Enable interrupt)
NOP X 2
i
interrupt)
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M16C / 62N Group
Mitsubishi microcomputers

Related parts for M30624FGNHP#U5