English
Language : 

UPD78F1502AGK-GAK-AX Datasheet, PDF (9/1031 Pages) Renesas Technology Corp – 16-Bit Single-Chip Microcontrollers
4.2.14 Port 13......................................................................................................................................... 172
4.2.15 Port 14......................................................................................................................................... 173
4.2.16 Port 15......................................................................................................................................... 176
4.3 Registers Controlling Port Function ........................................................................................ 180
4.4 Port Function Operations .......................................................................................................... 197
4.4.1 Writing to I/O port .......................................................................................................................... 197
4.4.2 Reading from I/O port.................................................................................................................... 197
4.4.3 Operations on I/O port................................................................................................................... 197
4.4.4 Connecting to external device with different power potential (2.5 V, 3 V)...................................... 198
4.5 Settings of Port Mode Register and Output Latch When Using Alternate Function........... 200
4.6 Cautions on 1-bit Manipulation Instruction for Port Register n (Pn) .................................... 205
CHAPTER 5 CLOCK GENERATOR .................................................................................................... 206
5.1 Functions of Clock Generator................................................................................................... 206
5.2 Configuration of Clock Generator ............................................................................................ 207
5.3 Registers Controlling Clock Generator.................................................................................... 209
5.4 System Clock Oscillator ............................................................................................................ 222
5.4.1 X1 oscillator................................................................................................................................... 222
5.4.2 XT1 oscillator ................................................................................................................................ 222
5.4.3 Internal high-speed oscillator ........................................................................................................ 226
5.4.4 Internal low-speed oscillator.......................................................................................................... 226
5.4.5 Prescaler ....................................................................................................................................... 226
5.5 Clock Generator Operation ....................................................................................................... 227
5.6 Controlling Clock........................................................................................................................ 232
5.6.1 Example of controlling high-speed system clock ........................................................................... 232
5.6.2 Example of controlling internal high-speed oscillation clock.......................................................... 235
5.6.3 Example of controlling subsystem clock........................................................................................ 237
5.6.4 Example of controlling internal low-speed oscillation clock ........................................................... 239
5.6.5 CPU clock status transition diagram.............................................................................................. 240
5.6.6 Condition before changing CPU clock and processing after changing CPU clock ........................ 247
5.6.7 Time required for switchover of CPU clock and main system clock .............................................. 249
5.6.8 Conditions before clock oscillation is stopped ............................................................................... 250
CHAPTER 6 TIMER ARRAY UNIT...................................................................................................... 251
6.1 Functions of Timer Array Unit................................................................................................... 253
6.1.1 Functions of each channel when it operates independently .......................................................... 253
6.1.2 Functions of each channel when it operates with another channel ............................................... 254
6.1.3 LIN-bus supporting function (channel 7 of timer array unit 0 only) ................................................ 254
6.2 Configuration of Timer Array Unit ............................................................................................ 255
6.3 Registers Controlling Timer Array Unit.................................................................................... 261
6.4 Channel Output (TOpq pin) Control ......................................................................................... 289
6.4.1 TOpq pin output circuit configuration............................................................................................. 289
6.4.2 TOpq Pin Output Setting ............................................................................................................... 290
6.4.3 Cautions on Channel Output Operation ........................................................................................ 291
6.4.4 Collective manipulation of TOpq bits ............................................................................................. 294
6.4.5 Timer Interrupt and TOpq Pin Output at Operation Start............................................................... 295
6.5 Channel Input Control................................................................................................................ 296
6.5.1 Edge detection circuit .................................................................................................................... 296
6.6 Basic Function of Timer Array Unit .......................................................................................... 297