English
Language : 

UPD78F9500MA-CAC-A Datasheet, PDF (11/342 Pages) Renesas Technology Corp – 8-Bit Single-Chip Microcontrollers
3.3.4 Register addressing .......................................................................................................................... 46
3.4 Operand Address Addressing .................................................................................................... 47
3.4.1 Direct addressing .............................................................................................................................. 47
3.4.2 Short direct addressing ..................................................................................................................... 48
3.4.3 Special function register (SFR) addressing ....................................................................................... 49
3.4.4 Register addressing .......................................................................................................................... 50
3.4.5 Register indirect addressing.............................................................................................................. 51
3.4.6 Based addressing ............................................................................................................................. 52
3.4.7 Stack addressing............................................................................................................................... 53
CHAPTER 4 PORT FUNCTIONS........................................................................................................... 54
4.1 Functions of Ports........................................................................................................................ 54
4.2 Port Configuration........................................................................................................................ 55
4.2.1 Port 2 ................................................................................................................................................ 56
4.2.2 Port 3 ................................................................................................................................................ 64
4.2.3 Port 4 ................................................................................................................................................ 66
4.3 Registers Controlling Port Functions ........................................................................................ 66
4.4 Operation of Port Function.......................................................................................................... 71
4.4.1 Writing to I/O port .............................................................................................................................. 71
4.4.2 Reading from I/O port........................................................................................................................ 71
4.4.3 Operations on I/O port....................................................................................................................... 71
CHAPTER 5 CLOCK GENERATORS................................................................................................... 72
5.1 Functions of Clock Generators................................................................................................... 72
5.1.1 System clock oscillators .................................................................................................................... 72
5.1.2 Clock oscillator for interval time generation....................................................................................... 72
5.2 Configuration of Clock Generators ............................................................................................ 73
5.3 Registers Controlling Clock Generators.................................................................................... 76
5.4 System Clock Oscillators ............................................................................................................ 79
5.4.1 High-speed internal oscillator ............................................................................................................ 79
5.4.2 Crystal/ceramic oscillator (μPD78F920x only)................................................................................... 79
5.4.3 External clock input circuit................................................................................................................. 81
5.4.4 Prescaler ........................................................................................................................................... 81
5.5 Operation of CPU Clock Generator ............................................................................................ 82
5.6 Operation of Clock Generator Supplying Clock to Peripheral Hardware............................... 88
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00 (μPD78F920x ONLY)......................................... 90
6.1 Functions of 16-Bit Timer/Event Counter 00 ............................................................................. 90
6.2 Configuration of 16-Bit Timer/Event Counter 00....................................................................... 91
6.3 Registers to Control 16-Bit Timer/Event Counter 00 ................................................................ 95
6.4 Operation of 16-Bit Timer/Event Counter 00 ...........................................................................101
6.4.1 Interval timer operation ................................................................................................................... 101
6.4.2 External event counter operation .................................................................................................... 103
6.4.3 Pulse width measurement operations ............................................................................................. 106
6.4.4 Square-wave output operation ........................................................................................................ 114
User’s Manual U18172EJ3V0UD
9