x
10.5 Serial Status Register (SSR) ....................................................... ..................................................... 253
10.6 UART Operation ................................................................................. ...... ....... ...... ....... . ................... 255
10.7 Asynchronous (Start-Stop) Mode .............................................................. ....... ...... ....... ...... ....... ....... 257
10.8 CLK Synchronous Mode .... .............................................................................................................. . 258
10.9 UART Interrupt Occurrence and Flag Setting Timing ...................................... ................................. 260
10.10 Notes on Using the UART an d Example for Using the UART ............................................ .............. 263
10.11 Setting Examples of Bau d Rates and U-TIMER Reload Values ...................... ................................. 265
CHAPTER 11 A/D CONVERTER (Successive approximation type) ............................ 267
11.1 Overview of A/D Converter (Successive Approximation Type) ........... .............................................. 268
11.2 Control Status Register (ADCS) .................................................. ..................................................... 270
11.3 Data Register (ADCR) ........................................................... ........................................................... 275
11.4 A/D Converter Operation ....................................................... ........................................................... 276
11.5 Conversion Data Protection Function .................................................................... ........................... 278
11.6 Notes on Using the A/D Converter ...................................................... .............................................. 280
CHAPTER 12 16-BIT RELOAD TIMER ........................................................................... 281
12.1 Overview of 16-bit Reload Timer ................................................. ..................................................... 282
12.2 Control Status Register (TMCSR) ................................................ ..................................................... 284
12.3 16-Bit Timer Register (TMR) and 16-Bit Reload Register (TMRLR) ................................................. 286
12.4 Operation of 16-Bit Reload Timer ................................................................................ .................... 287
12.5 Counter States ................... ........................................................................................................ ....... 289
CHAPTER 13 BIT SEARCH MODULE ............................................................................ 291
13.1 Overview of the Bit Search Module ........................................ ........................................................... 292
13.2 Bit Search Module Registers ................................................. ........................................................... 293
13.3 Bit Search Module Operation and Save/Restore Processing ....................................... .................... 295
CHAPTER 14 PWM TIMER ............................................................................................. 299
14.1 Overview of PWM Timer .... ........................................................................................................ ....... 300
14.2 PWM Timer Block Diagram ................................................................. .............................................. 302
14.3 Control Status Register (PCNH, PCNL) ....................................... ..................................................... 304
14.4 PWM Cycle Setting Register (PCSR) .............................................................. ................................. 308
14.5 PWM Duty Cycle Setting Register (PDUT) ...................................................................................... . 309
14.6 PWM Timer Register (PTMR) .................................................................................................... ....... 310
14.7 General Control Register 1 (GCN1) .................... .............................................................................. 311
14.8 General Control Register 2 (GCN2) .................... .............................................................................. 314
14.9 PWM Operation ..................................................................... ........................................................... 315
14.10 One-Shot Operation ............................................................................ .............................................. 317
14.11 Interrupt ................ ................................................................................................. ........................... 319
14.12 Constant "L" or Constant "H" Output from PWM Timer .................................................................... 3 20
14.13 Starting Multiple PWM Timer Channels ....... ..................................................................................... 321
CHAPTER 15 DMAC ........................................................................................................ 323
15.1 Overview of DMAC ................................................................ ........................................................... 324
15.2 DMAC Parameter Descriptor Pointer (DPDP) ............................. ..................................................... 326
15.3 DMAC Control Status Register (DACSR) ........................................................................... .............. 327
15.4 DMAC Pin Control Register (DATCR) ......................................... ..................................................... 329