M38039G4HSP#U0 Renesas Electronics America, M38039G4HSP#U0 Datasheet - Page 30

IC 740/3803 MCU QZROM 64DIP

M38039G4HSP#U0

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

Specifications of M38039G4HSP#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
16KB (16K 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-SDIP (0.750", 19.05mm)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
3803 Group (Spec.H QzROM version)
REJ03B0166-0113 Rev.1.13
Page 28 of 100
Fig 20. Interrupt control diagram
• Interrupt Disable Flag
The interrupt disable flag is assigned to bit 2 of the processor
status register. This flag controls the acceptance of all interrupt
requests except for the BRK instruction. When this flag is set to
“1”, the acceptance of interrupt requests is disabled. When it is
set to “0”, acceptance of interrupt requests is enabled. This flag is
set to “1” with the SET instruction and set to “0” with the CLI
instruction.
When an interrupt request is accepted, the contents of the
processor status register are pushed onto the stack while the
interrupt disable flag remains set to “0”. Subsequently, this flag
is automatically set to “1” and multiple interrupts are disabled.
To use multiple interrupts, set this flag to “0” with the CLI
instruction within the interrupt processing routine.
The contents of the processor status register are popped off the
stack with the RTI instruction.
• Interrupt Request Bits
Once an interrupt request is generated, the corresponding
interrupt request bit is set to “1” and remains “1” until the request
is accepted . Wh en the request is accepted, th is bit is
automatically set to “0”.
Each interrupt request bit can be set to “0”, but cannot be set to
“1”, by software.
• Interrupt Enable Bits
The interrupt enable bits control the acceptance of the
corresponding interrupt requests. When an interrupt enable bit is
set to “0”, the acceptance of the corresponding interrupt request
is disabled. If an interrupt request occurs in this condition, the
corresponding interrupt request bit is set to “1”, but the interrupt
request is not accepted. When an interrupt enable bit is set to “1”,
acceptance of the corresponding interrupt request is enabled.
Each interrupt enable bit can be set to “0” or “1” by software.
The interrupt enable bit for an unused interrupt should be set to
“0”.
Interrupt request bit
Interrupt enable bit
Interrupt disable flag (I)
Aug 21, 2009
BRK instruction
Reset
• Interrupt Source Selection
Any of the following combinations can be selected by the
interrupt source selection register (0039
• External Interrupt Pin Selection
For external interrupts INT
switch bit in the interrupt edge selection register (bit 6 of address
003A
INT
1. INT
2. CNTR
3. Serial I/O2 or timer Z
4. INT
5. A/D conversion or serial I/O3 transmission
01
16
and INT
) can be used to select INT
0
4
or timer Z
or CNTR
1
or Serial I/O3 reception
41
pin input.
2
0
and INT
Interrupt request
00
4
, the INT
16
and INT
).
0
, INT
40
pin input or
4
interrupt

Related parts for M38039G4HSP#U0