PIC18F46J50 FAMILY
DS39931C-page 548 © 2009 Microchip Technology Inc.
Output ...................................................................... 206
Timer3 .............................................................................. 207
16-Bit Read/Write Mode ........................................... 211
Associated Registers ...............................................215
Gate ......................................................................... 211
Operation .................................................................210
Oscillator .......................................................... 207, 211
Overflow Interrupt ............................................ 207, 215
Special Event Trigger (ECCP) .................................215
TMR3H Register ...................................................... 207
TMR3L Register .......................................................207
Timer4 .............................................................................. 217
Associated Registers ...............................................218
Interrupt .................................................................... 218
MSSP Clock Shift ..................................................... 218
Operation .................................................................217
Output ...................................................................... 218
Postscaler. See Postscaler, Timer4.
PR4 Register ............................................................ 217
Prescaler. See Prescaler, Timer4.
TMR4 Register ......................................................... 217
TMR4 to PR4 Match Interrupt .......................... 217, 218
Timing Diagrams
A/D Conversion ........................................................ 522
Asynchronous Reception ......................................... 330
Asynchronous Transmission .................................... 328
Asynchronous Transmission (Back-to-Back) ........... 328
Automatic Baud Rate Calculation ............................ 326
Auto-Wake-up Bit (WUE) During Normal Operation 331
Auto-Wake-up Bit (WUE) During Sleep ................... 331
Baud Rate Generator with Clock Arbitration ............ 305
BRG Overflow Sequence ......................................... 326
BRG Reset Due to SDAx Arbitration During Start Condi-
tion ................................................................... 313
Bus Collision During a Repeated Start Condition (Case
1) ......................................................................314
Bus Collision During a Repeated Start Condition (Case
2) ......................................................................314
Bus Collision During a Start Condition (SCLx = 0) ... 313
Bus Collision During a Stop Condition (Case 1) ...... 315
Bus Collision During a Stop Condition (Case 2) ...... 315
Bus Collision During Start Condition (SDAx Only) ... 312
Bus Collision for Transmit and Acknowledge ........... 311
CLKO and I/O .......................................................... 507
Clock Synchronization .............................................298
Clock/Instruction Cycle .............................................. 76
Enhanced Capture/Compare/PWM ......................... 510
EUSARTx Synchronous Receive (Master/Slave) .... 521
EUSARTx Synchronous Transmission (Master/Slave) ..
521
Example SPI Master Mode (CKE = 0) ..................... 513
Example SPI Master Mode (CKE = 1) ..................... 514
Example SPI Slave Mode (CKE = 0) ....................... 515
Example SPI Slave Mode (CKE = 1) ....................... 516
External Clock .......................................................... 505
Fail-Safe Clock Monitor ............................................ 428
First Start Bit ............................................................ 305
Full-Bridge PWM Output .......................................... 252
Half-Bridge PWM Output ................................. 250, 257
High/Low-Voltage Detect Characteristics ................ 503
High-Voltage Detect (VDIRMAG = 1) ....................... 395
I22C Bus Data .......................................................... 517
I2C Acknowledge Sequence .................................... 310
I2C Bus Start/Stop Bits ............................................. 517
I2C Master Mode (7 or 10-Bit Transmission) ........... 308
I2C Master Mode (7-Bit Reception) .......................... 309
I2C Slave Mode (10-Bit Reception, SEN = 0, ADMSK =
01001) ............................................................. 294
I2C Slave Mode (10-Bit Reception, SEN = 0) .......... 295
I2C Slave Mode (10-Bit Reception, SEN = 1) .......... 300
I2C Slave Mode (10-Bit Transmission) .................... 296
I2C Slave Mode (7-Bit Reception, SEN = 0, ADMSK =
01011) ............................................................. 292
I2C Slave Mode (7-Bit Reception, SEN = 0) ............ 291
I2C Slave Mode (7-Bit Reception, SEN = 1) ............ 299
I2C Slave Mode (7-Bit Transmission) ...................... 293
I2C Slave Mode General Call Address Sequence (7 or
10-Bit Addressing Mode) ................................. 301
I2C Stop Condition Receive or Transmit Mode ........ 310
Low-Voltage Detect (VDIRMAG = 0) ....................... 394
MSSPx I2C Bus Data ............................................... 519
MSSPx I2C Bus Start/Stop Bits ............................... 519
Parallel Master Port Read ........................................ 511
Parallel Master Port Write ........................................ 512
Parallel Slave Port Read .................................. 173, 175
Parallel Slave Port Write .................................. 173, 176
PWM Auto-Shutdown with Auto-Restart Enabled .... 256
PWM Auto-Shutdown with Firmware Restart .......... 256
PWM Direction Change ........................................... 253
PWM Direction Change at Near 100% Duty Cycle .. 254
PWM Output ............................................................ 244
PWM Output (Active-High) ...................................... 248
PWM Output (Active-Low) ....................................... 249
Read and Write, 8-Bit Data, Demultiplexed Address 180
Read, 16-Bit Data, Demultiplexed Address ............. 183
Read, 16-Bit Multiplexed Data, Fully Multiplexed 16-Bit
Address ........................................................... 184
Read, 16-Bit Multiplexed Data, Partially Multiplexed Ad-
dress ................................................................ 183
Read, 8-Bit Data, Fully Multiplexed 16-Bit Address . 182
Read, 8-Bit Data, Partially Multiplexed Address ...... 180
Read, 8-Bit Data, Partially Multiplexed Address, Enable
Strobe .............................................................. 181
Read, 8-Bit Data, Wait States Enabled, Partially Multi-
plexed Address ................................................ 180
Repeated Start Condition ........................................ 306
Reset, Watchdog Timer (WDT), Oscillator Start-up Timer
(OST) and Power-up Timer (PWRT) ............... 508
Send Break Character Sequence ............................ 332
Slave Synchronization ............................................. 270
Slow Rise Time (MCLR Tied to VDD, VDD Rise > TPWRT)
............................................................................ 61
SPI Mode (Master Mode) ......................................... 269
SPI Mode (Slave Mode, CKE = 0) ........................... 271
SPI Mode (Slave Mode, CKE = 1) ........................... 271
Steering Event at Beginning of Instruction (STRSYNC =
1) ..................................................................... 260
Steering Event at End of Instruction (STRSYNC = 0) ...
260
Synchronous Reception (Master Mode, SREN) ...... 335
Synchronous Transmission ..................................... 333
Synchronous Transmission (Through TXEN) .......... 334
Time-out Sequence on Power-up (MCLR Not Tied to
VDD), Case 1 ..................................................... 61
Time-out Sequence on Power-up (MCLR Not Tied to
VDD), Case 2 ..................................................... 61
Time-out Sequence on Power-up (MCLR Tied to VDD,
VDD Rise < TPWRT) ............................................ 60
Timer Pulse Generation ........................................... 236
Timer0 and Timer1 External Clock .......................... 509