English
Language : 

UPD784938 Datasheet, PDF (15/733 Pages) NEC – 16-Bit Single-Chip Microcontrollers
6.8
6.9
6.10
6.11
6.12
6.13
6.7.5 Direct LED drive ........................................................................................................................... 168
Port 6 ......................................................................................................................................... 169
6.8.1 Hardware configuration ................................................................................................................ 170
6.8.2 I/O mode/control mode setting .................................................................................................... 174
6.8.3 Operating status ........................................................................................................................... 176
6.8.4 On-chip pull-up resistors .............................................................................................................. 178
Port 7 ......................................................................................................................................... 179
6.9.1 Hardware configuration ................................................................................................................ 179
6.9.2 I/O mode/control mode setting .................................................................................................... 180
6.9.3 Operating status ........................................................................................................................... 181
6.9.4 On-chip pull-up resistors .............................................................................................................. 182
6.9.5 Caution ......................................................................................................................................... 182
Port 9 ......................................................................................................................................... 183
6.10.1 Hardware configuration ................................................................................................................ 183
6.10.2 I/O mode/control mode setting .................................................................................................... 184
6.10.3 Operating status ........................................................................................................................... 185
6.10.4 On-chip pull-up resistors .............................................................................................................. 187
Port 10 ....................................................................................................................................... 188
6.11.1 Hardware configuration ................................................................................................................ 189
6.11.2 I/O mode/control mode setting .................................................................................................... 193
6.11.3 Operating status ........................................................................................................................... 194
6.11.4 On-chip pull-up resistors .............................................................................................................. 197
Port Output Check Function .................................................................................................. 198
Cautions .................................................................................................................................... 199
CHAPTER 7 REAL-TIME OUTPUT FUNCTION .................................................................................. 201
7.1 Configuration and Function ................................................................................................... 201
7.2 Real-time Output Port Control Register (RTPC).................................................................. 203
7.3 Real-time Output Port Accesses ........................................................................................... 204
7.4 Operation .................................................................................................................................. 206
7.5 Example of Use ........................................................................................................................ 209
7.6 Cautions .................................................................................................................................... 211
CHAPTER 8 OUTLINE OF TIMER ....................................................................................................... 213
CHAPTER 9 TIMER/EVENT COUNTER 0 ........................................................................................... 215
9.1 Functions .................................................................................................................................. 215
9.2 Configuration ............................................................................................................................ 218
9.3 Timer/Event Counter 0 Control Registers......................................................................... 221
9.4 Timer Counter 0 (TM0) Operation .......................................................................................... 226
9.4.1 Basic operation ............................................................................................................................ 226
9.4.2 Clear operation ............................................................................................................................. 228
9.5 External Event Counter Function .......................................................................................... 230
9.6 Compare Register and Capture Register Operation ........................................................... 233
9.6.1 Compare operations .................................................................................................................... 233
9.6.2 Capture operations ...................................................................................................................... 235
9.7 Basic Operation of Output Control Circuit .......................................................................... 236
9.7.1 Basic operation ............................................................................................................................ 238
Preliminary User’s Manual U13987EJ1V0UM00
15