beautypg.com

NEC PD75402A User Manual

Page 7

background image

- ii -

CHAPTER 4. INTERNAL CPU FUNCTIONS ...........................................................................................

31

4.1

PROGRAM COUNTER (PC) ...........................................................................................................................

31

4.2

PROGRAM MEMORY (ROM) . .....................................................................................................................

32

4.3

DATA MEMORY (RAM) ...............................................................................................................................

33

4.4

GENERAL REGISTER . ..................................................................................................................................

35

4.5

ACCUMULATOR ............................................................................................................................................

36

4.6

STACK POINTER (SP) ...................................................................................................................................

37

4.7

PROGRAM STATUS WORD (PSW) .............................................................................................................

39

CHAPTER 5. PERIPHERAL HARDWARE FUNCTIONS ........................................................................

41

5.1

DIGITAL INPUT/OUTPUT PORTS ................................................................................................................

41

5.1.1

Digital Input/Output Port Types, Characteristics and Configuration ......................................

42

5.1.2

Input/Output Mode Setting ..........................................................................................................

46

5.1.3

Digital Input/Output Port Handling Instructions .......................................................................

47

5.1.4

Digital Input/Output Port Operations ..........................................................................................

49

5.1.5

Internal Pull-Up Resistors ............................................................................................................

51

5.1.6

Digital Input/Output Port Input/Output Timing .........................................................................

53

5.2

CLOCK GENERATION CIRCUIT ....................................................................................................................

54

5.2.1

Clock Generation Circuit Configuration .....................................................................................

54

5.2.2

Clock Generation Circuit Function and Operation ....................................................................

55

5.2.3

CPU Clock Setting .........................................................................................................................

59

5.2.4

Differences Between

µ

PD75402A and

µ

PD75402 ......................................................................

61

5.3

CLOCK OUTPUT CIRCUIT .............................................................................................................................

63

5.3.1

Clock Output Circuit Configuration .............................................................................................

63

5.3.2

Clock Output Mode Register (CLOM) .........................................................................................

64

5.3.3

Clock Output Procedure ...............................................................................................................

65

5.3.4

Example of Remote Control Application ....................................................................................

65

5.4

BASIC INTERVAL TIMER ..............................................................................................................................

66

5.4.1

Basic Interval Timer Configuration .............................................................................................

66

5.4.2

Basic Interval Timer Mode register (BTM) .................................................................................

67

5.4.3

Basic Interval Timer Operation ....................................................................................................

68

5.4.4

Examples of Basic Interval Timer Applications ........................................................................

69

5.5

SERIAL INTERFACE .......................................................................................................................................

70

5.5.1

Serial Interface Functions ............................................................................................................

70

5.5.2

Serial Interface Configuration .....................................................................................................

71

5.5.3

Register Functions .........................................................................................................................

74

5.5.4

Operation-Halt Mode ....................................................................................................................

83

5.5.5

3-Wire Serial I/O Mode Operation ............................................................................................... 84

5.5.6

SBI Mode Operation .....................................................................................................................

93

CHAPTER 6. INTERRUPT FUNCTIONS .................................................................................................. 126

6.1

INTERRUPT CONTROL CIRCUIT CONFIGURATION .................................................................................. 126

6.2

INTERRUPT SOURCE TYPES AND VECTOR TABLE ................................................................................. 128

6.3

INTERRUPT CONTROL CIRCUIT HARDWARE ........................................................................................... 129

6.4

INTERRUPT SEQUENCE ............................................................................................................................... 134

This manual is related to the following products: