Renesas RL78 Series User Manual page 8

16-bit single-chip microcontrollers
Hide thumbs Also See for RL78 Series:
Table of Contents

Advertisement

4.3.1 Relative addressing .......................................................................................................................... 67
4.3.2 Immediate addressing ...................................................................................................................... 67
4.3.3 Table indirect addressing ................................................................................................................. 68
4.3.4 Register direct addressing ................................................................................................................ 68
4.4 Addressing for Processing Data Addresses ............................................................................. 69
4.4.1 Implied addressing ........................................................................................................................... 69
4.4.2 Register addressing ......................................................................................................................... 69
4.4.3 Direct addressing ............................................................................................................................. 70
4.4.4 Short direct addressing .................................................................................................................... 71
4.4.5 SFR addressing ................................................................................................................................ 72
4.4.6 Register indirect addressing ............................................................................................................. 73
4.4.7 Based addressing ............................................................................................................................. 74
4.4.8 Based indexed addressing ............................................................................................................... 78
4.4.9 Stack addressing .............................................................................................................................. 79
CHAPTER 5 PORT FUNCTIONS ........................................................................................................... 83
5.1 Port Functions .............................................................................................................................. 83
5.2 Port Configuration ........................................................................................................................ 84
5.2.1 Port 0 ................................................................................................................................................ 85
5.2.2 Port 1 ................................................................................................................................................ 85
5.2.3 Port 2 ................................................................................................................................................ 86
5.2.4 Port 3 ................................................................................................................................................ 86
5.2.5 Port 4 ................................................................................................................................................ 86
5.2.6 Port 6 ................................................................................................................................................ 86
5.2.7 Port 7 ................................................................................................................................................ 86
5.2.8 Port 12 .............................................................................................................................................. 87
5.2.9 Port 13 .............................................................................................................................................. 87
5.2.10 Port 14 ............................................................................................................................................ 87
5.2.11 GPIO port ....................................................................................................................................... 87
5.3 Registers Controlling Port Function .......................................................................................... 88
5.3.1 Port mode registers (PMxx) .............................................................................................................. 91
5.3.2 Port registers (Pxx) ........................................................................................................................... 93
5.3.3 Pull-up resistor option registers (PUxx) ............................................................................................ 95
5.3.4 Port input mode registers (PIMxx) .................................................................................................... 96
5.3.5 Port output mode registers (POMxx) ................................................................................................ 97
5.3.6 Port mode control registers (PMCxx) ............................................................................................... 98
5.3.7 A/D port configuration register (ADPC) ............................................................................................ 99
5.3.8 Peripheral I/O redirection register (PIOR)....................................................................................... 100
5.3.9 Global digital input disable register (GDIDIS) ................................................................................. 100
5.4 Port Function Operations .......................................................................................................... 101
5.4.1 Writing to I/O port ........................................................................................................................... 101
2
Index-

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rl78/g1dR5f11aggR5f11aghR5f11agj

Table of Contents