29.01.2013 Views

uPD780065 Subseries PUM - Renesas Electronics

uPD780065 Subseries PUM - Renesas Electronics

uPD780065 Subseries PUM - Renesas Electronics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3.2 Processor Registers ............................................................................................................ 50<br />

3.2.1 Control registers ......................................................................................................................... 50<br />

3.2.2 General registers ........................................................................................................................ 53<br />

3.2.3 Special Function Register (SFR) ................................................................................................ 54<br />

3.3 Instruction Address Addressing ........................................................................................ 58<br />

3.3.1 Relative addressing .................................................................................................................... 58<br />

3.3.2 Immediate addressing ................................................................................................................ 59<br />

3.3.3 Table indirect addressing ........................................................................................................... 60<br />

3.3.4 Register addressing ................................................................................................................... 61<br />

3.4 Operand Address Addressing ............................................................................................ 62<br />

3.4.1 Implied addressing ..................................................................................................................... 62<br />

3.4.2 Register addressing ................................................................................................................... 63<br />

3.4.3 Direct addressing ....................................................................................................................... 64<br />

3.4.4 Short direct addressing .............................................................................................................. 65<br />

3.4.5 Special-function register (SFR) addressing ............................................................................... 67<br />

3.4.6 Register indirect addressing ....................................................................................................... 68<br />

3.4.7 Based addressing ...................................................................................................................... 69<br />

3.4.8 Based indexed addressing ......................................................................................................... 70<br />

3.4.9 Stack addressing ........................................................................................................................ 70<br />

CHAPTER 4 PORT FUNCTIONS ....................................................................................................... 71<br />

4.1 Port Functions ...................................................................................................................... 71<br />

4.2 Port Configuration ............................................................................................................... 73<br />

4.2.1 Port 0 .......................................................................................................................................... 73<br />

4.2.2 Port 2 .......................................................................................................................................... 75<br />

4.2.3 Port 3 .......................................................................................................................................... 76<br />

4.2.4 Port 4 .......................................................................................................................................... 77<br />

4.2.5 Port 5 .......................................................................................................................................... 78<br />

4.2.6 Port 6 .......................................................................................................................................... 79<br />

4.2.7 Port 7 .......................................................................................................................................... 80<br />

4.2.8 Port 8 .......................................................................................................................................... 82<br />

4.2.9 Port 9 .......................................................................................................................................... 83<br />

4.3 Port Function Control Registers ........................................................................................ 84<br />

4.4 Port Function Operations .................................................................................................... 88<br />

4.4.1 Writing to input/output port ......................................................................................................... 88<br />

4.4.2 Reading from input/output port ................................................................................................... 88<br />

4.4.3 Operations on input/output port .................................................................................................. 88<br />

CHAPTER 5 CLOCK GENERATOR ................................................................................................. 89<br />

5.1 Clock Generator Functions ................................................................................................. 89<br />

5.2 Clock Generator Configuration .......................................................................................... 89<br />

5.3 Clock Generator Control Register ...................................................................................... 91<br />

5.4 System Clock Oscillator ...................................................................................................... 93<br />

5.4.1 Main system clock oscillator ....................................................................................................... 93<br />

5.4.2 Subsystem clock oscillator ......................................................................................................... 94<br />

5.4.3 Scaler ......................................................................................................................................... 97<br />

5.4.4 When no subsystem clocks are used ......................................................................................... 97<br />

12 Preliminary User’s Manual U13420EJ2V0UM00

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!