![](http://datasheet.mmic.net.cn/380000/-PD784928Y_datasheet_16744934/-PD784928Y_36.png)
36
CHAPTER 1 FEATURES OF 78K/IV SERIES PRODUCTS
1.4.4 Outline of functions
Product Name
μ
PD784031Y
μ
PD784035Y
μ
PD784036Y
μ
PD784037Y
μ
PD784038Y
μ
PD78P4038Y
Item
Number of basic instructions (mnemonics)
113
General registers
8 bits
×
16 registers
×
8 banks or 16 bits
×
8 registers
×
8 banks (memory mapped)
Minimum instruction execution time
125 ns/250 ns/500 ns/1,000 ns (at 32-MHz operation)
Internal memory capacity
ROM
None
48 Kbytes
(Mask ROM)
64 Kbytes
(Mask ROM)
96 Kbytes
(Mask ROM)
128 Kbytes
(Mask ROM)
128 Kbytes
(One-time PROM
or EPROM)
RAM
2,048 bytes
3,584 bytes
4,352 bytes
Memory space
1 Mbyte total both programs and data
I/O port
Total
64
Input
8
Input/Output
56
Pin with pull-up resistor
54
LED direct drive output
24
Transistor direct drive
8
Real-time output port
4 bits
×
2, or 8 bits
×
1
Timer/counter
Timer/counter 0:
Timer register
×
1
Capture register
×
1
Compare register
×
2
Pulse output capability
Toggle output
PWM/PPG output
One-shot pulse output
Timer/counter 1:
Timer register
×
1
Capture register
×
1
Capture/compare register
×
1
Compare register
×
1
Timer register
×
1
Capture register
×
1
Capture/compare register
×
1 PWM/PPG output
Compare register
×
1
Timer register
×
1
Compare register
×
1
12-bit resolution
×
2 channels
UART/IOE (3-wire serial I/O) :
2 channels (on-chip baud rate generator)
CSI (3-wire serial I/O, 2-wire serial I/O, I
2
C bus) : 1 channel
Pulse output capability
Real-time output (4 bits
×
2)
Timer/counter 2:
Pulse output capability
Toggle output
Timer 3:
PWM output
Serial interface
A/D converter
8-bit resolution
×
8 channels
8-bit resolution
×
2 channels
D/A converter
Clock output
—
Selectable from f
CLK
, f
CLK
/2, f
CLK
/4, f
CLK
/8,and f
CLK
/16 (also usable as 1-bit output port)
Watchdog timer
1 channel
Standby function
HALT/STOP/IDLE mode
Interrupt
Hardware sources
24 (internal: 17, external: 7 (sampling clock variable input: 1) )
Software sources
BRK instruction, BRKCS instruction, operand error
Non-maskable
Internal: 1, external: 1
Maskable
Internal: 16, external: 6
4-level programmable priority
3 processing modes (vectored interrupt, macro service, context switching)
Power supply voltage
V
DD
= 2.7 to 5.5 V
Package
80-pin plastic QFP (14
×
14 mm, thickness: 1.4 mm)
80-pin plastic QFP (14
×
14 mm, thickness: 2.7 mm)
80-pin plastic TQFP (fine pitch) (12
×
12 mm)
80-pin ceramic WQFN (14
×
14 mm):
μ
PD78P4038Y only
Note
The pins with additional functions are included in the I/O pins.
Additional
function
pin
Note