5
μ
PD784035, 784036, 784037, 784038
CONTENTS
1.
DIFFERENCES BETWEEN
μ
PD784038 SUB-SERIES ...........................................................
7
2.
MAIN DIFFERENCES BETWEEN
μ
PD784038,
μ
PD784038Y,
μ
PD784026,
AND
μ
PD78234 SUB-SERIES...................................................................................................
8
3.
PIN CONFIGURATION (TOP VIEW) .........................................................................................
9
4.
SYSTEM CONFIGURATION EXAMPLE (PPC)........................................................................
11
5.
BLOCK DIAGRAM .....................................................................................................................
12
6.
PIN FUNCTIONS ........................................................................................................................
6.1
Port Pins .........................................................................................................................................
6.2
Non-Port Pins .................................................................................................................................
6.3
I/O Circuits for Pins and Handling of Unused Pins ..................................................................
13
13
15
17
7.
CPU ARCHITECTURE ...............................................................................................................
7.1
Memory Space................................................................................................................................
7.2
CPU Registers ................................................................................................................................
7.2.1
General-purpose registers............................................................................................
7.2.2
Control registers ............................................................................................................
7.2.3
Special function registers (SFRs) ...............................................................................
20
20
25
25
26
27
8.
PERIPHERAL HARDWARE FUNCTIONS................................................................................
8.1
Ports ................................................................................................................................................
8.2
Clock Generator .............................................................................................................................
8.3
Real-Time Output Port ..................................................................................................................
8.4
Timers/Counters ............................................................................................................................
8.5
PWM Output (PWM0, PWM1)........................................................................................................
8.6
A/D Converter .................................................................................................................................
8.7
D/A Converter .................................................................................................................................
8.8
Serial Interface ...............................................................................................................................
8.8.1
Asynchronous serial interface/three-wire serial I/O (UART/IOE)............................
8.8.2
Synchronous serial interface (CSI) .............................................................................
8.9
Clock Output Function..................................................................................................................
8.10
Edge Detection Function ..............................................................................................................
8.11
Watchdog Timer.............................................................................................................................
32
32
33
35
36
38
39
40
41
42
44
45
46
46
9.
INTERRUPT FUNCTION............................................................................................................
9.1
Interrupt Source .............................................................................................................................
9.2
Vectored Interrupt..........................................................................................................................
9.3
Context Switching .........................................................................................................................
9.4
Macro Service.................................................................................................................................
9.5
Examples of Macro Service Applications ..................................................................................
47
47
49
50
50
51