English
Language : 

UPD784938 Datasheet, PDF (14/733 Pages) NEC – 16-Bit Single-Chip Microcontrollers
4.2 Control Registers ..................................................................................................................... 107
4.2.1 Standby control register (STBC) ................................................................................................. 107
4.2.2 Oscillation stabilization time specification register (OSTS) ....................................................... 109
4.3 Clock Generator Operation .................................................................................................... 110
4.3.1 Clock oscillator ............................................................................................................................. 110
4.3.2 Divider .......................................................................................................................................... 110
4.4 Cautions .................................................................................................................................... 111
4.4.1 When an external clock is input .................................................................................................. 111
4.4.2 When crystal/ceramic oscillation is used .................................................................................... 112
CHAPTER 5 REGULATOR ...................................................................................................................... 115
5.1 Outline of Regulator ................................................................................................................ 115
CHAPTER 6 PORT FUNCTIONS ........................................................................................................... 117
6.1 Digital Input/Output Ports ....................................................................................................... 117
6.2 Port 0 ......................................................................................................................................... 119
6.2.1 Hardware configuration ................................................................................................................ 119
6.2.2 I/O mode/control mode setting .................................................................................................... 120
6.2.3 Operating status ........................................................................................................................... 121
6.2.4 On-chip pull-up resistors .............................................................................................................. 123
6.2.5 Transistor drive ............................................................................................................................ 125
6.3 Port 1 ......................................................................................................................................... 126
6.3.1 Hardware configuration ................................................................................................................ 127
6.3.2 I/O mode/control mode setting .................................................................................................... 131
6.3.3 Operating status ........................................................................................................................... 132
6.3.4 On-chip pull-up resistors .............................................................................................................. 135
6.3.5 Direct LED drive ........................................................................................................................... 136
6.4 Port 2 ......................................................................................................................................... 137
6.4.1 Hardware configuration ................................................................................................................ 139
6.4.2 Input mode/control mode setting ................................................................................................. 141
6.4.3 Operating status ........................................................................................................................... 141
6.4.4 On-chip pull-up resistors .............................................................................................................. 141
6.5 Port 3 ......................................................................................................................................... 143
6.5.1 Hardware configuration ................................................................................................................ 144
6.5.2 I/O mode/control mode setting .................................................................................................... 148
6.5.3 Operating status ........................................................................................................................... 150
6.5.4 On-chip pull-up resistors .............................................................................................................. 153
6.6 Port 4 ......................................................................................................................................... 155
6.6.1 Hardware configuration ................................................................................................................ 155
6.6.2 I/O mode/control mode setting .................................................................................................... 156
6.6.3 Operating status ........................................................................................................................... 157
6.6.4 On-chip pull-up resistors .............................................................................................................. 159
6.6.5 Direct LED drive ........................................................................................................................... 161
6.7 Port 5 ......................................................................................................................................... 162
6.7.1 Hardware configuration ................................................................................................................ 162
6.7.2 I/O mode/control mode setting .................................................................................................... 163
6.7.3 Operating status ........................................................................................................................... 164
6.7.4 On-chip pull-up resistors .............................................................................................................. 166
14
Preliminary User’s Manual U13987EJ1V0UM00