beautypg.com

IBM uPD78082 User Manual

Page 13

background image

– ii –

3.2.3

Special Function Register (SFR) .........................................................................................

37

3.3

Instruction Address Addressing .....................................................................................

40

3.3.1

Relative Addressing .............................................................................................................

40

3.3.2

Immediate addressing .........................................................................................................

41

3.3.3

Table indirect addressing .....................................................................................................

42

3.3.4

Register addressing .............................................................................................................

43

3.4

Operand Address Addressing .........................................................................................

44

3.4.1

Implied addressing ..............................................................................................................

44

3.4.2

Register addressing .............................................................................................................

45

3.4.3

Direct addressing .................................................................................................................

46

3.4.4

Short direct addressing ........................................................................................................

47

3.4.5

Special-Function Register (SFR) addressing ......................................................................

49

3.4.6

Register indirect addressing ................................................................................................

50

3.4.7

Based addressing ................................................................................................................

51

3.4.8

Based indexed addressing ..................................................................................................

52

3.4.9

Stack addressing .................................................................................................................

52

CHAPTER 4

PORT FUNCTIONS ....................................................................................................

53

4.1

Port Functions ...................................................................................................................

53

4.2

Port Configuration ............................................................................................................

55

4.2.1

Port 0 ...................................................................................................................................

55

4.2.2

Port 1 ...................................................................................................................................

57

4.2.3

Port 3 ...................................................................................................................................

58

4.2.4

Port 5 ...................................................................................................................................

59

4.2.5

Port 7 ...................................................................................................................................

60

4.2.6

Port 10 .................................................................................................................................

62

4.3

Port Function Control Registers .....................................................................................

63

4.4

Port Function Operations .................................................................................................

67

4.4.1

Writing to input/output port ...................................................................................................

67

4.4.2

Reading from input/output port ............................................................................................

67

4.4.3

Operations on input/output port ...........................................................................................

67

CHAPTER 5

CLOCK GENERATOR ................................................................................................

69

5.1

Clock Generator Functions ..............................................................................................

69

5.2

Clock Generator Configuration .......................................................................................

69

5.3

Clock Generator Control Register ...................................................................................

71

5.4

System Clock Oscillator ...................................................................................................

73

5.4.1

Main system clock oscillator ................................................................................................

73

5.4.2

Scaler ...................................................................................................................................

75

5.5

Clock Generator Operations ............................................................................................

76

5.6

Changing CPU Clock Settings .........................................................................................

77

5.6.1

Time required for CPU clock switchover ..............................................................................

77

5.6.2

CPU clock switching procedure ...........................................................................................

78

CHAPTER 6

8-BIT TIMER/EVENT COUNTERS 5 AND 6 ..............................................................

79

6.1

8-Bit Timer/Event Counters 5 and 6 Functions ..............................................................

80

6.2

8-Bit Timer/Event Counters 5 and 6 Configurations ......................................................

82

6.3

8-Bit Timer/Event Counters 5 and 6 Control Registers .................................................

84

This manual is related to the following products: