User’s Manual U17446EJ3V1UD
9
3.4.5 Register
indirect addressing ........................................................................................................ 46
3.4.6 Based
addressing........................................................................................................................ 47
3.4.7 Stack
addressing......................................................................................................................... 48
CHAPTER 4 PORT FUNCTIONS........................................................................................................... 49
4.1
Functions of Ports ..................................................................................................................... 49
4.2
Port Configuration ..................................................................................................................... 51
4.2.1
Port 0........................................................................................................................................... 52
4.2.2
Port 2........................................................................................................................................... 53
4.2.3
Port 3........................................................................................................................................... 54
4.2.4
Port 4........................................................................................................................................... 57
4.2.5
Port 12......................................................................................................................................... 60
4.2.6
Port 13......................................................................................................................................... 62
4.3
Registers Controlling Port Functions...................................................................................... 63
4.4
Operation of Port Function ....................................................................................................... 68
4.4.1
Writing to I/O port ........................................................................................................................ 68
4.4.2
Reading from I/O port.................................................................................................................. 68
4.4.3
Operations on I/O port................................................................................................................. 68
CHAPTER 5 CLOCK GENERATORS................................................................................................... 69
5.1
Functions of Clock Generators ................................................................................................ 69
5.1.1
System clock oscillators .............................................................................................................. 69
5.1.2
Clock oscillator for interval time generation ................................................................................. 69
5.2
Configuration of Clock Generators.......................................................................................... 70
5.3
Registers Controlling Clock Generators ................................................................................. 72
5.4
System Clock Oscillators.......................................................................................................... 75
5.4.1
High-speed internal oscillator ...................................................................................................... 75
5.4.2
Crystal/ceramic oscillator ............................................................................................................ 75
5.4.3
External clock input circuit ........................................................................................................... 77
5.4.4
Prescaler ..................................................................................................................................... 77
5.5
Operation of CPU Clock Generator.......................................................................................... 78
5.6
Operation of Clock Generator Supplying Clock to Peripheral Hardware ............................ 83
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00............................................................................. 85
6.1
Functions of 16-bit Timer/Event Counter 00 ........................................................................... 85
6.2
Configuration of 16-bit Timer/Event Counter 00..................................................................... 86
6.3
Registers to Control 16-bit Timer/Event Counter 00 .............................................................. 90
6.4
Operation of 16-bit Timer/Event Counter 00 ........................................................................... 96
6.4.1
Interval timer operation................................................................................................................ 96
6.4.2
External event counter operation................................................................................................. 98
6.4.3
Pulse width measurement operations ....................................................................................... 101
6.4.4
Square-wave output operation .................................................................................................. 109
6.4.5
PPG output operations .............................................................................................................. 111
6.4.6
One-shot pulse output operation ............................................................................................... 114
6.5
Cautions Related to 16-bit Timer/Event Counter 00............................................................. 119
CHAPTER 7 8-BIT TIMER 80.............................................................................................................. 126
7.1
Function of 8-bit Timer 80 ....................................................................................................... 126
Содержание 78K0S/KB1+
Страница 2: ...User s Manual U17446EJ3V1UD 2 MEMO ...