C8051F060/1/2/3/4/5/6/7
Rev. 1.2 7
21.5.Serial Clock Timing......................................................................................... 256
21.6.SPI Special Function Registers...................................................................... 258
22.UART0.................................................................................................................... 265
22.1.UART0 Operational Modes ............................................................................ 266
22.1.1.Mode 0: Synchronous Mode.................................................................. 266
22.1.2.Mode 1: 8-Bit UART, Variable Baud Rate.............................................. 267
22.1.3.Mode 2: 9-Bit UART, Fixed Baud Rate.................................................. 269
22.1.4.Mode 3: 9-Bit UART, Variable Baud Rate.............................................. 270
22.2.Multiprocessor Communications .................................................................... 271
22.2.1.Configuration of a Masked Address....................................................... 271
22.2.2.Broadcast Addressing............................................................................ 271
22.3.Frame and Transmission Error Detection....................................................... 272
23.UART1.................................................................................................................... 277
23.1.Enhanced Baud Rate Generation................................................................... 278
23.2.Operational Modes......................................................................................... 279
23.2.1.8-Bit UART............................................................................................. 279
23.2.2.9-Bit UART............................................................................................. 280
23.3.Multiprocessor Communications .................................................................... 281
24.Timers.................................................................................................................... 287
24.1.Timer 0 and Timer 1....................................................................................... 287
24.1.1.Mode 0: 13-bit Counter/Timer................................................................ 287
24.1.2.Mode 1: 16-bit Counter/Timer................................................................ 289
24.1.3.Mode 2: 8-bit Counter/Timer with Auto-Reload...................................... 289
24.1.4.Mode 3: Two 8-bit Counter/Timers (Timer 0 Only)................................. 290
24.2.Timer 2, Timer 3, and Timer 4........................................................................ 295
24.2.1.Configuring Timer 2, 3, and 4 to Count Down........................................ 295
24.2.2.Capture Mode ........................................................................................ 296
24.2.3.Auto-Reload Mode................................................................................. 297
24.2.4.Toggle Output Mode .............................................................................. 298
25.Programmable Counter Array............................................................................. 303
25.1.PCA Counter/Timer........................................................................................ 304
25.2.Capture/Compare Modules ............................................................................ 305
25.2.1.Edge-triggered Capture Mode................................................................ 306
25.2.2.Software Timer (Compare) Mode........................................................... 307
25.2.3.High Speed Output Mode....................................................................... 308
25.2.4.Frequency Output Mode ........................................................................ 309
25.2.5.8-Bit Pulse Width Modulator Mode......................................................... 310
25.2.6.16-Bit Pulse Width Modulator Mode....................................................... 311
25.3.Register Descriptions for PCA0...................................................................... 312
26.JTAG (IEEE 1149.1) .............................................................................................. 317
26.1.Boundary Scan............................................................................................... 318
26.1.1.EXTEST Instruction................................................................................ 321
26.1.2.SAMPLE Instruction............................................................................... 321
26.1.3.BYPASS Instruction............................................................................... 321
26.1.4.IDCODE Instruction................................................................................ 321