M38039G6HHP#U0 Renesas Electronics America, M38039G6HHP#U0 Datasheet - Page 32

IC 740/3803 MCU QZROM 64LQFP

M38039G6HHP#U0

Manufacturer Part Number
M38039G6HHP#U0
Description
IC 740/3803 MCU QZROM 64LQFP
Manufacturer
Renesas Electronics America
Series
740/38000r
Datasheet

Specifications of M38039G6HHP#U0

Core Processor
740
Core Size
8-Bit
Speed
16.8MHz
Connectivity
SIO, UART/USART
Peripherals
LED, PWM, WDT
Number Of I /o
56
Program Memory Size
24KB (24K x 8)
Program Memory Type
QzROM
Ram Size
2K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 16x10b; D/A 2x8b
Oscillator Type
Internal
Operating Temperature
-20°C ~ 85°C
Package / Case
64-LQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
M38039G6HHP#U0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
3803 Group (Spec.H QzROM version)
REJ03B0166-0113 Rev.1.13
Page 30 of 100
• Interrupt Request Generation, Acceptance, and Handling
Interrupts have the following three phases.
(i) Interrupt Request Generation
(ii) Interrupt Request Acceptance
(iii) Handling of Accepted Interrupt Request
Figure 22 shows the time up to execution in the interrupt
processing routine, and Figure 23 shows the interrupt sequence.
Figure 24 shows the timing of interrupt request generation,
interrupt request bit, and interrupt request acceptance.
Fig 22. Time up to execution in interrupt routine
An interrupt request is generated by an interrupt source
(external interrupt signal input, timer underflow, etc.) and
the corresponding request bit is set to “1”.
Based on the interrupt acceptance timing in each instruction
cycle, the interrupt control circuit determines acceptance
conditions (interrupt request bit, interrupt enable bit, and
interrupt disable flag) and interrupt priority levels for
accepting interrupt requests. When two or more interrupt
requests are generated simultaneously, the highest priority
interrupt is accepted. The value of interrupt request bit for
an unaccepted interrupt remains the same and acceptance is
determined at the next interrupt acceptance timing point.
The accepted interrupt request is processed.
Interrupt request
generated
Main routine
* When executing DIV instruction
0 to 16 cycles
Aug 21, 2009
*
Interrupt request
acceptance
7 to 23 cycles
Stack push and
Vector fetch
Interrupt sequence
7 cycles
• Interrupt Handling Execution
When interrupt handling is executed, the following operations
are performed automatically.
(1) Once the currently executing instruction is completed, an
(2) The contents of the program counters and the processor
(3) Concurrently with the push operation, the jump address of
(4) The interrupt request bit for the corresponding interrupt is
(5) The interrupt routine is executed.
(6) When the RTI instruction is executed, the contents of the
As described above, it is necessary to set the stack pointer and
the jump address in the vector area corresponding to each
interrupt to execute the interrupt processing routine.
interrupt request is accepted.
status register at this point are pushed onto the stack area in
order from 1 to 3.
1. High-order bits of program counter (PCH)
2. Low-order bits of program counter (PCL)
3. Processor status register (PS)
the corresponding interrupt (the start address of the interrupt
processing routine) is transferred from the interrupt vector to
the program counter.
set to “0”. Also, the interrupt disable flag is set to “1” and
multiple interrupts are disabled.
registers pushed onto the stack area are popped off in the
order from 3 to 1. Then, the routine that was before running
interrupt processing resumes.
Interrupt routine
starts
Interrupt handling
routine

Related parts for M38039G6HHP#U0